docs.go 714 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetDivisions": {
  403. "get": {
  404. "produces": [
  405. "application/json"
  406. ],
  407. "tags": [
  408. "通用服务"
  409. ],
  410. "summary": "查询区域信息",
  411. "responses": {
  412. "200": {
  413. "description": "OK",
  414. "schema": {
  415. "$ref": "#/definitions/models.Division"
  416. }
  417. },
  418. "500": {
  419. "description": "Internal Server Error",
  420. "schema": {
  421. "$ref": "#/definitions/app.Response"
  422. }
  423. }
  424. }
  425. }
  426. },
  427. "/Common/GetServerTime": {
  428. "get": {
  429. "produces": [
  430. "application/json"
  431. ],
  432. "tags": [
  433. "通用服务"
  434. ],
  435. "summary": "获取服务器时间",
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "$ref": "#/definitions/app.Response"
  441. }
  442. },
  443. "500": {
  444. "description": "Internal Server Error",
  445. "schema": {
  446. "$ref": "#/definitions/app.Response"
  447. }
  448. }
  449. }
  450. }
  451. },
  452. "/Common/NoticeReaded": {
  453. "post": {
  454. "security": [
  455. {
  456. "ApiKeyAuth": []
  457. }
  458. ],
  459. "produces": [
  460. "application/json"
  461. ],
  462. "tags": [
  463. "通用服务"
  464. ],
  465. "summary": "通知公告设置已读请求",
  466. "parameters": [
  467. {
  468. "type": "integer",
  469. "description": "登录账号",
  470. "name": "loginID",
  471. "in": "query",
  472. "required": true
  473. },
  474. {
  475. "type": "integer",
  476. "description": "通知公告ID",
  477. "name": "noticeID",
  478. "in": "query",
  479. "required": true
  480. }
  481. ],
  482. "responses": {
  483. "200": {
  484. "description": "OK",
  485. "schema": {
  486. "$ref": "#/definitions/app.Response"
  487. }
  488. },
  489. "500": {
  490. "description": "Internal Server Error",
  491. "schema": {
  492. "$ref": "#/definitions/app.Response"
  493. }
  494. }
  495. }
  496. }
  497. },
  498. "/Common/QueryErrorInfos": {
  499. "get": {
  500. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  501. "produces": [
  502. "application/json"
  503. ],
  504. "tags": [
  505. "通用服务"
  506. ],
  507. "summary": "获取数据库错误信息",
  508. "parameters": [
  509. {
  510. "type": "string",
  511. "description": "起始行号前索引",
  512. "name": "rowNumber",
  513. "in": "query"
  514. }
  515. ],
  516. "responses": {
  517. "200": {
  518. "description": "OK",
  519. "schema": {
  520. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  521. }
  522. },
  523. "500": {
  524. "description": "Internal Server Error",
  525. "schema": {
  526. "$ref": "#/definitions/app.Response"
  527. }
  528. }
  529. }
  530. }
  531. },
  532. "/Common/QueryImageConfigs": {
  533. "get": {
  534. "produces": [
  535. "application/json"
  536. ],
  537. "tags": [
  538. "通用服务"
  539. ],
  540. "summary": "查询轮播图配置信息",
  541. "parameters": [
  542. {
  543. "type": "integer",
  544. "description": "类型 - 1:App首页轮播 2:我的",
  545. "name": "imageType",
  546. "in": "query"
  547. }
  548. ],
  549. "responses": {
  550. "200": {
  551. "description": "OK",
  552. "schema": {
  553. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  554. }
  555. },
  556. "500": {
  557. "description": "Internal Server Error",
  558. "schema": {
  559. "$ref": "#/definitions/app.Response"
  560. }
  561. }
  562. }
  563. }
  564. },
  565. "/Common/QueryNotice": {
  566. "get": {
  567. "security": [
  568. {
  569. "ApiKeyAuth": []
  570. }
  571. ],
  572. "produces": [
  573. "application/json"
  574. ],
  575. "tags": [
  576. "通用服务"
  577. ],
  578. "summary": "通知公告系统消息查询",
  579. "parameters": [
  580. {
  581. "type": "integer",
  582. "description": "页码",
  583. "name": "page",
  584. "in": "query"
  585. },
  586. {
  587. "type": "integer",
  588. "description": "每页条数",
  589. "name": "pagesize",
  590. "in": "query"
  591. },
  592. {
  593. "type": "integer",
  594. "description": "登录账号",
  595. "name": "loginID",
  596. "in": "query",
  597. "required": true
  598. },
  599. {
  600. "type": "integer",
  601. "description": "消息类型 - 1:公告通知 2:系统消息",
  602. "name": "msgType",
  603. "in": "query"
  604. },
  605. {
  606. "type": "boolean",
  607. "description": "是否只获取未读信息",
  608. "name": "onlyUnRead",
  609. "in": "query"
  610. },
  611. {
  612. "type": "integer",
  613. "description": "自增ID,传入后会返回这个ID后面的记录",
  614. "name": "lastID",
  615. "in": "query"
  616. }
  617. ],
  618. "responses": {
  619. "200": {
  620. "description": "OK",
  621. "schema": {
  622. "$ref": "#/definitions/common.QueryNoticeRsp"
  623. }
  624. },
  625. "500": {
  626. "description": "Internal Server Error",
  627. "schema": {
  628. "$ref": "#/definitions/app.Response"
  629. }
  630. }
  631. }
  632. }
  633. },
  634. "/Common/QueryProvincesAndCities": {
  635. "get": {
  636. "produces": [
  637. "application/json"
  638. ],
  639. "tags": [
  640. "通用服务"
  641. ],
  642. "summary": "查询省市信息(不包括区)",
  643. "parameters": [
  644. {
  645. "type": "integer",
  646. "description": "省ID",
  647. "name": "provinceID",
  648. "in": "query"
  649. }
  650. ],
  651. "responses": {
  652. "200": {
  653. "description": "OK",
  654. "schema": {
  655. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  656. }
  657. },
  658. "500": {
  659. "description": "Internal Server Error",
  660. "schema": {
  661. "$ref": "#/definitions/app.Response"
  662. }
  663. }
  664. }
  665. }
  666. },
  667. "/Common/QueryTableDefine": {
  668. "get": {
  669. "produces": [
  670. "application/json"
  671. ],
  672. "tags": [
  673. "通用服务"
  674. ],
  675. "summary": "查询交易端列表头信息",
  676. "parameters": [
  677. {
  678. "type": "string",
  679. "description": "表key",
  680. "name": "tableKey",
  681. "in": "query"
  682. },
  683. {
  684. "type": "integer",
  685. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  686. "name": "tableType",
  687. "in": "query"
  688. }
  689. ],
  690. "responses": {
  691. "200": {
  692. "description": "OK",
  693. "schema": {
  694. "$ref": "#/definitions/common.QueryTableDefineRsp"
  695. }
  696. },
  697. "500": {
  698. "description": "Internal Server Error",
  699. "schema": {
  700. "$ref": "#/definitions/app.Response"
  701. }
  702. }
  703. }
  704. }
  705. },
  706. "/Common/QueryTraderMenu": {
  707. "get": {
  708. "produces": [
  709. "application/json"
  710. ],
  711. "tags": [
  712. "通用服务"
  713. ],
  714. "summary": "查询交易端菜单",
  715. "parameters": [
  716. {
  717. "type": "integer",
  718. "description": "登录账号",
  719. "name": "loginid",
  720. "in": "query",
  721. "required": true
  722. }
  723. ],
  724. "responses": {
  725. "200": {
  726. "description": "OK",
  727. "schema": {
  728. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  729. }
  730. },
  731. "500": {
  732. "description": "Internal Server Error",
  733. "schema": {
  734. "$ref": "#/definitions/app.Response"
  735. }
  736. }
  737. }
  738. }
  739. },
  740. "/Delivery/QueryDeliveryRelation": {
  741. "get": {
  742. "security": [
  743. {
  744. "ApiKeyAuth": []
  745. }
  746. ],
  747. "produces": [
  748. "application/json"
  749. ],
  750. "tags": [
  751. "交割服务"
  752. ],
  753. "summary": "查询商品交割关系表",
  754. "parameters": [
  755. {
  756. "type": "integer",
  757. "description": "商品ID",
  758. "name": "goodsid",
  759. "in": "query"
  760. },
  761. {
  762. "type": "integer",
  763. "description": "品种ID",
  764. "name": "deliverygoodsid",
  765. "in": "query"
  766. },
  767. {
  768. "type": "integer",
  769. "description": "市场ID",
  770. "name": "marketid",
  771. "in": "query"
  772. }
  773. ],
  774. "responses": {
  775. "200": {
  776. "description": "OK",
  777. "schema": {
  778. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  779. }
  780. },
  781. "500": {
  782. "description": "Internal Server Error",
  783. "schema": {
  784. "$ref": "#/definitions/app.Response"
  785. }
  786. }
  787. }
  788. }
  789. },
  790. "/Ermcp/GetErmcpGoods": {
  791. "get": {
  792. "security": [
  793. {
  794. "ApiKeyAuth": []
  795. }
  796. ],
  797. "produces": [
  798. "application/json"
  799. ],
  800. "tags": [
  801. "企业风险管理(app)"
  802. ],
  803. "summary": "查询企业风管期货商品信息",
  804. "parameters": [
  805. {
  806. "type": "string",
  807. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  808. "name": "lastUpdateTime",
  809. "in": "query"
  810. }
  811. ],
  812. "responses": {
  813. "200": {
  814. "description": "OK",
  815. "schema": {
  816. "$ref": "#/definitions/models.Goods"
  817. }
  818. },
  819. "500": {
  820. "description": "Internal Server Error",
  821. "schema": {
  822. "$ref": "#/definitions/app.Response"
  823. }
  824. }
  825. }
  826. }
  827. },
  828. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  829. "get": {
  830. "security": [
  831. {
  832. "ApiKeyAuth": []
  833. }
  834. ],
  835. "produces": [
  836. "application/json"
  837. ],
  838. "tags": [
  839. "企业风险管理(app)"
  840. ],
  841. "summary": "获取企业风管终端权限",
  842. "parameters": [
  843. {
  844. "type": "integer",
  845. "description": "登录账号",
  846. "name": "loginID",
  847. "in": "query",
  848. "required": true
  849. }
  850. ],
  851. "responses": {
  852. "200": {
  853. "description": "OK",
  854. "schema": {
  855. "$ref": "#/definitions/models.Funcmenulist"
  856. }
  857. },
  858. "500": {
  859. "description": "Internal Server Error",
  860. "schema": {
  861. "$ref": "#/definitions/app.Response"
  862. }
  863. }
  864. }
  865. }
  866. },
  867. "/Ermcp/QryReportDayExposure": {
  868. "get": {
  869. "security": [
  870. {
  871. "ApiKeyAuth": []
  872. }
  873. ],
  874. "produces": [
  875. "application/json"
  876. ],
  877. "tags": [
  878. "企业风险管理(app)"
  879. ],
  880. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  881. "parameters": [
  882. {
  883. "type": "integer",
  884. "description": "用户ID",
  885. "name": "userid",
  886. "in": "query",
  887. "required": true
  888. },
  889. {
  890. "type": "string",
  891. "description": "交易日(格式:yyyyMMdd)",
  892. "name": "tradedate",
  893. "in": "query",
  894. "required": true
  895. }
  896. ],
  897. "responses": {
  898. "200": {
  899. "description": "OK",
  900. "schema": {
  901. "type": "array",
  902. "items": {
  903. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  904. }
  905. }
  906. },
  907. "500": {
  908. "description": "Internal Server Error",
  909. "schema": {
  910. "$ref": "#/definitions/app.Response"
  911. }
  912. }
  913. }
  914. }
  915. },
  916. "/Ermcp/QryReportDayFinance": {
  917. "get": {
  918. "security": [
  919. {
  920. "ApiKeyAuth": []
  921. }
  922. ],
  923. "produces": [
  924. "application/json"
  925. ],
  926. "tags": [
  927. "企业风险管理(app)"
  928. ],
  929. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  930. "parameters": [
  931. {
  932. "type": "integer",
  933. "description": "用户ID",
  934. "name": "userid",
  935. "in": "query",
  936. "required": true
  937. },
  938. {
  939. "type": "string",
  940. "description": "交易日(格式:yyyyMMdd)",
  941. "name": "tradedate",
  942. "in": "query",
  943. "required": true
  944. }
  945. ],
  946. "responses": {
  947. "200": {
  948. "description": "OK",
  949. "schema": {
  950. "type": "array",
  951. "items": {
  952. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  953. }
  954. }
  955. },
  956. "500": {
  957. "description": "Internal Server Error",
  958. "schema": {
  959. "$ref": "#/definitions/app.Response"
  960. }
  961. }
  962. }
  963. }
  964. },
  965. "/Ermcp/QryReportDayFinanceFp": {
  966. "get": {
  967. "security": [
  968. {
  969. "ApiKeyAuth": []
  970. }
  971. ],
  972. "produces": [
  973. "application/json"
  974. ],
  975. "tags": [
  976. "企业风险管理(app)"
  977. ],
  978. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  979. "parameters": [
  980. {
  981. "type": "integer",
  982. "description": "用户ID",
  983. "name": "userid",
  984. "in": "query",
  985. "required": true
  986. },
  987. {
  988. "type": "string",
  989. "description": "交易日(格式:yyyyMMdd)",
  990. "name": "tradedate",
  991. "in": "query",
  992. "required": true
  993. }
  994. ],
  995. "responses": {
  996. "200": {
  997. "description": "OK",
  998. "schema": {
  999. "type": "array",
  1000. "items": {
  1001. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1002. }
  1003. }
  1004. },
  1005. "500": {
  1006. "description": "Internal Server Error",
  1007. "schema": {
  1008. "$ref": "#/definitions/app.Response"
  1009. }
  1010. }
  1011. }
  1012. }
  1013. },
  1014. "/Ermcp/QryReportDayFinanceKx": {
  1015. "get": {
  1016. "security": [
  1017. {
  1018. "ApiKeyAuth": []
  1019. }
  1020. ],
  1021. "produces": [
  1022. "application/json"
  1023. ],
  1024. "tags": [
  1025. "企业风险管理(app)"
  1026. ],
  1027. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1028. "parameters": [
  1029. {
  1030. "type": "integer",
  1031. "description": "用户ID",
  1032. "name": "userid",
  1033. "in": "query",
  1034. "required": true
  1035. },
  1036. {
  1037. "type": "string",
  1038. "description": "交易日(格式:yyyyMMdd)",
  1039. "name": "tradedate",
  1040. "in": "query",
  1041. "required": true
  1042. }
  1043. ],
  1044. "responses": {
  1045. "200": {
  1046. "description": "OK",
  1047. "schema": {
  1048. "type": "array",
  1049. "items": {
  1050. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1051. }
  1052. }
  1053. },
  1054. "500": {
  1055. "description": "Internal Server Error",
  1056. "schema": {
  1057. "$ref": "#/definitions/app.Response"
  1058. }
  1059. }
  1060. }
  1061. }
  1062. },
  1063. "/Ermcp/QryReportDaySpot": {
  1064. "get": {
  1065. "security": [
  1066. {
  1067. "ApiKeyAuth": []
  1068. }
  1069. ],
  1070. "produces": [
  1071. "application/json"
  1072. ],
  1073. "tags": [
  1074. "企业风险管理(app)"
  1075. ],
  1076. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1077. "parameters": [
  1078. {
  1079. "type": "integer",
  1080. "description": "用户ID",
  1081. "name": "userid",
  1082. "in": "query",
  1083. "required": true
  1084. },
  1085. {
  1086. "type": "string",
  1087. "description": "交易日(格式:yyyyMMdd)",
  1088. "name": "tradedate",
  1089. "in": "query",
  1090. "required": true
  1091. }
  1092. ],
  1093. "responses": {
  1094. "200": {
  1095. "description": "OK",
  1096. "schema": {
  1097. "type": "array",
  1098. "items": {
  1099. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1100. }
  1101. }
  1102. },
  1103. "500": {
  1104. "description": "Internal Server Error",
  1105. "schema": {
  1106. "$ref": "#/definitions/app.Response"
  1107. }
  1108. }
  1109. }
  1110. }
  1111. },
  1112. "/Ermcp/QryReportDaySpotDetail": {
  1113. "get": {
  1114. "security": [
  1115. {
  1116. "ApiKeyAuth": []
  1117. }
  1118. ],
  1119. "produces": [
  1120. "application/json"
  1121. ],
  1122. "tags": [
  1123. "企业风险管理(app)"
  1124. ],
  1125. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1126. "parameters": [
  1127. {
  1128. "type": "integer",
  1129. "description": "用户ID",
  1130. "name": "userid",
  1131. "in": "query",
  1132. "required": true
  1133. },
  1134. {
  1135. "type": "integer",
  1136. "description": "现货商品id",
  1137. "name": "wrstandardid",
  1138. "in": "query",
  1139. "required": true
  1140. },
  1141. {
  1142. "type": "string",
  1143. "description": "交易日(格式:yyyyMMdd)",
  1144. "name": "tradedate",
  1145. "in": "query",
  1146. "required": true
  1147. }
  1148. ],
  1149. "responses": {
  1150. "200": {
  1151. "description": "OK",
  1152. "schema": {
  1153. "type": "array",
  1154. "items": {
  1155. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1156. }
  1157. }
  1158. },
  1159. "500": {
  1160. "description": "Internal Server Error",
  1161. "schema": {
  1162. "$ref": "#/definitions/app.Response"
  1163. }
  1164. }
  1165. }
  1166. }
  1167. },
  1168. "/Ermcp/QryReportMonthFinance": {
  1169. "get": {
  1170. "security": [
  1171. {
  1172. "ApiKeyAuth": []
  1173. }
  1174. ],
  1175. "produces": [
  1176. "application/json"
  1177. ],
  1178. "tags": [
  1179. "企业风险管理(app)"
  1180. ],
  1181. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1182. "parameters": [
  1183. {
  1184. "type": "integer",
  1185. "description": "用户ID",
  1186. "name": "userid",
  1187. "in": "query",
  1188. "required": true
  1189. },
  1190. {
  1191. "type": "string",
  1192. "description": "周期时间:月(格式:yyyyMM)",
  1193. "name": "cycletime",
  1194. "in": "query",
  1195. "required": true
  1196. }
  1197. ],
  1198. "responses": {
  1199. "200": {
  1200. "description": "OK",
  1201. "schema": {
  1202. "type": "array",
  1203. "items": {
  1204. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1205. }
  1206. }
  1207. },
  1208. "500": {
  1209. "description": "Internal Server Error",
  1210. "schema": {
  1211. "$ref": "#/definitions/app.Response"
  1212. }
  1213. }
  1214. }
  1215. }
  1216. },
  1217. "/Ermcp/QryReportMonthSpot": {
  1218. "get": {
  1219. "security": [
  1220. {
  1221. "ApiKeyAuth": []
  1222. }
  1223. ],
  1224. "produces": [
  1225. "application/json"
  1226. ],
  1227. "tags": [
  1228. "企业风险管理(app)"
  1229. ],
  1230. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1231. "parameters": [
  1232. {
  1233. "type": "integer",
  1234. "description": "用户ID",
  1235. "name": "userid",
  1236. "in": "query",
  1237. "required": true
  1238. },
  1239. {
  1240. "type": "string",
  1241. "description": "周期时间:月(格式:yyyyMM)",
  1242. "name": "cycletime",
  1243. "in": "query",
  1244. "required": true
  1245. }
  1246. ],
  1247. "responses": {
  1248. "200": {
  1249. "description": "OK",
  1250. "schema": {
  1251. "type": "array",
  1252. "items": {
  1253. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1254. }
  1255. }
  1256. },
  1257. "500": {
  1258. "description": "Internal Server Error",
  1259. "schema": {
  1260. "$ref": "#/definitions/app.Response"
  1261. }
  1262. }
  1263. }
  1264. }
  1265. },
  1266. "/Ermcp/QryReportMonthSpotDetail": {
  1267. "get": {
  1268. "security": [
  1269. {
  1270. "ApiKeyAuth": []
  1271. }
  1272. ],
  1273. "produces": [
  1274. "application/json"
  1275. ],
  1276. "tags": [
  1277. "企业风险管理(app)"
  1278. ],
  1279. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1280. "parameters": [
  1281. {
  1282. "type": "integer",
  1283. "description": "用户ID",
  1284. "name": "userid",
  1285. "in": "query",
  1286. "required": true
  1287. },
  1288. {
  1289. "type": "integer",
  1290. "description": "现货商品id",
  1291. "name": "wrstandardid",
  1292. "in": "query",
  1293. "required": true
  1294. },
  1295. {
  1296. "type": "string",
  1297. "description": "周期时间:月(格式:yyyyMM)",
  1298. "name": "cycletime",
  1299. "in": "query",
  1300. "required": true
  1301. }
  1302. ],
  1303. "responses": {
  1304. "200": {
  1305. "description": "OK",
  1306. "schema": {
  1307. "type": "array",
  1308. "items": {
  1309. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1310. }
  1311. }
  1312. },
  1313. "500": {
  1314. "description": "Internal Server Error",
  1315. "schema": {
  1316. "$ref": "#/definitions/app.Response"
  1317. }
  1318. }
  1319. }
  1320. }
  1321. },
  1322. "/Ermcp/QueryAreaStock": {
  1323. "get": {
  1324. "security": [
  1325. {
  1326. "ApiKeyAuth": []
  1327. }
  1328. ],
  1329. "produces": [
  1330. "application/json"
  1331. ],
  1332. "tags": [
  1333. "企业风险管理(app)"
  1334. ],
  1335. "summary": "查询机构库存(库存管理/当前库存)",
  1336. "parameters": [
  1337. {
  1338. "type": "integer",
  1339. "description": "用户ID",
  1340. "name": "userid",
  1341. "in": "query",
  1342. "required": true
  1343. }
  1344. ],
  1345. "responses": {
  1346. "200": {
  1347. "description": "OK",
  1348. "schema": {
  1349. "type": "array",
  1350. "items": {
  1351. "$ref": "#/definitions/models.ErmcpAreaStock"
  1352. }
  1353. }
  1354. },
  1355. "500": {
  1356. "description": "Internal Server Error",
  1357. "schema": {
  1358. "$ref": "#/definitions/app.Response"
  1359. }
  1360. }
  1361. }
  1362. }
  1363. },
  1364. "/Ermcp/QueryAreaStockApply": {
  1365. "get": {
  1366. "security": [
  1367. {
  1368. "ApiKeyAuth": []
  1369. }
  1370. ],
  1371. "produces": [
  1372. "application/json"
  1373. ],
  1374. "tags": [
  1375. "企业风险管理(app)"
  1376. ],
  1377. "summary": "查询库存申请(出入库记录|库存审核)",
  1378. "parameters": [
  1379. {
  1380. "type": "integer",
  1381. "description": "用户ID",
  1382. "name": "userid",
  1383. "in": "query",
  1384. "required": true
  1385. },
  1386. {
  1387. "type": "string",
  1388. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1389. "name": "inouttype",
  1390. "in": "query"
  1391. },
  1392. {
  1393. "type": "integer",
  1394. "description": "合同ID",
  1395. "name": "spotcontractid",
  1396. "in": "query"
  1397. },
  1398. {
  1399. "type": "integer",
  1400. "description": "现货商品ID",
  1401. "name": "wrstandardid",
  1402. "in": "query"
  1403. },
  1404. {
  1405. "type": "integer",
  1406. "description": "品牌ID",
  1407. "name": "spotgoodsbrandid",
  1408. "in": "query"
  1409. },
  1410. {
  1411. "type": "integer",
  1412. "description": "型号ID",
  1413. "name": "spotgoodsmodelid",
  1414. "in": "query"
  1415. },
  1416. {
  1417. "type": "integer",
  1418. "description": "仓库ID",
  1419. "name": "warehouseinfoid",
  1420. "in": "query"
  1421. },
  1422. {
  1423. "type": "string",
  1424. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1425. "name": "applystatus",
  1426. "in": "query"
  1427. }
  1428. ],
  1429. "responses": {
  1430. "200": {
  1431. "description": "OK",
  1432. "schema": {
  1433. "type": "array",
  1434. "items": {
  1435. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1436. }
  1437. }
  1438. },
  1439. "500": {
  1440. "description": "Internal Server Error",
  1441. "schema": {
  1442. "$ref": "#/definitions/app.Response"
  1443. }
  1444. }
  1445. }
  1446. }
  1447. },
  1448. "/Ermcp/QueryAreaStockApplySum": {
  1449. "get": {
  1450. "security": [
  1451. {
  1452. "ApiKeyAuth": []
  1453. }
  1454. ],
  1455. "produces": [
  1456. "application/json"
  1457. ],
  1458. "tags": [
  1459. "企业风险管理(app)"
  1460. ],
  1461. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1462. "parameters": [
  1463. {
  1464. "type": "integer",
  1465. "description": "合同ID",
  1466. "name": "spotcontractid",
  1467. "in": "query"
  1468. }
  1469. ],
  1470. "responses": {
  1471. "200": {
  1472. "description": "OK",
  1473. "schema": {
  1474. "type": "array",
  1475. "items": {
  1476. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1477. }
  1478. }
  1479. },
  1480. "500": {
  1481. "description": "Internal Server Error",
  1482. "schema": {
  1483. "$ref": "#/definitions/app.Response"
  1484. }
  1485. }
  1486. }
  1487. }
  1488. },
  1489. "/Ermcp/QueryAreaStockReport": {
  1490. "get": {
  1491. "security": [
  1492. {
  1493. "ApiKeyAuth": []
  1494. }
  1495. ],
  1496. "produces": [
  1497. "application/json"
  1498. ],
  1499. "tags": [
  1500. "企业风险管理(app)"
  1501. ],
  1502. "summary": "查询库存报表",
  1503. "parameters": [
  1504. {
  1505. "type": "integer",
  1506. "description": "用户ID",
  1507. "name": "userid",
  1508. "in": "query",
  1509. "required": true
  1510. },
  1511. {
  1512. "type": "integer",
  1513. "description": "查询类型 1-日报表 2-月报表",
  1514. "name": "querytype",
  1515. "in": "query",
  1516. "required": true
  1517. },
  1518. {
  1519. "type": "string",
  1520. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1521. "name": "querydate",
  1522. "in": "query",
  1523. "required": true
  1524. },
  1525. {
  1526. "type": "integer",
  1527. "description": "现货商品ID",
  1528. "name": "wrstandardid",
  1529. "in": "query"
  1530. },
  1531. {
  1532. "type": "integer",
  1533. "description": "品牌ID",
  1534. "name": "spotgoodsbrandid",
  1535. "in": "query"
  1536. },
  1537. {
  1538. "type": "integer",
  1539. "description": "型号ID",
  1540. "name": "spotgoodsmodelid",
  1541. "in": "query"
  1542. },
  1543. {
  1544. "type": "integer",
  1545. "description": "仓库ID",
  1546. "name": "warehouseinfoid",
  1547. "in": "query"
  1548. }
  1549. ],
  1550. "responses": {
  1551. "200": {
  1552. "description": "OK",
  1553. "schema": {
  1554. "type": "array",
  1555. "items": {
  1556. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  1557. }
  1558. }
  1559. },
  1560. "500": {
  1561. "description": "Internal Server Error",
  1562. "schema": {
  1563. "$ref": "#/definitions/app.Response"
  1564. }
  1565. }
  1566. }
  1567. }
  1568. },
  1569. "/Ermcp/QueryAreaStockReportDetail": {
  1570. "get": {
  1571. "security": [
  1572. {
  1573. "ApiKeyAuth": []
  1574. }
  1575. ],
  1576. "produces": [
  1577. "application/json"
  1578. ],
  1579. "tags": [
  1580. "企业风险管理(app)"
  1581. ],
  1582. "summary": "查询库存报表明细",
  1583. "parameters": [
  1584. {
  1585. "type": "integer",
  1586. "description": "用户ID",
  1587. "name": "userid",
  1588. "in": "query",
  1589. "required": true
  1590. },
  1591. {
  1592. "type": "integer",
  1593. "description": "查询类型 1-日报表明细 2-月报表明细",
  1594. "name": "querytype",
  1595. "in": "query",
  1596. "required": true
  1597. },
  1598. {
  1599. "type": "integer",
  1600. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  1601. "name": "detailtype",
  1602. "in": "query",
  1603. "required": true
  1604. },
  1605. {
  1606. "type": "string",
  1607. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1608. "name": "querydate",
  1609. "in": "query",
  1610. "required": true
  1611. },
  1612. {
  1613. "type": "integer",
  1614. "description": "现货商品ID",
  1615. "name": "wrstandardid",
  1616. "in": "query"
  1617. },
  1618. {
  1619. "type": "integer",
  1620. "description": "品牌ID",
  1621. "name": "spotgoodsbrandid",
  1622. "in": "query"
  1623. },
  1624. {
  1625. "type": "integer",
  1626. "description": "型号ID",
  1627. "name": "spotgoodsmodelid",
  1628. "in": "query"
  1629. },
  1630. {
  1631. "type": "integer",
  1632. "description": "仓库ID",
  1633. "name": "warehouseinfoid",
  1634. "in": "query"
  1635. }
  1636. ],
  1637. "responses": {
  1638. "200": {
  1639. "description": "OK",
  1640. "schema": {
  1641. "type": "array",
  1642. "items": {
  1643. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  1644. }
  1645. }
  1646. },
  1647. "500": {
  1648. "description": "Internal Server Error",
  1649. "schema": {
  1650. "$ref": "#/definitions/app.Response"
  1651. }
  1652. }
  1653. }
  1654. }
  1655. },
  1656. "/Ermcp/QueryAvaildGoodsGroup": {
  1657. "get": {
  1658. "security": [
  1659. {
  1660. "ApiKeyAuth": []
  1661. }
  1662. ],
  1663. "produces": [
  1664. "application/json"
  1665. ],
  1666. "tags": [
  1667. "企业风险管理(app)"
  1668. ],
  1669. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1670. "parameters": [
  1671. {
  1672. "type": "integer",
  1673. "description": "所属机构ID",
  1674. "name": "userid",
  1675. "in": "query",
  1676. "required": true
  1677. }
  1678. ],
  1679. "responses": {
  1680. "200": {
  1681. "description": "OK",
  1682. "schema": {
  1683. "type": "array",
  1684. "items": {
  1685. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1686. }
  1687. }
  1688. },
  1689. "500": {
  1690. "description": "Internal Server Error",
  1691. "schema": {
  1692. "$ref": "#/definitions/app.Response"
  1693. }
  1694. }
  1695. }
  1696. }
  1697. },
  1698. "/Ermcp/QueryBusinessDj": {
  1699. "get": {
  1700. "security": [
  1701. {
  1702. "ApiKeyAuth": []
  1703. }
  1704. ],
  1705. "produces": [
  1706. "application/json"
  1707. ],
  1708. "tags": [
  1709. "企业风险管理(app)"
  1710. ],
  1711. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1712. "parameters": [
  1713. {
  1714. "type": "integer",
  1715. "description": "用户ID",
  1716. "name": "UserId",
  1717. "in": "query",
  1718. "required": true
  1719. },
  1720. {
  1721. "type": "string",
  1722. "description": "现货合同ID, 不填则查所有",
  1723. "name": "relatedid",
  1724. "in": "query"
  1725. }
  1726. ],
  1727. "responses": {
  1728. "200": {
  1729. "description": "OK",
  1730. "schema": {
  1731. "type": "array",
  1732. "items": {
  1733. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1734. }
  1735. }
  1736. },
  1737. "500": {
  1738. "description": "Internal Server Error",
  1739. "schema": {
  1740. "$ref": "#/definitions/app.Response"
  1741. }
  1742. }
  1743. }
  1744. }
  1745. },
  1746. "/Ermcp/QueryBusinessFp": {
  1747. "get": {
  1748. "security": [
  1749. {
  1750. "ApiKeyAuth": []
  1751. }
  1752. ],
  1753. "produces": [
  1754. "application/json"
  1755. ],
  1756. "tags": [
  1757. "企业风险管理(app)"
  1758. ],
  1759. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1760. "parameters": [
  1761. {
  1762. "type": "integer",
  1763. "description": "用户ID",
  1764. "name": "UserId",
  1765. "in": "query",
  1766. "required": true
  1767. },
  1768. {
  1769. "type": "string",
  1770. "description": "现货合同ID, 不填则查所有",
  1771. "name": "relatedid",
  1772. "in": "query"
  1773. }
  1774. ],
  1775. "responses": {
  1776. "200": {
  1777. "description": "OK",
  1778. "schema": {
  1779. "type": "array",
  1780. "items": {
  1781. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1782. }
  1783. }
  1784. },
  1785. "500": {
  1786. "description": "Internal Server Error",
  1787. "schema": {
  1788. "$ref": "#/definitions/app.Response"
  1789. }
  1790. }
  1791. }
  1792. }
  1793. },
  1794. "/Ermcp/QueryBusinessJs": {
  1795. "get": {
  1796. "security": [
  1797. {
  1798. "ApiKeyAuth": []
  1799. }
  1800. ],
  1801. "produces": [
  1802. "application/json"
  1803. ],
  1804. "tags": [
  1805. "企业风险管理(app)"
  1806. ],
  1807. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1808. "parameters": [
  1809. {
  1810. "type": "integer",
  1811. "description": "用户ID",
  1812. "name": "UserId",
  1813. "in": "query",
  1814. "required": true
  1815. },
  1816. {
  1817. "type": "string",
  1818. "description": "现货合同ID, 不填则查所有",
  1819. "name": "relatedid",
  1820. "in": "query"
  1821. }
  1822. ],
  1823. "responses": {
  1824. "200": {
  1825. "description": "OK",
  1826. "schema": {
  1827. "type": "array",
  1828. "items": {
  1829. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1830. }
  1831. }
  1832. },
  1833. "500": {
  1834. "description": "Internal Server Error",
  1835. "schema": {
  1836. "$ref": "#/definitions/app.Response"
  1837. }
  1838. }
  1839. }
  1840. }
  1841. },
  1842. "/Ermcp/QueryBusinessJsEx": {
  1843. "get": {
  1844. "security": [
  1845. {
  1846. "ApiKeyAuth": []
  1847. }
  1848. ],
  1849. "produces": [
  1850. "application/json"
  1851. ],
  1852. "tags": [
  1853. "企业风险管理(app)"
  1854. ],
  1855. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1856. "parameters": [
  1857. {
  1858. "type": "integer",
  1859. "description": "用户ID",
  1860. "name": "UserId",
  1861. "in": "query",
  1862. "required": true
  1863. },
  1864. {
  1865. "type": "string",
  1866. "description": "现货合同ID, 不填则查所有",
  1867. "name": "relatedid",
  1868. "in": "query"
  1869. }
  1870. ],
  1871. "responses": {
  1872. "200": {
  1873. "description": "OK",
  1874. "schema": {
  1875. "type": "array",
  1876. "items": {
  1877. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1878. }
  1879. }
  1880. },
  1881. "500": {
  1882. "description": "Internal Server Error",
  1883. "schema": {
  1884. "$ref": "#/definitions/app.Response"
  1885. }
  1886. }
  1887. }
  1888. }
  1889. },
  1890. "/Ermcp/QueryBusinessKx": {
  1891. "get": {
  1892. "security": [
  1893. {
  1894. "ApiKeyAuth": []
  1895. }
  1896. ],
  1897. "produces": [
  1898. "application/json"
  1899. ],
  1900. "tags": [
  1901. "企业风险管理(app)"
  1902. ],
  1903. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1904. "parameters": [
  1905. {
  1906. "type": "integer",
  1907. "description": "用户ID",
  1908. "name": "UserId",
  1909. "in": "query",
  1910. "required": true
  1911. },
  1912. {
  1913. "type": "string",
  1914. "description": "现货合同ID, 不填则查所有",
  1915. "name": "relatedid",
  1916. "in": "query"
  1917. }
  1918. ],
  1919. "responses": {
  1920. "200": {
  1921. "description": "OK",
  1922. "schema": {
  1923. "type": "array",
  1924. "items": {
  1925. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1926. }
  1927. }
  1928. },
  1929. "500": {
  1930. "description": "Internal Server Error",
  1931. "schema": {
  1932. "$ref": "#/definitions/app.Response"
  1933. }
  1934. }
  1935. }
  1936. }
  1937. },
  1938. "/Ermcp/QueryChangeLog": {
  1939. "get": {
  1940. "security": [
  1941. {
  1942. "ApiKeyAuth": []
  1943. }
  1944. ],
  1945. "produces": [
  1946. "application/json"
  1947. ],
  1948. "tags": [
  1949. "企业风险管理(app)"
  1950. ],
  1951. "summary": "查询变更记录",
  1952. "parameters": [
  1953. {
  1954. "type": "string",
  1955. "description": "合同ID",
  1956. "name": "RelatedId",
  1957. "in": "query",
  1958. "required": true
  1959. }
  1960. ],
  1961. "responses": {
  1962. "200": {
  1963. "description": "OK",
  1964. "schema": {
  1965. "type": "array",
  1966. "items": {
  1967. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1968. }
  1969. }
  1970. },
  1971. "500": {
  1972. "description": "Internal Server Error",
  1973. "schema": {
  1974. "$ref": "#/definitions/app.Response"
  1975. }
  1976. }
  1977. }
  1978. }
  1979. },
  1980. "/Ermcp/QueryContract": {
  1981. "get": {
  1982. "security": [
  1983. {
  1984. "ApiKeyAuth": []
  1985. }
  1986. ],
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "企业风险管理(app)"
  1992. ],
  1993. "summary": "查询合同(采购和销售)",
  1994. "parameters": [
  1995. {
  1996. "type": "integer",
  1997. "description": "用户ID",
  1998. "name": "userId",
  1999. "in": "query",
  2000. "required": true
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "合同类型 1-采购, -1-销售",
  2005. "name": "contracttype",
  2006. "in": "query",
  2007. "required": true
  2008. },
  2009. {
  2010. "type": "integer",
  2011. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2012. "name": "querytype",
  2013. "in": "query",
  2014. "required": true
  2015. }
  2016. ],
  2017. "responses": {
  2018. "200": {
  2019. "description": "OK",
  2020. "schema": {
  2021. "type": "array",
  2022. "items": {
  2023. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2024. }
  2025. }
  2026. },
  2027. "500": {
  2028. "description": "Internal Server Error",
  2029. "schema": {
  2030. "$ref": "#/definitions/app.Response"
  2031. }
  2032. }
  2033. }
  2034. }
  2035. },
  2036. "/Ermcp/QueryErmcpHisOrderDetails": {
  2037. "get": {
  2038. "security": [
  2039. {
  2040. "ApiKeyAuth": []
  2041. }
  2042. ],
  2043. "produces": [
  2044. "application/json"
  2045. ],
  2046. "tags": [
  2047. "企业风险管理(app)"
  2048. ],
  2049. "summary": "获取企业风管期货历史委托单信息",
  2050. "parameters": [
  2051. {
  2052. "type": "integer",
  2053. "description": "资金账户ID",
  2054. "name": "accountID",
  2055. "in": "query",
  2056. "required": true
  2057. },
  2058. {
  2059. "type": "string",
  2060. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2061. "name": "startDate",
  2062. "in": "query"
  2063. },
  2064. {
  2065. "type": "string",
  2066. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2067. "name": "endDate",
  2068. "in": "query"
  2069. }
  2070. ],
  2071. "responses": {
  2072. "200": {
  2073. "description": "OK",
  2074. "schema": {
  2075. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2076. }
  2077. },
  2078. "500": {
  2079. "description": "Internal Server Error",
  2080. "schema": {
  2081. "$ref": "#/definitions/app.Response"
  2082. }
  2083. }
  2084. }
  2085. }
  2086. },
  2087. "/Ermcp/QueryErmcpHisTradeDetails": {
  2088. "get": {
  2089. "security": [
  2090. {
  2091. "ApiKeyAuth": []
  2092. }
  2093. ],
  2094. "produces": [
  2095. "application/json"
  2096. ],
  2097. "tags": [
  2098. "企业风险管理(app)"
  2099. ],
  2100. "summary": "获取企业风管期货历史成交单信息",
  2101. "parameters": [
  2102. {
  2103. "type": "integer",
  2104. "description": "资金账户ID",
  2105. "name": "accountID",
  2106. "in": "query",
  2107. "required": true
  2108. },
  2109. {
  2110. "type": "integer",
  2111. "description": "商品ID",
  2112. "name": "goodsID",
  2113. "in": "query"
  2114. },
  2115. {
  2116. "type": "integer",
  2117. "description": "买卖方向,0:买 1:卖",
  2118. "name": "buyOrSell",
  2119. "in": "query"
  2120. },
  2121. {
  2122. "type": "string",
  2123. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2124. "name": "startDate",
  2125. "in": "query"
  2126. },
  2127. {
  2128. "type": "string",
  2129. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2130. "name": "endDate",
  2131. "in": "query"
  2132. }
  2133. ],
  2134. "responses": {
  2135. "200": {
  2136. "description": "OK",
  2137. "schema": {
  2138. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2139. }
  2140. },
  2141. "500": {
  2142. "description": "Internal Server Error",
  2143. "schema": {
  2144. "$ref": "#/definitions/app.Response"
  2145. }
  2146. }
  2147. }
  2148. }
  2149. },
  2150. "/Ermcp/QueryErmcpOrderDetails": {
  2151. "get": {
  2152. "security": [
  2153. {
  2154. "ApiKeyAuth": []
  2155. }
  2156. ],
  2157. "produces": [
  2158. "application/json"
  2159. ],
  2160. "tags": [
  2161. "企业风险管理(app)"
  2162. ],
  2163. "summary": "获取企业风管期货委托单信息",
  2164. "parameters": [
  2165. {
  2166. "type": "integer",
  2167. "description": "资金账户ID",
  2168. "name": "accountID",
  2169. "in": "query",
  2170. "required": true
  2171. }
  2172. ],
  2173. "responses": {
  2174. "200": {
  2175. "description": "OK",
  2176. "schema": {
  2177. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2178. }
  2179. },
  2180. "500": {
  2181. "description": "Internal Server Error",
  2182. "schema": {
  2183. "$ref": "#/definitions/app.Response"
  2184. }
  2185. }
  2186. }
  2187. }
  2188. },
  2189. "/Ermcp/QueryErmcpTradeDetails": {
  2190. "get": {
  2191. "security": [
  2192. {
  2193. "ApiKeyAuth": []
  2194. }
  2195. ],
  2196. "produces": [
  2197. "application/json"
  2198. ],
  2199. "tags": [
  2200. "企业风险管理(app)"
  2201. ],
  2202. "summary": "获取企业风管期货成交单信息",
  2203. "parameters": [
  2204. {
  2205. "type": "integer",
  2206. "description": "资金账户ID",
  2207. "name": "accountID",
  2208. "in": "query",
  2209. "required": true
  2210. },
  2211. {
  2212. "type": "integer",
  2213. "description": "商品ID",
  2214. "name": "goodsID",
  2215. "in": "query"
  2216. },
  2217. {
  2218. "type": "integer",
  2219. "description": "买卖方向,0:买 1:卖",
  2220. "name": "buyOrSell",
  2221. "in": "query"
  2222. }
  2223. ],
  2224. "responses": {
  2225. "200": {
  2226. "description": "OK",
  2227. "schema": {
  2228. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2229. }
  2230. },
  2231. "500": {
  2232. "description": "Internal Server Error",
  2233. "schema": {
  2234. "$ref": "#/definitions/app.Response"
  2235. }
  2236. }
  2237. }
  2238. }
  2239. },
  2240. "/Ermcp/QueryErmcpTradePosition": {
  2241. "get": {
  2242. "security": [
  2243. {
  2244. "ApiKeyAuth": []
  2245. }
  2246. ],
  2247. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2248. "produces": [
  2249. "application/json"
  2250. ],
  2251. "tags": [
  2252. "企业风险管理(app)"
  2253. ],
  2254. "summary": "获取企业风管期货持仓头寸信息",
  2255. "parameters": [
  2256. {
  2257. "type": "integer",
  2258. "description": "资金账户ID",
  2259. "name": "accountID",
  2260. "in": "query",
  2261. "required": true
  2262. },
  2263. {
  2264. "type": "integer",
  2265. "description": "所属市场ID",
  2266. "name": "marketID",
  2267. "in": "query"
  2268. }
  2269. ],
  2270. "responses": {
  2271. "200": {
  2272. "description": "OK",
  2273. "schema": {
  2274. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2275. }
  2276. },
  2277. "500": {
  2278. "description": "Internal Server Error",
  2279. "schema": {
  2280. "$ref": "#/definitions/app.Response"
  2281. }
  2282. }
  2283. }
  2284. }
  2285. },
  2286. "/Ermcp/QueryExposureDetail": {
  2287. "get": {
  2288. "security": [
  2289. {
  2290. "ApiKeyAuth": []
  2291. }
  2292. ],
  2293. "produces": [
  2294. "application/json"
  2295. ],
  2296. "tags": [
  2297. "企业风险管理(app)"
  2298. ],
  2299. "summary": "查询敞口现货明细",
  2300. "parameters": [
  2301. {
  2302. "type": "integer",
  2303. "description": "所属机构ID",
  2304. "name": "areaUserId",
  2305. "in": "query",
  2306. "required": true
  2307. },
  2308. {
  2309. "type": "integer",
  2310. "description": "套保商品",
  2311. "name": "middleGoodsId",
  2312. "in": "query",
  2313. "required": true
  2314. }
  2315. ],
  2316. "responses": {
  2317. "200": {
  2318. "description": "OK",
  2319. "schema": {
  2320. "type": "array",
  2321. "items": {
  2322. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2323. }
  2324. }
  2325. },
  2326. "500": {
  2327. "description": "Internal Server Error",
  2328. "schema": {
  2329. "$ref": "#/definitions/app.Response"
  2330. }
  2331. }
  2332. }
  2333. }
  2334. },
  2335. "/Ermcp/QueryExposureHedgePosition": {
  2336. "get": {
  2337. "security": [
  2338. {
  2339. "ApiKeyAuth": []
  2340. }
  2341. ],
  2342. "produces": [
  2343. "application/json"
  2344. ],
  2345. "tags": [
  2346. "企业风险管理(app)"
  2347. ],
  2348. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2349. "parameters": [
  2350. {
  2351. "type": "integer",
  2352. "description": "所属机构ID",
  2353. "name": "areaUserId",
  2354. "in": "query",
  2355. "required": true
  2356. }
  2357. ],
  2358. "responses": {
  2359. "200": {
  2360. "description": "OK",
  2361. "schema": {
  2362. "type": "array",
  2363. "items": {
  2364. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2365. }
  2366. }
  2367. },
  2368. "500": {
  2369. "description": "Internal Server Error",
  2370. "schema": {
  2371. "$ref": "#/definitions/app.Response"
  2372. }
  2373. }
  2374. }
  2375. }
  2376. },
  2377. "/Ermcp/QueryExposureHedgePositionDetail": {
  2378. "get": {
  2379. "security": [
  2380. {
  2381. "ApiKeyAuth": []
  2382. }
  2383. ],
  2384. "produces": [
  2385. "application/json"
  2386. ],
  2387. "tags": [
  2388. "企业风险管理(app)"
  2389. ],
  2390. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2391. "parameters": [
  2392. {
  2393. "type": "integer",
  2394. "description": "所属机构ID",
  2395. "name": "areaUserId",
  2396. "in": "query",
  2397. "required": true
  2398. },
  2399. {
  2400. "type": "integer",
  2401. "description": "商品id",
  2402. "name": "goodsId",
  2403. "in": "query",
  2404. "required": true
  2405. }
  2406. ],
  2407. "responses": {
  2408. "200": {
  2409. "description": "OK",
  2410. "schema": {
  2411. "type": "array",
  2412. "items": {
  2413. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2414. }
  2415. }
  2416. },
  2417. "500": {
  2418. "description": "Internal Server Error",
  2419. "schema": {
  2420. "$ref": "#/definitions/app.Response"
  2421. }
  2422. }
  2423. }
  2424. }
  2425. },
  2426. "/Ermcp/QueryExposureSpot": {
  2427. "get": {
  2428. "security": [
  2429. {
  2430. "ApiKeyAuth": []
  2431. }
  2432. ],
  2433. "produces": [
  2434. "application/json"
  2435. ],
  2436. "tags": [
  2437. "企业风险管理(app)"
  2438. ],
  2439. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2440. "parameters": [
  2441. {
  2442. "type": "integer",
  2443. "description": "所属机构ID",
  2444. "name": "areaUserId",
  2445. "in": "query",
  2446. "required": true
  2447. }
  2448. ],
  2449. "responses": {
  2450. "200": {
  2451. "description": "OK",
  2452. "schema": {
  2453. "type": "array",
  2454. "items": {
  2455. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2456. }
  2457. }
  2458. },
  2459. "500": {
  2460. "description": "Internal Server Error",
  2461. "schema": {
  2462. "$ref": "#/definitions/app.Response"
  2463. }
  2464. }
  2465. }
  2466. }
  2467. },
  2468. "/Ermcp/QueryExposureSpotDetail": {
  2469. "get": {
  2470. "security": [
  2471. {
  2472. "ApiKeyAuth": []
  2473. }
  2474. ],
  2475. "produces": [
  2476. "application/json"
  2477. ],
  2478. "tags": [
  2479. "企业风险管理(app)"
  2480. ],
  2481. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2482. "parameters": [
  2483. {
  2484. "type": "integer",
  2485. "description": "所属机构ID",
  2486. "name": "areaUserId",
  2487. "in": "query",
  2488. "required": true
  2489. },
  2490. {
  2491. "type": "integer",
  2492. "description": "现货品种ID",
  2493. "name": "wrstandardId",
  2494. "in": "query",
  2495. "required": true
  2496. }
  2497. ],
  2498. "responses": {
  2499. "200": {
  2500. "description": "OK",
  2501. "schema": {
  2502. "type": "array",
  2503. "items": {
  2504. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2505. }
  2506. }
  2507. },
  2508. "500": {
  2509. "description": "Internal Server Error",
  2510. "schema": {
  2511. "$ref": "#/definitions/app.Response"
  2512. }
  2513. }
  2514. }
  2515. }
  2516. },
  2517. "/Ermcp/QueryGGConvertConfig": {
  2518. "get": {
  2519. "security": [
  2520. {
  2521. "ApiKeyAuth": []
  2522. }
  2523. ],
  2524. "produces": [
  2525. "application/json"
  2526. ],
  2527. "tags": [
  2528. "企业风险管理(app)"
  2529. ],
  2530. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2531. "parameters": [
  2532. {
  2533. "type": "integer",
  2534. "description": "品种id(不填则查所有)",
  2535. "name": "goodsgroupid",
  2536. "in": "query"
  2537. }
  2538. ],
  2539. "responses": {
  2540. "200": {
  2541. "description": "OK",
  2542. "schema": {
  2543. "type": "array",
  2544. "items": {
  2545. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2546. }
  2547. }
  2548. },
  2549. "500": {
  2550. "description": "Internal Server Error",
  2551. "schema": {
  2552. "$ref": "#/definitions/app.Response"
  2553. }
  2554. }
  2555. }
  2556. }
  2557. },
  2558. "/Ermcp/QueryGoodsBrand": {
  2559. "get": {
  2560. "security": [
  2561. {
  2562. "ApiKeyAuth": []
  2563. }
  2564. ],
  2565. "produces": [
  2566. "application/json"
  2567. ],
  2568. "tags": [
  2569. "企业风险管理(app)"
  2570. ],
  2571. "summary": "查询商品品牌",
  2572. "parameters": [
  2573. {
  2574. "type": "integer",
  2575. "description": "用户ID",
  2576. "name": "userid",
  2577. "in": "query",
  2578. "required": true
  2579. },
  2580. {
  2581. "type": "integer",
  2582. "description": "现货商品ID",
  2583. "name": "wrstandardid",
  2584. "in": "query"
  2585. }
  2586. ],
  2587. "responses": {
  2588. "200": {
  2589. "description": "OK",
  2590. "schema": {
  2591. "type": "array",
  2592. "items": {
  2593. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2594. }
  2595. }
  2596. },
  2597. "500": {
  2598. "description": "Internal Server Error",
  2599. "schema": {
  2600. "$ref": "#/definitions/app.Response"
  2601. }
  2602. }
  2603. }
  2604. }
  2605. },
  2606. "/Ermcp/QueryGoodsModel": {
  2607. "get": {
  2608. "security": [
  2609. {
  2610. "ApiKeyAuth": []
  2611. }
  2612. ],
  2613. "produces": [
  2614. "application/json"
  2615. ],
  2616. "tags": [
  2617. "企业风险管理(app)"
  2618. ],
  2619. "summary": "查询商品型号",
  2620. "parameters": [
  2621. {
  2622. "type": "integer",
  2623. "description": "用户ID",
  2624. "name": "userid",
  2625. "in": "query",
  2626. "required": true
  2627. }
  2628. ],
  2629. "responses": {
  2630. "200": {
  2631. "description": "OK",
  2632. "schema": {
  2633. "type": "array",
  2634. "items": {
  2635. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2636. }
  2637. }
  2638. },
  2639. "500": {
  2640. "description": "Internal Server Error",
  2641. "schema": {
  2642. "$ref": "#/definitions/app.Response"
  2643. }
  2644. }
  2645. }
  2646. }
  2647. },
  2648. "/Ermcp/QueryHedgePlan": {
  2649. "get": {
  2650. "security": [
  2651. {
  2652. "ApiKeyAuth": []
  2653. }
  2654. ],
  2655. "produces": [
  2656. "application/json"
  2657. ],
  2658. "tags": [
  2659. "企业风险管理(app)"
  2660. ],
  2661. "summary": "查询套保计划",
  2662. "parameters": [
  2663. {
  2664. "type": "integer",
  2665. "description": "用户ID",
  2666. "name": "userId",
  2667. "in": "query",
  2668. "required": true
  2669. },
  2670. {
  2671. "type": "string",
  2672. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2673. "name": "HedgePlanStatus",
  2674. "in": "query",
  2675. "required": true
  2676. }
  2677. ],
  2678. "responses": {
  2679. "200": {
  2680. "description": "OK",
  2681. "schema": {
  2682. "type": "array",
  2683. "items": {
  2684. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2685. }
  2686. }
  2687. },
  2688. "500": {
  2689. "description": "Internal Server Error",
  2690. "schema": {
  2691. "$ref": "#/definitions/app.Response"
  2692. }
  2693. }
  2694. }
  2695. }
  2696. },
  2697. "/Ermcp/QueryHisExposure": {
  2698. "get": {
  2699. "security": [
  2700. {
  2701. "ApiKeyAuth": []
  2702. }
  2703. ],
  2704. "produces": [
  2705. "application/json"
  2706. ],
  2707. "tags": [
  2708. "企业风险管理(app)"
  2709. ],
  2710. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2711. "parameters": [
  2712. {
  2713. "type": "integer",
  2714. "description": "所属机构ID",
  2715. "name": "areaUserId",
  2716. "in": "query",
  2717. "required": true
  2718. },
  2719. {
  2720. "type": "integer",
  2721. "description": "每个品种记录数",
  2722. "name": "lastNum",
  2723. "in": "query",
  2724. "required": true
  2725. }
  2726. ],
  2727. "responses": {
  2728. "200": {
  2729. "description": "OK",
  2730. "schema": {
  2731. "type": "array",
  2732. "items": {
  2733. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2734. }
  2735. }
  2736. },
  2737. "500": {
  2738. "description": "Internal Server Error",
  2739. "schema": {
  2740. "$ref": "#/definitions/app.Response"
  2741. }
  2742. }
  2743. }
  2744. }
  2745. },
  2746. "/Ermcp/QueryMiddleGoods": {
  2747. "get": {
  2748. "security": [
  2749. {
  2750. "ApiKeyAuth": []
  2751. }
  2752. ],
  2753. "produces": [
  2754. "application/json"
  2755. ],
  2756. "tags": [
  2757. "企业风险管理(app)"
  2758. ],
  2759. "summary": "查询套保品种(菜单:套保品种)",
  2760. "parameters": [
  2761. {
  2762. "type": "integer",
  2763. "description": "所属机构ID",
  2764. "name": "userid",
  2765. "in": "query",
  2766. "required": true
  2767. },
  2768. {
  2769. "type": "integer",
  2770. "description": "状态 0-停用 1-正常",
  2771. "name": "status",
  2772. "in": "query",
  2773. "required": true
  2774. }
  2775. ],
  2776. "responses": {
  2777. "200": {
  2778. "description": "OK",
  2779. "schema": {
  2780. "type": "array",
  2781. "items": {
  2782. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2783. }
  2784. }
  2785. },
  2786. "500": {
  2787. "description": "Internal Server Error",
  2788. "schema": {
  2789. "$ref": "#/definitions/app.Response"
  2790. }
  2791. }
  2792. }
  2793. }
  2794. },
  2795. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2796. "get": {
  2797. "security": [
  2798. {
  2799. "ApiKeyAuth": []
  2800. }
  2801. ],
  2802. "produces": [
  2803. "application/json"
  2804. ],
  2805. "tags": [
  2806. "企业风险管理(app)"
  2807. ],
  2808. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2809. "parameters": [
  2810. {
  2811. "type": "integer",
  2812. "description": "所属机构ID",
  2813. "name": "userid",
  2814. "in": "query",
  2815. "required": true
  2816. },
  2817. {
  2818. "type": "integer",
  2819. "description": "套保品种id",
  2820. "name": "middlegoodsid",
  2821. "in": "query",
  2822. "required": true
  2823. }
  2824. ],
  2825. "responses": {
  2826. "200": {
  2827. "description": "OK",
  2828. "schema": {
  2829. "type": "array",
  2830. "items": {
  2831. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2832. }
  2833. }
  2834. },
  2835. "500": {
  2836. "description": "Internal Server Error",
  2837. "schema": {
  2838. "$ref": "#/definitions/app.Response"
  2839. }
  2840. }
  2841. }
  2842. }
  2843. },
  2844. "/Ermcp/QueryMiddleGoodsDetail": {
  2845. "get": {
  2846. "security": [
  2847. {
  2848. "ApiKeyAuth": []
  2849. }
  2850. ],
  2851. "produces": [
  2852. "application/json"
  2853. ],
  2854. "tags": [
  2855. "企业风险管理(app)"
  2856. ],
  2857. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2858. "parameters": [
  2859. {
  2860. "type": "integer",
  2861. "description": "所属机构ID",
  2862. "name": "userid",
  2863. "in": "query",
  2864. "required": true
  2865. },
  2866. {
  2867. "type": "integer",
  2868. "description": "套保品种id",
  2869. "name": "middlegoodsid",
  2870. "in": "query",
  2871. "required": true
  2872. }
  2873. ],
  2874. "responses": {
  2875. "200": {
  2876. "description": "OK",
  2877. "schema": {
  2878. "type": "array",
  2879. "items": {
  2880. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2881. }
  2882. }
  2883. },
  2884. "500": {
  2885. "description": "Internal Server Error",
  2886. "schema": {
  2887. "$ref": "#/definitions/app.Response"
  2888. }
  2889. }
  2890. }
  2891. }
  2892. },
  2893. "/Ermcp/QueryPendingAuditInfo": {
  2894. "get": {
  2895. "security": [
  2896. {
  2897. "ApiKeyAuth": []
  2898. }
  2899. ],
  2900. "produces": [
  2901. "application/json"
  2902. ],
  2903. "tags": [
  2904. "企业风险管理(app)"
  2905. ],
  2906. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2907. "parameters": [
  2908. {
  2909. "type": "integer",
  2910. "description": "用户ID",
  2911. "name": "UserId",
  2912. "in": "query",
  2913. "required": true
  2914. }
  2915. ],
  2916. "responses": {
  2917. "200": {
  2918. "description": "OK",
  2919. "schema": {
  2920. "type": "array",
  2921. "items": {
  2922. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2923. }
  2924. }
  2925. },
  2926. "500": {
  2927. "description": "Internal Server Error",
  2928. "schema": {
  2929. "$ref": "#/definitions/app.Response"
  2930. }
  2931. }
  2932. }
  2933. }
  2934. },
  2935. "/Ermcp/QueryRealtimeExposure": {
  2936. "get": {
  2937. "security": [
  2938. {
  2939. "ApiKeyAuth": []
  2940. }
  2941. ],
  2942. "produces": [
  2943. "application/json"
  2944. ],
  2945. "tags": [
  2946. "企业风险管理(app)"
  2947. ],
  2948. "summary": "查询实时敞口",
  2949. "parameters": [
  2950. {
  2951. "type": "integer",
  2952. "description": "所属机构ID",
  2953. "name": "AreaUserID",
  2954. "in": "query",
  2955. "required": true
  2956. }
  2957. ],
  2958. "responses": {
  2959. "200": {
  2960. "description": "OK",
  2961. "schema": {
  2962. "type": "array",
  2963. "items": {
  2964. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2965. }
  2966. }
  2967. },
  2968. "500": {
  2969. "description": "Internal Server Error",
  2970. "schema": {
  2971. "$ref": "#/definitions/app.Response"
  2972. }
  2973. }
  2974. }
  2975. }
  2976. },
  2977. "/Ermcp/QueryRealtimeExposurePosition": {
  2978. "get": {
  2979. "security": [
  2980. {
  2981. "ApiKeyAuth": []
  2982. }
  2983. ],
  2984. "produces": [
  2985. "application/json"
  2986. ],
  2987. "tags": [
  2988. "企业风险管理(app)"
  2989. ],
  2990. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2991. "parameters": [
  2992. {
  2993. "type": "integer",
  2994. "description": "所属机构ID",
  2995. "name": "areaUserId",
  2996. "in": "query",
  2997. "required": true
  2998. },
  2999. {
  3000. "type": "integer",
  3001. "description": "套保商品ID",
  3002. "name": "middleGoodsId",
  3003. "in": "query",
  3004. "required": true
  3005. }
  3006. ],
  3007. "responses": {
  3008. "200": {
  3009. "description": "OK",
  3010. "schema": {
  3011. "type": "array",
  3012. "items": {
  3013. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3014. }
  3015. }
  3016. },
  3017. "500": {
  3018. "description": "Internal Server Error",
  3019. "schema": {
  3020. "$ref": "#/definitions/app.Response"
  3021. }
  3022. }
  3023. }
  3024. }
  3025. },
  3026. "/Ermcp/QuerySpotContract": {
  3027. "get": {
  3028. "security": [
  3029. {
  3030. "ApiKeyAuth": []
  3031. }
  3032. ],
  3033. "produces": [
  3034. "application/json"
  3035. ],
  3036. "tags": [
  3037. "企业风险管理(app)"
  3038. ],
  3039. "summary": "查询现货合同(对应现货合同菜单)",
  3040. "parameters": [
  3041. {
  3042. "type": "integer",
  3043. "description": "用户ID",
  3044. "name": "userId",
  3045. "in": "query",
  3046. "required": true
  3047. },
  3048. {
  3049. "type": "integer",
  3050. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3051. "name": "QueryType",
  3052. "in": "query",
  3053. "required": true
  3054. }
  3055. ],
  3056. "responses": {
  3057. "200": {
  3058. "description": "OK",
  3059. "schema": {
  3060. "type": "array",
  3061. "items": {
  3062. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3063. }
  3064. }
  3065. },
  3066. "500": {
  3067. "description": "Internal Server Error",
  3068. "schema": {
  3069. "$ref": "#/definitions/app.Response"
  3070. }
  3071. }
  3072. }
  3073. }
  3074. },
  3075. "/Ermcp/QueryUserInfo": {
  3076. "get": {
  3077. "security": [
  3078. {
  3079. "ApiKeyAuth": []
  3080. }
  3081. ],
  3082. "produces": [
  3083. "application/json"
  3084. ],
  3085. "tags": [
  3086. "企业风险管理(app)"
  3087. ],
  3088. "summary": "查询客户资料",
  3089. "parameters": [
  3090. {
  3091. "type": "integer",
  3092. "description": "所属机构用户ID",
  3093. "name": "MemberUserID",
  3094. "in": "query",
  3095. "required": true
  3096. },
  3097. {
  3098. "type": "integer",
  3099. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3100. "name": "queryType",
  3101. "in": "query",
  3102. "required": true
  3103. }
  3104. ],
  3105. "responses": {
  3106. "200": {
  3107. "description": "OK",
  3108. "schema": {
  3109. "type": "array",
  3110. "items": {
  3111. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3112. }
  3113. }
  3114. },
  3115. "500": {
  3116. "description": "Internal Server Error",
  3117. "schema": {
  3118. "$ref": "#/definitions/app.Response"
  3119. }
  3120. }
  3121. }
  3122. }
  3123. },
  3124. "/Ermcp/QueryWarehouseInfo": {
  3125. "get": {
  3126. "security": [
  3127. {
  3128. "ApiKeyAuth": []
  3129. }
  3130. ],
  3131. "produces": [
  3132. "application/json"
  3133. ],
  3134. "tags": [
  3135. "企业风险管理(app)"
  3136. ],
  3137. "summary": "查询仓库信息",
  3138. "parameters": [
  3139. {
  3140. "type": "integer",
  3141. "description": "用户ID",
  3142. "name": "userid",
  3143. "in": "query",
  3144. "required": true
  3145. },
  3146. {
  3147. "type": "string",
  3148. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3149. "name": "status",
  3150. "in": "query"
  3151. }
  3152. ],
  3153. "responses": {
  3154. "200": {
  3155. "description": "OK",
  3156. "schema": {
  3157. "type": "array",
  3158. "items": {
  3159. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3160. }
  3161. }
  3162. },
  3163. "500": {
  3164. "description": "Internal Server Error",
  3165. "schema": {
  3166. "$ref": "#/definitions/app.Response"
  3167. }
  3168. }
  3169. }
  3170. }
  3171. },
  3172. "/Ermcp/QueryWrStandard": {
  3173. "get": {
  3174. "security": [
  3175. {
  3176. "ApiKeyAuth": []
  3177. }
  3178. ],
  3179. "produces": [
  3180. "application/json"
  3181. ],
  3182. "tags": [
  3183. "企业风险管理(app)"
  3184. ],
  3185. "summary": "查询现货商品",
  3186. "parameters": [
  3187. {
  3188. "type": "integer",
  3189. "description": "所属机构ID",
  3190. "name": "userid",
  3191. "in": "query",
  3192. "required": true
  3193. },
  3194. {
  3195. "type": "integer",
  3196. "description": "状态 0-停用 1-正常",
  3197. "name": "status",
  3198. "in": "query",
  3199. "required": true
  3200. }
  3201. ],
  3202. "responses": {
  3203. "200": {
  3204. "description": "OK",
  3205. "schema": {
  3206. "type": "array",
  3207. "items": {
  3208. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3209. }
  3210. }
  3211. },
  3212. "500": {
  3213. "description": "Internal Server Error",
  3214. "schema": {
  3215. "$ref": "#/definitions/app.Response"
  3216. }
  3217. }
  3218. }
  3219. }
  3220. },
  3221. "/Ermcp/QueryWrStandardDetail": {
  3222. "get": {
  3223. "security": [
  3224. {
  3225. "ApiKeyAuth": []
  3226. }
  3227. ],
  3228. "produces": [
  3229. "application/json"
  3230. ],
  3231. "tags": [
  3232. "企业风险管理(app)"
  3233. ],
  3234. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  3235. "parameters": [
  3236. {
  3237. "type": "integer",
  3238. "description": "所属机构ID",
  3239. "name": "userid",
  3240. "in": "query",
  3241. "required": true
  3242. },
  3243. {
  3244. "type": "integer",
  3245. "description": "现货商品ID",
  3246. "name": "wrstandardid",
  3247. "in": "query",
  3248. "required": true
  3249. },
  3250. {
  3251. "type": "integer",
  3252. "description": "可不填, 1-查询关联交易商品",
  3253. "name": "goods",
  3254. "in": "query"
  3255. }
  3256. ],
  3257. "responses": {
  3258. "200": {
  3259. "description": "OK",
  3260. "schema": {
  3261. "type": "array",
  3262. "items": {
  3263. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  3264. }
  3265. }
  3266. },
  3267. "500": {
  3268. "description": "Internal Server Error",
  3269. "schema": {
  3270. "$ref": "#/definitions/app.Response"
  3271. }
  3272. }
  3273. }
  3274. }
  3275. },
  3276. "/Erms2/QueryArbitrageStrategy": {
  3277. "get": {
  3278. "security": [
  3279. {
  3280. "ApiKeyAuth": []
  3281. }
  3282. ],
  3283. "produces": [
  3284. "application/json"
  3285. ],
  3286. "tags": [
  3287. "风险管理"
  3288. ],
  3289. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  3290. "parameters": [
  3291. {
  3292. "type": "integer",
  3293. "description": "账户ID",
  3294. "name": "userid",
  3295. "in": "query",
  3296. "required": true
  3297. },
  3298. {
  3299. "type": "string",
  3300. "description": "商品组ID(品种ID)",
  3301. "name": "goodsgroupid",
  3302. "in": "query"
  3303. }
  3304. ],
  3305. "responses": {
  3306. "200": {
  3307. "description": "OK",
  3308. "schema": {
  3309. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  3310. }
  3311. },
  3312. "500": {
  3313. "description": "Internal Server Error",
  3314. "schema": {
  3315. "$ref": "#/definitions/app.Response"
  3316. }
  3317. }
  3318. }
  3319. }
  3320. },
  3321. "/Erms2/QueryInnerTradeDetail": {
  3322. "get": {
  3323. "security": [
  3324. {
  3325. "ApiKeyAuth": []
  3326. }
  3327. ],
  3328. "produces": [
  3329. "application/json"
  3330. ],
  3331. "tags": [
  3332. "风险管理"
  3333. ],
  3334. "summary": "查询内部成交单信息",
  3335. "parameters": [
  3336. {
  3337. "type": "integer",
  3338. "description": "资金账户",
  3339. "name": "accountid",
  3340. "in": "query",
  3341. "required": true
  3342. }
  3343. ],
  3344. "responses": {
  3345. "200": {
  3346. "description": "OK",
  3347. "schema": {
  3348. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  3349. }
  3350. },
  3351. "500": {
  3352. "description": "Internal Server Error",
  3353. "schema": {
  3354. "$ref": "#/definitions/app.Response"
  3355. }
  3356. }
  3357. }
  3358. }
  3359. },
  3360. "/Erms2/QuerySpotContract": {
  3361. "get": {
  3362. "security": [
  3363. {
  3364. "ApiKeyAuth": []
  3365. }
  3366. ],
  3367. "produces": [
  3368. "application/json"
  3369. ],
  3370. "tags": [
  3371. "风险管理"
  3372. ],
  3373. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  3374. "parameters": [
  3375. {
  3376. "type": "integer",
  3377. "description": "策略申请ID",
  3378. "name": "asapplyid",
  3379. "in": "query",
  3380. "required": true
  3381. },
  3382. {
  3383. "type": "integer",
  3384. "description": "现货合同ID",
  3385. "name": "spotcontractid",
  3386. "in": "query"
  3387. }
  3388. ],
  3389. "responses": {
  3390. "200": {
  3391. "description": "OK",
  3392. "schema": {
  3393. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  3394. }
  3395. },
  3396. "500": {
  3397. "description": "Internal Server Error",
  3398. "schema": {
  3399. "$ref": "#/definitions/app.Response"
  3400. }
  3401. }
  3402. }
  3403. }
  3404. },
  3405. "/Erms3/AddErms2ASApply": {
  3406. "post": {
  3407. "security": [
  3408. {
  3409. "ApiKeyAuth": []
  3410. }
  3411. ],
  3412. "produces": [
  3413. "application/json"
  3414. ],
  3415. "tags": [
  3416. "风险管理v3"
  3417. ],
  3418. "summary": "新增期现套利业务申请",
  3419. "parameters": [
  3420. {
  3421. "description": "申请参数",
  3422. "name": "jsonBody",
  3423. "in": "body",
  3424. "required": true,
  3425. "schema": {
  3426. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  3427. }
  3428. }
  3429. ],
  3430. "responses": {
  3431. "200": {
  3432. "description": "OK",
  3433. "schema": {
  3434. "$ref": "#/definitions/app.Response"
  3435. }
  3436. },
  3437. "500": {
  3438. "description": "Internal Server Error",
  3439. "schema": {
  3440. "$ref": "#/definitions/app.Response"
  3441. }
  3442. }
  3443. }
  3444. }
  3445. },
  3446. "/Erms3/AddErms2SpotTradeApply": {
  3447. "post": {
  3448. "security": [
  3449. {
  3450. "ApiKeyAuth": []
  3451. }
  3452. ],
  3453. "produces": [
  3454. "application/json"
  3455. ],
  3456. "tags": [
  3457. "风险管理v3"
  3458. ],
  3459. "summary": "新增现货贸易业务申请",
  3460. "parameters": [
  3461. {
  3462. "description": "申请参数",
  3463. "name": "jsonBody",
  3464. "in": "body",
  3465. "required": true,
  3466. "schema": {
  3467. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  3468. }
  3469. }
  3470. ],
  3471. "responses": {
  3472. "200": {
  3473. "description": "OK",
  3474. "schema": {
  3475. "$ref": "#/definitions/app.Response"
  3476. }
  3477. },
  3478. "500": {
  3479. "description": "Internal Server Error",
  3480. "schema": {
  3481. "$ref": "#/definitions/app.Response"
  3482. }
  3483. }
  3484. }
  3485. }
  3486. },
  3487. "/Erms3/AddSpotContractApply": {
  3488. "post": {
  3489. "security": [
  3490. {
  3491. "ApiKeyAuth": []
  3492. }
  3493. ],
  3494. "produces": [
  3495. "application/json"
  3496. ],
  3497. "tags": [
  3498. "风险管理v3"
  3499. ],
  3500. "summary": "新增现货合同申请",
  3501. "parameters": [
  3502. {
  3503. "description": "申请参数",
  3504. "name": "jsonBody",
  3505. "in": "body",
  3506. "required": true,
  3507. "schema": {
  3508. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  3509. }
  3510. }
  3511. ],
  3512. "responses": {
  3513. "200": {
  3514. "description": "OK",
  3515. "schema": {
  3516. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  3517. }
  3518. },
  3519. "500": {
  3520. "description": "Internal Server Error",
  3521. "schema": {
  3522. "$ref": "#/definitions/app.Response"
  3523. }
  3524. }
  3525. }
  3526. }
  3527. },
  3528. "/Erms3/AddUserInfoApply": {
  3529. "post": {
  3530. "security": [
  3531. {
  3532. "ApiKeyAuth": []
  3533. }
  3534. ],
  3535. "produces": [
  3536. "application/json"
  3537. ],
  3538. "tags": [
  3539. "风险管理v3"
  3540. ],
  3541. "summary": "新增客户申请",
  3542. "parameters": [
  3543. {
  3544. "description": "用户信息",
  3545. "name": "jsonBody",
  3546. "in": "body",
  3547. "required": true,
  3548. "schema": {
  3549. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  3550. }
  3551. }
  3552. ],
  3553. "responses": {
  3554. "200": {
  3555. "description": "OK",
  3556. "schema": {
  3557. "$ref": "#/definitions/app.Response"
  3558. }
  3559. },
  3560. "500": {
  3561. "description": "Internal Server Error",
  3562. "schema": {
  3563. "$ref": "#/definitions/app.Response"
  3564. }
  3565. }
  3566. }
  3567. }
  3568. },
  3569. "/Erms3/ModifyUserInfoApply": {
  3570. "post": {
  3571. "security": [
  3572. {
  3573. "ApiKeyAuth": []
  3574. }
  3575. ],
  3576. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  3577. "produces": [
  3578. "application/json"
  3579. ],
  3580. "tags": [
  3581. "风险管理v3"
  3582. ],
  3583. "summary": "修改客户申请",
  3584. "parameters": [
  3585. {
  3586. "description": "用户信息",
  3587. "name": "jsonBody",
  3588. "in": "body",
  3589. "required": true,
  3590. "schema": {
  3591. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  3592. }
  3593. }
  3594. ],
  3595. "responses": {
  3596. "200": {
  3597. "description": "OK",
  3598. "schema": {
  3599. "$ref": "#/definitions/app.Response"
  3600. }
  3601. },
  3602. "500": {
  3603. "description": "Internal Server Error",
  3604. "schema": {
  3605. "$ref": "#/definitions/app.Response"
  3606. }
  3607. }
  3608. }
  3609. }
  3610. },
  3611. "/Erms3/QueryBusinessInfo": {
  3612. "get": {
  3613. "security": [
  3614. {
  3615. "ApiKeyAuth": []
  3616. }
  3617. ],
  3618. "produces": [
  3619. "application/json"
  3620. ],
  3621. "tags": [
  3622. "风险管理v3"
  3623. ],
  3624. "summary": "查询业务表单数据",
  3625. "parameters": [
  3626. {
  3627. "type": "string",
  3628. "description": "资金账号ID列表,用逗号分隔",
  3629. "name": "accountids",
  3630. "in": "query",
  3631. "required": true
  3632. },
  3633. {
  3634. "type": "integer",
  3635. "description": "状态,0为未结束 1为已结束",
  3636. "name": "status",
  3637. "in": "query",
  3638. "required": true
  3639. }
  3640. ],
  3641. "responses": {
  3642. "200": {
  3643. "description": "OK",
  3644. "schema": {
  3645. "type": "array",
  3646. "items": {
  3647. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3648. }
  3649. }
  3650. },
  3651. "500": {
  3652. "description": "Internal Server Error",
  3653. "schema": {
  3654. "$ref": "#/definitions/app.Response"
  3655. }
  3656. }
  3657. }
  3658. }
  3659. },
  3660. "/Erms3/QueryPendingAuditContract": {
  3661. "get": {
  3662. "security": [
  3663. {
  3664. "ApiKeyAuth": []
  3665. }
  3666. ],
  3667. "produces": [
  3668. "application/json"
  3669. ],
  3670. "tags": [
  3671. "风险管理v3"
  3672. ],
  3673. "summary": "查询待审核合同",
  3674. "parameters": [
  3675. {
  3676. "type": "string",
  3677. "description": "资金账号ID列表,逗号隔开",
  3678. "name": "accountids",
  3679. "in": "query",
  3680. "required": true
  3681. },
  3682. {
  3683. "type": "integer",
  3684. "description": "合同类型 1-采购 -1-销售",
  3685. "name": "contracttype",
  3686. "in": "query",
  3687. "required": true
  3688. },
  3689. {
  3690. "type": "integer",
  3691. "description": "合同模式 1-普通 2-回购",
  3692. "name": "contractmode",
  3693. "in": "query",
  3694. "required": true
  3695. }
  3696. ],
  3697. "responses": {
  3698. "200": {
  3699. "description": "OK",
  3700. "schema": {
  3701. "type": "array",
  3702. "items": {
  3703. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3704. }
  3705. }
  3706. },
  3707. "500": {
  3708. "description": "Internal Server Error",
  3709. "schema": {
  3710. "$ref": "#/definitions/app.Response"
  3711. }
  3712. }
  3713. }
  3714. }
  3715. },
  3716. "/Erms3/QueryPendingBusiness": {
  3717. "get": {
  3718. "security": [
  3719. {
  3720. "ApiKeyAuth": []
  3721. }
  3722. ],
  3723. "produces": [
  3724. "application/json"
  3725. ],
  3726. "tags": [
  3727. "风险管理v3"
  3728. ],
  3729. "summary": "查询待审核基差贸易业务",
  3730. "parameters": [
  3731. {
  3732. "type": "string",
  3733. "description": "资金账号ID列表,逗号隔开",
  3734. "name": "accountids",
  3735. "in": "query",
  3736. "required": true
  3737. }
  3738. ],
  3739. "responses": {
  3740. "200": {
  3741. "description": "OK",
  3742. "schema": {
  3743. "type": "array",
  3744. "items": {
  3745. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3746. }
  3747. }
  3748. },
  3749. "500": {
  3750. "description": "Internal Server Error",
  3751. "schema": {
  3752. "$ref": "#/definitions/app.Response"
  3753. }
  3754. }
  3755. }
  3756. }
  3757. },
  3758. "/Erms3/QuerySpotContractAppleForm": {
  3759. "get": {
  3760. "security": [
  3761. {
  3762. "ApiKeyAuth": []
  3763. }
  3764. ],
  3765. "produces": [
  3766. "application/json"
  3767. ],
  3768. "tags": [
  3769. "风险管理v3"
  3770. ],
  3771. "summary": "查询合同申请表单数据",
  3772. "parameters": [
  3773. {
  3774. "type": "integer",
  3775. "description": "登录账号",
  3776. "name": "loginID",
  3777. "in": "query",
  3778. "required": true
  3779. }
  3780. ],
  3781. "responses": {
  3782. "200": {
  3783. "description": "OK",
  3784. "schema": {
  3785. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3786. }
  3787. },
  3788. "500": {
  3789. "description": "Internal Server Error",
  3790. "schema": {
  3791. "$ref": "#/definitions/app.Response"
  3792. }
  3793. }
  3794. }
  3795. }
  3796. },
  3797. "/Erms3/QuerySpotContractDetail": {
  3798. "get": {
  3799. "security": [
  3800. {
  3801. "ApiKeyAuth": []
  3802. }
  3803. ],
  3804. "produces": [
  3805. "application/json"
  3806. ],
  3807. "tags": [
  3808. "风险管理v3"
  3809. ],
  3810. "summary": "查询合同详细信息",
  3811. "parameters": [
  3812. {
  3813. "type": "string",
  3814. "description": "资金账号ID列表,用逗号分隔",
  3815. "name": "accountids",
  3816. "in": "query",
  3817. "required": true
  3818. },
  3819. {
  3820. "type": "integer",
  3821. "description": "合同类型,1为采购合同 -1为销售合同",
  3822. "name": "contracttype",
  3823. "in": "query",
  3824. "required": true
  3825. },
  3826. {
  3827. "type": "integer",
  3828. "description": "合同模式,1为普通合同 2为回购销售合同",
  3829. "name": "contractmode",
  3830. "in": "query",
  3831. "required": true
  3832. },
  3833. {
  3834. "type": "integer",
  3835. "description": "状态,0为履约中 1为已完成",
  3836. "name": "status",
  3837. "in": "query",
  3838. "required": true
  3839. }
  3840. ],
  3841. "responses": {
  3842. "200": {
  3843. "description": "OK",
  3844. "schema": {
  3845. "type": "array",
  3846. "items": {
  3847. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3848. }
  3849. }
  3850. },
  3851. "500": {
  3852. "description": "Internal Server Error",
  3853. "schema": {
  3854. "$ref": "#/definitions/app.Response"
  3855. }
  3856. }
  3857. }
  3858. }
  3859. },
  3860. "/Erms3/QueryUserInfoApplies": {
  3861. "get": {
  3862. "security": [
  3863. {
  3864. "ApiKeyAuth": []
  3865. }
  3866. ],
  3867. "produces": [
  3868. "application/json"
  3869. ],
  3870. "tags": [
  3871. "风险管理v3"
  3872. ],
  3873. "summary": "客户申请信息查询",
  3874. "parameters": [
  3875. {
  3876. "type": "integer",
  3877. "description": "页码",
  3878. "name": "page",
  3879. "in": "query"
  3880. },
  3881. {
  3882. "type": "integer",
  3883. "description": "每页条数",
  3884. "name": "pagesize",
  3885. "in": "query"
  3886. },
  3887. {
  3888. "type": "string",
  3889. "description": "客户名称,支持模糊查询",
  3890. "name": "userName",
  3891. "in": "query"
  3892. }
  3893. ],
  3894. "responses": {
  3895. "200": {
  3896. "description": "OK",
  3897. "schema": {
  3898. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3899. }
  3900. },
  3901. "500": {
  3902. "description": "Internal Server Error",
  3903. "schema": {
  3904. "$ref": "#/definitions/app.Response"
  3905. }
  3906. }
  3907. }
  3908. }
  3909. },
  3910. "/Erms3/QueryUserInfos": {
  3911. "get": {
  3912. "security": [
  3913. {
  3914. "ApiKeyAuth": []
  3915. }
  3916. ],
  3917. "produces": [
  3918. "application/json"
  3919. ],
  3920. "tags": [
  3921. "风险管理v3"
  3922. ],
  3923. "summary": "客户信息查询",
  3924. "parameters": [
  3925. {
  3926. "type": "integer",
  3927. "description": "页码",
  3928. "name": "page",
  3929. "in": "query"
  3930. },
  3931. {
  3932. "type": "integer",
  3933. "description": "每页条数",
  3934. "name": "pagesize",
  3935. "in": "query"
  3936. },
  3937. {
  3938. "type": "string",
  3939. "description": "客户名称,支持模糊查询",
  3940. "name": "userName",
  3941. "in": "query"
  3942. }
  3943. ],
  3944. "responses": {
  3945. "200": {
  3946. "description": "OK",
  3947. "schema": {
  3948. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3949. }
  3950. },
  3951. "500": {
  3952. "description": "Internal Server Error",
  3953. "schema": {
  3954. "$ref": "#/definitions/app.Response"
  3955. }
  3956. }
  3957. }
  3958. }
  3959. },
  3960. "/HSBY/GetHsbyMyCount": {
  3961. "get": {
  3962. "security": [
  3963. {
  3964. "ApiKeyAuth": []
  3965. }
  3966. ],
  3967. "description": "说明: 不包括已完成的数量。",
  3968. "produces": [
  3969. "application/json"
  3970. ],
  3971. "tags": [
  3972. "定制【海商报业】"
  3973. ],
  3974. "summary": "获取我的订单与包裹数量",
  3975. "parameters": [
  3976. {
  3977. "type": "string",
  3978. "description": "资金账户列表,格式:1,2,3",
  3979. "name": "accountIDs",
  3980. "in": "query",
  3981. "required": true
  3982. }
  3983. ],
  3984. "responses": {
  3985. "200": {
  3986. "description": "OK",
  3987. "schema": {
  3988. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3989. }
  3990. },
  3991. "500": {
  3992. "description": "Internal Server Error",
  3993. "schema": {
  3994. "$ref": "#/definitions/app.Response"
  3995. }
  3996. }
  3997. }
  3998. }
  3999. },
  4000. "/HSBY/QueryClientFixedADConfigs": {
  4001. "get": {
  4002. "security": [
  4003. {
  4004. "ApiKeyAuth": []
  4005. }
  4006. ],
  4007. "produces": [
  4008. "application/json"
  4009. ],
  4010. "tags": [
  4011. "定制【海商报业】"
  4012. ],
  4013. "summary": "获取终端固定广告配置",
  4014. "responses": {
  4015. "200": {
  4016. "description": "OK",
  4017. "schema": {
  4018. "$ref": "#/definitions/models.Clientfixedadconfig"
  4019. }
  4020. },
  4021. "500": {
  4022. "description": "Internal Server Error",
  4023. "schema": {
  4024. "$ref": "#/definitions/app.Response"
  4025. }
  4026. }
  4027. }
  4028. }
  4029. },
  4030. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  4031. "get": {
  4032. "security": [
  4033. {
  4034. "ApiKeyAuth": []
  4035. }
  4036. ],
  4037. "produces": [
  4038. "application/json"
  4039. ],
  4040. "tags": [
  4041. "定制【海商报业】"
  4042. ],
  4043. "summary": "查询\"我的订单 - 已完成\"单据信息",
  4044. "parameters": [
  4045. {
  4046. "type": "integer",
  4047. "description": "页码",
  4048. "name": "page",
  4049. "in": "query"
  4050. },
  4051. {
  4052. "type": "integer",
  4053. "description": "每页条数",
  4054. "name": "pagesize",
  4055. "in": "query"
  4056. },
  4057. {
  4058. "type": "string",
  4059. "description": "资金账户列表,格式:1,2,3",
  4060. "name": "accountIDs",
  4061. "in": "query",
  4062. "required": true
  4063. }
  4064. ],
  4065. "responses": {
  4066. "200": {
  4067. "description": "OK",
  4068. "schema": {
  4069. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  4070. }
  4071. },
  4072. "500": {
  4073. "description": "Internal Server Error",
  4074. "schema": {
  4075. "$ref": "#/definitions/app.Response"
  4076. }
  4077. }
  4078. }
  4079. }
  4080. },
  4081. "/HSBY/QueryHsbyGoodsOrderDetails": {
  4082. "get": {
  4083. "security": [
  4084. {
  4085. "ApiKeyAuth": []
  4086. }
  4087. ],
  4088. "description": "说明:查询结果已按委托价格和委托时间排序",
  4089. "produces": [
  4090. "application/json"
  4091. ],
  4092. "tags": [
  4093. "定制【海商报业】"
  4094. ],
  4095. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  4096. "parameters": [
  4097. {
  4098. "type": "integer",
  4099. "description": "商品ID",
  4100. "name": "goodsID",
  4101. "in": "query",
  4102. "required": true
  4103. },
  4104. {
  4105. "type": "string",
  4106. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  4107. "name": "accountIDs",
  4108. "in": "query"
  4109. },
  4110. {
  4111. "type": "integer",
  4112. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  4113. "name": "buyOrSell",
  4114. "in": "query"
  4115. },
  4116. {
  4117. "type": "number",
  4118. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  4119. "name": "price",
  4120. "in": "query"
  4121. },
  4122. {
  4123. "type": "integer",
  4124. "description": "档位,不传则默认为3档",
  4125. "name": "speed",
  4126. "in": "query"
  4127. }
  4128. ],
  4129. "responses": {
  4130. "200": {
  4131. "description": "OK",
  4132. "schema": {
  4133. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  4134. }
  4135. },
  4136. "500": {
  4137. "description": "Internal Server Error",
  4138. "schema": {
  4139. "$ref": "#/definitions/app.Response"
  4140. }
  4141. }
  4142. }
  4143. }
  4144. },
  4145. "/HSBY/QueryHsbyListingGoodsDetail": {
  4146. "get": {
  4147. "security": [
  4148. {
  4149. "ApiKeyAuth": []
  4150. }
  4151. ],
  4152. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  4153. "produces": [
  4154. "application/json"
  4155. ],
  4156. "tags": [
  4157. "定制【海商报业】"
  4158. ],
  4159. "summary": "查询二级市场(挂牌点选)商品信息详情",
  4160. "parameters": [
  4161. {
  4162. "type": "integer",
  4163. "description": "商品ID",
  4164. "name": "goodsID",
  4165. "in": "query",
  4166. "required": true
  4167. },
  4168. {
  4169. "type": "integer",
  4170. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  4171. "name": "accountID",
  4172. "in": "query"
  4173. }
  4174. ],
  4175. "responses": {
  4176. "200": {
  4177. "description": "OK",
  4178. "schema": {
  4179. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  4180. }
  4181. },
  4182. "500": {
  4183. "description": "Internal Server Error",
  4184. "schema": {
  4185. "$ref": "#/definitions/app.Response"
  4186. }
  4187. }
  4188. }
  4189. }
  4190. },
  4191. "/HSBY/QueryHsbyMarketGoodsDetail": {
  4192. "get": {
  4193. "security": [
  4194. {
  4195. "ApiKeyAuth": []
  4196. }
  4197. ],
  4198. "produces": [
  4199. "application/json"
  4200. ],
  4201. "tags": [
  4202. "定制【海商报业】"
  4203. ],
  4204. "summary": "查询三级市场(商城)商品信息详情",
  4205. "parameters": [
  4206. {
  4207. "type": "integer",
  4208. "description": "委托单号",
  4209. "name": "orderID",
  4210. "in": "query",
  4211. "required": true
  4212. },
  4213. {
  4214. "type": "integer",
  4215. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  4216. "name": "accountID",
  4217. "in": "query"
  4218. }
  4219. ],
  4220. "responses": {
  4221. "200": {
  4222. "description": "OK",
  4223. "schema": {
  4224. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4225. }
  4226. },
  4227. "500": {
  4228. "description": "Internal Server Error",
  4229. "schema": {
  4230. "$ref": "#/definitions/app.Response"
  4231. }
  4232. }
  4233. }
  4234. }
  4235. },
  4236. "/HSBY/QueryHsbyMarketGoodses": {
  4237. "get": {
  4238. "security": [
  4239. {
  4240. "ApiKeyAuth": []
  4241. }
  4242. ],
  4243. "produces": [
  4244. "application/json"
  4245. ],
  4246. "tags": [
  4247. "定制【海商报业】"
  4248. ],
  4249. "summary": "查询特卖商品列表(三级商城)",
  4250. "parameters": [
  4251. {
  4252. "type": "integer",
  4253. "description": "页码",
  4254. "name": "page",
  4255. "in": "query"
  4256. },
  4257. {
  4258. "type": "integer",
  4259. "description": "每页条数",
  4260. "name": "pagesize",
  4261. "in": "query"
  4262. },
  4263. {
  4264. "type": "string",
  4265. "description": "市场ID列表,格式:1,2,3",
  4266. "name": "marketIDs",
  4267. "in": "query",
  4268. "required": true
  4269. },
  4270. {
  4271. "type": "integer",
  4272. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  4273. "name": "accountID",
  4274. "in": "query",
  4275. "required": true
  4276. },
  4277. {
  4278. "type": "integer",
  4279. "description": "类别ID",
  4280. "name": "categoryID",
  4281. "in": "query"
  4282. },
  4283. {
  4284. "type": "string",
  4285. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4286. "name": "goodsIDs",
  4287. "in": "query"
  4288. },
  4289. {
  4290. "type": "integer",
  4291. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  4292. "name": "couponTypeID",
  4293. "in": "query"
  4294. }
  4295. ],
  4296. "responses": {
  4297. "200": {
  4298. "description": "OK",
  4299. "schema": {
  4300. "$ref": "#/definitions/models.HsbyMarketGoods"
  4301. }
  4302. },
  4303. "500": {
  4304. "description": "Internal Server Error",
  4305. "schema": {
  4306. "$ref": "#/definitions/app.Response"
  4307. }
  4308. }
  4309. }
  4310. }
  4311. },
  4312. "/HSBY/QueryHsbyMarkets": {
  4313. "get": {
  4314. "security": [
  4315. {
  4316. "ApiKeyAuth": []
  4317. }
  4318. ],
  4319. "produces": [
  4320. "application/json"
  4321. ],
  4322. "tags": [
  4323. "定制【海商报业】"
  4324. ],
  4325. "summary": "查询海商报业相关市场信息",
  4326. "responses": {
  4327. "200": {
  4328. "description": "OK",
  4329. "schema": {
  4330. "$ref": "#/definitions/models.HsbyMarketInfo"
  4331. }
  4332. },
  4333. "500": {
  4334. "description": "Internal Server Error",
  4335. "schema": {
  4336. "$ref": "#/definitions/app.Response"
  4337. }
  4338. }
  4339. }
  4340. }
  4341. },
  4342. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  4343. "get": {
  4344. "security": [
  4345. {
  4346. "ApiKeyAuth": []
  4347. }
  4348. ],
  4349. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  4350. "produces": [
  4351. "application/json"
  4352. ],
  4353. "tags": [
  4354. "定制【海商报业】"
  4355. ],
  4356. "summary": "查询“我的订单”信息",
  4357. "parameters": [
  4358. {
  4359. "type": "string",
  4360. "description": "资金账户列表,格式:1,2,3",
  4361. "name": "accountIDs",
  4362. "in": "query",
  4363. "required": true
  4364. }
  4365. ],
  4366. "responses": {
  4367. "200": {
  4368. "description": "OK",
  4369. "schema": {
  4370. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  4371. }
  4372. },
  4373. "500": {
  4374. "description": "Internal Server Error",
  4375. "schema": {
  4376. "$ref": "#/definitions/app.Response"
  4377. }
  4378. }
  4379. }
  4380. }
  4381. },
  4382. "/HSBY/QueryHsbyMyGoods": {
  4383. "get": {
  4384. "security": [
  4385. {
  4386. "ApiKeyAuth": []
  4387. }
  4388. ],
  4389. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  4390. "produces": [
  4391. "application/json"
  4392. ],
  4393. "tags": [
  4394. "定制【海商报业】"
  4395. ],
  4396. "summary": "查询“我的商品”信息",
  4397. "parameters": [
  4398. {
  4399. "type": "string",
  4400. "description": "资金账户列表,格式:1,2,3",
  4401. "name": "accountIDs",
  4402. "in": "query",
  4403. "required": true
  4404. }
  4405. ],
  4406. "responses": {
  4407. "200": {
  4408. "description": "OK",
  4409. "schema": {
  4410. "$ref": "#/definitions/models.HsbyMyGoods"
  4411. }
  4412. },
  4413. "500": {
  4414. "description": "Internal Server Error",
  4415. "schema": {
  4416. "$ref": "#/definitions/app.Response"
  4417. }
  4418. }
  4419. }
  4420. }
  4421. },
  4422. "/HSBY/QueryHsbyMyPackages": {
  4423. "get": {
  4424. "security": [
  4425. {
  4426. "ApiKeyAuth": []
  4427. }
  4428. ],
  4429. "produces": [
  4430. "application/json"
  4431. ],
  4432. "tags": [
  4433. "定制【海商报业】"
  4434. ],
  4435. "summary": "查询我的包裹信息",
  4436. "parameters": [
  4437. {
  4438. "type": "string",
  4439. "description": "资金账户列表,格式:1,2,3",
  4440. "name": "accountIDs",
  4441. "in": "query",
  4442. "required": true
  4443. },
  4444. {
  4445. "type": "integer",
  4446. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4447. "name": "takeOrderStatus",
  4448. "in": "query"
  4449. }
  4450. ],
  4451. "responses": {
  4452. "200": {
  4453. "description": "OK",
  4454. "schema": {
  4455. "$ref": "#/definitions/models.HsbyMyPackage"
  4456. }
  4457. },
  4458. "500": {
  4459. "description": "Internal Server Error",
  4460. "schema": {
  4461. "$ref": "#/definitions/app.Response"
  4462. }
  4463. }
  4464. }
  4465. }
  4466. },
  4467. "/HSBY/QueryHsbyPreGoodsDetail": {
  4468. "get": {
  4469. "security": [
  4470. {
  4471. "ApiKeyAuth": []
  4472. }
  4473. ],
  4474. "produces": [
  4475. "application/json"
  4476. ],
  4477. "tags": [
  4478. "定制【海商报业】"
  4479. ],
  4480. "summary": "查询一级市场(预售)商品信息详情",
  4481. "parameters": [
  4482. {
  4483. "type": "integer",
  4484. "description": "商品ID",
  4485. "name": "goodsID",
  4486. "in": "query",
  4487. "required": true
  4488. },
  4489. {
  4490. "type": "integer",
  4491. "description": "资金账户,主要用于获取预售商品购买上限",
  4492. "name": "accountID",
  4493. "in": "query"
  4494. }
  4495. ],
  4496. "responses": {
  4497. "200": {
  4498. "description": "OK",
  4499. "schema": {
  4500. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  4501. }
  4502. },
  4503. "500": {
  4504. "description": "Internal Server Error",
  4505. "schema": {
  4506. "$ref": "#/definitions/app.Response"
  4507. }
  4508. }
  4509. }
  4510. }
  4511. },
  4512. "/HSBY/QueryHsbyPreGoodses": {
  4513. "get": {
  4514. "security": [
  4515. {
  4516. "ApiKeyAuth": []
  4517. }
  4518. ],
  4519. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  4520. "produces": [
  4521. "application/json"
  4522. ],
  4523. "tags": [
  4524. "定制【海商报业】"
  4525. ],
  4526. "summary": "查询新品上市商品列表(一级市场预售)",
  4527. "parameters": [
  4528. {
  4529. "type": "integer",
  4530. "description": "页码",
  4531. "name": "page",
  4532. "in": "query"
  4533. },
  4534. {
  4535. "type": "integer",
  4536. "description": "每页条数",
  4537. "name": "pagesize",
  4538. "in": "query"
  4539. },
  4540. {
  4541. "type": "string",
  4542. "description": "市场ID列表,格式:1,2,3",
  4543. "name": "marketIDs",
  4544. "in": "query",
  4545. "required": true
  4546. },
  4547. {
  4548. "type": "integer",
  4549. "description": "目的地(省)ID",
  4550. "name": "descProvinceID",
  4551. "in": "query"
  4552. },
  4553. {
  4554. "type": "integer",
  4555. "description": "目的地(市)ID",
  4556. "name": "descCityID",
  4557. "in": "query"
  4558. }
  4559. ],
  4560. "responses": {
  4561. "200": {
  4562. "description": "OK",
  4563. "schema": {
  4564. "$ref": "#/definitions/models.HsbyPreGoods"
  4565. }
  4566. },
  4567. "500": {
  4568. "description": "Internal Server Error",
  4569. "schema": {
  4570. "$ref": "#/definitions/app.Response"
  4571. }
  4572. }
  4573. }
  4574. }
  4575. },
  4576. "/HSBY/QueryHsbySellMyDetails": {
  4577. "get": {
  4578. "security": [
  4579. {
  4580. "ApiKeyAuth": []
  4581. }
  4582. ],
  4583. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  4584. "produces": [
  4585. "application/json"
  4586. ],
  4587. "tags": [
  4588. "定制【海商报业】"
  4589. ],
  4590. "summary": "查询\"我的闲置\"单据信息",
  4591. "parameters": [
  4592. {
  4593. "type": "integer",
  4594. "description": "页码",
  4595. "name": "page",
  4596. "in": "query"
  4597. },
  4598. {
  4599. "type": "integer",
  4600. "description": "每页条数",
  4601. "name": "pagesize",
  4602. "in": "query"
  4603. },
  4604. {
  4605. "type": "string",
  4606. "description": "资金账户列表,格式:1,2,3",
  4607. "name": "accountIDs",
  4608. "in": "query",
  4609. "required": true
  4610. },
  4611. {
  4612. "type": "integer",
  4613. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  4614. "name": "orderType",
  4615. "in": "query"
  4616. }
  4617. ],
  4618. "responses": {
  4619. "200": {
  4620. "description": "OK",
  4621. "schema": {
  4622. "$ref": "#/definitions/models.HsbySellMyDetail"
  4623. }
  4624. },
  4625. "500": {
  4626. "description": "Internal Server Error",
  4627. "schema": {
  4628. "$ref": "#/definitions/app.Response"
  4629. }
  4630. }
  4631. }
  4632. }
  4633. },
  4634. "/HSBY/QueryHsbyTopGoodses": {
  4635. "get": {
  4636. "security": [
  4637. {
  4638. "ApiKeyAuth": []
  4639. }
  4640. ],
  4641. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4642. "produces": [
  4643. "application/json"
  4644. ],
  4645. "tags": [
  4646. "定制【海商报业】"
  4647. ],
  4648. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4649. "parameters": [
  4650. {
  4651. "type": "integer",
  4652. "description": "页码",
  4653. "name": "page",
  4654. "in": "query"
  4655. },
  4656. {
  4657. "type": "integer",
  4658. "description": "每页条数",
  4659. "name": "pagesize",
  4660. "in": "query"
  4661. },
  4662. {
  4663. "type": "string",
  4664. "description": "市场ID列表,格式:1,2,3",
  4665. "name": "marketIDs",
  4666. "in": "query",
  4667. "required": true
  4668. },
  4669. {
  4670. "type": "integer",
  4671. "description": "目的地(省)ID",
  4672. "name": "descProvinceID",
  4673. "in": "query"
  4674. },
  4675. {
  4676. "type": "integer",
  4677. "description": "目的地(市)ID",
  4678. "name": "descCityID",
  4679. "in": "query"
  4680. }
  4681. ],
  4682. "responses": {
  4683. "200": {
  4684. "description": "OK",
  4685. "schema": {
  4686. "$ref": "#/definitions/models.HsbyTopGoods"
  4687. }
  4688. },
  4689. "500": {
  4690. "description": "Internal Server Error",
  4691. "schema": {
  4692. "$ref": "#/definitions/app.Response"
  4693. }
  4694. }
  4695. }
  4696. }
  4697. },
  4698. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4699. "get": {
  4700. "security": [
  4701. {
  4702. "ApiKeyAuth": []
  4703. }
  4704. ],
  4705. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4706. "produces": [
  4707. "application/json"
  4708. ],
  4709. "tags": [
  4710. "定制【海商报业】"
  4711. ],
  4712. "summary": "查询游客三级市场(商城)商品信息详情",
  4713. "parameters": [
  4714. {
  4715. "type": "integer",
  4716. "description": "商品ID",
  4717. "name": "goodsID",
  4718. "in": "query",
  4719. "required": true
  4720. }
  4721. ],
  4722. "responses": {
  4723. "200": {
  4724. "description": "OK",
  4725. "schema": {
  4726. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4727. }
  4728. },
  4729. "500": {
  4730. "description": "Internal Server Error",
  4731. "schema": {
  4732. "$ref": "#/definitions/app.Response"
  4733. }
  4734. }
  4735. }
  4736. }
  4737. },
  4738. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4739. "get": {
  4740. "security": [
  4741. {
  4742. "ApiKeyAuth": []
  4743. }
  4744. ],
  4745. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4746. "produces": [
  4747. "application/json"
  4748. ],
  4749. "tags": [
  4750. "定制【海商报业】"
  4751. ],
  4752. "summary": "查询游客特卖商品列表(三级商城)",
  4753. "parameters": [
  4754. {
  4755. "type": "integer",
  4756. "description": "页码",
  4757. "name": "page",
  4758. "in": "query"
  4759. },
  4760. {
  4761. "type": "integer",
  4762. "description": "每页条数",
  4763. "name": "pagesize",
  4764. "in": "query"
  4765. },
  4766. {
  4767. "type": "string",
  4768. "description": "市场ID列表,格式:1,2,3",
  4769. "name": "marketIDs",
  4770. "in": "query",
  4771. "required": true
  4772. },
  4773. {
  4774. "type": "integer",
  4775. "description": "类别ID",
  4776. "name": "categoryID",
  4777. "in": "query"
  4778. },
  4779. {
  4780. "type": "string",
  4781. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4782. "name": "goodsIDs",
  4783. "in": "query"
  4784. }
  4785. ],
  4786. "responses": {
  4787. "200": {
  4788. "description": "OK",
  4789. "schema": {
  4790. "$ref": "#/definitions/models.HsbyMarketGoods"
  4791. }
  4792. },
  4793. "500": {
  4794. "description": "Internal Server Error",
  4795. "schema": {
  4796. "$ref": "#/definitions/app.Response"
  4797. }
  4798. }
  4799. }
  4800. }
  4801. },
  4802. "/HSBY/QueryMyCollectionOrders": {
  4803. "get": {
  4804. "security": [
  4805. {
  4806. "ApiKeyAuth": []
  4807. }
  4808. ],
  4809. "produces": [
  4810. "application/json"
  4811. ],
  4812. "tags": [
  4813. "定制【海商报业】"
  4814. ],
  4815. "summary": "我的闲置中收款信息查询",
  4816. "parameters": [
  4817. {
  4818. "type": "integer",
  4819. "description": "页码",
  4820. "name": "page",
  4821. "in": "query"
  4822. },
  4823. {
  4824. "type": "integer",
  4825. "description": "每页条数",
  4826. "name": "pagesize",
  4827. "in": "query"
  4828. },
  4829. {
  4830. "type": "string",
  4831. "description": "资金账户,格式:1,2,3",
  4832. "name": "accountIDs",
  4833. "in": "query",
  4834. "required": true
  4835. }
  4836. ],
  4837. "responses": {
  4838. "200": {
  4839. "description": "OK",
  4840. "schema": {
  4841. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4842. }
  4843. },
  4844. "500": {
  4845. "description": "Internal Server Error",
  4846. "schema": {
  4847. "$ref": "#/definitions/app.Response"
  4848. }
  4849. }
  4850. }
  4851. }
  4852. },
  4853. "/HSBY/QueryMyCouponHolds": {
  4854. "get": {
  4855. "security": [
  4856. {
  4857. "ApiKeyAuth": []
  4858. }
  4859. ],
  4860. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4861. "produces": [
  4862. "application/json"
  4863. ],
  4864. "tags": [
  4865. "定制【海商报业】"
  4866. ],
  4867. "summary": "我的优惠卷持仓查询",
  4868. "parameters": [
  4869. {
  4870. "type": "string",
  4871. "description": "资金账户列表,格式:1,2,3",
  4872. "name": "accountIDs",
  4873. "in": "query",
  4874. "required": true
  4875. },
  4876. {
  4877. "type": "string",
  4878. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4879. "name": "holdStatus",
  4880. "in": "query"
  4881. }
  4882. ],
  4883. "responses": {
  4884. "200": {
  4885. "description": "OK",
  4886. "schema": {
  4887. "$ref": "#/definitions/models.MyCouponHold"
  4888. }
  4889. },
  4890. "500": {
  4891. "description": "Internal Server Error",
  4892. "schema": {
  4893. "$ref": "#/definitions/app.Response"
  4894. }
  4895. }
  4896. }
  4897. }
  4898. },
  4899. "/HSBY/QueryMyCoupons": {
  4900. "get": {
  4901. "security": [
  4902. {
  4903. "ApiKeyAuth": []
  4904. }
  4905. ],
  4906. "produces": [
  4907. "application/json"
  4908. ],
  4909. "tags": [
  4910. "定制【海商报业】"
  4911. ],
  4912. "summary": "我的优惠卷查询",
  4913. "parameters": [
  4914. {
  4915. "type": "string",
  4916. "description": "资金账户列表,格式:1,2,3",
  4917. "name": "accountIDs",
  4918. "in": "query",
  4919. "required": true
  4920. },
  4921. {
  4922. "type": "integer",
  4923. "description": "商品ID, 一般与sellUserID配套传入",
  4924. "name": "goodsID",
  4925. "in": "query"
  4926. },
  4927. {
  4928. "type": "integer",
  4929. "description": "卖方UserID",
  4930. "name": "sellUserID",
  4931. "in": "query"
  4932. }
  4933. ],
  4934. "responses": {
  4935. "200": {
  4936. "description": "OK",
  4937. "schema": {
  4938. "$ref": "#/definitions/models.MyCoupon"
  4939. }
  4940. },
  4941. "500": {
  4942. "description": "Internal Server Error",
  4943. "schema": {
  4944. "$ref": "#/definitions/app.Response"
  4945. }
  4946. }
  4947. }
  4948. }
  4949. },
  4950. "/HSBY/QueryMyPayOrders": {
  4951. "get": {
  4952. "security": [
  4953. {
  4954. "ApiKeyAuth": []
  4955. }
  4956. ],
  4957. "produces": [
  4958. "application/json"
  4959. ],
  4960. "tags": [
  4961. "定制【海商报业】"
  4962. ],
  4963. "summary": "获取我的订单中待付款信息",
  4964. "parameters": [
  4965. {
  4966. "type": "integer",
  4967. "description": "页码",
  4968. "name": "page",
  4969. "in": "query"
  4970. },
  4971. {
  4972. "type": "integer",
  4973. "description": "每页条数",
  4974. "name": "pagesize",
  4975. "in": "query"
  4976. },
  4977. {
  4978. "type": "string",
  4979. "description": "资金账户列表,格式:1,2,3",
  4980. "name": "accountIDs",
  4981. "in": "query",
  4982. "required": true
  4983. },
  4984. {
  4985. "type": "integer",
  4986. "description": "买方委托单号",
  4987. "name": "buyOrderID",
  4988. "in": "query"
  4989. },
  4990. {
  4991. "type": "integer",
  4992. "description": "卖方委托单号",
  4993. "name": "sellOrderID",
  4994. "in": "query"
  4995. }
  4996. ],
  4997. "responses": {
  4998. "200": {
  4999. "description": "OK",
  5000. "schema": {
  5001. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  5002. }
  5003. },
  5004. "500": {
  5005. "description": "Internal Server Error",
  5006. "schema": {
  5007. "$ref": "#/definitions/app.Response"
  5008. }
  5009. }
  5010. }
  5011. }
  5012. },
  5013. "/HSBY/QueryMyUsedCoupon": {
  5014. "get": {
  5015. "security": [
  5016. {
  5017. "ApiKeyAuth": []
  5018. }
  5019. ],
  5020. "produces": [
  5021. "application/json"
  5022. ],
  5023. "tags": [
  5024. "定制【海商报业】"
  5025. ],
  5026. "summary": "已使用优惠卷查询",
  5027. "parameters": [
  5028. {
  5029. "type": "string",
  5030. "description": "资金账户列表,格式:1,2,3",
  5031. "name": "accountIDs",
  5032. "in": "query",
  5033. "required": true
  5034. }
  5035. ],
  5036. "responses": {
  5037. "200": {
  5038. "description": "OK",
  5039. "schema": {
  5040. "$ref": "#/definitions/models.MyUsedCoupon"
  5041. }
  5042. },
  5043. "500": {
  5044. "description": "Internal Server Error",
  5045. "schema": {
  5046. "$ref": "#/definitions/app.Response"
  5047. }
  5048. }
  5049. }
  5050. }
  5051. },
  5052. "/HSBY/QueryProvincesAndCities": {
  5053. "get": {
  5054. "security": [
  5055. {
  5056. "ApiKeyAuth": []
  5057. }
  5058. ],
  5059. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  5060. "produces": [
  5061. "application/json"
  5062. ],
  5063. "tags": [
  5064. "定制【海商报业】"
  5065. ],
  5066. "summary": "查询省市信息(不包括区)",
  5067. "parameters": [
  5068. {
  5069. "type": "integer",
  5070. "description": "省ID",
  5071. "name": "provinceID",
  5072. "in": "query"
  5073. }
  5074. ],
  5075. "responses": {
  5076. "200": {
  5077. "description": "OK",
  5078. "schema": {
  5079. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  5080. }
  5081. },
  5082. "500": {
  5083. "description": "Internal Server Error",
  5084. "schema": {
  5085. "$ref": "#/definitions/app.Response"
  5086. }
  5087. }
  5088. }
  5089. }
  5090. },
  5091. "/HSBY/SetHsbyMyPackagesStatus": {
  5092. "post": {
  5093. "security": [
  5094. {
  5095. "ApiKeyAuth": []
  5096. }
  5097. ],
  5098. "produces": [
  5099. "application/json"
  5100. ],
  5101. "tags": [
  5102. "定制【海商报业】"
  5103. ],
  5104. "summary": "设置我的包裹已收货状态",
  5105. "parameters": [
  5106. {
  5107. "type": "string",
  5108. "description": "提货单号",
  5109. "name": "takeOrderID",
  5110. "in": "query",
  5111. "required": true
  5112. },
  5113. {
  5114. "type": "integer",
  5115. "description": "资金账号",
  5116. "name": "accountID",
  5117. "in": "query",
  5118. "required": true
  5119. }
  5120. ],
  5121. "responses": {
  5122. "200": {
  5123. "description": "OK",
  5124. "schema": {
  5125. "$ref": "#/definitions/app.Response"
  5126. }
  5127. },
  5128. "500": {
  5129. "description": "Internal Server Error",
  5130. "schema": {
  5131. "$ref": "#/definitions/app.Response"
  5132. }
  5133. }
  5134. }
  5135. }
  5136. },
  5137. "/Market/QueryGoodsesByLoginID": {
  5138. "get": {
  5139. "security": [
  5140. {
  5141. "ApiKeyAuth": []
  5142. }
  5143. ],
  5144. "produces": [
  5145. "application/json"
  5146. ],
  5147. "tags": [
  5148. "通用市场"
  5149. ],
  5150. "summary": "获取登录账号有权限的商品信息",
  5151. "parameters": [
  5152. {
  5153. "type": "integer",
  5154. "description": "登录账号",
  5155. "name": "loginID",
  5156. "in": "query",
  5157. "required": true
  5158. },
  5159. {
  5160. "type": "string",
  5161. "description": "市场ID列表,格式:1,2,3",
  5162. "name": "marketIDs",
  5163. "in": "query"
  5164. }
  5165. ],
  5166. "responses": {
  5167. "200": {
  5168. "description": "OK",
  5169. "schema": {
  5170. "$ref": "#/definitions/models.Goods"
  5171. }
  5172. },
  5173. "500": {
  5174. "description": "Internal Server Error",
  5175. "schema": {
  5176. "$ref": "#/definitions/app.Response"
  5177. }
  5178. }
  5179. }
  5180. }
  5181. },
  5182. "/Market/QueryMarketRun": {
  5183. "get": {
  5184. "security": [
  5185. {
  5186. "ApiKeyAuth": []
  5187. }
  5188. ],
  5189. "produces": [
  5190. "application/json"
  5191. ],
  5192. "tags": [
  5193. "通用市场"
  5194. ],
  5195. "summary": "查询市场运行信息",
  5196. "parameters": [
  5197. {
  5198. "type": "integer",
  5199. "description": "市场ID,不传返回所有",
  5200. "name": "marketID",
  5201. "in": "query"
  5202. }
  5203. ],
  5204. "responses": {
  5205. "200": {
  5206. "description": "OK",
  5207. "schema": {
  5208. "$ref": "#/definitions/models.Marketrun"
  5209. }
  5210. },
  5211. "500": {
  5212. "description": "Internal Server Error",
  5213. "schema": {
  5214. "$ref": "#/definitions/app.Response"
  5215. }
  5216. }
  5217. }
  5218. }
  5219. },
  5220. "/Market/QueryMarketsByLoginID": {
  5221. "get": {
  5222. "security": [
  5223. {
  5224. "ApiKeyAuth": []
  5225. }
  5226. ],
  5227. "produces": [
  5228. "application/json"
  5229. ],
  5230. "tags": [
  5231. "通用市场"
  5232. ],
  5233. "summary": "获取登录账号有权限的市场信息",
  5234. "parameters": [
  5235. {
  5236. "type": "integer",
  5237. "description": "登录账号",
  5238. "name": "loginID",
  5239. "in": "query",
  5240. "required": true
  5241. }
  5242. ],
  5243. "responses": {
  5244. "200": {
  5245. "description": "OK",
  5246. "schema": {
  5247. "$ref": "#/definitions/models.Market"
  5248. }
  5249. },
  5250. "500": {
  5251. "description": "Internal Server Error",
  5252. "schema": {
  5253. "$ref": "#/definitions/app.Response"
  5254. }
  5255. }
  5256. }
  5257. }
  5258. },
  5259. "/Order/QueryHisTradeDetail": {
  5260. "get": {
  5261. "security": [
  5262. {
  5263. "ApiKeyAuth": []
  5264. }
  5265. ],
  5266. "produces": [
  5267. "application/json"
  5268. ],
  5269. "tags": [
  5270. "通用单据"
  5271. ],
  5272. "summary": "历史成交单查询(合约市场)",
  5273. "parameters": [
  5274. {
  5275. "type": "string",
  5276. "description": "资金账户 - 格式:1,2,3",
  5277. "name": "accountID",
  5278. "in": "query",
  5279. "required": true
  5280. },
  5281. {
  5282. "type": "integer",
  5283. "description": "成交单号",
  5284. "name": "tradeID",
  5285. "in": "query"
  5286. },
  5287. {
  5288. "type": "integer",
  5289. "description": "委托单号",
  5290. "name": "orderID",
  5291. "in": "query"
  5292. },
  5293. {
  5294. "type": "string",
  5295. "description": "交易模式 - 格式:1,2,3",
  5296. "name": "tradeMode",
  5297. "in": "query"
  5298. },
  5299. {
  5300. "type": "integer",
  5301. "description": "委托单据类型",
  5302. "name": "buildType",
  5303. "in": "query"
  5304. },
  5305. {
  5306. "type": "string",
  5307. "description": "成交类别 - 格式:1,2,3",
  5308. "name": "tradeType",
  5309. "in": "query"
  5310. },
  5311. {
  5312. "type": "string",
  5313. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5314. "name": "startDate",
  5315. "in": "query"
  5316. },
  5317. {
  5318. "type": "string",
  5319. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5320. "name": "endDate",
  5321. "in": "query"
  5322. }
  5323. ],
  5324. "responses": {
  5325. "200": {
  5326. "description": "OK",
  5327. "schema": {
  5328. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  5329. }
  5330. },
  5331. "500": {
  5332. "description": "Internal Server Error",
  5333. "schema": {
  5334. "$ref": "#/definitions/app.Response"
  5335. }
  5336. }
  5337. }
  5338. }
  5339. },
  5340. "/Order/QueryHisTradeOrderDetail": {
  5341. "get": {
  5342. "security": [
  5343. {
  5344. "ApiKeyAuth": []
  5345. }
  5346. ],
  5347. "produces": [
  5348. "application/json"
  5349. ],
  5350. "tags": [
  5351. "通用单据"
  5352. ],
  5353. "summary": "历史委托单查询请求(合约市场)",
  5354. "parameters": [
  5355. {
  5356. "type": "string",
  5357. "description": "资金账户 - 格式:1,2,3",
  5358. "name": "accountID",
  5359. "in": "query",
  5360. "required": true
  5361. },
  5362. {
  5363. "type": "string",
  5364. "description": "交易模式 - 格式:1,2,3",
  5365. "name": "tradeMode",
  5366. "in": "query"
  5367. },
  5368. {
  5369. "type": "string",
  5370. "description": "委托状态 - 格式:1,2,3",
  5371. "name": "orderStatus",
  5372. "in": "query"
  5373. },
  5374. {
  5375. "type": "integer",
  5376. "description": "委托单号",
  5377. "name": "orderID",
  5378. "in": "query"
  5379. },
  5380. {
  5381. "type": "string",
  5382. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5383. "name": "startDate",
  5384. "in": "query"
  5385. },
  5386. {
  5387. "type": "string",
  5388. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5389. "name": "endDate",
  5390. "in": "query"
  5391. }
  5392. ],
  5393. "responses": {
  5394. "200": {
  5395. "description": "OK",
  5396. "schema": {
  5397. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  5398. }
  5399. },
  5400. "500": {
  5401. "description": "Internal Server Error",
  5402. "schema": {
  5403. "$ref": "#/definitions/app.Response"
  5404. }
  5405. }
  5406. }
  5407. }
  5408. },
  5409. "/Order/QueryTradeDetail": {
  5410. "get": {
  5411. "security": [
  5412. {
  5413. "ApiKeyAuth": []
  5414. }
  5415. ],
  5416. "produces": [
  5417. "application/json"
  5418. ],
  5419. "tags": [
  5420. "通用单据"
  5421. ],
  5422. "summary": "成交单查询(合约市场)",
  5423. "parameters": [
  5424. {
  5425. "type": "string",
  5426. "description": "资金账户 - 格式:1,2,3",
  5427. "name": "accountID",
  5428. "in": "query",
  5429. "required": true
  5430. },
  5431. {
  5432. "type": "integer",
  5433. "description": "成交单号",
  5434. "name": "tradeID",
  5435. "in": "query"
  5436. },
  5437. {
  5438. "type": "integer",
  5439. "description": "委托单号",
  5440. "name": "orderID",
  5441. "in": "query"
  5442. },
  5443. {
  5444. "type": "string",
  5445. "description": "交易模式 - 格式:1,2,3",
  5446. "name": "tradeMode",
  5447. "in": "query"
  5448. },
  5449. {
  5450. "type": "integer",
  5451. "description": "委托单据类型",
  5452. "name": "buildType",
  5453. "in": "query"
  5454. },
  5455. {
  5456. "type": "string",
  5457. "description": "成交类别 - 格式:1,2,3",
  5458. "name": "tradeType",
  5459. "in": "query"
  5460. }
  5461. ],
  5462. "responses": {
  5463. "200": {
  5464. "description": "OK",
  5465. "schema": {
  5466. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  5467. }
  5468. },
  5469. "500": {
  5470. "description": "Internal Server Error",
  5471. "schema": {
  5472. "$ref": "#/definitions/app.Response"
  5473. }
  5474. }
  5475. }
  5476. }
  5477. },
  5478. "/Order/QueryTradeOrderDetail": {
  5479. "get": {
  5480. "security": [
  5481. {
  5482. "ApiKeyAuth": []
  5483. }
  5484. ],
  5485. "produces": [
  5486. "application/json"
  5487. ],
  5488. "tags": [
  5489. "通用单据"
  5490. ],
  5491. "summary": "委托单查询请求(合约市场)",
  5492. "parameters": [
  5493. {
  5494. "type": "string",
  5495. "description": "资金账户 - 格式:1,2,3",
  5496. "name": "accountID",
  5497. "in": "query",
  5498. "required": true
  5499. },
  5500. {
  5501. "type": "string",
  5502. "description": "交易模式 - 格式:1,2,3",
  5503. "name": "tradeMode",
  5504. "in": "query"
  5505. },
  5506. {
  5507. "type": "string",
  5508. "description": "委托状态 - 格式:1,2,3",
  5509. "name": "orderStatus",
  5510. "in": "query"
  5511. },
  5512. {
  5513. "type": "integer",
  5514. "description": "委托单号",
  5515. "name": "orderID",
  5516. "in": "query"
  5517. }
  5518. ],
  5519. "responses": {
  5520. "200": {
  5521. "description": "OK",
  5522. "schema": {
  5523. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  5524. }
  5525. },
  5526. "500": {
  5527. "description": "Internal Server Error",
  5528. "schema": {
  5529. "$ref": "#/definitions/app.Response"
  5530. }
  5531. }
  5532. }
  5533. }
  5534. },
  5535. "/Order/QueryTradePosition": {
  5536. "get": {
  5537. "security": [
  5538. {
  5539. "ApiKeyAuth": []
  5540. }
  5541. ],
  5542. "produces": [
  5543. "application/json"
  5544. ],
  5545. "tags": [
  5546. "通用单据"
  5547. ],
  5548. "summary": "持仓汇总查询(合约市场)",
  5549. "parameters": [
  5550. {
  5551. "type": "string",
  5552. "description": "资金账户 - 格式:1,2,3",
  5553. "name": "accountID",
  5554. "in": "query",
  5555. "required": true
  5556. },
  5557. {
  5558. "type": "string",
  5559. "description": "交易模式 - 格式:1,2,3",
  5560. "name": "tradeMode",
  5561. "in": "query"
  5562. }
  5563. ],
  5564. "responses": {
  5565. "200": {
  5566. "description": "OK",
  5567. "schema": {
  5568. "$ref": "#/definitions/order.QueryTradePositionRsp"
  5569. }
  5570. },
  5571. "500": {
  5572. "description": "Internal Server Error",
  5573. "schema": {
  5574. "$ref": "#/definitions/app.Response"
  5575. }
  5576. }
  5577. }
  5578. }
  5579. },
  5580. "/Quote/QueryHistoryDatas": {
  5581. "get": {
  5582. "security": [
  5583. {
  5584. "ApiKeyAuth": []
  5585. }
  5586. ],
  5587. "produces": [
  5588. "application/json"
  5589. ],
  5590. "tags": [
  5591. "行情服务"
  5592. ],
  5593. "summary": "查询行情历史数据",
  5594. "parameters": [
  5595. {
  5596. "type": "integer",
  5597. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  5598. "name": "cycleType",
  5599. "in": "query",
  5600. "required": true
  5601. },
  5602. {
  5603. "type": "string",
  5604. "description": "商品代码",
  5605. "name": "goodsCode",
  5606. "in": "query",
  5607. "required": true
  5608. },
  5609. {
  5610. "type": "string",
  5611. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5612. "name": "startTime",
  5613. "in": "query"
  5614. },
  5615. {
  5616. "type": "string",
  5617. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5618. "name": "endTime",
  5619. "in": "query"
  5620. },
  5621. {
  5622. "type": "integer",
  5623. "description": "条数",
  5624. "name": "count",
  5625. "in": "query"
  5626. },
  5627. {
  5628. "type": "boolean",
  5629. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5630. "name": "isAsc",
  5631. "in": "query"
  5632. }
  5633. ],
  5634. "responses": {
  5635. "200": {
  5636. "description": "OK",
  5637. "schema": {
  5638. "$ref": "#/definitions/quote.HistoryData"
  5639. }
  5640. },
  5641. "500": {
  5642. "description": "Internal Server Error",
  5643. "schema": {
  5644. "$ref": "#/definitions/app.Response"
  5645. }
  5646. }
  5647. }
  5648. }
  5649. },
  5650. "/Quote/QueryHistoryTikDatas": {
  5651. "get": {
  5652. "security": [
  5653. {
  5654. "ApiKeyAuth": []
  5655. }
  5656. ],
  5657. "produces": [
  5658. "application/json"
  5659. ],
  5660. "tags": [
  5661. "行情服务"
  5662. ],
  5663. "summary": "查询行情Tik数据",
  5664. "parameters": [
  5665. {
  5666. "type": "string",
  5667. "description": "商品代码",
  5668. "name": "goodsCode",
  5669. "in": "query",
  5670. "required": true
  5671. },
  5672. {
  5673. "type": "string",
  5674. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5675. "name": "startTime",
  5676. "in": "query"
  5677. },
  5678. {
  5679. "type": "string",
  5680. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5681. "name": "endTime",
  5682. "in": "query"
  5683. },
  5684. {
  5685. "type": "integer",
  5686. "description": "条数",
  5687. "name": "count",
  5688. "in": "query"
  5689. },
  5690. {
  5691. "type": "boolean",
  5692. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5693. "name": "isAsc",
  5694. "in": "query"
  5695. }
  5696. ],
  5697. "responses": {
  5698. "200": {
  5699. "description": "OK",
  5700. "schema": {
  5701. "$ref": "#/definitions/quote.HistoryTikData"
  5702. }
  5703. },
  5704. "500": {
  5705. "description": "Internal Server Error",
  5706. "schema": {
  5707. "$ref": "#/definitions/app.Response"
  5708. }
  5709. }
  5710. }
  5711. }
  5712. },
  5713. "/Quote/QueryQuoteDay": {
  5714. "get": {
  5715. "security": [
  5716. {
  5717. "ApiKeyAuth": []
  5718. }
  5719. ],
  5720. "produces": [
  5721. "application/json"
  5722. ],
  5723. "tags": [
  5724. "行情服务"
  5725. ],
  5726. "summary": "获取商品盘面信息",
  5727. "parameters": [
  5728. {
  5729. "type": "string",
  5730. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5731. "name": "goodsCodes",
  5732. "in": "query",
  5733. "required": true
  5734. }
  5735. ],
  5736. "responses": {
  5737. "200": {
  5738. "description": "OK",
  5739. "schema": {
  5740. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5741. }
  5742. },
  5743. "500": {
  5744. "description": "Internal Server Error",
  5745. "schema": {
  5746. "$ref": "#/definitions/app.Response"
  5747. }
  5748. }
  5749. }
  5750. }
  5751. },
  5752. "/Quote/QueryTSData": {
  5753. "get": {
  5754. "security": [
  5755. {
  5756. "ApiKeyAuth": []
  5757. }
  5758. ],
  5759. "produces": [
  5760. "application/json"
  5761. ],
  5762. "tags": [
  5763. "行情服务"
  5764. ],
  5765. "summary": "分时图数据查询",
  5766. "parameters": [
  5767. {
  5768. "type": "string",
  5769. "description": "商品代码",
  5770. "name": "goodsCode",
  5771. "in": "query",
  5772. "required": true
  5773. }
  5774. ],
  5775. "responses": {
  5776. "200": {
  5777. "description": "OK",
  5778. "schema": {
  5779. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5780. }
  5781. },
  5782. "500": {
  5783. "description": "Internal Server Error",
  5784. "schema": {
  5785. "$ref": "#/definitions/app.Response"
  5786. }
  5787. }
  5788. }
  5789. }
  5790. },
  5791. "/SZDZ/QueryConvertConfig": {
  5792. "get": {
  5793. "security": [
  5794. {
  5795. "ApiKeyAuth": []
  5796. }
  5797. ],
  5798. "produces": [
  5799. "application/json"
  5800. ],
  5801. "tags": [
  5802. "定制【尚志大宗】"
  5803. ],
  5804. "summary": "查询交易系统转换设置",
  5805. "parameters": [
  5806. {
  5807. "type": "integer",
  5808. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5809. "name": "convertType",
  5810. "in": "query"
  5811. },
  5812. {
  5813. "type": "string",
  5814. "description": "外部商品代码[JD\\PD]",
  5815. "name": "outerGoodsCode",
  5816. "in": "query"
  5817. },
  5818. {
  5819. "type": "string",
  5820. "description": "内部商品ID列表[交易],格式:1,2,3",
  5821. "name": "innerGoodsIDs",
  5822. "in": "query"
  5823. }
  5824. ],
  5825. "responses": {
  5826. "200": {
  5827. "description": "OK",
  5828. "schema": {
  5829. "$ref": "#/definitions/models.Szdz3convertconfig"
  5830. }
  5831. },
  5832. "500": {
  5833. "description": "Internal Server Error",
  5834. "schema": {
  5835. "$ref": "#/definitions/app.Response"
  5836. }
  5837. }
  5838. }
  5839. }
  5840. },
  5841. "/SZDZ/QueryConvertLog": {
  5842. "get": {
  5843. "security": [
  5844. {
  5845. "ApiKeyAuth": []
  5846. }
  5847. ],
  5848. "produces": [
  5849. "application/json"
  5850. ],
  5851. "tags": [
  5852. "定制【尚志大宗】"
  5853. ],
  5854. "summary": "交易系统转换流水查询",
  5855. "parameters": [
  5856. {
  5857. "type": "string",
  5858. "description": "资金账户 - 格式:1,2,3",
  5859. "name": "accountID",
  5860. "in": "query",
  5861. "required": true
  5862. },
  5863. {
  5864. "type": "string",
  5865. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5866. "name": "startDate",
  5867. "in": "query"
  5868. },
  5869. {
  5870. "type": "string",
  5871. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5872. "name": "endDate",
  5873. "in": "query"
  5874. }
  5875. ],
  5876. "responses": {
  5877. "200": {
  5878. "description": "OK",
  5879. "schema": {
  5880. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5881. }
  5882. },
  5883. "500": {
  5884. "description": "Internal Server Error",
  5885. "schema": {
  5886. "$ref": "#/definitions/app.Response"
  5887. }
  5888. }
  5889. }
  5890. }
  5891. },
  5892. "/SZDZ/QueryGoodsPickup": {
  5893. "get": {
  5894. "security": [
  5895. {
  5896. "ApiKeyAuth": []
  5897. }
  5898. ],
  5899. "produces": [
  5900. "application/json"
  5901. ],
  5902. "tags": [
  5903. "定制【尚志大宗】"
  5904. ],
  5905. "summary": "商品提货单查询",
  5906. "parameters": [
  5907. {
  5908. "type": "string",
  5909. "description": "资金账户 - 格式:1,2,3",
  5910. "name": "accountID",
  5911. "in": "query",
  5912. "required": true
  5913. },
  5914. {
  5915. "type": "integer",
  5916. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5917. "name": "takeOrderStatus",
  5918. "in": "query"
  5919. }
  5920. ],
  5921. "responses": {
  5922. "200": {
  5923. "description": "OK",
  5924. "schema": {
  5925. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5926. }
  5927. },
  5928. "500": {
  5929. "description": "Internal Server Error",
  5930. "schema": {
  5931. "$ref": "#/definitions/app.Response"
  5932. }
  5933. }
  5934. }
  5935. }
  5936. },
  5937. "/SZDZ/QueryRecieptOrder": {
  5938. "get": {
  5939. "security": [
  5940. {
  5941. "ApiKeyAuth": []
  5942. }
  5943. ],
  5944. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5945. "produces": [
  5946. "application/json"
  5947. ],
  5948. "tags": [
  5949. "定制【尚志大宗】"
  5950. ],
  5951. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5952. "parameters": [
  5953. {
  5954. "type": "integer",
  5955. "description": "页码",
  5956. "name": "page",
  5957. "in": "query"
  5958. },
  5959. {
  5960. "type": "integer",
  5961. "description": "每页条数",
  5962. "name": "pagesize",
  5963. "in": "query"
  5964. },
  5965. {
  5966. "type": "integer",
  5967. "description": "商品ID",
  5968. "name": "goodsID",
  5969. "in": "query",
  5970. "required": true
  5971. },
  5972. {
  5973. "type": "string",
  5974. "description": "所属账户名称",
  5975. "name": "accountName",
  5976. "in": "query"
  5977. },
  5978. {
  5979. "type": "integer",
  5980. "description": "市场ID",
  5981. "name": "marketID",
  5982. "in": "query"
  5983. },
  5984. {
  5985. "type": "integer",
  5986. "description": "方向 - 0:买 1:卖",
  5987. "name": "buyorsell",
  5988. "in": "query",
  5989. "required": true
  5990. }
  5991. ],
  5992. "responses": {
  5993. "200": {
  5994. "description": "OK",
  5995. "schema": {
  5996. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5997. }
  5998. },
  5999. "500": {
  6000. "description": "Internal Server Error",
  6001. "schema": {
  6002. "$ref": "#/definitions/app.Response"
  6003. }
  6004. }
  6005. }
  6006. }
  6007. },
  6008. "/SZDZ/QuerySZDZTradePosition": {
  6009. "get": {
  6010. "security": [
  6011. {
  6012. "ApiKeyAuth": []
  6013. }
  6014. ],
  6015. "produces": [
  6016. "application/json"
  6017. ],
  6018. "tags": [
  6019. "定制【尚志大宗】"
  6020. ],
  6021. "summary": "持仓汇总查询(尚志大宗)",
  6022. "parameters": [
  6023. {
  6024. "type": "integer",
  6025. "description": "资金账户",
  6026. "name": "accountID",
  6027. "in": "query",
  6028. "required": true
  6029. }
  6030. ],
  6031. "responses": {
  6032. "200": {
  6033. "description": "OK",
  6034. "schema": {
  6035. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  6036. }
  6037. },
  6038. "500": {
  6039. "description": "Internal Server Error",
  6040. "schema": {
  6041. "$ref": "#/definitions/app.Response"
  6042. }
  6043. }
  6044. }
  6045. }
  6046. },
  6047. "/SZDZ/SearchWhite": {
  6048. "get": {
  6049. "security": [
  6050. {
  6051. "ApiKeyAuth": []
  6052. }
  6053. ],
  6054. "produces": [
  6055. "application/json"
  6056. ],
  6057. "tags": [
  6058. "定制【尚志大宗】"
  6059. ],
  6060. "summary": "搜索白名单",
  6061. "parameters": [
  6062. {
  6063. "type": "integer",
  6064. "description": "用户ID",
  6065. "name": "userID",
  6066. "in": "query",
  6067. "required": true
  6068. }
  6069. ],
  6070. "responses": {
  6071. "200": {
  6072. "description": "OK",
  6073. "schema": {
  6074. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  6075. }
  6076. },
  6077. "500": {
  6078. "description": "Internal Server Error",
  6079. "schema": {
  6080. "$ref": "#/definitions/app.Response"
  6081. }
  6082. }
  6083. }
  6084. }
  6085. },
  6086. "/Search/SearchGoodses": {
  6087. "get": {
  6088. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  6089. "produces": [
  6090. "application/json"
  6091. ],
  6092. "tags": [
  6093. "检索服务"
  6094. ],
  6095. "summary": "检索商品信息",
  6096. "parameters": [
  6097. {
  6098. "type": "string",
  6099. "description": "检索内容",
  6100. "name": "content",
  6101. "in": "query",
  6102. "required": true
  6103. },
  6104. {
  6105. "type": "string",
  6106. "description": "交易模式,格式:1,2,3",
  6107. "name": "tradeModes",
  6108. "in": "query"
  6109. }
  6110. ],
  6111. "responses": {
  6112. "200": {
  6113. "description": "OK",
  6114. "schema": {
  6115. "$ref": "#/definitions/models.SearchGoods"
  6116. }
  6117. },
  6118. "500": {
  6119. "description": "Internal Server Error",
  6120. "schema": {
  6121. "$ref": "#/definitions/app.Response"
  6122. }
  6123. }
  6124. }
  6125. }
  6126. },
  6127. "/TaAccount/GetTaAccounts": {
  6128. "get": {
  6129. "security": [
  6130. {
  6131. "ApiKeyAuth": []
  6132. }
  6133. ],
  6134. "produces": [
  6135. "application/json"
  6136. ],
  6137. "tags": [
  6138. "资金账户"
  6139. ],
  6140. "summary": "获取资金账户信息",
  6141. "parameters": [
  6142. {
  6143. "type": "integer",
  6144. "description": "登录账户",
  6145. "name": "loginID",
  6146. "in": "query",
  6147. "required": true
  6148. },
  6149. {
  6150. "type": "integer",
  6151. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  6152. "name": "taAccountType",
  6153. "in": "query"
  6154. }
  6155. ],
  6156. "responses": {
  6157. "200": {
  6158. "description": "OK",
  6159. "schema": {
  6160. "$ref": "#/definitions/models.Taaccount"
  6161. }
  6162. },
  6163. "500": {
  6164. "description": "Internal Server Error",
  6165. "schema": {
  6166. "$ref": "#/definitions/app.Response"
  6167. }
  6168. }
  6169. }
  6170. }
  6171. },
  6172. "/TaAccount/QueryAmountLog": {
  6173. "get": {
  6174. "security": [
  6175. {
  6176. "ApiKeyAuth": []
  6177. }
  6178. ],
  6179. "produces": [
  6180. "application/json"
  6181. ],
  6182. "tags": [
  6183. "资金账户"
  6184. ],
  6185. "summary": "资金流水查询(当前)",
  6186. "parameters": [
  6187. {
  6188. "type": "integer",
  6189. "description": "页码",
  6190. "name": "page",
  6191. "in": "query"
  6192. },
  6193. {
  6194. "type": "integer",
  6195. "description": "每页条数",
  6196. "name": "pagesize",
  6197. "in": "query"
  6198. },
  6199. {
  6200. "type": "string",
  6201. "description": "资金账户 - 格式:1,2,3",
  6202. "name": "accountID",
  6203. "in": "query",
  6204. "required": true
  6205. },
  6206. {
  6207. "type": "string",
  6208. "description": "资金操作类型 - 格式:1,2,3",
  6209. "name": "OperateType",
  6210. "in": "query"
  6211. }
  6212. ],
  6213. "responses": {
  6214. "200": {
  6215. "description": "OK",
  6216. "schema": {
  6217. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  6218. }
  6219. },
  6220. "500": {
  6221. "description": "Internal Server Error",
  6222. "schema": {
  6223. "$ref": "#/definitions/app.Response"
  6224. }
  6225. }
  6226. }
  6227. }
  6228. },
  6229. "/TaAccount/QueryHisAmountLog": {
  6230. "get": {
  6231. "security": [
  6232. {
  6233. "ApiKeyAuth": []
  6234. }
  6235. ],
  6236. "produces": [
  6237. "application/json"
  6238. ],
  6239. "tags": [
  6240. "资金账户"
  6241. ],
  6242. "summary": "资金流水查询(历史)",
  6243. "parameters": [
  6244. {
  6245. "type": "integer",
  6246. "description": "页码",
  6247. "name": "page",
  6248. "in": "query"
  6249. },
  6250. {
  6251. "type": "integer",
  6252. "description": "每页条数",
  6253. "name": "pagesize",
  6254. "in": "query"
  6255. },
  6256. {
  6257. "type": "string",
  6258. "description": "资金账户 - 格式:1,2,3",
  6259. "name": "accountID",
  6260. "in": "query",
  6261. "required": true
  6262. },
  6263. {
  6264. "type": "string",
  6265. "description": "资金操作类型 - 格式:1,2,3",
  6266. "name": "OperateType",
  6267. "in": "query"
  6268. },
  6269. {
  6270. "type": "string",
  6271. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6272. "name": "startDate",
  6273. "in": "query"
  6274. },
  6275. {
  6276. "type": "string",
  6277. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6278. "name": "endDate",
  6279. "in": "query"
  6280. }
  6281. ],
  6282. "responses": {
  6283. "200": {
  6284. "description": "OK",
  6285. "schema": {
  6286. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  6287. }
  6288. },
  6289. "500": {
  6290. "description": "Internal Server Error",
  6291. "schema": {
  6292. "$ref": "#/definitions/app.Response"
  6293. }
  6294. }
  6295. }
  6296. }
  6297. },
  6298. "/Trade/QueryRecieptOrder": {
  6299. "get": {
  6300. "security": [
  6301. {
  6302. "ApiKeyAuth": []
  6303. }
  6304. ],
  6305. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6306. "produces": [
  6307. "application/json"
  6308. ],
  6309. "tags": [
  6310. "通用交易"
  6311. ],
  6312. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  6313. "parameters": [
  6314. {
  6315. "type": "integer",
  6316. "description": "页码",
  6317. "name": "page",
  6318. "in": "query"
  6319. },
  6320. {
  6321. "type": "integer",
  6322. "description": "每页条数",
  6323. "name": "pagesize",
  6324. "in": "query"
  6325. },
  6326. {
  6327. "type": "integer",
  6328. "description": "商品ID",
  6329. "name": "goodsID",
  6330. "in": "query",
  6331. "required": true
  6332. },
  6333. {
  6334. "type": "string",
  6335. "description": "所属账户名称",
  6336. "name": "accountName",
  6337. "in": "query"
  6338. },
  6339. {
  6340. "type": "integer",
  6341. "description": "市场ID",
  6342. "name": "marketID",
  6343. "in": "query"
  6344. },
  6345. {
  6346. "type": "integer",
  6347. "description": "方向 - 0:买 1:卖",
  6348. "name": "buyorsell",
  6349. "in": "query",
  6350. "required": true
  6351. }
  6352. ],
  6353. "responses": {
  6354. "200": {
  6355. "description": "OK",
  6356. "schema": {
  6357. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  6358. }
  6359. },
  6360. "500": {
  6361. "description": "Internal Server Error",
  6362. "schema": {
  6363. "$ref": "#/definitions/app.Response"
  6364. }
  6365. }
  6366. }
  6367. }
  6368. },
  6369. "/User/AddMessageBoard": {
  6370. "post": {
  6371. "security": [
  6372. {
  6373. "ApiKeyAuth": []
  6374. }
  6375. ],
  6376. "produces": [
  6377. "application/json"
  6378. ],
  6379. "tags": [
  6380. "用户信息"
  6381. ],
  6382. "summary": "添加用户留言板信息",
  6383. "parameters": [
  6384. {
  6385. "type": "integer",
  6386. "description": "用户ID",
  6387. "name": "userID",
  6388. "in": "query",
  6389. "required": true
  6390. },
  6391. {
  6392. "type": "string",
  6393. "description": "留言信息",
  6394. "name": "message",
  6395. "in": "query",
  6396. "required": true
  6397. },
  6398. {
  6399. "type": "string",
  6400. "description": "联系电话",
  6401. "name": "contactNum",
  6402. "in": "query",
  6403. "required": true
  6404. }
  6405. ],
  6406. "responses": {
  6407. "200": {
  6408. "description": "OK",
  6409. "schema": {
  6410. "$ref": "#/definitions/app.Response"
  6411. }
  6412. },
  6413. "500": {
  6414. "description": "Internal Server Error",
  6415. "schema": {
  6416. "$ref": "#/definitions/app.Response"
  6417. }
  6418. }
  6419. }
  6420. }
  6421. },
  6422. "/User/AddUserFavoriteGoods": {
  6423. "post": {
  6424. "security": [
  6425. {
  6426. "ApiKeyAuth": []
  6427. }
  6428. ],
  6429. "produces": [
  6430. "application/json"
  6431. ],
  6432. "tags": [
  6433. "用户信息"
  6434. ],
  6435. "summary": "添加用户商品收藏信息",
  6436. "parameters": [
  6437. {
  6438. "type": "integer",
  6439. "description": "用户ID",
  6440. "name": "userID",
  6441. "in": "query",
  6442. "required": true
  6443. },
  6444. {
  6445. "type": "integer",
  6446. "description": "商品ID",
  6447. "name": "goodsID",
  6448. "in": "query",
  6449. "required": true
  6450. }
  6451. ],
  6452. "responses": {
  6453. "200": {
  6454. "description": "OK",
  6455. "schema": {
  6456. "$ref": "#/definitions/app.Response"
  6457. }
  6458. },
  6459. "500": {
  6460. "description": "Internal Server Error",
  6461. "schema": {
  6462. "$ref": "#/definitions/app.Response"
  6463. }
  6464. }
  6465. }
  6466. }
  6467. },
  6468. "/User/GetLoginID": {
  6469. "get": {
  6470. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  6471. "produces": [
  6472. "application/json"
  6473. ],
  6474. "tags": [
  6475. "用户信息"
  6476. ],
  6477. "summary": "获取登录ID",
  6478. "parameters": [
  6479. {
  6480. "type": "string",
  6481. "description": "登录代码",
  6482. "name": "username",
  6483. "in": "query",
  6484. "required": true
  6485. }
  6486. ],
  6487. "responses": {
  6488. "200": {
  6489. "description": "OK",
  6490. "schema": {
  6491. "$ref": "#/definitions/app.Response"
  6492. }
  6493. },
  6494. "500": {
  6495. "description": "Internal Server Error",
  6496. "schema": {
  6497. "$ref": "#/definitions/app.Response"
  6498. }
  6499. }
  6500. }
  6501. }
  6502. },
  6503. "/User/GetUserAccount": {
  6504. "get": {
  6505. "security": [
  6506. {
  6507. "ApiKeyAuth": []
  6508. }
  6509. ],
  6510. "produces": [
  6511. "application/json"
  6512. ],
  6513. "tags": [
  6514. "用户信息"
  6515. ],
  6516. "summary": "获取用户账号信息",
  6517. "parameters": [
  6518. {
  6519. "type": "integer",
  6520. "description": "用户ID",
  6521. "name": "userID",
  6522. "in": "query",
  6523. "required": true
  6524. }
  6525. ],
  6526. "responses": {
  6527. "200": {
  6528. "description": "OK",
  6529. "schema": {
  6530. "$ref": "#/definitions/models.Useraccount"
  6531. }
  6532. },
  6533. "500": {
  6534. "description": "Internal Server Error",
  6535. "schema": {
  6536. "$ref": "#/definitions/app.Response"
  6537. }
  6538. }
  6539. }
  6540. }
  6541. },
  6542. "/User/GetUserAuthStatus": {
  6543. "get": {
  6544. "security": [
  6545. {
  6546. "ApiKeyAuth": []
  6547. }
  6548. ],
  6549. "produces": [
  6550. "application/json"
  6551. ],
  6552. "tags": [
  6553. "用户信息"
  6554. ],
  6555. "summary": "获取用户实名认证状态",
  6556. "parameters": [
  6557. {
  6558. "type": "integer",
  6559. "description": "用户ID",
  6560. "name": "userID",
  6561. "in": "query",
  6562. "required": true
  6563. }
  6564. ],
  6565. "responses": {
  6566. "200": {
  6567. "description": "OK",
  6568. "schema": {
  6569. "$ref": "#/definitions/app.Response"
  6570. }
  6571. },
  6572. "500": {
  6573. "description": "Internal Server Error",
  6574. "schema": {
  6575. "$ref": "#/definitions/app.Response"
  6576. }
  6577. }
  6578. }
  6579. }
  6580. },
  6581. "/User/LoginQuery": {
  6582. "get": {
  6583. "security": [
  6584. {
  6585. "ApiKeyAuth": []
  6586. }
  6587. ],
  6588. "produces": [
  6589. "application/json"
  6590. ],
  6591. "tags": [
  6592. "用户信息"
  6593. ],
  6594. "summary": "账户登录后信息查询",
  6595. "parameters": [
  6596. {
  6597. "type": "integer",
  6598. "description": "登录账号",
  6599. "name": "loginID",
  6600. "in": "query",
  6601. "required": true
  6602. }
  6603. ],
  6604. "responses": {
  6605. "200": {
  6606. "description": "OK",
  6607. "schema": {
  6608. "$ref": "#/definitions/user.LoginQueryRsp"
  6609. }
  6610. },
  6611. "500": {
  6612. "description": "Internal Server Error",
  6613. "schema": {
  6614. "$ref": "#/definitions/app.Response"
  6615. }
  6616. }
  6617. }
  6618. }
  6619. },
  6620. "/User/QueryMessageBoard": {
  6621. "get": {
  6622. "security": [
  6623. {
  6624. "ApiKeyAuth": []
  6625. }
  6626. ],
  6627. "produces": [
  6628. "application/json"
  6629. ],
  6630. "tags": [
  6631. "用户信息"
  6632. ],
  6633. "summary": "获取用户留言板信息",
  6634. "parameters": [
  6635. {
  6636. "type": "integer",
  6637. "description": "用户ID",
  6638. "name": "userID",
  6639. "in": "query",
  6640. "required": true
  6641. }
  6642. ],
  6643. "responses": {
  6644. "200": {
  6645. "description": "OK",
  6646. "schema": {
  6647. "$ref": "#/definitions/models.Messageboard"
  6648. }
  6649. },
  6650. "500": {
  6651. "description": "Internal Server Error",
  6652. "schema": {
  6653. "$ref": "#/definitions/app.Response"
  6654. }
  6655. }
  6656. }
  6657. }
  6658. },
  6659. "/User/QueryUserFavoriteGoodses": {
  6660. "get": {
  6661. "security": [
  6662. {
  6663. "ApiKeyAuth": []
  6664. }
  6665. ],
  6666. "produces": [
  6667. "application/json"
  6668. ],
  6669. "tags": [
  6670. "用户信息"
  6671. ],
  6672. "summary": "获取用户商品收藏信息",
  6673. "parameters": [
  6674. {
  6675. "type": "integer",
  6676. "description": "用户ID",
  6677. "name": "userID",
  6678. "in": "query",
  6679. "required": true
  6680. }
  6681. ],
  6682. "responses": {
  6683. "200": {
  6684. "description": "OK",
  6685. "schema": {
  6686. "$ref": "#/definitions/models.Userfavoritegoods"
  6687. }
  6688. },
  6689. "500": {
  6690. "description": "Internal Server Error",
  6691. "schema": {
  6692. "$ref": "#/definitions/app.Response"
  6693. }
  6694. }
  6695. }
  6696. }
  6697. },
  6698. "/User/QueryUserInfo": {
  6699. "get": {
  6700. "security": [
  6701. {
  6702. "ApiKeyAuth": []
  6703. }
  6704. ],
  6705. "produces": [
  6706. "application/json"
  6707. ],
  6708. "tags": [
  6709. "用户信息"
  6710. ],
  6711. "summary": "获取用户信息",
  6712. "parameters": [
  6713. {
  6714. "type": "integer",
  6715. "description": "用户ID",
  6716. "name": "userID",
  6717. "in": "query",
  6718. "required": true
  6719. }
  6720. ],
  6721. "responses": {
  6722. "200": {
  6723. "description": "OK",
  6724. "schema": {
  6725. "$ref": "#/definitions/models.Userinfo"
  6726. }
  6727. },
  6728. "500": {
  6729. "description": "Internal Server Error",
  6730. "schema": {
  6731. "$ref": "#/definitions/app.Response"
  6732. }
  6733. }
  6734. }
  6735. }
  6736. },
  6737. "/User/QueryUserReferNum": {
  6738. "get": {
  6739. "produces": [
  6740. "application/json"
  6741. ],
  6742. "tags": [
  6743. "用户信息"
  6744. ],
  6745. "summary": "获取用户邀请码",
  6746. "parameters": [
  6747. {
  6748. "type": "integer",
  6749. "description": "用户ID",
  6750. "name": "userID",
  6751. "in": "query",
  6752. "required": true
  6753. }
  6754. ],
  6755. "responses": {
  6756. "200": {
  6757. "description": "OK",
  6758. "schema": {
  6759. "$ref": "#/definitions/app.Response"
  6760. }
  6761. },
  6762. "500": {
  6763. "description": "Internal Server Error",
  6764. "schema": {
  6765. "$ref": "#/definitions/app.Response"
  6766. }
  6767. }
  6768. }
  6769. }
  6770. },
  6771. "/User/RemoveUserFavoriteGoods": {
  6772. "post": {
  6773. "security": [
  6774. {
  6775. "ApiKeyAuth": []
  6776. }
  6777. ],
  6778. "produces": [
  6779. "application/json"
  6780. ],
  6781. "tags": [
  6782. "用户信息"
  6783. ],
  6784. "summary": "移除用户商品收藏信息",
  6785. "parameters": [
  6786. {
  6787. "type": "integer",
  6788. "description": "用户ID",
  6789. "name": "userID",
  6790. "in": "query",
  6791. "required": true
  6792. },
  6793. {
  6794. "type": "integer",
  6795. "description": "商品ID",
  6796. "name": "goodsID",
  6797. "in": "query",
  6798. "required": true
  6799. }
  6800. ],
  6801. "responses": {
  6802. "200": {
  6803. "description": "OK",
  6804. "schema": {
  6805. "$ref": "#/definitions/app.Response"
  6806. }
  6807. },
  6808. "500": {
  6809. "description": "Internal Server Error",
  6810. "schema": {
  6811. "$ref": "#/definitions/app.Response"
  6812. }
  6813. }
  6814. }
  6815. }
  6816. },
  6817. "/User/UpdateUserAccountStatus": {
  6818. "post": {
  6819. "security": [
  6820. {
  6821. "ApiKeyAuth": []
  6822. }
  6823. ],
  6824. "produces": [
  6825. "application/json"
  6826. ],
  6827. "tags": [
  6828. "用户信息"
  6829. ],
  6830. "summary": "更新用户状态",
  6831. "parameters": [
  6832. {
  6833. "type": "integer",
  6834. "description": "用户ID",
  6835. "name": "userID",
  6836. "in": "query",
  6837. "required": true
  6838. },
  6839. {
  6840. "type": "integer",
  6841. "description": "账户状态 - 4:正常 6:注销(停用)",
  6842. "name": "accountStatus",
  6843. "in": "query",
  6844. "required": true
  6845. }
  6846. ],
  6847. "responses": {
  6848. "200": {
  6849. "description": "OK",
  6850. "schema": {
  6851. "$ref": "#/definitions/app.Response"
  6852. }
  6853. },
  6854. "500": {
  6855. "description": "Internal Server Error",
  6856. "schema": {
  6857. "$ref": "#/definitions/app.Response"
  6858. }
  6859. }
  6860. }
  6861. }
  6862. },
  6863. "/WR/GetWRCategoryInfo": {
  6864. "get": {
  6865. "produces": [
  6866. "application/json"
  6867. ],
  6868. "tags": [
  6869. "仓单服务"
  6870. ],
  6871. "summary": "获取现货分类信息",
  6872. "responses": {
  6873. "200": {
  6874. "description": "OK",
  6875. "schema": {
  6876. "$ref": "#/definitions/models.WRCategoryTree"
  6877. }
  6878. },
  6879. "500": {
  6880. "description": "Internal Server Error",
  6881. "schema": {
  6882. "$ref": "#/definitions/app.Response"
  6883. }
  6884. }
  6885. }
  6886. }
  6887. },
  6888. "/WRTrade/GetAllDeliveryGoods": {
  6889. "get": {
  6890. "security": [
  6891. {
  6892. "ApiKeyAuth": []
  6893. },
  6894. {
  6895. "ApiKeyAuth": []
  6896. }
  6897. ],
  6898. "produces": [
  6899. "application/json",
  6900. "application/json"
  6901. ],
  6902. "tags": [
  6903. "仓单贸易",
  6904. "仓单贸易"
  6905. ],
  6906. "summary": "获取带仓单分类的种类信息",
  6907. "responses": {
  6908. "200": {
  6909. "description": "OK",
  6910. "schema": {
  6911. "$ref": "#/definitions/app.Response"
  6912. }
  6913. },
  6914. "500": {
  6915. "description": "Internal Server Error",
  6916. "schema": {
  6917. "$ref": "#/definitions/app.Response"
  6918. }
  6919. }
  6920. }
  6921. }
  6922. }
  6923. },
  6924. "definitions": {
  6925. "app.Response": {
  6926. "type": "object",
  6927. "properties": {
  6928. "code": {
  6929. "type": "integer"
  6930. },
  6931. "data": {
  6932. "type": "object"
  6933. },
  6934. "msg": {
  6935. "type": "string"
  6936. },
  6937. "page": {
  6938. "description": "页码",
  6939. "type": "integer"
  6940. },
  6941. "pagesize": {
  6942. "description": "每页条数",
  6943. "type": "integer"
  6944. },
  6945. "total": {
  6946. "description": "总条数",
  6947. "type": "integer"
  6948. }
  6949. }
  6950. },
  6951. "common.QueryImageConfigsRsp": {
  6952. "type": "object",
  6953. "required": [
  6954. "configid"
  6955. ],
  6956. "properties": {
  6957. "areauserid": {
  6958. "description": "所属机构ID",
  6959. "type": "integer"
  6960. },
  6961. "configid": {
  6962. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  6963. "type": "integer"
  6964. },
  6965. "createdate": {
  6966. "description": "创建时间",
  6967. "type": "string"
  6968. },
  6969. "creatorid": {
  6970. "description": "创建人",
  6971. "type": "integer"
  6972. },
  6973. "imagepath": {
  6974. "description": "图片",
  6975. "type": "string"
  6976. },
  6977. "imagetype": {
  6978. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  6979. "type": "integer"
  6980. },
  6981. "isshow": {
  6982. "description": "是否展示 - 0:不展示 1:展示",
  6983. "type": "integer"
  6984. },
  6985. "marketid": {
  6986. "description": "市场ID",
  6987. "type": "integer"
  6988. },
  6989. "modifierid": {
  6990. "description": "操作人",
  6991. "type": "integer"
  6992. },
  6993. "sort": {
  6994. "description": "排序",
  6995. "type": "integer"
  6996. },
  6997. "title": {
  6998. "description": "标题",
  6999. "type": "string"
  7000. },
  7001. "trademode": {
  7002. "description": "交易模式",
  7003. "type": "integer"
  7004. },
  7005. "updatedate": {
  7006. "description": "修改时间",
  7007. "type": "string"
  7008. },
  7009. "url": {
  7010. "description": "链接(地址或商品ID)",
  7011. "type": "string"
  7012. },
  7013. "urltype": {
  7014. "description": "链接类型 - 1:直接地址 2:商品ID",
  7015. "type": "integer"
  7016. }
  7017. }
  7018. },
  7019. "common.QueryNoticeRsp": {
  7020. "type": "object",
  7021. "required": [
  7022. "autoid"
  7023. ],
  7024. "properties": {
  7025. "auditoruserid": {
  7026. "description": "审核人",
  7027. "type": "integer"
  7028. },
  7029. "auditremark": {
  7030. "description": "审核备注",
  7031. "type": "string"
  7032. },
  7033. "audittime": {
  7034. "description": "审核日期",
  7035. "type": "string"
  7036. },
  7037. "autoid": {
  7038. "description": "自增ID",
  7039. "type": "integer"
  7040. },
  7041. "content": {
  7042. "description": "内容",
  7043. "type": "string"
  7044. },
  7045. "createtime": {
  7046. "description": "创建时间",
  7047. "type": "string"
  7048. },
  7049. "creatorid": {
  7050. "description": "建仓人",
  7051. "type": "integer"
  7052. },
  7053. "endtime": {
  7054. "description": "结束时间",
  7055. "type": "string"
  7056. },
  7057. "istop": {
  7058. "description": "是否置顶 - 0:不置顶 1:置顶",
  7059. "type": "integer"
  7060. },
  7061. "msgiconurl": {
  7062. "description": "消息图标Url",
  7063. "type": "string"
  7064. },
  7065. "msgtype": {
  7066. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  7067. "type": "integer"
  7068. },
  7069. "publisher": {
  7070. "description": "消息发布者",
  7071. "type": "string"
  7072. },
  7073. "readed": {
  7074. "description": "是否已读",
  7075. "type": "boolean"
  7076. },
  7077. "scheduletime": {
  7078. "description": "计划发送时间",
  7079. "type": "string"
  7080. },
  7081. "sendtype": {
  7082. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  7083. "type": "integer"
  7084. },
  7085. "sentstatus": {
  7086. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  7087. "type": "integer"
  7088. },
  7089. "title": {
  7090. "description": "标题",
  7091. "type": "string"
  7092. },
  7093. "userid": {
  7094. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  7095. "type": "integer"
  7096. }
  7097. }
  7098. },
  7099. "common.QueryProvincesAndCitiesRsp": {
  7100. "type": "object",
  7101. "properties": {
  7102. "cities": {
  7103. "description": "市",
  7104. "type": "array",
  7105. "items": {
  7106. "$ref": "#/definitions/models.Division"
  7107. }
  7108. },
  7109. "province": {
  7110. "description": "省",
  7111. "type": "object",
  7112. "$ref": "#/definitions/models.Division"
  7113. }
  7114. }
  7115. },
  7116. "common.QueryTableDefineRsp": {
  7117. "type": "object",
  7118. "required": [
  7119. "tablekey"
  7120. ],
  7121. "properties": {
  7122. "columns": {
  7123. "description": "列头信息数组",
  7124. "type": "array",
  7125. "items": {
  7126. "$ref": "#/definitions/models.Tablecolumnconfig"
  7127. }
  7128. },
  7129. "remark": {
  7130. "description": "Remark",
  7131. "type": "string"
  7132. },
  7133. "tabelmenu": {
  7134. "description": "列表菜单",
  7135. "type": "string"
  7136. },
  7137. "tablekey": {
  7138. "description": "列表Key",
  7139. "type": "string"
  7140. },
  7141. "tablename": {
  7142. "description": "列表名称",
  7143. "type": "string"
  7144. },
  7145. "tabletype": {
  7146. "description": "列表类型 - 1:管理端 2:终端",
  7147. "type": "integer"
  7148. }
  7149. }
  7150. },
  7151. "common.QueryTraderMenuRsp": {
  7152. "type": "object",
  7153. "properties": {
  7154. "OperationMenu": {
  7155. "description": "功能菜单",
  7156. "type": "array",
  7157. "items": {
  7158. "$ref": "#/definitions/models.OperationPrimaryMenu"
  7159. }
  7160. },
  7161. "QuoteMenu": {
  7162. "description": "报价牌分类菜单",
  7163. "type": "array",
  7164. "items": {
  7165. "$ref": "#/definitions/models.QuotePrimaryMenu"
  7166. }
  7167. }
  7168. }
  7169. },
  7170. "cptrade.Cptradepositioncancel": {
  7171. "type": "object",
  7172. "required": [
  7173. "cancelid"
  7174. ],
  7175. "properties": {
  7176. "accountid": {
  7177. "description": "申请人账户ID",
  7178. "type": "integer"
  7179. },
  7180. "applystatus": {
  7181. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7182. "type": "integer"
  7183. },
  7184. "applytime": {
  7185. "description": "申请时间",
  7186. "type": "string"
  7187. },
  7188. "cancelid": {
  7189. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  7190. "type": "integer"
  7191. },
  7192. "cancelqty": {
  7193. "description": "注销数量",
  7194. "type": "integer"
  7195. },
  7196. "createtime": {
  7197. "description": "创建时间",
  7198. "type": "string"
  7199. },
  7200. "creatorid": {
  7201. "description": "创建人ID",
  7202. "type": "integer"
  7203. },
  7204. "creatorname": {
  7205. "description": "创建人",
  7206. "type": "string"
  7207. },
  7208. "goodscode": {
  7209. "description": "订单商品代码",
  7210. "type": "string"
  7211. },
  7212. "goodsid": {
  7213. "description": "商品ID",
  7214. "type": "integer"
  7215. },
  7216. "goodsname": {
  7217. "description": "订单商品名称",
  7218. "type": "string"
  7219. },
  7220. "goodunit": {
  7221. "description": "报价单位",
  7222. "type": "string"
  7223. },
  7224. "handlestatus": {
  7225. "description": "处理状态",
  7226. "type": "integer"
  7227. },
  7228. "marketid": {
  7229. "description": "市场ID",
  7230. "type": "integer"
  7231. },
  7232. "marketname": {
  7233. "description": "市场名称",
  7234. "type": "string"
  7235. },
  7236. "tradedate": {
  7237. "description": "交易日(yyyyMMdd)",
  7238. "type": "string"
  7239. },
  7240. "userid": {
  7241. "description": "申请人ID",
  7242. "type": "integer"
  7243. }
  7244. }
  7245. },
  7246. "cptrade.Cptradepresaleapply": {
  7247. "type": "object",
  7248. "required": [
  7249. "applyid"
  7250. ],
  7251. "properties": {
  7252. "accountid": {
  7253. "description": "申请人账户ID",
  7254. "type": "integer"
  7255. },
  7256. "applyid": {
  7257. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  7258. "type": "integer"
  7259. },
  7260. "applyremark": {
  7261. "description": "申请备注",
  7262. "type": "string"
  7263. },
  7264. "applystatus": {
  7265. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7266. "type": "integer"
  7267. },
  7268. "applytime": {
  7269. "description": "申请时间",
  7270. "type": "string"
  7271. },
  7272. "attachmenturl": {
  7273. "description": "附件地址",
  7274. "type": "string"
  7275. },
  7276. "endtime": {
  7277. "description": "预售结束时间",
  7278. "type": "string"
  7279. },
  7280. "goodscode": {
  7281. "description": "商品代码",
  7282. "type": "string"
  7283. },
  7284. "goodsid": {
  7285. "description": "商品ID",
  7286. "type": "integer"
  7287. },
  7288. "goodsname": {
  7289. "description": "商品名称",
  7290. "type": "string"
  7291. },
  7292. "goodunit": {
  7293. "description": "报价单位",
  7294. "type": "string"
  7295. },
  7296. "handlestatus": {
  7297. "description": "处理状态",
  7298. "type": "integer"
  7299. },
  7300. "marketid": {
  7301. "description": "预售市场ID",
  7302. "type": "integer"
  7303. },
  7304. "marketname": {
  7305. "description": "预售市场名称",
  7306. "type": "string"
  7307. },
  7308. "presaleqty": {
  7309. "description": "预售数量",
  7310. "type": "integer"
  7311. },
  7312. "relatedgoodscode": {
  7313. "description": "关联交易合约代码",
  7314. "type": "string"
  7315. },
  7316. "relatedgoodsid": {
  7317. "description": "关联交易合约ID",
  7318. "type": "integer"
  7319. },
  7320. "relatedgoodsname": {
  7321. "description": "关联交易合约名称",
  7322. "type": "string"
  7323. },
  7324. "starttime": {
  7325. "description": "预售开始时间",
  7326. "type": "string"
  7327. },
  7328. "tradedate": {
  7329. "description": "交易日(yyyyMMdd)",
  7330. "type": "string"
  7331. },
  7332. "trademode": {
  7333. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  7334. "type": "integer"
  7335. },
  7336. "userid": {
  7337. "description": "申请人ID",
  7338. "type": "integer"
  7339. }
  7340. }
  7341. },
  7342. "cptrade.Cptradeusergoodsdata": {
  7343. "type": "object",
  7344. "required": [
  7345. "accountid",
  7346. "goodsid"
  7347. ],
  7348. "properties": {
  7349. "EnabledQty": {
  7350. "description": "可用量",
  7351. "type": "integer"
  7352. },
  7353. "GoodsCode": {
  7354. "description": "订单商品代码",
  7355. "type": "string"
  7356. },
  7357. "GoodsName": {
  7358. "description": "订单商品名称",
  7359. "type": "string"
  7360. },
  7361. "WRStandardCode": {
  7362. "description": "仓单标准代码",
  7363. "type": "string"
  7364. },
  7365. "WRStandardName": {
  7366. "description": "仓单标准名称",
  7367. "type": "string"
  7368. },
  7369. "accountid": {
  7370. "description": "账户ID",
  7371. "type": "integer"
  7372. },
  7373. "cancelqty": {
  7374. "description": "注销量",
  7375. "type": "integer"
  7376. },
  7377. "curpresaleqty": {
  7378. "description": "当前预售量",
  7379. "type": "integer"
  7380. },
  7381. "deliveryqty": {
  7382. "description": "交割量",
  7383. "type": "integer"
  7384. },
  7385. "freezeamount": {
  7386. "description": "冻结金额",
  7387. "type": "number"
  7388. },
  7389. "goodsid": {
  7390. "description": "商品ID",
  7391. "type": "integer"
  7392. },
  7393. "goodunit": {
  7394. "description": "报价单位",
  7395. "type": "string"
  7396. },
  7397. "hasspotfreeze": {
  7398. "description": "是否有现货冻结 - 0:否 1:有",
  7399. "type": "integer"
  7400. },
  7401. "inqty": {
  7402. "description": "转入量(总数量)",
  7403. "type": "integer"
  7404. },
  7405. "marketid": {
  7406. "description": "市场ID",
  7407. "type": "integer"
  7408. },
  7409. "presaledamount": {
  7410. "description": "已预售总金额",
  7411. "type": "integer"
  7412. },
  7413. "presaledqty": {
  7414. "description": "已预售量",
  7415. "type": "integer"
  7416. },
  7417. "userid": {
  7418. "description": "用户ID",
  7419. "type": "integer"
  7420. },
  7421. "wrstandardid": {
  7422. "description": "仓单标准ID",
  7423. "type": "integer"
  7424. }
  7425. }
  7426. },
  7427. "cptrade.QueryCPTradeMyBidRsp": {
  7428. "type": "object",
  7429. "required": [
  7430. "accountid",
  7431. "goodsid",
  7432. "marketid",
  7433. "orderid",
  7434. "orderqty",
  7435. "ordertime",
  7436. "tradeprice",
  7437. "tradeqty"
  7438. ],
  7439. "properties": {
  7440. "accountid": {
  7441. "description": "账户ID[报价币种]",
  7442. "type": "integer"
  7443. },
  7444. "goodsid": {
  7445. "description": "商品ID",
  7446. "type": "integer"
  7447. },
  7448. "goodunit": {
  7449. "description": "报价单位",
  7450. "type": "string"
  7451. },
  7452. "marketid": {
  7453. "description": "市场ID",
  7454. "type": "integer"
  7455. },
  7456. "orderid": {
  7457. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7458. "type": "integer"
  7459. },
  7460. "orderprice": {
  7461. "description": "委托价格",
  7462. "type": "number"
  7463. },
  7464. "orderqty": {
  7465. "description": "委托数量",
  7466. "type": "integer"
  7467. },
  7468. "ordertime": {
  7469. "description": "委托时间",
  7470. "type": "string"
  7471. },
  7472. "ordertotalprice": {
  7473. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  7474. "type": "number"
  7475. },
  7476. "ordertotalweight": {
  7477. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  7478. "type": "integer"
  7479. },
  7480. "totaltotalprice": {
  7481. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  7482. "type": "number"
  7483. },
  7484. "tradeprice": {
  7485. "description": "成交价格",
  7486. "type": "number"
  7487. },
  7488. "tradeqty": {
  7489. "description": "成交数量",
  7490. "type": "integer"
  7491. }
  7492. }
  7493. },
  7494. "cptrade.QueryCPTradeOrderDetailRsq": {
  7495. "type": "object",
  7496. "required": [
  7497. "accountid",
  7498. "buildtype",
  7499. "buyorsell",
  7500. "goodsid",
  7501. "marketid",
  7502. "memberuserid",
  7503. "operatetype",
  7504. "orderqty",
  7505. "ordertime",
  7506. "pricemode",
  7507. "strorderid",
  7508. "tradedate",
  7509. "validtype"
  7510. ],
  7511. "properties": {
  7512. "accountid": {
  7513. "description": "账户ID[报价币种]",
  7514. "type": "integer"
  7515. },
  7516. "buildtype": {
  7517. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7518. "type": "integer"
  7519. },
  7520. "buyorsell": {
  7521. "description": "买卖 - 0:买 1:卖",
  7522. "type": "integer"
  7523. },
  7524. "cancelorderid": {
  7525. "description": "撤单单号(撤单时填写)",
  7526. "type": "integer"
  7527. },
  7528. "cancelqty": {
  7529. "description": "撤单数量",
  7530. "type": "integer"
  7531. },
  7532. "clientordertime": {
  7533. "description": "客户端委托时间",
  7534. "type": "string"
  7535. },
  7536. "clientticket": {
  7537. "description": "客户端流水号",
  7538. "type": "string"
  7539. },
  7540. "clienttype": {
  7541. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7542. "type": "integer"
  7543. },
  7544. "closeexchagechargevalue": {
  7545. "description": "平仓交易所手续费设置值",
  7546. "type": "number"
  7547. },
  7548. "closefeealgorithm": {
  7549. "description": "平仓手续费收取方式 1:比率 2:固定",
  7550. "type": "integer"
  7551. },
  7552. "closefreezecharge": {
  7553. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7554. "type": "number"
  7555. },
  7556. "closememberchargevalue": {
  7557. "description": "平仓会员手续费设置值",
  7558. "type": "number"
  7559. },
  7560. "closeqty": {
  7561. "description": "平仓数量(先建后平操作 需要记录)",
  7562. "type": "integer"
  7563. },
  7564. "closetradeqty": {
  7565. "description": "平仓成交数量(先建后平操作,需要记录)",
  7566. "type": "integer"
  7567. },
  7568. "closeunfreezecharge": {
  7569. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7570. "type": "number"
  7571. },
  7572. "delistingtype": {
  7573. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7574. "type": "integer"
  7575. },
  7576. "freezecharge": {
  7577. "description": "冻结手续费",
  7578. "type": "number"
  7579. },
  7580. "freezemargin": {
  7581. "description": "冻结保证金(冻结交易金额)",
  7582. "type": "number"
  7583. },
  7584. "gcaccountid": {
  7585. "description": "账户ID[合约币种]",
  7586. "type": "integer"
  7587. },
  7588. "goodsid": {
  7589. "description": "商品ID",
  7590. "type": "integer"
  7591. },
  7592. "isconfirmexercise": {
  7593. "description": "是否确认行权- 0:否 1:是",
  7594. "type": "integer"
  7595. },
  7596. "ispreexercise": {
  7597. "description": "是否预申报- 0:否 1:是",
  7598. "type": "integer"
  7599. },
  7600. "listingselecttype": {
  7601. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7602. "type": "integer"
  7603. },
  7604. "marginalgorithm": {
  7605. "description": "保证金收取方式 1:比率 2:固定",
  7606. "type": "integer"
  7607. },
  7608. "marginvalue": {
  7609. "description": "即市保证金设置值",
  7610. "type": "number"
  7611. },
  7612. "marketid": {
  7613. "description": "市场ID",
  7614. "type": "integer"
  7615. },
  7616. "marketmaxsub": {
  7617. "description": "市价最大偏移范围",
  7618. "type": "number"
  7619. },
  7620. "memberuserid": {
  7621. "description": "所属会员UserID",
  7622. "type": "integer"
  7623. },
  7624. "openexchagechargevalue": {
  7625. "description": "建仓交易所手续费设置值",
  7626. "type": "number"
  7627. },
  7628. "openfeealgorithm": {
  7629. "description": "建仓手续费收取方式 1:比率 2:固定",
  7630. "type": "integer"
  7631. },
  7632. "openfreezecharge": {
  7633. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7634. "type": "number"
  7635. },
  7636. "openmemberchargevalue": {
  7637. "description": "建仓会员手续费设置值",
  7638. "type": "number"
  7639. },
  7640. "openqty": {
  7641. "description": "开仓数量(先建后平操作,需要记录)",
  7642. "type": "integer"
  7643. },
  7644. "opentradeqty": {
  7645. "description": "开仓成交数量(先建后平操作,需要记录)",
  7646. "type": "integer"
  7647. },
  7648. "openunfreezecharge": {
  7649. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7650. "type": "number"
  7651. },
  7652. "operatetype": {
  7653. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7654. "type": "integer"
  7655. },
  7656. "operatorid": {
  7657. "description": "登录账号(LoginID)",
  7658. "type": "integer"
  7659. },
  7660. "optiontype": {
  7661. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7662. "type": "integer"
  7663. },
  7664. "orderprice": {
  7665. "description": "委托价格",
  7666. "type": "number"
  7667. },
  7668. "orderqty": {
  7669. "description": "委托数量",
  7670. "type": "integer"
  7671. },
  7672. "ordersrc": {
  7673. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7674. "type": "integer"
  7675. },
  7676. "orderstatus": {
  7677. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7678. "type": "integer"
  7679. },
  7680. "ordertime": {
  7681. "description": "委托时间",
  7682. "type": "string"
  7683. },
  7684. "preexerciseprice": {
  7685. "description": "预申报价格",
  7686. "type": "number"
  7687. },
  7688. "premium": {
  7689. "description": "权利金",
  7690. "type": "number"
  7691. },
  7692. "preorderid": {
  7693. "description": "关联预埋单号(止盈止损单时填写)",
  7694. "type": "integer"
  7695. },
  7696. "pricemode": {
  7697. "description": "取价方式 - 1:市价 2: 限价",
  7698. "type": "integer"
  7699. },
  7700. "quoteid": {
  7701. "description": "报价单ID",
  7702. "type": "integer"
  7703. },
  7704. "relatedid": {
  7705. "description": "关联单号(交割单)",
  7706. "type": "integer"
  7707. },
  7708. "retcode": {
  7709. "description": "错误代码",
  7710. "type": "integer"
  7711. },
  7712. "sessionid": {
  7713. "description": "会话ID",
  7714. "type": "integer"
  7715. },
  7716. "strorderid": {
  7717. "description": "委托单号",
  7718. "type": "string"
  7719. },
  7720. "tradedate": {
  7721. "description": "交易日(yyyyMMdd)",
  7722. "type": "string"
  7723. },
  7724. "tradeproperty": {
  7725. "description": "交易属性",
  7726. "type": "integer"
  7727. },
  7728. "tradeqty": {
  7729. "description": "成交数量",
  7730. "type": "integer"
  7731. },
  7732. "unfreezecharge": {
  7733. "description": "解冻手续费",
  7734. "type": "number"
  7735. },
  7736. "unfreezemargin": {
  7737. "description": "解冻保证金",
  7738. "type": "number"
  7739. },
  7740. "updatetime": {
  7741. "description": "更新时间",
  7742. "type": "string"
  7743. },
  7744. "uuid": {
  7745. "description": "发起端唯一id",
  7746. "type": "string"
  7747. },
  7748. "validtime": {
  7749. "description": "有效期限",
  7750. "type": "string"
  7751. },
  7752. "validtype": {
  7753. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7754. "type": "integer"
  7755. },
  7756. "volumetype": {
  7757. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7758. "type": "integer"
  7759. }
  7760. }
  7761. },
  7762. "cptrade.QueryMyCPTradeGoodsRsp": {
  7763. "type": "object",
  7764. "required": [
  7765. "goodscode",
  7766. "goodsid",
  7767. "goodsname",
  7768. "marketid",
  7769. "relatedgoodscode",
  7770. "relatedgoodsname"
  7771. ],
  7772. "properties": {
  7773. "accountid": {
  7774. "description": "卖方账户ID",
  7775. "type": "integer"
  7776. },
  7777. "agreeunit": {
  7778. "description": "合约单位",
  7779. "type": "number"
  7780. },
  7781. "applyid": {
  7782. "description": "关联申请ID",
  7783. "type": "integer"
  7784. },
  7785. "attachmenturl": {
  7786. "description": "附件地址",
  7787. "type": "string"
  7788. },
  7789. "createtime": {
  7790. "description": "创建时间",
  7791. "type": "string"
  7792. },
  7793. "currencyid": {
  7794. "description": "报价货币ID",
  7795. "type": "integer"
  7796. },
  7797. "decimalplace": {
  7798. "description": "报价小数位",
  7799. "type": "integer"
  7800. },
  7801. "endtime": {
  7802. "description": "预售结束时间",
  7803. "type": "string"
  7804. },
  7805. "floorprice": {
  7806. "description": "底价[大宗式竞拍]",
  7807. "type": "number"
  7808. },
  7809. "goodscode": {
  7810. "description": "商品代码(预售)",
  7811. "type": "string"
  7812. },
  7813. "goodsdetail": {
  7814. "description": "详情[大宗]",
  7815. "type": "string"
  7816. },
  7817. "goodsid": {
  7818. "description": "商品ID(自增ID SEQ_GOODS)",
  7819. "type": "integer"
  7820. },
  7821. "goodsname": {
  7822. "description": "商品名称(预售)",
  7823. "type": "string"
  7824. },
  7825. "goodunit": {
  7826. "description": "报价单位",
  7827. "type": "string"
  7828. },
  7829. "goodunitid": {
  7830. "description": "报价单位ID",
  7831. "type": "integer"
  7832. },
  7833. "marketid": {
  7834. "description": "所属市场ID",
  7835. "type": "integer"
  7836. },
  7837. "marketname": {
  7838. "description": "预售市场名称",
  7839. "type": "string"
  7840. },
  7841. "presaledamount": {
  7842. "description": "已预售总金额(预售结束时更新)",
  7843. "type": "number"
  7844. },
  7845. "presaledqty": {
  7846. "description": "已预售量(预售结束时更新)",
  7847. "type": "integer"
  7848. },
  7849. "presalemode": {
  7850. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7851. "type": "integer"
  7852. },
  7853. "presaleqty": {
  7854. "description": "预售数量",
  7855. "type": "integer"
  7856. },
  7857. "refprice": {
  7858. "description": "参考价格[一口价]",
  7859. "type": "number"
  7860. },
  7861. "relatedgoodscode": {
  7862. "description": "商品代码(订单)",
  7863. "type": "string"
  7864. },
  7865. "relatedgoodsid": {
  7866. "description": "关联交易合约ID",
  7867. "type": "integer"
  7868. },
  7869. "relatedgoodsname": {
  7870. "description": "商品名称(订单)",
  7871. "type": "string"
  7872. },
  7873. "relatedmarketid": {
  7874. "description": "关联交易合约市场ID",
  7875. "type": "integer"
  7876. },
  7877. "sellstatus": {
  7878. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7879. "type": "integer"
  7880. },
  7881. "startprice": {
  7882. "description": "起拍价[大宗式竞拍]",
  7883. "type": "number"
  7884. },
  7885. "starttime": {
  7886. "description": "预售开始时间",
  7887. "type": "string"
  7888. },
  7889. "tradedate": {
  7890. "description": "交易日(yyyyMMdd)",
  7891. "type": "string"
  7892. },
  7893. "tradeprice": {
  7894. "description": "成交价[大宗]",
  7895. "type": "number"
  7896. },
  7897. "userid": {
  7898. "description": "卖方用户ID",
  7899. "type": "integer"
  7900. }
  7901. }
  7902. },
  7903. "cptrade.QueryPresaleGoodsExRsp": {
  7904. "type": "object",
  7905. "required": [
  7906. "goodsid"
  7907. ],
  7908. "properties": {
  7909. "attachmenturl": {
  7910. "description": "附件地址",
  7911. "type": "string"
  7912. },
  7913. "createtime": {
  7914. "description": "创建时间",
  7915. "type": "string"
  7916. },
  7917. "endtime": {
  7918. "description": "预售结束时间",
  7919. "type": "string"
  7920. },
  7921. "floorprice": {
  7922. "description": "底价[大宗式竞拍]",
  7923. "type": "number"
  7924. },
  7925. "goodsdetail": {
  7926. "description": "详情[大宗]",
  7927. "type": "string"
  7928. },
  7929. "goodsid": {
  7930. "description": "商品ID(预售)",
  7931. "type": "integer"
  7932. },
  7933. "goodunit": {
  7934. "description": "报价单位",
  7935. "type": "string"
  7936. },
  7937. "marketid": {
  7938. "description": "预售市场ID - 根据预售模式选择市场",
  7939. "type": "integer"
  7940. },
  7941. "presaledamount": {
  7942. "description": "已预售总金额(预售结束时更新)",
  7943. "type": "number"
  7944. },
  7945. "presaledqty": {
  7946. "description": "已预售量(预售结束时更新)",
  7947. "type": "integer"
  7948. },
  7949. "presalemode": {
  7950. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7951. "type": "integer"
  7952. },
  7953. "presaleqty": {
  7954. "description": "预售数量",
  7955. "type": "integer"
  7956. },
  7957. "refprice": {
  7958. "description": "参考价格[一口价]",
  7959. "type": "number"
  7960. },
  7961. "relatedgoodsid": {
  7962. "description": "关联交易合约ID",
  7963. "type": "integer"
  7964. },
  7965. "relatedmarketid": {
  7966. "description": "关联交易合约市场ID",
  7967. "type": "integer"
  7968. },
  7969. "sellstatus": {
  7970. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7971. "type": "integer"
  7972. },
  7973. "startprice": {
  7974. "description": "起拍价[大宗式竞拍]",
  7975. "type": "number"
  7976. },
  7977. "starttime": {
  7978. "description": "预售开始时间",
  7979. "type": "string"
  7980. },
  7981. "tradedate": {
  7982. "description": "交易日(yyyyMMdd)",
  7983. "type": "string"
  7984. },
  7985. "tradeprice": {
  7986. "description": "成交价[大宗]",
  7987. "type": "number"
  7988. }
  7989. }
  7990. },
  7991. "delivery.QueryDeliveryRelationRsp": {
  7992. "type": "object",
  7993. "required": [
  7994. "begindate",
  7995. "enddate",
  7996. "goodsid",
  7997. "mindeliveryqty",
  7998. "xdeliveryratio"
  7999. ],
  8000. "properties": {
  8001. "begindate": {
  8002. "description": "起始日期(yyyyMMdd)",
  8003. "type": "string"
  8004. },
  8005. "buytemplateid": {
  8006. "description": "买履约计划模板ID",
  8007. "type": "integer"
  8008. },
  8009. "deliverygoodscode": {
  8010. "description": "品种代码",
  8011. "type": "string"
  8012. },
  8013. "deliverygoodsid": {
  8014. "description": "交割商品",
  8015. "type": "integer"
  8016. },
  8017. "deliverygoodsname": {
  8018. "description": "品种名称",
  8019. "type": "string"
  8020. },
  8021. "deliverymode": {
  8022. "description": "交割方式 - 1:点选式 2:申报式",
  8023. "type": "integer"
  8024. },
  8025. "deliverypricerule": {
  8026. "description": "交割价规则- 1:行情价 2:建仓价",
  8027. "type": "integer"
  8028. },
  8029. "deliverytype": {
  8030. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  8031. "type": "integer"
  8032. },
  8033. "enddate": {
  8034. "description": "结束日期(yyyyMMdd)",
  8035. "type": "string"
  8036. },
  8037. "goodscode": {
  8038. "description": "商品代码",
  8039. "type": "string"
  8040. },
  8041. "goodsid": {
  8042. "description": "交易合约ID",
  8043. "type": "integer"
  8044. },
  8045. "goodsname": {
  8046. "description": "商品名称",
  8047. "type": "string"
  8048. },
  8049. "marketid": {
  8050. "description": "市场ID",
  8051. "type": "integer"
  8052. },
  8053. "mindeliveryqty": {
  8054. "description": "最小交割系数(K)",
  8055. "type": "integer"
  8056. },
  8057. "p2deliveryprice": {
  8058. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  8059. "type": "number"
  8060. },
  8061. "p2deliveryratio": {
  8062. "description": "P2合约系数(p)",
  8063. "type": "integer"
  8064. },
  8065. "p2goodsid": {
  8066. "description": "P2合约ID",
  8067. "type": "integer"
  8068. },
  8069. "p2pricemode": {
  8070. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  8071. "type": "integer"
  8072. },
  8073. "pdeliveryprice": {
  8074. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  8075. "type": "number"
  8076. },
  8077. "pdeliveryratio": {
  8078. "description": "P合约系数(n)",
  8079. "type": "integer"
  8080. },
  8081. "pgoodsid": {
  8082. "description": "P合约ID",
  8083. "type": "integer"
  8084. },
  8085. "ppricemode": {
  8086. "description": "P合约价格方式 - 1:商品价 2:固定值",
  8087. "type": "integer"
  8088. },
  8089. "rratio": {
  8090. "description": "兑换系数(R)",
  8091. "type": "integer"
  8092. },
  8093. "rratio1": {
  8094. "description": "兑换系数(交易合约)(R1)",
  8095. "type": "integer"
  8096. },
  8097. "rratio2": {
  8098. "description": "兑换系数(仓单标准)(R2)",
  8099. "type": "integer"
  8100. },
  8101. "selltemplateid": {
  8102. "description": "卖履约计划模板ID",
  8103. "type": "integer"
  8104. },
  8105. "wrstandardid": {
  8106. "description": "仓单标准ID",
  8107. "type": "integer"
  8108. },
  8109. "xdeliveryratio": {
  8110. "description": "交易合约系数(m)",
  8111. "type": "integer"
  8112. }
  8113. }
  8114. },
  8115. "ermcp.ExposureDetailRsp": {
  8116. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  8117. },
  8118. "ermcp.ExposureHedgePosDetailRsp": {
  8119. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  8120. },
  8121. "ermcp.ExposureHedgePositionRsp": {
  8122. "$ref": "#/definitions/models.ErmcpHedgePosition"
  8123. },
  8124. "ermcp.ExposureSpotDetailRsp": {
  8125. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  8126. },
  8127. "ermcp.ExposureSpotRsp": {
  8128. "$ref": "#/definitions/models.AreaSpotModel"
  8129. },
  8130. "ermcp.HisExposureRsp": {
  8131. "$ref": "#/definitions/models.ErmcpHisExposureS"
  8132. },
  8133. "ermcp.PendingAuditCntRsp": {
  8134. "$ref": "#/definitions/models.ErmcpPendingAudit"
  8135. },
  8136. "ermcp.QryAreaStockApplyRsp": {
  8137. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  8138. },
  8139. "ermcp.QryAvalidGPRsp": {
  8140. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  8141. },
  8142. "ermcp.QryBusinessDjRsp": {
  8143. "type": "object",
  8144. "properties": {
  8145. "amount": {
  8146. "description": "点价金额=(点价价格+升贴水)*点价数量",
  8147. "type": "number"
  8148. },
  8149. "applyid": {
  8150. "description": "申请人",
  8151. "type": "string"
  8152. },
  8153. "applyname": {
  8154. "description": "申请人名称",
  8155. "type": "string"
  8156. },
  8157. "applystatus": {
  8158. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8159. "type": "integer"
  8160. },
  8161. "applytime": {
  8162. "description": "申请时间",
  8163. "type": "string"
  8164. },
  8165. "attachurl": {
  8166. "description": "附件",
  8167. "type": "string"
  8168. },
  8169. "auditname": {
  8170. "description": "审核人名称",
  8171. "type": "string"
  8172. },
  8173. "audittime": {
  8174. "description": "审核时间",
  8175. "type": "string"
  8176. },
  8177. "buyusername": {
  8178. "description": "采购方名称",
  8179. "type": "string"
  8180. },
  8181. "contractno": {
  8182. "description": "合同编号",
  8183. "type": "string"
  8184. },
  8185. "contractstatus": {
  8186. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8187. "type": "integer"
  8188. },
  8189. "contracttype": {
  8190. "description": "现货合同类型 - 1:采购 -1:销售",
  8191. "type": "integer"
  8192. },
  8193. "enumdicname": {
  8194. "description": "单位名称",
  8195. "type": "string"
  8196. },
  8197. "goodscode": {
  8198. "description": "点价合约",
  8199. "type": "string"
  8200. },
  8201. "goodsname": {
  8202. "description": "商品名称",
  8203. "type": "string"
  8204. },
  8205. "operateapplyid": {
  8206. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8207. "type": "string"
  8208. },
  8209. "operateapplytype": {
  8210. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8211. "type": "integer"
  8212. },
  8213. "pricedPrice": {
  8214. "description": "点价价格(非必填)",
  8215. "type": "number"
  8216. },
  8217. "pricedQty": {
  8218. "description": "点价数量(非必填)",
  8219. "type": "number"
  8220. },
  8221. "pricemove": {
  8222. "description": "升贴水",
  8223. "type": "number"
  8224. },
  8225. "pricetype": {
  8226. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8227. "type": "integer"
  8228. },
  8229. "relatedid": {
  8230. "description": "现货合同ID",
  8231. "type": "string"
  8232. },
  8233. "sellusername": {
  8234. "description": "销售方名字",
  8235. "type": "string"
  8236. },
  8237. "userid": {
  8238. "description": "用户ID",
  8239. "type": "integer"
  8240. },
  8241. "wrstandardcode": {
  8242. "description": "现货商品代码",
  8243. "type": "string"
  8244. },
  8245. "wrstandardid": {
  8246. "description": "现货商品id",
  8247. "type": "integer"
  8248. },
  8249. "wrstandardname": {
  8250. "description": "现货商品名称",
  8251. "type": "string"
  8252. }
  8253. }
  8254. },
  8255. "ermcp.QryBussinessFpRsp": {
  8256. "type": "object",
  8257. "properties": {
  8258. "applyid": {
  8259. "description": "申请人",
  8260. "type": "string"
  8261. },
  8262. "applyname": {
  8263. "description": "申请人名称",
  8264. "type": "string"
  8265. },
  8266. "applystatus": {
  8267. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8268. "type": "integer"
  8269. },
  8270. "applytime": {
  8271. "description": "申请时间",
  8272. "type": "string"
  8273. },
  8274. "attachurl": {
  8275. "description": "附件",
  8276. "type": "string"
  8277. },
  8278. "auditname": {
  8279. "description": "审核人名称",
  8280. "type": "string"
  8281. },
  8282. "audittime": {
  8283. "description": "审核时间",
  8284. "type": "string"
  8285. },
  8286. "buyusername": {
  8287. "description": "采购方名称",
  8288. "type": "string"
  8289. },
  8290. "contractno": {
  8291. "description": "合同编号",
  8292. "type": "string"
  8293. },
  8294. "contractstatus": {
  8295. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8296. "type": "integer"
  8297. },
  8298. "contracttype": {
  8299. "description": "现货合同类型 - 1:采购 -1:销售",
  8300. "type": "integer"
  8301. },
  8302. "enumdicname": {
  8303. "description": "单位名称",
  8304. "type": "string"
  8305. },
  8306. "goodscode": {
  8307. "description": "点价合约",
  8308. "type": "string"
  8309. },
  8310. "goodsname": {
  8311. "description": "商品名称",
  8312. "type": "string"
  8313. },
  8314. "invoiceAmount": {
  8315. "description": "已开收票金额(销售为开票,采购为收票)",
  8316. "type": "number"
  8317. },
  8318. "operateapplyid": {
  8319. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8320. "type": "string"
  8321. },
  8322. "operateapplytype": {
  8323. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8324. "type": "integer"
  8325. },
  8326. "pricemove": {
  8327. "description": "升贴水",
  8328. "type": "number"
  8329. },
  8330. "pricetype": {
  8331. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8332. "type": "integer"
  8333. },
  8334. "relatedid": {
  8335. "description": "现货合同ID",
  8336. "type": "string"
  8337. },
  8338. "sellusername": {
  8339. "description": "销售方名字",
  8340. "type": "string"
  8341. },
  8342. "userid": {
  8343. "description": "用户ID",
  8344. "type": "integer"
  8345. },
  8346. "wrstandardcode": {
  8347. "description": "现货商品代码",
  8348. "type": "string"
  8349. },
  8350. "wrstandardid": {
  8351. "description": "现货商品id",
  8352. "type": "integer"
  8353. },
  8354. "wrstandardname": {
  8355. "description": "现货商品名称",
  8356. "type": "string"
  8357. }
  8358. }
  8359. },
  8360. "ermcp.QryBussinessJsExRsp": {
  8361. "type": "object",
  8362. "properties": {
  8363. "applyid": {
  8364. "description": "申请人",
  8365. "type": "string"
  8366. },
  8367. "applyname": {
  8368. "description": "申请人名称",
  8369. "type": "string"
  8370. },
  8371. "applystatus": {
  8372. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8373. "type": "integer"
  8374. },
  8375. "applytime": {
  8376. "description": "申请时间",
  8377. "type": "string"
  8378. },
  8379. "attachurl": {
  8380. "description": "附件",
  8381. "type": "string"
  8382. },
  8383. "auditname": {
  8384. "description": "审核人名称",
  8385. "type": "string"
  8386. },
  8387. "audittime": {
  8388. "description": "审核时间",
  8389. "type": "string"
  8390. },
  8391. "buyusername": {
  8392. "description": "采购方名称",
  8393. "type": "string"
  8394. },
  8395. "contractno": {
  8396. "description": "合同编号",
  8397. "type": "string"
  8398. },
  8399. "contractstatus": {
  8400. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8401. "type": "integer"
  8402. },
  8403. "contracttype": {
  8404. "description": "现货合同类型 - 1:采购 -1:销售",
  8405. "type": "integer"
  8406. },
  8407. "enumdicname": {
  8408. "description": "单位名称",
  8409. "type": "string"
  8410. },
  8411. "goodscode": {
  8412. "description": "点价合约",
  8413. "type": "string"
  8414. },
  8415. "goodsname": {
  8416. "description": "商品名称",
  8417. "type": "string"
  8418. },
  8419. "operateapplyid": {
  8420. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8421. "type": "string"
  8422. },
  8423. "operateapplytype": {
  8424. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8425. "type": "integer"
  8426. },
  8427. "pricemove": {
  8428. "description": "升贴水",
  8429. "type": "number"
  8430. },
  8431. "pricetype": {
  8432. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8433. "type": "integer"
  8434. },
  8435. "reckontype": {
  8436. "description": "结算类型",
  8437. "type": "string"
  8438. },
  8439. "reckonvalue": {
  8440. "description": "值",
  8441. "type": "number"
  8442. },
  8443. "relatedid": {
  8444. "description": "现货合同ID",
  8445. "type": "string"
  8446. },
  8447. "sellusername": {
  8448. "description": "销售方名字",
  8449. "type": "string"
  8450. },
  8451. "userid": {
  8452. "description": "用户ID",
  8453. "type": "integer"
  8454. },
  8455. "wrstandardcode": {
  8456. "description": "现货商品代码",
  8457. "type": "string"
  8458. },
  8459. "wrstandardid": {
  8460. "description": "现货商品id",
  8461. "type": "integer"
  8462. },
  8463. "wrstandardname": {
  8464. "description": "现货商品名称",
  8465. "type": "string"
  8466. }
  8467. }
  8468. },
  8469. "ermcp.QryBussinessJsRsp": {
  8470. "type": "object",
  8471. "properties": {
  8472. "addmargin": {
  8473. "description": "追加保证金(非必填)",
  8474. "type": "number"
  8475. },
  8476. "applyid": {
  8477. "description": "申请人",
  8478. "type": "string"
  8479. },
  8480. "applyname": {
  8481. "description": "申请人名称",
  8482. "type": "string"
  8483. },
  8484. "applystatus": {
  8485. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8486. "type": "integer"
  8487. },
  8488. "applytime": {
  8489. "description": "申请时间",
  8490. "type": "string"
  8491. },
  8492. "attachurl": {
  8493. "description": "附件",
  8494. "type": "string"
  8495. },
  8496. "auditname": {
  8497. "description": "审核人名称",
  8498. "type": "string"
  8499. },
  8500. "audittime": {
  8501. "description": "审核时间",
  8502. "type": "string"
  8503. },
  8504. "buyusername": {
  8505. "description": "采购方名称",
  8506. "type": "string"
  8507. },
  8508. "contractno": {
  8509. "description": "合同编号",
  8510. "type": "string"
  8511. },
  8512. "contractstatus": {
  8513. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8514. "type": "integer"
  8515. },
  8516. "contracttype": {
  8517. "description": "现货合同类型 - 1:采购 -1:销售",
  8518. "type": "integer"
  8519. },
  8520. "decmargin": {
  8521. "description": "减少保证金(非必填)",
  8522. "type": "number"
  8523. },
  8524. "enumdicname": {
  8525. "description": "单位名称",
  8526. "type": "string"
  8527. },
  8528. "goodscode": {
  8529. "description": "点价合约",
  8530. "type": "string"
  8531. },
  8532. "goodsname": {
  8533. "description": "商品名称",
  8534. "type": "string"
  8535. },
  8536. "operateapplyid": {
  8537. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8538. "type": "string"
  8539. },
  8540. "operateapplytype": {
  8541. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8542. "type": "integer"
  8543. },
  8544. "pricemove": {
  8545. "description": "升贴水",
  8546. "type": "number"
  8547. },
  8548. "pricetype": {
  8549. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8550. "type": "integer"
  8551. },
  8552. "reckonadjustamount": {
  8553. "description": "结算调整金额(非必填)",
  8554. "type": "number"
  8555. },
  8556. "reckonosamount": {
  8557. "description": "结算溢短金额(非必填)",
  8558. "type": "number"
  8559. },
  8560. "reckonotheramount": {
  8561. "description": "结算其他费用(非必填)",
  8562. "type": "number"
  8563. },
  8564. "reckonrealqty": {
  8565. "description": "结算实际数量(非必填)",
  8566. "type": "number"
  8567. },
  8568. "relatedid": {
  8569. "description": "现货合同ID",
  8570. "type": "string"
  8571. },
  8572. "sellusername": {
  8573. "description": "销售方名字",
  8574. "type": "string"
  8575. },
  8576. "userid": {
  8577. "description": "用户ID",
  8578. "type": "integer"
  8579. },
  8580. "wrstandardcode": {
  8581. "description": "现货商品代码",
  8582. "type": "string"
  8583. },
  8584. "wrstandardid": {
  8585. "description": "现货商品id",
  8586. "type": "integer"
  8587. },
  8588. "wrstandardname": {
  8589. "description": "现货商品名称",
  8590. "type": "string"
  8591. }
  8592. }
  8593. },
  8594. "ermcp.QryBussinessKxRsp": {
  8595. "type": "object",
  8596. "properties": {
  8597. "applyid": {
  8598. "description": "申请人",
  8599. "type": "string"
  8600. },
  8601. "applyname": {
  8602. "description": "申请人名称",
  8603. "type": "string"
  8604. },
  8605. "applystatus": {
  8606. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8607. "type": "integer"
  8608. },
  8609. "applytime": {
  8610. "description": "申请时间",
  8611. "type": "string"
  8612. },
  8613. "attachurl": {
  8614. "description": "附件",
  8615. "type": "string"
  8616. },
  8617. "auditname": {
  8618. "description": "审核人名称",
  8619. "type": "string"
  8620. },
  8621. "audittime": {
  8622. "description": "审核时间",
  8623. "type": "string"
  8624. },
  8625. "buyusername": {
  8626. "description": "采购方名称",
  8627. "type": "string"
  8628. },
  8629. "contractno": {
  8630. "description": "合同编号",
  8631. "type": "string"
  8632. },
  8633. "contractstatus": {
  8634. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8635. "type": "integer"
  8636. },
  8637. "contracttype": {
  8638. "description": "现货合同类型 - 1:采购 -1:销售",
  8639. "type": "integer"
  8640. },
  8641. "deductamount": {
  8642. "description": "退款(非必填)",
  8643. "type": "number"
  8644. },
  8645. "enumdicname": {
  8646. "description": "单位名称",
  8647. "type": "string"
  8648. },
  8649. "goodscode": {
  8650. "description": "点价合约",
  8651. "type": "string"
  8652. },
  8653. "goodsname": {
  8654. "description": "商品名称",
  8655. "type": "string"
  8656. },
  8657. "kxtype": {
  8658. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  8659. "type": "integer"
  8660. },
  8661. "operateapplyid": {
  8662. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8663. "type": "string"
  8664. },
  8665. "operateapplytype": {
  8666. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8667. "type": "integer"
  8668. },
  8669. "payamount": {
  8670. "description": "收付款(非必填)",
  8671. "type": "number"
  8672. },
  8673. "pricemove": {
  8674. "description": "升贴水",
  8675. "type": "number"
  8676. },
  8677. "pricetype": {
  8678. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8679. "type": "integer"
  8680. },
  8681. "relatedid": {
  8682. "description": "现货合同ID",
  8683. "type": "string"
  8684. },
  8685. "sellusername": {
  8686. "description": "销售方名字",
  8687. "type": "string"
  8688. },
  8689. "userid": {
  8690. "description": "用户ID",
  8691. "type": "integer"
  8692. },
  8693. "wrstandardcode": {
  8694. "description": "现货商品代码",
  8695. "type": "string"
  8696. },
  8697. "wrstandardid": {
  8698. "description": "现货商品id",
  8699. "type": "integer"
  8700. },
  8701. "wrstandardname": {
  8702. "description": "现货商品名称",
  8703. "type": "string"
  8704. }
  8705. }
  8706. },
  8707. "ermcp.QryErmcpRsp": {
  8708. "$ref": "#/definitions/models.ErmcpModel"
  8709. },
  8710. "ermcp.QryGGCovertCfgRsp": {
  8711. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  8712. },
  8713. "ermcp.QryHedgePlanRsp": {
  8714. "$ref": "#/definitions/models.ErmcpHedgePlan"
  8715. },
  8716. "ermcp.QryMGChangeLogRsp": {
  8717. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  8718. },
  8719. "ermcp.QryMiddleGoodsDetailRsp": {
  8720. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  8721. },
  8722. "ermcp.QryMiddleGoodsRsp": {
  8723. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8724. },
  8725. "ermcp.QryOPLogRsp": {
  8726. "$ref": "#/definitions/models.ErmcpOPLogModel"
  8727. },
  8728. "ermcp.QryReportDaySpotDetailRsp": {
  8729. "$ref": "#/definitions/models.ErmcpReportOPLog"
  8730. },
  8731. "ermcp.QryReportExposureDayRsp": {
  8732. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  8733. },
  8734. "ermcp.QryReportFinanceDayRsp": {
  8735. "$ref": "#/definitions/models.ErmcpReportDayFR"
  8736. },
  8737. "ermcp.QryReportFinanceKxRsp": {
  8738. "$ref": "#/definitions/models.ErmcpReportOPLog"
  8739. },
  8740. "ermcp.QryReportFinanceMonRsp": {
  8741. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  8742. },
  8743. "ermcp.QryReportSpotDayRsp": {
  8744. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  8745. },
  8746. "ermcp.QryReportSpotMonRsp": {
  8747. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  8748. },
  8749. "ermcp.QryReportSpotMonthDetailRsp": {
  8750. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  8751. },
  8752. "ermcp.QrySpotContractRsp": {
  8753. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  8754. },
  8755. "ermcp.QryUserInfoRsp": {
  8756. "$ref": "#/definitions/models.ErmcpUserModel"
  8757. },
  8758. "ermcp.QryWarehouseRsp": {
  8759. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  8760. },
  8761. "ermcp.QryWrStandardDetailRsp": {
  8762. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  8763. },
  8764. "ermcp.QryWrStandardRsp": {
  8765. "$ref": "#/definitions/models.ErmcpWrstandard"
  8766. },
  8767. "ermcp.QueryAreaStockApplySumRsp": {
  8768. "$ref": "#/definitions/models.ErmcpAreaStockApplySum"
  8769. },
  8770. "ermcp.QueryErmcpTradePositionRsp": {
  8771. "type": "object",
  8772. "properties": {
  8773. "agreeunit": {
  8774. "description": "合约单位",
  8775. "type": "number"
  8776. },
  8777. "buyorsell": {
  8778. "description": "方向 - 0:买 1:卖",
  8779. "type": "integer"
  8780. },
  8781. "curpositionqty": {
  8782. "description": "持仓(总仓数量, 期末头寸)",
  8783. "type": "integer"
  8784. },
  8785. "curtdposition": {
  8786. "description": "今仓数量(期末今日头寸)",
  8787. "type": "integer"
  8788. },
  8789. "curtdpositionenabled": {
  8790. "description": "今仓可用",
  8791. "type": "integer"
  8792. },
  8793. "decimalplace": {
  8794. "description": "报价小数位",
  8795. "type": "integer"
  8796. },
  8797. "enableqty": {
  8798. "description": "可用(总仓可用)",
  8799. "type": "integer"
  8800. },
  8801. "exexchangename": {
  8802. "description": "外部交易所名称",
  8803. "type": "string"
  8804. },
  8805. "goodscode": {
  8806. "description": "商品代码(内部)",
  8807. "type": "string"
  8808. },
  8809. "goodsid": {
  8810. "description": "商品ID(自增ID SEQ_GOODS)",
  8811. "type": "integer"
  8812. },
  8813. "goodsname": {
  8814. "description": "商品名称",
  8815. "type": "string"
  8816. },
  8817. "last": {
  8818. "description": "现价",
  8819. "type": "number"
  8820. },
  8821. "marketid": {
  8822. "description": "所属市场ID",
  8823. "type": "integer"
  8824. },
  8825. "openaverageprice": {
  8826. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  8827. "type": "number"
  8828. },
  8829. "opencost": {
  8830. "description": "开仓成本",
  8831. "type": "number"
  8832. },
  8833. "openpl": {
  8834. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  8835. "type": "number"
  8836. },
  8837. "outgoodscode": {
  8838. "description": "商品代码(外部)",
  8839. "type": "string"
  8840. },
  8841. "positionaverageprice": {
  8842. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  8843. "type": "number"
  8844. },
  8845. "positioncost": {
  8846. "description": "持仓成本",
  8847. "type": "number"
  8848. },
  8849. "positionpl": {
  8850. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  8851. "type": "number"
  8852. },
  8853. "positionplrate": {
  8854. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  8855. "type": "number"
  8856. },
  8857. "usedmargin": {
  8858. "description": "占用保证金",
  8859. "type": "number"
  8860. }
  8861. }
  8862. },
  8863. "ermcp.RealtimeExposurePositionRsp": {
  8864. "$ref": "#/definitions/models.ErmcpExposurePostion"
  8865. },
  8866. "ermcp.RealtimeExposureRsp": {
  8867. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  8868. },
  8869. "erms2.QueryArbitrageStrategyRsp": {
  8870. "type": "object",
  8871. "required": [
  8872. "asapplyid"
  8873. ],
  8874. "properties": {
  8875. "applybasis": {
  8876. "description": "申请基差",
  8877. "type": "number"
  8878. },
  8879. "asapplyid": {
  8880. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  8881. "type": "string"
  8882. },
  8883. "asname": {
  8884. "description": "策略名称",
  8885. "type": "string"
  8886. },
  8887. "asno": {
  8888. "description": "策略编号",
  8889. "type": "string"
  8890. },
  8891. "basischangepl": {
  8892. "description": "基差变动损益[结算更新]",
  8893. "type": "number"
  8894. },
  8895. "biztype": {
  8896. "description": "业务类型 - 1:正向套利 -1:反向套利",
  8897. "type": "integer"
  8898. },
  8899. "closetradedate": {
  8900. "description": "完结交易日(yyyyMMdd)",
  8901. "type": "string"
  8902. },
  8903. "curbasis": {
  8904. "description": "当前基差[结算更新]",
  8905. "type": "number"
  8906. },
  8907. "deliverygoodsid": {
  8908. "description": "现货品种ID",
  8909. "type": "integer"
  8910. },
  8911. "futureavgprice": {
  8912. "description": "期货建仓均价",
  8913. "type": "number"
  8914. },
  8915. "futurecloseamount": {
  8916. "description": "期货平仓金额",
  8917. "type": "number"
  8918. },
  8919. "futurecloseqty": {
  8920. "description": "期货平仓数量",
  8921. "type": "number"
  8922. },
  8923. "futureopenamount": {
  8924. "description": "期货开仓金额",
  8925. "type": "number"
  8926. },
  8927. "futureopenqty": {
  8928. "description": "期货开仓数量",
  8929. "type": "number"
  8930. },
  8931. "futurepl": {
  8932. "description": "期货总盈亏[结算更新]",
  8933. "type": "number"
  8934. },
  8935. "futureqty": {
  8936. "description": "期货持仓数量",
  8937. "type": "number"
  8938. },
  8939. "futurequote": {
  8940. "description": "期货额度",
  8941. "type": "number"
  8942. },
  8943. "goodsgroupid": {
  8944. "description": "期货品种ID",
  8945. "type": "integer"
  8946. },
  8947. "marketid": {
  8948. "description": "市场ID",
  8949. "type": "integer"
  8950. },
  8951. "netexposure": {
  8952. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  8953. "type": "number"
  8954. },
  8955. "netexposurepl": {
  8956. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  8957. "type": "number"
  8958. },
  8959. "netexposurerate": {
  8960. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  8961. "type": "number"
  8962. },
  8963. "openbasis": {
  8964. "description": "建仓基差",
  8965. "type": "number"
  8966. },
  8967. "pricedspotqty": {
  8968. "description": "已定价现货数量",
  8969. "type": "number"
  8970. },
  8971. "pricedspotqtynotax": {
  8972. "description": "已定价现货不含税数量",
  8973. "type": "number"
  8974. },
  8975. "remark": {
  8976. "description": "备注",
  8977. "type": "string"
  8978. },
  8979. "spotavgprice": {
  8980. "description": "现货均价",
  8981. "type": "number"
  8982. },
  8983. "spotbuyamount": {
  8984. "description": "现货采购金额",
  8985. "type": "number"
  8986. },
  8987. "spotbuyqty": {
  8988. "description": "现货采购数量",
  8989. "type": "number"
  8990. },
  8991. "spotpl": {
  8992. "description": "现货总盈亏[结算更新]",
  8993. "type": "number"
  8994. },
  8995. "spotquota": {
  8996. "description": "现货额度",
  8997. "type": "number"
  8998. },
  8999. "spotsellamount": {
  9000. "description": "现货销售金额",
  9001. "type": "number"
  9002. },
  9003. "spotsellqty": {
  9004. "description": "现货销售数量",
  9005. "type": "number"
  9006. },
  9007. "spotusedquota": {
  9008. "description": "现货占用资金",
  9009. "type": "number"
  9010. },
  9011. "strategystatus": {
  9012. "description": "策略状态 - 0:未结束 1:已结束",
  9013. "type": "integer"
  9014. },
  9015. "totalpl": {
  9016. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9017. "type": "number"
  9018. },
  9019. "tradedate": {
  9020. "description": "交易日(yyyyMMdd)",
  9021. "type": "string"
  9022. },
  9023. "updatetime": {
  9024. "description": "更新时间",
  9025. "type": "string"
  9026. },
  9027. "usedquota": {
  9028. "description": "已占用资金",
  9029. "type": "number"
  9030. },
  9031. "userid": {
  9032. "description": "所属机构",
  9033. "type": "integer"
  9034. }
  9035. }
  9036. },
  9037. "erms2.QueryInnerTradeDetailRsp": {
  9038. "type": "object",
  9039. "required": [
  9040. "asapplyid",
  9041. "buyorsell",
  9042. "goodscode",
  9043. "goodsgroupid",
  9044. "goodsgroupname",
  9045. "goodsname",
  9046. "tradeid"
  9047. ],
  9048. "properties": {
  9049. "accountid": {
  9050. "description": "账号ID",
  9051. "type": "integer"
  9052. },
  9053. "agreeunit": {
  9054. "description": "合约单位",
  9055. "type": "number"
  9056. },
  9057. "asapplyid": {
  9058. "description": "策略申请ID",
  9059. "type": "integer"
  9060. },
  9061. "asname": {
  9062. "description": "策略名称",
  9063. "type": "string"
  9064. },
  9065. "asno": {
  9066. "description": "策略编号",
  9067. "type": "string"
  9068. },
  9069. "buyorsell": {
  9070. "description": "方向 - 0:买 1:卖",
  9071. "type": "integer"
  9072. },
  9073. "channelbuildtype": {
  9074. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9075. "type": "integer"
  9076. },
  9077. "closetype": {
  9078. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9079. "type": "integer"
  9080. },
  9081. "decimalplace": {
  9082. "description": "报价小数位",
  9083. "type": "integer"
  9084. },
  9085. "detailtype": {
  9086. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9087. "type": "integer"
  9088. },
  9089. "exexchangecode": {
  9090. "description": "外部交易所代码",
  9091. "type": "string"
  9092. },
  9093. "exexchangename": {
  9094. "description": "外部交易所名称",
  9095. "type": "string"
  9096. },
  9097. "goodscode": {
  9098. "description": "商品代码(合约)",
  9099. "type": "string"
  9100. },
  9101. "goodsgroupid": {
  9102. "description": "商品组ID(品种ID)",
  9103. "type": "integer"
  9104. },
  9105. "goodsgroupname": {
  9106. "description": "商品组名称(品种)",
  9107. "type": "string"
  9108. },
  9109. "goodsid": {
  9110. "description": "商品ID",
  9111. "type": "integer"
  9112. },
  9113. "goodsname": {
  9114. "description": "商品名称(合约)",
  9115. "type": "string"
  9116. },
  9117. "goodunit": {
  9118. "description": "报价单位",
  9119. "type": "string"
  9120. },
  9121. "marketid": {
  9122. "description": "市场ID",
  9123. "type": "integer"
  9124. },
  9125. "orderid": {
  9126. "description": "委托单号",
  9127. "type": "string"
  9128. },
  9129. "outgoodscode": {
  9130. "description": "商品代码(外部)",
  9131. "type": "string"
  9132. },
  9133. "relatedouttradeid": {
  9134. "description": "关联外部成交单ID",
  9135. "type": "string"
  9136. },
  9137. "remark": {
  9138. "description": "备注",
  9139. "type": "string"
  9140. },
  9141. "spotcontractid": {
  9142. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  9143. "type": "integer"
  9144. },
  9145. "spotcontractno": {
  9146. "description": "现货合同编号",
  9147. "type": "string"
  9148. },
  9149. "tradeid": {
  9150. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9151. "type": "string"
  9152. },
  9153. "tradeprice": {
  9154. "description": "成交价格",
  9155. "type": "number"
  9156. },
  9157. "tradeqty": {
  9158. "description": "成交数量",
  9159. "type": "integer"
  9160. },
  9161. "tradetime": {
  9162. "description": "成交时间",
  9163. "type": "string"
  9164. },
  9165. "updatetime": {
  9166. "description": "更新时间",
  9167. "type": "string"
  9168. }
  9169. }
  9170. },
  9171. "erms2.QuerySpotContractRsp": {
  9172. "type": "object",
  9173. "required": [
  9174. "spotcontractid"
  9175. ],
  9176. "properties": {
  9177. "accountid": {
  9178. "description": "资金账户ID",
  9179. "type": "integer"
  9180. },
  9181. "areauserid": {
  9182. "description": "所属机构",
  9183. "type": "integer"
  9184. },
  9185. "closedate": {
  9186. "description": "终止日期",
  9187. "type": "string"
  9188. },
  9189. "closeremark": {
  9190. "description": "结束备注",
  9191. "type": "string"
  9192. },
  9193. "closetradedate": {
  9194. "description": "完结交易日(yyyyMMdd)",
  9195. "type": "string"
  9196. },
  9197. "closetype": {
  9198. "description": "终止类型 - 1:违约 2:提前终止",
  9199. "type": "integer"
  9200. },
  9201. "contractamount": {
  9202. "description": "合同金额",
  9203. "type": "number"
  9204. },
  9205. "contractattachment": {
  9206. "description": "合同附件",
  9207. "type": "string"
  9208. },
  9209. "contractno": {
  9210. "description": "现货合同编号",
  9211. "type": "string"
  9212. },
  9213. "contractqty": {
  9214. "description": "合同数量(数值) (用于计算)",
  9215. "type": "number"
  9216. },
  9217. "contractqtychar": {
  9218. "description": "合同数量\\已订价数量 (用于显示)",
  9219. "type": "string"
  9220. },
  9221. "contractstatus": {
  9222. "description": "合同状态 - 0:未结束 1:已结束",
  9223. "type": "integer"
  9224. },
  9225. "contracttype": {
  9226. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  9227. "type": "integer"
  9228. },
  9229. "customeraccountid": {
  9230. "description": "客户资金账户ID",
  9231. "type": "integer"
  9232. },
  9233. "customeruserid": {
  9234. "description": "客户ID",
  9235. "type": "integer"
  9236. },
  9237. "deliverygoodsdesc": {
  9238. "description": "品种说明",
  9239. "type": "string"
  9240. },
  9241. "deliverygoodsid": {
  9242. "description": "现货品种ID",
  9243. "type": "integer"
  9244. },
  9245. "handlestatus": {
  9246. "description": "处理状态",
  9247. "type": "integer"
  9248. },
  9249. "invoiceatt": {
  9250. "description": "发票附件",
  9251. "type": "string"
  9252. },
  9253. "invoicedatetime": {
  9254. "description": "开收票更新时间",
  9255. "type": "string"
  9256. },
  9257. "invoiceopentime": {
  9258. "description": "开票时间",
  9259. "type": "string"
  9260. },
  9261. "invoiceremark": {
  9262. "description": "发票备注",
  9263. "type": "string"
  9264. },
  9265. "invoicestatus": {
  9266. "description": "开收票状态 - 0:未开票 1:已开票",
  9267. "type": "integer"
  9268. },
  9269. "lastdate": {
  9270. "description": "交货时间",
  9271. "type": "string"
  9272. },
  9273. "marketid": {
  9274. "description": "市场ID",
  9275. "type": "integer"
  9276. },
  9277. "paydatetime": {
  9278. "description": "收付款更新时间",
  9279. "type": "string"
  9280. },
  9281. "payremark": {
  9282. "description": "收付款备注",
  9283. "type": "string"
  9284. },
  9285. "paystatus": {
  9286. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  9287. "type": "integer"
  9288. },
  9289. "positionqty": {
  9290. "description": "头寸数量 - 合同数量去小数部分",
  9291. "type": "integer"
  9292. },
  9293. "producttype": {
  9294. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9295. "type": "integer"
  9296. },
  9297. "relatedqty": {
  9298. "description": "已关联数量",
  9299. "type": "number"
  9300. },
  9301. "relatedstatus": {
  9302. "description": "关联完结状态 - 0:未结束 1:已结束",
  9303. "type": "integer"
  9304. },
  9305. "remark": {
  9306. "description": "备注",
  9307. "type": "string"
  9308. },
  9309. "signdate": {
  9310. "description": "签订日期",
  9311. "type": "string"
  9312. },
  9313. "spotcontractid": {
  9314. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  9315. "type": "string"
  9316. },
  9317. "spotdatetime": {
  9318. "description": "收发货更新时间",
  9319. "type": "string"
  9320. },
  9321. "spotprice": {
  9322. "description": "价格",
  9323. "type": "number"
  9324. },
  9325. "spotremark": {
  9326. "description": "收发货备注",
  9327. "type": "string"
  9328. },
  9329. "spotstatus": {
  9330. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  9331. "type": "integer"
  9332. },
  9333. "tradedate": {
  9334. "description": "交易日(yyyyMMdd)",
  9335. "type": "string"
  9336. },
  9337. "userid": {
  9338. "description": "业务员用户ID",
  9339. "type": "integer"
  9340. },
  9341. "warehouseid": {
  9342. "description": "仓库ID",
  9343. "type": "integer"
  9344. },
  9345. "wrfactortypeid": {
  9346. "description": "仓单要素类型ID",
  9347. "type": "integer"
  9348. },
  9349. "wrstandardid": {
  9350. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  9351. "type": "integer"
  9352. }
  9353. }
  9354. },
  9355. "erms3.AddErms2ASApplyReq": {
  9356. "type": "object",
  9357. "required": [
  9358. "asapplyid"
  9359. ],
  9360. "properties": {
  9361. "applybasis": {
  9362. "description": "申请基差",
  9363. "type": "number"
  9364. },
  9365. "applystatus": {
  9366. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9367. "type": "integer"
  9368. },
  9369. "asapplyid": {
  9370. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  9371. "type": "integer"
  9372. },
  9373. "asname": {
  9374. "description": "策略名称",
  9375. "type": "string"
  9376. },
  9377. "asno": {
  9378. "description": "策略编号",
  9379. "type": "string"
  9380. },
  9381. "auditid": {
  9382. "description": "审核人",
  9383. "type": "integer"
  9384. },
  9385. "auditremark": {
  9386. "description": "审核备注",
  9387. "type": "string"
  9388. },
  9389. "audittime": {
  9390. "description": "审核时间",
  9391. "type": "string"
  9392. },
  9393. "biztype": {
  9394. "description": "业务类型 - 1:正向套利 2:反向套利",
  9395. "type": "integer"
  9396. },
  9397. "createtime": {
  9398. "description": "创建时间",
  9399. "type": "string"
  9400. },
  9401. "creatorid": {
  9402. "description": "创建人",
  9403. "type": "integer"
  9404. },
  9405. "deliverygoodsid": {
  9406. "description": "现货品种ID",
  9407. "type": "integer"
  9408. },
  9409. "futurequote": {
  9410. "description": "期货额度",
  9411. "type": "number"
  9412. },
  9413. "goodsgroupid": {
  9414. "description": "期货品种ID",
  9415. "type": "integer"
  9416. },
  9417. "marketid": {
  9418. "description": "市场ID",
  9419. "type": "integer"
  9420. },
  9421. "remark": {
  9422. "description": "备注",
  9423. "type": "string"
  9424. },
  9425. "spotquota": {
  9426. "description": "现货额度",
  9427. "type": "number"
  9428. },
  9429. "tradedate": {
  9430. "description": "交易日(yyyyMMdd)",
  9431. "type": "string"
  9432. },
  9433. "userid": {
  9434. "description": "所属机构",
  9435. "type": "integer"
  9436. }
  9437. }
  9438. },
  9439. "erms3.AddErms2SpotTradeApplyReq": {
  9440. "type": "object",
  9441. "required": [
  9442. "spottradeid"
  9443. ],
  9444. "properties": {
  9445. "applyjsondetail": {
  9446. "description": "申请明细(JSON)",
  9447. "type": "string"
  9448. },
  9449. "applystatus": {
  9450. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9451. "type": "integer"
  9452. },
  9453. "areauserid": {
  9454. "description": "所属机构",
  9455. "type": "integer"
  9456. },
  9457. "auditid": {
  9458. "description": "审核人",
  9459. "type": "integer"
  9460. },
  9461. "auditremark": {
  9462. "description": "审核备注",
  9463. "type": "string"
  9464. },
  9465. "audittime": {
  9466. "description": "审核时间",
  9467. "type": "string"
  9468. },
  9469. "createtime": {
  9470. "description": "创建时间",
  9471. "type": "string"
  9472. },
  9473. "creatorid": {
  9474. "description": "创建人",
  9475. "type": "integer"
  9476. },
  9477. "deliverygoodsid": {
  9478. "description": "现货品种ID",
  9479. "type": "integer"
  9480. },
  9481. "futureaccountid": {
  9482. "description": "期货资金账户",
  9483. "type": "integer"
  9484. },
  9485. "goodsgroupid": {
  9486. "description": "期货品种",
  9487. "type": "integer"
  9488. },
  9489. "marketid": {
  9490. "description": "市场ID",
  9491. "type": "integer"
  9492. },
  9493. "remark": {
  9494. "description": "备注",
  9495. "type": "string"
  9496. },
  9497. "spotaccountid": {
  9498. "description": "现货资金账户",
  9499. "type": "integer"
  9500. },
  9501. "spottradeid": {
  9502. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  9503. "type": "integer"
  9504. },
  9505. "spottradename": {
  9506. "description": "业务名称",
  9507. "type": "string"
  9508. },
  9509. "spottradeno": {
  9510. "description": "业务编号",
  9511. "type": "string"
  9512. },
  9513. "tradedate": {
  9514. "description": "交易日(yyyyMMdd)",
  9515. "type": "string"
  9516. },
  9517. "wrstandardid": {
  9518. "description": "仓单标准ID",
  9519. "type": "integer"
  9520. }
  9521. }
  9522. },
  9523. "erms3.AddSpotContractApplyReq": {
  9524. "type": "object",
  9525. "required": [
  9526. "accountid",
  9527. "areauserid",
  9528. "contractno",
  9529. "contracttype",
  9530. "customeraccountid",
  9531. "customeruserid",
  9532. "details",
  9533. "orimargin",
  9534. "signdate"
  9535. ],
  9536. "properties": {
  9537. "accountid": {
  9538. "description": "资金账户ID",
  9539. "type": "integer"
  9540. },
  9541. "areauserid": {
  9542. "description": "所属机构",
  9543. "type": "integer"
  9544. },
  9545. "contractattachment": {
  9546. "description": "合同附件",
  9547. "type": "string"
  9548. },
  9549. "contractno": {
  9550. "description": "现货合同编号",
  9551. "type": "string"
  9552. },
  9553. "contracttype": {
  9554. "description": "现货合同类型 - 1:采购 -1:销售",
  9555. "type": "integer"
  9556. },
  9557. "creatorid": {
  9558. "description": "申请人",
  9559. "type": "integer"
  9560. },
  9561. "customeraccountid": {
  9562. "description": "客户资金账户ID",
  9563. "type": "integer"
  9564. },
  9565. "customeruserid": {
  9566. "description": "客户ID",
  9567. "type": "integer"
  9568. },
  9569. "details": {
  9570. "description": "明细",
  9571. "type": "array",
  9572. "items": {
  9573. "$ref": "#/definitions/erms3.SoptContractDetail"
  9574. }
  9575. },
  9576. "orimargin": {
  9577. "description": "初始保证金",
  9578. "type": "number"
  9579. },
  9580. "remark": {
  9581. "description": "备注",
  9582. "type": "string"
  9583. },
  9584. "signdate": {
  9585. "description": "签订日期",
  9586. "type": "string"
  9587. }
  9588. }
  9589. },
  9590. "erms3.AddSpotContractApplyRsp": {
  9591. "type": "object",
  9592. "required": [
  9593. "contractno"
  9594. ],
  9595. "properties": {
  9596. "contractno": {
  9597. "description": "现货合同编号",
  9598. "type": "string"
  9599. },
  9600. "spotcontractid": {
  9601. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  9602. "type": "integer"
  9603. }
  9604. }
  9605. },
  9606. "erms3.AddUserInfoApplyReq": {
  9607. "type": "object",
  9608. "required": [
  9609. "userid"
  9610. ],
  9611. "properties": {
  9612. "accountid": {
  9613. "description": "交易系统帐号Id (加密存储)",
  9614. "type": "integer"
  9615. },
  9616. "areacode": {
  9617. "description": "机构代码",
  9618. "type": "string"
  9619. },
  9620. "areaid": {
  9621. "description": "机构Id",
  9622. "type": "integer"
  9623. },
  9624. "attachment1": {
  9625. "description": "附件1",
  9626. "type": "string"
  9627. },
  9628. "attachment2": {
  9629. "description": "附件2",
  9630. "type": "string"
  9631. },
  9632. "attachment3": {
  9633. "description": "附件3",
  9634. "type": "string"
  9635. },
  9636. "attachment4": {
  9637. "description": "附件4",
  9638. "type": "string"
  9639. },
  9640. "attachment5": {
  9641. "description": "附件5",
  9642. "type": "string"
  9643. },
  9644. "auditedby": {
  9645. "description": "审核人",
  9646. "type": "string"
  9647. },
  9648. "auditime": {
  9649. "description": "审核时间",
  9650. "type": "string"
  9651. },
  9652. "bankaccount": {
  9653. "description": "银行帐号 (加密存储)",
  9654. "type": "string"
  9655. },
  9656. "bankaccountname": {
  9657. "description": "收款人名称",
  9658. "type": "string"
  9659. },
  9660. "bankcardbackphotourl": {
  9661. "description": "银行卡背面照地址",
  9662. "type": "string"
  9663. },
  9664. "bankcardfrontphotourl": {
  9665. "description": "银行卡正面照地址",
  9666. "type": "string"
  9667. },
  9668. "bankid": {
  9669. "description": "银行编码",
  9670. "type": "string"
  9671. },
  9672. "bankname": {
  9673. "description": "银行名称",
  9674. "type": "string"
  9675. },
  9676. "bankpictureurl": {
  9677. "description": "银行卡正面地址",
  9678. "type": "string"
  9679. },
  9680. "biznature": {
  9681. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9682. "type": "integer"
  9683. },
  9684. "bizscope": {
  9685. "description": "企业经营范围(企业)",
  9686. "type": "string"
  9687. },
  9688. "biztype": {
  9689. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  9690. "type": "integer"
  9691. },
  9692. "brokerid": {
  9693. "description": "经纪人ID(加密存储)",
  9694. "type": "string"
  9695. },
  9696. "cardaddress": {
  9697. "description": "证件地址 (加密存储)",
  9698. "type": "string"
  9699. },
  9700. "cardbackphotourl": {
  9701. "description": "背面证件照地址",
  9702. "type": "string"
  9703. },
  9704. "cardfrontphotourl": {
  9705. "description": "正面证件照地址",
  9706. "type": "string"
  9707. },
  9708. "cardnum": {
  9709. "description": "证件号码 (加密存储)",
  9710. "type": "string"
  9711. },
  9712. "cardtype": {
  9713. "description": "证件类型",
  9714. "type": "integer"
  9715. },
  9716. "cityid": {
  9717. "description": "市",
  9718. "type": "integer"
  9719. },
  9720. "company": {
  9721. "description": "公司(个人)",
  9722. "type": "string"
  9723. },
  9724. "contactcardbackphotourl": {
  9725. "description": "联系人证件背面图片地址",
  9726. "type": "string"
  9727. },
  9728. "contactcardfrontphotourl": {
  9729. "description": "联系人证件正面图片地址",
  9730. "type": "string"
  9731. },
  9732. "contactname": {
  9733. "description": "联系人",
  9734. "type": "string"
  9735. },
  9736. "countryid": {
  9737. "description": "国家",
  9738. "type": "integer"
  9739. },
  9740. "createtime": {
  9741. "description": "开户申请时间",
  9742. "type": "string"
  9743. },
  9744. "cusbankid": {
  9745. "description": "签约类型",
  9746. "type": "string"
  9747. },
  9748. "cusbankname": {
  9749. "description": "签约类型名称",
  9750. "type": "string"
  9751. },
  9752. "customername": {
  9753. "description": "客户名称(企业名称)",
  9754. "type": "string"
  9755. },
  9756. "districtid": {
  9757. "description": "地区",
  9758. "type": "integer"
  9759. },
  9760. "email": {
  9761. "description": "Email地址(加密存储)",
  9762. "type": "string"
  9763. },
  9764. "halfbodyphotourl": {
  9765. "description": "半身照地址",
  9766. "type": "string"
  9767. },
  9768. "headurl": {
  9769. "description": "头像地址",
  9770. "type": "string"
  9771. },
  9772. "ipaddress": {
  9773. "description": "IP地址",
  9774. "type": "string"
  9775. },
  9776. "isvalidate": {
  9777. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  9778. "type": "string"
  9779. },
  9780. "legalcardbackphotourl": {
  9781. "description": "法人身份证背面照地址",
  9782. "type": "string"
  9783. },
  9784. "legalcardfrontphotourl": {
  9785. "description": "法人身份证正面照地址",
  9786. "type": "string"
  9787. },
  9788. "legalpersonname": {
  9789. "description": "法人姓名(企业)",
  9790. "type": "string"
  9791. },
  9792. "logincode": {
  9793. "description": "登录帐号 (加密存储)",
  9794. "type": "string"
  9795. },
  9796. "memberareaid": {
  9797. "description": "所属会员ID",
  9798. "type": "integer"
  9799. },
  9800. "mobile2": {
  9801. "description": "手机号码[明文-尚志]",
  9802. "type": "string"
  9803. },
  9804. "mobilephone": {
  9805. "description": "手机号码 (加密存储)",
  9806. "type": "string"
  9807. },
  9808. "modifiedby": {
  9809. "description": "修改人帐号",
  9810. "type": "integer"
  9811. },
  9812. "modifiedtime": {
  9813. "description": "修改时间",
  9814. "type": "string"
  9815. },
  9816. "nickname": {
  9817. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  9818. "type": "string"
  9819. },
  9820. "openmode": {
  9821. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  9822. "type": "integer"
  9823. },
  9824. "otherurl": {
  9825. "description": "其它图片地址[使用分号分隔]",
  9826. "type": "string"
  9827. },
  9828. "postalcode": {
  9829. "description": "邮政编码",
  9830. "type": "string"
  9831. },
  9832. "provinceid": {
  9833. "description": "省",
  9834. "type": "integer"
  9835. },
  9836. "proxystatementurl": {
  9837. "description": "授权委托书",
  9838. "type": "string"
  9839. },
  9840. "qq": {
  9841. "description": "QQ(加密存储",
  9842. "type": "string"
  9843. },
  9844. "referral": {
  9845. "description": "推荐人编码",
  9846. "type": "string"
  9847. },
  9848. "remark": {
  9849. "description": "备注",
  9850. "type": "string"
  9851. },
  9852. "removebeforestatus": {
  9853. "description": "REMOVEBEFORESTATUS",
  9854. "type": "integer"
  9855. },
  9856. "sex": {
  9857. "description": "性别 - 0:女 1:男",
  9858. "type": "integer"
  9859. },
  9860. "signedstatus": {
  9861. "description": "账户一号签签约状态",
  9862. "type": "integer"
  9863. },
  9864. "signpdfurl": {
  9865. "description": "签约pdf文件",
  9866. "type": "string"
  9867. },
  9868. "subbranch": {
  9869. "description": "开户支行",
  9870. "type": "string"
  9871. },
  9872. "telphone": {
  9873. "description": "联系电话(加密存储)",
  9874. "type": "string"
  9875. },
  9876. "userid": {
  9877. "description": "用户ID(自增ID)",
  9878. "type": "integer"
  9879. },
  9880. "userinfotype": {
  9881. "description": "用户信息类型 - 1:个人 2:企业",
  9882. "type": "integer"
  9883. },
  9884. "username": {
  9885. "description": "用户姓名",
  9886. "type": "string"
  9887. },
  9888. "userstate": {
  9889. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9890. "type": "integer"
  9891. },
  9892. "usertype": {
  9893. "description": "用户类型 - 1:投资者 2:机构",
  9894. "type": "integer"
  9895. },
  9896. "videourl": {
  9897. "description": "视频地址",
  9898. "type": "string"
  9899. },
  9900. "wechat": {
  9901. "description": "微信号 (加密存储)",
  9902. "type": "string"
  9903. }
  9904. }
  9905. },
  9906. "erms3.CustomerInfo": {
  9907. "type": "object",
  9908. "required": [
  9909. "userid"
  9910. ],
  9911. "properties": {
  9912. "accountids": {
  9913. "description": "资金账户ID列表",
  9914. "type": "array",
  9915. "items": {
  9916. "type": "integer"
  9917. }
  9918. },
  9919. "customername": {
  9920. "description": "名称(企业名称)",
  9921. "type": "string"
  9922. },
  9923. "mobile": {
  9924. "description": "手机号码",
  9925. "type": "string"
  9926. },
  9927. "userid": {
  9928. "description": "用户ID",
  9929. "type": "integer"
  9930. }
  9931. }
  9932. },
  9933. "erms3.ModifyUserInfoApplyReq": {
  9934. "type": "object",
  9935. "required": [
  9936. "userid"
  9937. ],
  9938. "properties": {
  9939. "accountid": {
  9940. "description": "交易系统帐号Id (加密存储)",
  9941. "type": "integer"
  9942. },
  9943. "areacode": {
  9944. "description": "机构代码",
  9945. "type": "string"
  9946. },
  9947. "areaid": {
  9948. "description": "机构Id",
  9949. "type": "integer"
  9950. },
  9951. "attachment1": {
  9952. "description": "附件1",
  9953. "type": "string"
  9954. },
  9955. "attachment2": {
  9956. "description": "附件2",
  9957. "type": "string"
  9958. },
  9959. "attachment3": {
  9960. "description": "附件3",
  9961. "type": "string"
  9962. },
  9963. "attachment4": {
  9964. "description": "附件4",
  9965. "type": "string"
  9966. },
  9967. "attachment5": {
  9968. "description": "附件5",
  9969. "type": "string"
  9970. },
  9971. "auditedby": {
  9972. "description": "审核人",
  9973. "type": "string"
  9974. },
  9975. "auditime": {
  9976. "description": "审核时间",
  9977. "type": "string"
  9978. },
  9979. "bankaccount": {
  9980. "description": "银行帐号 (加密存储)",
  9981. "type": "string"
  9982. },
  9983. "bankaccountname": {
  9984. "description": "收款人名称",
  9985. "type": "string"
  9986. },
  9987. "bankcardbackphotourl": {
  9988. "description": "银行卡背面照地址",
  9989. "type": "string"
  9990. },
  9991. "bankcardfrontphotourl": {
  9992. "description": "银行卡正面照地址",
  9993. "type": "string"
  9994. },
  9995. "bankid": {
  9996. "description": "银行编码",
  9997. "type": "string"
  9998. },
  9999. "bankname": {
  10000. "description": "银行名称",
  10001. "type": "string"
  10002. },
  10003. "bankpictureurl": {
  10004. "description": "银行卡正面地址",
  10005. "type": "string"
  10006. },
  10007. "biznature": {
  10008. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10009. "type": "integer"
  10010. },
  10011. "bizscope": {
  10012. "description": "企业经营范围(企业)",
  10013. "type": "string"
  10014. },
  10015. "biztype": {
  10016. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10017. "type": "integer"
  10018. },
  10019. "brokerid": {
  10020. "description": "经纪人ID(加密存储)",
  10021. "type": "string"
  10022. },
  10023. "cardaddress": {
  10024. "description": "证件地址 (加密存储)",
  10025. "type": "string"
  10026. },
  10027. "cardbackphotourl": {
  10028. "description": "背面证件照地址",
  10029. "type": "string"
  10030. },
  10031. "cardfrontphotourl": {
  10032. "description": "正面证件照地址",
  10033. "type": "string"
  10034. },
  10035. "cardnum": {
  10036. "description": "证件号码 (加密存储)",
  10037. "type": "string"
  10038. },
  10039. "cardtype": {
  10040. "description": "证件类型",
  10041. "type": "integer"
  10042. },
  10043. "cityid": {
  10044. "description": "市",
  10045. "type": "integer"
  10046. },
  10047. "company": {
  10048. "description": "公司(个人)",
  10049. "type": "string"
  10050. },
  10051. "contactcardbackphotourl": {
  10052. "description": "联系人证件背面图片地址",
  10053. "type": "string"
  10054. },
  10055. "contactcardfrontphotourl": {
  10056. "description": "联系人证件正面图片地址",
  10057. "type": "string"
  10058. },
  10059. "contactname": {
  10060. "description": "联系人",
  10061. "type": "string"
  10062. },
  10063. "countryid": {
  10064. "description": "国家",
  10065. "type": "integer"
  10066. },
  10067. "createtime": {
  10068. "description": "开户申请时间",
  10069. "type": "string"
  10070. },
  10071. "cusbankid": {
  10072. "description": "签约类型",
  10073. "type": "string"
  10074. },
  10075. "cusbankname": {
  10076. "description": "签约类型名称",
  10077. "type": "string"
  10078. },
  10079. "customername": {
  10080. "description": "客户名称(企业名称)",
  10081. "type": "string"
  10082. },
  10083. "districtid": {
  10084. "description": "地区",
  10085. "type": "integer"
  10086. },
  10087. "email": {
  10088. "description": "Email地址(加密存储)",
  10089. "type": "string"
  10090. },
  10091. "halfbodyphotourl": {
  10092. "description": "半身照地址",
  10093. "type": "string"
  10094. },
  10095. "headurl": {
  10096. "description": "头像地址",
  10097. "type": "string"
  10098. },
  10099. "ipaddress": {
  10100. "description": "IP地址",
  10101. "type": "string"
  10102. },
  10103. "isvalidate": {
  10104. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10105. "type": "string"
  10106. },
  10107. "legalcardbackphotourl": {
  10108. "description": "法人身份证背面照地址",
  10109. "type": "string"
  10110. },
  10111. "legalcardfrontphotourl": {
  10112. "description": "法人身份证正面照地址",
  10113. "type": "string"
  10114. },
  10115. "legalpersonname": {
  10116. "description": "法人姓名(企业)",
  10117. "type": "string"
  10118. },
  10119. "logincode": {
  10120. "description": "登录帐号 (加密存储)",
  10121. "type": "string"
  10122. },
  10123. "memberareaid": {
  10124. "description": "所属会员ID",
  10125. "type": "integer"
  10126. },
  10127. "mobile2": {
  10128. "description": "手机号码[明文-尚志]",
  10129. "type": "string"
  10130. },
  10131. "mobilephone": {
  10132. "description": "手机号码 (加密存储)",
  10133. "type": "string"
  10134. },
  10135. "modifiedby": {
  10136. "description": "修改人帐号",
  10137. "type": "integer"
  10138. },
  10139. "modifiedtime": {
  10140. "description": "修改时间",
  10141. "type": "string"
  10142. },
  10143. "nickname": {
  10144. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10145. "type": "string"
  10146. },
  10147. "openmode": {
  10148. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10149. "type": "integer"
  10150. },
  10151. "otherurl": {
  10152. "description": "其它图片地址[使用分号分隔]",
  10153. "type": "string"
  10154. },
  10155. "postalcode": {
  10156. "description": "邮政编码",
  10157. "type": "string"
  10158. },
  10159. "provinceid": {
  10160. "description": "省",
  10161. "type": "integer"
  10162. },
  10163. "proxystatementurl": {
  10164. "description": "授权委托书",
  10165. "type": "string"
  10166. },
  10167. "qq": {
  10168. "description": "QQ(加密存储",
  10169. "type": "string"
  10170. },
  10171. "referral": {
  10172. "description": "推荐人编码",
  10173. "type": "string"
  10174. },
  10175. "remark": {
  10176. "description": "备注",
  10177. "type": "string"
  10178. },
  10179. "removebeforestatus": {
  10180. "description": "REMOVEBEFORESTATUS",
  10181. "type": "integer"
  10182. },
  10183. "sex": {
  10184. "description": "性别 - 0:女 1:男",
  10185. "type": "integer"
  10186. },
  10187. "signedstatus": {
  10188. "description": "账户一号签签约状态",
  10189. "type": "integer"
  10190. },
  10191. "signpdfurl": {
  10192. "description": "签约pdf文件",
  10193. "type": "string"
  10194. },
  10195. "subbranch": {
  10196. "description": "开户支行",
  10197. "type": "string"
  10198. },
  10199. "telphone": {
  10200. "description": "联系电话(加密存储)",
  10201. "type": "string"
  10202. },
  10203. "userid": {
  10204. "description": "用户ID(自增ID)",
  10205. "type": "integer"
  10206. },
  10207. "userinfotype": {
  10208. "description": "用户信息类型 - 1:个人 2:企业",
  10209. "type": "integer"
  10210. },
  10211. "username": {
  10212. "description": "用户姓名",
  10213. "type": "string"
  10214. },
  10215. "userstate": {
  10216. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10217. "type": "integer"
  10218. },
  10219. "usertype": {
  10220. "description": "用户类型 - 1:投资者 2:机构",
  10221. "type": "integer"
  10222. },
  10223. "videourl": {
  10224. "description": "视频地址",
  10225. "type": "string"
  10226. },
  10227. "wechat": {
  10228. "description": "微信号 (加密存储)",
  10229. "type": "string"
  10230. }
  10231. }
  10232. },
  10233. "erms3.QryAuditContractRsp": {
  10234. "type": "object",
  10235. "required": [
  10236. "matchcustomername",
  10237. "spotcontractid"
  10238. ],
  10239. "properties": {
  10240. "accountid": {
  10241. "description": "交易员ID",
  10242. "type": "string"
  10243. },
  10244. "applystatus": {
  10245. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10246. "type": "integer"
  10247. },
  10248. "curdeliveryqty": {
  10249. "description": "未交收量",
  10250. "type": "integer"
  10251. },
  10252. "customername": {
  10253. "description": "采购方ID",
  10254. "type": "string"
  10255. },
  10256. "deliverygoodsid": {
  10257. "description": "品种ID",
  10258. "type": "string"
  10259. },
  10260. "deliveryqty": {
  10261. "description": "交收量",
  10262. "type": "integer"
  10263. },
  10264. "enumdicname": {
  10265. "description": "单位名称",
  10266. "type": "string"
  10267. },
  10268. "matchaccountid": {
  10269. "description": "业务员ID",
  10270. "type": "string"
  10271. },
  10272. "matchcustomername": {
  10273. "description": "销售方ID",
  10274. "type": "string"
  10275. },
  10276. "pricedqty": {
  10277. "description": "定价量",
  10278. "type": "number"
  10279. },
  10280. "signdate": {
  10281. "description": "签订日期",
  10282. "type": "string"
  10283. },
  10284. "spotcontractid": {
  10285. "description": "合同ID",
  10286. "type": "string"
  10287. },
  10288. "totaldqty": {
  10289. "description": "合同量",
  10290. "type": "number"
  10291. },
  10292. "unpricedqty": {
  10293. "description": "未定价量",
  10294. "type": "number"
  10295. },
  10296. "wrstandardname": {
  10297. "description": "商品名称",
  10298. "type": "string"
  10299. }
  10300. }
  10301. },
  10302. "erms3.QryPendingBizRsp": {
  10303. "$ref": "#/definitions/models.PendingAuditBizModel"
  10304. },
  10305. "erms3.QueryBusinessInfoRsp": {
  10306. "type": "object",
  10307. "properties": {
  10308. "businessid": {
  10309. "description": "业务ID.",
  10310. "type": "integer"
  10311. },
  10312. "buyamount": {
  10313. "description": "采购额.",
  10314. "type": "number"
  10315. },
  10316. "buyqty": {
  10317. "description": "采购量.",
  10318. "type": "string"
  10319. },
  10320. "futurepl": {
  10321. "description": "期货盈亏.",
  10322. "type": "number"
  10323. },
  10324. "futureqty": {
  10325. "description": "期货敞口.",
  10326. "type": "string"
  10327. },
  10328. "goodsid": {
  10329. "description": "商品名称/商品代码.",
  10330. "type": "string"
  10331. },
  10332. "hedgingqty": {
  10333. "description": "套保量.",
  10334. "type": "string"
  10335. },
  10336. "sellamount": {
  10337. "description": "销售额.",
  10338. "type": "number"
  10339. },
  10340. "sellqty": {
  10341. "description": "销售量.",
  10342. "type": "string"
  10343. },
  10344. "spotmarketvalue": {
  10345. "description": "现货市值.",
  10346. "type": "number"
  10347. },
  10348. "spotpl": {
  10349. "description": "浮动权益.",
  10350. "type": "number"
  10351. },
  10352. "spotqty": {
  10353. "description": "现货量.",
  10354. "type": "string"
  10355. },
  10356. "statu": {
  10357. "description": "状态,0-未结束 1-已结束.",
  10358. "type": "integer"
  10359. },
  10360. "totalpl": {
  10361. "description": "总盈亏.",
  10362. "type": "number"
  10363. },
  10364. "totalqty": {
  10365. "description": "总敞口.",
  10366. "type": "string"
  10367. },
  10368. "type": {
  10369. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  10370. "type": "integer"
  10371. }
  10372. }
  10373. },
  10374. "erms3.QuerySpotContractAppleFormRsp": {
  10375. "type": "object",
  10376. "properties": {
  10377. "goodses": {
  10378. "description": "合约列表",
  10379. "type": "array",
  10380. "items": {
  10381. "$ref": "#/definitions/models.GoodsIDAndName"
  10382. }
  10383. },
  10384. "oppositeusers": {
  10385. "description": "对方账号列表",
  10386. "type": "array",
  10387. "items": {
  10388. "$ref": "#/definitions/erms3.CustomerInfo"
  10389. }
  10390. },
  10391. "ouruser": {
  10392. "description": "我方账号",
  10393. "type": "object",
  10394. "$ref": "#/definitions/erms3.CustomerInfo"
  10395. },
  10396. "warehouseinfos": {
  10397. "description": "仓库信息列表",
  10398. "type": "array",
  10399. "items": {
  10400. "$ref": "#/definitions/models.Warehouseinfo"
  10401. }
  10402. },
  10403. "wrstandards": {
  10404. "description": "仓单标准列表",
  10405. "type": "array",
  10406. "items": {
  10407. "$ref": "#/definitions/models.WRStandardInfo"
  10408. }
  10409. }
  10410. }
  10411. },
  10412. "erms3.QuerySpotContractInfoRsp": {
  10413. "type": "object",
  10414. "properties": {
  10415. "accountid": {
  10416. "description": "表示交易员ID.",
  10417. "type": "integer"
  10418. },
  10419. "curdeliveryqty": {
  10420. "description": "表示未交收量.",
  10421. "type": "number"
  10422. },
  10423. "customername": {
  10424. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  10425. "type": "string"
  10426. },
  10427. "deliverygoodsid": {
  10428. "description": "表示品种ID.",
  10429. "type": "string"
  10430. },
  10431. "deliveryqty": {
  10432. "description": "表示交收量.",
  10433. "type": "number"
  10434. },
  10435. "matchaccountid": {
  10436. "description": "表示业务员ID.",
  10437. "type": "integer"
  10438. },
  10439. "matchcustomername": {
  10440. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  10441. "type": "string"
  10442. },
  10443. "priceqty": {
  10444. "description": "表示定价量.",
  10445. "type": "number"
  10446. },
  10447. "relatedbizid": {
  10448. "description": "表示业务ID.",
  10449. "type": "string"
  10450. },
  10451. "signdate": {
  10452. "description": "表示签订日期.",
  10453. "type": "string"
  10454. },
  10455. "spotcontractid": {
  10456. "description": "合同ID",
  10457. "type": "string"
  10458. },
  10459. "status": {
  10460. "description": "表示状态,0-履约中 1-已完成.",
  10461. "type": "integer"
  10462. },
  10463. "totalqty": {
  10464. "description": "表示合同量.",
  10465. "type": "number"
  10466. },
  10467. "unpricedqty": {
  10468. "description": "表示未定价量.",
  10469. "type": "number"
  10470. },
  10471. "wrstandardname": {
  10472. "description": "表示商品ID.",
  10473. "type": "string"
  10474. }
  10475. }
  10476. },
  10477. "erms3.QueryUserInfoAppliesRsp": {
  10478. "type": "object",
  10479. "required": [
  10480. "userid"
  10481. ],
  10482. "properties": {
  10483. "biznature": {
  10484. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10485. "type": "integer"
  10486. },
  10487. "contactname": {
  10488. "description": "联系人",
  10489. "type": "string"
  10490. },
  10491. "createtime": {
  10492. "description": "开户申请时间",
  10493. "type": "string"
  10494. },
  10495. "userid": {
  10496. "description": "用户ID(自增ID)",
  10497. "type": "integer"
  10498. },
  10499. "userinfotype": {
  10500. "description": "用户信息类型 - 1:个人 2:企业",
  10501. "type": "integer"
  10502. },
  10503. "username": {
  10504. "description": "用户姓名",
  10505. "type": "string"
  10506. },
  10507. "userstate": {
  10508. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10509. "type": "integer"
  10510. }
  10511. }
  10512. },
  10513. "erms3.QueryUserInfosRsp": {
  10514. "type": "object",
  10515. "required": [
  10516. "userid"
  10517. ],
  10518. "properties": {
  10519. "biznature": {
  10520. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10521. "type": "integer"
  10522. },
  10523. "contactname": {
  10524. "description": "联系人",
  10525. "type": "string"
  10526. },
  10527. "customername": {
  10528. "description": "客户名称(企业名称)",
  10529. "type": "string"
  10530. },
  10531. "userid": {
  10532. "description": "用户ID",
  10533. "type": "integer"
  10534. },
  10535. "userinfotype": {
  10536. "description": "用户信息类型 - 1:个人 2:企业",
  10537. "type": "integer"
  10538. },
  10539. "userstatus": {
  10540. "description": "用户状态 - 1:正常 2:注销",
  10541. "type": "integer"
  10542. }
  10543. }
  10544. },
  10545. "erms3.SoptContractDetail": {
  10546. "type": "object",
  10547. "required": [
  10548. "deliverygoodsid",
  10549. "producttype",
  10550. "unitname",
  10551. "warehouseid",
  10552. "wrstandardid",
  10553. "wrstandardname"
  10554. ],
  10555. "properties": {
  10556. "deliverygoodsdesc": {
  10557. "description": "现货品种说明",
  10558. "type": "string"
  10559. },
  10560. "deliverygoodsid": {
  10561. "description": "现货品种ID",
  10562. "type": "integer"
  10563. },
  10564. "deliverygoodsname": {
  10565. "description": "现货品种名称",
  10566. "type": "string"
  10567. },
  10568. "pointdesc": {
  10569. "description": "点价描述",
  10570. "type": "string"
  10571. },
  10572. "producttype": {
  10573. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  10574. "type": "integer"
  10575. },
  10576. "producttypename": {
  10577. "description": "产品类型名称",
  10578. "type": "string"
  10579. },
  10580. "spotPointOrderVoList": {
  10581. "description": "点价列表",
  10582. "type": "array",
  10583. "items": {
  10584. "$ref": "#/definitions/erms3.SpotPointOrder"
  10585. }
  10586. },
  10587. "spotPriceOrderList": {
  10588. "description": "定价列表",
  10589. "type": "array",
  10590. "items": {
  10591. "$ref": "#/definitions/erms3.SpotPriceOrder"
  10592. }
  10593. },
  10594. "unitname": {
  10595. "description": "单位名称",
  10596. "type": "string"
  10597. },
  10598. "warehouseid": {
  10599. "description": "仓库ID",
  10600. "type": "integer"
  10601. },
  10602. "warehousename": {
  10603. "description": "仓库名称",
  10604. "type": "string"
  10605. },
  10606. "wrstandardid": {
  10607. "description": "交易标的ID",
  10608. "type": "integer"
  10609. },
  10610. "wrstandardname": {
  10611. "description": "交易标的名称",
  10612. "type": "string"
  10613. }
  10614. }
  10615. },
  10616. "erms3.SpotPointOrder": {
  10617. "type": "object",
  10618. "required": [
  10619. "basic",
  10620. "goodsid",
  10621. "qty"
  10622. ],
  10623. "properties": {
  10624. "basic": {
  10625. "description": "基差",
  10626. "type": "number"
  10627. },
  10628. "deliveryenddate": {
  10629. "description": "交收结束日期",
  10630. "type": "string"
  10631. },
  10632. "deliverystartdate": {
  10633. "description": "交收开始日期",
  10634. "type": "string"
  10635. },
  10636. "enddate": {
  10637. "description": "点价结束日期",
  10638. "type": "string"
  10639. },
  10640. "goodsid": {
  10641. "description": "商品ID",
  10642. "type": "integer"
  10643. },
  10644. "goodsname": {
  10645. "description": "商品名称",
  10646. "type": "string"
  10647. },
  10648. "qty": {
  10649. "description": "数量",
  10650. "type": "number"
  10651. },
  10652. "startdate": {
  10653. "description": "点价开始日期",
  10654. "type": "string"
  10655. }
  10656. }
  10657. },
  10658. "erms3.SpotPriceOrder": {
  10659. "type": "object",
  10660. "required": [
  10661. "amount",
  10662. "price",
  10663. "qty"
  10664. ],
  10665. "properties": {
  10666. "amount": {
  10667. "description": "金额",
  10668. "type": "number"
  10669. },
  10670. "deliveryenddate": {
  10671. "description": "交收结束日期",
  10672. "type": "string"
  10673. },
  10674. "deliverystartdate": {
  10675. "description": "交收开始日期",
  10676. "type": "string"
  10677. },
  10678. "price": {
  10679. "description": "价格",
  10680. "type": "number"
  10681. },
  10682. "qty": {
  10683. "description": "数量",
  10684. "type": "number"
  10685. }
  10686. }
  10687. },
  10688. "hsby.GetHsbyMyCountRsp": {
  10689. "type": "object",
  10690. "properties": {
  10691. "myCouponCount": {
  10692. "description": "我的优惠卷数量",
  10693. "type": "integer"
  10694. },
  10695. "myOrderDetailListingCount": {
  10696. "description": "我的订单求购中数量",
  10697. "type": "integer"
  10698. },
  10699. "myOrderDetailPreCount": {
  10700. "description": "我的订单抢购中数量",
  10701. "type": "integer"
  10702. },
  10703. "myPackageUnReceiveCount": {
  10704. "description": "我的包裹待收货数量",
  10705. "type": "integer"
  10706. },
  10707. "myPackageUnSendCount": {
  10708. "description": "我的包裹待发货数量",
  10709. "type": "integer"
  10710. },
  10711. "myPayOrderCount": {
  10712. "description": "我的订单待付款数量",
  10713. "type": "integer"
  10714. }
  10715. }
  10716. },
  10717. "hsby.QueryProvincesAndCitiesRsp": {
  10718. "type": "object",
  10719. "properties": {
  10720. "cities": {
  10721. "description": "市",
  10722. "type": "array",
  10723. "items": {
  10724. "$ref": "#/definitions/models.Division"
  10725. }
  10726. },
  10727. "province": {
  10728. "description": "省",
  10729. "type": "object",
  10730. "$ref": "#/definitions/models.Division"
  10731. }
  10732. }
  10733. },
  10734. "models.AreaSpotModel": {
  10735. "type": "object",
  10736. "properties": {
  10737. "areauserid": {
  10738. "description": "所属机构",
  10739. "type": "integer"
  10740. },
  10741. "decreaseqty": {
  10742. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  10743. "type": "number"
  10744. },
  10745. "increaseqty": {
  10746. "description": "增加数量=销售计划数量+采购已定价数量",
  10747. "type": "number"
  10748. },
  10749. "oritoalspotqty": {
  10750. "description": "昨日数量",
  10751. "type": "number"
  10752. },
  10753. "totalspotqty": {
  10754. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  10755. "type": "number"
  10756. },
  10757. "updatetime": {
  10758. "description": "更新时间",
  10759. "type": "string"
  10760. },
  10761. "wrstandardcode": {
  10762. "description": "现货品种代码",
  10763. "type": "string"
  10764. },
  10765. "wrstandardid": {
  10766. "description": "现货商品ID",
  10767. "type": "integer"
  10768. },
  10769. "wrstandardname": {
  10770. "description": "现货品种",
  10771. "type": "string"
  10772. }
  10773. }
  10774. },
  10775. "models.Clientfixedadconfig": {
  10776. "type": "object",
  10777. "required": [
  10778. "adsort",
  10779. "adtype"
  10780. ],
  10781. "properties": {
  10782. "adsort": {
  10783. "description": "排序",
  10784. "type": "integer"
  10785. },
  10786. "adtype": {
  10787. "description": "广告位类型 - 1:新品抢购(HSBY)",
  10788. "type": "integer"
  10789. },
  10790. "areauserid": {
  10791. "description": "所属机构ID",
  10792. "type": "integer"
  10793. },
  10794. "createdate": {
  10795. "description": "创建时间",
  10796. "type": "string"
  10797. },
  10798. "creatorid": {
  10799. "description": "创建人",
  10800. "type": "integer"
  10801. },
  10802. "imagepath": {
  10803. "description": "图片",
  10804. "type": "string"
  10805. },
  10806. "isshow": {
  10807. "description": "是否展示 - 0:不展示 1:展示",
  10808. "type": "integer"
  10809. },
  10810. "modifierid": {
  10811. "description": "操作人",
  10812. "type": "integer"
  10813. },
  10814. "recsize": {
  10815. "description": "推荐尺寸",
  10816. "type": "string"
  10817. },
  10818. "title": {
  10819. "description": "标题",
  10820. "type": "string"
  10821. },
  10822. "updatedate": {
  10823. "description": "更新时间",
  10824. "type": "string"
  10825. },
  10826. "urlcontent": {
  10827. "description": "链接(地址或商品ID)",
  10828. "type": "string"
  10829. },
  10830. "urltype": {
  10831. "description": "链接类型 - 1:直接地址 2:商品ID",
  10832. "type": "integer"
  10833. }
  10834. }
  10835. },
  10836. "models.Division": {
  10837. "type": "object",
  10838. "required": [
  10839. "autoid",
  10840. "divisioncode"
  10841. ],
  10842. "properties": {
  10843. "autoid": {
  10844. "description": "自增ID",
  10845. "type": "integer"
  10846. },
  10847. "divisioncode": {
  10848. "description": "行政代码",
  10849. "type": "string"
  10850. },
  10851. "divisionlevel": {
  10852. "description": "行政级别",
  10853. "type": "string"
  10854. },
  10855. "divisionname": {
  10856. "description": "行政名称",
  10857. "type": "string"
  10858. },
  10859. "modifierid": {
  10860. "description": "修改人",
  10861. "type": "integer"
  10862. },
  10863. "modifytime": {
  10864. "description": "修改时间",
  10865. "type": "string"
  10866. },
  10867. "parentcode": {
  10868. "description": "上级行政代码",
  10869. "type": "string"
  10870. },
  10871. "pathname": {
  10872. "description": "路径名称",
  10873. "type": "string"
  10874. },
  10875. "postcode": {
  10876. "description": "邮政编码",
  10877. "type": "string"
  10878. },
  10879. "separablename": {
  10880. "description": "可拆分的全称",
  10881. "type": "string"
  10882. },
  10883. "shortcode": {
  10884. "description": "地区简码",
  10885. "type": "string"
  10886. }
  10887. }
  10888. },
  10889. "models.Enumdicitem": {
  10890. "type": "object",
  10891. "required": [
  10892. "autoid",
  10893. "enumdiccode",
  10894. "enumdicid",
  10895. "enumitemname"
  10896. ],
  10897. "properties": {
  10898. "autoid": {
  10899. "description": "自增ID",
  10900. "type": "integer"
  10901. },
  10902. "bankmappedvalue": {
  10903. "description": "银行服务对应值",
  10904. "type": "string"
  10905. },
  10906. "enumdiccode": {
  10907. "description": "所属枚举代码",
  10908. "type": "string"
  10909. },
  10910. "enumdicid": {
  10911. "description": "所属枚举ID",
  10912. "type": "integer"
  10913. },
  10914. "enumdicname": {
  10915. "description": "枚举项名称",
  10916. "type": "string"
  10917. },
  10918. "enumitemname": {
  10919. "description": "枚举项值",
  10920. "type": "integer"
  10921. },
  10922. "enumitemstatus": {
  10923. "description": "枚举项状态 - 1.启用 2.不启用",
  10924. "type": "integer"
  10925. },
  10926. "enumitemvalue": {
  10927. "description": "通用值 - [币种通用简写]",
  10928. "type": "string"
  10929. },
  10930. "param1": {
  10931. "description": "参数1[币种:币种小数位]",
  10932. "type": "string"
  10933. },
  10934. "param2": {
  10935. "description": "参数1[币种:币种显示单位]",
  10936. "type": "string"
  10937. },
  10938. "remark": {
  10939. "description": "备注",
  10940. "type": "string"
  10941. }
  10942. }
  10943. },
  10944. "models.ErmcpAreaSpotDetailModel": {
  10945. "type": "object",
  10946. "properties": {
  10947. "contracttype": {
  10948. "description": "合同类型 1-采购 -1-销售",
  10949. "type": "integer"
  10950. },
  10951. "createtime": {
  10952. "description": "创建时间",
  10953. "type": "string"
  10954. },
  10955. "enumdicname": {
  10956. "description": "现货商品单位名称",
  10957. "type": "string"
  10958. },
  10959. "logtype": {
  10960. "description": "记录类型 1-套保 2-现货合同",
  10961. "type": "integer"
  10962. },
  10963. "qty": {
  10964. "description": "数量",
  10965. "type": "number"
  10966. },
  10967. "recordname": {
  10968. "description": "类型名称",
  10969. "type": "string"
  10970. },
  10971. "relatedid": {
  10972. "description": "套保计划ID/现货合同ID",
  10973. "type": "string"
  10974. },
  10975. "relatedno": {
  10976. "description": "编号",
  10977. "type": "string"
  10978. },
  10979. "strtime": {
  10980. "description": "时间",
  10981. "type": "string"
  10982. },
  10983. "wrstandardcode": {
  10984. "description": "现货商品代码",
  10985. "type": "string"
  10986. },
  10987. "wrstandardname": {
  10988. "description": "现货商品名称",
  10989. "type": "string"
  10990. }
  10991. }
  10992. },
  10993. "models.ErmcpAreaStock": {
  10994. "type": "object",
  10995. "properties": {
  10996. "brandname": {
  10997. "description": "品牌名称",
  10998. "type": "string"
  10999. },
  11000. "curstock": {
  11001. "description": "期末库存量(今日量)",
  11002. "type": "number"
  11003. },
  11004. "deliverygoodsid": {
  11005. "description": "现货品种ID",
  11006. "type": "integer"
  11007. },
  11008. "enumdicname": {
  11009. "description": "单位名称",
  11010. "type": "string"
  11011. },
  11012. "modelname": {
  11013. "description": "型号名称",
  11014. "type": "string"
  11015. },
  11016. "oristock": {
  11017. "description": "期初库存量(昨日量)",
  11018. "type": "number"
  11019. },
  11020. "spotgoodsbrandid": {
  11021. "description": "现货品牌ID",
  11022. "type": "integer"
  11023. },
  11024. "spotgoodsmodelid": {
  11025. "description": "现货型号ID",
  11026. "type": "integer"
  11027. },
  11028. "todaybuyinqty": {
  11029. "description": "今日采购入库量",
  11030. "type": "number"
  11031. },
  11032. "todayproduceinqty": {
  11033. "description": "今日生产入库量",
  11034. "type": "number"
  11035. },
  11036. "todayproduceoutqty": {
  11037. "description": "今日生产出库量",
  11038. "type": "number"
  11039. },
  11040. "todayselloutqty": {
  11041. "description": "今日销售出库量",
  11042. "type": "number"
  11043. },
  11044. "unitid": {
  11045. "description": "单位id",
  11046. "type": "integer"
  11047. },
  11048. "updatetime": {
  11049. "description": "更新时间",
  11050. "type": "string"
  11051. },
  11052. "userid": {
  11053. "description": "机构ID",
  11054. "type": "integer"
  11055. },
  11056. "username": {
  11057. "description": "机构名称",
  11058. "type": "string"
  11059. },
  11060. "warehousecode": {
  11061. "description": "仓库代码",
  11062. "type": "string"
  11063. },
  11064. "warehouseinfoid": {
  11065. "description": "仓库ID",
  11066. "type": "string"
  11067. },
  11068. "warehousename": {
  11069. "description": "仓库名称",
  11070. "type": "string"
  11071. },
  11072. "warehousetype": {
  11073. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11074. "type": "integer"
  11075. },
  11076. "wrstandardcode": {
  11077. "description": "现货商品代码",
  11078. "type": "string"
  11079. },
  11080. "wrstandardid": {
  11081. "description": "现货商品ID",
  11082. "type": "string"
  11083. },
  11084. "wrstandardname": {
  11085. "description": "现货商品名称",
  11086. "type": "string"
  11087. }
  11088. }
  11089. },
  11090. "models.ErmcpAreaStockApply": {
  11091. "type": "object",
  11092. "properties": {
  11093. "applyid": {
  11094. "description": "申请人",
  11095. "type": "integer"
  11096. },
  11097. "applyname": {
  11098. "description": "申请人名称",
  11099. "type": "string"
  11100. },
  11101. "applyremark": {
  11102. "description": "申请备注",
  11103. "type": "string"
  11104. },
  11105. "applysrc": {
  11106. "description": "申请来源 - 1:管理端 2:终端",
  11107. "type": "integer"
  11108. },
  11109. "applystatus": {
  11110. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11111. "type": "integer"
  11112. },
  11113. "applytime": {
  11114. "description": "申请时间",
  11115. "type": "string"
  11116. },
  11117. "auditid": {
  11118. "description": "审核人",
  11119. "type": "integer"
  11120. },
  11121. "auditname": {
  11122. "description": "审核人名称",
  11123. "type": "string"
  11124. },
  11125. "auditremark": {
  11126. "description": "审核备注",
  11127. "type": "string"
  11128. },
  11129. "auditsrc": {
  11130. "description": "审核来源 - 1:管理端 2:终端",
  11131. "type": "integer"
  11132. },
  11133. "audittime": {
  11134. "description": "审核时间",
  11135. "type": "string"
  11136. },
  11137. "audittradedate": {
  11138. "description": "审核交易日(yyyyMMdd)",
  11139. "type": "string"
  11140. },
  11141. "brandname": {
  11142. "description": "品牌名称",
  11143. "type": "string"
  11144. },
  11145. "buyuserid": {
  11146. "description": "采购方userid",
  11147. "type": "integer"
  11148. },
  11149. "buyusername": {
  11150. "description": "采购方名称",
  11151. "type": "string"
  11152. },
  11153. "contractno": {
  11154. "description": "合同编号",
  11155. "type": "string"
  11156. },
  11157. "contractqty": {
  11158. "description": "合同量",
  11159. "type": "number"
  11160. },
  11161. "contracttype": {
  11162. "description": "现货合同类型 - 1:采购 -1:销售",
  11163. "type": "integer"
  11164. },
  11165. "deliverygoodsid": {
  11166. "description": "现货品种ID",
  11167. "type": "integer"
  11168. },
  11169. "enumdicname": {
  11170. "description": "现货商品单位名称",
  11171. "type": "string"
  11172. },
  11173. "inoutapplyid": {
  11174. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  11175. "type": "string"
  11176. },
  11177. "inouttype": {
  11178. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11179. "type": "integer"
  11180. },
  11181. "modelname": {
  11182. "description": "型号名称",
  11183. "type": "string"
  11184. },
  11185. "pricetype": {
  11186. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11187. "type": "integer"
  11188. },
  11189. "qty": {
  11190. "description": "数量",
  11191. "type": "number"
  11192. },
  11193. "selluserid": {
  11194. "description": "销售方userid",
  11195. "type": "integer"
  11196. },
  11197. "sellusername": {
  11198. "description": "销售方名称",
  11199. "type": "string"
  11200. },
  11201. "spotcontractid": {
  11202. "description": "关联现货合同ID",
  11203. "type": "string"
  11204. },
  11205. "spotgoodsbrandid": {
  11206. "description": "现货品牌ID",
  11207. "type": "integer"
  11208. },
  11209. "spotgoodsmodelid": {
  11210. "description": "现货型号ID",
  11211. "type": "integer"
  11212. },
  11213. "unitid": {
  11214. "description": "单位id",
  11215. "type": "integer"
  11216. },
  11217. "userid": {
  11218. "description": "机构ID",
  11219. "type": "integer"
  11220. },
  11221. "warehousecode": {
  11222. "description": "仓库代码",
  11223. "type": "string"
  11224. },
  11225. "warehouseinfoid": {
  11226. "description": "现货仓库ID",
  11227. "type": "string"
  11228. },
  11229. "warehousename": {
  11230. "description": "仓库名称",
  11231. "type": "string"
  11232. },
  11233. "warehousetype": {
  11234. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11235. "type": "integer"
  11236. },
  11237. "wrstandardcode": {
  11238. "description": "现货商品代码",
  11239. "type": "string"
  11240. },
  11241. "wrstandardid": {
  11242. "description": "现货商品ID",
  11243. "type": "string"
  11244. },
  11245. "wrstandardname": {
  11246. "description": "现货商品名称",
  11247. "type": "string"
  11248. }
  11249. }
  11250. },
  11251. "models.ErmcpAreaStockApplySum": {
  11252. "type": "object",
  11253. "properties": {
  11254. "brandname": {
  11255. "description": "品牌名称",
  11256. "type": "string"
  11257. },
  11258. "inouttype": {
  11259. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11260. "type": "integer"
  11261. },
  11262. "modelname": {
  11263. "description": "型号名称",
  11264. "type": "string"
  11265. },
  11266. "spotcontractid": {
  11267. "description": "关联现货合同ID",
  11268. "type": "string"
  11269. },
  11270. "spotgoodsbrandid": {
  11271. "description": "品牌id",
  11272. "type": "integer"
  11273. },
  11274. "spotgoodsmodelid": {
  11275. "description": "型号id",
  11276. "type": "integer"
  11277. },
  11278. "totalqty": {
  11279. "description": "总数量",
  11280. "type": "number"
  11281. }
  11282. }
  11283. },
  11284. "models.ErmcpAreaStockReport": {
  11285. "type": "object",
  11286. "properties": {
  11287. "brandname": {
  11288. "description": "品牌名称",
  11289. "type": "string"
  11290. },
  11291. "curstock": {
  11292. "description": "期末库存量",
  11293. "type": "number"
  11294. },
  11295. "deliverygoodsid": {
  11296. "description": "现货品种ID",
  11297. "type": "integer"
  11298. },
  11299. "enumdicname": {
  11300. "description": "单位名称",
  11301. "type": "string"
  11302. },
  11303. "modelname": {
  11304. "description": "型号名称",
  11305. "type": "string"
  11306. },
  11307. "oristock": {
  11308. "description": "期初库存量",
  11309. "type": "number"
  11310. },
  11311. "spotgoodsbrandid": {
  11312. "description": "现货品牌ID",
  11313. "type": "integer"
  11314. },
  11315. "spotgoodsmodelid": {
  11316. "description": "现货型号ID",
  11317. "type": "integer"
  11318. },
  11319. "todaybuyinqty": {
  11320. "description": "今日采购入库量",
  11321. "type": "number"
  11322. },
  11323. "todayproduceinqty": {
  11324. "description": "今日生产入库量",
  11325. "type": "number"
  11326. },
  11327. "todayproduceoutqty": {
  11328. "description": "今日生产出库量",
  11329. "type": "number"
  11330. },
  11331. "todayselloutqty": {
  11332. "description": "今日销售出库量",
  11333. "type": "number"
  11334. },
  11335. "unitid": {
  11336. "description": "单位id",
  11337. "type": "integer"
  11338. },
  11339. "updatetime": {
  11340. "description": "更新时间",
  11341. "type": "string"
  11342. },
  11343. "userid": {
  11344. "description": "机构ID",
  11345. "type": "integer"
  11346. },
  11347. "username": {
  11348. "description": "机构名称",
  11349. "type": "string"
  11350. },
  11351. "warehousecode": {
  11352. "description": "仓库代码",
  11353. "type": "string"
  11354. },
  11355. "warehouseinfoid": {
  11356. "description": "仓库ID",
  11357. "type": "string"
  11358. },
  11359. "warehousename": {
  11360. "description": "仓库名称",
  11361. "type": "string"
  11362. },
  11363. "warehousetype": {
  11364. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11365. "type": "integer"
  11366. },
  11367. "wrstandardcode": {
  11368. "description": "现货商品代码",
  11369. "type": "string"
  11370. },
  11371. "wrstandardid": {
  11372. "description": "现货商品ID",
  11373. "type": "string"
  11374. },
  11375. "wrstandardname": {
  11376. "description": "现货商品名称",
  11377. "type": "string"
  11378. }
  11379. }
  11380. },
  11381. "models.ErmcpAvalidGoodsGroupModel": {
  11382. "type": "object",
  11383. "properties": {
  11384. "goodsgroupid": {
  11385. "description": "期货品种id",
  11386. "type": "integer"
  11387. },
  11388. "goodsgroupname": {
  11389. "description": "期货品种名称",
  11390. "type": "string"
  11391. },
  11392. "goodunitid": {
  11393. "description": "品种单位id",
  11394. "type": "integer"
  11395. },
  11396. "goodunitname": {
  11397. "description": "品种单位名称",
  11398. "type": "string"
  11399. },
  11400. "outergroupcode": {
  11401. "description": "期货品种代码",
  11402. "type": "string"
  11403. }
  11404. }
  11405. },
  11406. "models.ErmcpExposureDetailModel": {
  11407. "type": "object",
  11408. "properties": {
  11409. "areauserid": {
  11410. "description": "机构ID",
  11411. "type": "integer"
  11412. },
  11413. "changeQty": {
  11414. "description": "套保变动量",
  11415. "type": "number"
  11416. },
  11417. "contracttype": {
  11418. "description": "现货合同类型 - 1:采购 -1:销售",
  11419. "type": "integer"
  11420. },
  11421. "convertfactor": {
  11422. "description": "标仓系数",
  11423. "type": "number"
  11424. },
  11425. "convertratio": {
  11426. "description": "套保系数",
  11427. "type": "number"
  11428. },
  11429. "createtime": {
  11430. "description": "时间",
  11431. "type": "string"
  11432. },
  11433. "enumdicname": {
  11434. "description": "现货商品单位名称",
  11435. "type": "string"
  11436. },
  11437. "logtype": {
  11438. "description": "类型 - 1:套保计划 2:现货合同",
  11439. "type": "integer"
  11440. },
  11441. "middlegoodsId": {
  11442. "description": "套保商品id",
  11443. "type": "integer"
  11444. },
  11445. "middlegoodscode": {
  11446. "description": "套保商品代码",
  11447. "type": "string"
  11448. },
  11449. "middlegoodsname": {
  11450. "description": "套保商品名称",
  11451. "type": "string"
  11452. },
  11453. "qty": {
  11454. "description": "数量",
  11455. "type": "number"
  11456. },
  11457. "relateNo": {
  11458. "description": "现货合同/套保计划编号",
  11459. "type": "string"
  11460. },
  11461. "wrstandardcode": {
  11462. "description": "现货商品代码",
  11463. "type": "string"
  11464. },
  11465. "wrstandardid": {
  11466. "description": "现货商品ID",
  11467. "type": "integer"
  11468. },
  11469. "wrstandardname": {
  11470. "description": "现货商品名称",
  11471. "type": "string"
  11472. }
  11473. }
  11474. },
  11475. "models.ErmcpExposurePostion": {
  11476. "type": "object",
  11477. "properties": {
  11478. "agreeunit": {
  11479. "description": "合约单位",
  11480. "type": "string"
  11481. },
  11482. "areauserid": {
  11483. "description": "所属机构id",
  11484. "type": "integer"
  11485. },
  11486. "convertratio": {
  11487. "description": "期货品种系数(折算系数)",
  11488. "type": "number"
  11489. },
  11490. "curqty": {
  11491. "description": "当前持仓",
  11492. "type": "integer"
  11493. },
  11494. "diffhedgeqty": {
  11495. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  11496. "type": "number"
  11497. },
  11498. "diffqty": {
  11499. "description": "持仓变动量=当前持仓-昨日持仓",
  11500. "type": "integer"
  11501. },
  11502. "goodscode": {
  11503. "description": "商品代码",
  11504. "type": "string"
  11505. },
  11506. "goodsid": {
  11507. "description": "商品id",
  11508. "type": "integer"
  11509. },
  11510. "goodsname": {
  11511. "description": "商品名称",
  11512. "type": "string"
  11513. },
  11514. "middlegoodsid": {
  11515. "description": "套保商品id",
  11516. "type": "integer"
  11517. },
  11518. "ydqty": {
  11519. "description": "昨日持仓",
  11520. "type": "integer"
  11521. }
  11522. }
  11523. },
  11524. "models.ErmcpGGConvertCfg": {
  11525. "type": "object",
  11526. "properties": {
  11527. "convertratio": {
  11528. "description": "折算系数",
  11529. "type": "number"
  11530. },
  11531. "destgoodsgroupid": {
  11532. "description": "目标品种ID",
  11533. "type": "integer"
  11534. },
  11535. "dstcode": {
  11536. "description": "目录品种代码",
  11537. "type": "string"
  11538. },
  11539. "dstexchangecode": {
  11540. "description": "目标期货交易所",
  11541. "type": "string"
  11542. },
  11543. "dstname": {
  11544. "description": "目标品种名称",
  11545. "type": "string"
  11546. },
  11547. "dstunitid": {
  11548. "description": "目标品种单位ID",
  11549. "type": "integer"
  11550. },
  11551. "dstunitidname": {
  11552. "description": "目标品种单位名称",
  11553. "type": "string"
  11554. },
  11555. "modifytime": {
  11556. "description": "修改时间",
  11557. "type": "string"
  11558. },
  11559. "srccode": {
  11560. "description": "源品种代码",
  11561. "type": "string"
  11562. },
  11563. "srcexchangecode": {
  11564. "description": "源期货交易所",
  11565. "type": "string"
  11566. },
  11567. "srcgoodsgroupid": {
  11568. "description": "源品种ID",
  11569. "type": "integer"
  11570. },
  11571. "srcname": {
  11572. "description": "源品种名称",
  11573. "type": "string"
  11574. },
  11575. "srcunitid": {
  11576. "description": "源品种单位ID",
  11577. "type": "integer"
  11578. },
  11579. "srcunitidname": {
  11580. "description": "源品种单位名称",
  11581. "type": "string"
  11582. }
  11583. }
  11584. },
  11585. "models.ErmcpGoodsBrand": {
  11586. "type": "object",
  11587. "properties": {
  11588. "areauserid": {
  11589. "description": "所属机构",
  11590. "type": "integer"
  11591. },
  11592. "brandid": {
  11593. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  11594. "type": "integer"
  11595. },
  11596. "brandname": {
  11597. "description": "品牌名称",
  11598. "type": "string"
  11599. },
  11600. "createtime": {
  11601. "description": "创建时间",
  11602. "type": "string"
  11603. },
  11604. "creatorid": {
  11605. "description": "创建人",
  11606. "type": "integer"
  11607. },
  11608. "creatorsrc": {
  11609. "description": "创建人来源 - 1:管理端 2:终端",
  11610. "type": "integer"
  11611. },
  11612. "deliverygoodsid": {
  11613. "description": "现货品种ID",
  11614. "type": "integer"
  11615. },
  11616. "isvalid": {
  11617. "description": "是否有效 - 0:无效 1:有效",
  11618. "type": "integer"
  11619. },
  11620. "updatetime": {
  11621. "description": "更新时间",
  11622. "type": "string"
  11623. },
  11624. "updatorid": {
  11625. "description": "更新人",
  11626. "type": "integer"
  11627. },
  11628. "updatorsrc": {
  11629. "description": "更新人来源 - 1:管理端 2:终端",
  11630. "type": "integer"
  11631. },
  11632. "wrstandardid": {
  11633. "description": "现货商品ID",
  11634. "type": "integer"
  11635. }
  11636. }
  11637. },
  11638. "models.ErmcpGoodsModel": {
  11639. "type": "object",
  11640. "properties": {
  11641. "areauserid": {
  11642. "description": "所属机构",
  11643. "type": "integer"
  11644. },
  11645. "createtime": {
  11646. "description": "创建时间",
  11647. "type": "string"
  11648. },
  11649. "creatorid": {
  11650. "description": "创建人",
  11651. "type": "integer"
  11652. },
  11653. "creatorsrc": {
  11654. "description": "创建人来源 - 1:管理端 2:终端",
  11655. "type": "integer"
  11656. },
  11657. "deliverygoodsid": {
  11658. "description": "现货品种ID",
  11659. "type": "integer"
  11660. },
  11661. "isvalid": {
  11662. "description": "是否有效 - 0:无效 1:有效",
  11663. "type": "integer"
  11664. },
  11665. "modelid": {
  11666. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  11667. "type": "integer"
  11668. },
  11669. "modelname": {
  11670. "description": "型号名称",
  11671. "type": "string"
  11672. },
  11673. "updatetime": {
  11674. "description": "更新时间",
  11675. "type": "string"
  11676. },
  11677. "updatorid": {
  11678. "description": "更新人",
  11679. "type": "integer"
  11680. },
  11681. "updatorsrc": {
  11682. "description": "更新人来源 - 1:管理端 2:终端",
  11683. "type": "integer"
  11684. },
  11685. "wrstandardid": {
  11686. "description": "现货商品ID",
  11687. "type": "integer"
  11688. }
  11689. }
  11690. },
  11691. "models.ErmcpHedgePlan": {
  11692. "type": "object",
  11693. "properties": {
  11694. "areauserid": {
  11695. "description": "用户ID",
  11696. "type": "integer"
  11697. },
  11698. "audittime": {
  11699. "description": "审核时间",
  11700. "type": "string"
  11701. },
  11702. "contracttype": {
  11703. "description": "计划类型 - 1:采购 -1:销售",
  11704. "type": "integer"
  11705. },
  11706. "convertfactor": {
  11707. "description": "标仓系数",
  11708. "type": "number"
  11709. },
  11710. "createtime": {
  11711. "description": "创建时间",
  11712. "type": "string"
  11713. },
  11714. "deliverygoodsid": {
  11715. "description": "现货品种ID",
  11716. "type": "integer"
  11717. },
  11718. "deliverygoodsname": {
  11719. "description": "现货品种名称",
  11720. "type": "string"
  11721. },
  11722. "enumdicname": {
  11723. "description": "单位名称",
  11724. "type": "string"
  11725. },
  11726. "hedgeplanid": {
  11727. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  11728. "type": "string"
  11729. },
  11730. "hedgeplanno": {
  11731. "description": "套保计划编号(名称)",
  11732. "type": "string"
  11733. },
  11734. "hedgeplanstatus": {
  11735. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11736. "type": "integer"
  11737. },
  11738. "planqty": {
  11739. "description": "计划数量",
  11740. "type": "number"
  11741. },
  11742. "plantime": {
  11743. "description": "计划时间",
  11744. "type": "string"
  11745. },
  11746. "producttype": {
  11747. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11748. "type": "integer"
  11749. },
  11750. "remark": {
  11751. "description": "备注",
  11752. "type": "string"
  11753. },
  11754. "spotgoodsdesc": {
  11755. "description": "商品型号",
  11756. "type": "string"
  11757. },
  11758. "unitid": {
  11759. "description": "单位id",
  11760. "type": "integer"
  11761. },
  11762. "updatetime": {
  11763. "description": "更新时间",
  11764. "type": "string"
  11765. },
  11766. "wrstandardid": {
  11767. "description": "现货商品ID",
  11768. "type": "integer"
  11769. },
  11770. "wrstandardname": {
  11771. "description": "现货商品名称",
  11772. "type": "string"
  11773. }
  11774. }
  11775. },
  11776. "models.ErmcpHedgePosition": {
  11777. "type": "object",
  11778. "properties": {
  11779. "accountid": {
  11780. "description": "资金账号[外部母账户]",
  11781. "type": "integer"
  11782. },
  11783. "curbuyposition": {
  11784. "description": "期末买头寸",
  11785. "type": "integer"
  11786. },
  11787. "cursellposition": {
  11788. "description": "期末卖头寸",
  11789. "type": "integer"
  11790. },
  11791. "curtdbuyposition": {
  11792. "description": "期末今日买头寸",
  11793. "type": "integer"
  11794. },
  11795. "curtdsellposition": {
  11796. "description": "期末今日卖头寸",
  11797. "type": "integer"
  11798. },
  11799. "curydbuyposition": {
  11800. "description": "期末上日买头寸",
  11801. "type": "integer"
  11802. },
  11803. "curydsellposition": {
  11804. "description": "期末上日卖头寸",
  11805. "type": "integer"
  11806. },
  11807. "decreaseqty": {
  11808. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  11809. "type": "integer"
  11810. },
  11811. "fretdbuyposition": {
  11812. "description": "冻结今日买头寸",
  11813. "type": "integer"
  11814. },
  11815. "fretdsellposition": {
  11816. "description": "冻结今日卖头寸",
  11817. "type": "integer"
  11818. },
  11819. "freydbuyposition": {
  11820. "description": "冻结上日买头寸",
  11821. "type": "integer"
  11822. },
  11823. "freydsellposition": {
  11824. "description": "冻结上日卖头寸",
  11825. "type": "integer"
  11826. },
  11827. "goodscode": {
  11828. "description": "商品代码",
  11829. "type": "string"
  11830. },
  11831. "goodsid": {
  11832. "description": "商品id",
  11833. "type": "integer"
  11834. },
  11835. "goodsname": {
  11836. "description": "商品名称",
  11837. "type": "string"
  11838. },
  11839. "hedgeaccountcode": {
  11840. "description": "对冲账号",
  11841. "type": "string"
  11842. },
  11843. "hedgegoodsid": {
  11844. "description": "对冲合约ID",
  11845. "type": "integer"
  11846. },
  11847. "increaseqty": {
  11848. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  11849. "type": "integer"
  11850. },
  11851. "marketid": {
  11852. "description": "市场ID",
  11853. "type": "integer"
  11854. },
  11855. "relateduserid": {
  11856. "description": "关联用户id",
  11857. "type": "integer"
  11858. },
  11859. "totalcurqty": {
  11860. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  11861. "type": "integer"
  11862. },
  11863. "totalydqty": {
  11864. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  11865. "type": "integer"
  11866. },
  11867. "tradedate": {
  11868. "description": "交易日(yyyyMMdd)",
  11869. "type": "string"
  11870. },
  11871. "ydbuyposition": {
  11872. "description": "期初买头寸",
  11873. "type": "integer"
  11874. },
  11875. "ydsellposition": {
  11876. "description": "期初卖头寸",
  11877. "type": "integer"
  11878. }
  11879. }
  11880. },
  11881. "models.ErmcpHedgePositionDetail": {
  11882. "type": "object",
  11883. "properties": {
  11884. "buyorsell": {
  11885. "description": "买卖方向 0-买 1-卖",
  11886. "type": "integer"
  11887. },
  11888. "channelbuildtype": {
  11889. "description": "开平方向 1-建仓 2-平仓",
  11890. "type": "integer"
  11891. },
  11892. "goodscode": {
  11893. "description": "商品代码",
  11894. "type": "string"
  11895. },
  11896. "goodsname": {
  11897. "description": "商品名称",
  11898. "type": "string"
  11899. },
  11900. "hedgegoodsid": {
  11901. "description": "商品id",
  11902. "type": "integer"
  11903. },
  11904. "tradeqty": {
  11905. "description": "数量(成交数量)",
  11906. "type": "integer"
  11907. },
  11908. "tradetime": {
  11909. "description": "时间(成交时间)",
  11910. "type": "string"
  11911. }
  11912. }
  11913. },
  11914. "models.ErmcpHisExposure": {
  11915. "type": "object",
  11916. "properties": {
  11917. "needhedgeexposoure": {
  11918. "description": "应套保敞口",
  11919. "type": "number"
  11920. },
  11921. "reckondate": {
  11922. "description": "日照时期(yyyyMMdd)",
  11923. "type": "string"
  11924. },
  11925. "totalexposure": {
  11926. "description": "总敞口",
  11927. "type": "number"
  11928. }
  11929. }
  11930. },
  11931. "models.ErmcpHisExposureS": {
  11932. "type": "object",
  11933. "properties": {
  11934. "data": {
  11935. "description": "历史敞口",
  11936. "type": "array",
  11937. "items": {
  11938. "$ref": "#/definitions/models.ErmcpHisExposure"
  11939. }
  11940. },
  11941. "enumdicname": {
  11942. "description": "单位名称",
  11943. "type": "string"
  11944. },
  11945. "middlegoodscode": {
  11946. "description": "套保品种代码",
  11947. "type": "string"
  11948. },
  11949. "middlegoodsid": {
  11950. "description": "套保品种ID",
  11951. "type": "integer"
  11952. },
  11953. "middlegoodsname": {
  11954. "description": "套保品种名称",
  11955. "type": "string"
  11956. }
  11957. }
  11958. },
  11959. "models.ErmcpMiddleGoodsChangeLog": {
  11960. "type": "object",
  11961. "properties": {
  11962. "aftervalue": {
  11963. "description": "变更后",
  11964. "type": "number"
  11965. },
  11966. "applyid": {
  11967. "description": "操作人",
  11968. "type": "integer"
  11969. },
  11970. "applyname": {
  11971. "description": "操作人名称",
  11972. "type": "string"
  11973. },
  11974. "applysrc": {
  11975. "description": "操作来源 - 1:管理端 2:终端",
  11976. "type": "integer"
  11977. },
  11978. "beforevalue": {
  11979. "description": "变更前",
  11980. "type": "number"
  11981. },
  11982. "changelogtype": {
  11983. "description": "变更流水类型 - 1:套保比率变更",
  11984. "type": "integer"
  11985. },
  11986. "handlestatus": {
  11987. "description": "处理状态",
  11988. "type": "integer"
  11989. },
  11990. "logdatetime": {
  11991. "description": "流水日期",
  11992. "type": "string"
  11993. },
  11994. "logid": {
  11995. "description": "流水ID",
  11996. "type": "integer"
  11997. },
  11998. "logremark": {
  11999. "description": "流水备注",
  12000. "type": "string"
  12001. },
  12002. "middlegoodsid": {
  12003. "description": "套保品种ID",
  12004. "type": "integer"
  12005. },
  12006. "tradedate": {
  12007. "description": "交易日(yyyyMMdd)",
  12008. "type": "string"
  12009. },
  12010. "updatetime": {
  12011. "description": "更新时间",
  12012. "type": "string"
  12013. }
  12014. }
  12015. },
  12016. "models.ErmcpMiddleGoodsDetail": {
  12017. "type": "object",
  12018. "properties": {
  12019. "cvList": {
  12020. "description": "期货品种折算列表",
  12021. "type": "array",
  12022. "items": {
  12023. "$ref": "#/definitions/models.GoodsGroupConvert"
  12024. }
  12025. },
  12026. "mg": {
  12027. "description": "套保品种基本信息",
  12028. "type": "object",
  12029. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  12030. }
  12031. }
  12032. },
  12033. "models.ErmcpMiddleGoodsModel": {
  12034. "type": "object",
  12035. "properties": {
  12036. "areauserid": {
  12037. "description": "机构用户ID",
  12038. "type": "integer"
  12039. },
  12040. "createtime": {
  12041. "description": "修改时间",
  12042. "type": "string"
  12043. },
  12044. "enumdicname": {
  12045. "description": "单位名称",
  12046. "type": "string"
  12047. },
  12048. "evaluateratio": {
  12049. "description": "估价系数",
  12050. "type": "number"
  12051. },
  12052. "goodsgroupid": {
  12053. "description": "关联期货品种ID",
  12054. "type": "integer"
  12055. },
  12056. "isvalid": {
  12057. "description": "状态 0-无效(停用) 1-有效(正常)",
  12058. "type": "integer"
  12059. },
  12060. "middlegoodscode": {
  12061. "description": "套保品种代码",
  12062. "type": "string"
  12063. },
  12064. "middlegoodsid": {
  12065. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  12066. "type": "integer"
  12067. },
  12068. "middlegoodsname": {
  12069. "description": "套保品种名称",
  12070. "type": "string"
  12071. },
  12072. "modifytime": {
  12073. "description": "修改时间",
  12074. "type": "string"
  12075. },
  12076. "needhedgeratio": {
  12077. "description": "套保比率",
  12078. "type": "number"
  12079. },
  12080. "qtydecimalplace": {
  12081. "description": "数量小数位",
  12082. "type": "integer"
  12083. },
  12084. "relatedgoodsid": {
  12085. "description": "关联交易商品ID",
  12086. "type": "integer"
  12087. },
  12088. "relatedgoodstype": {
  12089. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  12090. "type": "integer"
  12091. }
  12092. }
  12093. },
  12094. "models.ErmcpModel": {
  12095. "type": "object",
  12096. "properties": {
  12097. "accountname": {
  12098. "description": "账户名称",
  12099. "type": "string"
  12100. },
  12101. "attachment": {
  12102. "description": "附件",
  12103. "type": "string"
  12104. },
  12105. "audittime": {
  12106. "description": "审核时间",
  12107. "type": "string"
  12108. },
  12109. "brandname": {
  12110. "description": "品牌名称",
  12111. "type": "string"
  12112. },
  12113. "contracctstatus": {
  12114. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12115. "type": "integer"
  12116. },
  12117. "contractmargin": {
  12118. "description": "合同保证金",
  12119. "type": "number"
  12120. },
  12121. "contractno": {
  12122. "description": "合同编号",
  12123. "type": "string"
  12124. },
  12125. "contracttype": {
  12126. "description": "合同类型 1-采购, -1-销售",
  12127. "type": "integer"
  12128. },
  12129. "convertfactor": {
  12130. "description": "标仓系数",
  12131. "type": "number"
  12132. },
  12133. "createtime": {
  12134. "description": "创建时间",
  12135. "type": "string"
  12136. },
  12137. "daikaiamount": {
  12138. "description": "待开票额",
  12139. "type": "number"
  12140. },
  12141. "deliveryenddate": {
  12142. "description": "交割结束日",
  12143. "type": "string"
  12144. },
  12145. "deliverygoodscode": {
  12146. "description": "现货品种代码",
  12147. "type": "string"
  12148. },
  12149. "deliverygoodsid": {
  12150. "description": "现货商品ID",
  12151. "type": "integer"
  12152. },
  12153. "deliverygoodsname": {
  12154. "description": "现货品种名称",
  12155. "type": "string"
  12156. },
  12157. "deliverystartdate": {
  12158. "description": "交割开始日",
  12159. "type": "string"
  12160. },
  12161. "enddate": {
  12162. "description": "点价结束日",
  12163. "type": "string"
  12164. },
  12165. "enumdicname": {
  12166. "description": "单位名称",
  12167. "type": "string"
  12168. },
  12169. "goodscode": {
  12170. "description": "点价商品代码",
  12171. "type": "string"
  12172. },
  12173. "goodsid": {
  12174. "description": "点价商品ID",
  12175. "type": "integer"
  12176. },
  12177. "goodsname": {
  12178. "description": "点价商品名称",
  12179. "type": "string"
  12180. },
  12181. "invoiceamount": {
  12182. "description": "已开票额",
  12183. "type": "number"
  12184. },
  12185. "loanamount": {
  12186. "description": "贷款总额=已定价额+调整金额",
  12187. "type": "number"
  12188. },
  12189. "margin": {
  12190. "description": "保证金",
  12191. "type": "number"
  12192. },
  12193. "modelname": {
  12194. "description": "型号名称",
  12195. "type": "string"
  12196. },
  12197. "payamount": {
  12198. "description": "已收付额(收款或付款)",
  12199. "type": "number"
  12200. },
  12201. "price": {
  12202. "description": "价格",
  12203. "type": "number"
  12204. },
  12205. "pricedamount": {
  12206. "description": "已定价额",
  12207. "type": "number"
  12208. },
  12209. "pricedavg": {
  12210. "description": "已点均价",
  12211. "type": "number"
  12212. },
  12213. "pricedqty": {
  12214. "description": "已定价量",
  12215. "type": "number"
  12216. },
  12217. "pricemove": {
  12218. "description": "升贴水",
  12219. "type": "number"
  12220. },
  12221. "pricetype": {
  12222. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12223. "type": "integer"
  12224. },
  12225. "producttype": {
  12226. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12227. "type": "integer"
  12228. },
  12229. "qty": {
  12230. "description": "合同量",
  12231. "type": "number"
  12232. },
  12233. "reckonadjustamount": {
  12234. "description": "调整金额",
  12235. "type": "number"
  12236. },
  12237. "reckonedamount": {
  12238. "description": "已收付额(已确定额)",
  12239. "type": "number"
  12240. },
  12241. "reckonotheramount": {
  12242. "description": "其它费用",
  12243. "type": "number"
  12244. },
  12245. "reckonrealqty": {
  12246. "description": "已确定量",
  12247. "type": "number"
  12248. },
  12249. "remark": {
  12250. "description": "备注",
  12251. "type": "string"
  12252. },
  12253. "spotcontractid": {
  12254. "description": "合同ID",
  12255. "type": "string"
  12256. },
  12257. "spotgoodsbrandid": {
  12258. "description": "现货品牌ID",
  12259. "type": "integer"
  12260. },
  12261. "spotgoodsdesc": {
  12262. "description": "商品型号(商品规格)",
  12263. "type": "string"
  12264. },
  12265. "spotgoodsmodelid": {
  12266. "description": "现货型号ID",
  12267. "type": "integer"
  12268. },
  12269. "startdate": {
  12270. "description": "点价开始日",
  12271. "type": "string"
  12272. },
  12273. "totalamount": {
  12274. "description": "合计总额",
  12275. "type": "number"
  12276. },
  12277. "unpayamount": {
  12278. "description": "待支收额(支付或收款)",
  12279. "type": "number"
  12280. },
  12281. "unpricedqty": {
  12282. "description": "未定价量",
  12283. "type": "number"
  12284. },
  12285. "unsureqty": {
  12286. "description": "未确定量",
  12287. "type": "number"
  12288. },
  12289. "userid": {
  12290. "description": "用户ID",
  12291. "type": "integer"
  12292. },
  12293. "wrstandardcode": {
  12294. "description": "现货商品代码",
  12295. "type": "string"
  12296. },
  12297. "wrstandardid": {
  12298. "description": "现货商品ID",
  12299. "type": "integer"
  12300. },
  12301. "wrstandardname": {
  12302. "description": "现货商品名称",
  12303. "type": "string"
  12304. }
  12305. }
  12306. },
  12307. "models.ErmcpOPLogModel": {
  12308. "type": "object",
  12309. "properties": {
  12310. "aftervalue": {
  12311. "description": "变更后",
  12312. "type": "number"
  12313. },
  12314. "applyid": {
  12315. "description": "操作人ID",
  12316. "type": "string"
  12317. },
  12318. "applyname": {
  12319. "description": "操作人名称",
  12320. "type": "string"
  12321. },
  12322. "beforevalue": {
  12323. "description": "变更前",
  12324. "type": "number"
  12325. },
  12326. "biztype": {
  12327. "description": "业务类型 - 1:套保计划 2:现货合同",
  12328. "type": "integer"
  12329. },
  12330. "contracttype": {
  12331. "description": "现货合同类型 - 1:采购 -1:销售",
  12332. "type": "integer"
  12333. },
  12334. "logvalue": {
  12335. "description": "数值",
  12336. "type": "number"
  12337. },
  12338. "operatelogtype": {
  12339. "description": "操作流水类型",
  12340. "type": "integer"
  12341. },
  12342. "operatelogtypedesc": {
  12343. "description": "操作流水类型名称",
  12344. "type": "string"
  12345. },
  12346. "relatedid": {
  12347. "description": "现货合同ID\\套保计划",
  12348. "type": "string"
  12349. },
  12350. "updatetime": {
  12351. "description": "更新时间",
  12352. "type": "string"
  12353. }
  12354. }
  12355. },
  12356. "models.ErmcpPendingAudit": {
  12357. "type": "object",
  12358. "properties": {
  12359. "areastockqty": {
  12360. "description": "待审核数量: 库存申请",
  12361. "type": "integer"
  12362. },
  12363. "businessdjqty": {
  12364. "description": "待审核数量: 点价",
  12365. "type": "integer"
  12366. },
  12367. "businessfpqty": {
  12368. "description": "待审核数量: 发票",
  12369. "type": "integer"
  12370. },
  12371. "businessjsqty": {
  12372. "description": "待审核数量: 结算",
  12373. "type": "integer"
  12374. },
  12375. "businesskxqty": {
  12376. "description": "待审核数量: 款项",
  12377. "type": "integer"
  12378. },
  12379. "hedgeplanqty": {
  12380. "description": "待审核数量: 套保计划",
  12381. "type": "integer"
  12382. },
  12383. "spotcontractqty": {
  12384. "description": "待审核数量: 现货合同",
  12385. "type": "integer"
  12386. },
  12387. "userqty": {
  12388. "description": "待审核数量: 用户",
  12389. "type": "integer"
  12390. }
  12391. }
  12392. },
  12393. "models.ErmcpRealExposureModel": {
  12394. "type": "object",
  12395. "properties": {
  12396. "areaUserID": {
  12397. "description": "所属机构",
  12398. "type": "integer"
  12399. },
  12400. "buyFutureQty": {
  12401. "description": "买入期货数量",
  12402. "type": "number"
  12403. },
  12404. "buyPlanQty": {
  12405. "description": "采购计划数量",
  12406. "type": "number"
  12407. },
  12408. "buyPricedQty": {
  12409. "description": "采购合同已定价数量",
  12410. "type": "number"
  12411. },
  12412. "diffFutuQty": {
  12413. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  12414. "type": "number"
  12415. },
  12416. "diffSpotQty": {
  12417. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  12418. "type": "number"
  12419. },
  12420. "enumdicname": {
  12421. "description": "单位名称",
  12422. "type": "string"
  12423. },
  12424. "middleGoodsCode": {
  12425. "description": "套保品种代码",
  12426. "type": "string"
  12427. },
  12428. "middleGoodsHedgeRatio": {
  12429. "description": "应套保比例",
  12430. "type": "number"
  12431. },
  12432. "middleGoodsID": {
  12433. "description": "套保品种",
  12434. "type": "integer"
  12435. },
  12436. "middleGoodsName": {
  12437. "description": "套保品种名称",
  12438. "type": "string"
  12439. },
  12440. "needHedgeExposoure": {
  12441. "description": "应套保敞口",
  12442. "type": "number"
  12443. },
  12444. "needHedgeRatio": {
  12445. "description": "应套保敞口比例",
  12446. "type": "number"
  12447. },
  12448. "oriBuyFutureQty": {
  12449. "description": "期初买入期货数量",
  12450. "type": "number"
  12451. },
  12452. "oriBuyPlanQty": {
  12453. "description": "期初采购计划数量",
  12454. "type": "number"
  12455. },
  12456. "oriBuyPricedQty": {
  12457. "description": "期初采购合同已定价数量",
  12458. "type": "number"
  12459. },
  12460. "oriSellFutureQty": {
  12461. "description": "期初卖出期货数量",
  12462. "type": "number"
  12463. },
  12464. "oriSellPlanQty": {
  12465. "description": "期初销售计划数量",
  12466. "type": "number"
  12467. },
  12468. "oriSellPricedQty": {
  12469. "description": "期初销售合同已定价数量",
  12470. "type": "number"
  12471. },
  12472. "oriTotalFutuQty": {
  12473. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  12474. "type": "number"
  12475. },
  12476. "oriTotalSpotQty": {
  12477. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  12478. "type": "number"
  12479. },
  12480. "sellFutureQty": {
  12481. "description": "卖出期货数量",
  12482. "type": "number"
  12483. },
  12484. "sellPlanQty": {
  12485. "description": "销售计划数量",
  12486. "type": "number"
  12487. },
  12488. "sellPricedQty": {
  12489. "description": "销售合同已定价数量",
  12490. "type": "number"
  12491. },
  12492. "totalExposure": {
  12493. "description": "总敞口",
  12494. "type": "number"
  12495. },
  12496. "totalFutureQty": {
  12497. "description": "期货数量",
  12498. "type": "number"
  12499. },
  12500. "totalHedgeRatio": {
  12501. "description": "敞口比例",
  12502. "type": "number"
  12503. },
  12504. "totalNeedHedgeQty": {
  12505. "description": "期货应套保量",
  12506. "type": "number"
  12507. },
  12508. "totalSpotQty": {
  12509. "description": "现货数量",
  12510. "type": "number"
  12511. }
  12512. }
  12513. },
  12514. "models.ErmcpReportDayExposure": {
  12515. "type": "object",
  12516. "properties": {
  12517. "areauserid": {
  12518. "description": "所属机构",
  12519. "type": "integer"
  12520. },
  12521. "buyfutureqty": {
  12522. "description": "买入期货数量",
  12523. "type": "number"
  12524. },
  12525. "buyplanqty": {
  12526. "description": "采购计划数量",
  12527. "type": "number"
  12528. },
  12529. "buypricedqty": {
  12530. "description": "采购合同已定价数量",
  12531. "type": "number"
  12532. },
  12533. "diffFutuQty": {
  12534. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  12535. "type": "number"
  12536. },
  12537. "diffSpotQty": {
  12538. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  12539. "type": "number"
  12540. },
  12541. "enumdicname": {
  12542. "description": "单位名称",
  12543. "type": "string"
  12544. },
  12545. "middlegoodscode": {
  12546. "description": "套保品种代码",
  12547. "type": "string"
  12548. },
  12549. "middlegoodshedgeratio": {
  12550. "description": "应套保比例",
  12551. "type": "number"
  12552. },
  12553. "middlegoodsid": {
  12554. "description": "套保品种ID",
  12555. "type": "integer"
  12556. },
  12557. "middlegoodsname": {
  12558. "description": "套保品种名称",
  12559. "type": "string"
  12560. },
  12561. "needhedgeexposoure": {
  12562. "description": "应套保敞口",
  12563. "type": "number"
  12564. },
  12565. "needhedgeratio": {
  12566. "description": "应套保敞口比例",
  12567. "type": "number"
  12568. },
  12569. "oriTotalFutuQty": {
  12570. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  12571. "type": "number"
  12572. },
  12573. "oriTotalSpotQty": {
  12574. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  12575. "type": "number"
  12576. },
  12577. "oribuyfutureqty": {
  12578. "description": "期初买入期货数量",
  12579. "type": "number"
  12580. },
  12581. "oribuyplanqty": {
  12582. "description": "期初采购计划数量",
  12583. "type": "number"
  12584. },
  12585. "oribuypricedqty": {
  12586. "description": "期初采购合同已定价数量",
  12587. "type": "number"
  12588. },
  12589. "orisellfutureqty": {
  12590. "description": "期初卖出期货数量",
  12591. "type": "number"
  12592. },
  12593. "orisellplanqty": {
  12594. "description": "期初销售计划数量",
  12595. "type": "number"
  12596. },
  12597. "orisellpricedqty": {
  12598. "description": "期初销售合同已定价数量",
  12599. "type": "number"
  12600. },
  12601. "reckondate": {
  12602. "description": "日照时期(yyyyMMdd)",
  12603. "type": "string"
  12604. },
  12605. "sellfutureqty": {
  12606. "description": "卖出期货数量",
  12607. "type": "number"
  12608. },
  12609. "sellplanqty": {
  12610. "description": "销售计划数量",
  12611. "type": "number"
  12612. },
  12613. "sellpricedqty": {
  12614. "description": "销售合同已定价数量",
  12615. "type": "number"
  12616. },
  12617. "totalexposure": {
  12618. "description": "总敞口",
  12619. "type": "number"
  12620. },
  12621. "totalfutureqty": {
  12622. "description": "期货数量",
  12623. "type": "number"
  12624. },
  12625. "totalhedgeratio": {
  12626. "description": "敞口比例",
  12627. "type": "number"
  12628. },
  12629. "totalneedhedgeqty": {
  12630. "description": "期货应套保量",
  12631. "type": "number"
  12632. },
  12633. "totalspotqty": {
  12634. "description": "现货数量",
  12635. "type": "number"
  12636. }
  12637. }
  12638. },
  12639. "models.ErmcpReportDayFR": {
  12640. "type": "object",
  12641. "properties": {
  12642. "areauserid": {
  12643. "description": "所属机构",
  12644. "type": "integer"
  12645. },
  12646. "collectinvoiceamount": {
  12647. "description": "今日开票金额",
  12648. "type": "number"
  12649. },
  12650. "collectinvoicecount": {
  12651. "description": "今日开票笔数",
  12652. "type": "integer"
  12653. },
  12654. "collectmoneyamount": {
  12655. "description": "今日收款金额",
  12656. "type": "number"
  12657. },
  12658. "collectmoneycount": {
  12659. "description": "今日收款笔数",
  12660. "type": "integer"
  12661. },
  12662. "payinvoiceamount": {
  12663. "description": "今日收票金额",
  12664. "type": "number"
  12665. },
  12666. "payinvoicecount": {
  12667. "description": "今日收票笔数",
  12668. "type": "integer"
  12669. },
  12670. "paymoneyamount": {
  12671. "description": "今日付款金额",
  12672. "type": "number"
  12673. },
  12674. "paymoneycount": {
  12675. "description": "今日付款笔数",
  12676. "type": "integer"
  12677. },
  12678. "reckondate": {
  12679. "description": "日照时期(yyyyMMdd)",
  12680. "type": "string"
  12681. },
  12682. "updatetime": {
  12683. "description": "更新时间",
  12684. "type": "string"
  12685. }
  12686. }
  12687. },
  12688. "models.ErmcpReportDaySpot": {
  12689. "type": "object",
  12690. "properties": {
  12691. "areauserid": {
  12692. "description": "所属机构T",
  12693. "type": "integer"
  12694. },
  12695. "buyinqty": {
  12696. "description": "采购入库量",
  12697. "type": "number"
  12698. },
  12699. "enumdicname": {
  12700. "description": "现货商品单位名称",
  12701. "type": "string"
  12702. },
  12703. "reckondate": {
  12704. "description": "日照时期(yyyyMMdd)",
  12705. "type": "string"
  12706. },
  12707. "selloutqty": {
  12708. "description": "销售出库量",
  12709. "type": "number"
  12710. },
  12711. "todaybuyreckonqty": {
  12712. "description": "采购确定量",
  12713. "type": "number"
  12714. },
  12715. "todaysellreckonqty": {
  12716. "description": "销售确定量",
  12717. "type": "number"
  12718. },
  12719. "totalbuypricedqty": {
  12720. "description": "采购定价量 = 期末 - 期初",
  12721. "type": "number"
  12722. },
  12723. "totalsellpricedqty": {
  12724. "description": "销售定价量 = 期末 - 期初",
  12725. "type": "number"
  12726. },
  12727. "wrstandardcode": {
  12728. "description": "现货商品代码",
  12729. "type": "string"
  12730. },
  12731. "wrstandardid": {
  12732. "description": "现货商品ID",
  12733. "type": "integer"
  12734. },
  12735. "wrstandardname": {
  12736. "description": "现货商品名称",
  12737. "type": "string"
  12738. }
  12739. }
  12740. },
  12741. "models.ErmcpReportMonSpot": {
  12742. "type": "object",
  12743. "properties": {
  12744. "areauserid": {
  12745. "description": "所属机构T",
  12746. "type": "integer"
  12747. },
  12748. "buyinqty": {
  12749. "description": "采购入库量",
  12750. "type": "number"
  12751. },
  12752. "cycletime": {
  12753. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12754. "type": "string"
  12755. },
  12756. "cycletype": {
  12757. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12758. "type": "integer"
  12759. },
  12760. "enumdicname": {
  12761. "description": "现货商品单位名称",
  12762. "type": "string"
  12763. },
  12764. "selloutqty": {
  12765. "description": "销售出库量",
  12766. "type": "number"
  12767. },
  12768. "todaybuyreckonqty": {
  12769. "description": "采购确定量",
  12770. "type": "number"
  12771. },
  12772. "todaysellreckonqty": {
  12773. "description": "销售确定量",
  12774. "type": "number"
  12775. },
  12776. "totalbuypricedqty": {
  12777. "description": "采购定价量 = 期末 - 期初",
  12778. "type": "number"
  12779. },
  12780. "totalsellpricedqty": {
  12781. "description": "销售定价量 = 期末 - 期初",
  12782. "type": "number"
  12783. },
  12784. "wrstandardcode": {
  12785. "description": "现货商品代码",
  12786. "type": "string"
  12787. },
  12788. "wrstandardid": {
  12789. "description": "现货商品ID",
  12790. "type": "integer"
  12791. },
  12792. "wrstandardname": {
  12793. "description": "现货商品名称",
  12794. "type": "string"
  12795. }
  12796. }
  12797. },
  12798. "models.ErmcpReportMonthFR": {
  12799. "type": "object",
  12800. "properties": {
  12801. "areauserid": {
  12802. "description": "所属机构【原值】",
  12803. "type": "integer"
  12804. },
  12805. "collectinvoiceamount": {
  12806. "description": "今日开票金额【汇总】",
  12807. "type": "number"
  12808. },
  12809. "collectinvoicecount": {
  12810. "description": "今日开票笔数【汇总】",
  12811. "type": "integer"
  12812. },
  12813. "collectmoneyamount": {
  12814. "description": "今日收款金额【汇总】",
  12815. "type": "number"
  12816. },
  12817. "collectmoneycount": {
  12818. "description": "今日收款笔数 【汇总】",
  12819. "type": "integer"
  12820. },
  12821. "cycletime": {
  12822. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12823. "type": "string"
  12824. },
  12825. "cycletype": {
  12826. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12827. "type": "integer"
  12828. },
  12829. "dayFr": {
  12830. "description": "日报表明细",
  12831. "type": "array",
  12832. "items": {
  12833. "$ref": "#/definitions/models.ErmcpReportDayFR"
  12834. }
  12835. },
  12836. "payinvoiceamount": {
  12837. "description": "今日收票金额【汇总】",
  12838. "type": "number"
  12839. },
  12840. "payinvoicecount": {
  12841. "description": "今日收票笔数【汇总】",
  12842. "type": "integer"
  12843. },
  12844. "paymoneyamount": {
  12845. "description": "今日付款金额【汇总】",
  12846. "type": "number"
  12847. },
  12848. "paymoneycount": {
  12849. "description": "今日付款笔数【汇总】",
  12850. "type": "integer"
  12851. },
  12852. "updatetime": {
  12853. "description": "更新时间",
  12854. "type": "string"
  12855. }
  12856. }
  12857. },
  12858. "models.ErmcpReportOPLog": {
  12859. "type": "object",
  12860. "properties": {
  12861. "applyid": {
  12862. "description": "操作人",
  12863. "type": "integer"
  12864. },
  12865. "applyname": {
  12866. "description": "操作人名称",
  12867. "type": "string"
  12868. },
  12869. "biztype": {
  12870. "description": "业务类型 - 1:套保计划 2:现货合同",
  12871. "type": "integer"
  12872. },
  12873. "contracttype": {
  12874. "description": "现货合同类型 - 1:采购 -1:销售",
  12875. "type": "integer"
  12876. },
  12877. "enumdicName": {
  12878. "description": "单位名称",
  12879. "type": "string"
  12880. },
  12881. "logdatetime": {
  12882. "description": "流水日期(时间)",
  12883. "type": "string"
  12884. },
  12885. "logid": {
  12886. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  12887. "type": "string"
  12888. },
  12889. "logtypename": {
  12890. "description": "合同类型(名称)",
  12891. "type": "string"
  12892. },
  12893. "logvalue": {
  12894. "description": "数值",
  12895. "type": "string"
  12896. },
  12897. "operatelogtype": {
  12898. "description": "操作流水类型 -",
  12899. "type": "integer"
  12900. },
  12901. "optypename": {
  12902. "description": "流水类型名称",
  12903. "type": "string"
  12904. },
  12905. "relatedid": {
  12906. "description": "现货合同ID\\套保计划",
  12907. "type": "string"
  12908. },
  12909. "relatedno": {
  12910. "description": "合同编号",
  12911. "type": "string"
  12912. },
  12913. "tradedate": {
  12914. "description": "交易日(yyyyMMdd)",
  12915. "type": "string"
  12916. },
  12917. "userid": {
  12918. "description": "机构ID",
  12919. "type": "integer"
  12920. },
  12921. "wrstandardcode": {
  12922. "description": "现货商品代码",
  12923. "type": "string"
  12924. },
  12925. "wrstandardid": {
  12926. "description": "现货商品ID",
  12927. "type": "integer"
  12928. },
  12929. "wrstandardname": {
  12930. "description": "现货商品名称",
  12931. "type": "string"
  12932. }
  12933. }
  12934. },
  12935. "models.ErmcpSpotContractModel": {
  12936. "type": "object",
  12937. "properties": {
  12938. "amount": {
  12939. "description": "金额 [1:一口价、3:暂定价]",
  12940. "type": "number"
  12941. },
  12942. "attachment": {
  12943. "description": "附件",
  12944. "type": "string"
  12945. },
  12946. "auditremark": {
  12947. "description": "审核意见",
  12948. "type": "string"
  12949. },
  12950. "audittime": {
  12951. "description": "审核时间",
  12952. "type": "string"
  12953. },
  12954. "brandname": {
  12955. "description": "品牌名称",
  12956. "type": "string"
  12957. },
  12958. "buyuserid": {
  12959. "description": "采购方ID",
  12960. "type": "integer"
  12961. },
  12962. "buyusername": {
  12963. "description": "采购方名称",
  12964. "type": "string"
  12965. },
  12966. "contracctstatus": {
  12967. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12968. "type": "integer"
  12969. },
  12970. "contractmargin": {
  12971. "description": "合同保证金",
  12972. "type": "number"
  12973. },
  12974. "contractno": {
  12975. "description": "现货合同编号",
  12976. "type": "string"
  12977. },
  12978. "contracttype": {
  12979. "description": "现货合同类型 - 1:采购 -1:销售",
  12980. "type": "integer"
  12981. },
  12982. "convertfactor": {
  12983. "description": "标仓系数",
  12984. "type": "number"
  12985. },
  12986. "createtime": {
  12987. "description": "创建时间",
  12988. "type": "string"
  12989. },
  12990. "deliveryenddate": {
  12991. "description": "交收期(结束)",
  12992. "type": "string"
  12993. },
  12994. "deliverygoodscode": {
  12995. "description": "现货品种代码",
  12996. "type": "string"
  12997. },
  12998. "deliverygoodsid": {
  12999. "description": "现货品种ID",
  13000. "type": "integer"
  13001. },
  13002. "deliverygoodsname": {
  13003. "description": "现货品种名称",
  13004. "type": "string"
  13005. },
  13006. "deliverystartdate": {
  13007. "description": "交收期(开始)",
  13008. "type": "string"
  13009. },
  13010. "enddate": {
  13011. "description": "点价结束日期 [2:点价 3:暂定价]",
  13012. "type": "string"
  13013. },
  13014. "enumdicname": {
  13015. "description": "单位名称",
  13016. "type": "string"
  13017. },
  13018. "goodscode": {
  13019. "description": "点价合约代码",
  13020. "type": "string"
  13021. },
  13022. "goodsid": {
  13023. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  13024. "type": "integer"
  13025. },
  13026. "goodsname": {
  13027. "description": "点价商品名称",
  13028. "type": "string"
  13029. },
  13030. "margin": {
  13031. "description": "当前保证金",
  13032. "type": "number"
  13033. },
  13034. "modelname": {
  13035. "description": "型号名称",
  13036. "type": "string"
  13037. },
  13038. "price": {
  13039. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  13040. "type": "number"
  13041. },
  13042. "pricemove": {
  13043. "description": "升贴水 [2:点价 3:暂定价]",
  13044. "type": "number"
  13045. },
  13046. "pricetype": {
  13047. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13048. "type": "integer"
  13049. },
  13050. "producttype": {
  13051. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13052. "type": "integer"
  13053. },
  13054. "qty": {
  13055. "description": "数量",
  13056. "type": "number"
  13057. },
  13058. "remark": {
  13059. "description": "备注",
  13060. "type": "string"
  13061. },
  13062. "selluserid": {
  13063. "description": "销售方ID",
  13064. "type": "integer"
  13065. },
  13066. "sellusername": {
  13067. "description": "销售方名称",
  13068. "type": "string"
  13069. },
  13070. "spotcontractid": {
  13071. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  13072. "type": "string"
  13073. },
  13074. "spotgoodsbrandid": {
  13075. "description": "现货品牌ID",
  13076. "type": "integer"
  13077. },
  13078. "spotgoodsdesc": {
  13079. "description": "商品型号",
  13080. "type": "string"
  13081. },
  13082. "spotgoodsmodelid": {
  13083. "description": "现货型号ID",
  13084. "type": "integer"
  13085. },
  13086. "startdate": {
  13087. "description": "点价开始日期 [2:点价 3:暂定价]",
  13088. "type": "string"
  13089. },
  13090. "updatetime": {
  13091. "description": "更新时间",
  13092. "type": "string"
  13093. },
  13094. "userid": {
  13095. "description": "机构ID",
  13096. "type": "integer"
  13097. },
  13098. "wrstandardcode": {
  13099. "description": "现货商品代码",
  13100. "type": "string"
  13101. },
  13102. "wrstandardid": {
  13103. "description": "现货商品ID",
  13104. "type": "integer"
  13105. },
  13106. "wrstandardname": {
  13107. "description": "现货商品名称",
  13108. "type": "string"
  13109. }
  13110. }
  13111. },
  13112. "models.ErmcpUserModel": {
  13113. "type": "object",
  13114. "properties": {
  13115. "address": {
  13116. "description": "通讯地址",
  13117. "type": "string"
  13118. },
  13119. "attachment1": {
  13120. "description": "附件1",
  13121. "type": "string"
  13122. },
  13123. "audittime": {
  13124. "description": "审核时间",
  13125. "type": "string"
  13126. },
  13127. "cardfrontphotourl": {
  13128. "description": "证件正面图片地址",
  13129. "type": "string"
  13130. },
  13131. "cardnum": {
  13132. "description": "证件号码",
  13133. "type": "string"
  13134. },
  13135. "cardtype": {
  13136. "description": "证件类型",
  13137. "type": "integer"
  13138. },
  13139. "cardtypename": {
  13140. "description": "证件类型名称",
  13141. "type": "string"
  13142. },
  13143. "cityid": {
  13144. "description": "市",
  13145. "type": "integer"
  13146. },
  13147. "countryid": {
  13148. "description": "国家",
  13149. "type": "integer"
  13150. },
  13151. "createtime": {
  13152. "description": "创建时间",
  13153. "type": "string"
  13154. },
  13155. "customername": {
  13156. "description": "企业名称",
  13157. "type": "string"
  13158. },
  13159. "memberuserid": {
  13160. "description": "所属机构ID",
  13161. "type": "integer"
  13162. },
  13163. "mobile": {
  13164. "description": "手机号码",
  13165. "type": "string"
  13166. },
  13167. "modifytime": {
  13168. "description": "修改时间",
  13169. "type": "string"
  13170. },
  13171. "provinceid": {
  13172. "description": "省",
  13173. "type": "integer"
  13174. },
  13175. "remark": {
  13176. "description": "备注",
  13177. "type": "string"
  13178. },
  13179. "status": {
  13180. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  13181. "type": "integer"
  13182. },
  13183. "statusdesc": {
  13184. "description": "账户状态中文描述",
  13185. "type": "string"
  13186. },
  13187. "telphone": {
  13188. "description": "联系电话",
  13189. "type": "string"
  13190. },
  13191. "userid": {
  13192. "description": "用户ID",
  13193. "type": "integer"
  13194. },
  13195. "userinfotype": {
  13196. "description": "客户类型",
  13197. "type": "string"
  13198. }
  13199. }
  13200. },
  13201. "models.ErmcpWareHouseInfo": {
  13202. "type": "object",
  13203. "properties": {
  13204. "address": {
  13205. "description": "详细地址",
  13206. "type": "string"
  13207. },
  13208. "areauserid": {
  13209. "description": "所属机构",
  13210. "type": "integer"
  13211. },
  13212. "autoid": {
  13213. "description": "自增ID(仓库ID)",
  13214. "type": "integer"
  13215. },
  13216. "cityid": {
  13217. "description": "市",
  13218. "type": "integer"
  13219. },
  13220. "contactname": {
  13221. "description": "联系人",
  13222. "type": "string"
  13223. },
  13224. "contactnum": {
  13225. "description": "联系电话",
  13226. "type": "string"
  13227. },
  13228. "countryid": {
  13229. "description": "国家",
  13230. "type": "integer"
  13231. },
  13232. "createtime": {
  13233. "description": "创建时间",
  13234. "type": "string"
  13235. },
  13236. "districtid": {
  13237. "description": "区",
  13238. "type": "integer"
  13239. },
  13240. "hasvideo": {
  13241. "description": "是否有视频 - 0:无 1:有",
  13242. "type": "integer"
  13243. },
  13244. "provinceid": {
  13245. "description": "省",
  13246. "type": "integer"
  13247. },
  13248. "remark": {
  13249. "description": "审核备注",
  13250. "type": "string"
  13251. },
  13252. "videourl": {
  13253. "description": "视频地址",
  13254. "type": "string"
  13255. },
  13256. "warehousecode": {
  13257. "description": "仓库代码",
  13258. "type": "string"
  13259. },
  13260. "warehousename": {
  13261. "description": "仓库名称",
  13262. "type": "string"
  13263. },
  13264. "warehousestatus": {
  13265. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  13266. "type": "integer"
  13267. },
  13268. "warehousetype": {
  13269. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13270. "type": "integer"
  13271. }
  13272. }
  13273. },
  13274. "models.ErmcpWrstandDetail": {
  13275. "type": "object",
  13276. "properties": {
  13277. "gbList": {
  13278. "description": "品牌列表",
  13279. "type": "array",
  13280. "items": {
  13281. "$ref": "#/definitions/models.GoodsBrand"
  13282. }
  13283. },
  13284. "goodsList": {
  13285. "description": "关联交易商品列表",
  13286. "type": "array",
  13287. "items": {
  13288. "$ref": "#/definitions/models.RelatedGoodsEx"
  13289. }
  13290. },
  13291. "gtList": {
  13292. "description": "型号列表",
  13293. "type": "array",
  13294. "items": {
  13295. "$ref": "#/definitions/models.GoodsTypeModel"
  13296. }
  13297. },
  13298. "wrd": {
  13299. "description": "基本信息",
  13300. "type": "object",
  13301. "$ref": "#/definitions/models.ErmcpWrstandard"
  13302. },
  13303. "wrsList": {
  13304. "description": "套保信息列表",
  13305. "type": "array",
  13306. "items": {
  13307. "$ref": "#/definitions/models.WRSConverTDetail"
  13308. }
  13309. }
  13310. }
  13311. },
  13312. "models.ErmcpWrstandard": {
  13313. "type": "object",
  13314. "properties": {
  13315. "areauserid": {
  13316. "description": "所属机构",
  13317. "type": "integer"
  13318. },
  13319. "createtime": {
  13320. "description": "创建时间",
  13321. "type": "string"
  13322. },
  13323. "creatorid": {
  13324. "description": "创建人",
  13325. "type": "integer"
  13326. },
  13327. "deliverygoodsid": {
  13328. "description": "品种ID",
  13329. "type": "integer"
  13330. },
  13331. "enumdicname": {
  13332. "description": "单位名称",
  13333. "type": "string"
  13334. },
  13335. "isvalid": {
  13336. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  13337. "type": "integer"
  13338. },
  13339. "minivalue": {
  13340. "description": "最小变动值",
  13341. "type": "integer"
  13342. },
  13343. "minivaluedp": {
  13344. "description": "最小变动值小数位",
  13345. "type": "integer"
  13346. },
  13347. "realminivalue": {
  13348. "description": "实际最小变动值",
  13349. "type": "integer"
  13350. },
  13351. "realminivaluedp": {
  13352. "description": "实际最小变动值小数位",
  13353. "type": "integer"
  13354. },
  13355. "remark": {
  13356. "description": "备注",
  13357. "type": "string"
  13358. },
  13359. "unitid": {
  13360. "description": "单位ID",
  13361. "type": "integer"
  13362. },
  13363. "updatetime": {
  13364. "description": "更新时间",
  13365. "type": "string"
  13366. },
  13367. "wrstandardcode": {
  13368. "description": "现货商品代码",
  13369. "type": "string"
  13370. },
  13371. "wrstandardid": {
  13372. "description": "现货商品ID(SEQ_WRSTANDARD)",
  13373. "type": "integer"
  13374. },
  13375. "wrstandardname": {
  13376. "description": "现货商品名称",
  13377. "type": "string"
  13378. }
  13379. }
  13380. },
  13381. "models.Externalexchange": {
  13382. "type": "object",
  13383. "required": [
  13384. "autoid"
  13385. ],
  13386. "properties": {
  13387. "autoid": {
  13388. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  13389. "type": "integer"
  13390. },
  13391. "exchangefullname": {
  13392. "description": "外部交易所全称",
  13393. "type": "string"
  13394. },
  13395. "exexchangecode": {
  13396. "description": "外部交易所代码",
  13397. "type": "string"
  13398. },
  13399. "exexchangename": {
  13400. "description": "外部交易所名称(简称)",
  13401. "type": "string"
  13402. },
  13403. "ismarketprice": {
  13404. "description": "是否支持市价 - 0:不支持 1:支持",
  13405. "type": "integer"
  13406. },
  13407. "quotegear": {
  13408. "description": "行情档位(1-10)",
  13409. "type": "integer"
  13410. },
  13411. "showbrokerflag": {
  13412. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  13413. "type": "integer"
  13414. },
  13415. "updatetime": {
  13416. "description": "更新时间",
  13417. "type": "string"
  13418. }
  13419. }
  13420. },
  13421. "models.Funcmenulist": {
  13422. "type": "object",
  13423. "required": [
  13424. "resourcecode"
  13425. ],
  13426. "properties": {
  13427. "iconame": {
  13428. "description": "菜单图标",
  13429. "type": "string"
  13430. },
  13431. "menutype": {
  13432. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  13433. "type": "integer"
  13434. },
  13435. "parentcode": {
  13436. "description": "上级资源代码",
  13437. "type": "string"
  13438. },
  13439. "remark": {
  13440. "description": "备注",
  13441. "type": "string"
  13442. },
  13443. "resourcecode": {
  13444. "description": "资源代码",
  13445. "type": "string"
  13446. },
  13447. "resourcelevel": {
  13448. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  13449. "type": "integer"
  13450. },
  13451. "resourcename": {
  13452. "description": "资源名",
  13453. "type": "string"
  13454. },
  13455. "sort": {
  13456. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  13457. "type": "integer"
  13458. },
  13459. "url": {
  13460. "description": "URL",
  13461. "type": "string"
  13462. }
  13463. }
  13464. },
  13465. "models.Goods": {
  13466. "type": "object",
  13467. "required": [
  13468. "goodscode",
  13469. "goodsid",
  13470. "goodsname",
  13471. "marketid"
  13472. ],
  13473. "properties": {
  13474. "agreeunit": {
  13475. "description": "合约单位",
  13476. "type": "number"
  13477. },
  13478. "auditaccountid": {
  13479. "description": "审核操作员账号",
  13480. "type": "integer"
  13481. },
  13482. "audittime": {
  13483. "description": "审核时间",
  13484. "type": "string"
  13485. },
  13486. "cancelaccountid": {
  13487. "description": "注销操作员账号",
  13488. "type": "integer"
  13489. },
  13490. "canceltime": {
  13491. "description": "注销时间",
  13492. "type": "string"
  13493. },
  13494. "closepricemode": {
  13495. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  13496. "type": "integer"
  13497. },
  13498. "closepriceparam": {
  13499. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  13500. "type": "number"
  13501. },
  13502. "createtime": {
  13503. "description": "创建时间",
  13504. "type": "string"
  13505. },
  13506. "creatorid": {
  13507. "description": "创建人",
  13508. "type": "integer"
  13509. },
  13510. "currencyid": {
  13511. "description": "报价货币ID",
  13512. "type": "integer"
  13513. },
  13514. "cutmode": {
  13515. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  13516. "type": "integer"
  13517. },
  13518. "decimalplace": {
  13519. "description": "报价小数位",
  13520. "type": "integer"
  13521. },
  13522. "delistingdate": {
  13523. "description": "商品退市时间(状态:退市) -- 已作废",
  13524. "type": "string"
  13525. },
  13526. "delistingmode": {
  13527. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  13528. "type": "integer"
  13529. },
  13530. "deliveryflag": {
  13531. "description": "交割标志 - 0:不可交割 1:可交割",
  13532. "type": "integer"
  13533. },
  13534. "forceclosemode": {
  13535. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  13536. "type": "integer"
  13537. },
  13538. "forceclosevalue": {
  13539. "description": "定期强平参数 [收益权]",
  13540. "type": "integer"
  13541. },
  13542. "goodscode": {
  13543. "description": "商品代码(内部)",
  13544. "type": "string"
  13545. },
  13546. "goodscurrencyid": {
  13547. "description": "合约货币ID",
  13548. "type": "integer"
  13549. },
  13550. "goodsgroupid": {
  13551. "description": "所属商品组ID",
  13552. "type": "integer"
  13553. },
  13554. "goodsid": {
  13555. "description": "商品ID(自增ID SEQ_GOODS)",
  13556. "type": "integer"
  13557. },
  13558. "goodsname": {
  13559. "description": "商品名称",
  13560. "type": "string"
  13561. },
  13562. "goodsquotetype": {
  13563. "description": "合约报价类型: 1-直接报价 2-间接报价",
  13564. "type": "integer"
  13565. },
  13566. "goodsstatus": {
  13567. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  13568. "type": "integer"
  13569. },
  13570. "goodstradetype": {
  13571. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  13572. "type": "integer"
  13573. },
  13574. "goodunitid": {
  13575. "description": "报价单位ID",
  13576. "type": "integer"
  13577. },
  13578. "hasquoter": {
  13579. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  13580. "type": "integer"
  13581. },
  13582. "hqprotecttime": {
  13583. "description": "行情保护时间(秒)",
  13584. "type": "integer"
  13585. },
  13586. "innerdealmode": {
  13587. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  13588. "type": "integer"
  13589. },
  13590. "isbuylimited": {
  13591. "description": "是否限制建仓量 - 0:不限制 1:限制",
  13592. "type": "integer"
  13593. },
  13594. "lasttradedate": {
  13595. "description": "最后交易日期(状态:待退市)",
  13596. "type": "string"
  13597. },
  13598. "listingdate": {
  13599. "description": "交易开始日期",
  13600. "type": "string"
  13601. },
  13602. "marketid": {
  13603. "description": "所属市场ID",
  13604. "type": "integer"
  13605. },
  13606. "modifierid": {
  13607. "description": "修改人",
  13608. "type": "integer"
  13609. },
  13610. "modifystatus": {
  13611. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  13612. "type": "integer"
  13613. },
  13614. "modifytime": {
  13615. "description": "修改时间",
  13616. "type": "string"
  13617. },
  13618. "outerdealmode": {
  13619. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  13620. "type": "integer"
  13621. },
  13622. "outgoodscode": {
  13623. "description": "商品代码(外部)",
  13624. "type": "string"
  13625. },
  13626. "qtydecimalplace": {
  13627. "description": "成交量小数位",
  13628. "type": "integer"
  13629. },
  13630. "quotegear": {
  13631. "description": "行情档位(1-10)",
  13632. "type": "integer"
  13633. },
  13634. "quoteminunit": {
  13635. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13636. "type": "integer"
  13637. },
  13638. "quoteshowtype": {
  13639. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  13640. "type": "integer"
  13641. },
  13642. "quoteshowtypeinterval": {
  13643. "description": "行情报价间隔时间(秒)(成交价时为0)",
  13644. "type": "integer"
  13645. },
  13646. "remark": {
  13647. "description": "备注",
  13648. "type": "string"
  13649. }
  13650. }
  13651. },
  13652. "models.GoodsBrand": {
  13653. "type": "object",
  13654. "properties": {
  13655. "brandid": {
  13656. "description": "品牌ID",
  13657. "type": "integer"
  13658. },
  13659. "brandname": {
  13660. "description": "品牌名称",
  13661. "type": "string"
  13662. },
  13663. "isvalid": {
  13664. "description": "是否有效 - 0:无效 1:有效",
  13665. "type": "integer"
  13666. }
  13667. }
  13668. },
  13669. "models.GoodsGroupConvert": {
  13670. "type": "object",
  13671. "properties": {
  13672. "convertratio": {
  13673. "description": "折算系数",
  13674. "type": "number"
  13675. },
  13676. "dstgoodsgroupid": {
  13677. "description": "目标期货品种ID",
  13678. "type": "integer"
  13679. },
  13680. "goodsgroupname": {
  13681. "description": "期货品种名称",
  13682. "type": "string"
  13683. },
  13684. "outergroupcode": {
  13685. "description": "期货品种代码",
  13686. "type": "string"
  13687. },
  13688. "srcgoodsgroupid": {
  13689. "description": "源期货品种ID",
  13690. "type": "integer"
  13691. }
  13692. }
  13693. },
  13694. "models.GoodsIDAndName": {
  13695. "type": "object",
  13696. "required": [
  13697. "goodscode",
  13698. "goodsid",
  13699. "goodsname",
  13700. "marketid"
  13701. ],
  13702. "properties": {
  13703. "goodscode": {
  13704. "description": "商品代码(内部)",
  13705. "type": "string"
  13706. },
  13707. "goodsid": {
  13708. "description": "商品ID(自增ID SEQ_GOODS)",
  13709. "type": "integer"
  13710. },
  13711. "goodsname": {
  13712. "description": "商品名称",
  13713. "type": "string"
  13714. },
  13715. "marketid": {
  13716. "description": "所属市场ID",
  13717. "type": "integer"
  13718. }
  13719. }
  13720. },
  13721. "models.GoodsTypeModel": {
  13722. "type": "object",
  13723. "properties": {
  13724. "modelid": {
  13725. "description": "型号ID",
  13726. "type": "integer"
  13727. },
  13728. "modelname": {
  13729. "description": "型号名称",
  13730. "type": "string"
  13731. },
  13732. "updatetime": {
  13733. "description": "更新时间",
  13734. "type": "string"
  13735. }
  13736. }
  13737. },
  13738. "models.Goodsgroup": {
  13739. "type": "object",
  13740. "required": [
  13741. "goodsgroupid",
  13742. "goodsgroupname",
  13743. "goodsgroupstatus",
  13744. "marketid"
  13745. ],
  13746. "properties": {
  13747. "agreeunit": {
  13748. "description": "合约单位",
  13749. "type": "number"
  13750. },
  13751. "canshort": {
  13752. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  13753. "type": "integer"
  13754. },
  13755. "closepricemode": {
  13756. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  13757. "type": "integer"
  13758. },
  13759. "closepriceparam": {
  13760. "description": "强平最新价浮动比例 - 方式为2时使用",
  13761. "type": "number"
  13762. },
  13763. "createtime": {
  13764. "description": "创建时间",
  13765. "type": "string"
  13766. },
  13767. "creatorid": {
  13768. "description": "创建人",
  13769. "type": "integer"
  13770. },
  13771. "currencyid": {
  13772. "description": "报价货币ID",
  13773. "type": "integer"
  13774. },
  13775. "decimalplace": {
  13776. "description": "报价小数位",
  13777. "type": "integer"
  13778. },
  13779. "exercisetype": {
  13780. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  13781. "type": "integer"
  13782. },
  13783. "exexchangeid": {
  13784. "description": "外部交易所ID[通道交易]",
  13785. "type": "integer"
  13786. },
  13787. "goodsgroupid": {
  13788. "description": "商品组ID(自增ID)",
  13789. "type": "integer"
  13790. },
  13791. "goodsgroupname": {
  13792. "description": "商品组名称",
  13793. "type": "string"
  13794. },
  13795. "goodsgroupstatus": {
  13796. "description": "商品组状态 - 1:正常 2:注销",
  13797. "type": "integer"
  13798. },
  13799. "goodunitid": {
  13800. "description": "报价单位ID",
  13801. "type": "integer"
  13802. },
  13803. "innerdealmode": {
  13804. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  13805. "type": "integer"
  13806. },
  13807. "isbuylimited": {
  13808. "description": "是否限制建仓量 - 0:不限制 1:限制",
  13809. "type": "integer"
  13810. },
  13811. "marketid": {
  13812. "description": "所属市场ID",
  13813. "type": "integer"
  13814. },
  13815. "modifierid": {
  13816. "description": "修改人",
  13817. "type": "integer"
  13818. },
  13819. "modifytime": {
  13820. "description": "修改时间",
  13821. "type": "string"
  13822. },
  13823. "outerdealmode": {
  13824. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  13825. "type": "integer"
  13826. },
  13827. "outergroupcode": {
  13828. "description": "外部商品组代码[通道交易]",
  13829. "type": "string"
  13830. },
  13831. "premiumdecimalplace": {
  13832. "description": "权利金小数位[场外期权]",
  13833. "type": "integer"
  13834. },
  13835. "premiumspreadalgorithm": {
  13836. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  13837. "type": "integer"
  13838. },
  13839. "premiumspreadvalue": {
  13840. "description": "权利金点差值[场外期权]",
  13841. "type": "number"
  13842. },
  13843. "qtydecimalplace": {
  13844. "description": "成交量小数位",
  13845. "type": "integer"
  13846. },
  13847. "quotegear": {
  13848. "description": "行情档位(1-10)",
  13849. "type": "integer"
  13850. },
  13851. "quoteminunit": {
  13852. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13853. "type": "integer"
  13854. },
  13855. "quoterid": {
  13856. "description": "报价商ID[场外期权]",
  13857. "type": "integer"
  13858. },
  13859. "quotesourcegroupid": {
  13860. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  13861. "type": "integer"
  13862. },
  13863. "syncgoodsqty": {
  13864. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  13865. "type": "integer"
  13866. }
  13867. }
  13868. },
  13869. "models.HsbyBuyMyPayOrder": {
  13870. "type": "object",
  13871. "required": [
  13872. "goodscode",
  13873. "goodsname",
  13874. "tradeid",
  13875. "trademode"
  13876. ],
  13877. "properties": {
  13878. "agreeunit": {
  13879. "description": "合约单位",
  13880. "type": "number"
  13881. },
  13882. "buyaccountid": {
  13883. "description": "买方账号ID[报价币种]",
  13884. "type": "integer"
  13885. },
  13886. "buyorderid": {
  13887. "description": "买方委托单号",
  13888. "type": "string"
  13889. },
  13890. "createtime": {
  13891. "description": "创建时间",
  13892. "type": "string"
  13893. },
  13894. "currencysign": {
  13895. "description": "货币符号",
  13896. "type": "string"
  13897. },
  13898. "decimalplace": {
  13899. "description": "报价小数位",
  13900. "type": "integer"
  13901. },
  13902. "goodscode": {
  13903. "description": "商品代码(内部)",
  13904. "type": "string"
  13905. },
  13906. "goodsid": {
  13907. "description": "商品ID",
  13908. "type": "integer"
  13909. },
  13910. "goodsname": {
  13911. "description": "商品名称",
  13912. "type": "string"
  13913. },
  13914. "marketid": {
  13915. "description": "市场ID",
  13916. "type": "integer"
  13917. },
  13918. "offamount": {
  13919. "description": "优惠金额",
  13920. "type": "number"
  13921. },
  13922. "originalamount": {
  13923. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  13924. "type": "number"
  13925. },
  13926. "payamount": {
  13927. "description": "支付金额 = TradeAmount + TradeCharge",
  13928. "type": "number"
  13929. },
  13930. "payflag": {
  13931. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13932. "type": "integer"
  13933. },
  13934. "paylimitedtime": {
  13935. "description": "支付期限",
  13936. "type": "string"
  13937. },
  13938. "paytime": {
  13939. "description": "付款时间",
  13940. "type": "string"
  13941. },
  13942. "picurls1": {
  13943. "description": "预售商品介绍图片[多张用逗号分隔]",
  13944. "type": "string"
  13945. },
  13946. "picurls2": {
  13947. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13948. "type": "string"
  13949. },
  13950. "sellaccountid": {
  13951. "description": "卖方账号ID[报价币种]",
  13952. "type": "integer"
  13953. },
  13954. "sellorderid": {
  13955. "description": "卖方委托单号",
  13956. "type": "string"
  13957. },
  13958. "tradeamount": {
  13959. "description": "成交金额",
  13960. "type": "number"
  13961. },
  13962. "tradecharge": {
  13963. "description": "成交手续费(买方)",
  13964. "type": "number"
  13965. },
  13966. "tradedate": {
  13967. "description": "交易日(yyyyMMdd)",
  13968. "type": "string"
  13969. },
  13970. "tradeid": {
  13971. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13972. "type": "string"
  13973. },
  13974. "trademode": {
  13975. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13976. "type": "integer"
  13977. },
  13978. "tradeprice": {
  13979. "description": "成交价格",
  13980. "type": "number"
  13981. },
  13982. "tradeqty": {
  13983. "description": "成交数量",
  13984. "type": "integer"
  13985. },
  13986. "vendorname1": {
  13987. "description": "预售商品供应商名称",
  13988. "type": "string"
  13989. },
  13990. "vendorname2": {
  13991. "description": "挂牌商品供应商名称",
  13992. "type": "string"
  13993. }
  13994. }
  13995. },
  13996. "models.HsbyBuyMyTradeDetail": {
  13997. "type": "object",
  13998. "required": [
  13999. "accountid",
  14000. "buyorsell",
  14001. "goodscode",
  14002. "goodsid",
  14003. "goodsname",
  14004. "marketid",
  14005. "orderid",
  14006. "qty",
  14007. "time",
  14008. "trademode"
  14009. ],
  14010. "properties": {
  14011. "accountid": {
  14012. "description": "账户ID[报价币种]",
  14013. "type": "integer"
  14014. },
  14015. "agreeunit": {
  14016. "description": "合约单位",
  14017. "type": "number"
  14018. },
  14019. "amount": {
  14020. "description": "金额 = 价格 * 数量 * 合约单位",
  14021. "type": "number"
  14022. },
  14023. "buyorsell": {
  14024. "description": "买卖 - 0:买 1:卖",
  14025. "type": "integer"
  14026. },
  14027. "currencysign": {
  14028. "description": "货币符号",
  14029. "type": "string"
  14030. },
  14031. "decimalplace": {
  14032. "description": "报价小数位",
  14033. "type": "integer"
  14034. },
  14035. "goodscode": {
  14036. "description": "商品代码(内部)",
  14037. "type": "string"
  14038. },
  14039. "goodsid": {
  14040. "description": "商品ID",
  14041. "type": "integer"
  14042. },
  14043. "goodsname": {
  14044. "description": "商品名称",
  14045. "type": "string"
  14046. },
  14047. "marketid": {
  14048. "description": "市场ID",
  14049. "type": "integer"
  14050. },
  14051. "orderid": {
  14052. "description": "单号(成交单号)",
  14053. "type": "string"
  14054. },
  14055. "picurls1": {
  14056. "description": "预售商品介绍图片[多张用逗号分隔]",
  14057. "type": "string"
  14058. },
  14059. "picurls2": {
  14060. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14061. "type": "string"
  14062. },
  14063. "price": {
  14064. "description": "价格",
  14065. "type": "number"
  14066. },
  14067. "qty": {
  14068. "description": "数量",
  14069. "type": "integer"
  14070. },
  14071. "time": {
  14072. "description": "时间",
  14073. "type": "string"
  14074. },
  14075. "trademode": {
  14076. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14077. "type": "integer"
  14078. },
  14079. "vendorname1": {
  14080. "description": "预售商品供应商名称",
  14081. "type": "string"
  14082. },
  14083. "vendorname2": {
  14084. "description": "挂牌商品供应商名称",
  14085. "type": "string"
  14086. }
  14087. }
  14088. },
  14089. "models.HsbyGoodsOrderDetail": {
  14090. "type": "object",
  14091. "required": [
  14092. "buyorsell",
  14093. "orderid",
  14094. "ordertime"
  14095. ],
  14096. "properties": {
  14097. "buyorsell": {
  14098. "description": "买卖 - 0:买 1:卖",
  14099. "type": "integer"
  14100. },
  14101. "currencysign": {
  14102. "description": "货币符号",
  14103. "type": "string"
  14104. },
  14105. "customername": {
  14106. "description": "客户名称(企业名称),已脱敏",
  14107. "type": "string"
  14108. },
  14109. "enableqty": {
  14110. "description": "可用数量",
  14111. "type": "integer"
  14112. },
  14113. "goodunit": {
  14114. "description": "报价单位",
  14115. "type": "string"
  14116. },
  14117. "orderid": {
  14118. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14119. "type": "string"
  14120. },
  14121. "orderprice": {
  14122. "description": "委托价格",
  14123. "type": "number"
  14124. },
  14125. "ordertime": {
  14126. "description": "委托时间",
  14127. "type": "string"
  14128. }
  14129. }
  14130. },
  14131. "models.HsbyListingGoodsDetail": {
  14132. "type": "object",
  14133. "required": [
  14134. "goodscode",
  14135. "goodsid",
  14136. "goodsname",
  14137. "marketid",
  14138. "trademode"
  14139. ],
  14140. "properties": {
  14141. "agreeunit": {
  14142. "description": "合约单位",
  14143. "type": "number"
  14144. },
  14145. "buymaxqty": {
  14146. "description": "购买上限 [71] - 0为不限",
  14147. "type": "integer"
  14148. },
  14149. "currency": {
  14150. "description": "货币",
  14151. "type": "string"
  14152. },
  14153. "currencysign": {
  14154. "description": "货币符号",
  14155. "type": "string"
  14156. },
  14157. "decimalplace": {
  14158. "description": "报价小数位",
  14159. "type": "integer"
  14160. },
  14161. "desccityid": {
  14162. "description": "目的地(市)ID",
  14163. "type": "integer"
  14164. },
  14165. "descprovinceid": {
  14166. "description": "目的地(省)ID",
  14167. "type": "integer"
  14168. },
  14169. "goodscode": {
  14170. "description": "商品代码(内部)",
  14171. "type": "string"
  14172. },
  14173. "goodsdesc": {
  14174. "description": "商品详情",
  14175. "type": "string"
  14176. },
  14177. "goodsid": {
  14178. "description": "商品ID(自增ID SEQ_GOODS)",
  14179. "type": "integer"
  14180. },
  14181. "goodsname": {
  14182. "description": "商品名称",
  14183. "type": "string"
  14184. },
  14185. "goodsprice": {
  14186. "description": "商品价格",
  14187. "type": "number"
  14188. },
  14189. "hotindex": {
  14190. "description": "景点热度",
  14191. "type": "integer"
  14192. },
  14193. "last": {
  14194. "description": "现价",
  14195. "type": "number"
  14196. },
  14197. "limitdown": {
  14198. "description": "跌停价",
  14199. "type": "number"
  14200. },
  14201. "limitup": {
  14202. "description": "涨停价",
  14203. "type": "number"
  14204. },
  14205. "lotsize": {
  14206. "description": "手数最小变动单位",
  14207. "type": "integer"
  14208. },
  14209. "marketid": {
  14210. "description": "所属市场ID",
  14211. "type": "integer"
  14212. },
  14213. "picurls": {
  14214. "description": "介绍图片[多张用逗号分隔]",
  14215. "type": "string"
  14216. },
  14217. "quoteminunit": {
  14218. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14219. "type": "integer"
  14220. },
  14221. "stepvalue": {
  14222. "description": "价格最小变动单位",
  14223. "type": "number"
  14224. },
  14225. "trademode": {
  14226. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14227. "type": "integer"
  14228. },
  14229. "vendorattr": {
  14230. "description": "供应商附件(多张,逗号分隔)",
  14231. "type": "string"
  14232. },
  14233. "vendorname": {
  14234. "description": "供应商名称",
  14235. "type": "string"
  14236. },
  14237. "vendorphone": {
  14238. "description": "供应商客服电话",
  14239. "type": "string"
  14240. },
  14241. "videourls": {
  14242. "description": "介绍视频[多张用逗号分隔]",
  14243. "type": "string"
  14244. }
  14245. }
  14246. },
  14247. "models.HsbyMarketGoods": {
  14248. "type": "object",
  14249. "required": [
  14250. "accountid",
  14251. "buyorsell",
  14252. "goodscode",
  14253. "goodsid",
  14254. "goodsname",
  14255. "marketid",
  14256. "orderid",
  14257. "trademode"
  14258. ],
  14259. "properties": {
  14260. "accountid": {
  14261. "description": "账户ID[报价币种]",
  14262. "type": "integer"
  14263. },
  14264. "agreeunit": {
  14265. "description": "合约单位",
  14266. "type": "number"
  14267. },
  14268. "buyorsell": {
  14269. "description": "买卖 - 0:买 1:卖",
  14270. "type": "integer"
  14271. },
  14272. "categoryid": {
  14273. "description": "类别ID(WRCATEGORY)",
  14274. "type": "integer"
  14275. },
  14276. "currency": {
  14277. "description": "货币",
  14278. "type": "string"
  14279. },
  14280. "currencysign": {
  14281. "description": "货币符号",
  14282. "type": "string"
  14283. },
  14284. "customername": {
  14285. "description": "卖家名称",
  14286. "type": "string"
  14287. },
  14288. "decimalplace": {
  14289. "description": "报价小数位",
  14290. "type": "integer"
  14291. },
  14292. "goodscode": {
  14293. "description": "商品代码(内部)",
  14294. "type": "string"
  14295. },
  14296. "goodsid": {
  14297. "description": "商品ID",
  14298. "type": "integer"
  14299. },
  14300. "goodsname": {
  14301. "description": "商品名称",
  14302. "type": "string"
  14303. },
  14304. "goodsprice": {
  14305. "description": "商品价格",
  14306. "type": "number"
  14307. },
  14308. "hascoupon": {
  14309. "description": "是否可用优惠卷",
  14310. "type": "boolean"
  14311. },
  14312. "hotindex": {
  14313. "description": "景点热度",
  14314. "type": "integer"
  14315. },
  14316. "marketid": {
  14317. "description": "市场ID",
  14318. "type": "integer"
  14319. },
  14320. "orderid": {
  14321. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14322. "type": "string"
  14323. },
  14324. "orderprice": {
  14325. "description": "委托价格",
  14326. "type": "number"
  14327. },
  14328. "orderstatus": {
  14329. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14330. "type": "integer"
  14331. },
  14332. "picurls": {
  14333. "description": "介绍图片[多张用逗号分隔]",
  14334. "type": "string"
  14335. },
  14336. "quoteminunit": {
  14337. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14338. "type": "integer"
  14339. },
  14340. "sellUserID": {
  14341. "description": "卖方UserID",
  14342. "type": "integer"
  14343. },
  14344. "trademode": {
  14345. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14346. "type": "integer"
  14347. },
  14348. "videourls": {
  14349. "description": "介绍视频[多张用逗号分隔]",
  14350. "type": "string"
  14351. }
  14352. }
  14353. },
  14354. "models.HsbyMarketGoodsDetail": {
  14355. "type": "object",
  14356. "required": [
  14357. "accountid",
  14358. "buyorsell",
  14359. "goodscode",
  14360. "goodsid",
  14361. "goodsname",
  14362. "marketid",
  14363. "orderid",
  14364. "orderqty",
  14365. "trademode"
  14366. ],
  14367. "properties": {
  14368. "accountid": {
  14369. "description": "账户ID[报价币种]",
  14370. "type": "integer"
  14371. },
  14372. "agreeunit": {
  14373. "description": "合约单位",
  14374. "type": "number"
  14375. },
  14376. "buymaxqty": {
  14377. "description": "购买上限 [71] - 0为不限",
  14378. "type": "integer"
  14379. },
  14380. "buyorsell": {
  14381. "description": "买卖 - 0:买 1:卖",
  14382. "type": "integer"
  14383. },
  14384. "cancelqty": {
  14385. "description": "撤单数量",
  14386. "type": "integer"
  14387. },
  14388. "categoryid": {
  14389. "description": "类别ID(WRCATEGORY)",
  14390. "type": "integer"
  14391. },
  14392. "currency": {
  14393. "description": "货币",
  14394. "type": "string"
  14395. },
  14396. "currencysign": {
  14397. "description": "货币符号",
  14398. "type": "string"
  14399. },
  14400. "customername": {
  14401. "description": "卖家名称",
  14402. "type": "string"
  14403. },
  14404. "decimalplace": {
  14405. "description": "报价小数位",
  14406. "type": "integer"
  14407. },
  14408. "goodscode": {
  14409. "description": "商品代码(内部)",
  14410. "type": "string"
  14411. },
  14412. "goodsdesc": {
  14413. "description": "商品详情",
  14414. "type": "string"
  14415. },
  14416. "goodsid": {
  14417. "description": "商品ID",
  14418. "type": "integer"
  14419. },
  14420. "goodsname": {
  14421. "description": "商品名称",
  14422. "type": "string"
  14423. },
  14424. "goodsprice": {
  14425. "description": "商品价格",
  14426. "type": "number"
  14427. },
  14428. "hotindex": {
  14429. "description": "景点热度",
  14430. "type": "integer"
  14431. },
  14432. "lotsize": {
  14433. "description": "手数最小变动单位",
  14434. "type": "integer"
  14435. },
  14436. "marketid": {
  14437. "description": "市场ID",
  14438. "type": "integer"
  14439. },
  14440. "orderid": {
  14441. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14442. "type": "string"
  14443. },
  14444. "orderprice": {
  14445. "description": "委托价格",
  14446. "type": "number"
  14447. },
  14448. "orderqty": {
  14449. "description": "委托数量",
  14450. "type": "integer"
  14451. },
  14452. "orderstatus": {
  14453. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14454. "type": "integer"
  14455. },
  14456. "picurls": {
  14457. "description": "介绍图片[多张用逗号分隔]",
  14458. "type": "string"
  14459. },
  14460. "quoteminunit": {
  14461. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14462. "type": "integer"
  14463. },
  14464. "sellUserID": {
  14465. "description": "卖方UserID",
  14466. "type": "integer"
  14467. },
  14468. "trademode": {
  14469. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14470. "type": "integer"
  14471. },
  14472. "tradeqty": {
  14473. "description": "成交数量",
  14474. "type": "integer"
  14475. },
  14476. "vendorattr": {
  14477. "description": "供应商附件(多张,逗号分隔)",
  14478. "type": "string"
  14479. },
  14480. "vendorname": {
  14481. "description": "供应商名称",
  14482. "type": "string"
  14483. },
  14484. "vendorphone": {
  14485. "description": "供应商客服电话",
  14486. "type": "string"
  14487. },
  14488. "videourls": {
  14489. "description": "介绍视频[多张用逗号分隔]",
  14490. "type": "string"
  14491. }
  14492. }
  14493. },
  14494. "models.HsbyMarketInfo": {
  14495. "type": "object",
  14496. "required": [
  14497. "marketid",
  14498. "marketstatus",
  14499. "trademode"
  14500. ],
  14501. "properties": {
  14502. "marketid": {
  14503. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  14504. "type": "integer"
  14505. },
  14506. "marketname": {
  14507. "description": "市场名称",
  14508. "type": "string"
  14509. },
  14510. "marketstatus": {
  14511. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  14512. "type": "integer"
  14513. },
  14514. "trademode": {
  14515. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14516. "type": "integer"
  14517. }
  14518. }
  14519. },
  14520. "models.HsbyMyGoods": {
  14521. "type": "object",
  14522. "required": [
  14523. "accountid",
  14524. "goodscode",
  14525. "goodsid",
  14526. "goodsname",
  14527. "marketid",
  14528. "trademode"
  14529. ],
  14530. "properties": {
  14531. "accountid": {
  14532. "description": "账号Id",
  14533. "type": "integer"
  14534. },
  14535. "agreeunit": {
  14536. "description": "合约单位",
  14537. "type": "number"
  14538. },
  14539. "buyaverageprice": {
  14540. "description": "持仓均价",
  14541. "type": "number"
  14542. },
  14543. "buycurholderamount": {
  14544. "description": "买当前持仓总金额[商品币种]",
  14545. "type": "number"
  14546. },
  14547. "buycurpositionqty": {
  14548. "description": "买当前持仓总数量",
  14549. "type": "integer"
  14550. },
  14551. "buymaxqty": {
  14552. "description": "购买上限 [71] - 0为不限",
  14553. "type": "integer"
  14554. },
  14555. "currencysign": {
  14556. "description": "货币符号",
  14557. "type": "string"
  14558. },
  14559. "decimalplace": {
  14560. "description": "报价小数位",
  14561. "type": "integer"
  14562. },
  14563. "enableqty": {
  14564. "description": "可用数量",
  14565. "type": "integer"
  14566. },
  14567. "goodscode": {
  14568. "description": "商品代码(内部)",
  14569. "type": "string"
  14570. },
  14571. "goodsid": {
  14572. "description": "商品Id",
  14573. "type": "integer"
  14574. },
  14575. "goodsname": {
  14576. "description": "商品名称",
  14577. "type": "string"
  14578. },
  14579. "goodsprice": {
  14580. "description": "商品价格",
  14581. "type": "number"
  14582. },
  14583. "goodsstatus": {
  14584. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  14585. "type": "integer"
  14586. },
  14587. "last": {
  14588. "description": "现价(仅使用于挂牌点选)",
  14589. "type": "number"
  14590. },
  14591. "limitdown": {
  14592. "description": "跌停价(仅使用于挂牌点选)",
  14593. "type": "number"
  14594. },
  14595. "limitup": {
  14596. "description": "涨停价(仅使用于挂牌点选)",
  14597. "type": "number"
  14598. },
  14599. "lotsize": {
  14600. "description": "手数最小变动单位",
  14601. "type": "integer"
  14602. },
  14603. "marketid": {
  14604. "description": "所属市场ID",
  14605. "type": "integer"
  14606. },
  14607. "picurls": {
  14608. "description": "介绍图片[多张用逗号分隔]",
  14609. "type": "string"
  14610. },
  14611. "quoteminunit": {
  14612. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14613. "type": "integer"
  14614. },
  14615. "stepvalue": {
  14616. "description": "价格最小变动单位",
  14617. "type": "number"
  14618. },
  14619. "trademode": {
  14620. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14621. "type": "integer"
  14622. }
  14623. }
  14624. },
  14625. "models.HsbyMyPackage": {
  14626. "type": "object",
  14627. "required": [
  14628. "goodscode",
  14629. "goodsname",
  14630. "takeorderid",
  14631. "trademode"
  14632. ],
  14633. "properties": {
  14634. "accountid": {
  14635. "description": "账户ID",
  14636. "type": "integer"
  14637. },
  14638. "address": {
  14639. "description": "提货人详细地址",
  14640. "type": "string"
  14641. },
  14642. "agreeunit": {
  14643. "description": "合约单位",
  14644. "type": "number"
  14645. },
  14646. "amount": {
  14647. "description": "提货金额",
  14648. "type": "number"
  14649. },
  14650. "auditer": {
  14651. "description": "审核人",
  14652. "type": "integer"
  14653. },
  14654. "audittime": {
  14655. "description": "审核时间",
  14656. "type": "string"
  14657. },
  14658. "averageprice": {
  14659. "description": "均价",
  14660. "type": "number"
  14661. },
  14662. "cardnum": {
  14663. "description": "提货人证件号码",
  14664. "type": "string"
  14665. },
  14666. "cardtypeid": {
  14667. "description": "提货人证件类型",
  14668. "type": "integer"
  14669. },
  14670. "checkremark": {
  14671. "description": "审核备注",
  14672. "type": "string"
  14673. },
  14674. "currencysign": {
  14675. "description": "货币符号",
  14676. "type": "string"
  14677. },
  14678. "decimalplace": {
  14679. "description": "报价小数位",
  14680. "type": "integer"
  14681. },
  14682. "goodscode": {
  14683. "description": "商品代码(内部)",
  14684. "type": "string"
  14685. },
  14686. "goodsid": {
  14687. "description": "商品ID",
  14688. "type": "integer"
  14689. },
  14690. "goodsname": {
  14691. "description": "商品名称",
  14692. "type": "string"
  14693. },
  14694. "handlestatus": {
  14695. "description": "处理状态",
  14696. "type": "integer"
  14697. },
  14698. "marketid": {
  14699. "description": "市场ID",
  14700. "type": "integer"
  14701. },
  14702. "phonenum": {
  14703. "description": "提货人联系方式",
  14704. "type": "string"
  14705. },
  14706. "picurls": {
  14707. "description": "介绍图片[多张用逗号分隔]",
  14708. "type": "string"
  14709. },
  14710. "qty": {
  14711. "description": "提货数量",
  14712. "type": "number"
  14713. },
  14714. "recivername": {
  14715. "description": "提货人姓名",
  14716. "type": "string"
  14717. },
  14718. "reqtime": {
  14719. "description": "更新时间",
  14720. "type": "string"
  14721. },
  14722. "takemode": {
  14723. "description": "提货方式 - 2:自提 3:配送",
  14724. "type": "integer"
  14725. },
  14726. "takeorderid": {
  14727. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  14728. "type": "string"
  14729. },
  14730. "takeorderstatus": {
  14731. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  14732. "type": "integer"
  14733. },
  14734. "takeremark": {
  14735. "description": "提货备注",
  14736. "type": "string"
  14737. },
  14738. "tradedate": {
  14739. "description": "交易日(yyyyMMdd)",
  14740. "type": "string"
  14741. },
  14742. "trademode": {
  14743. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14744. "type": "integer"
  14745. },
  14746. "userid": {
  14747. "description": "用户ID",
  14748. "type": "integer"
  14749. },
  14750. "vendorname": {
  14751. "description": "供应商名称",
  14752. "type": "string"
  14753. }
  14754. }
  14755. },
  14756. "models.HsbyPreGoods": {
  14757. "type": "object",
  14758. "required": [
  14759. "goodscode",
  14760. "goodsid",
  14761. "goodsname",
  14762. "marketid",
  14763. "trademode"
  14764. ],
  14765. "properties": {
  14766. "agreeunit": {
  14767. "description": "合约单位",
  14768. "type": "number"
  14769. },
  14770. "currency": {
  14771. "description": "货币",
  14772. "type": "string"
  14773. },
  14774. "currencysign": {
  14775. "description": "货币符号",
  14776. "type": "string"
  14777. },
  14778. "decimalplace": {
  14779. "description": "报价小数位",
  14780. "type": "integer"
  14781. },
  14782. "desccityid": {
  14783. "description": "目的地(市)",
  14784. "type": "integer"
  14785. },
  14786. "descprovinceid": {
  14787. "description": "目的地(省)",
  14788. "type": "integer"
  14789. },
  14790. "enableqty": {
  14791. "description": "剩余数量",
  14792. "type": "integer"
  14793. },
  14794. "goodscode": {
  14795. "description": "商品代码(内部)",
  14796. "type": "string"
  14797. },
  14798. "goodsid": {
  14799. "description": "商品ID(自增ID SEQ_GOODS)",
  14800. "type": "integer"
  14801. },
  14802. "goodsname": {
  14803. "description": "商品名称",
  14804. "type": "string"
  14805. },
  14806. "goodsstatus": {
  14807. "description": "商品状态- 2:未上市 3:上市",
  14808. "type": "integer"
  14809. },
  14810. "lasttradedate": {
  14811. "description": "最后交易日期(状态:待退市)",
  14812. "type": "string"
  14813. },
  14814. "listingdate": {
  14815. "description": "交易开始日期",
  14816. "type": "string"
  14817. },
  14818. "marketid": {
  14819. "description": "所属市场ID",
  14820. "type": "integer"
  14821. },
  14822. "picurls": {
  14823. "description": "介绍图片[多张用逗号分隔]",
  14824. "type": "string"
  14825. },
  14826. "presaledqty": {
  14827. "description": "已预售量(预售结束时更新)",
  14828. "type": "integer"
  14829. },
  14830. "presaleqty": {
  14831. "description": "预售数量",
  14832. "type": "integer"
  14833. },
  14834. "quoteminunit": {
  14835. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14836. "type": "integer"
  14837. },
  14838. "refprice": {
  14839. "description": "参考价格[一口价]",
  14840. "type": "number"
  14841. },
  14842. "relatedgoodsid": {
  14843. "description": "关联交易合约ID",
  14844. "type": "integer"
  14845. },
  14846. "trademode": {
  14847. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14848. "type": "integer"
  14849. },
  14850. "videourls": {
  14851. "description": "介绍视频[多张用逗号分隔]",
  14852. "type": "string"
  14853. }
  14854. }
  14855. },
  14856. "models.HsbyPreGoodsDetail": {
  14857. "type": "object",
  14858. "required": [
  14859. "goodscode",
  14860. "goodsid",
  14861. "goodsname",
  14862. "marketid",
  14863. "trademode"
  14864. ],
  14865. "properties": {
  14866. "agreeunit": {
  14867. "description": "合约单位",
  14868. "type": "number"
  14869. },
  14870. "buymaxqty": {
  14871. "description": "购买上限 [71] - 0为不限",
  14872. "type": "integer"
  14873. },
  14874. "currency": {
  14875. "description": "货币",
  14876. "type": "string"
  14877. },
  14878. "currencysign": {
  14879. "description": "货币符号",
  14880. "type": "string"
  14881. },
  14882. "customername": {
  14883. "description": "发行单位",
  14884. "type": "string"
  14885. },
  14886. "decimalplace": {
  14887. "description": "报价小数位",
  14888. "type": "integer"
  14889. },
  14890. "desccityid": {
  14891. "description": "目的地(市)ID",
  14892. "type": "integer"
  14893. },
  14894. "descprovinceid": {
  14895. "description": "目的地(省)ID",
  14896. "type": "integer"
  14897. },
  14898. "enableqty": {
  14899. "description": "剩余数量",
  14900. "type": "integer"
  14901. },
  14902. "goodscode": {
  14903. "description": "商品代码(内部)",
  14904. "type": "string"
  14905. },
  14906. "goodsdesc": {
  14907. "description": "商品详情",
  14908. "type": "string"
  14909. },
  14910. "goodsid": {
  14911. "description": "商品ID(自增ID SEQ_GOODS)",
  14912. "type": "integer"
  14913. },
  14914. "goodsname": {
  14915. "description": "商品名称",
  14916. "type": "string"
  14917. },
  14918. "goodsstatus": {
  14919. "description": "商品状态- 2:未上市 3:上市",
  14920. "type": "integer"
  14921. },
  14922. "goodunit": {
  14923. "description": "报价单位",
  14924. "type": "string"
  14925. },
  14926. "lasttradedate": {
  14927. "description": "最后交易日期(状态:待退市)",
  14928. "type": "string"
  14929. },
  14930. "listingdate": {
  14931. "description": "交易开始日期",
  14932. "type": "string"
  14933. },
  14934. "lotsize": {
  14935. "description": "手数最小变动单位",
  14936. "type": "integer"
  14937. },
  14938. "marketid": {
  14939. "description": "所属市场ID",
  14940. "type": "integer"
  14941. },
  14942. "picurls": {
  14943. "description": "介绍图片[多张用逗号分隔]",
  14944. "type": "string"
  14945. },
  14946. "presaledqty": {
  14947. "description": "已预售量(预售结束时更新)",
  14948. "type": "integer"
  14949. },
  14950. "presaleqty": {
  14951. "description": "预售数量",
  14952. "type": "integer"
  14953. },
  14954. "quoteminunit": {
  14955. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14956. "type": "integer"
  14957. },
  14958. "refprice": {
  14959. "description": "参考价格[一口价]",
  14960. "type": "number"
  14961. },
  14962. "relatedgoodsid": {
  14963. "description": "关联交易合约ID",
  14964. "type": "integer"
  14965. },
  14966. "stepvalue": {
  14967. "description": "价格最小变动单位",
  14968. "type": "number"
  14969. },
  14970. "trademode": {
  14971. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14972. "type": "integer"
  14973. },
  14974. "vendorattr": {
  14975. "description": "供应商附件(多张,逗号分隔)",
  14976. "type": "string"
  14977. },
  14978. "vendorname": {
  14979. "description": "供应商名称",
  14980. "type": "string"
  14981. },
  14982. "vendorphone": {
  14983. "description": "供应商客服电话",
  14984. "type": "string"
  14985. },
  14986. "videourls": {
  14987. "description": "介绍视频[多张用逗号分隔]",
  14988. "type": "string"
  14989. }
  14990. }
  14991. },
  14992. "models.HsbySellCollectionOrder": {
  14993. "type": "object",
  14994. "required": [
  14995. "goodscode",
  14996. "goodsname",
  14997. "tradeid",
  14998. "trademode"
  14999. ],
  15000. "properties": {
  15001. "agreeunit": {
  15002. "description": "合约单位",
  15003. "type": "number"
  15004. },
  15005. "buyaccountid": {
  15006. "description": "买方账号ID[报价币种]",
  15007. "type": "integer"
  15008. },
  15009. "buyorderid": {
  15010. "description": "买方委托单号",
  15011. "type": "string"
  15012. },
  15013. "createtime": {
  15014. "description": "创建时间",
  15015. "type": "string"
  15016. },
  15017. "currencysign": {
  15018. "description": "货币符号",
  15019. "type": "string"
  15020. },
  15021. "decimalplace": {
  15022. "description": "报价小数位",
  15023. "type": "integer"
  15024. },
  15025. "goodscode": {
  15026. "description": "商品代码(内部)",
  15027. "type": "string"
  15028. },
  15029. "goodsid": {
  15030. "description": "商品ID",
  15031. "type": "integer"
  15032. },
  15033. "goodsname": {
  15034. "description": "商品名称",
  15035. "type": "string"
  15036. },
  15037. "marketid": {
  15038. "description": "市场ID",
  15039. "type": "integer"
  15040. },
  15041. "offamount": {
  15042. "description": "优惠金额",
  15043. "type": "number"
  15044. },
  15045. "payamount": {
  15046. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  15047. "type": "number"
  15048. },
  15049. "payflag": {
  15050. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  15051. "type": "integer"
  15052. },
  15053. "paylimitedtime": {
  15054. "description": "支付期限",
  15055. "type": "string"
  15056. },
  15057. "paytime": {
  15058. "description": "付款时间",
  15059. "type": "string"
  15060. },
  15061. "picurls": {
  15062. "description": "商品介绍图片[多张用逗号分隔]",
  15063. "type": "string"
  15064. },
  15065. "sellaccountid": {
  15066. "description": "卖方账号ID[报价币种]",
  15067. "type": "integer"
  15068. },
  15069. "sellorderid": {
  15070. "description": "卖方委托单号",
  15071. "type": "string"
  15072. },
  15073. "tradeamount": {
  15074. "description": "成交金额",
  15075. "type": "number"
  15076. },
  15077. "tradecharge": {
  15078. "description": "成交手续费(买方)",
  15079. "type": "number"
  15080. },
  15081. "tradedate": {
  15082. "description": "交易日(yyyyMMdd)",
  15083. "type": "string"
  15084. },
  15085. "tradeid": {
  15086. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15087. "type": "string"
  15088. },
  15089. "trademode": {
  15090. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15091. "type": "integer"
  15092. },
  15093. "tradeprice": {
  15094. "description": "成交价格",
  15095. "type": "number"
  15096. },
  15097. "tradeqty": {
  15098. "description": "成交数量",
  15099. "type": "integer"
  15100. }
  15101. }
  15102. },
  15103. "models.HsbySellMyDetail": {
  15104. "type": "object",
  15105. "required": [
  15106. "accountid",
  15107. "buyorsell",
  15108. "goodscode",
  15109. "goodsid",
  15110. "goodsname",
  15111. "marketid",
  15112. "orderid",
  15113. "time",
  15114. "trademode"
  15115. ],
  15116. "properties": {
  15117. "accountid": {
  15118. "description": "账户ID[报价币种]",
  15119. "type": "integer"
  15120. },
  15121. "agreeunit": {
  15122. "description": "合约单位",
  15123. "type": "number"
  15124. },
  15125. "buyorsell": {
  15126. "description": "买卖 - 0:买 1:卖",
  15127. "type": "integer"
  15128. },
  15129. "currencysign": {
  15130. "description": "货币符号",
  15131. "type": "string"
  15132. },
  15133. "decimalplace": {
  15134. "description": "报价小数位",
  15135. "type": "integer"
  15136. },
  15137. "goodscode": {
  15138. "description": "商品代码(内部)",
  15139. "type": "string"
  15140. },
  15141. "goodsid": {
  15142. "description": "商品ID",
  15143. "type": "integer"
  15144. },
  15145. "goodsname": {
  15146. "description": "商品名称",
  15147. "type": "string"
  15148. },
  15149. "marketid": {
  15150. "description": "市场ID",
  15151. "type": "integer"
  15152. },
  15153. "orderid": {
  15154. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  15155. "type": "string"
  15156. },
  15157. "ordertype": {
  15158. "description": "单据类型:0 - 发布中, 1 - 已完成",
  15159. "type": "integer"
  15160. },
  15161. "picurls": {
  15162. "description": "介绍图片[多张用逗号分隔]",
  15163. "type": "string"
  15164. },
  15165. "price": {
  15166. "description": "价格",
  15167. "type": "number"
  15168. },
  15169. "qty": {
  15170. "description": "数量",
  15171. "type": "integer"
  15172. },
  15173. "time": {
  15174. "description": "时间",
  15175. "type": "string"
  15176. },
  15177. "trademode": {
  15178. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15179. "type": "integer"
  15180. },
  15181. "vendorname": {
  15182. "description": "供应商名称",
  15183. "type": "string"
  15184. }
  15185. }
  15186. },
  15187. "models.HsbyTopGoods": {
  15188. "type": "object",
  15189. "required": [
  15190. "goodscode",
  15191. "goodsid",
  15192. "goodsname",
  15193. "marketid",
  15194. "trademode"
  15195. ],
  15196. "properties": {
  15197. "agreeunit": {
  15198. "description": "合约单位",
  15199. "type": "number"
  15200. },
  15201. "currency": {
  15202. "description": "货币",
  15203. "type": "string"
  15204. },
  15205. "currencysign": {
  15206. "description": "货币符号",
  15207. "type": "string"
  15208. },
  15209. "decimalplace": {
  15210. "description": "报价小数位",
  15211. "type": "integer"
  15212. },
  15213. "desccityid": {
  15214. "description": "目的地(市)",
  15215. "type": "integer"
  15216. },
  15217. "descprovinceid": {
  15218. "description": "目的地(省)",
  15219. "type": "integer"
  15220. },
  15221. "goodscode": {
  15222. "description": "商品代码(内部)",
  15223. "type": "string"
  15224. },
  15225. "goodsid": {
  15226. "description": "商品ID(自增ID SEQ_GOODS)",
  15227. "type": "integer"
  15228. },
  15229. "goodsname": {
  15230. "description": "商品名称",
  15231. "type": "string"
  15232. },
  15233. "hotindex": {
  15234. "description": "景点热度",
  15235. "type": "integer"
  15236. },
  15237. "last": {
  15238. "description": "现价",
  15239. "type": "number"
  15240. },
  15241. "marketid": {
  15242. "description": "所属市场ID",
  15243. "type": "integer"
  15244. },
  15245. "picurls": {
  15246. "description": "介绍图片[多张用逗号分隔]",
  15247. "type": "string"
  15248. },
  15249. "quoteminunit": {
  15250. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15251. "type": "integer"
  15252. },
  15253. "trademode": {
  15254. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15255. "type": "integer"
  15256. },
  15257. "videourls": {
  15258. "description": "介绍视频[多张用逗号分隔]",
  15259. "type": "string"
  15260. }
  15261. }
  15262. },
  15263. "models.HybsMyBuyOrderDetail": {
  15264. "type": "object",
  15265. "required": [
  15266. "accountid",
  15267. "buyorsell",
  15268. "goodscode",
  15269. "goodsid",
  15270. "goodsname",
  15271. "marketid",
  15272. "orderid",
  15273. "orderqty",
  15274. "ordertime",
  15275. "trademode"
  15276. ],
  15277. "properties": {
  15278. "accountid": {
  15279. "description": "账户ID[报价币种]",
  15280. "type": "integer"
  15281. },
  15282. "agreeunit": {
  15283. "description": "合约单位",
  15284. "type": "number"
  15285. },
  15286. "buyorsell": {
  15287. "description": "买卖 - 0:买 1:卖",
  15288. "type": "integer"
  15289. },
  15290. "cancelqty": {
  15291. "description": "撤单数量",
  15292. "type": "integer"
  15293. },
  15294. "currencysign": {
  15295. "description": "货币符号",
  15296. "type": "string"
  15297. },
  15298. "decimalplace": {
  15299. "description": "报价小数位",
  15300. "type": "integer"
  15301. },
  15302. "goodscode": {
  15303. "description": "商品代码(内部)",
  15304. "type": "string"
  15305. },
  15306. "goodsid": {
  15307. "description": "商品ID",
  15308. "type": "integer"
  15309. },
  15310. "goodsname": {
  15311. "description": "商品名称",
  15312. "type": "string"
  15313. },
  15314. "listingselecttype": {
  15315. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15316. "type": "integer"
  15317. },
  15318. "marketid": {
  15319. "description": "市场ID",
  15320. "type": "integer"
  15321. },
  15322. "mybuystatus": {
  15323. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  15324. "type": "integer"
  15325. },
  15326. "orderamount": {
  15327. "description": "委托金额",
  15328. "type": "number"
  15329. },
  15330. "orderid": {
  15331. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15332. "type": "string"
  15333. },
  15334. "orderprice": {
  15335. "description": "委托价格",
  15336. "type": "number"
  15337. },
  15338. "orderqty": {
  15339. "description": "委托数量",
  15340. "type": "integer"
  15341. },
  15342. "orderstatus": {
  15343. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15344. "type": "integer"
  15345. },
  15346. "ordertime": {
  15347. "description": "委托时间",
  15348. "type": "string"
  15349. },
  15350. "picurls1": {
  15351. "description": "预售商品介绍图片[多张用逗号分隔]",
  15352. "type": "string"
  15353. },
  15354. "picurls2": {
  15355. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  15356. "type": "string"
  15357. },
  15358. "trademode": {
  15359. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15360. "type": "integer"
  15361. },
  15362. "tradeqty": {
  15363. "description": "成交数量",
  15364. "type": "integer"
  15365. },
  15366. "vendorname1": {
  15367. "description": "预售商品供应商名称",
  15368. "type": "string"
  15369. },
  15370. "vendorname2": {
  15371. "description": "挂牌商品供应商名称",
  15372. "type": "string"
  15373. }
  15374. }
  15375. },
  15376. "models.Loginaccount": {
  15377. "type": "object",
  15378. "required": [
  15379. "loginid"
  15380. ],
  15381. "properties": {
  15382. "canoutin": {
  15383. "description": "是否可出入金 - 0:不可 1:可",
  15384. "type": "integer"
  15385. },
  15386. "clientroleid": {
  15387. "description": "终端角色ID",
  15388. "type": "integer"
  15389. },
  15390. "haslogined": {
  15391. "description": "是否已登录 - 0:未登录 1:已登录",
  15392. "type": "integer"
  15393. },
  15394. "hasupdatedpwd": {
  15395. "description": "是否已更改密码 - 0:未修改 1:已修改",
  15396. "type": "integer"
  15397. },
  15398. "lastloginip": {
  15399. "description": "最新登录地址",
  15400. "type": "string"
  15401. },
  15402. "lastloginmode": {
  15403. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15404. "type": "integer"
  15405. },
  15406. "lastloginremark": {
  15407. "description": "最新登录描述",
  15408. "type": "string"
  15409. },
  15410. "lastlogintime": {
  15411. "description": "最新登录时间",
  15412. "type": "string"
  15413. },
  15414. "logincode": {
  15415. "description": "登录代码",
  15416. "type": "string"
  15417. },
  15418. "loginfailnum": {
  15419. "description": "连续登录失败次数(登录成功时清零)",
  15420. "type": "integer"
  15421. },
  15422. "loginid": {
  15423. "description": "登陆账号",
  15424. "type": "integer"
  15425. },
  15426. "loginport": {
  15427. "description": "最新登录端口",
  15428. "type": "integer"
  15429. },
  15430. "loginstatus": {
  15431. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  15432. "type": "integer"
  15433. },
  15434. "loginusertype": {
  15435. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  15436. "type": "integer"
  15437. },
  15438. "modifierid": {
  15439. "description": "修改人",
  15440. "type": "integer"
  15441. },
  15442. "modifytime": {
  15443. "description": "修改时间",
  15444. "type": "string"
  15445. },
  15446. "pwdwrongcount": {
  15447. "description": "密码错误次数",
  15448. "type": "integer"
  15449. },
  15450. "taaccountrighttype": {
  15451. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  15452. "type": "integer"
  15453. },
  15454. "unfreezetime": {
  15455. "description": "账户解冻时间",
  15456. "type": "string"
  15457. },
  15458. "userid": {
  15459. "description": "用户ID",
  15460. "type": "integer"
  15461. }
  15462. }
  15463. },
  15464. "models.Market": {
  15465. "type": "object",
  15466. "required": [
  15467. "marketid",
  15468. "marketstatus",
  15469. "openmethod",
  15470. "reckonpricealgorithm",
  15471. "trademode",
  15472. "tradeproperty"
  15473. ],
  15474. "properties": {
  15475. "auctionwrtype": {
  15476. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  15477. "type": "integer"
  15478. },
  15479. "canacceptquote": {
  15480. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  15481. "type": "integer"
  15482. },
  15483. "cangoodsexercise": {
  15484. "description": "[期权]是否可现货行权- 0:否 1:是",
  15485. "type": "integer"
  15486. },
  15487. "cangoodsexercisetype": {
  15488. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  15489. "type": "integer"
  15490. },
  15491. "canmanualquotestrike": {
  15492. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  15493. "type": "integer"
  15494. },
  15495. "canmutistage": {
  15496. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  15497. "type": "integer"
  15498. },
  15499. "canpreexercise": {
  15500. "description": "[期权]是否可预申报- 0:否 1:是",
  15501. "type": "integer"
  15502. },
  15503. "clearinterval": {
  15504. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  15505. "type": "integer"
  15506. },
  15507. "contracttmp": {
  15508. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  15509. "type": "string"
  15510. },
  15511. "exchareaid": {
  15512. "description": "所属交易所,可以没有",
  15513. "type": "integer"
  15514. },
  15515. "goodstype": {
  15516. "description": "商品类型 - 1:交易商品 2:仓单商品",
  15517. "type": "integer"
  15518. },
  15519. "hasrebate": {
  15520. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  15521. "type": "integer"
  15522. },
  15523. "hastradecredit": {
  15524. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  15525. "type": "integer"
  15526. },
  15527. "haswr": {
  15528. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  15529. "type": "integer"
  15530. },
  15531. "isdeductmargin": {
  15532. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  15533. "type": "integer"
  15534. },
  15535. "isrecordsource": {
  15536. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  15537. "type": "integer"
  15538. },
  15539. "isreleasemargin": {
  15540. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  15541. "type": "integer"
  15542. },
  15543. "marginformula": {
  15544. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  15545. "type": "integer"
  15546. },
  15547. "marginformula2": {
  15548. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  15549. "type": "integer"
  15550. },
  15551. "marketid": {
  15552. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  15553. "type": "integer"
  15554. },
  15555. "marketname": {
  15556. "description": "市场名称",
  15557. "type": "string"
  15558. },
  15559. "marketserviceid": {
  15560. "description": "市场服务ID",
  15561. "type": "integer"
  15562. },
  15563. "marketstatus": {
  15564. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  15565. "type": "integer"
  15566. },
  15567. "markettype": {
  15568. "description": "市场类型- 1:非交易服务 2:交易服务",
  15569. "type": "integer"
  15570. },
  15571. "matchermode": {
  15572. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  15573. "type": "integer"
  15574. },
  15575. "openmethod": {
  15576. "description": "开盘模式 - 0 自动 1手动",
  15577. "type": "integer"
  15578. },
  15579. "otcuserid": {
  15580. "description": "场外期权做市商[场外期权]",
  15581. "type": "integer"
  15582. },
  15583. "outersynctime": {
  15584. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  15585. "type": "string"
  15586. },
  15587. "pendingflag": {
  15588. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  15589. "type": "integer"
  15590. },
  15591. "pendingtime": {
  15592. "description": "待开市时间[通道交易-对冲](HH:mm)",
  15593. "type": "string"
  15594. },
  15595. "performancetempid": {
  15596. "description": "履约计划模板ID - 作废",
  15597. "type": "integer"
  15598. },
  15599. "premiumquotemode": {
  15600. "description": "权利金报价方式 - 1:自动 2:手动",
  15601. "type": "integer"
  15602. },
  15603. "rebateratio": {
  15604. "description": "返利比率[竞价式]",
  15605. "type": "number"
  15606. },
  15607. "reckonorder": {
  15608. "description": "结算顺序",
  15609. "type": "integer"
  15610. },
  15611. "reckonpricealgorithm": {
  15612. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  15613. "type": "integer"
  15614. },
  15615. "reckonpriceparam": {
  15616. "description": "结算价参数",
  15617. "type": "integer"
  15618. },
  15619. "reckontime": {
  15620. "description": "结算时间[通道交易-对冲](HH:mm)",
  15621. "type": "string"
  15622. },
  15623. "roleprioritytype": {
  15624. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  15625. "type": "integer"
  15626. },
  15627. "selllistingauditflag": {
  15628. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  15629. "type": "integer"
  15630. },
  15631. "trademarkettype": {
  15632. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  15633. "type": "integer"
  15634. },
  15635. "trademode": {
  15636. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15637. "type": "integer"
  15638. },
  15639. "tradeproperty": {
  15640. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  15641. "type": "integer"
  15642. },
  15643. "tradetype": {
  15644. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  15645. "type": "integer"
  15646. }
  15647. }
  15648. },
  15649. "models.Marketrun": {
  15650. "type": "object",
  15651. "required": [
  15652. "marketid",
  15653. "nexttradedate",
  15654. "reckonflag",
  15655. "runstatus",
  15656. "tradedate",
  15657. "tradedate2"
  15658. ],
  15659. "properties": {
  15660. "afternexttradedate": {
  15661. "description": "下下交易日",
  15662. "type": "string"
  15663. },
  15664. "clearquoteflag": {
  15665. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  15666. "type": "integer"
  15667. },
  15668. "lastreckondate": {
  15669. "description": "最新交易日(结算成功)",
  15670. "type": "string"
  15671. },
  15672. "machinedate": {
  15673. "description": "机器时间",
  15674. "type": "string"
  15675. },
  15676. "manualflag": {
  15677. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  15678. "type": "integer"
  15679. },
  15680. "marketid": {
  15681. "description": "市场ID",
  15682. "type": "integer"
  15683. },
  15684. "nexttradedate": {
  15685. "description": "下一交易日",
  15686. "type": "string"
  15687. },
  15688. "pretradedate": {
  15689. "description": "上一交易日",
  15690. "type": "string"
  15691. },
  15692. "reckonflag": {
  15693. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  15694. "type": "integer"
  15695. },
  15696. "runstatus": {
  15697. "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.今日免清算",
  15698. "type": "integer"
  15699. },
  15700. "sectionid": {
  15701. "description": "时间段号[多时段时用]",
  15702. "type": "integer"
  15703. },
  15704. "tradedate": {
  15705. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  15706. "type": "string"
  15707. },
  15708. "tradedate2": {
  15709. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  15710. "type": "string"
  15711. },
  15712. "updatetime": {
  15713. "description": "更新时间",
  15714. "type": "string"
  15715. }
  15716. }
  15717. },
  15718. "models.Messageboard": {
  15719. "type": "object",
  15720. "required": [
  15721. "messageboardid"
  15722. ],
  15723. "properties": {
  15724. "contactnum": {
  15725. "description": "联系电话",
  15726. "type": "string"
  15727. },
  15728. "createtime": {
  15729. "description": "创建时间",
  15730. "type": "string"
  15731. },
  15732. "message": {
  15733. "description": "留言信息",
  15734. "type": "string"
  15735. },
  15736. "messageboardid": {
  15737. "description": "留言簿ID(SEQ_MessageBoard)",
  15738. "type": "integer"
  15739. },
  15740. "userid": {
  15741. "description": "用户ID",
  15742. "type": "integer"
  15743. }
  15744. }
  15745. },
  15746. "models.MyCoupon": {
  15747. "type": "object",
  15748. "required": [
  15749. "accountid",
  15750. "coupontypeid"
  15751. ],
  15752. "properties": {
  15753. "accountid": {
  15754. "description": "资金账户ID",
  15755. "type": "integer"
  15756. },
  15757. "areauserid": {
  15758. "description": "所属机构",
  15759. "type": "integer"
  15760. },
  15761. "conditionvalue": {
  15762. "description": "条件阈值(可为0)",
  15763. "type": "number"
  15764. },
  15765. "couponcategroy": {
  15766. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  15767. "type": "integer"
  15768. },
  15769. "couponname": {
  15770. "description": "优惠券名称",
  15771. "type": "string"
  15772. },
  15773. "coupontypeid": {
  15774. "description": "优惠券类型ID",
  15775. "type": "string"
  15776. },
  15777. "couponvalue": {
  15778. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  15779. "type": "number"
  15780. },
  15781. "curfreezeqty": {
  15782. "description": "期末冻结数量",
  15783. "type": "integer"
  15784. },
  15785. "curqty": {
  15786. "description": "期末数量",
  15787. "type": "integer"
  15788. },
  15789. "isgeneral": {
  15790. "description": "是否通用券 - 0:否 1:是",
  15791. "type": "integer"
  15792. },
  15793. "isunusable": {
  15794. "description": "是否不可用",
  15795. "type": "boolean"
  15796. },
  15797. "limitedflag": {
  15798. "description": "是否指定商品 - 0:不限 1:限制",
  15799. "type": "integer"
  15800. },
  15801. "limitedgoodsids": {
  15802. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  15803. "type": "string"
  15804. },
  15805. "orifreezeqty": {
  15806. "description": "期初冻结数量",
  15807. "type": "integer"
  15808. },
  15809. "oriqty": {
  15810. "description": "期初数量",
  15811. "type": "integer"
  15812. },
  15813. "reasontype": {
  15814. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  15815. "type": "integer"
  15816. },
  15817. "todaydecrease": {
  15818. "description": "今日减少",
  15819. "type": "integer"
  15820. },
  15821. "todayincrease": {
  15822. "description": "今日增加",
  15823. "type": "integer"
  15824. },
  15825. "userid": {
  15826. "description": "用户ID",
  15827. "type": "integer"
  15828. },
  15829. "userscope": {
  15830. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  15831. "type": "string"
  15832. }
  15833. }
  15834. },
  15835. "models.MyCouponHold": {
  15836. "type": "object",
  15837. "required": [
  15838. "couponholdid"
  15839. ],
  15840. "properties": {
  15841. "accountid": {
  15842. "description": "资金账户ID",
  15843. "type": "integer"
  15844. },
  15845. "conditionvalue": {
  15846. "description": "条件阈值(可为0)",
  15847. "type": "number"
  15848. },
  15849. "couponcategroy": {
  15850. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  15851. "type": "integer"
  15852. },
  15853. "couponholdid": {
  15854. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  15855. "type": "string"
  15856. },
  15857. "couponname": {
  15858. "description": "优惠券名称",
  15859. "type": "string"
  15860. },
  15861. "coupontypeid": {
  15862. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  15863. "type": "string"
  15864. },
  15865. "couponvalue": {
  15866. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  15867. "type": "number"
  15868. },
  15869. "createtime": {
  15870. "description": "创建时间",
  15871. "type": "string"
  15872. },
  15873. "enddate": {
  15874. "description": "结束日期",
  15875. "type": "string"
  15876. },
  15877. "giveapplyid": {
  15878. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  15879. "type": "integer"
  15880. },
  15881. "holdstatus": {
  15882. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  15883. "type": "integer"
  15884. },
  15885. "isgeneral": {
  15886. "description": "是否通用券 - 0:否 1:是",
  15887. "type": "integer"
  15888. },
  15889. "limitedflag": {
  15890. "description": "是否指定商品 - 0:不限 1:限制",
  15891. "type": "integer"
  15892. },
  15893. "limitedgoodsids": {
  15894. "description": "指定商品IDs[逗号分隔]",
  15895. "type": "string"
  15896. },
  15897. "qty": {
  15898. "description": "数量(按1平铺)",
  15899. "type": "integer"
  15900. },
  15901. "startdate": {
  15902. "description": "开始日期",
  15903. "type": "string"
  15904. },
  15905. "userid": {
  15906. "description": "用户ID",
  15907. "type": "integer"
  15908. },
  15909. "userscope": {
  15910. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  15911. "type": "string"
  15912. }
  15913. }
  15914. },
  15915. "models.MyUsedCoupon": {
  15916. "type": "object",
  15917. "required": [
  15918. "coupontypeid",
  15919. "orderid"
  15920. ],
  15921. "properties": {
  15922. "accountid": {
  15923. "description": "资金账户ID(买方)",
  15924. "type": "integer"
  15925. },
  15926. "conditionvalue": {
  15927. "description": "条件阈值(可为0)",
  15928. "type": "number"
  15929. },
  15930. "couponcategroy": {
  15931. "description": "种类 - 1:现金券 2:折扣券",
  15932. "type": "integer"
  15933. },
  15934. "couponname": {
  15935. "description": "优惠券名称",
  15936. "type": "string"
  15937. },
  15938. "coupontypeid": {
  15939. "description": "优惠券类型ID(买方)",
  15940. "type": "string"
  15941. },
  15942. "couponvalue": {
  15943. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  15944. "type": "number"
  15945. },
  15946. "createtime": {
  15947. "description": "创建时间",
  15948. "type": "string"
  15949. },
  15950. "goodsid": {
  15951. "description": "商品ID",
  15952. "type": "integer"
  15953. },
  15954. "handlestatus": {
  15955. "description": "处理状态",
  15956. "type": "integer"
  15957. },
  15958. "marketid": {
  15959. "description": "市场ID",
  15960. "type": "integer"
  15961. },
  15962. "offamount": {
  15963. "description": "优惠金额",
  15964. "type": "number"
  15965. },
  15966. "orderid": {
  15967. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15968. "type": "string"
  15969. },
  15970. "sellaccountid": {
  15971. "description": "资金账户ID(卖方)",
  15972. "type": "integer"
  15973. },
  15974. "tradeamount": {
  15975. "description": "成交金额",
  15976. "type": "number"
  15977. },
  15978. "tradeid": {
  15979. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15980. "type": "string"
  15981. },
  15982. "usedqty": {
  15983. "description": "使用数量",
  15984. "type": "integer"
  15985. }
  15986. }
  15987. },
  15988. "models.OperationPrimaryMenu": {
  15989. "type": "object",
  15990. "properties": {
  15991. "Children": {
  15992. "description": "二级功能菜单",
  15993. "type": "array",
  15994. "items": {
  15995. "$ref": "#/definitions/models.OperationSecondaryMenu"
  15996. }
  15997. },
  15998. "Key": {
  15999. "description": "菜单KEY",
  16000. "type": "string"
  16001. },
  16002. "Label": {
  16003. "description": "菜单标题",
  16004. "type": "string"
  16005. }
  16006. }
  16007. },
  16008. "models.OperationSecondaryMenu": {
  16009. "type": "object",
  16010. "properties": {
  16011. "Key": {
  16012. "description": "菜单KEY",
  16013. "type": "string"
  16014. },
  16015. "Label": {
  16016. "description": "菜单标题",
  16017. "type": "string"
  16018. },
  16019. "TabList": {
  16020. "description": "三级功能菜单",
  16021. "type": "array",
  16022. "items": {
  16023. "$ref": "#/definitions/models.OperationTabMenu"
  16024. }
  16025. }
  16026. }
  16027. },
  16028. "models.OperationTabMenu": {
  16029. "type": "object",
  16030. "properties": {
  16031. "Key": {
  16032. "description": "菜单KEY",
  16033. "type": "string"
  16034. },
  16035. "Label": {
  16036. "description": "菜单标题",
  16037. "type": "string"
  16038. }
  16039. }
  16040. },
  16041. "models.PendingAuditBizModel": {
  16042. "type": "object",
  16043. "properties": {
  16044. "accountid": {
  16045. "description": "现货账户",
  16046. "type": "string"
  16047. },
  16048. "areaname": {
  16049. "description": "所属部门",
  16050. "type": "string"
  16051. },
  16052. "bizid": {
  16053. "description": "业务ID",
  16054. "type": "string"
  16055. },
  16056. "bizname": {
  16057. "description": "业务名称",
  16058. "type": "string"
  16059. },
  16060. "status": {
  16061. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16062. "type": "integer"
  16063. },
  16064. "type": {
  16065. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  16066. "type": "integer"
  16067. }
  16068. }
  16069. },
  16070. "models.QueryErrorInfosRsp": {
  16071. "type": "object",
  16072. "required": [
  16073. "errorid"
  16074. ],
  16075. "properties": {
  16076. "description": {
  16077. "description": "异常描述",
  16078. "type": "string"
  16079. },
  16080. "errorcode": {
  16081. "description": "异常代码",
  16082. "type": "string"
  16083. },
  16084. "errorid": {
  16085. "description": "异常ID",
  16086. "type": "integer"
  16087. },
  16088. "modulecode": {
  16089. "description": "所属模块",
  16090. "type": "string"
  16091. },
  16092. "operatecode": {
  16093. "description": "所属操作",
  16094. "type": "string"
  16095. },
  16096. "rownumber": {
  16097. "description": "行号",
  16098. "type": "string"
  16099. }
  16100. }
  16101. },
  16102. "models.QueryHedgeOrderDetailRsp": {
  16103. "type": "object",
  16104. "properties": {
  16105. "accountid": {
  16106. "description": "账户ID",
  16107. "type": "integer"
  16108. },
  16109. "buyorsell": {
  16110. "description": "买卖 - 0:买 1:卖",
  16111. "type": "integer"
  16112. },
  16113. "channelbuildtype": {
  16114. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  16115. "type": "integer"
  16116. },
  16117. "channelinnerorderstatus": {
  16118. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  16119. "type": "integer"
  16120. },
  16121. "channeloperatetype": {
  16122. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  16123. "type": "integer"
  16124. },
  16125. "closetype": {
  16126. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16127. "type": "integer"
  16128. },
  16129. "curexchangerate": {
  16130. "description": "当前汇率",
  16131. "type": "number"
  16132. },
  16133. "exchangefullname": {
  16134. "description": "外部交易所全称",
  16135. "type": "string"
  16136. },
  16137. "goodscode": {
  16138. "description": "商品代码(内部)",
  16139. "type": "string"
  16140. },
  16141. "goodsid": {
  16142. "description": "商品ID",
  16143. "type": "integer"
  16144. },
  16145. "goodsname": {
  16146. "description": "商品名称",
  16147. "type": "string"
  16148. },
  16149. "marketid": {
  16150. "description": "市场ID",
  16151. "type": "integer"
  16152. },
  16153. "openfreezemargin": {
  16154. "description": "冻结保证金(冻结交易金额)",
  16155. "type": "number"
  16156. },
  16157. "orderid": {
  16158. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16159. "type": "string"
  16160. },
  16161. "orderprice": {
  16162. "description": "委托价格(账户)",
  16163. "type": "number"
  16164. },
  16165. "orderqty": {
  16166. "description": "委托数量",
  16167. "type": "integer"
  16168. },
  16169. "ordertime": {
  16170. "description": "委托时间",
  16171. "type": "string"
  16172. },
  16173. "pricemode": {
  16174. "description": "取价方式 - 1:市价 2: 限价",
  16175. "type": "integer"
  16176. },
  16177. "tradedate": {
  16178. "description": "交易日(yyyyMMdd)",
  16179. "type": "string"
  16180. },
  16181. "tradeqty": {
  16182. "description": "成交数量",
  16183. "type": "integer"
  16184. }
  16185. }
  16186. },
  16187. "models.QueryHedgeTradeDetailRsp": {
  16188. "type": "object",
  16189. "properties": {
  16190. "accountid": {
  16191. "description": "账号ID",
  16192. "type": "integer"
  16193. },
  16194. "buyorsell": {
  16195. "description": "方向 - 0:买 1:卖",
  16196. "type": "integer"
  16197. },
  16198. "channelbuildtype": {
  16199. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  16200. "type": "integer"
  16201. },
  16202. "closecharge": {
  16203. "description": "平仓手续费(账户)",
  16204. "type": "number"
  16205. },
  16206. "closecharge2": {
  16207. "description": "平仓手续费(商品)",
  16208. "type": "number"
  16209. },
  16210. "closetype": {
  16211. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16212. "type": "integer"
  16213. },
  16214. "curexchangerate": {
  16215. "description": "当前汇率",
  16216. "type": "number"
  16217. },
  16218. "exchangefullname": {
  16219. "description": "外部交易所全称",
  16220. "type": "string"
  16221. },
  16222. "goodscode": {
  16223. "description": "商品代码(内部)",
  16224. "type": "string"
  16225. },
  16226. "goodsid": {
  16227. "description": "商品ID",
  16228. "type": "integer"
  16229. },
  16230. "goodsname": {
  16231. "description": "商品名称",
  16232. "type": "string"
  16233. },
  16234. "marketid": {
  16235. "description": "市场ID",
  16236. "type": "integer"
  16237. },
  16238. "opencharge": {
  16239. "description": "建仓手续费(账户)",
  16240. "type": "number"
  16241. },
  16242. "opencharge2": {
  16243. "description": "建仓手续费(商品)",
  16244. "type": "number"
  16245. },
  16246. "orderid": {
  16247. "description": "委托单号",
  16248. "type": "string"
  16249. },
  16250. "tradeamount": {
  16251. "description": "成交金额(账户)",
  16252. "type": "number"
  16253. },
  16254. "tradedate": {
  16255. "description": "交易日(yyyyMMdd)",
  16256. "type": "string"
  16257. },
  16258. "tradeid": {
  16259. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16260. "type": "string"
  16261. },
  16262. "tradeprice": {
  16263. "description": "成交价格",
  16264. "type": "number"
  16265. },
  16266. "tradeqty": {
  16267. "description": "成交数量",
  16268. "type": "integer"
  16269. },
  16270. "tradetime": {
  16271. "description": "成交时间",
  16272. "type": "string"
  16273. },
  16274. "tradetype": {
  16275. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  16276. "type": "integer"
  16277. }
  16278. }
  16279. },
  16280. "models.QuotePrimaryMenu": {
  16281. "type": "object",
  16282. "properties": {
  16283. "Index": {
  16284. "description": "序号",
  16285. "type": "integer"
  16286. },
  16287. "Key": {
  16288. "description": "键名",
  16289. "type": "string"
  16290. },
  16291. "Name": {
  16292. "description": "菜单名称",
  16293. "type": "string"
  16294. },
  16295. "SubMenus": {
  16296. "description": "子菜单",
  16297. "type": "array",
  16298. "items": {
  16299. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  16300. }
  16301. },
  16302. "SubTitleType": {
  16303. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  16304. "type": "integer"
  16305. },
  16306. "TradeModes": {
  16307. "description": "包含市场交易类型",
  16308. "type": "string"
  16309. }
  16310. }
  16311. },
  16312. "models.QuoteSecondaryMenu": {
  16313. "type": "object",
  16314. "properties": {
  16315. "ExExchangeCode": {
  16316. "description": "外部交易所代码",
  16317. "type": "string"
  16318. },
  16319. "ExExchangeID": {
  16320. "description": "外部交易所ID",
  16321. "type": "integer"
  16322. },
  16323. "GoodsGroupIDs": {
  16324. "description": "商品组ID列表",
  16325. "type": "array",
  16326. "items": {
  16327. "type": "integer"
  16328. }
  16329. },
  16330. "Index": {
  16331. "description": "序号",
  16332. "type": "integer"
  16333. },
  16334. "MarketID": {
  16335. "description": "市场ID",
  16336. "type": "integer"
  16337. },
  16338. "MenuTitle": {
  16339. "description": "菜单标题(市场名称或外部交易所名称)",
  16340. "type": "string"
  16341. },
  16342. "TradeMode": {
  16343. "description": "交易模式",
  16344. "type": "integer"
  16345. }
  16346. }
  16347. },
  16348. "models.RelatedGoodsEx": {
  16349. "type": "object",
  16350. "properties": {
  16351. "goodscode": {
  16352. "description": "商品代码",
  16353. "type": "string"
  16354. },
  16355. "goodsid": {
  16356. "description": "商品id",
  16357. "type": "integer"
  16358. },
  16359. "goodsname": {
  16360. "description": "商品名称",
  16361. "type": "string"
  16362. }
  16363. }
  16364. },
  16365. "models.SearchGoods": {
  16366. "type": "object",
  16367. "required": [
  16368. "goodscode",
  16369. "goodsid",
  16370. "goodsname",
  16371. "marketid",
  16372. "trademode"
  16373. ],
  16374. "properties": {
  16375. "goodscode": {
  16376. "description": "商品代码(内部)",
  16377. "type": "string"
  16378. },
  16379. "goodsid": {
  16380. "description": "商品ID(自增ID SEQ_GOODS)",
  16381. "type": "integer"
  16382. },
  16383. "goodsname": {
  16384. "description": "商品名称",
  16385. "type": "string"
  16386. },
  16387. "marketid": {
  16388. "description": "所属市场ID",
  16389. "type": "integer"
  16390. },
  16391. "marketname": {
  16392. "description": "市场名称",
  16393. "type": "string"
  16394. },
  16395. "trademode": {
  16396. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16397. "type": "integer"
  16398. }
  16399. }
  16400. },
  16401. "models.Systemparam": {
  16402. "type": "object",
  16403. "required": [
  16404. "paramcode"
  16405. ],
  16406. "properties": {
  16407. "loginid": {
  16408. "description": "更新用户账号,登录账号",
  16409. "type": "string"
  16410. },
  16411. "modifyflag": {
  16412. "description": "修改标志0 不允许修改 1 允许修改",
  16413. "type": "integer"
  16414. },
  16415. "paramcode": {
  16416. "description": "参数代码",
  16417. "type": "string"
  16418. },
  16419. "paramname": {
  16420. "description": "参数名",
  16421. "type": "string"
  16422. },
  16423. "paramtype": {
  16424. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  16425. "type": "integer"
  16426. },
  16427. "paramvalue": {
  16428. "description": "参数值",
  16429. "type": "string"
  16430. },
  16431. "paramvalue2": {
  16432. "description": "参数值(CLOB)",
  16433. "type": "string"
  16434. },
  16435. "regexpress": {
  16436. "description": "正则表达式",
  16437. "type": "string"
  16438. },
  16439. "remark": {
  16440. "description": "备注",
  16441. "type": "string"
  16442. },
  16443. "serverip": {
  16444. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  16445. "type": "string"
  16446. },
  16447. "showflag": {
  16448. "description": "是否显示0 不显示 1 显示",
  16449. "type": "integer"
  16450. },
  16451. "updatetime": {
  16452. "description": "更新时间",
  16453. "type": "string"
  16454. },
  16455. "userid": {
  16456. "description": "更新用户ID",
  16457. "type": "integer"
  16458. }
  16459. }
  16460. },
  16461. "models.Szdz3convertconfig": {
  16462. "type": "object",
  16463. "required": [
  16464. "converttype",
  16465. "innergoodsid",
  16466. "outergoodscode"
  16467. ],
  16468. "properties": {
  16469. "canin": {
  16470. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  16471. "type": "integer"
  16472. },
  16473. "canout": {
  16474. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  16475. "type": "integer"
  16476. },
  16477. "converttype": {
  16478. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  16479. "type": "integer"
  16480. },
  16481. "createtime": {
  16482. "description": "创建时间",
  16483. "type": "string"
  16484. },
  16485. "creatorid": {
  16486. "description": "创建人",
  16487. "type": "integer"
  16488. },
  16489. "daymaxvalue": {
  16490. "description": "当日最大转入限制",
  16491. "type": "number"
  16492. },
  16493. "freezedays": {
  16494. "description": "冻结天数 [5:花生米转交易]",
  16495. "type": "integer"
  16496. },
  16497. "innergoodsid": {
  16498. "description": "内部商品ID[交易]",
  16499. "type": "integer"
  16500. },
  16501. "inratio": {
  16502. "description": "目标值",
  16503. "type": "integer"
  16504. },
  16505. "modifierid": {
  16506. "description": "修改人",
  16507. "type": "integer"
  16508. },
  16509. "modifytime": {
  16510. "description": "修改时间",
  16511. "type": "string"
  16512. },
  16513. "outergoodscode": {
  16514. "description": "外部商品代码[JD\\PD]",
  16515. "type": "string"
  16516. },
  16517. "outratio": {
  16518. "description": "源值",
  16519. "type": "integer"
  16520. },
  16521. "pddecimalplace": {
  16522. "description": "PD小数位",
  16523. "type": "integer"
  16524. },
  16525. "timemaxvalue": {
  16526. "description": "单次最大转入限制",
  16527. "type": "number"
  16528. },
  16529. "timeminvalue": {
  16530. "description": "单次最小转入限制",
  16531. "type": "number"
  16532. }
  16533. }
  16534. },
  16535. "models.Szdz3searchwhitelist": {
  16536. "type": "object",
  16537. "required": [
  16538. "userid"
  16539. ],
  16540. "properties": {
  16541. "createtime": {
  16542. "description": "创建时间",
  16543. "type": "string"
  16544. },
  16545. "creatorid": {
  16546. "description": "创建人",
  16547. "type": "integer"
  16548. },
  16549. "modifierid": {
  16550. "description": "修改人",
  16551. "type": "integer"
  16552. },
  16553. "modifytime": {
  16554. "description": "修改时间",
  16555. "type": "string"
  16556. },
  16557. "userid": {
  16558. "description": "用户ID",
  16559. "type": "integer"
  16560. }
  16561. }
  16562. },
  16563. "models.Taaccount": {
  16564. "type": "object",
  16565. "required": [
  16566. "accountid",
  16567. "userid"
  16568. ],
  16569. "properties": {
  16570. "accountflag": {
  16571. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  16572. "type": "integer"
  16573. },
  16574. "accountid": {
  16575. "description": "资金账户ID",
  16576. "type": "integer"
  16577. },
  16578. "accountname": {
  16579. "description": "账户名称",
  16580. "type": "string"
  16581. },
  16582. "balance": {
  16583. "description": "期初余额",
  16584. "type": "number"
  16585. },
  16586. "capitalbalance": {
  16587. "description": "本金余额[外部子账户实际出入金余额]",
  16588. "type": "number"
  16589. },
  16590. "changeflag": {
  16591. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  16592. "type": "integer"
  16593. },
  16594. "changetime": {
  16595. "description": "账户状态变更时间",
  16596. "type": "string"
  16597. },
  16598. "closepl": {
  16599. "description": "今日平仓盈亏",
  16600. "type": "number"
  16601. },
  16602. "creditdecrease": {
  16603. "description": "今日授信减少",
  16604. "type": "number"
  16605. },
  16606. "creditincrease": {
  16607. "description": "今日授信增加",
  16608. "type": "number"
  16609. },
  16610. "currencyid": {
  16611. "description": "货币ID",
  16612. "type": "integer"
  16613. },
  16614. "currentbalance": {
  16615. "description": "期末余额",
  16616. "type": "number"
  16617. },
  16618. "freezecharge": {
  16619. "description": "手续费冻结",
  16620. "type": "number"
  16621. },
  16622. "freezemargin": {
  16623. "description": "冻结保证金",
  16624. "type": "number"
  16625. },
  16626. "fromaccountid": {
  16627. "description": "所属上级账户",
  16628. "type": "integer"
  16629. },
  16630. "inamount": {
  16631. "description": "今日入金金额(包括三方入金)",
  16632. "type": "number"
  16633. },
  16634. "ismain": {
  16635. "description": "是否母账号 0:不是母账户 1:是母账户",
  16636. "type": "integer"
  16637. },
  16638. "ismarketaccount": {
  16639. "description": "是否机构接单账号 0:不是 1:是",
  16640. "type": "integer"
  16641. },
  16642. "isreckonaccount": {
  16643. "description": "是否机构分润账号 0:不是 1:是",
  16644. "type": "integer"
  16645. },
  16646. "mortgagecredit": {
  16647. "description": "授信金额",
  16648. "type": "number"
  16649. },
  16650. "orifreezecharge": {
  16651. "description": "期初手续费冻结",
  16652. "type": "number"
  16653. },
  16654. "orifreezemargin": {
  16655. "description": "期初冻结保证金",
  16656. "type": "number"
  16657. },
  16658. "orimortgagecredit": {
  16659. "description": "期初授信金额",
  16660. "type": "number"
  16661. },
  16662. "oriothercredit": {
  16663. "description": "期初其它授信金额",
  16664. "type": "number"
  16665. },
  16666. "oriotherfreezemargin": {
  16667. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  16668. "type": "number"
  16669. },
  16670. "orioutamountfreeze": {
  16671. "description": "期初出金冻结",
  16672. "type": "number"
  16673. },
  16674. "oriusedmargin": {
  16675. "description": "期初占用保证金",
  16676. "type": "number"
  16677. },
  16678. "othercredit": {
  16679. "description": "其它授信金额",
  16680. "type": "number"
  16681. },
  16682. "othercreditdecrease": {
  16683. "description": "今日其它授信减少",
  16684. "type": "number"
  16685. },
  16686. "othercreditincrease": {
  16687. "description": "今日其它授信增加",
  16688. "type": "number"
  16689. },
  16690. "otherfreezemargin": {
  16691. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  16692. "type": "number"
  16693. },
  16694. "otherincome": {
  16695. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  16696. "type": "number"
  16697. },
  16698. "otherpay": {
  16699. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  16700. "type": "number"
  16701. },
  16702. "outamount": {
  16703. "description": "今日出金金额(包括三方出金)",
  16704. "type": "number"
  16705. },
  16706. "outamountfreeze": {
  16707. "description": "出金冻结",
  16708. "type": "number"
  16709. },
  16710. "outthreshold": {
  16711. "description": "出金阈值",
  16712. "type": "number"
  16713. },
  16714. "parentaccountid": {
  16715. "description": "所属根账号",
  16716. "type": "integer"
  16717. },
  16718. "paycharge": {
  16719. "description": "今日手续费支出",
  16720. "type": "number"
  16721. },
  16722. "relatedaccountstatus": {
  16723. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  16724. "type": "integer"
  16725. },
  16726. "relateduserid": {
  16727. "description": "关联用户",
  16728. "type": "integer"
  16729. },
  16730. "serivcegroup": {
  16731. "description": "服务分组",
  16732. "type": "integer"
  16733. },
  16734. "signstatus": {
  16735. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  16736. "type": "integer"
  16737. },
  16738. "sublevelpath": {
  16739. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  16740. "type": "string"
  16741. },
  16742. "taaccounttype": {
  16743. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  16744. "type": "integer"
  16745. },
  16746. "thirdinamount": {
  16747. "description": "今日三方入金",
  16748. "type": "number"
  16749. },
  16750. "thirdoutamount": {
  16751. "description": "今日三方出金",
  16752. "type": "number"
  16753. },
  16754. "tradestatus": {
  16755. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16756. "type": "integer"
  16757. },
  16758. "tradestatuschangetime": {
  16759. "description": "激活时间",
  16760. "type": "string"
  16761. },
  16762. "transferamount": {
  16763. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  16764. "type": "number"
  16765. },
  16766. "usedmargin": {
  16767. "description": "占用保证金",
  16768. "type": "number"
  16769. },
  16770. "userid": {
  16771. "description": "用户ID",
  16772. "type": "integer"
  16773. }
  16774. }
  16775. },
  16776. "models.Tablecolumnconfig": {
  16777. "type": "object",
  16778. "required": [
  16779. "autoid"
  16780. ],
  16781. "properties": {
  16782. "aligntype": {
  16783. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  16784. "type": "integer"
  16785. },
  16786. "autoid": {
  16787. "description": "AutoID",
  16788. "type": "integer"
  16789. },
  16790. "columnfield": {
  16791. "description": "列字段",
  16792. "type": "string"
  16793. },
  16794. "columntitle": {
  16795. "description": "列Title",
  16796. "type": "string"
  16797. },
  16798. "columnwidth": {
  16799. "description": "列宽",
  16800. "type": "string"
  16801. },
  16802. "formatterstring": {
  16803. "description": "格式化字符",
  16804. "type": "string"
  16805. },
  16806. "formattertype": {
  16807. "description": "格式化类型",
  16808. "type": "string"
  16809. },
  16810. "groupname": {
  16811. "description": "表头分组名称",
  16812. "type": "string"
  16813. },
  16814. "isshow": {
  16815. "description": "是否显示 - 0:不显示 1:显示",
  16816. "type": "integer"
  16817. },
  16818. "needsummary": {
  16819. "description": "是否需要汇总 - 0:不需要 1:需要",
  16820. "type": "integer"
  16821. },
  16822. "orderindex": {
  16823. "description": "顺序",
  16824. "type": "integer"
  16825. },
  16826. "remark": {
  16827. "description": "备注",
  16828. "type": "string"
  16829. },
  16830. "summarytype": {
  16831. "description": "汇总类型 - 1:加总 2:最后一个",
  16832. "type": "integer"
  16833. },
  16834. "tablekey": {
  16835. "description": "列表Key",
  16836. "type": "string"
  16837. }
  16838. }
  16839. },
  16840. "models.Useraccount": {
  16841. "type": "object",
  16842. "required": [
  16843. "userid"
  16844. ],
  16845. "properties": {
  16846. "accountname": {
  16847. "description": "账户名称(机构名称)",
  16848. "type": "string"
  16849. },
  16850. "accountstatus": {
  16851. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16852. "type": "integer"
  16853. },
  16854. "auditremark": {
  16855. "description": "审核备注",
  16856. "type": "string"
  16857. },
  16858. "audittime": {
  16859. "description": "审核时间",
  16860. "type": "string"
  16861. },
  16862. "audituserid": {
  16863. "description": "审核人",
  16864. "type": "integer"
  16865. },
  16866. "broker": {
  16867. "description": "所属经纪人ID",
  16868. "type": "integer"
  16869. },
  16870. "canceltime": {
  16871. "description": "销户时间",
  16872. "type": "string"
  16873. },
  16874. "canceluserid": {
  16875. "description": "销户人",
  16876. "type": "integer"
  16877. },
  16878. "createtime": {
  16879. "description": "创建时间",
  16880. "type": "string"
  16881. },
  16882. "creatorid": {
  16883. "description": "创建人",
  16884. "type": "integer"
  16885. },
  16886. "hasauth": {
  16887. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  16888. "type": "integer"
  16889. },
  16890. "isanonymous": {
  16891. "description": "是否匿名下单 - 0:否 1:是",
  16892. "type": "integer"
  16893. },
  16894. "maxinvestornum": {
  16895. "description": "最大用户数(经纪会员下投资者个数)",
  16896. "type": "integer"
  16897. },
  16898. "memberuserid": {
  16899. "description": "所属会员ID",
  16900. "type": "integer"
  16901. },
  16902. "modifierid": {
  16903. "description": "修改人",
  16904. "type": "integer"
  16905. },
  16906. "modifyremark": {
  16907. "description": "变更备注",
  16908. "type": "string"
  16909. },
  16910. "modifystatus": {
  16911. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  16912. "type": "integer"
  16913. },
  16914. "modifytime": {
  16915. "description": "修改时间",
  16916. "type": "string"
  16917. },
  16918. "parentuserid": {
  16919. "description": "所属机构ID",
  16920. "type": "integer"
  16921. },
  16922. "reckonaccountid": {
  16923. "description": "默认结算资金账号ID(机构分润使用) 作废",
  16924. "type": "integer"
  16925. },
  16926. "refercount": {
  16927. "description": "推荐总人数",
  16928. "type": "integer"
  16929. },
  16930. "refereeuserid": {
  16931. "description": "推荐人ID",
  16932. "type": "integer"
  16933. },
  16934. "refernum": {
  16935. "description": "推荐码",
  16936. "type": "string"
  16937. },
  16938. "subarealevelpath": {
  16939. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  16940. "type": "string"
  16941. },
  16942. "userid": {
  16943. "description": "用户ID",
  16944. "type": "integer"
  16945. },
  16946. "usertype": {
  16947. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  16948. "type": "integer"
  16949. }
  16950. }
  16951. },
  16952. "models.Userfavoritegoods": {
  16953. "type": "object",
  16954. "required": [
  16955. "goodsid"
  16956. ],
  16957. "properties": {
  16958. "goodsid": {
  16959. "description": "商品ID",
  16960. "type": "integer"
  16961. }
  16962. }
  16963. },
  16964. "models.Userinfo": {
  16965. "type": "object",
  16966. "required": [
  16967. "userid"
  16968. ],
  16969. "properties": {
  16970. "address": {
  16971. "description": "地址",
  16972. "type": "string"
  16973. },
  16974. "attachment1": {
  16975. "description": "附件1",
  16976. "type": "string"
  16977. },
  16978. "attachment2": {
  16979. "description": "附件2",
  16980. "type": "string"
  16981. },
  16982. "bankaccount": {
  16983. "description": "银行帐号 (加密存储)",
  16984. "type": "string"
  16985. },
  16986. "bankaccountname": {
  16987. "description": "收款人名称",
  16988. "type": "string"
  16989. },
  16990. "bankcardfrontphotourl": {
  16991. "description": "银行卡正面照地址",
  16992. "type": "string"
  16993. },
  16994. "bankid": {
  16995. "description": "银行编码",
  16996. "type": "string"
  16997. },
  16998. "bankname": {
  16999. "description": "银行名称",
  17000. "type": "string"
  17001. },
  17002. "biznature": {
  17003. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17004. "type": "integer"
  17005. },
  17006. "bizscope": {
  17007. "description": "企业经营范围(企业)",
  17008. "type": "string"
  17009. },
  17010. "cardbackphotourl": {
  17011. "description": "证件背面图片地址",
  17012. "type": "string"
  17013. },
  17014. "cardfrontphotourl": {
  17015. "description": "证件正面图片地址",
  17016. "type": "string"
  17017. },
  17018. "cardnum": {
  17019. "description": "证件号码(加密存储)",
  17020. "type": "string"
  17021. },
  17022. "cardtypeid": {
  17023. "description": "证件类型ID",
  17024. "type": "integer"
  17025. },
  17026. "cityid": {
  17027. "description": "市",
  17028. "type": "integer"
  17029. },
  17030. "company": {
  17031. "description": "公司(个人)",
  17032. "type": "string"
  17033. },
  17034. "contactname": {
  17035. "description": "联系人",
  17036. "type": "string"
  17037. },
  17038. "countryid": {
  17039. "description": "国家",
  17040. "type": "integer"
  17041. },
  17042. "createtime": {
  17043. "description": "创建时间",
  17044. "type": "string"
  17045. },
  17046. "creatorid": {
  17047. "description": "创建人",
  17048. "type": "integer"
  17049. },
  17050. "customername": {
  17051. "description": "客户名称(企业名称)",
  17052. "type": "string"
  17053. },
  17054. "districtid": {
  17055. "description": "地区",
  17056. "type": "integer"
  17057. },
  17058. "email": {
  17059. "description": "邮件(加密存储)",
  17060. "type": "string"
  17061. },
  17062. "fax": {
  17063. "description": "传真(加密存储)",
  17064. "type": "string"
  17065. },
  17066. "halfbodyphotourl": {
  17067. "description": "半身照地址",
  17068. "type": "string"
  17069. },
  17070. "hasencrypt": {
  17071. "description": "数据是否已加密 - 0:未加密 1:已加密",
  17072. "type": "integer"
  17073. },
  17074. "headurl": {
  17075. "description": "头像地址",
  17076. "type": "string"
  17077. },
  17078. "legalcardbackphotourl": {
  17079. "description": "法人身份证背面照地址",
  17080. "type": "string"
  17081. },
  17082. "legalcardfrontphotourl": {
  17083. "description": "法人身份证正面照地址",
  17084. "type": "string"
  17085. },
  17086. "legalpersonname": {
  17087. "description": "法人姓名(企业)",
  17088. "type": "string"
  17089. },
  17090. "mobile": {
  17091. "description": "手机号码(加密存储)",
  17092. "type": "string"
  17093. },
  17094. "mobile2": {
  17095. "description": "手机号码[明文-尚志]",
  17096. "type": "string"
  17097. },
  17098. "modifierid": {
  17099. "description": "修改人",
  17100. "type": "integer"
  17101. },
  17102. "modifiertime": {
  17103. "description": "修改时间",
  17104. "type": "string"
  17105. },
  17106. "needinvoice": {
  17107. "description": "是否需要发票 - 0:不需要 1:需要",
  17108. "type": "integer"
  17109. },
  17110. "nickname": {
  17111. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  17112. "type": "string"
  17113. },
  17114. "openmode": {
  17115. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  17116. "type": "integer"
  17117. },
  17118. "otherurl": {
  17119. "description": "其它图片地址[使用分号分隔]",
  17120. "type": "string"
  17121. },
  17122. "postalcode": {
  17123. "description": "邮政编码",
  17124. "type": "string"
  17125. },
  17126. "provinceid": {
  17127. "description": "省",
  17128. "type": "integer"
  17129. },
  17130. "qq": {
  17131. "description": "QQ(加密存储",
  17132. "type": "string"
  17133. },
  17134. "remark": {
  17135. "description": "备注",
  17136. "type": "string"
  17137. },
  17138. "sex": {
  17139. "description": "用户性别 0: 女 1: 男",
  17140. "type": "integer"
  17141. },
  17142. "signpdfurl": {
  17143. "description": "签约pdf文件",
  17144. "type": "string"
  17145. },
  17146. "telphone": {
  17147. "description": "联系电话(加密存储)",
  17148. "type": "string"
  17149. },
  17150. "userid": {
  17151. "description": "用户ID",
  17152. "type": "integer"
  17153. },
  17154. "userinfotype": {
  17155. "description": "用户信息类型 - 1:个人 2:企业",
  17156. "type": "integer"
  17157. },
  17158. "userstatus": {
  17159. "description": "用户状态 - 1:正常 2:注销",
  17160. "type": "integer"
  17161. },
  17162. "usertype": {
  17163. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  17164. "type": "integer"
  17165. },
  17166. "wechat": {
  17167. "description": "微信(加密存储)",
  17168. "type": "string"
  17169. },
  17170. "wskhinfo": {
  17171. "description": "开户申请信息(JSON)",
  17172. "type": "string"
  17173. }
  17174. }
  17175. },
  17176. "models.WRCategoryTree": {
  17177. "type": "object",
  17178. "required": [
  17179. "categoryid"
  17180. ],
  17181. "properties": {
  17182. "areauserid": {
  17183. "description": "所属机构",
  17184. "type": "integer"
  17185. },
  17186. "categorydesc": {
  17187. "description": "类别描述",
  17188. "type": "string"
  17189. },
  17190. "categoryid": {
  17191. "description": "类别ID(SEQ_WRCATEGORY)",
  17192. "type": "integer"
  17193. },
  17194. "categoryname": {
  17195. "description": "类别名称",
  17196. "type": "string"
  17197. },
  17198. "iconurl": {
  17199. "description": "图标地址",
  17200. "type": "string"
  17201. },
  17202. "orderindex": {
  17203. "description": "顺序",
  17204. "type": "integer"
  17205. },
  17206. "parentcategoryid": {
  17207. "description": "父类别ID",
  17208. "type": "integer"
  17209. },
  17210. "subcategory": {
  17211. "description": "子分类",
  17212. "type": "array",
  17213. "items": {
  17214. "$ref": "#/definitions/models.WRCategoryTree"
  17215. }
  17216. }
  17217. }
  17218. },
  17219. "models.WRSConverTDetail": {
  17220. "type": "object",
  17221. "properties": {
  17222. "convertratio": {
  17223. "description": "套保系数",
  17224. "type": "number"
  17225. },
  17226. "deliverygoodsid": {
  17227. "description": "现货品种ID",
  17228. "type": "integer"
  17229. },
  17230. "middlegoodscode": {
  17231. "description": "套保品种代码",
  17232. "type": "string"
  17233. },
  17234. "middlegoodsid": {
  17235. "description": "套保品种ID",
  17236. "type": "integer"
  17237. },
  17238. "middlegoodsname": {
  17239. "description": "套保品种名称",
  17240. "type": "string"
  17241. },
  17242. "modifytime": {
  17243. "description": "修改时间",
  17244. "type": "string"
  17245. },
  17246. "wrstandardid": {
  17247. "description": "现货商品ID",
  17248. "type": "integer"
  17249. }
  17250. }
  17251. },
  17252. "models.WRStandardInfo": {
  17253. "type": "object",
  17254. "required": [
  17255. "wrstandardid"
  17256. ],
  17257. "properties": {
  17258. "createtime": {
  17259. "description": "创建时间",
  17260. "type": "string"
  17261. },
  17262. "creatorid": {
  17263. "description": "创建人",
  17264. "type": "integer"
  17265. },
  17266. "deliverygoodsid": {
  17267. "description": "品种ID",
  17268. "type": "integer"
  17269. },
  17270. "deliverygoodsname": {
  17271. "description": "交割商品名称",
  17272. "type": "string"
  17273. },
  17274. "factoryitemjson": {
  17275. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  17276. "type": "string"
  17277. },
  17278. "isvalid": {
  17279. "description": "是否有效 - 0:无效 1:有效",
  17280. "type": "integer"
  17281. },
  17282. "minivalue": {
  17283. "description": "最小变动值",
  17284. "type": "integer"
  17285. },
  17286. "minivaluedp": {
  17287. "description": "最小变动值小数位",
  17288. "type": "integer"
  17289. },
  17290. "realminivalue": {
  17291. "description": "实际最小变动值",
  17292. "type": "integer"
  17293. },
  17294. "realminivaluedp": {
  17295. "description": "实际最小变动值小数位",
  17296. "type": "integer"
  17297. },
  17298. "unitid": {
  17299. "description": "单位ID",
  17300. "type": "integer"
  17301. },
  17302. "unitname": {
  17303. "description": "单位",
  17304. "type": "string"
  17305. },
  17306. "updatetime": {
  17307. "description": "更新时间",
  17308. "type": "string"
  17309. },
  17310. "updatorid": {
  17311. "description": "更新人",
  17312. "type": "integer"
  17313. },
  17314. "wrsstatus": {
  17315. "description": "状态 - 作废 - 0:未激活 1:正常",
  17316. "type": "integer"
  17317. },
  17318. "wrstandardcode": {
  17319. "description": "仓单标准代码",
  17320. "type": "string"
  17321. },
  17322. "wrstandardid": {
  17323. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17324. "type": "integer"
  17325. },
  17326. "wrstandardname": {
  17327. "description": "仓单标准名称",
  17328. "type": "string"
  17329. }
  17330. }
  17331. },
  17332. "models.Warehouseinfo": {
  17333. "type": "object",
  17334. "required": [
  17335. "autoid",
  17336. "warehousecode"
  17337. ],
  17338. "properties": {
  17339. "address": {
  17340. "description": "详细地址",
  17341. "type": "string"
  17342. },
  17343. "areauserid": {
  17344. "description": "所属机构",
  17345. "type": "integer"
  17346. },
  17347. "autoid": {
  17348. "description": "自增ID",
  17349. "type": "integer"
  17350. },
  17351. "cityid": {
  17352. "description": "市",
  17353. "type": "integer"
  17354. },
  17355. "contactname": {
  17356. "description": "联系人",
  17357. "type": "string"
  17358. },
  17359. "contactnum": {
  17360. "description": "联系电话",
  17361. "type": "string"
  17362. },
  17363. "countryid": {
  17364. "description": "国家",
  17365. "type": "integer"
  17366. },
  17367. "createtime": {
  17368. "description": "创建时间",
  17369. "type": "string"
  17370. },
  17371. "districtid": {
  17372. "description": "区",
  17373. "type": "integer"
  17374. },
  17375. "hasvideo": {
  17376. "description": "是否有视频 - 0:无 1:有",
  17377. "type": "integer"
  17378. },
  17379. "provinceid": {
  17380. "description": "省",
  17381. "type": "integer"
  17382. },
  17383. "remark": {
  17384. "description": "审核备注",
  17385. "type": "string"
  17386. },
  17387. "videourl": {
  17388. "description": "视频地址",
  17389. "type": "string"
  17390. },
  17391. "warehousecode": {
  17392. "description": "仓库代码",
  17393. "type": "string"
  17394. },
  17395. "warehousename": {
  17396. "description": "仓库名称",
  17397. "type": "string"
  17398. },
  17399. "warehousestatus": {
  17400. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17401. "type": "integer"
  17402. },
  17403. "warehousetype": {
  17404. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17405. "type": "integer"
  17406. }
  17407. }
  17408. },
  17409. "order.QueryHisTradeDetailRsp": {
  17410. "type": "object",
  17411. "required": [
  17412. "accountid",
  17413. "buyorsell",
  17414. "goodsid",
  17415. "histradedate",
  17416. "marketid",
  17417. "memberuserid",
  17418. "orderid",
  17419. "tradeamount",
  17420. "tradedate",
  17421. "tradeid",
  17422. "tradeprice",
  17423. "tradeqty",
  17424. "tradetime"
  17425. ],
  17426. "properties": {
  17427. "accountid": {
  17428. "description": "账户ID[报价币种]",
  17429. "type": "integer"
  17430. },
  17431. "buildtype": {
  17432. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  17433. "type": "integer"
  17434. },
  17435. "buyorsell": {
  17436. "description": "方向 - 0:买 1:卖",
  17437. "type": "integer"
  17438. },
  17439. "charge": {
  17440. "description": "手续费",
  17441. "type": "number"
  17442. },
  17443. "closecharge": {
  17444. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17445. "type": "number"
  17446. },
  17447. "closeexchagechargevalue": {
  17448. "description": "平仓交易所手续费设置值",
  17449. "type": "number"
  17450. },
  17451. "closefeealgorithm": {
  17452. "description": "平仓手续费收取方式 1:比率 2:固定",
  17453. "type": "integer"
  17454. },
  17455. "closememberchargevalue": {
  17456. "description": "平仓会员手续费设置值",
  17457. "type": "number"
  17458. },
  17459. "closepl": {
  17460. "description": "平仓盈亏",
  17461. "type": "number"
  17462. },
  17463. "closepl2": {
  17464. "description": "平仓盈亏[逐笔]",
  17465. "type": "number"
  17466. },
  17467. "closeqty": {
  17468. "description": "平仓数量(先建后平操作 需要记录)",
  17469. "type": "integer"
  17470. },
  17471. "creditamount": {
  17472. "description": "授信金额",
  17473. "type": "number"
  17474. },
  17475. "gcaccountid": {
  17476. "description": "账户ID[合约币种]",
  17477. "type": "integer"
  17478. },
  17479. "goodscode": {
  17480. "description": "商品代码",
  17481. "type": "string"
  17482. },
  17483. "goodsid": {
  17484. "description": "商品ID",
  17485. "type": "integer"
  17486. },
  17487. "goodsname": {
  17488. "description": "商品名称",
  17489. "type": "string"
  17490. },
  17491. "histradedate": {
  17492. "description": "历史交易日",
  17493. "type": "string"
  17494. },
  17495. "intclosepl": {
  17496. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  17497. "type": "integer"
  17498. },
  17499. "isconfirmexercise": {
  17500. "description": "是否确认行权- 0:否 1:是",
  17501. "type": "integer"
  17502. },
  17503. "ismain": {
  17504. "description": "是否主单 - 0:不是 1:是",
  17505. "type": "integer"
  17506. },
  17507. "ispreexercise": {
  17508. "description": "是否预申报- 0:否 1:是",
  17509. "type": "integer"
  17510. },
  17511. "isreckoned": {
  17512. "description": "是否结算 - 0:未结算 1:已结算",
  17513. "type": "integer"
  17514. },
  17515. "isvaliddata": {
  17516. "description": "是否有效 - 0:无效 1:有效",
  17517. "type": "integer"
  17518. },
  17519. "listingselecttype": {
  17520. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17521. "type": "integer"
  17522. },
  17523. "marketid": {
  17524. "description": "市场ID",
  17525. "type": "integer"
  17526. },
  17527. "marketname": {
  17528. "description": "市场名称",
  17529. "type": "string"
  17530. },
  17531. "matchaccountid": {
  17532. "description": "对手账号id",
  17533. "type": "integer"
  17534. },
  17535. "memberuserid": {
  17536. "description": "会员id 个人投资者 需要填写",
  17537. "type": "integer"
  17538. },
  17539. "opencharge": {
  17540. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17541. "type": "number"
  17542. },
  17543. "openexchagechargevalue": {
  17544. "description": "建仓交易所手续费设置值",
  17545. "type": "number"
  17546. },
  17547. "openfeealgorithm": {
  17548. "description": "建仓手续费收取方式 1:比率 2:固定",
  17549. "type": "integer"
  17550. },
  17551. "openmemberchargevalue": {
  17552. "description": "建仓会员手续费设置值",
  17553. "type": "number"
  17554. },
  17555. "openqty": {
  17556. "description": "开仓数量(先建后平操作 需要记录)",
  17557. "type": "integer"
  17558. },
  17559. "optiontype": {
  17560. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17561. "type": "integer"
  17562. },
  17563. "orderid": {
  17564. "description": "委托单号",
  17565. "type": "string"
  17566. },
  17567. "performanceplanid": {
  17568. "description": "履约计划ID[期权]",
  17569. "type": "integer"
  17570. },
  17571. "performancestatus": {
  17572. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  17573. "type": "integer"
  17574. },
  17575. "preexerciseprice": {
  17576. "description": "预申报价格",
  17577. "type": "number"
  17578. },
  17579. "premium": {
  17580. "description": "权利金 - [持仓单的权利金]",
  17581. "type": "number"
  17582. },
  17583. "relatedouttradeid": {
  17584. "description": "关联外部成交单ID",
  17585. "type": "integer"
  17586. },
  17587. "status": {
  17588. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  17589. "type": "integer"
  17590. },
  17591. "tradeamount": {
  17592. "description": "成交金额[账户币种,用于所有权]",
  17593. "type": "number"
  17594. },
  17595. "tradedate": {
  17596. "description": "交易日(yyyyMMdd)",
  17597. "type": "string"
  17598. },
  17599. "tradeid": {
  17600. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17601. "type": "string"
  17602. },
  17603. "trademode": {
  17604. "description": "交易模式",
  17605. "type": "integer"
  17606. },
  17607. "tradeprice": {
  17608. "description": "成交价格",
  17609. "type": "number"
  17610. },
  17611. "tradeproperty": {
  17612. "description": "交易属性",
  17613. "type": "integer"
  17614. },
  17615. "tradeqty": {
  17616. "description": "成交数量",
  17617. "type": "integer"
  17618. },
  17619. "tradetime": {
  17620. "description": "成交时间",
  17621. "type": "string"
  17622. },
  17623. "tradetype": {
  17624. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  17625. "type": "integer"
  17626. }
  17627. }
  17628. },
  17629. "order.QueryHisTradeOrderDetailRsp": {
  17630. "type": "object",
  17631. "required": [
  17632. "accountid",
  17633. "buildtype",
  17634. "buyorsell",
  17635. "goodsid",
  17636. "histradedate",
  17637. "marketid",
  17638. "memberuserid",
  17639. "operatetype",
  17640. "orderid",
  17641. "orderqty",
  17642. "ordertime",
  17643. "pricemode",
  17644. "tradedate",
  17645. "validtype"
  17646. ],
  17647. "properties": {
  17648. "accountid": {
  17649. "description": "账户ID[报价币种]",
  17650. "type": "integer"
  17651. },
  17652. "buildtype": {
  17653. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17654. "type": "integer"
  17655. },
  17656. "buyorsell": {
  17657. "description": "买卖 - 0:买 1:卖",
  17658. "type": "integer"
  17659. },
  17660. "cancelorderid": {
  17661. "description": "撤单单号(撤单时填写)",
  17662. "type": "string"
  17663. },
  17664. "cancelqty": {
  17665. "description": "撤单数量",
  17666. "type": "integer"
  17667. },
  17668. "clientordertime": {
  17669. "description": "客户端委托时间",
  17670. "type": "string"
  17671. },
  17672. "clientticket": {
  17673. "description": "客户端流水号",
  17674. "type": "string"
  17675. },
  17676. "clienttype": {
  17677. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17678. "type": "integer"
  17679. },
  17680. "closeexchagechargevalue": {
  17681. "description": "平仓交易所手续费设置值",
  17682. "type": "number"
  17683. },
  17684. "closefeealgorithm": {
  17685. "description": "平仓手续费收取方式 1:比率 2:固定",
  17686. "type": "integer"
  17687. },
  17688. "closefreezecharge": {
  17689. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17690. "type": "number"
  17691. },
  17692. "closememberchargevalue": {
  17693. "description": "平仓会员手续费设置值",
  17694. "type": "number"
  17695. },
  17696. "closeqty": {
  17697. "description": "平仓数量(先建后平操作 需要记录)",
  17698. "type": "integer"
  17699. },
  17700. "closetradeqty": {
  17701. "description": "平仓成交数量(先建后平操作,需要记录)",
  17702. "type": "integer"
  17703. },
  17704. "closeunfreezecharge": {
  17705. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17706. "type": "number"
  17707. },
  17708. "delistingtype": {
  17709. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17710. "type": "integer"
  17711. },
  17712. "freezecharge": {
  17713. "description": "冻结手续费",
  17714. "type": "number"
  17715. },
  17716. "freezemargin": {
  17717. "description": "冻结保证金(冻结交易金额)",
  17718. "type": "number"
  17719. },
  17720. "gcaccountid": {
  17721. "description": "账户ID[合约币种]",
  17722. "type": "integer"
  17723. },
  17724. "goodscode": {
  17725. "description": "商品代码",
  17726. "type": "string"
  17727. },
  17728. "goodsid": {
  17729. "description": "商品ID",
  17730. "type": "integer"
  17731. },
  17732. "goodsname": {
  17733. "description": "商品名称",
  17734. "type": "string"
  17735. },
  17736. "histradedate": {
  17737. "description": "历史交易日",
  17738. "type": "string"
  17739. },
  17740. "isconfirmexercise": {
  17741. "description": "是否确认行权- 0:否 1:是",
  17742. "type": "integer"
  17743. },
  17744. "ispreexercise": {
  17745. "description": "是否预申报- 0:否 1:是",
  17746. "type": "integer"
  17747. },
  17748. "isvaliddata": {
  17749. "description": "是否有效 - 0:无效 1:有效",
  17750. "type": "integer"
  17751. },
  17752. "listingselecttype": {
  17753. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17754. "type": "integer"
  17755. },
  17756. "marginalgorithm": {
  17757. "description": "保证金收取方式 1:比率 2:固定",
  17758. "type": "integer"
  17759. },
  17760. "marginvalue": {
  17761. "description": "即市保证金设置值",
  17762. "type": "number"
  17763. },
  17764. "marketid": {
  17765. "description": "市场ID",
  17766. "type": "integer"
  17767. },
  17768. "marketmaxsub": {
  17769. "description": "市价最大偏移范围",
  17770. "type": "number"
  17771. },
  17772. "marketname": {
  17773. "description": "市场名称",
  17774. "type": "string"
  17775. },
  17776. "memberuserid": {
  17777. "description": "所属会员UserID",
  17778. "type": "integer"
  17779. },
  17780. "openexchagechargevalue": {
  17781. "description": "建仓交易所手续费设置值",
  17782. "type": "number"
  17783. },
  17784. "openfeealgorithm": {
  17785. "description": "建仓手续费收取方式 1:比率 2:固定",
  17786. "type": "integer"
  17787. },
  17788. "openfreezecharge": {
  17789. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17790. "type": "number"
  17791. },
  17792. "openmemberchargevalue": {
  17793. "description": "建仓会员手续费设置值",
  17794. "type": "number"
  17795. },
  17796. "openqty": {
  17797. "description": "开仓数量(先建后平操作,需要记录)",
  17798. "type": "integer"
  17799. },
  17800. "opentradeqty": {
  17801. "description": "开仓成交数量(先建后平操作,需要记录)",
  17802. "type": "integer"
  17803. },
  17804. "openunfreezecharge": {
  17805. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17806. "type": "number"
  17807. },
  17808. "operatetype": {
  17809. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17810. "type": "integer"
  17811. },
  17812. "operatorid": {
  17813. "description": "登录账号(LoginID)",
  17814. "type": "integer"
  17815. },
  17816. "optiontype": {
  17817. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17818. "type": "integer"
  17819. },
  17820. "orderid": {
  17821. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17822. "type": "string"
  17823. },
  17824. "orderprice": {
  17825. "description": "委托价格",
  17826. "type": "number"
  17827. },
  17828. "orderqty": {
  17829. "description": "委托数量",
  17830. "type": "integer"
  17831. },
  17832. "ordersrc": {
  17833. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17834. "type": "integer"
  17835. },
  17836. "orderstatus": {
  17837. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17838. "type": "integer"
  17839. },
  17840. "ordertime": {
  17841. "description": "委托时间",
  17842. "type": "string"
  17843. },
  17844. "preexerciseprice": {
  17845. "description": "预申报价格",
  17846. "type": "number"
  17847. },
  17848. "premium": {
  17849. "description": "权利金",
  17850. "type": "number"
  17851. },
  17852. "preorderid": {
  17853. "description": "关联预埋单号(止盈止损单时填写)",
  17854. "type": "string"
  17855. },
  17856. "pricemode": {
  17857. "description": "取价方式 - 1:市价 2: 限价",
  17858. "type": "integer"
  17859. },
  17860. "quoteid": {
  17861. "description": "报价单ID",
  17862. "type": "integer"
  17863. },
  17864. "relatedid": {
  17865. "description": "关联单号(交割单)",
  17866. "type": "string"
  17867. },
  17868. "retcode": {
  17869. "description": "错误代码",
  17870. "type": "integer"
  17871. },
  17872. "sessionid": {
  17873. "description": "会话ID",
  17874. "type": "integer"
  17875. },
  17876. "tradedate": {
  17877. "description": "交易日(yyyyMMdd)",
  17878. "type": "string"
  17879. },
  17880. "trademode": {
  17881. "description": "交易模式",
  17882. "type": "integer"
  17883. },
  17884. "tradeproperty": {
  17885. "description": "交易属性",
  17886. "type": "integer"
  17887. },
  17888. "tradeqty": {
  17889. "description": "成交数量",
  17890. "type": "integer"
  17891. },
  17892. "unfreezecharge": {
  17893. "description": "解冻手续费",
  17894. "type": "number"
  17895. },
  17896. "unfreezemargin": {
  17897. "description": "解冻保证金",
  17898. "type": "number"
  17899. },
  17900. "updatetime": {
  17901. "description": "更新时间",
  17902. "type": "string"
  17903. },
  17904. "uuid": {
  17905. "description": "发起端唯一id",
  17906. "type": "string"
  17907. },
  17908. "validtime": {
  17909. "description": "有效期限",
  17910. "type": "string"
  17911. },
  17912. "validtype": {
  17913. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  17914. "type": "integer"
  17915. },
  17916. "volumetype": {
  17917. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  17918. "type": "integer"
  17919. }
  17920. }
  17921. },
  17922. "order.QueryTradeDetailRsp": {
  17923. "type": "object",
  17924. "required": [
  17925. "accountid",
  17926. "buyorsell",
  17927. "goodsid",
  17928. "marketid",
  17929. "memberuserid",
  17930. "orderid",
  17931. "tradeamount",
  17932. "tradedate",
  17933. "tradeid",
  17934. "tradeprice",
  17935. "tradeqty",
  17936. "tradetime"
  17937. ],
  17938. "properties": {
  17939. "accountid": {
  17940. "description": "账户ID[报价币种]",
  17941. "type": "integer"
  17942. },
  17943. "buildtype": {
  17944. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  17945. "type": "integer"
  17946. },
  17947. "buyorsell": {
  17948. "description": "方向 - 0:买 1:卖",
  17949. "type": "integer"
  17950. },
  17951. "charge": {
  17952. "description": "手续费",
  17953. "type": "number"
  17954. },
  17955. "closecharge": {
  17956. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17957. "type": "number"
  17958. },
  17959. "closeexchagechargevalue": {
  17960. "description": "平仓交易所手续费设置值",
  17961. "type": "number"
  17962. },
  17963. "closefeealgorithm": {
  17964. "description": "平仓手续费收取方式 1:比率 2:固定",
  17965. "type": "integer"
  17966. },
  17967. "closememberchargevalue": {
  17968. "description": "平仓会员手续费设置值",
  17969. "type": "number"
  17970. },
  17971. "closepl": {
  17972. "description": "平仓盈亏",
  17973. "type": "number"
  17974. },
  17975. "closepl2": {
  17976. "description": "平仓盈亏[逐笔]",
  17977. "type": "number"
  17978. },
  17979. "closeqty": {
  17980. "description": "平仓数量(先建后平操作 需要记录)",
  17981. "type": "integer"
  17982. },
  17983. "creditamount": {
  17984. "description": "授信金额",
  17985. "type": "number"
  17986. },
  17987. "gcaccountid": {
  17988. "description": "账户ID[合约币种]",
  17989. "type": "integer"
  17990. },
  17991. "goodscode": {
  17992. "description": "商品代码",
  17993. "type": "string"
  17994. },
  17995. "goodsid": {
  17996. "description": "商品ID",
  17997. "type": "integer"
  17998. },
  17999. "goodsname": {
  18000. "description": "商品名称",
  18001. "type": "string"
  18002. },
  18003. "intclosepl": {
  18004. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  18005. "type": "integer"
  18006. },
  18007. "isconfirmexercise": {
  18008. "description": "是否确认行权- 0:否 1:是",
  18009. "type": "integer"
  18010. },
  18011. "ismain": {
  18012. "description": "是否主单 - 0:不是 1:是",
  18013. "type": "integer"
  18014. },
  18015. "ispreexercise": {
  18016. "description": "是否预申报- 0:否 1:是",
  18017. "type": "integer"
  18018. },
  18019. "isreckoned": {
  18020. "description": "是否结算 - 0:未结算 1:已结算",
  18021. "type": "integer"
  18022. },
  18023. "listingselecttype": {
  18024. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18025. "type": "integer"
  18026. },
  18027. "marketid": {
  18028. "description": "市场ID",
  18029. "type": "integer"
  18030. },
  18031. "marketname": {
  18032. "description": "市场名称",
  18033. "type": "string"
  18034. },
  18035. "matchaccountid": {
  18036. "description": "对手账号id",
  18037. "type": "integer"
  18038. },
  18039. "memberuserid": {
  18040. "description": "会员id 个人投资者 需要填写",
  18041. "type": "integer"
  18042. },
  18043. "opencharge": {
  18044. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18045. "type": "number"
  18046. },
  18047. "openexchagechargevalue": {
  18048. "description": "建仓交易所手续费设置值",
  18049. "type": "number"
  18050. },
  18051. "openfeealgorithm": {
  18052. "description": "建仓手续费收取方式 1:比率 2:固定",
  18053. "type": "integer"
  18054. },
  18055. "openmemberchargevalue": {
  18056. "description": "建仓会员手续费设置值",
  18057. "type": "number"
  18058. },
  18059. "openqty": {
  18060. "description": "开仓数量(先建后平操作 需要记录)",
  18061. "type": "integer"
  18062. },
  18063. "optiontype": {
  18064. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18065. "type": "integer"
  18066. },
  18067. "orderid": {
  18068. "description": "委托单号",
  18069. "type": "string"
  18070. },
  18071. "performanceplanid": {
  18072. "description": "履约计划ID[期权]",
  18073. "type": "integer"
  18074. },
  18075. "performancestatus": {
  18076. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  18077. "type": "integer"
  18078. },
  18079. "preexerciseprice": {
  18080. "description": "预申报价格",
  18081. "type": "number"
  18082. },
  18083. "premium": {
  18084. "description": "权利金 - [持仓单的权利金]",
  18085. "type": "number"
  18086. },
  18087. "relatedouttradeid": {
  18088. "description": "关联外部成交单ID",
  18089. "type": "integer"
  18090. },
  18091. "status": {
  18092. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  18093. "type": "integer"
  18094. },
  18095. "tradeamount": {
  18096. "description": "成交金额[账户币种,用于所有权]",
  18097. "type": "number"
  18098. },
  18099. "tradedate": {
  18100. "description": "交易日(yyyyMMdd)",
  18101. "type": "string"
  18102. },
  18103. "tradeid": {
  18104. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18105. "type": "string"
  18106. },
  18107. "trademode": {
  18108. "description": "交易模式",
  18109. "type": "integer"
  18110. },
  18111. "tradeprice": {
  18112. "description": "成交价格",
  18113. "type": "number"
  18114. },
  18115. "tradeproperty": {
  18116. "description": "交易属性",
  18117. "type": "integer"
  18118. },
  18119. "tradeqty": {
  18120. "description": "成交数量",
  18121. "type": "integer"
  18122. },
  18123. "tradetime": {
  18124. "description": "成交时间",
  18125. "type": "string"
  18126. },
  18127. "tradetype": {
  18128. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  18129. "type": "integer"
  18130. }
  18131. }
  18132. },
  18133. "order.QueryTradeOrderDetailRsp": {
  18134. "type": "object",
  18135. "required": [
  18136. "accountid",
  18137. "buildtype",
  18138. "buyorsell",
  18139. "goodsid",
  18140. "marketid",
  18141. "operatetype",
  18142. "orderqty",
  18143. "ordertime",
  18144. "pricemode",
  18145. "tradedate",
  18146. "validtype"
  18147. ],
  18148. "properties": {
  18149. "accountid": {
  18150. "description": "账户ID[报价币种]",
  18151. "type": "integer"
  18152. },
  18153. "buildtype": {
  18154. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  18155. "type": "integer"
  18156. },
  18157. "buyorsell": {
  18158. "description": "买卖 - 0:买 1:卖",
  18159. "type": "integer"
  18160. },
  18161. "cancelorderid": {
  18162. "description": "撤单单号(撤单时填写)",
  18163. "type": "string"
  18164. },
  18165. "cancelqty": {
  18166. "description": "撤单数量",
  18167. "type": "integer"
  18168. },
  18169. "clienttype": {
  18170. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18171. "type": "integer"
  18172. },
  18173. "closefreezecharge": {
  18174. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  18175. "type": "number"
  18176. },
  18177. "closeqty": {
  18178. "description": "平仓数量(先建后平操作 需要记录)",
  18179. "type": "integer"
  18180. },
  18181. "closetradeqty": {
  18182. "description": "平仓成交数量(先建后平操作,需要记录)",
  18183. "type": "integer"
  18184. },
  18185. "closeunfreezecharge": {
  18186. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  18187. "type": "number"
  18188. },
  18189. "delistingtype": {
  18190. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  18191. "type": "integer"
  18192. },
  18193. "enableqty": {
  18194. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  18195. "type": "integer"
  18196. },
  18197. "freezecharge": {
  18198. "description": "冻结手续费",
  18199. "type": "number"
  18200. },
  18201. "freezemargin": {
  18202. "description": "冻结保证金(冻结交易金额)",
  18203. "type": "number"
  18204. },
  18205. "goodscode": {
  18206. "description": "商品代码",
  18207. "type": "string"
  18208. },
  18209. "goodsid": {
  18210. "description": "商品ID",
  18211. "type": "integer"
  18212. },
  18213. "goodsname": {
  18214. "description": "商品名称",
  18215. "type": "string"
  18216. },
  18217. "listingselecttype": {
  18218. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18219. "type": "integer"
  18220. },
  18221. "marketid": {
  18222. "description": "市场ID",
  18223. "type": "integer"
  18224. },
  18225. "marketname": {
  18226. "description": "市场名称",
  18227. "type": "string"
  18228. },
  18229. "openfreezecharge": {
  18230. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  18231. "type": "number"
  18232. },
  18233. "openqty": {
  18234. "description": "开仓数量(先建后平操作,需要记录)",
  18235. "type": "integer"
  18236. },
  18237. "opentradeqty": {
  18238. "description": "开仓成交数量(先建后平操作,需要记录)",
  18239. "type": "integer"
  18240. },
  18241. "openunfreezecharge": {
  18242. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18243. "type": "number"
  18244. },
  18245. "operatetype": {
  18246. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18247. "type": "integer"
  18248. },
  18249. "operatorid": {
  18250. "description": "登录账号(LoginID)",
  18251. "type": "integer"
  18252. },
  18253. "orderid": {
  18254. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18255. "type": "string"
  18256. },
  18257. "orderprice": {
  18258. "description": "委托价格",
  18259. "type": "number"
  18260. },
  18261. "orderqty": {
  18262. "description": "委托数量",
  18263. "type": "integer"
  18264. },
  18265. "ordersrc": {
  18266. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18267. "type": "integer"
  18268. },
  18269. "orderstatus": {
  18270. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18271. "type": "integer"
  18272. },
  18273. "ordertime": {
  18274. "description": "委托时间",
  18275. "type": "string"
  18276. },
  18277. "preorderid": {
  18278. "description": "关联预埋单号(止盈止损单时填写)",
  18279. "type": "string"
  18280. },
  18281. "pricemode": {
  18282. "description": "取价方式 - 1:市价 2: 限价",
  18283. "type": "integer"
  18284. },
  18285. "relatedid": {
  18286. "description": "关联单号(交割单)",
  18287. "type": "string"
  18288. },
  18289. "tradedate": {
  18290. "description": "交易日(yyyyMMdd)",
  18291. "type": "string"
  18292. },
  18293. "trademode": {
  18294. "description": "交易模式",
  18295. "type": "integer"
  18296. },
  18297. "tradeqty": {
  18298. "description": "成交数量",
  18299. "type": "integer"
  18300. },
  18301. "unfreezecharge": {
  18302. "description": "解冻手续费",
  18303. "type": "number"
  18304. },
  18305. "unfreezemargin": {
  18306. "description": "解冻保证金",
  18307. "type": "number"
  18308. },
  18309. "validtime": {
  18310. "description": "有效期限",
  18311. "type": "string"
  18312. },
  18313. "validtype": {
  18314. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18315. "type": "integer"
  18316. },
  18317. "volumetype": {
  18318. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18319. "type": "integer"
  18320. }
  18321. }
  18322. },
  18323. "order.QueryTradePositionRsp": {
  18324. "type": "object",
  18325. "required": [
  18326. "goodsid"
  18327. ],
  18328. "properties": {
  18329. "accountid": {
  18330. "description": "资金账户",
  18331. "type": "integer"
  18332. },
  18333. "agreeunit": {
  18334. "description": "合约单位",
  18335. "type": "number"
  18336. },
  18337. "averageprice": {
  18338. "description": "持仓均价",
  18339. "type": "number"
  18340. },
  18341. "buyorsell": {
  18342. "description": "方向 - 0:买 1:卖",
  18343. "type": "integer"
  18344. },
  18345. "closetotalqty": {
  18346. "description": "平仓总数量",
  18347. "type": "integer"
  18348. },
  18349. "curholderamount": {
  18350. "description": "当前持仓总金额[商品币种]",
  18351. "type": "number"
  18352. },
  18353. "curpositionqty": {
  18354. "description": "当前持仓总数量",
  18355. "type": "integer"
  18356. },
  18357. "currencyid": {
  18358. "description": "报价货币ID",
  18359. "type": "integer"
  18360. },
  18361. "curtdposition": {
  18362. "description": "期末今日头寸",
  18363. "type": "integer"
  18364. },
  18365. "decimalplace": {
  18366. "description": "报价小数位",
  18367. "type": "integer"
  18368. },
  18369. "enableqty": {
  18370. "description": "可用量",
  18371. "type": "integer"
  18372. },
  18373. "fretdposition": {
  18374. "description": "冻结今日头寸",
  18375. "type": "integer"
  18376. },
  18377. "frozenqty": {
  18378. "description": "持仓冻结数量",
  18379. "type": "integer"
  18380. },
  18381. "goodscode": {
  18382. "description": "商品代码",
  18383. "type": "string"
  18384. },
  18385. "goodsid": {
  18386. "description": "商品Id",
  18387. "type": "integer"
  18388. },
  18389. "goodsname": {
  18390. "description": "商品名称",
  18391. "type": "string"
  18392. },
  18393. "goodunit": {
  18394. "description": "报价单位",
  18395. "type": "string"
  18396. },
  18397. "goodunitid": {
  18398. "description": "报价单位ID",
  18399. "type": "integer"
  18400. },
  18401. "holderamount": {
  18402. "description": "期初持仓总金额[商品币种]",
  18403. "type": "number"
  18404. },
  18405. "marketid": {
  18406. "description": "所属市场ID",
  18407. "type": "integer"
  18408. },
  18409. "openreqqty": {
  18410. "description": "开仓申请数量(用于比较最大持仓数量)",
  18411. "type": "integer"
  18412. },
  18413. "opentotalqty": {
  18414. "description": "开仓总数量",
  18415. "type": "integer"
  18416. },
  18417. "otherfrozenqty": {
  18418. "description": "持仓其他冻结数量(交割冻结)",
  18419. "type": "integer"
  18420. },
  18421. "positionqty": {
  18422. "description": "期初持仓数量",
  18423. "type": "integer"
  18424. },
  18425. "tnqty": {
  18426. "description": "T+N冻结总量",
  18427. "type": "integer"
  18428. },
  18429. "tnusedqty": {
  18430. "description": "T+N使用量(可以使用T+N的冻结数量)",
  18431. "type": "integer"
  18432. },
  18433. "trademode": {
  18434. "description": "交易模式",
  18435. "type": "integer"
  18436. },
  18437. "usedmargin": {
  18438. "description": "占用保证金[商品币种]",
  18439. "type": "number"
  18440. }
  18441. }
  18442. },
  18443. "quote.HistoryData": {
  18444. "type": "object",
  18445. "properties": {
  18446. "c": {
  18447. "description": "收盘价",
  18448. "type": "number"
  18449. },
  18450. "f": {
  18451. "description": "是否补充数据",
  18452. "type": "boolean"
  18453. },
  18454. "h": {
  18455. "description": "最高价",
  18456. "type": "number"
  18457. },
  18458. "hv": {
  18459. "description": "持仓量",
  18460. "type": "integer"
  18461. },
  18462. "l": {
  18463. "description": "最低价",
  18464. "type": "number"
  18465. },
  18466. "o": {
  18467. "description": "开盘价",
  18468. "type": "number"
  18469. },
  18470. "s": {
  18471. "description": "结算价,日线周期(包括)以上才有",
  18472. "type": "number"
  18473. },
  18474. "ts": {
  18475. "description": "时间",
  18476. "type": "string"
  18477. },
  18478. "tt": {
  18479. "description": "总金额",
  18480. "type": "number"
  18481. },
  18482. "tv": {
  18483. "description": "总量",
  18484. "type": "integer"
  18485. }
  18486. }
  18487. },
  18488. "quote.HistoryTikData": {
  18489. "type": "object",
  18490. "properties": {
  18491. "AV": {
  18492. "description": "卖量",
  18493. "type": "integer"
  18494. },
  18495. "Ask": {
  18496. "description": "卖价",
  18497. "type": "number"
  18498. },
  18499. "BV": {
  18500. "description": "买量",
  18501. "type": "integer"
  18502. },
  18503. "Bid": {
  18504. "description": "买价",
  18505. "type": "number"
  18506. },
  18507. "HI": {
  18508. "description": "单笔持仓",
  18509. "type": "integer"
  18510. },
  18511. "HV": {
  18512. "description": "持仓量",
  18513. "type": "integer"
  18514. },
  18515. "PE": {
  18516. "description": "现价",
  18517. "type": "number"
  18518. },
  18519. "TDR": {
  18520. "description": "交易方向,0:买 1:卖",
  18521. "type": "integer"
  18522. },
  18523. "TK": {
  18524. "description": "交易类型",
  18525. "type": "integer"
  18526. },
  18527. "TS": {
  18528. "description": "行情时间文本",
  18529. "type": "string"
  18530. },
  18531. "TT": {
  18532. "description": "现金额",
  18533. "type": "number"
  18534. },
  18535. "Vol": {
  18536. "description": "现量",
  18537. "type": "integer"
  18538. }
  18539. }
  18540. },
  18541. "quote.QueryQuoteDayRsp": {
  18542. "type": "object",
  18543. "properties": {
  18544. "ask": {
  18545. "description": "卖1",
  18546. "type": "number"
  18547. },
  18548. "ask10": {
  18549. "description": "卖10",
  18550. "type": "number"
  18551. },
  18552. "ask2": {
  18553. "description": "卖2",
  18554. "type": "number"
  18555. },
  18556. "ask3": {
  18557. "description": "卖3",
  18558. "type": "number"
  18559. },
  18560. "ask4": {
  18561. "description": "卖4",
  18562. "type": "number"
  18563. },
  18564. "ask5": {
  18565. "description": "卖5",
  18566. "type": "number"
  18567. },
  18568. "ask6": {
  18569. "description": "卖6",
  18570. "type": "number"
  18571. },
  18572. "ask7": {
  18573. "description": "卖7",
  18574. "type": "number"
  18575. },
  18576. "ask8": {
  18577. "description": "卖8",
  18578. "type": "number"
  18579. },
  18580. "ask9": {
  18581. "description": "卖9",
  18582. "type": "number"
  18583. },
  18584. "askorderid": {
  18585. "description": "卖单号1",
  18586. "type": "integer"
  18587. },
  18588. "askorderid2": {
  18589. "description": "卖单号2",
  18590. "type": "integer"
  18591. },
  18592. "askorderid3": {
  18593. "description": "卖单号3",
  18594. "type": "integer"
  18595. },
  18596. "askorderid4": {
  18597. "description": "卖单号4",
  18598. "type": "integer"
  18599. },
  18600. "askorderid5": {
  18601. "description": "卖单号5",
  18602. "type": "integer"
  18603. },
  18604. "askordervolume": {
  18605. "description": "卖单量1",
  18606. "type": "integer"
  18607. },
  18608. "askordervolume10": {
  18609. "description": "卖单量10",
  18610. "type": "integer"
  18611. },
  18612. "askordervolume2": {
  18613. "description": "卖单量2",
  18614. "type": "integer"
  18615. },
  18616. "askordervolume3": {
  18617. "description": "卖单量3",
  18618. "type": "integer"
  18619. },
  18620. "askordervolume4": {
  18621. "description": "卖单量4",
  18622. "type": "integer"
  18623. },
  18624. "askordervolume5": {
  18625. "description": "卖单量5",
  18626. "type": "integer"
  18627. },
  18628. "askordervolume6": {
  18629. "description": "卖单量6",
  18630. "type": "integer"
  18631. },
  18632. "askordervolume7": {
  18633. "description": "卖单量7",
  18634. "type": "integer"
  18635. },
  18636. "askordervolume8": {
  18637. "description": "卖单量8",
  18638. "type": "integer"
  18639. },
  18640. "askordervolume9": {
  18641. "description": "卖单量9",
  18642. "type": "integer"
  18643. },
  18644. "askqueueinfo": {
  18645. "description": "大利市卖港股用",
  18646. "type": "string"
  18647. },
  18648. "askvolume": {
  18649. "description": "卖量1",
  18650. "type": "integer"
  18651. },
  18652. "askvolume10": {
  18653. "description": "卖量10",
  18654. "type": "integer"
  18655. },
  18656. "askvolume2": {
  18657. "description": "卖量2",
  18658. "type": "integer"
  18659. },
  18660. "askvolume3": {
  18661. "description": "卖量3",
  18662. "type": "integer"
  18663. },
  18664. "askvolume4": {
  18665. "description": "卖量4",
  18666. "type": "integer"
  18667. },
  18668. "askvolume5": {
  18669. "description": "卖量5",
  18670. "type": "integer"
  18671. },
  18672. "askvolume6": {
  18673. "description": "卖量6",
  18674. "type": "integer"
  18675. },
  18676. "askvolume7": {
  18677. "description": "卖量7",
  18678. "type": "integer"
  18679. },
  18680. "askvolume8": {
  18681. "description": "卖量8",
  18682. "type": "integer"
  18683. },
  18684. "askvolume9": {
  18685. "description": "卖量9",
  18686. "type": "integer"
  18687. },
  18688. "averageprice": {
  18689. "description": "均价",
  18690. "type": "number"
  18691. },
  18692. "bid": {
  18693. "description": "买1",
  18694. "type": "number"
  18695. },
  18696. "bid10": {
  18697. "description": "买10",
  18698. "type": "number"
  18699. },
  18700. "bid2": {
  18701. "description": "买2",
  18702. "type": "number"
  18703. },
  18704. "bid3": {
  18705. "description": "买3",
  18706. "type": "number"
  18707. },
  18708. "bid4": {
  18709. "description": "买4",
  18710. "type": "number"
  18711. },
  18712. "bid5": {
  18713. "description": "买5",
  18714. "type": "number"
  18715. },
  18716. "bid6": {
  18717. "description": "买6",
  18718. "type": "number"
  18719. },
  18720. "bid7": {
  18721. "description": "买7",
  18722. "type": "number"
  18723. },
  18724. "bid8": {
  18725. "description": "买8",
  18726. "type": "number"
  18727. },
  18728. "bid9": {
  18729. "description": "买9",
  18730. "type": "number"
  18731. },
  18732. "bidorderid": {
  18733. "description": "买单号1",
  18734. "type": "integer"
  18735. },
  18736. "bidorderid2": {
  18737. "description": "买单号2",
  18738. "type": "integer"
  18739. },
  18740. "bidorderid3": {
  18741. "description": "买单号3",
  18742. "type": "integer"
  18743. },
  18744. "bidorderid4": {
  18745. "description": "买单号4",
  18746. "type": "integer"
  18747. },
  18748. "bidorderid5": {
  18749. "description": "买单号5",
  18750. "type": "integer"
  18751. },
  18752. "bidordervolume": {
  18753. "description": "买单量1",
  18754. "type": "integer"
  18755. },
  18756. "bidordervolume10": {
  18757. "description": "买单量10",
  18758. "type": "integer"
  18759. },
  18760. "bidordervolume2": {
  18761. "description": "买单量2",
  18762. "type": "integer"
  18763. },
  18764. "bidordervolume3": {
  18765. "description": "买单量3",
  18766. "type": "integer"
  18767. },
  18768. "bidordervolume4": {
  18769. "description": "买单量4",
  18770. "type": "integer"
  18771. },
  18772. "bidordervolume5": {
  18773. "description": "买单量5",
  18774. "type": "integer"
  18775. },
  18776. "bidordervolume6": {
  18777. "description": "买单量6",
  18778. "type": "integer"
  18779. },
  18780. "bidordervolume7": {
  18781. "description": "买单量7",
  18782. "type": "integer"
  18783. },
  18784. "bidordervolume8": {
  18785. "description": "买单量8",
  18786. "type": "integer"
  18787. },
  18788. "bidordervolume9": {
  18789. "description": "买单量9",
  18790. "type": "integer"
  18791. },
  18792. "bidqueueinfo": {
  18793. "description": "大利市买港股用",
  18794. "type": "string"
  18795. },
  18796. "bidvolume": {
  18797. "description": "买量1",
  18798. "type": "integer"
  18799. },
  18800. "bidvolume10": {
  18801. "description": "买量10",
  18802. "type": "integer"
  18803. },
  18804. "bidvolume2": {
  18805. "description": "买量2",
  18806. "type": "integer"
  18807. },
  18808. "bidvolume3": {
  18809. "description": "买量3",
  18810. "type": "integer"
  18811. },
  18812. "bidvolume4": {
  18813. "description": "买量4",
  18814. "type": "integer"
  18815. },
  18816. "bidvolume5": {
  18817. "description": "买量5",
  18818. "type": "integer"
  18819. },
  18820. "bidvolume6": {
  18821. "description": "买量6",
  18822. "type": "integer"
  18823. },
  18824. "bidvolume7": {
  18825. "description": "买量7",
  18826. "type": "integer"
  18827. },
  18828. "bidvolume8": {
  18829. "description": "买量8",
  18830. "type": "integer"
  18831. },
  18832. "bidvolume9": {
  18833. "description": "买量9",
  18834. "type": "integer"
  18835. },
  18836. "calloptionpremiums": {
  18837. "description": "认购期权1",
  18838. "type": "integer"
  18839. },
  18840. "calloptionpremiums2": {
  18841. "description": "认购期权2",
  18842. "type": "integer"
  18843. },
  18844. "calloptionpremiums3": {
  18845. "description": "认购期权3",
  18846. "type": "integer"
  18847. },
  18848. "calloptionpremiums4": {
  18849. "description": "认购期权4",
  18850. "type": "integer"
  18851. },
  18852. "calloptionpremiums5": {
  18853. "description": "认购期权5",
  18854. "type": "integer"
  18855. },
  18856. "cleartime": {
  18857. "description": "清盘时间",
  18858. "type": "integer"
  18859. },
  18860. "exchangecode": {
  18861. "description": "交易所代码",
  18862. "type": "integer"
  18863. },
  18864. "exchangedate": {
  18865. "description": "交易日",
  18866. "type": "integer"
  18867. },
  18868. "goodscode": {
  18869. "description": "商品代码",
  18870. "type": "string"
  18871. },
  18872. "grepmarketprice": {
  18873. "description": "暗盘价 港股专用",
  18874. "type": "number"
  18875. },
  18876. "highest": {
  18877. "description": "最高价",
  18878. "type": "number"
  18879. },
  18880. "holdincrement": {
  18881. "description": "单笔持仓",
  18882. "type": "integer"
  18883. },
  18884. "holdvolume": {
  18885. "description": "持仓",
  18886. "type": "integer"
  18887. },
  18888. "iep": {
  18889. "description": "平衡价 港股专用",
  18890. "type": "number"
  18891. },
  18892. "iev": {
  18893. "description": "平衡量 港股专用",
  18894. "type": "number"
  18895. },
  18896. "inventory": {
  18897. "description": "库存",
  18898. "type": "integer"
  18899. },
  18900. "iscleared": {
  18901. "description": "是否清盘标志",
  18902. "type": "integer"
  18903. },
  18904. "issettled": {
  18905. "description": "是否结算标志",
  18906. "type": "integer"
  18907. },
  18908. "last": {
  18909. "description": "最新价",
  18910. "type": "number"
  18911. },
  18912. "lastlot": {
  18913. "description": "最新成交手数",
  18914. "type": "integer"
  18915. },
  18916. "lasttime": {
  18917. "description": "行情时间(只有现价变化行情时间才变化)",
  18918. "type": "string"
  18919. },
  18920. "lastturnover": {
  18921. "description": "最新成交金额",
  18922. "type": "number"
  18923. },
  18924. "lastvolume": {
  18925. "description": "最新成交量",
  18926. "type": "integer"
  18927. },
  18928. "limitdown": {
  18929. "description": "跌停价",
  18930. "type": "number"
  18931. },
  18932. "limitup": {
  18933. "description": "涨停价",
  18934. "type": "number"
  18935. },
  18936. "lowest": {
  18937. "description": "最低价",
  18938. "type": "number"
  18939. },
  18940. "nontotalholdervolume": {
  18941. "description": "非交易持仓量",
  18942. "type": "integer"
  18943. },
  18944. "nontotallot": {
  18945. "description": "非交易总手数",
  18946. "type": "integer"
  18947. },
  18948. "nontotalturnover": {
  18949. "description": "非交易总金额",
  18950. "type": "integer"
  18951. },
  18952. "nontotalvolume": {
  18953. "description": "非交易总量",
  18954. "type": "integer"
  18955. },
  18956. "opened": {
  18957. "description": "开盘价",
  18958. "type": "number"
  18959. },
  18960. "opentime": {
  18961. "description": "开盘时间",
  18962. "type": "string"
  18963. },
  18964. "orderid": {
  18965. "description": "序号",
  18966. "type": "integer"
  18967. },
  18968. "preclose": {
  18969. "description": "昨收",
  18970. "type": "number"
  18971. },
  18972. "preholdvolume": {
  18973. "description": "昨持仓",
  18974. "type": "integer"
  18975. },
  18976. "presettle": {
  18977. "description": "昨结价",
  18978. "type": "number"
  18979. },
  18980. "publictradetype": {
  18981. "description": "公共交易标志类型 港股专用",
  18982. "type": "string"
  18983. },
  18984. "putoptionpremiums": {
  18985. "description": "认沽期权1",
  18986. "type": "integer"
  18987. },
  18988. "putoptionpremiums2": {
  18989. "description": "认沽期权2",
  18990. "type": "integer"
  18991. },
  18992. "putoptionpremiums3": {
  18993. "description": "认沽期权3",
  18994. "type": "integer"
  18995. },
  18996. "putoptionpremiums4": {
  18997. "description": "认沽期权4",
  18998. "type": "integer"
  18999. },
  19000. "putoptionpremiums5": {
  19001. "description": "认沽期权5",
  19002. "type": "integer"
  19003. },
  19004. "settle": {
  19005. "description": "结算价",
  19006. "type": "number"
  19007. },
  19008. "strikeprice": {
  19009. "description": "发行价",
  19010. "type": "number"
  19011. },
  19012. "totalaskvolume": {
  19013. "description": "内盘",
  19014. "type": "integer"
  19015. },
  19016. "totalbidvolume": {
  19017. "description": "外盘",
  19018. "type": "integer"
  19019. },
  19020. "totallot": {
  19021. "description": "总手数",
  19022. "type": "integer"
  19023. },
  19024. "totalturnover": {
  19025. "description": "总金额",
  19026. "type": "number"
  19027. },
  19028. "totalvolume": {
  19029. "description": "总量",
  19030. "type": "integer"
  19031. },
  19032. "utclasttime": {
  19033. "description": "utc的行情时间",
  19034. "type": "string"
  19035. }
  19036. }
  19037. },
  19038. "quote.QueryTSDataRsp": {
  19039. "type": "object",
  19040. "properties": {
  19041. "decimalPlace": {
  19042. "description": "小数位",
  19043. "type": "integer"
  19044. },
  19045. "endTime": {
  19046. "description": "结束时间",
  19047. "type": "string"
  19048. },
  19049. "goodsCode": {
  19050. "description": "商品代码",
  19051. "type": "string"
  19052. },
  19053. "historyDatas": {
  19054. "description": "历史数据",
  19055. "type": "array",
  19056. "items": {
  19057. "$ref": "#/definitions/quote.HistoryData"
  19058. }
  19059. },
  19060. "outGoodsCode": {
  19061. "description": "外部商品代码",
  19062. "type": "string"
  19063. },
  19064. "preSettle": {
  19065. "description": "昨结",
  19066. "type": "number"
  19067. },
  19068. "startTime": {
  19069. "description": "开始时间",
  19070. "type": "string"
  19071. },
  19072. "tradeDate": {
  19073. "description": "交易日",
  19074. "type": "string"
  19075. }
  19076. }
  19077. },
  19078. "szdz.QueryConvertLogRsp": {
  19079. "type": "object",
  19080. "required": [
  19081. "logid"
  19082. ],
  19083. "properties": {
  19084. "accountid": {
  19085. "description": "资金账户ID",
  19086. "type": "integer"
  19087. },
  19088. "clientticket": {
  19089. "description": "客户端流水号",
  19090. "type": "string"
  19091. },
  19092. "converttype": {
  19093. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  19094. "type": "integer"
  19095. },
  19096. "createtime": {
  19097. "description": "记账时间",
  19098. "type": "string"
  19099. },
  19100. "daymaxvalue": {
  19101. "description": "配置当日最大转入限制",
  19102. "type": "number"
  19103. },
  19104. "daymaxvalue2": {
  19105. "description": "配置当日最大转入限制(转入)",
  19106. "type": "number"
  19107. },
  19108. "goodscode": {
  19109. "description": "商品代码",
  19110. "type": "string"
  19111. },
  19112. "goodsname": {
  19113. "description": "商品名称",
  19114. "type": "string"
  19115. },
  19116. "handlestatus": {
  19117. "description": "处理状态",
  19118. "type": "integer"
  19119. },
  19120. "innergoodsid": {
  19121. "description": "内部商品ID",
  19122. "type": "integer"
  19123. },
  19124. "inratio": {
  19125. "description": "配置转入比值",
  19126. "type": "integer"
  19127. },
  19128. "invalue": {
  19129. "description": "目标值",
  19130. "type": "number"
  19131. },
  19132. "logid": {
  19133. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19134. "type": "integer"
  19135. },
  19136. "mobile": {
  19137. "description": "手机号码(加密存储)",
  19138. "type": "string"
  19139. },
  19140. "outergoodscode": {
  19141. "description": "外部商品代码[JD\\PD]",
  19142. "type": "string"
  19143. },
  19144. "outratio": {
  19145. "description": "配置转出比值",
  19146. "type": "integer"
  19147. },
  19148. "outvalue": {
  19149. "description": "源值",
  19150. "type": "number"
  19151. },
  19152. "pddecimalplace": {
  19153. "description": "PD小数位",
  19154. "type": "integer"
  19155. },
  19156. "qty": {
  19157. "description": "数量",
  19158. "type": "string"
  19159. },
  19160. "remark": {
  19161. "description": "备注",
  19162. "type": "string"
  19163. },
  19164. "sessionid": {
  19165. "description": "会话ID",
  19166. "type": "integer"
  19167. },
  19168. "timemaxvalue": {
  19169. "description": "配置单次最大转入限制",
  19170. "type": "number"
  19171. },
  19172. "timemaxvalue2": {
  19173. "description": "配置单次最大转入限制(转入)",
  19174. "type": "number"
  19175. },
  19176. "timeminvalue": {
  19177. "description": "配置单次最小数量限制",
  19178. "type": "number"
  19179. },
  19180. "timeminvalue2": {
  19181. "description": "配置单次最小数量限制(转入)",
  19182. "type": "number"
  19183. },
  19184. "tradedate": {
  19185. "description": "交易日(yyyyMMdd)",
  19186. "type": "string"
  19187. },
  19188. "userid": {
  19189. "description": "用户ID",
  19190. "type": "integer"
  19191. }
  19192. }
  19193. },
  19194. "szdz.QueryGoodsPickupRsp": {
  19195. "type": "object",
  19196. "required": [
  19197. "takeorderid"
  19198. ],
  19199. "properties": {
  19200. "accountid": {
  19201. "description": "账户ID",
  19202. "type": "integer"
  19203. },
  19204. "address": {
  19205. "description": "提货人详细地址",
  19206. "type": "string"
  19207. },
  19208. "auditer": {
  19209. "description": "审核人",
  19210. "type": "integer"
  19211. },
  19212. "audittime": {
  19213. "description": "审核时间",
  19214. "type": "string"
  19215. },
  19216. "cardnum": {
  19217. "description": "提货人证件号码",
  19218. "type": "string"
  19219. },
  19220. "cardtypeid": {
  19221. "description": "提货人证件类型",
  19222. "type": "integer"
  19223. },
  19224. "checkremark": {
  19225. "description": "审核备注",
  19226. "type": "string"
  19227. },
  19228. "goodscode": {
  19229. "description": "商品代码",
  19230. "type": "string"
  19231. },
  19232. "goodsid": {
  19233. "description": "商品ID",
  19234. "type": "integer"
  19235. },
  19236. "goodsname": {
  19237. "description": "商品名称",
  19238. "type": "string"
  19239. },
  19240. "handlestatus": {
  19241. "description": "处理状态",
  19242. "type": "integer"
  19243. },
  19244. "marketid": {
  19245. "description": "市场ID",
  19246. "type": "integer"
  19247. },
  19248. "phonenum": {
  19249. "description": "提货人联系方式",
  19250. "type": "string"
  19251. },
  19252. "qty": {
  19253. "description": "提货数量",
  19254. "type": "number"
  19255. },
  19256. "recivername": {
  19257. "description": "提货人姓名",
  19258. "type": "string"
  19259. },
  19260. "reqtime": {
  19261. "description": "更新时间",
  19262. "type": "string"
  19263. },
  19264. "takemode": {
  19265. "description": "提货方式 - 2:自提 3:配送",
  19266. "type": "integer"
  19267. },
  19268. "takeorderid": {
  19269. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  19270. "type": "string"
  19271. },
  19272. "takeorderstatus": {
  19273. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  19274. "type": "integer"
  19275. },
  19276. "takeremark": {
  19277. "description": "提货备注",
  19278. "type": "string"
  19279. },
  19280. "tradedate": {
  19281. "description": "交易日(yyyyMMdd)",
  19282. "type": "string"
  19283. },
  19284. "userid": {
  19285. "description": "用户ID",
  19286. "type": "integer"
  19287. }
  19288. }
  19289. },
  19290. "szdz.QueryRecieptOrderRsp": {
  19291. "type": "object",
  19292. "required": [
  19293. "ordertime"
  19294. ],
  19295. "properties": {
  19296. "accountName": {
  19297. "description": "所属账号名称(已脱敏)",
  19298. "type": "string"
  19299. },
  19300. "accountid": {
  19301. "description": "资金账号",
  19302. "type": "integer"
  19303. },
  19304. "buyorsell": {
  19305. "description": "方向 - 0:买 1:卖",
  19306. "type": "integer"
  19307. },
  19308. "enableqty": {
  19309. "description": "可摘数量",
  19310. "type": "integer"
  19311. },
  19312. "goodscode": {
  19313. "description": "商品代码",
  19314. "type": "string"
  19315. },
  19316. "goodsid": {
  19317. "description": "商品ID",
  19318. "type": "integer"
  19319. },
  19320. "goodsname": {
  19321. "description": "商品名称",
  19322. "type": "string"
  19323. },
  19324. "orderid": {
  19325. "description": "委托单号",
  19326. "type": "string"
  19327. },
  19328. "orderprice": {
  19329. "description": "委托价格",
  19330. "type": "number"
  19331. },
  19332. "ordertime": {
  19333. "description": "委托时间",
  19334. "type": "string"
  19335. },
  19336. "tradedate": {
  19337. "description": "交易日(yyyyMMdd)",
  19338. "type": "string"
  19339. }
  19340. }
  19341. },
  19342. "szdz.QuerySZDZTradePositionRsp": {
  19343. "type": "object",
  19344. "properties": {
  19345. "accountid": {
  19346. "description": "账号Id",
  19347. "type": "integer"
  19348. },
  19349. "agreeunit": {
  19350. "description": "合约单位",
  19351. "type": "number"
  19352. },
  19353. "averageprice": {
  19354. "description": "持仓均价",
  19355. "type": "number"
  19356. },
  19357. "buyorsell": {
  19358. "description": "方向 - 0:买 1:卖",
  19359. "type": "integer"
  19360. },
  19361. "closetotalqty": {
  19362. "description": "平仓总数量",
  19363. "type": "integer"
  19364. },
  19365. "curholderamount": {
  19366. "description": "当前持仓总金额",
  19367. "type": "number"
  19368. },
  19369. "curpositionqty": {
  19370. "description": "当前持仓总数量",
  19371. "type": "integer"
  19372. },
  19373. "currencyid": {
  19374. "description": "报价货币ID",
  19375. "type": "integer"
  19376. },
  19377. "curtdposition": {
  19378. "description": "期末今日头寸",
  19379. "type": "integer"
  19380. },
  19381. "decimalplace": {
  19382. "description": "报价小数位",
  19383. "type": "integer"
  19384. },
  19385. "enableqty": {
  19386. "description": "可用量",
  19387. "type": "integer"
  19388. },
  19389. "fretdposition": {
  19390. "description": "冻结今日头寸",
  19391. "type": "integer"
  19392. },
  19393. "frozenqty": {
  19394. "description": "持仓冻结数量",
  19395. "type": "integer"
  19396. },
  19397. "goodscode": {
  19398. "description": "商品代码(内部)",
  19399. "type": "string"
  19400. },
  19401. "goodsid": {
  19402. "description": "商品Id",
  19403. "type": "integer"
  19404. },
  19405. "goodsname": {
  19406. "description": "商品名称",
  19407. "type": "string"
  19408. },
  19409. "goodunit": {
  19410. "description": "报价单位",
  19411. "type": "string"
  19412. },
  19413. "goodunitid": {
  19414. "description": "报价单位ID",
  19415. "type": "integer"
  19416. },
  19417. "holderamount": {
  19418. "description": "期初持仓总金额",
  19419. "type": "number"
  19420. },
  19421. "marketid": {
  19422. "description": "市场ID",
  19423. "type": "integer"
  19424. },
  19425. "openreqqty": {
  19426. "description": "开仓申请数量",
  19427. "type": "integer"
  19428. },
  19429. "opentotalqty": {
  19430. "description": "开仓总数量",
  19431. "type": "integer"
  19432. },
  19433. "otherfrozenqty": {
  19434. "description": "持仓其他冻结数量(交割冻结)",
  19435. "type": "integer"
  19436. },
  19437. "positionqty": {
  19438. "description": "期初持仓数量",
  19439. "type": "integer"
  19440. },
  19441. "szdz3freezqty": {
  19442. "description": "尚志大宗转换冻结总数量",
  19443. "type": "integer"
  19444. },
  19445. "tnqty": {
  19446. "description": "T+N冻结总量",
  19447. "type": "integer"
  19448. },
  19449. "tnusedqty": {
  19450. "description": "T+N使用量",
  19451. "type": "integer"
  19452. },
  19453. "trademode": {
  19454. "description": "交易模式",
  19455. "type": "integer"
  19456. },
  19457. "usedmargin": {
  19458. "description": "占用保证金",
  19459. "type": "number"
  19460. }
  19461. }
  19462. },
  19463. "taaccount.QueryAmountLogRsp": {
  19464. "type": "object",
  19465. "required": [
  19466. "accountid",
  19467. "amount",
  19468. "amountadjusttype",
  19469. "autoid",
  19470. "balance",
  19471. "createtime",
  19472. "currentbalance",
  19473. "operatetype"
  19474. ],
  19475. "properties": {
  19476. "OPERATETYPENAME": {
  19477. "description": "资金操作类型名称",
  19478. "type": "string"
  19479. },
  19480. "accountid": {
  19481. "description": "资金账户ID",
  19482. "type": "integer"
  19483. },
  19484. "agoodscode": {
  19485. "description": "竞拍商品代码",
  19486. "type": "string"
  19487. },
  19488. "agoodsname": {
  19489. "description": "竞拍商品名称",
  19490. "type": "string"
  19491. },
  19492. "amount": {
  19493. "description": "资金金额",
  19494. "type": "number"
  19495. },
  19496. "amountadjusttype": {
  19497. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  19498. "type": "integer"
  19499. },
  19500. "autoid": {
  19501. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  19502. "type": "integer"
  19503. },
  19504. "balance": {
  19505. "description": "期初余额",
  19506. "type": "number"
  19507. },
  19508. "businesscode": {
  19509. "description": "业务编号",
  19510. "type": "integer"
  19511. },
  19512. "createtime": {
  19513. "description": "发生时间",
  19514. "type": "string"
  19515. },
  19516. "currencyid": {
  19517. "description": "币种ID",
  19518. "type": "integer"
  19519. },
  19520. "currentbalance": {
  19521. "description": "期末余额(变动后金额)",
  19522. "type": "number"
  19523. },
  19524. "dgoodscode": {
  19525. "description": "交割商品代码",
  19526. "type": "string"
  19527. },
  19528. "dgoodsname": {
  19529. "description": "交割商品名称",
  19530. "type": "string"
  19531. },
  19532. "goodscode": {
  19533. "description": "商品代码",
  19534. "type": "string"
  19535. },
  19536. "goodsid": {
  19537. "description": "商品ID",
  19538. "type": "integer"
  19539. },
  19540. "goodsname": {
  19541. "description": "商品名称",
  19542. "type": "string"
  19543. },
  19544. "marketid": {
  19545. "description": "市场ID",
  19546. "type": "integer"
  19547. },
  19548. "marketname": {
  19549. "description": "市场名称",
  19550. "type": "string"
  19551. },
  19552. "moneyticket": {
  19553. "description": "资金流水号:银行端流水号",
  19554. "type": "integer"
  19555. },
  19556. "operatetype": {
  19557. "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:营销收款",
  19558. "type": "integer"
  19559. },
  19560. "relationorderid": {
  19561. "description": "关联单号",
  19562. "type": "string"
  19563. },
  19564. "remark": {
  19565. "description": "备注",
  19566. "type": "string"
  19567. },
  19568. "trademode": {
  19569. "description": "交易模式",
  19570. "type": "integer"
  19571. }
  19572. }
  19573. },
  19574. "taaccount.QueryHisAmountLogRsp": {
  19575. "type": "object",
  19576. "required": [
  19577. "accountid",
  19578. "amount",
  19579. "amountadjusttype",
  19580. "autoid",
  19581. "balance",
  19582. "createtime",
  19583. "currentbalance",
  19584. "histradedate",
  19585. "operatetype"
  19586. ],
  19587. "properties": {
  19588. "OPERATETYPENAME": {
  19589. "description": "资金操作类型名称",
  19590. "type": "string"
  19591. },
  19592. "accountid": {
  19593. "description": "资金账户ID",
  19594. "type": "integer"
  19595. },
  19596. "agoodscode": {
  19597. "description": "竞拍商品代码",
  19598. "type": "string"
  19599. },
  19600. "agoodsname": {
  19601. "description": "竞拍商品名称",
  19602. "type": "string"
  19603. },
  19604. "amount": {
  19605. "description": "资金金额",
  19606. "type": "number"
  19607. },
  19608. "amountadjusttype": {
  19609. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  19610. "type": "integer"
  19611. },
  19612. "autoid": {
  19613. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  19614. "type": "integer"
  19615. },
  19616. "balance": {
  19617. "description": "期初余额",
  19618. "type": "number"
  19619. },
  19620. "businesscode": {
  19621. "description": "业务编号",
  19622. "type": "integer"
  19623. },
  19624. "createtime": {
  19625. "description": "发生时间",
  19626. "type": "string"
  19627. },
  19628. "currencyid": {
  19629. "description": "币种ID",
  19630. "type": "integer"
  19631. },
  19632. "currentbalance": {
  19633. "description": "期末余额(变动后金额)",
  19634. "type": "number"
  19635. },
  19636. "dgoodscode": {
  19637. "description": "交割商品代码",
  19638. "type": "string"
  19639. },
  19640. "dgoodsname": {
  19641. "description": "交割商品名称",
  19642. "type": "string"
  19643. },
  19644. "goodscode": {
  19645. "description": "商品代码",
  19646. "type": "string"
  19647. },
  19648. "goodsid": {
  19649. "description": "商品ID",
  19650. "type": "integer"
  19651. },
  19652. "goodsname": {
  19653. "description": "商品名称",
  19654. "type": "string"
  19655. },
  19656. "histradedate": {
  19657. "description": "历史交易日",
  19658. "type": "string"
  19659. },
  19660. "isvaliddata": {
  19661. "description": "是否有效 - 0:无效 1:有效",
  19662. "type": "integer"
  19663. },
  19664. "marketid": {
  19665. "description": "市场ID",
  19666. "type": "integer"
  19667. },
  19668. "marketname": {
  19669. "description": "市场名称",
  19670. "type": "string"
  19671. },
  19672. "moneyticket": {
  19673. "description": "资金流水号:银行端流水号",
  19674. "type": "integer"
  19675. },
  19676. "operatetype": {
  19677. "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:营销收款",
  19678. "type": "integer"
  19679. },
  19680. "relationorderid": {
  19681. "description": "关联单号",
  19682. "type": "string"
  19683. },
  19684. "remark": {
  19685. "description": "备注",
  19686. "type": "string"
  19687. },
  19688. "trademode": {
  19689. "description": "交易模式",
  19690. "type": "integer"
  19691. }
  19692. }
  19693. },
  19694. "trade.QueryRecieptOrderRsp": {
  19695. "type": "object",
  19696. "required": [
  19697. "ordertime"
  19698. ],
  19699. "properties": {
  19700. "accountName": {
  19701. "description": "所属账号名称(已脱敏)",
  19702. "type": "string"
  19703. },
  19704. "accountid": {
  19705. "description": "资金账号",
  19706. "type": "integer"
  19707. },
  19708. "buyorsell": {
  19709. "description": "方向 - 0:买 1:卖",
  19710. "type": "integer"
  19711. },
  19712. "enableqty": {
  19713. "description": "可摘数量",
  19714. "type": "integer"
  19715. },
  19716. "goodscode": {
  19717. "description": "商品代码",
  19718. "type": "string"
  19719. },
  19720. "goodsid": {
  19721. "description": "商品ID",
  19722. "type": "integer"
  19723. },
  19724. "goodsname": {
  19725. "description": "商品名称",
  19726. "type": "string"
  19727. },
  19728. "orderid": {
  19729. "description": "委托单号",
  19730. "type": "string"
  19731. },
  19732. "orderprice": {
  19733. "description": "委托价格",
  19734. "type": "number"
  19735. },
  19736. "ordertime": {
  19737. "description": "委托时间",
  19738. "type": "string"
  19739. },
  19740. "tradedate": {
  19741. "description": "交易日(yyyyMMdd)",
  19742. "type": "string"
  19743. }
  19744. }
  19745. },
  19746. "user.LoginQueryRsp": {
  19747. "type": "object",
  19748. "properties": {
  19749. "externalExchanges": {
  19750. "description": "外部交易所",
  19751. "type": "array",
  19752. "items": {
  19753. "$ref": "#/definitions/models.Externalexchange"
  19754. }
  19755. },
  19756. "goodsgroups": {
  19757. "description": "商品组",
  19758. "type": "array",
  19759. "items": {
  19760. "$ref": "#/definitions/models.Goodsgroup"
  19761. }
  19762. },
  19763. "loginAccount": {
  19764. "description": "登录账号",
  19765. "type": "object",
  19766. "$ref": "#/definitions/models.Loginaccount"
  19767. },
  19768. "markets": {
  19769. "description": "市场",
  19770. "type": "array",
  19771. "items": {
  19772. "$ref": "#/definitions/models.Market"
  19773. }
  19774. },
  19775. "systemParams": {
  19776. "description": "系统参数",
  19777. "type": "array",
  19778. "items": {
  19779. "$ref": "#/definitions/models.Systemparam"
  19780. }
  19781. },
  19782. "userAccount": {
  19783. "description": "用户账号",
  19784. "type": "object",
  19785. "$ref": "#/definitions/models.Useraccount"
  19786. },
  19787. "userInfo": {
  19788. "description": "用户信息",
  19789. "type": "object",
  19790. "$ref": "#/definitions/models.Userinfo"
  19791. },
  19792. "username": {
  19793. "description": "用户姓名",
  19794. "type": "string"
  19795. }
  19796. }
  19797. }
  19798. },
  19799. "securityDefinitions": {
  19800. "ApiKeyAuth": {
  19801. "type": "apiKey",
  19802. "name": "Authorization",
  19803. "in": "header"
  19804. }
  19805. }
  19806. }`
  19807. type swaggerInfo struct {
  19808. Version string
  19809. Host string
  19810. BasePath string
  19811. Schemes []string
  19812. Title string
  19813. Description string
  19814. }
  19815. // SwaggerInfo holds exported Swagger Info so clients can modify it
  19816. var SwaggerInfo = swaggerInfo{
  19817. Version: "1.0",
  19818. Host: "",
  19819. BasePath: "/api",
  19820. Schemes: []string{},
  19821. Title: "MTP2.0 查询服务 API",
  19822. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  19823. }
  19824. type s struct{}
  19825. func (s *s) ReadDoc() string {
  19826. sInfo := SwaggerInfo
  19827. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  19828. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  19829. "marshal": func(v interface{}) string {
  19830. a, _ := json.Marshal(v)
  19831. return string(a)
  19832. },
  19833. }).Parse(doc)
  19834. if err != nil {
  19835. return doc
  19836. }
  19837. var tpl bytes.Buffer
  19838. if err := t.Execute(&tpl, sInfo); err != nil {
  19839. return doc
  19840. }
  19841. return tpl.String()
  19842. }
  19843. func init() {
  19844. swag.Register(swag.Name, &s{})
  19845. }