docs.go 727 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231
  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. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetDivisions": {
  402. "get": {
  403. "produces": [
  404. "application/json"
  405. ],
  406. "tags": [
  407. "通用服务"
  408. ],
  409. "summary": "查询区域信息",
  410. "responses": {
  411. "200": {
  412. "description": "OK",
  413. "schema": {
  414. "$ref": "#/definitions/models.Division"
  415. }
  416. },
  417. "500": {
  418. "description": "Internal Server Error",
  419. "schema": {
  420. "$ref": "#/definitions/app.Response"
  421. }
  422. }
  423. }
  424. }
  425. },
  426. "/Common/GetServerTime": {
  427. "get": {
  428. "produces": [
  429. "application/json"
  430. ],
  431. "tags": [
  432. "通用服务"
  433. ],
  434. "summary": "获取服务器时间",
  435. "responses": {
  436. "200": {
  437. "description": "OK",
  438. "schema": {
  439. "$ref": "#/definitions/app.Response"
  440. }
  441. },
  442. "500": {
  443. "description": "Internal Server Error",
  444. "schema": {
  445. "$ref": "#/definitions/app.Response"
  446. }
  447. }
  448. }
  449. }
  450. },
  451. "/Common/NoticeReaded": {
  452. "post": {
  453. "security": [
  454. {
  455. "ApiKeyAuth": []
  456. }
  457. ],
  458. "produces": [
  459. "application/json"
  460. ],
  461. "tags": [
  462. "通用服务"
  463. ],
  464. "summary": "通知公告设置已读请求",
  465. "parameters": [
  466. {
  467. "type": "integer",
  468. "description": "登录账号",
  469. "name": "loginID",
  470. "in": "query",
  471. "required": true
  472. },
  473. {
  474. "type": "integer",
  475. "description": "通知公告ID",
  476. "name": "noticeID",
  477. "in": "query",
  478. "required": true
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/app.Response"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryErrorInfos": {
  498. "get": {
  499. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  500. "produces": [
  501. "application/json"
  502. ],
  503. "tags": [
  504. "通用服务"
  505. ],
  506. "summary": "获取数据库错误信息",
  507. "parameters": [
  508. {
  509. "type": "string",
  510. "description": "起始行号前索引",
  511. "name": "rowNumber",
  512. "in": "query"
  513. }
  514. ],
  515. "responses": {
  516. "200": {
  517. "description": "OK",
  518. "schema": {
  519. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  520. }
  521. },
  522. "500": {
  523. "description": "Internal Server Error",
  524. "schema": {
  525. "$ref": "#/definitions/app.Response"
  526. }
  527. }
  528. }
  529. }
  530. },
  531. "/Common/QueryImageConfigs": {
  532. "get": {
  533. "produces": [
  534. "application/json"
  535. ],
  536. "tags": [
  537. "通用服务"
  538. ],
  539. "summary": "查询轮播图配置信息",
  540. "parameters": [
  541. {
  542. "type": "integer",
  543. "description": "类型 - 1:App首页轮播 2:我的",
  544. "name": "imageType",
  545. "in": "query"
  546. }
  547. ],
  548. "responses": {
  549. "200": {
  550. "description": "OK",
  551. "schema": {
  552. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  553. }
  554. },
  555. "500": {
  556. "description": "Internal Server Error",
  557. "schema": {
  558. "$ref": "#/definitions/app.Response"
  559. }
  560. }
  561. }
  562. }
  563. },
  564. "/Common/QueryNotice": {
  565. "get": {
  566. "security": [
  567. {
  568. "ApiKeyAuth": []
  569. }
  570. ],
  571. "produces": [
  572. "application/json"
  573. ],
  574. "tags": [
  575. "通用服务"
  576. ],
  577. "summary": "通知公告系统消息查询",
  578. "parameters": [
  579. {
  580. "type": "integer",
  581. "description": "页码",
  582. "name": "page",
  583. "in": "query"
  584. },
  585. {
  586. "type": "integer",
  587. "description": "每页条数",
  588. "name": "pagesize",
  589. "in": "query"
  590. },
  591. {
  592. "type": "integer",
  593. "description": "登录账号",
  594. "name": "loginID",
  595. "in": "query",
  596. "required": true
  597. },
  598. {
  599. "type": "integer",
  600. "description": "消息类型 - 1:公告通知 2:系统消息",
  601. "name": "msgType",
  602. "in": "query"
  603. },
  604. {
  605. "type": "boolean",
  606. "description": "是否只获取未读信息",
  607. "name": "onlyUnRead",
  608. "in": "query"
  609. },
  610. {
  611. "type": "integer",
  612. "description": "自增ID,传入后会返回这个ID后面的记录",
  613. "name": "lastID",
  614. "in": "query"
  615. }
  616. ],
  617. "responses": {
  618. "200": {
  619. "description": "OK",
  620. "schema": {
  621. "$ref": "#/definitions/common.QueryNoticeRsp"
  622. }
  623. },
  624. "500": {
  625. "description": "Internal Server Error",
  626. "schema": {
  627. "$ref": "#/definitions/app.Response"
  628. }
  629. }
  630. }
  631. }
  632. },
  633. "/Common/QueryProvincesAndCities": {
  634. "get": {
  635. "produces": [
  636. "application/json"
  637. ],
  638. "tags": [
  639. "通用服务"
  640. ],
  641. "summary": "查询省市信息(不包括区)",
  642. "parameters": [
  643. {
  644. "type": "integer",
  645. "description": "省ID",
  646. "name": "provinceID",
  647. "in": "query"
  648. }
  649. ],
  650. "responses": {
  651. "200": {
  652. "description": "OK",
  653. "schema": {
  654. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  655. }
  656. },
  657. "500": {
  658. "description": "Internal Server Error",
  659. "schema": {
  660. "$ref": "#/definitions/app.Response"
  661. }
  662. }
  663. }
  664. }
  665. },
  666. "/Common/QueryTableDefine": {
  667. "get": {
  668. "produces": [
  669. "application/json"
  670. ],
  671. "tags": [
  672. "通用服务"
  673. ],
  674. "summary": "查询交易端列表头信息",
  675. "parameters": [
  676. {
  677. "type": "string",
  678. "description": "表key",
  679. "name": "tableKey",
  680. "in": "query"
  681. },
  682. {
  683. "type": "integer",
  684. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  685. "name": "tableType",
  686. "in": "query"
  687. }
  688. ],
  689. "responses": {
  690. "200": {
  691. "description": "OK",
  692. "schema": {
  693. "$ref": "#/definitions/common.QueryTableDefineRsp"
  694. }
  695. },
  696. "500": {
  697. "description": "Internal Server Error",
  698. "schema": {
  699. "$ref": "#/definitions/app.Response"
  700. }
  701. }
  702. }
  703. }
  704. },
  705. "/Common/QueryTraderMenu": {
  706. "get": {
  707. "produces": [
  708. "application/json"
  709. ],
  710. "tags": [
  711. "通用服务"
  712. ],
  713. "summary": "查询交易端菜单",
  714. "parameters": [
  715. {
  716. "type": "integer",
  717. "description": "登录账号",
  718. "name": "loginid",
  719. "in": "query",
  720. "required": true
  721. }
  722. ],
  723. "responses": {
  724. "200": {
  725. "description": "OK",
  726. "schema": {
  727. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  728. }
  729. },
  730. "500": {
  731. "description": "Internal Server Error",
  732. "schema": {
  733. "$ref": "#/definitions/app.Response"
  734. }
  735. }
  736. }
  737. }
  738. },
  739. "/Delivery/QueryDeliveryRelation": {
  740. "get": {
  741. "security": [
  742. {
  743. "ApiKeyAuth": []
  744. }
  745. ],
  746. "produces": [
  747. "application/json"
  748. ],
  749. "tags": [
  750. "交割服务"
  751. ],
  752. "summary": "查询商品交割关系表",
  753. "parameters": [
  754. {
  755. "type": "integer",
  756. "description": "商品ID",
  757. "name": "goodsid",
  758. "in": "query"
  759. },
  760. {
  761. "type": "integer",
  762. "description": "品种ID",
  763. "name": "deliverygoodsid",
  764. "in": "query"
  765. },
  766. {
  767. "type": "integer",
  768. "description": "市场ID",
  769. "name": "marketid",
  770. "in": "query"
  771. }
  772. ],
  773. "responses": {
  774. "200": {
  775. "description": "OK",
  776. "schema": {
  777. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  778. }
  779. },
  780. "500": {
  781. "description": "Internal Server Error",
  782. "schema": {
  783. "$ref": "#/definitions/app.Response"
  784. }
  785. }
  786. }
  787. }
  788. },
  789. "/Ermcp/GetErmcpGoods": {
  790. "get": {
  791. "security": [
  792. {
  793. "ApiKeyAuth": []
  794. }
  795. ],
  796. "produces": [
  797. "application/json"
  798. ],
  799. "tags": [
  800. "企业风险管理(app)"
  801. ],
  802. "summary": "查询企业风管期货商品信息",
  803. "parameters": [
  804. {
  805. "type": "string",
  806. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  807. "name": "lastUpdateTime",
  808. "in": "query"
  809. }
  810. ],
  811. "responses": {
  812. "200": {
  813. "description": "OK",
  814. "schema": {
  815. "$ref": "#/definitions/models.Goods"
  816. }
  817. },
  818. "500": {
  819. "description": "Internal Server Error",
  820. "schema": {
  821. "$ref": "#/definitions/app.Response"
  822. }
  823. }
  824. }
  825. }
  826. },
  827. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  828. "get": {
  829. "security": [
  830. {
  831. "ApiKeyAuth": []
  832. }
  833. ],
  834. "produces": [
  835. "application/json"
  836. ],
  837. "tags": [
  838. "企业风险管理(app)"
  839. ],
  840. "summary": "获取企业风管终端权限",
  841. "parameters": [
  842. {
  843. "type": "integer",
  844. "description": "登录账号",
  845. "name": "loginID",
  846. "in": "query",
  847. "required": true
  848. }
  849. ],
  850. "responses": {
  851. "200": {
  852. "description": "OK",
  853. "schema": {
  854. "$ref": "#/definitions/models.Funcmenulist"
  855. }
  856. },
  857. "500": {
  858. "description": "Internal Server Error",
  859. "schema": {
  860. "$ref": "#/definitions/app.Response"
  861. }
  862. }
  863. }
  864. }
  865. },
  866. "/Ermcp/QryReportDayExposure": {
  867. "get": {
  868. "security": [
  869. {
  870. "ApiKeyAuth": []
  871. }
  872. ],
  873. "produces": [
  874. "application/json"
  875. ],
  876. "tags": [
  877. "企业风险管理(app)"
  878. ],
  879. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  880. "parameters": [
  881. {
  882. "type": "integer",
  883. "description": "用户ID",
  884. "name": "userid",
  885. "in": "query",
  886. "required": true
  887. },
  888. {
  889. "type": "string",
  890. "description": "交易日(格式:yyyyMMdd)",
  891. "name": "tradedate",
  892. "in": "query",
  893. "required": true
  894. }
  895. ],
  896. "responses": {
  897. "200": {
  898. "description": "OK",
  899. "schema": {
  900. "type": "array",
  901. "items": {
  902. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  903. }
  904. }
  905. },
  906. "500": {
  907. "description": "Internal Server Error",
  908. "schema": {
  909. "$ref": "#/definitions/app.Response"
  910. }
  911. }
  912. }
  913. }
  914. },
  915. "/Ermcp/QryReportDayFinance": {
  916. "get": {
  917. "security": [
  918. {
  919. "ApiKeyAuth": []
  920. }
  921. ],
  922. "produces": [
  923. "application/json"
  924. ],
  925. "tags": [
  926. "企业风险管理(app)"
  927. ],
  928. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  929. "parameters": [
  930. {
  931. "type": "integer",
  932. "description": "用户ID",
  933. "name": "userid",
  934. "in": "query",
  935. "required": true
  936. },
  937. {
  938. "type": "string",
  939. "description": "交易日(格式:yyyyMMdd)",
  940. "name": "tradedate",
  941. "in": "query",
  942. "required": true
  943. }
  944. ],
  945. "responses": {
  946. "200": {
  947. "description": "OK",
  948. "schema": {
  949. "type": "array",
  950. "items": {
  951. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  952. }
  953. }
  954. },
  955. "500": {
  956. "description": "Internal Server Error",
  957. "schema": {
  958. "$ref": "#/definitions/app.Response"
  959. }
  960. }
  961. }
  962. }
  963. },
  964. "/Ermcp/QryReportDayFinanceFp": {
  965. "get": {
  966. "security": [
  967. {
  968. "ApiKeyAuth": []
  969. }
  970. ],
  971. "produces": [
  972. "application/json"
  973. ],
  974. "tags": [
  975. "企业风险管理(app)"
  976. ],
  977. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  978. "parameters": [
  979. {
  980. "type": "integer",
  981. "description": "用户ID",
  982. "name": "userid",
  983. "in": "query",
  984. "required": true
  985. },
  986. {
  987. "type": "string",
  988. "description": "交易日(格式:yyyyMMdd)",
  989. "name": "tradedate",
  990. "in": "query",
  991. "required": true
  992. }
  993. ],
  994. "responses": {
  995. "200": {
  996. "description": "OK",
  997. "schema": {
  998. "type": "array",
  999. "items": {
  1000. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1001. }
  1002. }
  1003. },
  1004. "500": {
  1005. "description": "Internal Server Error",
  1006. "schema": {
  1007. "$ref": "#/definitions/app.Response"
  1008. }
  1009. }
  1010. }
  1011. }
  1012. },
  1013. "/Ermcp/QryReportDayFinanceKx": {
  1014. "get": {
  1015. "security": [
  1016. {
  1017. "ApiKeyAuth": []
  1018. }
  1019. ],
  1020. "produces": [
  1021. "application/json"
  1022. ],
  1023. "tags": [
  1024. "企业风险管理(app)"
  1025. ],
  1026. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1027. "parameters": [
  1028. {
  1029. "type": "integer",
  1030. "description": "用户ID",
  1031. "name": "userid",
  1032. "in": "query",
  1033. "required": true
  1034. },
  1035. {
  1036. "type": "string",
  1037. "description": "交易日(格式:yyyyMMdd)",
  1038. "name": "tradedate",
  1039. "in": "query",
  1040. "required": true
  1041. }
  1042. ],
  1043. "responses": {
  1044. "200": {
  1045. "description": "OK",
  1046. "schema": {
  1047. "type": "array",
  1048. "items": {
  1049. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1050. }
  1051. }
  1052. },
  1053. "500": {
  1054. "description": "Internal Server Error",
  1055. "schema": {
  1056. "$ref": "#/definitions/app.Response"
  1057. }
  1058. }
  1059. }
  1060. }
  1061. },
  1062. "/Ermcp/QryReportDaySpot": {
  1063. "get": {
  1064. "security": [
  1065. {
  1066. "ApiKeyAuth": []
  1067. }
  1068. ],
  1069. "produces": [
  1070. "application/json"
  1071. ],
  1072. "tags": [
  1073. "企业风险管理(app)"
  1074. ],
  1075. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1076. "parameters": [
  1077. {
  1078. "type": "integer",
  1079. "description": "用户ID",
  1080. "name": "userid",
  1081. "in": "query",
  1082. "required": true
  1083. },
  1084. {
  1085. "type": "string",
  1086. "description": "交易日(格式:yyyyMMdd)",
  1087. "name": "tradedate",
  1088. "in": "query",
  1089. "required": true
  1090. }
  1091. ],
  1092. "responses": {
  1093. "200": {
  1094. "description": "OK",
  1095. "schema": {
  1096. "type": "array",
  1097. "items": {
  1098. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1099. }
  1100. }
  1101. },
  1102. "500": {
  1103. "description": "Internal Server Error",
  1104. "schema": {
  1105. "$ref": "#/definitions/app.Response"
  1106. }
  1107. }
  1108. }
  1109. }
  1110. },
  1111. "/Ermcp/QryReportDaySpotDetail": {
  1112. "get": {
  1113. "security": [
  1114. {
  1115. "ApiKeyAuth": []
  1116. }
  1117. ],
  1118. "produces": [
  1119. "application/json"
  1120. ],
  1121. "tags": [
  1122. "企业风险管理(app)"
  1123. ],
  1124. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1125. "parameters": [
  1126. {
  1127. "type": "integer",
  1128. "description": "用户ID",
  1129. "name": "userid",
  1130. "in": "query",
  1131. "required": true
  1132. },
  1133. {
  1134. "type": "integer",
  1135. "description": "现货商品id",
  1136. "name": "wrstandardid",
  1137. "in": "query",
  1138. "required": true
  1139. },
  1140. {
  1141. "type": "string",
  1142. "description": "交易日(格式:yyyyMMdd)",
  1143. "name": "tradedate",
  1144. "in": "query",
  1145. "required": true
  1146. }
  1147. ],
  1148. "responses": {
  1149. "200": {
  1150. "description": "OK",
  1151. "schema": {
  1152. "type": "array",
  1153. "items": {
  1154. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1155. }
  1156. }
  1157. },
  1158. "500": {
  1159. "description": "Internal Server Error",
  1160. "schema": {
  1161. "$ref": "#/definitions/app.Response"
  1162. }
  1163. }
  1164. }
  1165. }
  1166. },
  1167. "/Ermcp/QryReportMonthFinance": {
  1168. "get": {
  1169. "security": [
  1170. {
  1171. "ApiKeyAuth": []
  1172. }
  1173. ],
  1174. "produces": [
  1175. "application/json"
  1176. ],
  1177. "tags": [
  1178. "企业风险管理(app)"
  1179. ],
  1180. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1181. "parameters": [
  1182. {
  1183. "type": "integer",
  1184. "description": "用户ID",
  1185. "name": "userid",
  1186. "in": "query",
  1187. "required": true
  1188. },
  1189. {
  1190. "type": "string",
  1191. "description": "周期时间:月(格式:yyyyMM)",
  1192. "name": "cycletime",
  1193. "in": "query",
  1194. "required": true
  1195. }
  1196. ],
  1197. "responses": {
  1198. "200": {
  1199. "description": "OK",
  1200. "schema": {
  1201. "type": "array",
  1202. "items": {
  1203. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1204. }
  1205. }
  1206. },
  1207. "500": {
  1208. "description": "Internal Server Error",
  1209. "schema": {
  1210. "$ref": "#/definitions/app.Response"
  1211. }
  1212. }
  1213. }
  1214. }
  1215. },
  1216. "/Ermcp/QryReportMonthSpot": {
  1217. "get": {
  1218. "security": [
  1219. {
  1220. "ApiKeyAuth": []
  1221. }
  1222. ],
  1223. "produces": [
  1224. "application/json"
  1225. ],
  1226. "tags": [
  1227. "企业风险管理(app)"
  1228. ],
  1229. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1230. "parameters": [
  1231. {
  1232. "type": "integer",
  1233. "description": "用户ID",
  1234. "name": "userid",
  1235. "in": "query",
  1236. "required": true
  1237. },
  1238. {
  1239. "type": "string",
  1240. "description": "周期时间:月(格式:yyyyMM)",
  1241. "name": "cycletime",
  1242. "in": "query",
  1243. "required": true
  1244. }
  1245. ],
  1246. "responses": {
  1247. "200": {
  1248. "description": "OK",
  1249. "schema": {
  1250. "type": "array",
  1251. "items": {
  1252. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1253. }
  1254. }
  1255. },
  1256. "500": {
  1257. "description": "Internal Server Error",
  1258. "schema": {
  1259. "$ref": "#/definitions/app.Response"
  1260. }
  1261. }
  1262. }
  1263. }
  1264. },
  1265. "/Ermcp/QryReportMonthSpotDetail": {
  1266. "get": {
  1267. "security": [
  1268. {
  1269. "ApiKeyAuth": []
  1270. }
  1271. ],
  1272. "produces": [
  1273. "application/json"
  1274. ],
  1275. "tags": [
  1276. "企业风险管理(app)"
  1277. ],
  1278. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1279. "parameters": [
  1280. {
  1281. "type": "integer",
  1282. "description": "用户ID",
  1283. "name": "userid",
  1284. "in": "query",
  1285. "required": true
  1286. },
  1287. {
  1288. "type": "integer",
  1289. "description": "现货商品id",
  1290. "name": "wrstandardid",
  1291. "in": "query",
  1292. "required": true
  1293. },
  1294. {
  1295. "type": "string",
  1296. "description": "周期时间:月(格式:yyyyMM)",
  1297. "name": "cycletime",
  1298. "in": "query",
  1299. "required": true
  1300. }
  1301. ],
  1302. "responses": {
  1303. "200": {
  1304. "description": "OK",
  1305. "schema": {
  1306. "type": "array",
  1307. "items": {
  1308. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1309. }
  1310. }
  1311. },
  1312. "500": {
  1313. "description": "Internal Server Error",
  1314. "schema": {
  1315. "$ref": "#/definitions/app.Response"
  1316. }
  1317. }
  1318. }
  1319. }
  1320. },
  1321. "/Ermcp/QueryAreaStock": {
  1322. "get": {
  1323. "security": [
  1324. {
  1325. "ApiKeyAuth": []
  1326. }
  1327. ],
  1328. "produces": [
  1329. "application/json"
  1330. ],
  1331. "tags": [
  1332. "企业风险管理(app)"
  1333. ],
  1334. "summary": "查询机构库存(库存管理/当前库存)",
  1335. "parameters": [
  1336. {
  1337. "type": "integer",
  1338. "description": "用户ID",
  1339. "name": "userid",
  1340. "in": "query",
  1341. "required": true
  1342. }
  1343. ],
  1344. "responses": {
  1345. "200": {
  1346. "description": "OK",
  1347. "schema": {
  1348. "type": "array",
  1349. "items": {
  1350. "$ref": "#/definitions/models.ErmcpAreaStock"
  1351. }
  1352. }
  1353. },
  1354. "500": {
  1355. "description": "Internal Server Error",
  1356. "schema": {
  1357. "$ref": "#/definitions/app.Response"
  1358. }
  1359. }
  1360. }
  1361. }
  1362. },
  1363. "/Ermcp/QueryAreaStockApply": {
  1364. "get": {
  1365. "security": [
  1366. {
  1367. "ApiKeyAuth": []
  1368. }
  1369. ],
  1370. "produces": [
  1371. "application/json"
  1372. ],
  1373. "tags": [
  1374. "企业风险管理(app)"
  1375. ],
  1376. "summary": "查询库存申请(出入库记录|库存审核)",
  1377. "parameters": [
  1378. {
  1379. "type": "integer",
  1380. "description": "用户ID",
  1381. "name": "userid",
  1382. "in": "query",
  1383. "required": true
  1384. },
  1385. {
  1386. "type": "string",
  1387. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1388. "name": "inouttype",
  1389. "in": "query"
  1390. },
  1391. {
  1392. "type": "integer",
  1393. "description": "合同ID",
  1394. "name": "spotcontractid",
  1395. "in": "query"
  1396. },
  1397. {
  1398. "type": "integer",
  1399. "description": "现货商品ID",
  1400. "name": "wrstandardid",
  1401. "in": "query"
  1402. },
  1403. {
  1404. "type": "integer",
  1405. "description": "品牌ID",
  1406. "name": "spotgoodsbrandid",
  1407. "in": "query"
  1408. },
  1409. {
  1410. "type": "integer",
  1411. "description": "型号ID",
  1412. "name": "spotgoodsmodelid",
  1413. "in": "query"
  1414. },
  1415. {
  1416. "type": "integer",
  1417. "description": "仓库ID",
  1418. "name": "warehouseinfoid",
  1419. "in": "query"
  1420. },
  1421. {
  1422. "type": "string",
  1423. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1424. "name": "applystatus",
  1425. "in": "query"
  1426. }
  1427. ],
  1428. "responses": {
  1429. "200": {
  1430. "description": "OK",
  1431. "schema": {
  1432. "type": "array",
  1433. "items": {
  1434. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1435. }
  1436. }
  1437. },
  1438. "500": {
  1439. "description": "Internal Server Error",
  1440. "schema": {
  1441. "$ref": "#/definitions/app.Response"
  1442. }
  1443. }
  1444. }
  1445. }
  1446. },
  1447. "/Ermcp/QueryAreaStockApplySum": {
  1448. "get": {
  1449. "security": [
  1450. {
  1451. "ApiKeyAuth": []
  1452. }
  1453. ],
  1454. "produces": [
  1455. "application/json"
  1456. ],
  1457. "tags": [
  1458. "企业风险管理(app)"
  1459. ],
  1460. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1461. "parameters": [
  1462. {
  1463. "type": "integer",
  1464. "description": "合同ID",
  1465. "name": "spotcontractid",
  1466. "in": "query"
  1467. }
  1468. ],
  1469. "responses": {
  1470. "200": {
  1471. "description": "OK",
  1472. "schema": {
  1473. "type": "array",
  1474. "items": {
  1475. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1476. }
  1477. }
  1478. },
  1479. "500": {
  1480. "description": "Internal Server Error",
  1481. "schema": {
  1482. "$ref": "#/definitions/app.Response"
  1483. }
  1484. }
  1485. }
  1486. }
  1487. },
  1488. "/Ermcp/QueryAreaStockReport": {
  1489. "get": {
  1490. "security": [
  1491. {
  1492. "ApiKeyAuth": []
  1493. }
  1494. ],
  1495. "produces": [
  1496. "application/json"
  1497. ],
  1498. "tags": [
  1499. "企业风险管理(app)"
  1500. ],
  1501. "summary": "查询库存报表",
  1502. "parameters": [
  1503. {
  1504. "type": "integer",
  1505. "description": "用户ID",
  1506. "name": "userid",
  1507. "in": "query",
  1508. "required": true
  1509. },
  1510. {
  1511. "type": "integer",
  1512. "description": "查询类型 1-日报表 2-月报表",
  1513. "name": "querytype",
  1514. "in": "query",
  1515. "required": true
  1516. },
  1517. {
  1518. "type": "string",
  1519. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1520. "name": "querydate",
  1521. "in": "query",
  1522. "required": true
  1523. },
  1524. {
  1525. "type": "integer",
  1526. "description": "现货商品ID",
  1527. "name": "wrstandardid",
  1528. "in": "query"
  1529. },
  1530. {
  1531. "type": "integer",
  1532. "description": "品牌ID",
  1533. "name": "spotgoodsbrandid",
  1534. "in": "query"
  1535. },
  1536. {
  1537. "type": "integer",
  1538. "description": "型号ID",
  1539. "name": "spotgoodsmodelid",
  1540. "in": "query"
  1541. },
  1542. {
  1543. "type": "integer",
  1544. "description": "仓库ID",
  1545. "name": "warehouseinfoid",
  1546. "in": "query"
  1547. }
  1548. ],
  1549. "responses": {
  1550. "200": {
  1551. "description": "OK",
  1552. "schema": {
  1553. "type": "array",
  1554. "items": {
  1555. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  1556. }
  1557. }
  1558. },
  1559. "500": {
  1560. "description": "Internal Server Error",
  1561. "schema": {
  1562. "$ref": "#/definitions/app.Response"
  1563. }
  1564. }
  1565. }
  1566. }
  1567. },
  1568. "/Ermcp/QueryAreaStockReportDetail": {
  1569. "get": {
  1570. "security": [
  1571. {
  1572. "ApiKeyAuth": []
  1573. }
  1574. ],
  1575. "produces": [
  1576. "application/json"
  1577. ],
  1578. "tags": [
  1579. "企业风险管理(app)"
  1580. ],
  1581. "summary": "查询库存报表明细",
  1582. "parameters": [
  1583. {
  1584. "type": "integer",
  1585. "description": "用户ID",
  1586. "name": "userid",
  1587. "in": "query",
  1588. "required": true
  1589. },
  1590. {
  1591. "type": "integer",
  1592. "description": "查询类型 1-日报表明细 2-月报表明细",
  1593. "name": "querytype",
  1594. "in": "query",
  1595. "required": true
  1596. },
  1597. {
  1598. "type": "integer",
  1599. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  1600. "name": "detailtype",
  1601. "in": "query",
  1602. "required": true
  1603. },
  1604. {
  1605. "type": "string",
  1606. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1607. "name": "querydate",
  1608. "in": "query",
  1609. "required": true
  1610. },
  1611. {
  1612. "type": "integer",
  1613. "description": "现货商品ID",
  1614. "name": "wrstandardid",
  1615. "in": "query"
  1616. },
  1617. {
  1618. "type": "integer",
  1619. "description": "品牌ID",
  1620. "name": "spotgoodsbrandid",
  1621. "in": "query"
  1622. },
  1623. {
  1624. "type": "integer",
  1625. "description": "型号ID",
  1626. "name": "spotgoodsmodelid",
  1627. "in": "query"
  1628. },
  1629. {
  1630. "type": "integer",
  1631. "description": "仓库ID",
  1632. "name": "warehouseinfoid",
  1633. "in": "query"
  1634. }
  1635. ],
  1636. "responses": {
  1637. "200": {
  1638. "description": "OK",
  1639. "schema": {
  1640. "type": "array",
  1641. "items": {
  1642. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  1643. }
  1644. }
  1645. },
  1646. "500": {
  1647. "description": "Internal Server Error",
  1648. "schema": {
  1649. "$ref": "#/definitions/app.Response"
  1650. }
  1651. }
  1652. }
  1653. }
  1654. },
  1655. "/Ermcp/QueryAvaildGoodsGroup": {
  1656. "get": {
  1657. "security": [
  1658. {
  1659. "ApiKeyAuth": []
  1660. }
  1661. ],
  1662. "produces": [
  1663. "application/json"
  1664. ],
  1665. "tags": [
  1666. "企业风险管理(app)"
  1667. ],
  1668. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1669. "parameters": [
  1670. {
  1671. "type": "integer",
  1672. "description": "所属机构ID",
  1673. "name": "userid",
  1674. "in": "query",
  1675. "required": true
  1676. }
  1677. ],
  1678. "responses": {
  1679. "200": {
  1680. "description": "OK",
  1681. "schema": {
  1682. "type": "array",
  1683. "items": {
  1684. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1685. }
  1686. }
  1687. },
  1688. "500": {
  1689. "description": "Internal Server Error",
  1690. "schema": {
  1691. "$ref": "#/definitions/app.Response"
  1692. }
  1693. }
  1694. }
  1695. }
  1696. },
  1697. "/Ermcp/QueryBusinessDj": {
  1698. "get": {
  1699. "security": [
  1700. {
  1701. "ApiKeyAuth": []
  1702. }
  1703. ],
  1704. "produces": [
  1705. "application/json"
  1706. ],
  1707. "tags": [
  1708. "企业风险管理(app)"
  1709. ],
  1710. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1711. "parameters": [
  1712. {
  1713. "type": "integer",
  1714. "description": "用户ID",
  1715. "name": "UserId",
  1716. "in": "query",
  1717. "required": true
  1718. },
  1719. {
  1720. "type": "string",
  1721. "description": "现货合同ID, 不填则查所有",
  1722. "name": "relatedid",
  1723. "in": "query"
  1724. }
  1725. ],
  1726. "responses": {
  1727. "200": {
  1728. "description": "OK",
  1729. "schema": {
  1730. "type": "array",
  1731. "items": {
  1732. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1733. }
  1734. }
  1735. },
  1736. "500": {
  1737. "description": "Internal Server Error",
  1738. "schema": {
  1739. "$ref": "#/definitions/app.Response"
  1740. }
  1741. }
  1742. }
  1743. }
  1744. },
  1745. "/Ermcp/QueryBusinessFp": {
  1746. "get": {
  1747. "security": [
  1748. {
  1749. "ApiKeyAuth": []
  1750. }
  1751. ],
  1752. "produces": [
  1753. "application/json"
  1754. ],
  1755. "tags": [
  1756. "企业风险管理(app)"
  1757. ],
  1758. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1759. "parameters": [
  1760. {
  1761. "type": "integer",
  1762. "description": "用户ID",
  1763. "name": "UserId",
  1764. "in": "query",
  1765. "required": true
  1766. },
  1767. {
  1768. "type": "string",
  1769. "description": "现货合同ID, 不填则查所有",
  1770. "name": "relatedid",
  1771. "in": "query"
  1772. }
  1773. ],
  1774. "responses": {
  1775. "200": {
  1776. "description": "OK",
  1777. "schema": {
  1778. "type": "array",
  1779. "items": {
  1780. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1781. }
  1782. }
  1783. },
  1784. "500": {
  1785. "description": "Internal Server Error",
  1786. "schema": {
  1787. "$ref": "#/definitions/app.Response"
  1788. }
  1789. }
  1790. }
  1791. }
  1792. },
  1793. "/Ermcp/QueryBusinessJs": {
  1794. "get": {
  1795. "security": [
  1796. {
  1797. "ApiKeyAuth": []
  1798. }
  1799. ],
  1800. "produces": [
  1801. "application/json"
  1802. ],
  1803. "tags": [
  1804. "企业风险管理(app)"
  1805. ],
  1806. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1807. "parameters": [
  1808. {
  1809. "type": "integer",
  1810. "description": "用户ID",
  1811. "name": "UserId",
  1812. "in": "query",
  1813. "required": true
  1814. },
  1815. {
  1816. "type": "string",
  1817. "description": "现货合同ID, 不填则查所有",
  1818. "name": "relatedid",
  1819. "in": "query"
  1820. }
  1821. ],
  1822. "responses": {
  1823. "200": {
  1824. "description": "OK",
  1825. "schema": {
  1826. "type": "array",
  1827. "items": {
  1828. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1829. }
  1830. }
  1831. },
  1832. "500": {
  1833. "description": "Internal Server Error",
  1834. "schema": {
  1835. "$ref": "#/definitions/app.Response"
  1836. }
  1837. }
  1838. }
  1839. }
  1840. },
  1841. "/Ermcp/QueryBusinessJsEx": {
  1842. "get": {
  1843. "security": [
  1844. {
  1845. "ApiKeyAuth": []
  1846. }
  1847. ],
  1848. "produces": [
  1849. "application/json"
  1850. ],
  1851. "tags": [
  1852. "企业风险管理(app)"
  1853. ],
  1854. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1855. "parameters": [
  1856. {
  1857. "type": "integer",
  1858. "description": "用户ID",
  1859. "name": "UserId",
  1860. "in": "query",
  1861. "required": true
  1862. },
  1863. {
  1864. "type": "string",
  1865. "description": "现货合同ID, 不填则查所有",
  1866. "name": "relatedid",
  1867. "in": "query"
  1868. }
  1869. ],
  1870. "responses": {
  1871. "200": {
  1872. "description": "OK",
  1873. "schema": {
  1874. "type": "array",
  1875. "items": {
  1876. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1877. }
  1878. }
  1879. },
  1880. "500": {
  1881. "description": "Internal Server Error",
  1882. "schema": {
  1883. "$ref": "#/definitions/app.Response"
  1884. }
  1885. }
  1886. }
  1887. }
  1888. },
  1889. "/Ermcp/QueryBusinessKx": {
  1890. "get": {
  1891. "security": [
  1892. {
  1893. "ApiKeyAuth": []
  1894. }
  1895. ],
  1896. "produces": [
  1897. "application/json"
  1898. ],
  1899. "tags": [
  1900. "企业风险管理(app)"
  1901. ],
  1902. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1903. "parameters": [
  1904. {
  1905. "type": "integer",
  1906. "description": "用户ID",
  1907. "name": "UserId",
  1908. "in": "query",
  1909. "required": true
  1910. },
  1911. {
  1912. "type": "string",
  1913. "description": "现货合同ID, 不填则查所有",
  1914. "name": "relatedid",
  1915. "in": "query"
  1916. }
  1917. ],
  1918. "responses": {
  1919. "200": {
  1920. "description": "OK",
  1921. "schema": {
  1922. "type": "array",
  1923. "items": {
  1924. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1925. }
  1926. }
  1927. },
  1928. "500": {
  1929. "description": "Internal Server Error",
  1930. "schema": {
  1931. "$ref": "#/definitions/app.Response"
  1932. }
  1933. }
  1934. }
  1935. }
  1936. },
  1937. "/Ermcp/QueryChangeLog": {
  1938. "get": {
  1939. "security": [
  1940. {
  1941. "ApiKeyAuth": []
  1942. }
  1943. ],
  1944. "produces": [
  1945. "application/json"
  1946. ],
  1947. "tags": [
  1948. "企业风险管理(app)"
  1949. ],
  1950. "summary": "查询变更记录",
  1951. "parameters": [
  1952. {
  1953. "type": "string",
  1954. "description": "合同ID",
  1955. "name": "RelatedId",
  1956. "in": "query",
  1957. "required": true
  1958. }
  1959. ],
  1960. "responses": {
  1961. "200": {
  1962. "description": "OK",
  1963. "schema": {
  1964. "type": "array",
  1965. "items": {
  1966. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1967. }
  1968. }
  1969. },
  1970. "500": {
  1971. "description": "Internal Server Error",
  1972. "schema": {
  1973. "$ref": "#/definitions/app.Response"
  1974. }
  1975. }
  1976. }
  1977. }
  1978. },
  1979. "/Ermcp/QueryContract": {
  1980. "get": {
  1981. "security": [
  1982. {
  1983. "ApiKeyAuth": []
  1984. }
  1985. ],
  1986. "produces": [
  1987. "application/json"
  1988. ],
  1989. "tags": [
  1990. "企业风险管理(app)"
  1991. ],
  1992. "summary": "查询合同(采购和销售)",
  1993. "parameters": [
  1994. {
  1995. "type": "integer",
  1996. "description": "用户ID",
  1997. "name": "userId",
  1998. "in": "query",
  1999. "required": true
  2000. },
  2001. {
  2002. "type": "integer",
  2003. "description": "合同类型 1-采购, -1-销售",
  2004. "name": "contracttype",
  2005. "in": "query",
  2006. "required": true
  2007. },
  2008. {
  2009. "type": "integer",
  2010. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2011. "name": "querytype",
  2012. "in": "query",
  2013. "required": true
  2014. }
  2015. ],
  2016. "responses": {
  2017. "200": {
  2018. "description": "OK",
  2019. "schema": {
  2020. "type": "array",
  2021. "items": {
  2022. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2023. }
  2024. }
  2025. },
  2026. "500": {
  2027. "description": "Internal Server Error",
  2028. "schema": {
  2029. "$ref": "#/definitions/app.Response"
  2030. }
  2031. }
  2032. }
  2033. }
  2034. },
  2035. "/Ermcp/QueryErmcpHisOrderDetails": {
  2036. "get": {
  2037. "security": [
  2038. {
  2039. "ApiKeyAuth": []
  2040. }
  2041. ],
  2042. "produces": [
  2043. "application/json"
  2044. ],
  2045. "tags": [
  2046. "企业风险管理(app)"
  2047. ],
  2048. "summary": "获取企业风管期货历史委托单信息",
  2049. "parameters": [
  2050. {
  2051. "type": "integer",
  2052. "description": "资金账户ID",
  2053. "name": "accountID",
  2054. "in": "query",
  2055. "required": true
  2056. },
  2057. {
  2058. "type": "string",
  2059. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2060. "name": "startDate",
  2061. "in": "query"
  2062. },
  2063. {
  2064. "type": "string",
  2065. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2066. "name": "endDate",
  2067. "in": "query"
  2068. }
  2069. ],
  2070. "responses": {
  2071. "200": {
  2072. "description": "OK",
  2073. "schema": {
  2074. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2075. }
  2076. },
  2077. "500": {
  2078. "description": "Internal Server Error",
  2079. "schema": {
  2080. "$ref": "#/definitions/app.Response"
  2081. }
  2082. }
  2083. }
  2084. }
  2085. },
  2086. "/Ermcp/QueryErmcpHisTradeDetails": {
  2087. "get": {
  2088. "security": [
  2089. {
  2090. "ApiKeyAuth": []
  2091. }
  2092. ],
  2093. "produces": [
  2094. "application/json"
  2095. ],
  2096. "tags": [
  2097. "企业风险管理(app)"
  2098. ],
  2099. "summary": "获取企业风管期货历史成交单信息",
  2100. "parameters": [
  2101. {
  2102. "type": "integer",
  2103. "description": "资金账户ID",
  2104. "name": "accountID",
  2105. "in": "query",
  2106. "required": true
  2107. },
  2108. {
  2109. "type": "integer",
  2110. "description": "商品ID",
  2111. "name": "goodsID",
  2112. "in": "query"
  2113. },
  2114. {
  2115. "type": "integer",
  2116. "description": "买卖方向,0:买 1:卖",
  2117. "name": "buyOrSell",
  2118. "in": "query"
  2119. },
  2120. {
  2121. "type": "string",
  2122. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2123. "name": "startDate",
  2124. "in": "query"
  2125. },
  2126. {
  2127. "type": "string",
  2128. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2129. "name": "endDate",
  2130. "in": "query"
  2131. }
  2132. ],
  2133. "responses": {
  2134. "200": {
  2135. "description": "OK",
  2136. "schema": {
  2137. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2138. }
  2139. },
  2140. "500": {
  2141. "description": "Internal Server Error",
  2142. "schema": {
  2143. "$ref": "#/definitions/app.Response"
  2144. }
  2145. }
  2146. }
  2147. }
  2148. },
  2149. "/Ermcp/QueryErmcpOrderDetails": {
  2150. "get": {
  2151. "security": [
  2152. {
  2153. "ApiKeyAuth": []
  2154. }
  2155. ],
  2156. "produces": [
  2157. "application/json"
  2158. ],
  2159. "tags": [
  2160. "企业风险管理(app)"
  2161. ],
  2162. "summary": "获取企业风管期货委托单信息",
  2163. "parameters": [
  2164. {
  2165. "type": "integer",
  2166. "description": "资金账户ID",
  2167. "name": "accountID",
  2168. "in": "query",
  2169. "required": true
  2170. }
  2171. ],
  2172. "responses": {
  2173. "200": {
  2174. "description": "OK",
  2175. "schema": {
  2176. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2177. }
  2178. },
  2179. "500": {
  2180. "description": "Internal Server Error",
  2181. "schema": {
  2182. "$ref": "#/definitions/app.Response"
  2183. }
  2184. }
  2185. }
  2186. }
  2187. },
  2188. "/Ermcp/QueryErmcpTradeDetails": {
  2189. "get": {
  2190. "security": [
  2191. {
  2192. "ApiKeyAuth": []
  2193. }
  2194. ],
  2195. "produces": [
  2196. "application/json"
  2197. ],
  2198. "tags": [
  2199. "企业风险管理(app)"
  2200. ],
  2201. "summary": "获取企业风管期货成交单信息",
  2202. "parameters": [
  2203. {
  2204. "type": "integer",
  2205. "description": "资金账户ID",
  2206. "name": "accountID",
  2207. "in": "query",
  2208. "required": true
  2209. },
  2210. {
  2211. "type": "integer",
  2212. "description": "商品ID",
  2213. "name": "goodsID",
  2214. "in": "query"
  2215. },
  2216. {
  2217. "type": "integer",
  2218. "description": "买卖方向,0:买 1:卖",
  2219. "name": "buyOrSell",
  2220. "in": "query"
  2221. }
  2222. ],
  2223. "responses": {
  2224. "200": {
  2225. "description": "OK",
  2226. "schema": {
  2227. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2228. }
  2229. },
  2230. "500": {
  2231. "description": "Internal Server Error",
  2232. "schema": {
  2233. "$ref": "#/definitions/app.Response"
  2234. }
  2235. }
  2236. }
  2237. }
  2238. },
  2239. "/Ermcp/QueryErmcpTradePosition": {
  2240. "get": {
  2241. "security": [
  2242. {
  2243. "ApiKeyAuth": []
  2244. }
  2245. ],
  2246. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2247. "produces": [
  2248. "application/json"
  2249. ],
  2250. "tags": [
  2251. "企业风险管理(app)"
  2252. ],
  2253. "summary": "获取企业风管期货持仓头寸信息",
  2254. "parameters": [
  2255. {
  2256. "type": "integer",
  2257. "description": "资金账户ID",
  2258. "name": "accountID",
  2259. "in": "query",
  2260. "required": true
  2261. },
  2262. {
  2263. "type": "integer",
  2264. "description": "所属市场ID",
  2265. "name": "marketID",
  2266. "in": "query"
  2267. }
  2268. ],
  2269. "responses": {
  2270. "200": {
  2271. "description": "OK",
  2272. "schema": {
  2273. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2274. }
  2275. },
  2276. "500": {
  2277. "description": "Internal Server Error",
  2278. "schema": {
  2279. "$ref": "#/definitions/app.Response"
  2280. }
  2281. }
  2282. }
  2283. }
  2284. },
  2285. "/Ermcp/QueryExposureDetail": {
  2286. "get": {
  2287. "security": [
  2288. {
  2289. "ApiKeyAuth": []
  2290. }
  2291. ],
  2292. "produces": [
  2293. "application/json"
  2294. ],
  2295. "tags": [
  2296. "企业风险管理(app)"
  2297. ],
  2298. "summary": "查询敞口现货明细",
  2299. "parameters": [
  2300. {
  2301. "type": "integer",
  2302. "description": "所属机构ID",
  2303. "name": "areaUserId",
  2304. "in": "query",
  2305. "required": true
  2306. },
  2307. {
  2308. "type": "integer",
  2309. "description": "套保商品",
  2310. "name": "middleGoodsId",
  2311. "in": "query",
  2312. "required": true
  2313. }
  2314. ],
  2315. "responses": {
  2316. "200": {
  2317. "description": "OK",
  2318. "schema": {
  2319. "type": "array",
  2320. "items": {
  2321. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2322. }
  2323. }
  2324. },
  2325. "500": {
  2326. "description": "Internal Server Error",
  2327. "schema": {
  2328. "$ref": "#/definitions/app.Response"
  2329. }
  2330. }
  2331. }
  2332. }
  2333. },
  2334. "/Ermcp/QueryExposureHedgePosition": {
  2335. "get": {
  2336. "security": [
  2337. {
  2338. "ApiKeyAuth": []
  2339. }
  2340. ],
  2341. "produces": [
  2342. "application/json"
  2343. ],
  2344. "tags": [
  2345. "企业风险管理(app)"
  2346. ],
  2347. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2348. "parameters": [
  2349. {
  2350. "type": "integer",
  2351. "description": "所属机构ID",
  2352. "name": "areaUserId",
  2353. "in": "query",
  2354. "required": true
  2355. }
  2356. ],
  2357. "responses": {
  2358. "200": {
  2359. "description": "OK",
  2360. "schema": {
  2361. "type": "array",
  2362. "items": {
  2363. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2364. }
  2365. }
  2366. },
  2367. "500": {
  2368. "description": "Internal Server Error",
  2369. "schema": {
  2370. "$ref": "#/definitions/app.Response"
  2371. }
  2372. }
  2373. }
  2374. }
  2375. },
  2376. "/Ermcp/QueryExposureHedgePositionDetail": {
  2377. "get": {
  2378. "security": [
  2379. {
  2380. "ApiKeyAuth": []
  2381. }
  2382. ],
  2383. "produces": [
  2384. "application/json"
  2385. ],
  2386. "tags": [
  2387. "企业风险管理(app)"
  2388. ],
  2389. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2390. "parameters": [
  2391. {
  2392. "type": "integer",
  2393. "description": "所属机构ID",
  2394. "name": "areaUserId",
  2395. "in": "query",
  2396. "required": true
  2397. },
  2398. {
  2399. "type": "integer",
  2400. "description": "商品id",
  2401. "name": "goodsId",
  2402. "in": "query",
  2403. "required": true
  2404. }
  2405. ],
  2406. "responses": {
  2407. "200": {
  2408. "description": "OK",
  2409. "schema": {
  2410. "type": "array",
  2411. "items": {
  2412. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2413. }
  2414. }
  2415. },
  2416. "500": {
  2417. "description": "Internal Server Error",
  2418. "schema": {
  2419. "$ref": "#/definitions/app.Response"
  2420. }
  2421. }
  2422. }
  2423. }
  2424. },
  2425. "/Ermcp/QueryExposureSpot": {
  2426. "get": {
  2427. "security": [
  2428. {
  2429. "ApiKeyAuth": []
  2430. }
  2431. ],
  2432. "produces": [
  2433. "application/json"
  2434. ],
  2435. "tags": [
  2436. "企业风险管理(app)"
  2437. ],
  2438. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2439. "parameters": [
  2440. {
  2441. "type": "integer",
  2442. "description": "所属机构ID",
  2443. "name": "areaUserId",
  2444. "in": "query",
  2445. "required": true
  2446. }
  2447. ],
  2448. "responses": {
  2449. "200": {
  2450. "description": "OK",
  2451. "schema": {
  2452. "type": "array",
  2453. "items": {
  2454. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2455. }
  2456. }
  2457. },
  2458. "500": {
  2459. "description": "Internal Server Error",
  2460. "schema": {
  2461. "$ref": "#/definitions/app.Response"
  2462. }
  2463. }
  2464. }
  2465. }
  2466. },
  2467. "/Ermcp/QueryExposureSpotDetail": {
  2468. "get": {
  2469. "security": [
  2470. {
  2471. "ApiKeyAuth": []
  2472. }
  2473. ],
  2474. "produces": [
  2475. "application/json"
  2476. ],
  2477. "tags": [
  2478. "企业风险管理(app)"
  2479. ],
  2480. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2481. "parameters": [
  2482. {
  2483. "type": "integer",
  2484. "description": "所属机构ID",
  2485. "name": "areaUserId",
  2486. "in": "query",
  2487. "required": true
  2488. },
  2489. {
  2490. "type": "integer",
  2491. "description": "现货品种ID",
  2492. "name": "wrstandardId",
  2493. "in": "query",
  2494. "required": true
  2495. }
  2496. ],
  2497. "responses": {
  2498. "200": {
  2499. "description": "OK",
  2500. "schema": {
  2501. "type": "array",
  2502. "items": {
  2503. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2504. }
  2505. }
  2506. },
  2507. "500": {
  2508. "description": "Internal Server Error",
  2509. "schema": {
  2510. "$ref": "#/definitions/app.Response"
  2511. }
  2512. }
  2513. }
  2514. }
  2515. },
  2516. "/Ermcp/QueryGGConvertConfig": {
  2517. "get": {
  2518. "security": [
  2519. {
  2520. "ApiKeyAuth": []
  2521. }
  2522. ],
  2523. "produces": [
  2524. "application/json"
  2525. ],
  2526. "tags": [
  2527. "企业风险管理(app)"
  2528. ],
  2529. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2530. "parameters": [
  2531. {
  2532. "type": "integer",
  2533. "description": "品种id(不填则查所有)",
  2534. "name": "goodsgroupid",
  2535. "in": "query"
  2536. }
  2537. ],
  2538. "responses": {
  2539. "200": {
  2540. "description": "OK",
  2541. "schema": {
  2542. "type": "array",
  2543. "items": {
  2544. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2545. }
  2546. }
  2547. },
  2548. "500": {
  2549. "description": "Internal Server Error",
  2550. "schema": {
  2551. "$ref": "#/definitions/app.Response"
  2552. }
  2553. }
  2554. }
  2555. }
  2556. },
  2557. "/Ermcp/QueryGoodsBrand": {
  2558. "get": {
  2559. "security": [
  2560. {
  2561. "ApiKeyAuth": []
  2562. }
  2563. ],
  2564. "produces": [
  2565. "application/json"
  2566. ],
  2567. "tags": [
  2568. "企业风险管理(app)"
  2569. ],
  2570. "summary": "查询商品品牌",
  2571. "parameters": [
  2572. {
  2573. "type": "integer",
  2574. "description": "用户ID",
  2575. "name": "userid",
  2576. "in": "query",
  2577. "required": true
  2578. },
  2579. {
  2580. "type": "integer",
  2581. "description": "现货商品ID",
  2582. "name": "wrstandardid",
  2583. "in": "query"
  2584. }
  2585. ],
  2586. "responses": {
  2587. "200": {
  2588. "description": "OK",
  2589. "schema": {
  2590. "type": "array",
  2591. "items": {
  2592. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2593. }
  2594. }
  2595. },
  2596. "500": {
  2597. "description": "Internal Server Error",
  2598. "schema": {
  2599. "$ref": "#/definitions/app.Response"
  2600. }
  2601. }
  2602. }
  2603. }
  2604. },
  2605. "/Ermcp/QueryGoodsModel": {
  2606. "get": {
  2607. "security": [
  2608. {
  2609. "ApiKeyAuth": []
  2610. }
  2611. ],
  2612. "produces": [
  2613. "application/json"
  2614. ],
  2615. "tags": [
  2616. "企业风险管理(app)"
  2617. ],
  2618. "summary": "查询商品型号",
  2619. "parameters": [
  2620. {
  2621. "type": "integer",
  2622. "description": "用户ID",
  2623. "name": "userid",
  2624. "in": "query",
  2625. "required": true
  2626. }
  2627. ],
  2628. "responses": {
  2629. "200": {
  2630. "description": "OK",
  2631. "schema": {
  2632. "type": "array",
  2633. "items": {
  2634. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2635. }
  2636. }
  2637. },
  2638. "500": {
  2639. "description": "Internal Server Error",
  2640. "schema": {
  2641. "$ref": "#/definitions/app.Response"
  2642. }
  2643. }
  2644. }
  2645. }
  2646. },
  2647. "/Ermcp/QueryHedgePlan": {
  2648. "get": {
  2649. "security": [
  2650. {
  2651. "ApiKeyAuth": []
  2652. }
  2653. ],
  2654. "produces": [
  2655. "application/json"
  2656. ],
  2657. "tags": [
  2658. "企业风险管理(app)"
  2659. ],
  2660. "summary": "查询套保计划",
  2661. "parameters": [
  2662. {
  2663. "type": "integer",
  2664. "description": "用户ID",
  2665. "name": "userId",
  2666. "in": "query",
  2667. "required": true
  2668. },
  2669. {
  2670. "type": "string",
  2671. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2672. "name": "HedgePlanStatus",
  2673. "in": "query",
  2674. "required": true
  2675. }
  2676. ],
  2677. "responses": {
  2678. "200": {
  2679. "description": "OK",
  2680. "schema": {
  2681. "type": "array",
  2682. "items": {
  2683. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2684. }
  2685. }
  2686. },
  2687. "500": {
  2688. "description": "Internal Server Error",
  2689. "schema": {
  2690. "$ref": "#/definitions/app.Response"
  2691. }
  2692. }
  2693. }
  2694. }
  2695. },
  2696. "/Ermcp/QueryHisExposure": {
  2697. "get": {
  2698. "security": [
  2699. {
  2700. "ApiKeyAuth": []
  2701. }
  2702. ],
  2703. "produces": [
  2704. "application/json"
  2705. ],
  2706. "tags": [
  2707. "企业风险管理(app)"
  2708. ],
  2709. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2710. "parameters": [
  2711. {
  2712. "type": "integer",
  2713. "description": "所属机构ID",
  2714. "name": "areaUserId",
  2715. "in": "query",
  2716. "required": true
  2717. },
  2718. {
  2719. "type": "integer",
  2720. "description": "每个品种记录数",
  2721. "name": "lastNum",
  2722. "in": "query",
  2723. "required": true
  2724. }
  2725. ],
  2726. "responses": {
  2727. "200": {
  2728. "description": "OK",
  2729. "schema": {
  2730. "type": "array",
  2731. "items": {
  2732. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2733. }
  2734. }
  2735. },
  2736. "500": {
  2737. "description": "Internal Server Error",
  2738. "schema": {
  2739. "$ref": "#/definitions/app.Response"
  2740. }
  2741. }
  2742. }
  2743. }
  2744. },
  2745. "/Ermcp/QueryMiddleGoods": {
  2746. "get": {
  2747. "security": [
  2748. {
  2749. "ApiKeyAuth": []
  2750. }
  2751. ],
  2752. "produces": [
  2753. "application/json"
  2754. ],
  2755. "tags": [
  2756. "企业风险管理(app)"
  2757. ],
  2758. "summary": "查询套保品种(菜单:套保品种)",
  2759. "parameters": [
  2760. {
  2761. "type": "integer",
  2762. "description": "所属机构ID",
  2763. "name": "userid",
  2764. "in": "query",
  2765. "required": true
  2766. },
  2767. {
  2768. "type": "integer",
  2769. "description": "状态 0-停用 1-正常",
  2770. "name": "status",
  2771. "in": "query",
  2772. "required": true
  2773. }
  2774. ],
  2775. "responses": {
  2776. "200": {
  2777. "description": "OK",
  2778. "schema": {
  2779. "type": "array",
  2780. "items": {
  2781. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2782. }
  2783. }
  2784. },
  2785. "500": {
  2786. "description": "Internal Server Error",
  2787. "schema": {
  2788. "$ref": "#/definitions/app.Response"
  2789. }
  2790. }
  2791. }
  2792. }
  2793. },
  2794. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2795. "get": {
  2796. "security": [
  2797. {
  2798. "ApiKeyAuth": []
  2799. }
  2800. ],
  2801. "produces": [
  2802. "application/json"
  2803. ],
  2804. "tags": [
  2805. "企业风险管理(app)"
  2806. ],
  2807. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2808. "parameters": [
  2809. {
  2810. "type": "integer",
  2811. "description": "所属机构ID",
  2812. "name": "userid",
  2813. "in": "query",
  2814. "required": true
  2815. },
  2816. {
  2817. "type": "integer",
  2818. "description": "套保品种id",
  2819. "name": "middlegoodsid",
  2820. "in": "query",
  2821. "required": true
  2822. }
  2823. ],
  2824. "responses": {
  2825. "200": {
  2826. "description": "OK",
  2827. "schema": {
  2828. "type": "array",
  2829. "items": {
  2830. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2831. }
  2832. }
  2833. },
  2834. "500": {
  2835. "description": "Internal Server Error",
  2836. "schema": {
  2837. "$ref": "#/definitions/app.Response"
  2838. }
  2839. }
  2840. }
  2841. }
  2842. },
  2843. "/Ermcp/QueryMiddleGoodsDetail": {
  2844. "get": {
  2845. "security": [
  2846. {
  2847. "ApiKeyAuth": []
  2848. }
  2849. ],
  2850. "produces": [
  2851. "application/json"
  2852. ],
  2853. "tags": [
  2854. "企业风险管理(app)"
  2855. ],
  2856. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2857. "parameters": [
  2858. {
  2859. "type": "integer",
  2860. "description": "所属机构ID",
  2861. "name": "userid",
  2862. "in": "query",
  2863. "required": true
  2864. },
  2865. {
  2866. "type": "integer",
  2867. "description": "套保品种id",
  2868. "name": "middlegoodsid",
  2869. "in": "query",
  2870. "required": true
  2871. }
  2872. ],
  2873. "responses": {
  2874. "200": {
  2875. "description": "OK",
  2876. "schema": {
  2877. "type": "array",
  2878. "items": {
  2879. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2880. }
  2881. }
  2882. },
  2883. "500": {
  2884. "description": "Internal Server Error",
  2885. "schema": {
  2886. "$ref": "#/definitions/app.Response"
  2887. }
  2888. }
  2889. }
  2890. }
  2891. },
  2892. "/Ermcp/QueryPendingAuditInfo": {
  2893. "get": {
  2894. "security": [
  2895. {
  2896. "ApiKeyAuth": []
  2897. }
  2898. ],
  2899. "produces": [
  2900. "application/json"
  2901. ],
  2902. "tags": [
  2903. "企业风险管理(app)"
  2904. ],
  2905. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2906. "parameters": [
  2907. {
  2908. "type": "integer",
  2909. "description": "用户ID",
  2910. "name": "UserId",
  2911. "in": "query",
  2912. "required": true
  2913. }
  2914. ],
  2915. "responses": {
  2916. "200": {
  2917. "description": "OK",
  2918. "schema": {
  2919. "type": "array",
  2920. "items": {
  2921. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2922. }
  2923. }
  2924. },
  2925. "500": {
  2926. "description": "Internal Server Error",
  2927. "schema": {
  2928. "$ref": "#/definitions/app.Response"
  2929. }
  2930. }
  2931. }
  2932. }
  2933. },
  2934. "/Ermcp/QueryRealtimeExposure": {
  2935. "get": {
  2936. "security": [
  2937. {
  2938. "ApiKeyAuth": []
  2939. }
  2940. ],
  2941. "produces": [
  2942. "application/json"
  2943. ],
  2944. "tags": [
  2945. "企业风险管理(app)"
  2946. ],
  2947. "summary": "查询实时敞口",
  2948. "parameters": [
  2949. {
  2950. "type": "integer",
  2951. "description": "所属机构ID",
  2952. "name": "AreaUserID",
  2953. "in": "query",
  2954. "required": true
  2955. }
  2956. ],
  2957. "responses": {
  2958. "200": {
  2959. "description": "OK",
  2960. "schema": {
  2961. "type": "array",
  2962. "items": {
  2963. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2964. }
  2965. }
  2966. },
  2967. "500": {
  2968. "description": "Internal Server Error",
  2969. "schema": {
  2970. "$ref": "#/definitions/app.Response"
  2971. }
  2972. }
  2973. }
  2974. }
  2975. },
  2976. "/Ermcp/QueryRealtimeExposurePosition": {
  2977. "get": {
  2978. "security": [
  2979. {
  2980. "ApiKeyAuth": []
  2981. }
  2982. ],
  2983. "produces": [
  2984. "application/json"
  2985. ],
  2986. "tags": [
  2987. "企业风险管理(app)"
  2988. ],
  2989. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2990. "parameters": [
  2991. {
  2992. "type": "integer",
  2993. "description": "所属机构ID",
  2994. "name": "areaUserId",
  2995. "in": "query",
  2996. "required": true
  2997. },
  2998. {
  2999. "type": "integer",
  3000. "description": "套保商品ID",
  3001. "name": "middleGoodsId",
  3002. "in": "query",
  3003. "required": true
  3004. }
  3005. ],
  3006. "responses": {
  3007. "200": {
  3008. "description": "OK",
  3009. "schema": {
  3010. "type": "array",
  3011. "items": {
  3012. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3013. }
  3014. }
  3015. },
  3016. "500": {
  3017. "description": "Internal Server Error",
  3018. "schema": {
  3019. "$ref": "#/definitions/app.Response"
  3020. }
  3021. }
  3022. }
  3023. }
  3024. },
  3025. "/Ermcp/QuerySpotContract": {
  3026. "get": {
  3027. "security": [
  3028. {
  3029. "ApiKeyAuth": []
  3030. }
  3031. ],
  3032. "produces": [
  3033. "application/json"
  3034. ],
  3035. "tags": [
  3036. "企业风险管理(app)"
  3037. ],
  3038. "summary": "查询现货合同(对应现货合同菜单)",
  3039. "parameters": [
  3040. {
  3041. "type": "integer",
  3042. "description": "用户ID",
  3043. "name": "userId",
  3044. "in": "query",
  3045. "required": true
  3046. },
  3047. {
  3048. "type": "integer",
  3049. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3050. "name": "QueryType",
  3051. "in": "query",
  3052. "required": true
  3053. }
  3054. ],
  3055. "responses": {
  3056. "200": {
  3057. "description": "OK",
  3058. "schema": {
  3059. "type": "array",
  3060. "items": {
  3061. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3062. }
  3063. }
  3064. },
  3065. "500": {
  3066. "description": "Internal Server Error",
  3067. "schema": {
  3068. "$ref": "#/definitions/app.Response"
  3069. }
  3070. }
  3071. }
  3072. }
  3073. },
  3074. "/Ermcp/QueryUserInfo": {
  3075. "get": {
  3076. "security": [
  3077. {
  3078. "ApiKeyAuth": []
  3079. }
  3080. ],
  3081. "produces": [
  3082. "application/json"
  3083. ],
  3084. "tags": [
  3085. "企业风险管理(app)"
  3086. ],
  3087. "summary": "查询客户资料",
  3088. "parameters": [
  3089. {
  3090. "type": "integer",
  3091. "description": "所属机构用户ID",
  3092. "name": "MemberUserID",
  3093. "in": "query",
  3094. "required": true
  3095. },
  3096. {
  3097. "type": "integer",
  3098. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3099. "name": "queryType",
  3100. "in": "query",
  3101. "required": true
  3102. }
  3103. ],
  3104. "responses": {
  3105. "200": {
  3106. "description": "OK",
  3107. "schema": {
  3108. "type": "array",
  3109. "items": {
  3110. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3111. }
  3112. }
  3113. },
  3114. "500": {
  3115. "description": "Internal Server Error",
  3116. "schema": {
  3117. "$ref": "#/definitions/app.Response"
  3118. }
  3119. }
  3120. }
  3121. }
  3122. },
  3123. "/Ermcp/QueryWarehouseInfo": {
  3124. "get": {
  3125. "security": [
  3126. {
  3127. "ApiKeyAuth": []
  3128. }
  3129. ],
  3130. "produces": [
  3131. "application/json"
  3132. ],
  3133. "tags": [
  3134. "企业风险管理(app)"
  3135. ],
  3136. "summary": "查询仓库信息",
  3137. "parameters": [
  3138. {
  3139. "type": "integer",
  3140. "description": "用户ID",
  3141. "name": "userid",
  3142. "in": "query",
  3143. "required": true
  3144. },
  3145. {
  3146. "type": "string",
  3147. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3148. "name": "status",
  3149. "in": "query"
  3150. }
  3151. ],
  3152. "responses": {
  3153. "200": {
  3154. "description": "OK",
  3155. "schema": {
  3156. "type": "array",
  3157. "items": {
  3158. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3159. }
  3160. }
  3161. },
  3162. "500": {
  3163. "description": "Internal Server Error",
  3164. "schema": {
  3165. "$ref": "#/definitions/app.Response"
  3166. }
  3167. }
  3168. }
  3169. }
  3170. },
  3171. "/Ermcp/QueryWrStandard": {
  3172. "get": {
  3173. "security": [
  3174. {
  3175. "ApiKeyAuth": []
  3176. }
  3177. ],
  3178. "produces": [
  3179. "application/json"
  3180. ],
  3181. "tags": [
  3182. "企业风险管理(app)"
  3183. ],
  3184. "summary": "查询现货商品",
  3185. "parameters": [
  3186. {
  3187. "type": "integer",
  3188. "description": "所属机构ID",
  3189. "name": "userid",
  3190. "in": "query",
  3191. "required": true
  3192. },
  3193. {
  3194. "type": "integer",
  3195. "description": "状态 0-停用 1-正常",
  3196. "name": "status",
  3197. "in": "query",
  3198. "required": true
  3199. }
  3200. ],
  3201. "responses": {
  3202. "200": {
  3203. "description": "OK",
  3204. "schema": {
  3205. "type": "array",
  3206. "items": {
  3207. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3208. }
  3209. }
  3210. },
  3211. "500": {
  3212. "description": "Internal Server Error",
  3213. "schema": {
  3214. "$ref": "#/definitions/app.Response"
  3215. }
  3216. }
  3217. }
  3218. }
  3219. },
  3220. "/Ermcp/QueryWrStandardDetail": {
  3221. "get": {
  3222. "security": [
  3223. {
  3224. "ApiKeyAuth": []
  3225. }
  3226. ],
  3227. "produces": [
  3228. "application/json"
  3229. ],
  3230. "tags": [
  3231. "企业风险管理(app)"
  3232. ],
  3233. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  3234. "parameters": [
  3235. {
  3236. "type": "integer",
  3237. "description": "所属机构ID",
  3238. "name": "userid",
  3239. "in": "query",
  3240. "required": true
  3241. },
  3242. {
  3243. "type": "integer",
  3244. "description": "现货商品ID",
  3245. "name": "wrstandardid",
  3246. "in": "query",
  3247. "required": true
  3248. },
  3249. {
  3250. "type": "integer",
  3251. "description": "可不填, 1-查询关联交易商品",
  3252. "name": "goods",
  3253. "in": "query"
  3254. }
  3255. ],
  3256. "responses": {
  3257. "200": {
  3258. "description": "OK",
  3259. "schema": {
  3260. "type": "array",
  3261. "items": {
  3262. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  3263. }
  3264. }
  3265. },
  3266. "500": {
  3267. "description": "Internal Server Error",
  3268. "schema": {
  3269. "$ref": "#/definitions/app.Response"
  3270. }
  3271. }
  3272. }
  3273. }
  3274. },
  3275. "/Erms2/QueryArbitrageStrategy": {
  3276. "get": {
  3277. "security": [
  3278. {
  3279. "ApiKeyAuth": []
  3280. }
  3281. ],
  3282. "produces": [
  3283. "application/json"
  3284. ],
  3285. "tags": [
  3286. "风险管理"
  3287. ],
  3288. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  3289. "parameters": [
  3290. {
  3291. "type": "integer",
  3292. "description": "账户ID",
  3293. "name": "userid",
  3294. "in": "query",
  3295. "required": true
  3296. },
  3297. {
  3298. "type": "string",
  3299. "description": "商品组ID(品种ID)",
  3300. "name": "goodsgroupid",
  3301. "in": "query"
  3302. }
  3303. ],
  3304. "responses": {
  3305. "200": {
  3306. "description": "OK",
  3307. "schema": {
  3308. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  3309. }
  3310. },
  3311. "500": {
  3312. "description": "Internal Server Error",
  3313. "schema": {
  3314. "$ref": "#/definitions/app.Response"
  3315. }
  3316. }
  3317. }
  3318. }
  3319. },
  3320. "/Erms2/QueryInnerTradeDetail": {
  3321. "get": {
  3322. "security": [
  3323. {
  3324. "ApiKeyAuth": []
  3325. }
  3326. ],
  3327. "produces": [
  3328. "application/json"
  3329. ],
  3330. "tags": [
  3331. "风险管理"
  3332. ],
  3333. "summary": "查询内部成交单信息",
  3334. "parameters": [
  3335. {
  3336. "type": "integer",
  3337. "description": "资金账户",
  3338. "name": "accountid",
  3339. "in": "query",
  3340. "required": true
  3341. }
  3342. ],
  3343. "responses": {
  3344. "200": {
  3345. "description": "OK",
  3346. "schema": {
  3347. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  3348. }
  3349. },
  3350. "500": {
  3351. "description": "Internal Server Error",
  3352. "schema": {
  3353. "$ref": "#/definitions/app.Response"
  3354. }
  3355. }
  3356. }
  3357. }
  3358. },
  3359. "/Erms2/QuerySpotContract": {
  3360. "get": {
  3361. "security": [
  3362. {
  3363. "ApiKeyAuth": []
  3364. }
  3365. ],
  3366. "produces": [
  3367. "application/json"
  3368. ],
  3369. "tags": [
  3370. "风险管理"
  3371. ],
  3372. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  3373. "parameters": [
  3374. {
  3375. "type": "integer",
  3376. "description": "策略申请ID",
  3377. "name": "asapplyid",
  3378. "in": "query",
  3379. "required": true
  3380. },
  3381. {
  3382. "type": "integer",
  3383. "description": "现货合同ID",
  3384. "name": "spotcontractid",
  3385. "in": "query"
  3386. }
  3387. ],
  3388. "responses": {
  3389. "200": {
  3390. "description": "OK",
  3391. "schema": {
  3392. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  3393. }
  3394. },
  3395. "500": {
  3396. "description": "Internal Server Error",
  3397. "schema": {
  3398. "$ref": "#/definitions/app.Response"
  3399. }
  3400. }
  3401. }
  3402. }
  3403. },
  3404. "/Erms3/AddErms2ASApply": {
  3405. "post": {
  3406. "security": [
  3407. {
  3408. "ApiKeyAuth": []
  3409. }
  3410. ],
  3411. "produces": [
  3412. "application/json"
  3413. ],
  3414. "tags": [
  3415. "风险管理v3"
  3416. ],
  3417. "summary": "新增期现套利业务申请",
  3418. "parameters": [
  3419. {
  3420. "description": "申请参数",
  3421. "name": "jsonBody",
  3422. "in": "body",
  3423. "required": true,
  3424. "schema": {
  3425. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  3426. }
  3427. }
  3428. ],
  3429. "responses": {
  3430. "200": {
  3431. "description": "OK",
  3432. "schema": {
  3433. "$ref": "#/definitions/app.Response"
  3434. }
  3435. },
  3436. "500": {
  3437. "description": "Internal Server Error",
  3438. "schema": {
  3439. "$ref": "#/definitions/app.Response"
  3440. }
  3441. }
  3442. }
  3443. }
  3444. },
  3445. "/Erms3/AddErms2SpotTradeApply": {
  3446. "post": {
  3447. "security": [
  3448. {
  3449. "ApiKeyAuth": []
  3450. }
  3451. ],
  3452. "produces": [
  3453. "application/json"
  3454. ],
  3455. "tags": [
  3456. "风险管理v3"
  3457. ],
  3458. "summary": "新增现货贸易业务申请",
  3459. "parameters": [
  3460. {
  3461. "description": "申请参数",
  3462. "name": "jsonBody",
  3463. "in": "body",
  3464. "required": true,
  3465. "schema": {
  3466. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  3467. }
  3468. }
  3469. ],
  3470. "responses": {
  3471. "200": {
  3472. "description": "OK",
  3473. "schema": {
  3474. "$ref": "#/definitions/app.Response"
  3475. }
  3476. },
  3477. "500": {
  3478. "description": "Internal Server Error",
  3479. "schema": {
  3480. "$ref": "#/definitions/app.Response"
  3481. }
  3482. }
  3483. }
  3484. }
  3485. },
  3486. "/Erms3/AddSpotContractApply": {
  3487. "post": {
  3488. "security": [
  3489. {
  3490. "ApiKeyAuth": []
  3491. }
  3492. ],
  3493. "produces": [
  3494. "application/json"
  3495. ],
  3496. "tags": [
  3497. "风险管理v3"
  3498. ],
  3499. "summary": "新增现货合同申请",
  3500. "parameters": [
  3501. {
  3502. "description": "申请参数",
  3503. "name": "jsonBody",
  3504. "in": "body",
  3505. "required": true,
  3506. "schema": {
  3507. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  3508. }
  3509. }
  3510. ],
  3511. "responses": {
  3512. "200": {
  3513. "description": "OK",
  3514. "schema": {
  3515. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  3516. }
  3517. },
  3518. "500": {
  3519. "description": "Internal Server Error",
  3520. "schema": {
  3521. "$ref": "#/definitions/app.Response"
  3522. }
  3523. }
  3524. }
  3525. }
  3526. },
  3527. "/Erms3/AddUserInfoApply": {
  3528. "post": {
  3529. "security": [
  3530. {
  3531. "ApiKeyAuth": []
  3532. }
  3533. ],
  3534. "produces": [
  3535. "application/json"
  3536. ],
  3537. "tags": [
  3538. "风险管理v3"
  3539. ],
  3540. "summary": "新增客户申请",
  3541. "parameters": [
  3542. {
  3543. "description": "用户信息",
  3544. "name": "jsonBody",
  3545. "in": "body",
  3546. "required": true,
  3547. "schema": {
  3548. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  3549. }
  3550. }
  3551. ],
  3552. "responses": {
  3553. "200": {
  3554. "description": "OK",
  3555. "schema": {
  3556. "$ref": "#/definitions/app.Response"
  3557. }
  3558. },
  3559. "500": {
  3560. "description": "Internal Server Error",
  3561. "schema": {
  3562. "$ref": "#/definitions/app.Response"
  3563. }
  3564. }
  3565. }
  3566. }
  3567. },
  3568. "/Erms3/ModifyUserInfoApply": {
  3569. "post": {
  3570. "security": [
  3571. {
  3572. "ApiKeyAuth": []
  3573. }
  3574. ],
  3575. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  3576. "produces": [
  3577. "application/json"
  3578. ],
  3579. "tags": [
  3580. "风险管理v3"
  3581. ],
  3582. "summary": "修改客户申请",
  3583. "parameters": [
  3584. {
  3585. "description": "用户信息",
  3586. "name": "jsonBody",
  3587. "in": "body",
  3588. "required": true,
  3589. "schema": {
  3590. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  3591. }
  3592. }
  3593. ],
  3594. "responses": {
  3595. "200": {
  3596. "description": "OK",
  3597. "schema": {
  3598. "$ref": "#/definitions/app.Response"
  3599. }
  3600. },
  3601. "500": {
  3602. "description": "Internal Server Error",
  3603. "schema": {
  3604. "$ref": "#/definitions/app.Response"
  3605. }
  3606. }
  3607. }
  3608. }
  3609. },
  3610. "/Erms3/QueryBusinessInfo": {
  3611. "get": {
  3612. "security": [
  3613. {
  3614. "ApiKeyAuth": []
  3615. }
  3616. ],
  3617. "produces": [
  3618. "application/json"
  3619. ],
  3620. "tags": [
  3621. "风险管理v3"
  3622. ],
  3623. "summary": "查询业务表单数据",
  3624. "parameters": [
  3625. {
  3626. "type": "string",
  3627. "description": "资金账号ID列表,用逗号分隔",
  3628. "name": "accountids",
  3629. "in": "query",
  3630. "required": true
  3631. },
  3632. {
  3633. "type": "integer",
  3634. "description": "状态,0为未结束 1为已结束",
  3635. "name": "status",
  3636. "in": "query",
  3637. "required": true
  3638. }
  3639. ],
  3640. "responses": {
  3641. "200": {
  3642. "description": "OK",
  3643. "schema": {
  3644. "type": "array",
  3645. "items": {
  3646. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3647. }
  3648. }
  3649. },
  3650. "500": {
  3651. "description": "Internal Server Error",
  3652. "schema": {
  3653. "$ref": "#/definitions/app.Response"
  3654. }
  3655. }
  3656. }
  3657. }
  3658. },
  3659. "/Erms3/QueryPendingAuditContract": {
  3660. "get": {
  3661. "security": [
  3662. {
  3663. "ApiKeyAuth": []
  3664. }
  3665. ],
  3666. "produces": [
  3667. "application/json"
  3668. ],
  3669. "tags": [
  3670. "风险管理v3"
  3671. ],
  3672. "summary": "查询待审核合同",
  3673. "parameters": [
  3674. {
  3675. "type": "string",
  3676. "description": "资金账号ID列表,逗号隔开",
  3677. "name": "accountids",
  3678. "in": "query",
  3679. "required": true
  3680. },
  3681. {
  3682. "type": "integer",
  3683. "description": "合同类型 1-采购 -1-销售",
  3684. "name": "contracttype",
  3685. "in": "query",
  3686. "required": true
  3687. },
  3688. {
  3689. "type": "integer",
  3690. "description": "合同模式 1-普通 2-回购",
  3691. "name": "contractmode",
  3692. "in": "query",
  3693. "required": true
  3694. }
  3695. ],
  3696. "responses": {
  3697. "200": {
  3698. "description": "OK",
  3699. "schema": {
  3700. "type": "array",
  3701. "items": {
  3702. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3703. }
  3704. }
  3705. },
  3706. "500": {
  3707. "description": "Internal Server Error",
  3708. "schema": {
  3709. "$ref": "#/definitions/app.Response"
  3710. }
  3711. }
  3712. }
  3713. }
  3714. },
  3715. "/Erms3/QueryPendingBusiness": {
  3716. "get": {
  3717. "security": [
  3718. {
  3719. "ApiKeyAuth": []
  3720. }
  3721. ],
  3722. "produces": [
  3723. "application/json"
  3724. ],
  3725. "tags": [
  3726. "风险管理v3"
  3727. ],
  3728. "summary": "查询待审核基差贸易业务",
  3729. "parameters": [
  3730. {
  3731. "type": "string",
  3732. "description": "资金账号ID列表,逗号隔开",
  3733. "name": "accountids",
  3734. "in": "query",
  3735. "required": true
  3736. }
  3737. ],
  3738. "responses": {
  3739. "200": {
  3740. "description": "OK",
  3741. "schema": {
  3742. "type": "array",
  3743. "items": {
  3744. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3745. }
  3746. }
  3747. },
  3748. "500": {
  3749. "description": "Internal Server Error",
  3750. "schema": {
  3751. "$ref": "#/definitions/app.Response"
  3752. }
  3753. }
  3754. }
  3755. }
  3756. },
  3757. "/Erms3/QuerySpotContractAppleForm": {
  3758. "get": {
  3759. "security": [
  3760. {
  3761. "ApiKeyAuth": []
  3762. }
  3763. ],
  3764. "produces": [
  3765. "application/json"
  3766. ],
  3767. "tags": [
  3768. "风险管理v3"
  3769. ],
  3770. "summary": "查询合同申请表单数据",
  3771. "parameters": [
  3772. {
  3773. "type": "integer",
  3774. "description": "登录账号",
  3775. "name": "loginID",
  3776. "in": "query",
  3777. "required": true
  3778. }
  3779. ],
  3780. "responses": {
  3781. "200": {
  3782. "description": "OK",
  3783. "schema": {
  3784. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3785. }
  3786. },
  3787. "500": {
  3788. "description": "Internal Server Error",
  3789. "schema": {
  3790. "$ref": "#/definitions/app.Response"
  3791. }
  3792. }
  3793. }
  3794. }
  3795. },
  3796. "/Erms3/QuerySpotContractDetail": {
  3797. "get": {
  3798. "security": [
  3799. {
  3800. "ApiKeyAuth": []
  3801. }
  3802. ],
  3803. "produces": [
  3804. "application/json"
  3805. ],
  3806. "tags": [
  3807. "风险管理v3"
  3808. ],
  3809. "summary": "查询合同详细信息",
  3810. "parameters": [
  3811. {
  3812. "type": "string",
  3813. "description": "资金账号ID列表,用逗号分隔",
  3814. "name": "accountids",
  3815. "in": "query",
  3816. "required": true
  3817. },
  3818. {
  3819. "type": "integer",
  3820. "description": "合同类型,1为采购合同 -1为销售合同",
  3821. "name": "contracttype",
  3822. "in": "query",
  3823. "required": true
  3824. },
  3825. {
  3826. "type": "integer",
  3827. "description": "合同模式,1为普通合同 2为回购销售合同",
  3828. "name": "contractmode",
  3829. "in": "query",
  3830. "required": true
  3831. },
  3832. {
  3833. "type": "integer",
  3834. "description": "状态,0为履约中 1为已完成",
  3835. "name": "status",
  3836. "in": "query",
  3837. "required": true
  3838. }
  3839. ],
  3840. "responses": {
  3841. "200": {
  3842. "description": "OK",
  3843. "schema": {
  3844. "type": "array",
  3845. "items": {
  3846. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3847. }
  3848. }
  3849. },
  3850. "500": {
  3851. "description": "Internal Server Error",
  3852. "schema": {
  3853. "$ref": "#/definitions/app.Response"
  3854. }
  3855. }
  3856. }
  3857. }
  3858. },
  3859. "/Erms3/QueryUserInfoApplies": {
  3860. "get": {
  3861. "security": [
  3862. {
  3863. "ApiKeyAuth": []
  3864. }
  3865. ],
  3866. "produces": [
  3867. "application/json"
  3868. ],
  3869. "tags": [
  3870. "风险管理v3"
  3871. ],
  3872. "summary": "客户申请信息查询",
  3873. "parameters": [
  3874. {
  3875. "type": "integer",
  3876. "description": "页码",
  3877. "name": "page",
  3878. "in": "query"
  3879. },
  3880. {
  3881. "type": "integer",
  3882. "description": "每页条数",
  3883. "name": "pagesize",
  3884. "in": "query"
  3885. },
  3886. {
  3887. "type": "string",
  3888. "description": "客户名称,支持模糊查询",
  3889. "name": "userName",
  3890. "in": "query"
  3891. }
  3892. ],
  3893. "responses": {
  3894. "200": {
  3895. "description": "OK",
  3896. "schema": {
  3897. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3898. }
  3899. },
  3900. "500": {
  3901. "description": "Internal Server Error",
  3902. "schema": {
  3903. "$ref": "#/definitions/app.Response"
  3904. }
  3905. }
  3906. }
  3907. }
  3908. },
  3909. "/Erms3/QueryUserInfos": {
  3910. "get": {
  3911. "security": [
  3912. {
  3913. "ApiKeyAuth": []
  3914. }
  3915. ],
  3916. "produces": [
  3917. "application/json"
  3918. ],
  3919. "tags": [
  3920. "风险管理v3"
  3921. ],
  3922. "summary": "客户信息查询",
  3923. "parameters": [
  3924. {
  3925. "type": "integer",
  3926. "description": "页码",
  3927. "name": "page",
  3928. "in": "query"
  3929. },
  3930. {
  3931. "type": "integer",
  3932. "description": "每页条数",
  3933. "name": "pagesize",
  3934. "in": "query"
  3935. },
  3936. {
  3937. "type": "string",
  3938. "description": "客户名称,支持模糊查询",
  3939. "name": "userName",
  3940. "in": "query"
  3941. }
  3942. ],
  3943. "responses": {
  3944. "200": {
  3945. "description": "OK",
  3946. "schema": {
  3947. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3948. }
  3949. },
  3950. "500": {
  3951. "description": "Internal Server Error",
  3952. "schema": {
  3953. "$ref": "#/definitions/app.Response"
  3954. }
  3955. }
  3956. }
  3957. }
  3958. },
  3959. "/HSBY/GetHsbyMyCount": {
  3960. "get": {
  3961. "security": [
  3962. {
  3963. "ApiKeyAuth": []
  3964. }
  3965. ],
  3966. "description": "说明: 不包括已完成的数量。",
  3967. "produces": [
  3968. "application/json"
  3969. ],
  3970. "tags": [
  3971. "定制【海商报业】"
  3972. ],
  3973. "summary": "获取我的订单与包裹数量",
  3974. "parameters": [
  3975. {
  3976. "type": "string",
  3977. "description": "资金账户列表,格式:1,2,3",
  3978. "name": "accountIDs",
  3979. "in": "query",
  3980. "required": true
  3981. }
  3982. ],
  3983. "responses": {
  3984. "200": {
  3985. "description": "OK",
  3986. "schema": {
  3987. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3988. }
  3989. },
  3990. "500": {
  3991. "description": "Internal Server Error",
  3992. "schema": {
  3993. "$ref": "#/definitions/app.Response"
  3994. }
  3995. }
  3996. }
  3997. }
  3998. },
  3999. "/HSBY/QueryClientFixedADConfigs": {
  4000. "get": {
  4001. "security": [
  4002. {
  4003. "ApiKeyAuth": []
  4004. }
  4005. ],
  4006. "produces": [
  4007. "application/json"
  4008. ],
  4009. "tags": [
  4010. "定制【海商报业】"
  4011. ],
  4012. "summary": "获取终端固定广告配置",
  4013. "responses": {
  4014. "200": {
  4015. "description": "OK",
  4016. "schema": {
  4017. "$ref": "#/definitions/models.Clientfixedadconfig"
  4018. }
  4019. },
  4020. "500": {
  4021. "description": "Internal Server Error",
  4022. "schema": {
  4023. "$ref": "#/definitions/app.Response"
  4024. }
  4025. }
  4026. }
  4027. }
  4028. },
  4029. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  4030. "get": {
  4031. "security": [
  4032. {
  4033. "ApiKeyAuth": []
  4034. }
  4035. ],
  4036. "produces": [
  4037. "application/json"
  4038. ],
  4039. "tags": [
  4040. "定制【海商报业】"
  4041. ],
  4042. "summary": "查询\"我的订单 - 已完成\"单据信息",
  4043. "parameters": [
  4044. {
  4045. "type": "integer",
  4046. "description": "页码",
  4047. "name": "page",
  4048. "in": "query"
  4049. },
  4050. {
  4051. "type": "integer",
  4052. "description": "每页条数",
  4053. "name": "pagesize",
  4054. "in": "query"
  4055. },
  4056. {
  4057. "type": "string",
  4058. "description": "资金账户列表,格式:1,2,3",
  4059. "name": "accountIDs",
  4060. "in": "query",
  4061. "required": true
  4062. }
  4063. ],
  4064. "responses": {
  4065. "200": {
  4066. "description": "OK",
  4067. "schema": {
  4068. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  4069. }
  4070. },
  4071. "500": {
  4072. "description": "Internal Server Error",
  4073. "schema": {
  4074. "$ref": "#/definitions/app.Response"
  4075. }
  4076. }
  4077. }
  4078. }
  4079. },
  4080. "/HSBY/QueryHsbyGoodsOrderDetails": {
  4081. "get": {
  4082. "security": [
  4083. {
  4084. "ApiKeyAuth": []
  4085. }
  4086. ],
  4087. "description": "说明:查询结果已按委托价格和委托时间排序",
  4088. "produces": [
  4089. "application/json"
  4090. ],
  4091. "tags": [
  4092. "定制【海商报业】"
  4093. ],
  4094. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  4095. "parameters": [
  4096. {
  4097. "type": "integer",
  4098. "description": "商品ID",
  4099. "name": "goodsID",
  4100. "in": "query",
  4101. "required": true
  4102. },
  4103. {
  4104. "type": "string",
  4105. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  4106. "name": "accountIDs",
  4107. "in": "query"
  4108. },
  4109. {
  4110. "type": "integer",
  4111. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  4112. "name": "buyOrSell",
  4113. "in": "query"
  4114. },
  4115. {
  4116. "type": "number",
  4117. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  4118. "name": "price",
  4119. "in": "query"
  4120. },
  4121. {
  4122. "type": "integer",
  4123. "description": "档位,不传则默认为3档",
  4124. "name": "speed",
  4125. "in": "query"
  4126. }
  4127. ],
  4128. "responses": {
  4129. "200": {
  4130. "description": "OK",
  4131. "schema": {
  4132. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  4133. }
  4134. },
  4135. "500": {
  4136. "description": "Internal Server Error",
  4137. "schema": {
  4138. "$ref": "#/definitions/app.Response"
  4139. }
  4140. }
  4141. }
  4142. }
  4143. },
  4144. "/HSBY/QueryHsbyListingGoodsDetail": {
  4145. "get": {
  4146. "security": [
  4147. {
  4148. "ApiKeyAuth": []
  4149. }
  4150. ],
  4151. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  4152. "produces": [
  4153. "application/json"
  4154. ],
  4155. "tags": [
  4156. "定制【海商报业】"
  4157. ],
  4158. "summary": "查询二级市场(挂牌点选)商品信息详情",
  4159. "parameters": [
  4160. {
  4161. "type": "integer",
  4162. "description": "商品ID",
  4163. "name": "goodsID",
  4164. "in": "query",
  4165. "required": true
  4166. },
  4167. {
  4168. "type": "integer",
  4169. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  4170. "name": "accountID",
  4171. "in": "query"
  4172. }
  4173. ],
  4174. "responses": {
  4175. "200": {
  4176. "description": "OK",
  4177. "schema": {
  4178. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  4179. }
  4180. },
  4181. "500": {
  4182. "description": "Internal Server Error",
  4183. "schema": {
  4184. "$ref": "#/definitions/app.Response"
  4185. }
  4186. }
  4187. }
  4188. }
  4189. },
  4190. "/HSBY/QueryHsbyMarketGoodsDetail": {
  4191. "get": {
  4192. "security": [
  4193. {
  4194. "ApiKeyAuth": []
  4195. }
  4196. ],
  4197. "produces": [
  4198. "application/json"
  4199. ],
  4200. "tags": [
  4201. "定制【海商报业】"
  4202. ],
  4203. "summary": "查询三级市场(商城)商品信息详情",
  4204. "parameters": [
  4205. {
  4206. "type": "integer",
  4207. "description": "委托单号",
  4208. "name": "orderID",
  4209. "in": "query",
  4210. "required": true
  4211. },
  4212. {
  4213. "type": "integer",
  4214. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  4215. "name": "accountID",
  4216. "in": "query"
  4217. }
  4218. ],
  4219. "responses": {
  4220. "200": {
  4221. "description": "OK",
  4222. "schema": {
  4223. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4224. }
  4225. },
  4226. "500": {
  4227. "description": "Internal Server Error",
  4228. "schema": {
  4229. "$ref": "#/definitions/app.Response"
  4230. }
  4231. }
  4232. }
  4233. }
  4234. },
  4235. "/HSBY/QueryHsbyMarketGoodses": {
  4236. "get": {
  4237. "security": [
  4238. {
  4239. "ApiKeyAuth": []
  4240. }
  4241. ],
  4242. "produces": [
  4243. "application/json"
  4244. ],
  4245. "tags": [
  4246. "定制【海商报业】"
  4247. ],
  4248. "summary": "查询特卖商品列表(三级商城)",
  4249. "parameters": [
  4250. {
  4251. "type": "integer",
  4252. "description": "页码",
  4253. "name": "page",
  4254. "in": "query"
  4255. },
  4256. {
  4257. "type": "integer",
  4258. "description": "每页条数",
  4259. "name": "pagesize",
  4260. "in": "query"
  4261. },
  4262. {
  4263. "type": "string",
  4264. "description": "市场ID列表,格式:1,2,3",
  4265. "name": "marketIDs",
  4266. "in": "query",
  4267. "required": true
  4268. },
  4269. {
  4270. "type": "integer",
  4271. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  4272. "name": "accountID",
  4273. "in": "query",
  4274. "required": true
  4275. },
  4276. {
  4277. "type": "integer",
  4278. "description": "类别ID",
  4279. "name": "categoryID",
  4280. "in": "query"
  4281. },
  4282. {
  4283. "type": "string",
  4284. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4285. "name": "goodsIDs",
  4286. "in": "query"
  4287. },
  4288. {
  4289. "type": "integer",
  4290. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  4291. "name": "couponTypeID",
  4292. "in": "query"
  4293. }
  4294. ],
  4295. "responses": {
  4296. "200": {
  4297. "description": "OK",
  4298. "schema": {
  4299. "$ref": "#/definitions/models.HsbyMarketGoods"
  4300. }
  4301. },
  4302. "500": {
  4303. "description": "Internal Server Error",
  4304. "schema": {
  4305. "$ref": "#/definitions/app.Response"
  4306. }
  4307. }
  4308. }
  4309. }
  4310. },
  4311. "/HSBY/QueryHsbyMarkets": {
  4312. "get": {
  4313. "security": [
  4314. {
  4315. "ApiKeyAuth": []
  4316. }
  4317. ],
  4318. "produces": [
  4319. "application/json"
  4320. ],
  4321. "tags": [
  4322. "定制【海商报业】"
  4323. ],
  4324. "summary": "查询海商报业相关市场信息",
  4325. "responses": {
  4326. "200": {
  4327. "description": "OK",
  4328. "schema": {
  4329. "$ref": "#/definitions/models.HsbyMarketInfo"
  4330. }
  4331. },
  4332. "500": {
  4333. "description": "Internal Server Error",
  4334. "schema": {
  4335. "$ref": "#/definitions/app.Response"
  4336. }
  4337. }
  4338. }
  4339. }
  4340. },
  4341. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  4342. "get": {
  4343. "security": [
  4344. {
  4345. "ApiKeyAuth": []
  4346. }
  4347. ],
  4348. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  4349. "produces": [
  4350. "application/json"
  4351. ],
  4352. "tags": [
  4353. "定制【海商报业】"
  4354. ],
  4355. "summary": "查询“我的订单”信息",
  4356. "parameters": [
  4357. {
  4358. "type": "string",
  4359. "description": "资金账户列表,格式:1,2,3",
  4360. "name": "accountIDs",
  4361. "in": "query",
  4362. "required": true
  4363. }
  4364. ],
  4365. "responses": {
  4366. "200": {
  4367. "description": "OK",
  4368. "schema": {
  4369. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  4370. }
  4371. },
  4372. "500": {
  4373. "description": "Internal Server Error",
  4374. "schema": {
  4375. "$ref": "#/definitions/app.Response"
  4376. }
  4377. }
  4378. }
  4379. }
  4380. },
  4381. "/HSBY/QueryHsbyMyGoods": {
  4382. "get": {
  4383. "security": [
  4384. {
  4385. "ApiKeyAuth": []
  4386. }
  4387. ],
  4388. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  4389. "produces": [
  4390. "application/json"
  4391. ],
  4392. "tags": [
  4393. "定制【海商报业】"
  4394. ],
  4395. "summary": "查询“我的商品”信息",
  4396. "parameters": [
  4397. {
  4398. "type": "string",
  4399. "description": "资金账户列表,格式:1,2,3",
  4400. "name": "accountIDs",
  4401. "in": "query",
  4402. "required": true
  4403. }
  4404. ],
  4405. "responses": {
  4406. "200": {
  4407. "description": "OK",
  4408. "schema": {
  4409. "$ref": "#/definitions/models.HsbyMyGoods"
  4410. }
  4411. },
  4412. "500": {
  4413. "description": "Internal Server Error",
  4414. "schema": {
  4415. "$ref": "#/definitions/app.Response"
  4416. }
  4417. }
  4418. }
  4419. }
  4420. },
  4421. "/HSBY/QueryHsbyMyPackages": {
  4422. "get": {
  4423. "security": [
  4424. {
  4425. "ApiKeyAuth": []
  4426. }
  4427. ],
  4428. "produces": [
  4429. "application/json"
  4430. ],
  4431. "tags": [
  4432. "定制【海商报业】"
  4433. ],
  4434. "summary": "查询我的包裹信息",
  4435. "parameters": [
  4436. {
  4437. "type": "string",
  4438. "description": "资金账户列表,格式:1,2,3",
  4439. "name": "accountIDs",
  4440. "in": "query",
  4441. "required": true
  4442. },
  4443. {
  4444. "type": "integer",
  4445. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4446. "name": "takeOrderStatus",
  4447. "in": "query"
  4448. }
  4449. ],
  4450. "responses": {
  4451. "200": {
  4452. "description": "OK",
  4453. "schema": {
  4454. "$ref": "#/definitions/models.HsbyMyPackage"
  4455. }
  4456. },
  4457. "500": {
  4458. "description": "Internal Server Error",
  4459. "schema": {
  4460. "$ref": "#/definitions/app.Response"
  4461. }
  4462. }
  4463. }
  4464. }
  4465. },
  4466. "/HSBY/QueryHsbyPreGoodsDetail": {
  4467. "get": {
  4468. "security": [
  4469. {
  4470. "ApiKeyAuth": []
  4471. }
  4472. ],
  4473. "produces": [
  4474. "application/json"
  4475. ],
  4476. "tags": [
  4477. "定制【海商报业】"
  4478. ],
  4479. "summary": "查询一级市场(预售)商品信息详情",
  4480. "parameters": [
  4481. {
  4482. "type": "integer",
  4483. "description": "商品ID",
  4484. "name": "goodsID",
  4485. "in": "query",
  4486. "required": true
  4487. },
  4488. {
  4489. "type": "integer",
  4490. "description": "资金账户,主要用于获取预售商品购买上限",
  4491. "name": "accountID",
  4492. "in": "query"
  4493. }
  4494. ],
  4495. "responses": {
  4496. "200": {
  4497. "description": "OK",
  4498. "schema": {
  4499. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  4500. }
  4501. },
  4502. "500": {
  4503. "description": "Internal Server Error",
  4504. "schema": {
  4505. "$ref": "#/definitions/app.Response"
  4506. }
  4507. }
  4508. }
  4509. }
  4510. },
  4511. "/HSBY/QueryHsbyPreGoodses": {
  4512. "get": {
  4513. "security": [
  4514. {
  4515. "ApiKeyAuth": []
  4516. }
  4517. ],
  4518. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  4519. "produces": [
  4520. "application/json"
  4521. ],
  4522. "tags": [
  4523. "定制【海商报业】"
  4524. ],
  4525. "summary": "查询新品上市商品列表(一级市场预售)",
  4526. "parameters": [
  4527. {
  4528. "type": "integer",
  4529. "description": "页码",
  4530. "name": "page",
  4531. "in": "query"
  4532. },
  4533. {
  4534. "type": "integer",
  4535. "description": "每页条数",
  4536. "name": "pagesize",
  4537. "in": "query"
  4538. },
  4539. {
  4540. "type": "string",
  4541. "description": "市场ID列表,格式:1,2,3",
  4542. "name": "marketIDs",
  4543. "in": "query",
  4544. "required": true
  4545. },
  4546. {
  4547. "type": "integer",
  4548. "description": "目的地(省)ID",
  4549. "name": "descProvinceID",
  4550. "in": "query"
  4551. },
  4552. {
  4553. "type": "integer",
  4554. "description": "目的地(市)ID",
  4555. "name": "descCityID",
  4556. "in": "query"
  4557. }
  4558. ],
  4559. "responses": {
  4560. "200": {
  4561. "description": "OK",
  4562. "schema": {
  4563. "$ref": "#/definitions/models.HsbyPreGoods"
  4564. }
  4565. },
  4566. "500": {
  4567. "description": "Internal Server Error",
  4568. "schema": {
  4569. "$ref": "#/definitions/app.Response"
  4570. }
  4571. }
  4572. }
  4573. }
  4574. },
  4575. "/HSBY/QueryHsbySellMyDetails": {
  4576. "get": {
  4577. "security": [
  4578. {
  4579. "ApiKeyAuth": []
  4580. }
  4581. ],
  4582. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  4583. "produces": [
  4584. "application/json"
  4585. ],
  4586. "tags": [
  4587. "定制【海商报业】"
  4588. ],
  4589. "summary": "查询\"我的闲置\"单据信息",
  4590. "parameters": [
  4591. {
  4592. "type": "integer",
  4593. "description": "页码",
  4594. "name": "page",
  4595. "in": "query"
  4596. },
  4597. {
  4598. "type": "integer",
  4599. "description": "每页条数",
  4600. "name": "pagesize",
  4601. "in": "query"
  4602. },
  4603. {
  4604. "type": "string",
  4605. "description": "资金账户列表,格式:1,2,3",
  4606. "name": "accountIDs",
  4607. "in": "query",
  4608. "required": true
  4609. },
  4610. {
  4611. "type": "integer",
  4612. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  4613. "name": "orderType",
  4614. "in": "query"
  4615. }
  4616. ],
  4617. "responses": {
  4618. "200": {
  4619. "description": "OK",
  4620. "schema": {
  4621. "$ref": "#/definitions/models.HsbySellMyDetail"
  4622. }
  4623. },
  4624. "500": {
  4625. "description": "Internal Server Error",
  4626. "schema": {
  4627. "$ref": "#/definitions/app.Response"
  4628. }
  4629. }
  4630. }
  4631. }
  4632. },
  4633. "/HSBY/QueryHsbyTopGoodses": {
  4634. "get": {
  4635. "security": [
  4636. {
  4637. "ApiKeyAuth": []
  4638. }
  4639. ],
  4640. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4641. "produces": [
  4642. "application/json"
  4643. ],
  4644. "tags": [
  4645. "定制【海商报业】"
  4646. ],
  4647. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4648. "parameters": [
  4649. {
  4650. "type": "integer",
  4651. "description": "页码",
  4652. "name": "page",
  4653. "in": "query"
  4654. },
  4655. {
  4656. "type": "integer",
  4657. "description": "每页条数",
  4658. "name": "pagesize",
  4659. "in": "query"
  4660. },
  4661. {
  4662. "type": "string",
  4663. "description": "市场ID列表,格式:1,2,3",
  4664. "name": "marketIDs",
  4665. "in": "query",
  4666. "required": true
  4667. },
  4668. {
  4669. "type": "integer",
  4670. "description": "目的地(省)ID",
  4671. "name": "descProvinceID",
  4672. "in": "query"
  4673. },
  4674. {
  4675. "type": "integer",
  4676. "description": "目的地(市)ID",
  4677. "name": "descCityID",
  4678. "in": "query"
  4679. }
  4680. ],
  4681. "responses": {
  4682. "200": {
  4683. "description": "OK",
  4684. "schema": {
  4685. "$ref": "#/definitions/models.HsbyTopGoods"
  4686. }
  4687. },
  4688. "500": {
  4689. "description": "Internal Server Error",
  4690. "schema": {
  4691. "$ref": "#/definitions/app.Response"
  4692. }
  4693. }
  4694. }
  4695. }
  4696. },
  4697. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4698. "get": {
  4699. "security": [
  4700. {
  4701. "ApiKeyAuth": []
  4702. }
  4703. ],
  4704. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4705. "produces": [
  4706. "application/json"
  4707. ],
  4708. "tags": [
  4709. "定制【海商报业】"
  4710. ],
  4711. "summary": "查询游客三级市场(商城)商品信息详情",
  4712. "parameters": [
  4713. {
  4714. "type": "integer",
  4715. "description": "商品ID",
  4716. "name": "goodsID",
  4717. "in": "query",
  4718. "required": true
  4719. }
  4720. ],
  4721. "responses": {
  4722. "200": {
  4723. "description": "OK",
  4724. "schema": {
  4725. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4726. }
  4727. },
  4728. "500": {
  4729. "description": "Internal Server Error",
  4730. "schema": {
  4731. "$ref": "#/definitions/app.Response"
  4732. }
  4733. }
  4734. }
  4735. }
  4736. },
  4737. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4738. "get": {
  4739. "security": [
  4740. {
  4741. "ApiKeyAuth": []
  4742. }
  4743. ],
  4744. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4745. "produces": [
  4746. "application/json"
  4747. ],
  4748. "tags": [
  4749. "定制【海商报业】"
  4750. ],
  4751. "summary": "查询游客特卖商品列表(三级商城)",
  4752. "parameters": [
  4753. {
  4754. "type": "integer",
  4755. "description": "页码",
  4756. "name": "page",
  4757. "in": "query"
  4758. },
  4759. {
  4760. "type": "integer",
  4761. "description": "每页条数",
  4762. "name": "pagesize",
  4763. "in": "query"
  4764. },
  4765. {
  4766. "type": "string",
  4767. "description": "市场ID列表,格式:1,2,3",
  4768. "name": "marketIDs",
  4769. "in": "query",
  4770. "required": true
  4771. },
  4772. {
  4773. "type": "integer",
  4774. "description": "类别ID",
  4775. "name": "categoryID",
  4776. "in": "query"
  4777. },
  4778. {
  4779. "type": "string",
  4780. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4781. "name": "goodsIDs",
  4782. "in": "query"
  4783. }
  4784. ],
  4785. "responses": {
  4786. "200": {
  4787. "description": "OK",
  4788. "schema": {
  4789. "$ref": "#/definitions/models.HsbyMarketGoods"
  4790. }
  4791. },
  4792. "500": {
  4793. "description": "Internal Server Error",
  4794. "schema": {
  4795. "$ref": "#/definitions/app.Response"
  4796. }
  4797. }
  4798. }
  4799. }
  4800. },
  4801. "/HSBY/QueryMyCollectionOrders": {
  4802. "get": {
  4803. "security": [
  4804. {
  4805. "ApiKeyAuth": []
  4806. }
  4807. ],
  4808. "produces": [
  4809. "application/json"
  4810. ],
  4811. "tags": [
  4812. "定制【海商报业】"
  4813. ],
  4814. "summary": "我的闲置中收款信息查询",
  4815. "parameters": [
  4816. {
  4817. "type": "integer",
  4818. "description": "页码",
  4819. "name": "page",
  4820. "in": "query"
  4821. },
  4822. {
  4823. "type": "integer",
  4824. "description": "每页条数",
  4825. "name": "pagesize",
  4826. "in": "query"
  4827. },
  4828. {
  4829. "type": "string",
  4830. "description": "资金账户,格式:1,2,3",
  4831. "name": "accountIDs",
  4832. "in": "query",
  4833. "required": true
  4834. }
  4835. ],
  4836. "responses": {
  4837. "200": {
  4838. "description": "OK",
  4839. "schema": {
  4840. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4841. }
  4842. },
  4843. "500": {
  4844. "description": "Internal Server Error",
  4845. "schema": {
  4846. "$ref": "#/definitions/app.Response"
  4847. }
  4848. }
  4849. }
  4850. }
  4851. },
  4852. "/HSBY/QueryMyCouponHolds": {
  4853. "get": {
  4854. "security": [
  4855. {
  4856. "ApiKeyAuth": []
  4857. }
  4858. ],
  4859. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4860. "produces": [
  4861. "application/json"
  4862. ],
  4863. "tags": [
  4864. "定制【海商报业】"
  4865. ],
  4866. "summary": "我的优惠卷持仓查询",
  4867. "parameters": [
  4868. {
  4869. "type": "string",
  4870. "description": "资金账户列表,格式:1,2,3",
  4871. "name": "accountIDs",
  4872. "in": "query",
  4873. "required": true
  4874. },
  4875. {
  4876. "type": "string",
  4877. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4878. "name": "holdStatus",
  4879. "in": "query"
  4880. }
  4881. ],
  4882. "responses": {
  4883. "200": {
  4884. "description": "OK",
  4885. "schema": {
  4886. "$ref": "#/definitions/models.MyCouponHold"
  4887. }
  4888. },
  4889. "500": {
  4890. "description": "Internal Server Error",
  4891. "schema": {
  4892. "$ref": "#/definitions/app.Response"
  4893. }
  4894. }
  4895. }
  4896. }
  4897. },
  4898. "/HSBY/QueryMyCoupons": {
  4899. "get": {
  4900. "security": [
  4901. {
  4902. "ApiKeyAuth": []
  4903. }
  4904. ],
  4905. "produces": [
  4906. "application/json"
  4907. ],
  4908. "tags": [
  4909. "定制【海商报业】"
  4910. ],
  4911. "summary": "我的优惠卷查询",
  4912. "parameters": [
  4913. {
  4914. "type": "string",
  4915. "description": "资金账户列表,格式:1,2,3",
  4916. "name": "accountIDs",
  4917. "in": "query",
  4918. "required": true
  4919. },
  4920. {
  4921. "type": "integer",
  4922. "description": "商品ID, 一般与sellUserID配套传入",
  4923. "name": "goodsID",
  4924. "in": "query"
  4925. },
  4926. {
  4927. "type": "integer",
  4928. "description": "卖方UserID",
  4929. "name": "sellUserID",
  4930. "in": "query"
  4931. }
  4932. ],
  4933. "responses": {
  4934. "200": {
  4935. "description": "OK",
  4936. "schema": {
  4937. "$ref": "#/definitions/models.MyCoupon"
  4938. }
  4939. },
  4940. "500": {
  4941. "description": "Internal Server Error",
  4942. "schema": {
  4943. "$ref": "#/definitions/app.Response"
  4944. }
  4945. }
  4946. }
  4947. }
  4948. },
  4949. "/HSBY/QueryMyPayOrders": {
  4950. "get": {
  4951. "security": [
  4952. {
  4953. "ApiKeyAuth": []
  4954. }
  4955. ],
  4956. "produces": [
  4957. "application/json"
  4958. ],
  4959. "tags": [
  4960. "定制【海商报业】"
  4961. ],
  4962. "summary": "获取我的订单中待付款信息",
  4963. "parameters": [
  4964. {
  4965. "type": "integer",
  4966. "description": "页码",
  4967. "name": "page",
  4968. "in": "query"
  4969. },
  4970. {
  4971. "type": "integer",
  4972. "description": "每页条数",
  4973. "name": "pagesize",
  4974. "in": "query"
  4975. },
  4976. {
  4977. "type": "string",
  4978. "description": "资金账户列表,格式:1,2,3",
  4979. "name": "accountIDs",
  4980. "in": "query",
  4981. "required": true
  4982. },
  4983. {
  4984. "type": "integer",
  4985. "description": "买方委托单号",
  4986. "name": "buyOrderID",
  4987. "in": "query"
  4988. },
  4989. {
  4990. "type": "integer",
  4991. "description": "卖方委托单号",
  4992. "name": "sellOrderID",
  4993. "in": "query"
  4994. }
  4995. ],
  4996. "responses": {
  4997. "200": {
  4998. "description": "OK",
  4999. "schema": {
  5000. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  5001. }
  5002. },
  5003. "500": {
  5004. "description": "Internal Server Error",
  5005. "schema": {
  5006. "$ref": "#/definitions/app.Response"
  5007. }
  5008. }
  5009. }
  5010. }
  5011. },
  5012. "/HSBY/QueryMyUsedCoupon": {
  5013. "get": {
  5014. "security": [
  5015. {
  5016. "ApiKeyAuth": []
  5017. }
  5018. ],
  5019. "produces": [
  5020. "application/json"
  5021. ],
  5022. "tags": [
  5023. "定制【海商报业】"
  5024. ],
  5025. "summary": "已使用优惠卷查询",
  5026. "parameters": [
  5027. {
  5028. "type": "string",
  5029. "description": "资金账户列表,格式:1,2,3",
  5030. "name": "accountIDs",
  5031. "in": "query",
  5032. "required": true
  5033. }
  5034. ],
  5035. "responses": {
  5036. "200": {
  5037. "description": "OK",
  5038. "schema": {
  5039. "$ref": "#/definitions/models.MyUsedCoupon"
  5040. }
  5041. },
  5042. "500": {
  5043. "description": "Internal Server Error",
  5044. "schema": {
  5045. "$ref": "#/definitions/app.Response"
  5046. }
  5047. }
  5048. }
  5049. }
  5050. },
  5051. "/HSBY/QueryProvincesAndCities": {
  5052. "get": {
  5053. "security": [
  5054. {
  5055. "ApiKeyAuth": []
  5056. }
  5057. ],
  5058. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  5059. "produces": [
  5060. "application/json"
  5061. ],
  5062. "tags": [
  5063. "定制【海商报业】"
  5064. ],
  5065. "summary": "查询省市信息(不包括区)",
  5066. "parameters": [
  5067. {
  5068. "type": "integer",
  5069. "description": "省ID",
  5070. "name": "provinceID",
  5071. "in": "query"
  5072. }
  5073. ],
  5074. "responses": {
  5075. "200": {
  5076. "description": "OK",
  5077. "schema": {
  5078. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  5079. }
  5080. },
  5081. "500": {
  5082. "description": "Internal Server Error",
  5083. "schema": {
  5084. "$ref": "#/definitions/app.Response"
  5085. }
  5086. }
  5087. }
  5088. }
  5089. },
  5090. "/HSBY/SetHsbyMyPackagesStatus": {
  5091. "post": {
  5092. "security": [
  5093. {
  5094. "ApiKeyAuth": []
  5095. }
  5096. ],
  5097. "produces": [
  5098. "application/json"
  5099. ],
  5100. "tags": [
  5101. "定制【海商报业】"
  5102. ],
  5103. "summary": "设置我的包裹已收货状态",
  5104. "parameters": [
  5105. {
  5106. "type": "string",
  5107. "description": "提货单号",
  5108. "name": "takeOrderID",
  5109. "in": "query",
  5110. "required": true
  5111. },
  5112. {
  5113. "type": "integer",
  5114. "description": "资金账号",
  5115. "name": "accountID",
  5116. "in": "query",
  5117. "required": true
  5118. }
  5119. ],
  5120. "responses": {
  5121. "200": {
  5122. "description": "OK",
  5123. "schema": {
  5124. "$ref": "#/definitions/app.Response"
  5125. }
  5126. },
  5127. "500": {
  5128. "description": "Internal Server Error",
  5129. "schema": {
  5130. "$ref": "#/definitions/app.Response"
  5131. }
  5132. }
  5133. }
  5134. }
  5135. },
  5136. "/Market/QueryGoodsesByLoginID": {
  5137. "get": {
  5138. "security": [
  5139. {
  5140. "ApiKeyAuth": []
  5141. }
  5142. ],
  5143. "produces": [
  5144. "application/json"
  5145. ],
  5146. "tags": [
  5147. "通用市场"
  5148. ],
  5149. "summary": "获取登录账号有权限的商品信息",
  5150. "parameters": [
  5151. {
  5152. "type": "integer",
  5153. "description": "登录账号",
  5154. "name": "loginID",
  5155. "in": "query",
  5156. "required": true
  5157. },
  5158. {
  5159. "type": "string",
  5160. "description": "市场ID列表,格式:1,2,3",
  5161. "name": "marketIDs",
  5162. "in": "query"
  5163. }
  5164. ],
  5165. "responses": {
  5166. "200": {
  5167. "description": "OK",
  5168. "schema": {
  5169. "$ref": "#/definitions/models.Goods"
  5170. }
  5171. },
  5172. "500": {
  5173. "description": "Internal Server Error",
  5174. "schema": {
  5175. "$ref": "#/definitions/app.Response"
  5176. }
  5177. }
  5178. }
  5179. }
  5180. },
  5181. "/Market/QueryMarketRun": {
  5182. "get": {
  5183. "security": [
  5184. {
  5185. "ApiKeyAuth": []
  5186. }
  5187. ],
  5188. "produces": [
  5189. "application/json"
  5190. ],
  5191. "tags": [
  5192. "通用市场"
  5193. ],
  5194. "summary": "查询市场运行信息",
  5195. "parameters": [
  5196. {
  5197. "type": "integer",
  5198. "description": "市场ID,不传返回所有",
  5199. "name": "marketID",
  5200. "in": "query"
  5201. }
  5202. ],
  5203. "responses": {
  5204. "200": {
  5205. "description": "OK",
  5206. "schema": {
  5207. "$ref": "#/definitions/models.Marketrun"
  5208. }
  5209. },
  5210. "500": {
  5211. "description": "Internal Server Error",
  5212. "schema": {
  5213. "$ref": "#/definitions/app.Response"
  5214. }
  5215. }
  5216. }
  5217. }
  5218. },
  5219. "/Market/QueryMarketsByLoginID": {
  5220. "get": {
  5221. "security": [
  5222. {
  5223. "ApiKeyAuth": []
  5224. }
  5225. ],
  5226. "produces": [
  5227. "application/json"
  5228. ],
  5229. "tags": [
  5230. "通用市场"
  5231. ],
  5232. "summary": "获取登录账号有权限的市场信息",
  5233. "parameters": [
  5234. {
  5235. "type": "integer",
  5236. "description": "登录账号",
  5237. "name": "loginID",
  5238. "in": "query",
  5239. "required": true
  5240. }
  5241. ],
  5242. "responses": {
  5243. "200": {
  5244. "description": "OK",
  5245. "schema": {
  5246. "$ref": "#/definitions/models.Market"
  5247. }
  5248. },
  5249. "500": {
  5250. "description": "Internal Server Error",
  5251. "schema": {
  5252. "$ref": "#/definitions/app.Response"
  5253. }
  5254. }
  5255. }
  5256. }
  5257. },
  5258. "/Order/QueryHisTradeDetail": {
  5259. "get": {
  5260. "security": [
  5261. {
  5262. "ApiKeyAuth": []
  5263. }
  5264. ],
  5265. "produces": [
  5266. "application/json"
  5267. ],
  5268. "tags": [
  5269. "通用单据"
  5270. ],
  5271. "summary": "历史成交单查询(合约市场)",
  5272. "parameters": [
  5273. {
  5274. "type": "string",
  5275. "description": "资金账户 - 格式:1,2,3",
  5276. "name": "accountID",
  5277. "in": "query",
  5278. "required": true
  5279. },
  5280. {
  5281. "type": "integer",
  5282. "description": "成交单号",
  5283. "name": "tradeID",
  5284. "in": "query"
  5285. },
  5286. {
  5287. "type": "integer",
  5288. "description": "委托单号",
  5289. "name": "orderID",
  5290. "in": "query"
  5291. },
  5292. {
  5293. "type": "string",
  5294. "description": "交易模式 - 格式:1,2,3",
  5295. "name": "tradeMode",
  5296. "in": "query"
  5297. },
  5298. {
  5299. "type": "integer",
  5300. "description": "委托单据类型",
  5301. "name": "buildType",
  5302. "in": "query"
  5303. },
  5304. {
  5305. "type": "string",
  5306. "description": "成交类别 - 格式:1,2,3",
  5307. "name": "tradeType",
  5308. "in": "query"
  5309. },
  5310. {
  5311. "type": "string",
  5312. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5313. "name": "startDate",
  5314. "in": "query"
  5315. },
  5316. {
  5317. "type": "string",
  5318. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5319. "name": "endDate",
  5320. "in": "query"
  5321. }
  5322. ],
  5323. "responses": {
  5324. "200": {
  5325. "description": "OK",
  5326. "schema": {
  5327. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  5328. }
  5329. },
  5330. "500": {
  5331. "description": "Internal Server Error",
  5332. "schema": {
  5333. "$ref": "#/definitions/app.Response"
  5334. }
  5335. }
  5336. }
  5337. }
  5338. },
  5339. "/Order/QueryHisTradeOrderDetail": {
  5340. "get": {
  5341. "security": [
  5342. {
  5343. "ApiKeyAuth": []
  5344. }
  5345. ],
  5346. "produces": [
  5347. "application/json"
  5348. ],
  5349. "tags": [
  5350. "通用单据"
  5351. ],
  5352. "summary": "历史委托单查询请求(合约市场)",
  5353. "parameters": [
  5354. {
  5355. "type": "string",
  5356. "description": "资金账户 - 格式:1,2,3",
  5357. "name": "accountID",
  5358. "in": "query",
  5359. "required": true
  5360. },
  5361. {
  5362. "type": "string",
  5363. "description": "交易模式 - 格式:1,2,3",
  5364. "name": "tradeMode",
  5365. "in": "query"
  5366. },
  5367. {
  5368. "type": "string",
  5369. "description": "委托状态 - 格式:1,2,3",
  5370. "name": "orderStatus",
  5371. "in": "query"
  5372. },
  5373. {
  5374. "type": "integer",
  5375. "description": "委托单号",
  5376. "name": "orderID",
  5377. "in": "query"
  5378. },
  5379. {
  5380. "type": "string",
  5381. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5382. "name": "startDate",
  5383. "in": "query"
  5384. },
  5385. {
  5386. "type": "string",
  5387. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5388. "name": "endDate",
  5389. "in": "query"
  5390. }
  5391. ],
  5392. "responses": {
  5393. "200": {
  5394. "description": "OK",
  5395. "schema": {
  5396. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  5397. }
  5398. },
  5399. "500": {
  5400. "description": "Internal Server Error",
  5401. "schema": {
  5402. "$ref": "#/definitions/app.Response"
  5403. }
  5404. }
  5405. }
  5406. }
  5407. },
  5408. "/Order/QueryTradeDetail": {
  5409. "get": {
  5410. "security": [
  5411. {
  5412. "ApiKeyAuth": []
  5413. }
  5414. ],
  5415. "produces": [
  5416. "application/json"
  5417. ],
  5418. "tags": [
  5419. "通用单据"
  5420. ],
  5421. "summary": "成交单查询(合约市场)",
  5422. "parameters": [
  5423. {
  5424. "type": "string",
  5425. "description": "资金账户 - 格式:1,2,3",
  5426. "name": "accountID",
  5427. "in": "query",
  5428. "required": true
  5429. },
  5430. {
  5431. "type": "integer",
  5432. "description": "成交单号",
  5433. "name": "tradeID",
  5434. "in": "query"
  5435. },
  5436. {
  5437. "type": "integer",
  5438. "description": "委托单号",
  5439. "name": "orderID",
  5440. "in": "query"
  5441. },
  5442. {
  5443. "type": "string",
  5444. "description": "交易模式 - 格式:1,2,3",
  5445. "name": "tradeMode",
  5446. "in": "query"
  5447. },
  5448. {
  5449. "type": "integer",
  5450. "description": "委托单据类型",
  5451. "name": "buildType",
  5452. "in": "query"
  5453. },
  5454. {
  5455. "type": "string",
  5456. "description": "成交类别 - 格式:1,2,3",
  5457. "name": "tradeType",
  5458. "in": "query"
  5459. }
  5460. ],
  5461. "responses": {
  5462. "200": {
  5463. "description": "OK",
  5464. "schema": {
  5465. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  5466. }
  5467. },
  5468. "500": {
  5469. "description": "Internal Server Error",
  5470. "schema": {
  5471. "$ref": "#/definitions/app.Response"
  5472. }
  5473. }
  5474. }
  5475. }
  5476. },
  5477. "/Order/QueryTradeOrderDetail": {
  5478. "get": {
  5479. "security": [
  5480. {
  5481. "ApiKeyAuth": []
  5482. }
  5483. ],
  5484. "produces": [
  5485. "application/json"
  5486. ],
  5487. "tags": [
  5488. "通用单据"
  5489. ],
  5490. "summary": "委托单查询请求(合约市场)",
  5491. "parameters": [
  5492. {
  5493. "type": "string",
  5494. "description": "资金账户 - 格式:1,2,3",
  5495. "name": "accountID",
  5496. "in": "query",
  5497. "required": true
  5498. },
  5499. {
  5500. "type": "string",
  5501. "description": "交易模式 - 格式:1,2,3",
  5502. "name": "tradeMode",
  5503. "in": "query"
  5504. },
  5505. {
  5506. "type": "string",
  5507. "description": "委托状态 - 格式:1,2,3",
  5508. "name": "orderStatus",
  5509. "in": "query"
  5510. },
  5511. {
  5512. "type": "integer",
  5513. "description": "委托单号",
  5514. "name": "orderID",
  5515. "in": "query"
  5516. }
  5517. ],
  5518. "responses": {
  5519. "200": {
  5520. "description": "OK",
  5521. "schema": {
  5522. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  5523. }
  5524. },
  5525. "500": {
  5526. "description": "Internal Server Error",
  5527. "schema": {
  5528. "$ref": "#/definitions/app.Response"
  5529. }
  5530. }
  5531. }
  5532. }
  5533. },
  5534. "/Order/QueryTradePosition": {
  5535. "get": {
  5536. "security": [
  5537. {
  5538. "ApiKeyAuth": []
  5539. }
  5540. ],
  5541. "produces": [
  5542. "application/json"
  5543. ],
  5544. "tags": [
  5545. "通用单据"
  5546. ],
  5547. "summary": "持仓汇总查询(合约市场)",
  5548. "parameters": [
  5549. {
  5550. "type": "string",
  5551. "description": "资金账户 - 格式:1,2,3",
  5552. "name": "accountID",
  5553. "in": "query",
  5554. "required": true
  5555. },
  5556. {
  5557. "type": "string",
  5558. "description": "交易模式 - 格式:1,2,3",
  5559. "name": "tradeMode",
  5560. "in": "query"
  5561. }
  5562. ],
  5563. "responses": {
  5564. "200": {
  5565. "description": "OK",
  5566. "schema": {
  5567. "$ref": "#/definitions/order.QueryTradePositionRsp"
  5568. }
  5569. },
  5570. "500": {
  5571. "description": "Internal Server Error",
  5572. "schema": {
  5573. "$ref": "#/definitions/app.Response"
  5574. }
  5575. }
  5576. }
  5577. }
  5578. },
  5579. "/Quote/QueryHistoryDatas": {
  5580. "get": {
  5581. "security": [
  5582. {
  5583. "ApiKeyAuth": []
  5584. }
  5585. ],
  5586. "produces": [
  5587. "application/json"
  5588. ],
  5589. "tags": [
  5590. "行情服务"
  5591. ],
  5592. "summary": "查询行情历史数据",
  5593. "parameters": [
  5594. {
  5595. "type": "integer",
  5596. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  5597. "name": "cycleType",
  5598. "in": "query",
  5599. "required": true
  5600. },
  5601. {
  5602. "type": "string",
  5603. "description": "商品代码",
  5604. "name": "goodsCode",
  5605. "in": "query",
  5606. "required": true
  5607. },
  5608. {
  5609. "type": "string",
  5610. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5611. "name": "startTime",
  5612. "in": "query"
  5613. },
  5614. {
  5615. "type": "string",
  5616. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5617. "name": "endTime",
  5618. "in": "query"
  5619. },
  5620. {
  5621. "type": "integer",
  5622. "description": "条数",
  5623. "name": "count",
  5624. "in": "query"
  5625. },
  5626. {
  5627. "type": "boolean",
  5628. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5629. "name": "isAsc",
  5630. "in": "query"
  5631. }
  5632. ],
  5633. "responses": {
  5634. "200": {
  5635. "description": "OK",
  5636. "schema": {
  5637. "$ref": "#/definitions/quote.HistoryData"
  5638. }
  5639. },
  5640. "500": {
  5641. "description": "Internal Server Error",
  5642. "schema": {
  5643. "$ref": "#/definitions/app.Response"
  5644. }
  5645. }
  5646. }
  5647. }
  5648. },
  5649. "/Quote/QueryHistoryTikDatas": {
  5650. "get": {
  5651. "security": [
  5652. {
  5653. "ApiKeyAuth": []
  5654. }
  5655. ],
  5656. "produces": [
  5657. "application/json"
  5658. ],
  5659. "tags": [
  5660. "行情服务"
  5661. ],
  5662. "summary": "查询行情Tik数据",
  5663. "parameters": [
  5664. {
  5665. "type": "string",
  5666. "description": "商品代码",
  5667. "name": "goodsCode",
  5668. "in": "query",
  5669. "required": true
  5670. },
  5671. {
  5672. "type": "string",
  5673. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5674. "name": "startTime",
  5675. "in": "query"
  5676. },
  5677. {
  5678. "type": "string",
  5679. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5680. "name": "endTime",
  5681. "in": "query"
  5682. },
  5683. {
  5684. "type": "integer",
  5685. "description": "条数",
  5686. "name": "count",
  5687. "in": "query"
  5688. },
  5689. {
  5690. "type": "boolean",
  5691. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5692. "name": "isAsc",
  5693. "in": "query"
  5694. }
  5695. ],
  5696. "responses": {
  5697. "200": {
  5698. "description": "OK",
  5699. "schema": {
  5700. "$ref": "#/definitions/quote.HistoryTikData"
  5701. }
  5702. },
  5703. "500": {
  5704. "description": "Internal Server Error",
  5705. "schema": {
  5706. "$ref": "#/definitions/app.Response"
  5707. }
  5708. }
  5709. }
  5710. }
  5711. },
  5712. "/Quote/QueryQuoteDay": {
  5713. "get": {
  5714. "security": [
  5715. {
  5716. "ApiKeyAuth": []
  5717. }
  5718. ],
  5719. "produces": [
  5720. "application/json"
  5721. ],
  5722. "tags": [
  5723. "行情服务"
  5724. ],
  5725. "summary": "获取商品盘面信息",
  5726. "parameters": [
  5727. {
  5728. "type": "string",
  5729. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5730. "name": "goodsCodes",
  5731. "in": "query",
  5732. "required": true
  5733. }
  5734. ],
  5735. "responses": {
  5736. "200": {
  5737. "description": "OK",
  5738. "schema": {
  5739. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5740. }
  5741. },
  5742. "500": {
  5743. "description": "Internal Server Error",
  5744. "schema": {
  5745. "$ref": "#/definitions/app.Response"
  5746. }
  5747. }
  5748. }
  5749. }
  5750. },
  5751. "/Quote/QueryTSData": {
  5752. "get": {
  5753. "security": [
  5754. {
  5755. "ApiKeyAuth": []
  5756. }
  5757. ],
  5758. "produces": [
  5759. "application/json"
  5760. ],
  5761. "tags": [
  5762. "行情服务"
  5763. ],
  5764. "summary": "分时图数据查询",
  5765. "parameters": [
  5766. {
  5767. "type": "string",
  5768. "description": "商品代码",
  5769. "name": "goodsCode",
  5770. "in": "query",
  5771. "required": true
  5772. }
  5773. ],
  5774. "responses": {
  5775. "200": {
  5776. "description": "OK",
  5777. "schema": {
  5778. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5779. }
  5780. },
  5781. "500": {
  5782. "description": "Internal Server Error",
  5783. "schema": {
  5784. "$ref": "#/definitions/app.Response"
  5785. }
  5786. }
  5787. }
  5788. }
  5789. },
  5790. "/SZDZ/QueryConvertConfig": {
  5791. "get": {
  5792. "security": [
  5793. {
  5794. "ApiKeyAuth": []
  5795. }
  5796. ],
  5797. "produces": [
  5798. "application/json"
  5799. ],
  5800. "tags": [
  5801. "定制【尚志大宗】"
  5802. ],
  5803. "summary": "查询交易系统转换设置",
  5804. "parameters": [
  5805. {
  5806. "type": "integer",
  5807. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5808. "name": "convertType",
  5809. "in": "query"
  5810. },
  5811. {
  5812. "type": "string",
  5813. "description": "外部商品代码[JD\\PD]",
  5814. "name": "outerGoodsCode",
  5815. "in": "query"
  5816. },
  5817. {
  5818. "type": "string",
  5819. "description": "内部商品ID列表[交易],格式:1,2,3",
  5820. "name": "innerGoodsIDs",
  5821. "in": "query"
  5822. }
  5823. ],
  5824. "responses": {
  5825. "200": {
  5826. "description": "OK",
  5827. "schema": {
  5828. "$ref": "#/definitions/models.Szdz3convertconfig"
  5829. }
  5830. },
  5831. "500": {
  5832. "description": "Internal Server Error",
  5833. "schema": {
  5834. "$ref": "#/definitions/app.Response"
  5835. }
  5836. }
  5837. }
  5838. }
  5839. },
  5840. "/SZDZ/QueryConvertLog": {
  5841. "get": {
  5842. "security": [
  5843. {
  5844. "ApiKeyAuth": []
  5845. }
  5846. ],
  5847. "produces": [
  5848. "application/json"
  5849. ],
  5850. "tags": [
  5851. "定制【尚志大宗】"
  5852. ],
  5853. "summary": "交易系统转换流水查询",
  5854. "parameters": [
  5855. {
  5856. "type": "string",
  5857. "description": "资金账户 - 格式:1,2,3",
  5858. "name": "accountID",
  5859. "in": "query",
  5860. "required": true
  5861. },
  5862. {
  5863. "type": "string",
  5864. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5865. "name": "startDate",
  5866. "in": "query"
  5867. },
  5868. {
  5869. "type": "string",
  5870. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5871. "name": "endDate",
  5872. "in": "query"
  5873. }
  5874. ],
  5875. "responses": {
  5876. "200": {
  5877. "description": "OK",
  5878. "schema": {
  5879. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5880. }
  5881. },
  5882. "500": {
  5883. "description": "Internal Server Error",
  5884. "schema": {
  5885. "$ref": "#/definitions/app.Response"
  5886. }
  5887. }
  5888. }
  5889. }
  5890. },
  5891. "/SZDZ/QueryGoodsPickup": {
  5892. "get": {
  5893. "security": [
  5894. {
  5895. "ApiKeyAuth": []
  5896. }
  5897. ],
  5898. "produces": [
  5899. "application/json"
  5900. ],
  5901. "tags": [
  5902. "定制【尚志大宗】"
  5903. ],
  5904. "summary": "商品提货单查询",
  5905. "parameters": [
  5906. {
  5907. "type": "string",
  5908. "description": "资金账户 - 格式:1,2,3",
  5909. "name": "accountID",
  5910. "in": "query",
  5911. "required": true
  5912. },
  5913. {
  5914. "type": "integer",
  5915. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5916. "name": "takeOrderStatus",
  5917. "in": "query"
  5918. }
  5919. ],
  5920. "responses": {
  5921. "200": {
  5922. "description": "OK",
  5923. "schema": {
  5924. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5925. }
  5926. },
  5927. "500": {
  5928. "description": "Internal Server Error",
  5929. "schema": {
  5930. "$ref": "#/definitions/app.Response"
  5931. }
  5932. }
  5933. }
  5934. }
  5935. },
  5936. "/SZDZ/QueryRecieptOrder": {
  5937. "get": {
  5938. "security": [
  5939. {
  5940. "ApiKeyAuth": []
  5941. }
  5942. ],
  5943. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5944. "produces": [
  5945. "application/json"
  5946. ],
  5947. "tags": [
  5948. "定制【尚志大宗】"
  5949. ],
  5950. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5951. "parameters": [
  5952. {
  5953. "type": "integer",
  5954. "description": "页码",
  5955. "name": "page",
  5956. "in": "query"
  5957. },
  5958. {
  5959. "type": "integer",
  5960. "description": "每页条数",
  5961. "name": "pagesize",
  5962. "in": "query"
  5963. },
  5964. {
  5965. "type": "integer",
  5966. "description": "商品ID",
  5967. "name": "goodsID",
  5968. "in": "query",
  5969. "required": true
  5970. },
  5971. {
  5972. "type": "string",
  5973. "description": "所属账户名称",
  5974. "name": "accountName",
  5975. "in": "query"
  5976. },
  5977. {
  5978. "type": "integer",
  5979. "description": "市场ID",
  5980. "name": "marketID",
  5981. "in": "query"
  5982. },
  5983. {
  5984. "type": "integer",
  5985. "description": "方向 - 0:买 1:卖",
  5986. "name": "buyorsell",
  5987. "in": "query",
  5988. "required": true
  5989. }
  5990. ],
  5991. "responses": {
  5992. "200": {
  5993. "description": "OK",
  5994. "schema": {
  5995. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5996. }
  5997. },
  5998. "500": {
  5999. "description": "Internal Server Error",
  6000. "schema": {
  6001. "$ref": "#/definitions/app.Response"
  6002. }
  6003. }
  6004. }
  6005. }
  6006. },
  6007. "/SZDZ/QuerySZDZTradePosition": {
  6008. "get": {
  6009. "security": [
  6010. {
  6011. "ApiKeyAuth": []
  6012. }
  6013. ],
  6014. "produces": [
  6015. "application/json"
  6016. ],
  6017. "tags": [
  6018. "定制【尚志大宗】"
  6019. ],
  6020. "summary": "持仓汇总查询(尚志大宗)",
  6021. "parameters": [
  6022. {
  6023. "type": "integer",
  6024. "description": "资金账户",
  6025. "name": "accountID",
  6026. "in": "query",
  6027. "required": true
  6028. }
  6029. ],
  6030. "responses": {
  6031. "200": {
  6032. "description": "OK",
  6033. "schema": {
  6034. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  6035. }
  6036. },
  6037. "500": {
  6038. "description": "Internal Server Error",
  6039. "schema": {
  6040. "$ref": "#/definitions/app.Response"
  6041. }
  6042. }
  6043. }
  6044. }
  6045. },
  6046. "/SZDZ/SearchWhite": {
  6047. "get": {
  6048. "security": [
  6049. {
  6050. "ApiKeyAuth": []
  6051. }
  6052. ],
  6053. "produces": [
  6054. "application/json"
  6055. ],
  6056. "tags": [
  6057. "定制【尚志大宗】"
  6058. ],
  6059. "summary": "搜索白名单",
  6060. "parameters": [
  6061. {
  6062. "type": "integer",
  6063. "description": "用户ID",
  6064. "name": "userID",
  6065. "in": "query",
  6066. "required": true
  6067. }
  6068. ],
  6069. "responses": {
  6070. "200": {
  6071. "description": "OK",
  6072. "schema": {
  6073. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  6074. }
  6075. },
  6076. "500": {
  6077. "description": "Internal Server Error",
  6078. "schema": {
  6079. "$ref": "#/definitions/app.Response"
  6080. }
  6081. }
  6082. }
  6083. }
  6084. },
  6085. "/Search/SearchGoodses": {
  6086. "get": {
  6087. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  6088. "produces": [
  6089. "application/json"
  6090. ],
  6091. "tags": [
  6092. "检索服务"
  6093. ],
  6094. "summary": "检索商品信息",
  6095. "parameters": [
  6096. {
  6097. "type": "string",
  6098. "description": "检索内容",
  6099. "name": "content",
  6100. "in": "query",
  6101. "required": true
  6102. },
  6103. {
  6104. "type": "string",
  6105. "description": "交易模式,格式:1,2,3",
  6106. "name": "tradeModes",
  6107. "in": "query"
  6108. }
  6109. ],
  6110. "responses": {
  6111. "200": {
  6112. "description": "OK",
  6113. "schema": {
  6114. "$ref": "#/definitions/models.SearchGoods"
  6115. }
  6116. },
  6117. "500": {
  6118. "description": "Internal Server Error",
  6119. "schema": {
  6120. "$ref": "#/definitions/app.Response"
  6121. }
  6122. }
  6123. }
  6124. }
  6125. },
  6126. "/TaAccount/GetTaAccounts": {
  6127. "get": {
  6128. "security": [
  6129. {
  6130. "ApiKeyAuth": []
  6131. }
  6132. ],
  6133. "produces": [
  6134. "application/json"
  6135. ],
  6136. "tags": [
  6137. "资金账户"
  6138. ],
  6139. "summary": "获取资金账户信息",
  6140. "parameters": [
  6141. {
  6142. "type": "integer",
  6143. "description": "登录账户",
  6144. "name": "loginID",
  6145. "in": "query",
  6146. "required": true
  6147. },
  6148. {
  6149. "type": "integer",
  6150. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  6151. "name": "taAccountType",
  6152. "in": "query"
  6153. }
  6154. ],
  6155. "responses": {
  6156. "200": {
  6157. "description": "OK",
  6158. "schema": {
  6159. "$ref": "#/definitions/models.Taaccount"
  6160. }
  6161. },
  6162. "500": {
  6163. "description": "Internal Server Error",
  6164. "schema": {
  6165. "$ref": "#/definitions/app.Response"
  6166. }
  6167. }
  6168. }
  6169. }
  6170. },
  6171. "/TaAccount/QueryAmountLog": {
  6172. "get": {
  6173. "security": [
  6174. {
  6175. "ApiKeyAuth": []
  6176. }
  6177. ],
  6178. "produces": [
  6179. "application/json"
  6180. ],
  6181. "tags": [
  6182. "资金账户"
  6183. ],
  6184. "summary": "资金流水查询(当前)",
  6185. "parameters": [
  6186. {
  6187. "type": "integer",
  6188. "description": "页码",
  6189. "name": "page",
  6190. "in": "query"
  6191. },
  6192. {
  6193. "type": "integer",
  6194. "description": "每页条数",
  6195. "name": "pagesize",
  6196. "in": "query"
  6197. },
  6198. {
  6199. "type": "string",
  6200. "description": "资金账户 - 格式:1,2,3",
  6201. "name": "accountID",
  6202. "in": "query",
  6203. "required": true
  6204. },
  6205. {
  6206. "type": "string",
  6207. "description": "资金操作类型 - 格式:1,2,3",
  6208. "name": "OperateType",
  6209. "in": "query"
  6210. }
  6211. ],
  6212. "responses": {
  6213. "200": {
  6214. "description": "OK",
  6215. "schema": {
  6216. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  6217. }
  6218. },
  6219. "500": {
  6220. "description": "Internal Server Error",
  6221. "schema": {
  6222. "$ref": "#/definitions/app.Response"
  6223. }
  6224. }
  6225. }
  6226. }
  6227. },
  6228. "/TaAccount/QueryHisAmountLog": {
  6229. "get": {
  6230. "security": [
  6231. {
  6232. "ApiKeyAuth": []
  6233. }
  6234. ],
  6235. "produces": [
  6236. "application/json"
  6237. ],
  6238. "tags": [
  6239. "资金账户"
  6240. ],
  6241. "summary": "资金流水查询(历史)",
  6242. "parameters": [
  6243. {
  6244. "type": "integer",
  6245. "description": "页码",
  6246. "name": "page",
  6247. "in": "query"
  6248. },
  6249. {
  6250. "type": "integer",
  6251. "description": "每页条数",
  6252. "name": "pagesize",
  6253. "in": "query"
  6254. },
  6255. {
  6256. "type": "string",
  6257. "description": "资金账户 - 格式:1,2,3",
  6258. "name": "accountID",
  6259. "in": "query",
  6260. "required": true
  6261. },
  6262. {
  6263. "type": "string",
  6264. "description": "资金操作类型 - 格式:1,2,3",
  6265. "name": "OperateType",
  6266. "in": "query"
  6267. },
  6268. {
  6269. "type": "string",
  6270. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6271. "name": "startDate",
  6272. "in": "query"
  6273. },
  6274. {
  6275. "type": "string",
  6276. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6277. "name": "endDate",
  6278. "in": "query"
  6279. }
  6280. ],
  6281. "responses": {
  6282. "200": {
  6283. "description": "OK",
  6284. "schema": {
  6285. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  6286. }
  6287. },
  6288. "500": {
  6289. "description": "Internal Server Error",
  6290. "schema": {
  6291. "$ref": "#/definitions/app.Response"
  6292. }
  6293. }
  6294. }
  6295. }
  6296. },
  6297. "/Trade/QueryRecieptOrder": {
  6298. "get": {
  6299. "security": [
  6300. {
  6301. "ApiKeyAuth": []
  6302. }
  6303. ],
  6304. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6305. "produces": [
  6306. "application/json"
  6307. ],
  6308. "tags": [
  6309. "通用交易"
  6310. ],
  6311. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  6312. "parameters": [
  6313. {
  6314. "type": "integer",
  6315. "description": "页码",
  6316. "name": "page",
  6317. "in": "query"
  6318. },
  6319. {
  6320. "type": "integer",
  6321. "description": "每页条数",
  6322. "name": "pagesize",
  6323. "in": "query"
  6324. },
  6325. {
  6326. "type": "integer",
  6327. "description": "商品ID",
  6328. "name": "goodsID",
  6329. "in": "query",
  6330. "required": true
  6331. },
  6332. {
  6333. "type": "string",
  6334. "description": "所属账户名称",
  6335. "name": "accountName",
  6336. "in": "query"
  6337. },
  6338. {
  6339. "type": "integer",
  6340. "description": "市场ID",
  6341. "name": "marketID",
  6342. "in": "query"
  6343. },
  6344. {
  6345. "type": "integer",
  6346. "description": "方向 - 0:买 1:卖",
  6347. "name": "buyorsell",
  6348. "in": "query",
  6349. "required": true
  6350. }
  6351. ],
  6352. "responses": {
  6353. "200": {
  6354. "description": "OK",
  6355. "schema": {
  6356. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  6357. }
  6358. },
  6359. "500": {
  6360. "description": "Internal Server Error",
  6361. "schema": {
  6362. "$ref": "#/definitions/app.Response"
  6363. }
  6364. }
  6365. }
  6366. }
  6367. },
  6368. "/User/AddMessageBoard": {
  6369. "post": {
  6370. "security": [
  6371. {
  6372. "ApiKeyAuth": []
  6373. }
  6374. ],
  6375. "produces": [
  6376. "application/json"
  6377. ],
  6378. "tags": [
  6379. "用户信息"
  6380. ],
  6381. "summary": "添加用户留言板信息",
  6382. "parameters": [
  6383. {
  6384. "type": "integer",
  6385. "description": "用户ID",
  6386. "name": "userID",
  6387. "in": "query",
  6388. "required": true
  6389. },
  6390. {
  6391. "type": "string",
  6392. "description": "留言信息",
  6393. "name": "message",
  6394. "in": "query",
  6395. "required": true
  6396. },
  6397. {
  6398. "type": "string",
  6399. "description": "联系电话",
  6400. "name": "contactNum",
  6401. "in": "query",
  6402. "required": true
  6403. }
  6404. ],
  6405. "responses": {
  6406. "200": {
  6407. "description": "OK",
  6408. "schema": {
  6409. "$ref": "#/definitions/app.Response"
  6410. }
  6411. },
  6412. "500": {
  6413. "description": "Internal Server Error",
  6414. "schema": {
  6415. "$ref": "#/definitions/app.Response"
  6416. }
  6417. }
  6418. }
  6419. }
  6420. },
  6421. "/User/AddUserFavoriteGoods": {
  6422. "post": {
  6423. "security": [
  6424. {
  6425. "ApiKeyAuth": []
  6426. }
  6427. ],
  6428. "produces": [
  6429. "application/json"
  6430. ],
  6431. "tags": [
  6432. "用户信息"
  6433. ],
  6434. "summary": "添加用户商品收藏信息",
  6435. "parameters": [
  6436. {
  6437. "type": "integer",
  6438. "description": "用户ID",
  6439. "name": "userID",
  6440. "in": "query",
  6441. "required": true
  6442. },
  6443. {
  6444. "type": "integer",
  6445. "description": "商品ID",
  6446. "name": "goodsID",
  6447. "in": "query",
  6448. "required": true
  6449. }
  6450. ],
  6451. "responses": {
  6452. "200": {
  6453. "description": "OK",
  6454. "schema": {
  6455. "$ref": "#/definitions/app.Response"
  6456. }
  6457. },
  6458. "500": {
  6459. "description": "Internal Server Error",
  6460. "schema": {
  6461. "$ref": "#/definitions/app.Response"
  6462. }
  6463. }
  6464. }
  6465. }
  6466. },
  6467. "/User/GetLoginID": {
  6468. "get": {
  6469. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  6470. "produces": [
  6471. "application/json"
  6472. ],
  6473. "tags": [
  6474. "用户信息"
  6475. ],
  6476. "summary": "获取登录ID",
  6477. "parameters": [
  6478. {
  6479. "type": "string",
  6480. "description": "登录代码",
  6481. "name": "username",
  6482. "in": "query",
  6483. "required": true
  6484. }
  6485. ],
  6486. "responses": {
  6487. "200": {
  6488. "description": "OK",
  6489. "schema": {
  6490. "$ref": "#/definitions/app.Response"
  6491. }
  6492. },
  6493. "500": {
  6494. "description": "Internal Server Error",
  6495. "schema": {
  6496. "$ref": "#/definitions/app.Response"
  6497. }
  6498. }
  6499. }
  6500. }
  6501. },
  6502. "/User/GetUserAccount": {
  6503. "get": {
  6504. "security": [
  6505. {
  6506. "ApiKeyAuth": []
  6507. }
  6508. ],
  6509. "produces": [
  6510. "application/json"
  6511. ],
  6512. "tags": [
  6513. "用户信息"
  6514. ],
  6515. "summary": "获取用户账号信息",
  6516. "parameters": [
  6517. {
  6518. "type": "integer",
  6519. "description": "用户ID",
  6520. "name": "userID",
  6521. "in": "query",
  6522. "required": true
  6523. }
  6524. ],
  6525. "responses": {
  6526. "200": {
  6527. "description": "OK",
  6528. "schema": {
  6529. "$ref": "#/definitions/models.Useraccount"
  6530. }
  6531. },
  6532. "500": {
  6533. "description": "Internal Server Error",
  6534. "schema": {
  6535. "$ref": "#/definitions/app.Response"
  6536. }
  6537. }
  6538. }
  6539. }
  6540. },
  6541. "/User/GetUserAuthStatus": {
  6542. "get": {
  6543. "security": [
  6544. {
  6545. "ApiKeyAuth": []
  6546. }
  6547. ],
  6548. "produces": [
  6549. "application/json"
  6550. ],
  6551. "tags": [
  6552. "用户信息"
  6553. ],
  6554. "summary": "获取用户实名认证状态",
  6555. "parameters": [
  6556. {
  6557. "type": "integer",
  6558. "description": "用户ID",
  6559. "name": "userID",
  6560. "in": "query",
  6561. "required": true
  6562. }
  6563. ],
  6564. "responses": {
  6565. "200": {
  6566. "description": "OK",
  6567. "schema": {
  6568. "$ref": "#/definitions/app.Response"
  6569. }
  6570. },
  6571. "500": {
  6572. "description": "Internal Server Error",
  6573. "schema": {
  6574. "$ref": "#/definitions/app.Response"
  6575. }
  6576. }
  6577. }
  6578. }
  6579. },
  6580. "/User/LoginQuery": {
  6581. "get": {
  6582. "security": [
  6583. {
  6584. "ApiKeyAuth": []
  6585. }
  6586. ],
  6587. "produces": [
  6588. "application/json"
  6589. ],
  6590. "tags": [
  6591. "用户信息"
  6592. ],
  6593. "summary": "账户登录后信息查询",
  6594. "parameters": [
  6595. {
  6596. "type": "integer",
  6597. "description": "登录账号",
  6598. "name": "loginID",
  6599. "in": "query",
  6600. "required": true
  6601. }
  6602. ],
  6603. "responses": {
  6604. "200": {
  6605. "description": "OK",
  6606. "schema": {
  6607. "$ref": "#/definitions/user.LoginQueryRsp"
  6608. }
  6609. },
  6610. "500": {
  6611. "description": "Internal Server Error",
  6612. "schema": {
  6613. "$ref": "#/definitions/app.Response"
  6614. }
  6615. }
  6616. }
  6617. }
  6618. },
  6619. "/User/QueryMessageBoard": {
  6620. "get": {
  6621. "security": [
  6622. {
  6623. "ApiKeyAuth": []
  6624. }
  6625. ],
  6626. "produces": [
  6627. "application/json"
  6628. ],
  6629. "tags": [
  6630. "用户信息"
  6631. ],
  6632. "summary": "获取用户留言板信息",
  6633. "parameters": [
  6634. {
  6635. "type": "integer",
  6636. "description": "用户ID",
  6637. "name": "userID",
  6638. "in": "query",
  6639. "required": true
  6640. }
  6641. ],
  6642. "responses": {
  6643. "200": {
  6644. "description": "OK",
  6645. "schema": {
  6646. "$ref": "#/definitions/models.Messageboard"
  6647. }
  6648. },
  6649. "500": {
  6650. "description": "Internal Server Error",
  6651. "schema": {
  6652. "$ref": "#/definitions/app.Response"
  6653. }
  6654. }
  6655. }
  6656. }
  6657. },
  6658. "/User/QueryUserFavoriteGoodses": {
  6659. "get": {
  6660. "security": [
  6661. {
  6662. "ApiKeyAuth": []
  6663. }
  6664. ],
  6665. "produces": [
  6666. "application/json"
  6667. ],
  6668. "tags": [
  6669. "用户信息"
  6670. ],
  6671. "summary": "获取用户商品收藏信息",
  6672. "parameters": [
  6673. {
  6674. "type": "integer",
  6675. "description": "用户ID",
  6676. "name": "userID",
  6677. "in": "query",
  6678. "required": true
  6679. }
  6680. ],
  6681. "responses": {
  6682. "200": {
  6683. "description": "OK",
  6684. "schema": {
  6685. "$ref": "#/definitions/models.Userfavoritegoods"
  6686. }
  6687. },
  6688. "500": {
  6689. "description": "Internal Server Error",
  6690. "schema": {
  6691. "$ref": "#/definitions/app.Response"
  6692. }
  6693. }
  6694. }
  6695. }
  6696. },
  6697. "/User/QueryUserInfo": {
  6698. "get": {
  6699. "security": [
  6700. {
  6701. "ApiKeyAuth": []
  6702. }
  6703. ],
  6704. "produces": [
  6705. "application/json"
  6706. ],
  6707. "tags": [
  6708. "用户信息"
  6709. ],
  6710. "summary": "获取用户信息",
  6711. "parameters": [
  6712. {
  6713. "type": "integer",
  6714. "description": "用户ID",
  6715. "name": "userID",
  6716. "in": "query",
  6717. "required": true
  6718. }
  6719. ],
  6720. "responses": {
  6721. "200": {
  6722. "description": "OK",
  6723. "schema": {
  6724. "$ref": "#/definitions/models.Userinfo"
  6725. }
  6726. },
  6727. "500": {
  6728. "description": "Internal Server Error",
  6729. "schema": {
  6730. "$ref": "#/definitions/app.Response"
  6731. }
  6732. }
  6733. }
  6734. }
  6735. },
  6736. "/User/QueryUserReferNum": {
  6737. "get": {
  6738. "produces": [
  6739. "application/json"
  6740. ],
  6741. "tags": [
  6742. "用户信息"
  6743. ],
  6744. "summary": "获取用户邀请码",
  6745. "parameters": [
  6746. {
  6747. "type": "integer",
  6748. "description": "用户ID",
  6749. "name": "userID",
  6750. "in": "query",
  6751. "required": true
  6752. }
  6753. ],
  6754. "responses": {
  6755. "200": {
  6756. "description": "OK",
  6757. "schema": {
  6758. "$ref": "#/definitions/app.Response"
  6759. }
  6760. },
  6761. "500": {
  6762. "description": "Internal Server Error",
  6763. "schema": {
  6764. "$ref": "#/definitions/app.Response"
  6765. }
  6766. }
  6767. }
  6768. }
  6769. },
  6770. "/User/RemoveUserFavoriteGoods": {
  6771. "post": {
  6772. "security": [
  6773. {
  6774. "ApiKeyAuth": []
  6775. }
  6776. ],
  6777. "produces": [
  6778. "application/json"
  6779. ],
  6780. "tags": [
  6781. "用户信息"
  6782. ],
  6783. "summary": "移除用户商品收藏信息",
  6784. "parameters": [
  6785. {
  6786. "type": "integer",
  6787. "description": "用户ID",
  6788. "name": "userID",
  6789. "in": "query",
  6790. "required": true
  6791. },
  6792. {
  6793. "type": "integer",
  6794. "description": "商品ID",
  6795. "name": "goodsID",
  6796. "in": "query",
  6797. "required": true
  6798. }
  6799. ],
  6800. "responses": {
  6801. "200": {
  6802. "description": "OK",
  6803. "schema": {
  6804. "$ref": "#/definitions/app.Response"
  6805. }
  6806. },
  6807. "500": {
  6808. "description": "Internal Server Error",
  6809. "schema": {
  6810. "$ref": "#/definitions/app.Response"
  6811. }
  6812. }
  6813. }
  6814. }
  6815. },
  6816. "/User/UpdateUserAccountStatus": {
  6817. "post": {
  6818. "security": [
  6819. {
  6820. "ApiKeyAuth": []
  6821. }
  6822. ],
  6823. "produces": [
  6824. "application/json"
  6825. ],
  6826. "tags": [
  6827. "用户信息"
  6828. ],
  6829. "summary": "更新用户状态",
  6830. "parameters": [
  6831. {
  6832. "type": "integer",
  6833. "description": "用户ID",
  6834. "name": "userID",
  6835. "in": "query",
  6836. "required": true
  6837. },
  6838. {
  6839. "type": "integer",
  6840. "description": "账户状态 - 4:正常 6:注销(停用)",
  6841. "name": "accountStatus",
  6842. "in": "query",
  6843. "required": true
  6844. }
  6845. ],
  6846. "responses": {
  6847. "200": {
  6848. "description": "OK",
  6849. "schema": {
  6850. "$ref": "#/definitions/app.Response"
  6851. }
  6852. },
  6853. "500": {
  6854. "description": "Internal Server Error",
  6855. "schema": {
  6856. "$ref": "#/definitions/app.Response"
  6857. }
  6858. }
  6859. }
  6860. }
  6861. },
  6862. "/WR/GetWRCategoryInfo": {
  6863. "get": {
  6864. "produces": [
  6865. "application/json"
  6866. ],
  6867. "tags": [
  6868. "仓单服务"
  6869. ],
  6870. "summary": "获取现货分类信息",
  6871. "responses": {
  6872. "200": {
  6873. "description": "OK",
  6874. "schema": {
  6875. "$ref": "#/definitions/models.WRCategoryTree"
  6876. }
  6877. },
  6878. "500": {
  6879. "description": "Internal Server Error",
  6880. "schema": {
  6881. "$ref": "#/definitions/app.Response"
  6882. }
  6883. }
  6884. }
  6885. }
  6886. },
  6887. "/WRTrade/GetAllDeliveryGoods": {
  6888. "get": {
  6889. "security": [
  6890. {
  6891. "ApiKeyAuth": []
  6892. },
  6893. {
  6894. "ApiKeyAuth": []
  6895. }
  6896. ],
  6897. "produces": [
  6898. "application/json",
  6899. "application/json"
  6900. ],
  6901. "tags": [
  6902. "仓单贸易",
  6903. "仓单贸易"
  6904. ],
  6905. "summary": "获取带仓单分类的种类信息",
  6906. "responses": {
  6907. "200": {
  6908. "description": "OK",
  6909. "schema": {
  6910. "$ref": "#/definitions/app.Response"
  6911. }
  6912. },
  6913. "500": {
  6914. "description": "Internal Server Error",
  6915. "schema": {
  6916. "$ref": "#/definitions/app.Response"
  6917. }
  6918. }
  6919. }
  6920. }
  6921. }
  6922. },
  6923. "definitions": {
  6924. "app.Response": {
  6925. "type": "object",
  6926. "properties": {
  6927. "code": {
  6928. "type": "integer"
  6929. },
  6930. "data": {
  6931. "type": "object"
  6932. },
  6933. "msg": {
  6934. "type": "string"
  6935. },
  6936. "page": {
  6937. "description": "页码",
  6938. "type": "integer"
  6939. },
  6940. "pagesize": {
  6941. "description": "每页条数",
  6942. "type": "integer"
  6943. },
  6944. "total": {
  6945. "description": "总条数",
  6946. "type": "integer"
  6947. }
  6948. }
  6949. },
  6950. "common.QueryImageConfigsRsp": {
  6951. "type": "object",
  6952. "required": [
  6953. "configid"
  6954. ],
  6955. "properties": {
  6956. "areauserid": {
  6957. "description": "所属机构ID",
  6958. "type": "integer"
  6959. },
  6960. "configid": {
  6961. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  6962. "type": "integer"
  6963. },
  6964. "createdate": {
  6965. "description": "创建时间",
  6966. "type": "string"
  6967. },
  6968. "creatorid": {
  6969. "description": "创建人",
  6970. "type": "integer"
  6971. },
  6972. "imagepath": {
  6973. "description": "图片",
  6974. "type": "string"
  6975. },
  6976. "imagetype": {
  6977. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  6978. "type": "integer"
  6979. },
  6980. "isshow": {
  6981. "description": "是否展示 - 0:不展示 1:展示",
  6982. "type": "integer"
  6983. },
  6984. "marketid": {
  6985. "description": "市场ID",
  6986. "type": "integer"
  6987. },
  6988. "modifierid": {
  6989. "description": "操作人",
  6990. "type": "integer"
  6991. },
  6992. "sort": {
  6993. "description": "排序",
  6994. "type": "integer"
  6995. },
  6996. "title": {
  6997. "description": "标题",
  6998. "type": "string"
  6999. },
  7000. "trademode": {
  7001. "description": "交易模式",
  7002. "type": "integer"
  7003. },
  7004. "updatedate": {
  7005. "description": "修改时间",
  7006. "type": "string"
  7007. },
  7008. "url": {
  7009. "description": "链接(地址或商品ID)",
  7010. "type": "string"
  7011. },
  7012. "urltype": {
  7013. "description": "链接类型 - 1:直接地址 2:商品ID",
  7014. "type": "integer"
  7015. }
  7016. }
  7017. },
  7018. "common.QueryNoticeRsp": {
  7019. "type": "object",
  7020. "required": [
  7021. "autoid"
  7022. ],
  7023. "properties": {
  7024. "auditoruserid": {
  7025. "description": "审核人",
  7026. "type": "integer"
  7027. },
  7028. "auditremark": {
  7029. "description": "审核备注",
  7030. "type": "string"
  7031. },
  7032. "audittime": {
  7033. "description": "审核日期",
  7034. "type": "string"
  7035. },
  7036. "autoid": {
  7037. "description": "自增ID",
  7038. "type": "integer"
  7039. },
  7040. "content": {
  7041. "description": "内容",
  7042. "type": "string"
  7043. },
  7044. "createtime": {
  7045. "description": "创建时间",
  7046. "type": "string"
  7047. },
  7048. "creatorid": {
  7049. "description": "建仓人",
  7050. "type": "integer"
  7051. },
  7052. "endtime": {
  7053. "description": "结束时间",
  7054. "type": "string"
  7055. },
  7056. "istop": {
  7057. "description": "是否置顶 - 0:不置顶 1:置顶",
  7058. "type": "integer"
  7059. },
  7060. "msgiconurl": {
  7061. "description": "消息图标Url",
  7062. "type": "string"
  7063. },
  7064. "msgtype": {
  7065. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  7066. "type": "integer"
  7067. },
  7068. "publisher": {
  7069. "description": "消息发布者",
  7070. "type": "string"
  7071. },
  7072. "readed": {
  7073. "description": "是否已读",
  7074. "type": "boolean"
  7075. },
  7076. "scheduletime": {
  7077. "description": "计划发送时间",
  7078. "type": "string"
  7079. },
  7080. "sendtype": {
  7081. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  7082. "type": "integer"
  7083. },
  7084. "sentstatus": {
  7085. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  7086. "type": "integer"
  7087. },
  7088. "title": {
  7089. "description": "标题",
  7090. "type": "string"
  7091. },
  7092. "userid": {
  7093. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  7094. "type": "integer"
  7095. }
  7096. }
  7097. },
  7098. "common.QueryProvincesAndCitiesRsp": {
  7099. "type": "object",
  7100. "properties": {
  7101. "cities": {
  7102. "description": "市",
  7103. "type": "array",
  7104. "items": {
  7105. "$ref": "#/definitions/models.Division"
  7106. }
  7107. },
  7108. "province": {
  7109. "description": "省",
  7110. "$ref": "#/definitions/models.Division"
  7111. }
  7112. }
  7113. },
  7114. "common.QueryTableDefineRsp": {
  7115. "type": "object",
  7116. "required": [
  7117. "tablekey"
  7118. ],
  7119. "properties": {
  7120. "columns": {
  7121. "description": "列头信息数组",
  7122. "type": "array",
  7123. "items": {
  7124. "$ref": "#/definitions/models.Tablecolumnconfig"
  7125. }
  7126. },
  7127. "remark": {
  7128. "description": "Remark",
  7129. "type": "string"
  7130. },
  7131. "tabelmenu": {
  7132. "description": "列表菜单",
  7133. "type": "string"
  7134. },
  7135. "tablekey": {
  7136. "description": "列表Key",
  7137. "type": "string"
  7138. },
  7139. "tablename": {
  7140. "description": "列表名称",
  7141. "type": "string"
  7142. },
  7143. "tabletype": {
  7144. "description": "列表类型 - 1:管理端 2:终端",
  7145. "type": "integer"
  7146. }
  7147. }
  7148. },
  7149. "common.QueryTraderMenuRsp": {
  7150. "type": "object",
  7151. "properties": {
  7152. "OperationMenu": {
  7153. "description": "功能菜单",
  7154. "type": "array",
  7155. "items": {
  7156. "$ref": "#/definitions/models.OperationPrimaryMenu"
  7157. }
  7158. },
  7159. "QuoteMenu": {
  7160. "description": "报价牌分类菜单",
  7161. "type": "array",
  7162. "items": {
  7163. "$ref": "#/definitions/models.QuotePrimaryMenu"
  7164. }
  7165. }
  7166. }
  7167. },
  7168. "cptrade.Cptradepositioncancel": {
  7169. "type": "object",
  7170. "required": [
  7171. "cancelid"
  7172. ],
  7173. "properties": {
  7174. "accountid": {
  7175. "description": "申请人账户ID",
  7176. "type": "integer"
  7177. },
  7178. "applystatus": {
  7179. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7180. "type": "integer"
  7181. },
  7182. "applytime": {
  7183. "description": "申请时间",
  7184. "type": "string"
  7185. },
  7186. "cancelid": {
  7187. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  7188. "type": "integer"
  7189. },
  7190. "cancelqty": {
  7191. "description": "注销数量",
  7192. "type": "integer"
  7193. },
  7194. "createtime": {
  7195. "description": "创建时间",
  7196. "type": "string"
  7197. },
  7198. "creatorid": {
  7199. "description": "创建人ID",
  7200. "type": "integer"
  7201. },
  7202. "creatorname": {
  7203. "description": "创建人",
  7204. "type": "string"
  7205. },
  7206. "goodscode": {
  7207. "description": "订单商品代码",
  7208. "type": "string"
  7209. },
  7210. "goodsid": {
  7211. "description": "商品ID",
  7212. "type": "integer"
  7213. },
  7214. "goodsname": {
  7215. "description": "订单商品名称",
  7216. "type": "string"
  7217. },
  7218. "goodunit": {
  7219. "description": "报价单位",
  7220. "type": "string"
  7221. },
  7222. "handlestatus": {
  7223. "description": "处理状态",
  7224. "type": "integer"
  7225. },
  7226. "marketid": {
  7227. "description": "市场ID",
  7228. "type": "integer"
  7229. },
  7230. "marketname": {
  7231. "description": "市场名称",
  7232. "type": "string"
  7233. },
  7234. "tradedate": {
  7235. "description": "交易日(yyyyMMdd)",
  7236. "type": "string"
  7237. },
  7238. "userid": {
  7239. "description": "申请人ID",
  7240. "type": "integer"
  7241. }
  7242. }
  7243. },
  7244. "cptrade.Cptradepresaleapply": {
  7245. "type": "object",
  7246. "required": [
  7247. "applyid"
  7248. ],
  7249. "properties": {
  7250. "accountid": {
  7251. "description": "申请人账户ID",
  7252. "type": "integer"
  7253. },
  7254. "applyid": {
  7255. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  7256. "type": "integer"
  7257. },
  7258. "applyremark": {
  7259. "description": "申请备注",
  7260. "type": "string"
  7261. },
  7262. "applystatus": {
  7263. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7264. "type": "integer"
  7265. },
  7266. "applytime": {
  7267. "description": "申请时间",
  7268. "type": "string"
  7269. },
  7270. "attachmenturl": {
  7271. "description": "附件地址",
  7272. "type": "string"
  7273. },
  7274. "endtime": {
  7275. "description": "预售结束时间",
  7276. "type": "string"
  7277. },
  7278. "goodscode": {
  7279. "description": "商品代码",
  7280. "type": "string"
  7281. },
  7282. "goodsid": {
  7283. "description": "商品ID",
  7284. "type": "integer"
  7285. },
  7286. "goodsname": {
  7287. "description": "商品名称",
  7288. "type": "string"
  7289. },
  7290. "goodunit": {
  7291. "description": "报价单位",
  7292. "type": "string"
  7293. },
  7294. "handlestatus": {
  7295. "description": "处理状态",
  7296. "type": "integer"
  7297. },
  7298. "marketid": {
  7299. "description": "预售市场ID",
  7300. "type": "integer"
  7301. },
  7302. "marketname": {
  7303. "description": "预售市场名称",
  7304. "type": "string"
  7305. },
  7306. "presaleqty": {
  7307. "description": "预售数量",
  7308. "type": "integer"
  7309. },
  7310. "relatedgoodscode": {
  7311. "description": "关联交易合约代码",
  7312. "type": "string"
  7313. },
  7314. "relatedgoodsid": {
  7315. "description": "关联交易合约ID",
  7316. "type": "integer"
  7317. },
  7318. "relatedgoodsname": {
  7319. "description": "关联交易合约名称",
  7320. "type": "string"
  7321. },
  7322. "starttime": {
  7323. "description": "预售开始时间",
  7324. "type": "string"
  7325. },
  7326. "tradedate": {
  7327. "description": "交易日(yyyyMMdd)",
  7328. "type": "string"
  7329. },
  7330. "trademode": {
  7331. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  7332. "type": "integer"
  7333. },
  7334. "userid": {
  7335. "description": "申请人ID",
  7336. "type": "integer"
  7337. }
  7338. }
  7339. },
  7340. "cptrade.Cptradeusergoodsdata": {
  7341. "type": "object",
  7342. "required": [
  7343. "accountid",
  7344. "goodsid"
  7345. ],
  7346. "properties": {
  7347. "EnabledQty": {
  7348. "description": "可用量",
  7349. "type": "integer"
  7350. },
  7351. "GoodsCode": {
  7352. "description": "订单商品代码",
  7353. "type": "string"
  7354. },
  7355. "GoodsName": {
  7356. "description": "订单商品名称",
  7357. "type": "string"
  7358. },
  7359. "WRStandardCode": {
  7360. "description": "仓单标准代码",
  7361. "type": "string"
  7362. },
  7363. "WRStandardName": {
  7364. "description": "仓单标准名称",
  7365. "type": "string"
  7366. },
  7367. "accountid": {
  7368. "description": "账户ID",
  7369. "type": "integer"
  7370. },
  7371. "cancelqty": {
  7372. "description": "注销量",
  7373. "type": "integer"
  7374. },
  7375. "curpresaleqty": {
  7376. "description": "当前预售量",
  7377. "type": "integer"
  7378. },
  7379. "deliveryqty": {
  7380. "description": "交割量",
  7381. "type": "integer"
  7382. },
  7383. "freezeamount": {
  7384. "description": "冻结金额",
  7385. "type": "number"
  7386. },
  7387. "goodsid": {
  7388. "description": "商品ID",
  7389. "type": "integer"
  7390. },
  7391. "goodunit": {
  7392. "description": "报价单位",
  7393. "type": "string"
  7394. },
  7395. "hasspotfreeze": {
  7396. "description": "是否有现货冻结 - 0:否 1:有",
  7397. "type": "integer"
  7398. },
  7399. "inqty": {
  7400. "description": "转入量(总数量)",
  7401. "type": "integer"
  7402. },
  7403. "marketid": {
  7404. "description": "市场ID",
  7405. "type": "integer"
  7406. },
  7407. "presaledamount": {
  7408. "description": "已预售总金额",
  7409. "type": "integer"
  7410. },
  7411. "presaledqty": {
  7412. "description": "已预售量",
  7413. "type": "integer"
  7414. },
  7415. "userid": {
  7416. "description": "用户ID",
  7417. "type": "integer"
  7418. },
  7419. "wrstandardid": {
  7420. "description": "仓单标准ID",
  7421. "type": "integer"
  7422. }
  7423. }
  7424. },
  7425. "cptrade.QueryCPTradeMyBidRsp": {
  7426. "type": "object",
  7427. "required": [
  7428. "accountid",
  7429. "goodsid",
  7430. "marketid",
  7431. "orderid",
  7432. "orderqty",
  7433. "ordertime",
  7434. "tradeprice",
  7435. "tradeqty"
  7436. ],
  7437. "properties": {
  7438. "accountid": {
  7439. "description": "账户ID[报价币种]",
  7440. "type": "integer"
  7441. },
  7442. "goodsid": {
  7443. "description": "商品ID",
  7444. "type": "integer"
  7445. },
  7446. "goodunit": {
  7447. "description": "报价单位",
  7448. "type": "string"
  7449. },
  7450. "marketid": {
  7451. "description": "市场ID",
  7452. "type": "integer"
  7453. },
  7454. "orderid": {
  7455. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7456. "type": "integer"
  7457. },
  7458. "orderprice": {
  7459. "description": "委托价格",
  7460. "type": "number"
  7461. },
  7462. "orderqty": {
  7463. "description": "委托数量",
  7464. "type": "integer"
  7465. },
  7466. "ordertime": {
  7467. "description": "委托时间",
  7468. "type": "string"
  7469. },
  7470. "ordertotalprice": {
  7471. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  7472. "type": "number"
  7473. },
  7474. "ordertotalweight": {
  7475. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  7476. "type": "integer"
  7477. },
  7478. "totaltotalprice": {
  7479. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  7480. "type": "number"
  7481. },
  7482. "tradeprice": {
  7483. "description": "成交价格",
  7484. "type": "number"
  7485. },
  7486. "tradeqty": {
  7487. "description": "成交数量",
  7488. "type": "integer"
  7489. }
  7490. }
  7491. },
  7492. "cptrade.QueryCPTradeOrderDetailRsq": {
  7493. "type": "object",
  7494. "required": [
  7495. "accountid",
  7496. "buildtype",
  7497. "buyorsell",
  7498. "goodsid",
  7499. "marketid",
  7500. "memberuserid",
  7501. "operatetype",
  7502. "orderqty",
  7503. "ordertime",
  7504. "pricemode",
  7505. "strorderid",
  7506. "tradedate",
  7507. "validtype"
  7508. ],
  7509. "properties": {
  7510. "accountid": {
  7511. "description": "账户ID[报价币种]",
  7512. "type": "integer"
  7513. },
  7514. "buildtype": {
  7515. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7516. "type": "integer"
  7517. },
  7518. "buyorsell": {
  7519. "description": "买卖 - 0:买 1:卖",
  7520. "type": "integer"
  7521. },
  7522. "cancelorderid": {
  7523. "description": "撤单单号(撤单时填写)",
  7524. "type": "integer"
  7525. },
  7526. "cancelqty": {
  7527. "description": "撤单数量",
  7528. "type": "integer"
  7529. },
  7530. "clientordertime": {
  7531. "description": "客户端委托时间",
  7532. "type": "string"
  7533. },
  7534. "clientticket": {
  7535. "description": "客户端流水号",
  7536. "type": "string"
  7537. },
  7538. "clienttype": {
  7539. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7540. "type": "integer"
  7541. },
  7542. "closeexchagechargevalue": {
  7543. "description": "平仓交易所手续费设置值",
  7544. "type": "number"
  7545. },
  7546. "closefeealgorithm": {
  7547. "description": "平仓手续费收取方式 1:比率 2:固定",
  7548. "type": "integer"
  7549. },
  7550. "closefreezecharge": {
  7551. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7552. "type": "number"
  7553. },
  7554. "closememberchargevalue": {
  7555. "description": "平仓会员手续费设置值",
  7556. "type": "number"
  7557. },
  7558. "closeqty": {
  7559. "description": "平仓数量(先建后平操作 需要记录)",
  7560. "type": "integer"
  7561. },
  7562. "closetradeqty": {
  7563. "description": "平仓成交数量(先建后平操作,需要记录)",
  7564. "type": "integer"
  7565. },
  7566. "closeunfreezecharge": {
  7567. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7568. "type": "number"
  7569. },
  7570. "delistingtype": {
  7571. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7572. "type": "integer"
  7573. },
  7574. "freezecharge": {
  7575. "description": "冻结手续费",
  7576. "type": "number"
  7577. },
  7578. "freezemargin": {
  7579. "description": "冻结保证金(冻结交易金额)",
  7580. "type": "number"
  7581. },
  7582. "gcaccountid": {
  7583. "description": "账户ID[合约币种]",
  7584. "type": "integer"
  7585. },
  7586. "goodsid": {
  7587. "description": "商品ID",
  7588. "type": "integer"
  7589. },
  7590. "isconfirmexercise": {
  7591. "description": "是否确认行权- 0:否 1:是",
  7592. "type": "integer"
  7593. },
  7594. "ispreexercise": {
  7595. "description": "是否预申报- 0:否 1:是",
  7596. "type": "integer"
  7597. },
  7598. "listingselecttype": {
  7599. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7600. "type": "integer"
  7601. },
  7602. "marginalgorithm": {
  7603. "description": "保证金收取方式 1:比率 2:固定",
  7604. "type": "integer"
  7605. },
  7606. "marginvalue": {
  7607. "description": "即市保证金设置值",
  7608. "type": "number"
  7609. },
  7610. "marketid": {
  7611. "description": "市场ID",
  7612. "type": "integer"
  7613. },
  7614. "marketmaxsub": {
  7615. "description": "市价最大偏移范围",
  7616. "type": "number"
  7617. },
  7618. "memberuserid": {
  7619. "description": "所属会员UserID",
  7620. "type": "integer"
  7621. },
  7622. "openexchagechargevalue": {
  7623. "description": "建仓交易所手续费设置值",
  7624. "type": "number"
  7625. },
  7626. "openfeealgorithm": {
  7627. "description": "建仓手续费收取方式 1:比率 2:固定",
  7628. "type": "integer"
  7629. },
  7630. "openfreezecharge": {
  7631. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7632. "type": "number"
  7633. },
  7634. "openmemberchargevalue": {
  7635. "description": "建仓会员手续费设置值",
  7636. "type": "number"
  7637. },
  7638. "openqty": {
  7639. "description": "开仓数量(先建后平操作,需要记录)",
  7640. "type": "integer"
  7641. },
  7642. "opentradeqty": {
  7643. "description": "开仓成交数量(先建后平操作,需要记录)",
  7644. "type": "integer"
  7645. },
  7646. "openunfreezecharge": {
  7647. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7648. "type": "number"
  7649. },
  7650. "operatetype": {
  7651. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7652. "type": "integer"
  7653. },
  7654. "operatorid": {
  7655. "description": "登录账号(LoginID)",
  7656. "type": "integer"
  7657. },
  7658. "optiontype": {
  7659. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7660. "type": "integer"
  7661. },
  7662. "orderprice": {
  7663. "description": "委托价格",
  7664. "type": "number"
  7665. },
  7666. "orderqty": {
  7667. "description": "委托数量",
  7668. "type": "integer"
  7669. },
  7670. "ordersrc": {
  7671. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7672. "type": "integer"
  7673. },
  7674. "orderstatus": {
  7675. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7676. "type": "integer"
  7677. },
  7678. "ordertime": {
  7679. "description": "委托时间",
  7680. "type": "string"
  7681. },
  7682. "preexerciseprice": {
  7683. "description": "预申报价格",
  7684. "type": "number"
  7685. },
  7686. "premium": {
  7687. "description": "权利金",
  7688. "type": "number"
  7689. },
  7690. "preorderid": {
  7691. "description": "关联预埋单号(止盈止损单时填写)",
  7692. "type": "integer"
  7693. },
  7694. "pricemode": {
  7695. "description": "取价方式 - 1:市价 2: 限价",
  7696. "type": "integer"
  7697. },
  7698. "quoteid": {
  7699. "description": "报价单ID",
  7700. "type": "integer"
  7701. },
  7702. "relatedid": {
  7703. "description": "关联单号(交割单)",
  7704. "type": "integer"
  7705. },
  7706. "retcode": {
  7707. "description": "错误代码",
  7708. "type": "integer"
  7709. },
  7710. "sessionid": {
  7711. "description": "会话ID",
  7712. "type": "integer"
  7713. },
  7714. "strorderid": {
  7715. "description": "委托单号",
  7716. "type": "string"
  7717. },
  7718. "tradedate": {
  7719. "description": "交易日(yyyyMMdd)",
  7720. "type": "string"
  7721. },
  7722. "tradeproperty": {
  7723. "description": "交易属性",
  7724. "type": "integer"
  7725. },
  7726. "tradeqty": {
  7727. "description": "成交数量",
  7728. "type": "integer"
  7729. },
  7730. "unfreezecharge": {
  7731. "description": "解冻手续费",
  7732. "type": "number"
  7733. },
  7734. "unfreezemargin": {
  7735. "description": "解冻保证金",
  7736. "type": "number"
  7737. },
  7738. "updatetime": {
  7739. "description": "更新时间",
  7740. "type": "string"
  7741. },
  7742. "uuid": {
  7743. "description": "发起端唯一id",
  7744. "type": "string"
  7745. },
  7746. "validtime": {
  7747. "description": "有效期限",
  7748. "type": "string"
  7749. },
  7750. "validtype": {
  7751. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7752. "type": "integer"
  7753. },
  7754. "volumetype": {
  7755. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7756. "type": "integer"
  7757. }
  7758. }
  7759. },
  7760. "cptrade.QueryMyCPTradeGoodsRsp": {
  7761. "type": "object",
  7762. "required": [
  7763. "goodscode",
  7764. "goodsid",
  7765. "goodsname",
  7766. "marketid",
  7767. "relatedgoodscode",
  7768. "relatedgoodsname"
  7769. ],
  7770. "properties": {
  7771. "accountid": {
  7772. "description": "卖方账户ID",
  7773. "type": "integer"
  7774. },
  7775. "agreeunit": {
  7776. "description": "合约单位",
  7777. "type": "number"
  7778. },
  7779. "applyid": {
  7780. "description": "关联申请ID",
  7781. "type": "integer"
  7782. },
  7783. "attachmenturl": {
  7784. "description": "附件地址",
  7785. "type": "string"
  7786. },
  7787. "createtime": {
  7788. "description": "创建时间",
  7789. "type": "string"
  7790. },
  7791. "currencyid": {
  7792. "description": "报价货币ID",
  7793. "type": "integer"
  7794. },
  7795. "decimalplace": {
  7796. "description": "报价小数位",
  7797. "type": "integer"
  7798. },
  7799. "endtime": {
  7800. "description": "预售结束时间",
  7801. "type": "string"
  7802. },
  7803. "floorprice": {
  7804. "description": "底价[大宗式竞拍]",
  7805. "type": "number"
  7806. },
  7807. "goodscode": {
  7808. "description": "商品代码(预售)",
  7809. "type": "string"
  7810. },
  7811. "goodsdetail": {
  7812. "description": "详情[大宗]",
  7813. "type": "string"
  7814. },
  7815. "goodsid": {
  7816. "description": "商品ID(自增ID SEQ_GOODS)",
  7817. "type": "integer"
  7818. },
  7819. "goodsname": {
  7820. "description": "商品名称(预售)",
  7821. "type": "string"
  7822. },
  7823. "goodunit": {
  7824. "description": "报价单位",
  7825. "type": "string"
  7826. },
  7827. "goodunitid": {
  7828. "description": "报价单位ID",
  7829. "type": "integer"
  7830. },
  7831. "marketid": {
  7832. "description": "所属市场ID",
  7833. "type": "integer"
  7834. },
  7835. "marketname": {
  7836. "description": "预售市场名称",
  7837. "type": "string"
  7838. },
  7839. "presaledamount": {
  7840. "description": "已预售总金额(预售结束时更新)",
  7841. "type": "number"
  7842. },
  7843. "presaledqty": {
  7844. "description": "已预售量(预售结束时更新)",
  7845. "type": "integer"
  7846. },
  7847. "presalemode": {
  7848. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7849. "type": "integer"
  7850. },
  7851. "presaleqty": {
  7852. "description": "预售数量",
  7853. "type": "integer"
  7854. },
  7855. "refprice": {
  7856. "description": "参考价格[一口价]",
  7857. "type": "number"
  7858. },
  7859. "relatedgoodscode": {
  7860. "description": "商品代码(订单)",
  7861. "type": "string"
  7862. },
  7863. "relatedgoodsid": {
  7864. "description": "关联交易合约ID",
  7865. "type": "integer"
  7866. },
  7867. "relatedgoodsname": {
  7868. "description": "商品名称(订单)",
  7869. "type": "string"
  7870. },
  7871. "relatedmarketid": {
  7872. "description": "关联交易合约市场ID",
  7873. "type": "integer"
  7874. },
  7875. "sellstatus": {
  7876. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7877. "type": "integer"
  7878. },
  7879. "startprice": {
  7880. "description": "起拍价[大宗式竞拍]",
  7881. "type": "number"
  7882. },
  7883. "starttime": {
  7884. "description": "预售开始时间",
  7885. "type": "string"
  7886. },
  7887. "tradedate": {
  7888. "description": "交易日(yyyyMMdd)",
  7889. "type": "string"
  7890. },
  7891. "tradeprice": {
  7892. "description": "成交价[大宗]",
  7893. "type": "number"
  7894. },
  7895. "userid": {
  7896. "description": "卖方用户ID",
  7897. "type": "integer"
  7898. }
  7899. }
  7900. },
  7901. "cptrade.QueryPresaleGoodsExRsp": {
  7902. "type": "object",
  7903. "required": [
  7904. "goodsid"
  7905. ],
  7906. "properties": {
  7907. "attachmenturl": {
  7908. "description": "附件地址",
  7909. "type": "string"
  7910. },
  7911. "createtime": {
  7912. "description": "创建时间",
  7913. "type": "string"
  7914. },
  7915. "endtime": {
  7916. "description": "预售结束时间",
  7917. "type": "string"
  7918. },
  7919. "floorprice": {
  7920. "description": "底价[大宗式竞拍]",
  7921. "type": "number"
  7922. },
  7923. "goodsdetail": {
  7924. "description": "详情[大宗]",
  7925. "type": "string"
  7926. },
  7927. "goodsid": {
  7928. "description": "商品ID(预售)",
  7929. "type": "integer"
  7930. },
  7931. "goodunit": {
  7932. "description": "报价单位",
  7933. "type": "string"
  7934. },
  7935. "marketid": {
  7936. "description": "预售市场ID - 根据预售模式选择市场",
  7937. "type": "integer"
  7938. },
  7939. "presaledamount": {
  7940. "description": "已预售总金额(预售结束时更新)",
  7941. "type": "number"
  7942. },
  7943. "presaledqty": {
  7944. "description": "已预售量(预售结束时更新)",
  7945. "type": "integer"
  7946. },
  7947. "presalemode": {
  7948. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7949. "type": "integer"
  7950. },
  7951. "presaleqty": {
  7952. "description": "预售数量",
  7953. "type": "integer"
  7954. },
  7955. "refprice": {
  7956. "description": "参考价格[一口价]",
  7957. "type": "number"
  7958. },
  7959. "relatedgoodsid": {
  7960. "description": "关联交易合约ID",
  7961. "type": "integer"
  7962. },
  7963. "relatedmarketid": {
  7964. "description": "关联交易合约市场ID",
  7965. "type": "integer"
  7966. },
  7967. "sellstatus": {
  7968. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7969. "type": "integer"
  7970. },
  7971. "startprice": {
  7972. "description": "起拍价[大宗式竞拍]",
  7973. "type": "number"
  7974. },
  7975. "starttime": {
  7976. "description": "预售开始时间",
  7977. "type": "string"
  7978. },
  7979. "tradedate": {
  7980. "description": "交易日(yyyyMMdd)",
  7981. "type": "string"
  7982. },
  7983. "tradeprice": {
  7984. "description": "成交价[大宗]",
  7985. "type": "number"
  7986. }
  7987. }
  7988. },
  7989. "delivery.QueryDeliveryRelationRsp": {
  7990. "type": "object",
  7991. "required": [
  7992. "begindate",
  7993. "enddate",
  7994. "goodsid",
  7995. "mindeliveryqty",
  7996. "xdeliveryratio"
  7997. ],
  7998. "properties": {
  7999. "begindate": {
  8000. "description": "起始日期(yyyyMMdd)",
  8001. "type": "string"
  8002. },
  8003. "buytemplateid": {
  8004. "description": "买履约计划模板ID",
  8005. "type": "integer"
  8006. },
  8007. "deliverygoodscode": {
  8008. "description": "品种代码",
  8009. "type": "string"
  8010. },
  8011. "deliverygoodsid": {
  8012. "description": "交割商品",
  8013. "type": "integer"
  8014. },
  8015. "deliverygoodsname": {
  8016. "description": "品种名称",
  8017. "type": "string"
  8018. },
  8019. "deliverymode": {
  8020. "description": "交割方式 - 1:点选式 2:申报式",
  8021. "type": "integer"
  8022. },
  8023. "deliverypricerule": {
  8024. "description": "交割价规则- 1:行情价 2:建仓价",
  8025. "type": "integer"
  8026. },
  8027. "deliverytype": {
  8028. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  8029. "type": "integer"
  8030. },
  8031. "enddate": {
  8032. "description": "结束日期(yyyyMMdd)",
  8033. "type": "string"
  8034. },
  8035. "goodscode": {
  8036. "description": "商品代码",
  8037. "type": "string"
  8038. },
  8039. "goodsid": {
  8040. "description": "交易合约ID",
  8041. "type": "integer"
  8042. },
  8043. "goodsname": {
  8044. "description": "商品名称",
  8045. "type": "string"
  8046. },
  8047. "marketid": {
  8048. "description": "市场ID",
  8049. "type": "integer"
  8050. },
  8051. "mindeliveryqty": {
  8052. "description": "最小交割系数(K)",
  8053. "type": "integer"
  8054. },
  8055. "p2deliveryprice": {
  8056. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  8057. "type": "number"
  8058. },
  8059. "p2deliveryratio": {
  8060. "description": "P2合约系数(p)",
  8061. "type": "integer"
  8062. },
  8063. "p2goodsid": {
  8064. "description": "P2合约ID",
  8065. "type": "integer"
  8066. },
  8067. "p2pricemode": {
  8068. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  8069. "type": "integer"
  8070. },
  8071. "pdeliveryprice": {
  8072. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  8073. "type": "number"
  8074. },
  8075. "pdeliveryratio": {
  8076. "description": "P合约系数(n)",
  8077. "type": "integer"
  8078. },
  8079. "pgoodsid": {
  8080. "description": "P合约ID",
  8081. "type": "integer"
  8082. },
  8083. "ppricemode": {
  8084. "description": "P合约价格方式 - 1:商品价 2:固定值",
  8085. "type": "integer"
  8086. },
  8087. "rratio": {
  8088. "description": "兑换系数(R)",
  8089. "type": "integer"
  8090. },
  8091. "rratio1": {
  8092. "description": "兑换系数(交易合约)(R1)",
  8093. "type": "integer"
  8094. },
  8095. "rratio2": {
  8096. "description": "兑换系数(仓单标准)(R2)",
  8097. "type": "integer"
  8098. },
  8099. "selltemplateid": {
  8100. "description": "卖履约计划模板ID",
  8101. "type": "integer"
  8102. },
  8103. "wrstandardid": {
  8104. "description": "仓单标准ID",
  8105. "type": "integer"
  8106. },
  8107. "xdeliveryratio": {
  8108. "description": "交易合约系数(m)",
  8109. "type": "integer"
  8110. }
  8111. }
  8112. },
  8113. "ermcp.ExposureDetailRsp": {
  8114. "type": "object",
  8115. "properties": {
  8116. "areauserid": {
  8117. "description": "机构ID",
  8118. "type": "integer"
  8119. },
  8120. "changeQty": {
  8121. "description": "套保变动量",
  8122. "type": "number"
  8123. },
  8124. "contracttype": {
  8125. "description": "现货合同类型 - 1:采购 -1:销售",
  8126. "type": "integer"
  8127. },
  8128. "convertfactor": {
  8129. "description": "标仓系数",
  8130. "type": "number"
  8131. },
  8132. "convertratio": {
  8133. "description": "套保系数",
  8134. "type": "number"
  8135. },
  8136. "createtime": {
  8137. "description": "时间",
  8138. "type": "string"
  8139. },
  8140. "enumdicname": {
  8141. "description": "现货商品单位名称",
  8142. "type": "string"
  8143. },
  8144. "logtype": {
  8145. "description": "类型 - 1:套保计划 2:现货合同",
  8146. "type": "integer"
  8147. },
  8148. "middlegoodsId": {
  8149. "description": "套保商品id",
  8150. "type": "integer"
  8151. },
  8152. "middlegoodscode": {
  8153. "description": "套保商品代码",
  8154. "type": "string"
  8155. },
  8156. "middlegoodsname": {
  8157. "description": "套保商品名称",
  8158. "type": "string"
  8159. },
  8160. "qty": {
  8161. "description": "数量",
  8162. "type": "number"
  8163. },
  8164. "relateNo": {
  8165. "description": "现货合同/套保计划编号",
  8166. "type": "string"
  8167. },
  8168. "wrstandardcode": {
  8169. "description": "现货商品代码",
  8170. "type": "string"
  8171. },
  8172. "wrstandardid": {
  8173. "description": "现货商品ID",
  8174. "type": "integer"
  8175. },
  8176. "wrstandardname": {
  8177. "description": "现货商品名称",
  8178. "type": "string"
  8179. }
  8180. }
  8181. },
  8182. "ermcp.ExposureHedgePosDetailRsp": {
  8183. "type": "object",
  8184. "properties": {
  8185. "buyorsell": {
  8186. "description": "买卖方向 0-买 1-卖",
  8187. "type": "integer"
  8188. },
  8189. "channelbuildtype": {
  8190. "description": "开平方向 1-建仓 2-平仓",
  8191. "type": "integer"
  8192. },
  8193. "goodscode": {
  8194. "description": "商品代码",
  8195. "type": "string"
  8196. },
  8197. "goodsname": {
  8198. "description": "商品名称",
  8199. "type": "string"
  8200. },
  8201. "hedgegoodsid": {
  8202. "description": "商品id",
  8203. "type": "integer"
  8204. },
  8205. "tradeqty": {
  8206. "description": "数量(成交数量)",
  8207. "type": "integer"
  8208. },
  8209. "tradetime": {
  8210. "description": "时间(成交时间)",
  8211. "type": "string"
  8212. }
  8213. }
  8214. },
  8215. "ermcp.ExposureHedgePositionRsp": {
  8216. "type": "object",
  8217. "properties": {
  8218. "accountid": {
  8219. "description": "资金账号[外部母账户]",
  8220. "type": "integer"
  8221. },
  8222. "curbuyposition": {
  8223. "description": "期末买头寸",
  8224. "type": "integer"
  8225. },
  8226. "cursellposition": {
  8227. "description": "期末卖头寸",
  8228. "type": "integer"
  8229. },
  8230. "curtdbuyposition": {
  8231. "description": "期末今日买头寸",
  8232. "type": "integer"
  8233. },
  8234. "curtdsellposition": {
  8235. "description": "期末今日卖头寸",
  8236. "type": "integer"
  8237. },
  8238. "curydbuyposition": {
  8239. "description": "期末上日买头寸",
  8240. "type": "integer"
  8241. },
  8242. "curydsellposition": {
  8243. "description": "期末上日卖头寸",
  8244. "type": "integer"
  8245. },
  8246. "decreaseqty": {
  8247. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  8248. "type": "integer"
  8249. },
  8250. "fretdbuyposition": {
  8251. "description": "冻结今日买头寸",
  8252. "type": "integer"
  8253. },
  8254. "fretdsellposition": {
  8255. "description": "冻结今日卖头寸",
  8256. "type": "integer"
  8257. },
  8258. "freydbuyposition": {
  8259. "description": "冻结上日买头寸",
  8260. "type": "integer"
  8261. },
  8262. "freydsellposition": {
  8263. "description": "冻结上日卖头寸",
  8264. "type": "integer"
  8265. },
  8266. "goodscode": {
  8267. "description": "商品代码",
  8268. "type": "string"
  8269. },
  8270. "goodsid": {
  8271. "description": "商品id",
  8272. "type": "integer"
  8273. },
  8274. "goodsname": {
  8275. "description": "商品名称",
  8276. "type": "string"
  8277. },
  8278. "hedgeaccountcode": {
  8279. "description": "对冲账号",
  8280. "type": "string"
  8281. },
  8282. "hedgegoodsid": {
  8283. "description": "对冲合约ID",
  8284. "type": "integer"
  8285. },
  8286. "increaseqty": {
  8287. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  8288. "type": "integer"
  8289. },
  8290. "marketid": {
  8291. "description": "市场ID",
  8292. "type": "integer"
  8293. },
  8294. "relateduserid": {
  8295. "description": "关联用户id",
  8296. "type": "integer"
  8297. },
  8298. "totalcurqty": {
  8299. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  8300. "type": "integer"
  8301. },
  8302. "totalydqty": {
  8303. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  8304. "type": "integer"
  8305. },
  8306. "tradedate": {
  8307. "description": "交易日(yyyyMMdd)",
  8308. "type": "string"
  8309. },
  8310. "ydbuyposition": {
  8311. "description": "期初买头寸",
  8312. "type": "integer"
  8313. },
  8314. "ydsellposition": {
  8315. "description": "期初卖头寸",
  8316. "type": "integer"
  8317. }
  8318. }
  8319. },
  8320. "ermcp.ExposureSpotDetailRsp": {
  8321. "type": "object",
  8322. "properties": {
  8323. "contracttype": {
  8324. "description": "合同类型 1-采购 -1-销售",
  8325. "type": "integer"
  8326. },
  8327. "createtime": {
  8328. "description": "创建时间",
  8329. "type": "string"
  8330. },
  8331. "enumdicname": {
  8332. "description": "现货商品单位名称",
  8333. "type": "string"
  8334. },
  8335. "logtype": {
  8336. "description": "记录类型 1-套保 2-现货合同",
  8337. "type": "integer"
  8338. },
  8339. "qty": {
  8340. "description": "数量",
  8341. "type": "number"
  8342. },
  8343. "recordname": {
  8344. "description": "类型名称",
  8345. "type": "string"
  8346. },
  8347. "relatedid": {
  8348. "description": "套保计划ID/现货合同ID",
  8349. "type": "string"
  8350. },
  8351. "relatedno": {
  8352. "description": "编号",
  8353. "type": "string"
  8354. },
  8355. "strtime": {
  8356. "description": "时间",
  8357. "type": "string"
  8358. },
  8359. "wrstandardcode": {
  8360. "description": "现货商品代码",
  8361. "type": "string"
  8362. },
  8363. "wrstandardname": {
  8364. "description": "现货商品名称",
  8365. "type": "string"
  8366. }
  8367. }
  8368. },
  8369. "ermcp.ExposureSpotRsp": {
  8370. "type": "object",
  8371. "properties": {
  8372. "areauserid": {
  8373. "description": "所属机构",
  8374. "type": "integer"
  8375. },
  8376. "decreaseqty": {
  8377. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  8378. "type": "number"
  8379. },
  8380. "increaseqty": {
  8381. "description": "增加数量=销售计划数量+采购已定价数量",
  8382. "type": "number"
  8383. },
  8384. "oritoalspotqty": {
  8385. "description": "昨日数量",
  8386. "type": "number"
  8387. },
  8388. "totalspotqty": {
  8389. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  8390. "type": "number"
  8391. },
  8392. "updatetime": {
  8393. "description": "更新时间",
  8394. "type": "string"
  8395. },
  8396. "wrstandardcode": {
  8397. "description": "现货品种代码",
  8398. "type": "string"
  8399. },
  8400. "wrstandardid": {
  8401. "description": "现货商品ID",
  8402. "type": "integer"
  8403. },
  8404. "wrstandardname": {
  8405. "description": "现货品种",
  8406. "type": "string"
  8407. }
  8408. }
  8409. },
  8410. "ermcp.HisExposureRsp": {
  8411. "type": "object",
  8412. "properties": {
  8413. "data": {
  8414. "description": "历史敞口",
  8415. "type": "array",
  8416. "items": {
  8417. "$ref": "#/definitions/models.ErmcpHisExposure"
  8418. }
  8419. },
  8420. "enumdicname": {
  8421. "description": "单位名称",
  8422. "type": "string"
  8423. },
  8424. "middlegoodscode": {
  8425. "description": "套保品种代码",
  8426. "type": "string"
  8427. },
  8428. "middlegoodsid": {
  8429. "description": "套保品种ID",
  8430. "type": "integer"
  8431. },
  8432. "middlegoodsname": {
  8433. "description": "套保品种名称",
  8434. "type": "string"
  8435. }
  8436. }
  8437. },
  8438. "ermcp.PendingAuditCntRsp": {
  8439. "type": "object",
  8440. "properties": {
  8441. "areastockqty": {
  8442. "description": "待审核数量: 库存申请",
  8443. "type": "integer"
  8444. },
  8445. "businessdjqty": {
  8446. "description": "待审核数量: 点价",
  8447. "type": "integer"
  8448. },
  8449. "businessfpqty": {
  8450. "description": "待审核数量: 发票",
  8451. "type": "integer"
  8452. },
  8453. "businessjsqty": {
  8454. "description": "待审核数量: 结算",
  8455. "type": "integer"
  8456. },
  8457. "businesskxqty": {
  8458. "description": "待审核数量: 款项",
  8459. "type": "integer"
  8460. },
  8461. "hedgeplanqty": {
  8462. "description": "待审核数量: 套保计划",
  8463. "type": "integer"
  8464. },
  8465. "spotcontractqty": {
  8466. "description": "待审核数量: 现货合同",
  8467. "type": "integer"
  8468. },
  8469. "userqty": {
  8470. "description": "待审核数量: 用户",
  8471. "type": "integer"
  8472. }
  8473. }
  8474. },
  8475. "ermcp.QryAreaStockApplyRsp": {
  8476. "type": "object",
  8477. "properties": {
  8478. "applyid": {
  8479. "description": "申请人",
  8480. "type": "integer"
  8481. },
  8482. "applyname": {
  8483. "description": "申请人名称",
  8484. "type": "string"
  8485. },
  8486. "applyremark": {
  8487. "description": "申请备注",
  8488. "type": "string"
  8489. },
  8490. "applysrc": {
  8491. "description": "申请来源 - 1:管理端 2:终端",
  8492. "type": "integer"
  8493. },
  8494. "applystatus": {
  8495. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8496. "type": "integer"
  8497. },
  8498. "applytime": {
  8499. "description": "申请时间",
  8500. "type": "string"
  8501. },
  8502. "auditid": {
  8503. "description": "审核人",
  8504. "type": "integer"
  8505. },
  8506. "auditname": {
  8507. "description": "审核人名称",
  8508. "type": "string"
  8509. },
  8510. "auditremark": {
  8511. "description": "审核备注",
  8512. "type": "string"
  8513. },
  8514. "auditsrc": {
  8515. "description": "审核来源 - 1:管理端 2:终端",
  8516. "type": "integer"
  8517. },
  8518. "audittime": {
  8519. "description": "审核时间",
  8520. "type": "string"
  8521. },
  8522. "audittradedate": {
  8523. "description": "审核交易日(yyyyMMdd)",
  8524. "type": "string"
  8525. },
  8526. "brandname": {
  8527. "description": "品牌名称",
  8528. "type": "string"
  8529. },
  8530. "buyuserid": {
  8531. "description": "采购方userid",
  8532. "type": "integer"
  8533. },
  8534. "buyusername": {
  8535. "description": "采购方名称",
  8536. "type": "string"
  8537. },
  8538. "contractno": {
  8539. "description": "合同编号",
  8540. "type": "string"
  8541. },
  8542. "contractqty": {
  8543. "description": "合同量",
  8544. "type": "number"
  8545. },
  8546. "contracttype": {
  8547. "description": "现货合同类型 - 1:采购 -1:销售",
  8548. "type": "integer"
  8549. },
  8550. "deliverygoodsid": {
  8551. "description": "现货品种ID",
  8552. "type": "integer"
  8553. },
  8554. "enumdicname": {
  8555. "description": "现货商品单位名称",
  8556. "type": "string"
  8557. },
  8558. "inoutapplyid": {
  8559. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  8560. "type": "string"
  8561. },
  8562. "inouttype": {
  8563. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  8564. "type": "integer"
  8565. },
  8566. "modelname": {
  8567. "description": "型号名称",
  8568. "type": "string"
  8569. },
  8570. "pricetype": {
  8571. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8572. "type": "integer"
  8573. },
  8574. "qty": {
  8575. "description": "数量",
  8576. "type": "number"
  8577. },
  8578. "selluserid": {
  8579. "description": "销售方userid",
  8580. "type": "integer"
  8581. },
  8582. "sellusername": {
  8583. "description": "销售方名称",
  8584. "type": "string"
  8585. },
  8586. "spotcontractid": {
  8587. "description": "关联现货合同ID",
  8588. "type": "string"
  8589. },
  8590. "spotgoodsbrandid": {
  8591. "description": "现货品牌ID",
  8592. "type": "integer"
  8593. },
  8594. "spotgoodsmodelid": {
  8595. "description": "现货型号ID",
  8596. "type": "integer"
  8597. },
  8598. "unitid": {
  8599. "description": "单位id",
  8600. "type": "integer"
  8601. },
  8602. "userid": {
  8603. "description": "机构ID",
  8604. "type": "integer"
  8605. },
  8606. "warehousecode": {
  8607. "description": "仓库代码",
  8608. "type": "string"
  8609. },
  8610. "warehouseinfoid": {
  8611. "description": "现货仓库ID",
  8612. "type": "string"
  8613. },
  8614. "warehousename": {
  8615. "description": "仓库名称",
  8616. "type": "string"
  8617. },
  8618. "warehousetype": {
  8619. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  8620. "type": "integer"
  8621. },
  8622. "wrstandardcode": {
  8623. "description": "现货商品代码",
  8624. "type": "string"
  8625. },
  8626. "wrstandardid": {
  8627. "description": "现货商品ID",
  8628. "type": "string"
  8629. },
  8630. "wrstandardname": {
  8631. "description": "现货商品名称",
  8632. "type": "string"
  8633. }
  8634. }
  8635. },
  8636. "ermcp.QryAvalidGPRsp": {
  8637. "type": "object",
  8638. "properties": {
  8639. "goodsgroupid": {
  8640. "description": "期货品种id",
  8641. "type": "integer"
  8642. },
  8643. "goodsgroupname": {
  8644. "description": "期货品种名称",
  8645. "type": "string"
  8646. },
  8647. "goodunitid": {
  8648. "description": "品种单位id",
  8649. "type": "integer"
  8650. },
  8651. "goodunitname": {
  8652. "description": "品种单位名称",
  8653. "type": "string"
  8654. },
  8655. "outergroupcode": {
  8656. "description": "期货品种代码",
  8657. "type": "string"
  8658. }
  8659. }
  8660. },
  8661. "ermcp.QryBusinessDjRsp": {
  8662. "type": "object",
  8663. "properties": {
  8664. "amount": {
  8665. "description": "点价金额=(点价价格+升贴水)*点价数量",
  8666. "type": "number"
  8667. },
  8668. "applyid": {
  8669. "description": "申请人",
  8670. "type": "string"
  8671. },
  8672. "applyname": {
  8673. "description": "申请人名称",
  8674. "type": "string"
  8675. },
  8676. "applystatus": {
  8677. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8678. "type": "integer"
  8679. },
  8680. "applytime": {
  8681. "description": "申请时间",
  8682. "type": "string"
  8683. },
  8684. "attachurl": {
  8685. "description": "附件",
  8686. "type": "string"
  8687. },
  8688. "auditname": {
  8689. "description": "审核人名称",
  8690. "type": "string"
  8691. },
  8692. "audittime": {
  8693. "description": "审核时间",
  8694. "type": "string"
  8695. },
  8696. "buyusername": {
  8697. "description": "采购方名称",
  8698. "type": "string"
  8699. },
  8700. "contractno": {
  8701. "description": "合同编号",
  8702. "type": "string"
  8703. },
  8704. "contractstatus": {
  8705. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8706. "type": "integer"
  8707. },
  8708. "contracttype": {
  8709. "description": "现货合同类型 - 1:采购 -1:销售",
  8710. "type": "integer"
  8711. },
  8712. "enumdicname": {
  8713. "description": "单位名称",
  8714. "type": "string"
  8715. },
  8716. "goodscode": {
  8717. "description": "点价合约",
  8718. "type": "string"
  8719. },
  8720. "goodsname": {
  8721. "description": "商品名称",
  8722. "type": "string"
  8723. },
  8724. "operateapplyid": {
  8725. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8726. "type": "string"
  8727. },
  8728. "operateapplytype": {
  8729. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8730. "type": "integer"
  8731. },
  8732. "pricedPrice": {
  8733. "description": "点价价格(非必填)",
  8734. "type": "number"
  8735. },
  8736. "pricedQty": {
  8737. "description": "点价数量(非必填)",
  8738. "type": "number"
  8739. },
  8740. "pricemove": {
  8741. "description": "升贴水",
  8742. "type": "number"
  8743. },
  8744. "pricetype": {
  8745. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8746. "type": "integer"
  8747. },
  8748. "relatedid": {
  8749. "description": "现货合同ID",
  8750. "type": "string"
  8751. },
  8752. "sellusername": {
  8753. "description": "销售方名字",
  8754. "type": "string"
  8755. },
  8756. "userid": {
  8757. "description": "用户ID",
  8758. "type": "integer"
  8759. },
  8760. "wrstandardcode": {
  8761. "description": "现货商品代码",
  8762. "type": "string"
  8763. },
  8764. "wrstandardid": {
  8765. "description": "现货商品id",
  8766. "type": "integer"
  8767. },
  8768. "wrstandardname": {
  8769. "description": "现货商品名称",
  8770. "type": "string"
  8771. }
  8772. }
  8773. },
  8774. "ermcp.QryBussinessFpRsp": {
  8775. "type": "object",
  8776. "properties": {
  8777. "applyid": {
  8778. "description": "申请人",
  8779. "type": "string"
  8780. },
  8781. "applyname": {
  8782. "description": "申请人名称",
  8783. "type": "string"
  8784. },
  8785. "applystatus": {
  8786. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8787. "type": "integer"
  8788. },
  8789. "applytime": {
  8790. "description": "申请时间",
  8791. "type": "string"
  8792. },
  8793. "attachurl": {
  8794. "description": "附件",
  8795. "type": "string"
  8796. },
  8797. "auditname": {
  8798. "description": "审核人名称",
  8799. "type": "string"
  8800. },
  8801. "audittime": {
  8802. "description": "审核时间",
  8803. "type": "string"
  8804. },
  8805. "buyusername": {
  8806. "description": "采购方名称",
  8807. "type": "string"
  8808. },
  8809. "contractno": {
  8810. "description": "合同编号",
  8811. "type": "string"
  8812. },
  8813. "contractstatus": {
  8814. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8815. "type": "integer"
  8816. },
  8817. "contracttype": {
  8818. "description": "现货合同类型 - 1:采购 -1:销售",
  8819. "type": "integer"
  8820. },
  8821. "enumdicname": {
  8822. "description": "单位名称",
  8823. "type": "string"
  8824. },
  8825. "goodscode": {
  8826. "description": "点价合约",
  8827. "type": "string"
  8828. },
  8829. "goodsname": {
  8830. "description": "商品名称",
  8831. "type": "string"
  8832. },
  8833. "invoiceAmount": {
  8834. "description": "已开收票金额(销售为开票,采购为收票)",
  8835. "type": "number"
  8836. },
  8837. "operateapplyid": {
  8838. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8839. "type": "string"
  8840. },
  8841. "operateapplytype": {
  8842. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8843. "type": "integer"
  8844. },
  8845. "pricemove": {
  8846. "description": "升贴水",
  8847. "type": "number"
  8848. },
  8849. "pricetype": {
  8850. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8851. "type": "integer"
  8852. },
  8853. "relatedid": {
  8854. "description": "现货合同ID",
  8855. "type": "string"
  8856. },
  8857. "sellusername": {
  8858. "description": "销售方名字",
  8859. "type": "string"
  8860. },
  8861. "userid": {
  8862. "description": "用户ID",
  8863. "type": "integer"
  8864. },
  8865. "wrstandardcode": {
  8866. "description": "现货商品代码",
  8867. "type": "string"
  8868. },
  8869. "wrstandardid": {
  8870. "description": "现货商品id",
  8871. "type": "integer"
  8872. },
  8873. "wrstandardname": {
  8874. "description": "现货商品名称",
  8875. "type": "string"
  8876. }
  8877. }
  8878. },
  8879. "ermcp.QryBussinessJsExRsp": {
  8880. "type": "object",
  8881. "properties": {
  8882. "applyid": {
  8883. "description": "申请人",
  8884. "type": "string"
  8885. },
  8886. "applyname": {
  8887. "description": "申请人名称",
  8888. "type": "string"
  8889. },
  8890. "applystatus": {
  8891. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8892. "type": "integer"
  8893. },
  8894. "applytime": {
  8895. "description": "申请时间",
  8896. "type": "string"
  8897. },
  8898. "attachurl": {
  8899. "description": "附件",
  8900. "type": "string"
  8901. },
  8902. "auditname": {
  8903. "description": "审核人名称",
  8904. "type": "string"
  8905. },
  8906. "audittime": {
  8907. "description": "审核时间",
  8908. "type": "string"
  8909. },
  8910. "buyusername": {
  8911. "description": "采购方名称",
  8912. "type": "string"
  8913. },
  8914. "contractno": {
  8915. "description": "合同编号",
  8916. "type": "string"
  8917. },
  8918. "contractstatus": {
  8919. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8920. "type": "integer"
  8921. },
  8922. "contracttype": {
  8923. "description": "现货合同类型 - 1:采购 -1:销售",
  8924. "type": "integer"
  8925. },
  8926. "enumdicname": {
  8927. "description": "单位名称",
  8928. "type": "string"
  8929. },
  8930. "goodscode": {
  8931. "description": "点价合约",
  8932. "type": "string"
  8933. },
  8934. "goodsname": {
  8935. "description": "商品名称",
  8936. "type": "string"
  8937. },
  8938. "operateapplyid": {
  8939. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8940. "type": "string"
  8941. },
  8942. "operateapplytype": {
  8943. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8944. "type": "integer"
  8945. },
  8946. "pricemove": {
  8947. "description": "升贴水",
  8948. "type": "number"
  8949. },
  8950. "pricetype": {
  8951. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8952. "type": "integer"
  8953. },
  8954. "reckontype": {
  8955. "description": "结算类型",
  8956. "type": "string"
  8957. },
  8958. "reckonvalue": {
  8959. "description": "值",
  8960. "type": "number"
  8961. },
  8962. "relatedid": {
  8963. "description": "现货合同ID",
  8964. "type": "string"
  8965. },
  8966. "sellusername": {
  8967. "description": "销售方名字",
  8968. "type": "string"
  8969. },
  8970. "userid": {
  8971. "description": "用户ID",
  8972. "type": "integer"
  8973. },
  8974. "wrstandardcode": {
  8975. "description": "现货商品代码",
  8976. "type": "string"
  8977. },
  8978. "wrstandardid": {
  8979. "description": "现货商品id",
  8980. "type": "integer"
  8981. },
  8982. "wrstandardname": {
  8983. "description": "现货商品名称",
  8984. "type": "string"
  8985. }
  8986. }
  8987. },
  8988. "ermcp.QryBussinessJsRsp": {
  8989. "type": "object",
  8990. "properties": {
  8991. "addmargin": {
  8992. "description": "追加保证金(非必填)",
  8993. "type": "number"
  8994. },
  8995. "applyid": {
  8996. "description": "申请人",
  8997. "type": "string"
  8998. },
  8999. "applyname": {
  9000. "description": "申请人名称",
  9001. "type": "string"
  9002. },
  9003. "applystatus": {
  9004. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9005. "type": "integer"
  9006. },
  9007. "applytime": {
  9008. "description": "申请时间",
  9009. "type": "string"
  9010. },
  9011. "attachurl": {
  9012. "description": "附件",
  9013. "type": "string"
  9014. },
  9015. "auditname": {
  9016. "description": "审核人名称",
  9017. "type": "string"
  9018. },
  9019. "audittime": {
  9020. "description": "审核时间",
  9021. "type": "string"
  9022. },
  9023. "buyusername": {
  9024. "description": "采购方名称",
  9025. "type": "string"
  9026. },
  9027. "contractno": {
  9028. "description": "合同编号",
  9029. "type": "string"
  9030. },
  9031. "contractstatus": {
  9032. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9033. "type": "integer"
  9034. },
  9035. "contracttype": {
  9036. "description": "现货合同类型 - 1:采购 -1:销售",
  9037. "type": "integer"
  9038. },
  9039. "decmargin": {
  9040. "description": "减少保证金(非必填)",
  9041. "type": "number"
  9042. },
  9043. "enumdicname": {
  9044. "description": "单位名称",
  9045. "type": "string"
  9046. },
  9047. "goodscode": {
  9048. "description": "点价合约",
  9049. "type": "string"
  9050. },
  9051. "goodsname": {
  9052. "description": "商品名称",
  9053. "type": "string"
  9054. },
  9055. "operateapplyid": {
  9056. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9057. "type": "string"
  9058. },
  9059. "operateapplytype": {
  9060. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9061. "type": "integer"
  9062. },
  9063. "pricemove": {
  9064. "description": "升贴水",
  9065. "type": "number"
  9066. },
  9067. "pricetype": {
  9068. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9069. "type": "integer"
  9070. },
  9071. "reckonadjustamount": {
  9072. "description": "结算调整金额(非必填)",
  9073. "type": "number"
  9074. },
  9075. "reckonosamount": {
  9076. "description": "结算溢短金额(非必填)",
  9077. "type": "number"
  9078. },
  9079. "reckonotheramount": {
  9080. "description": "结算其他费用(非必填)",
  9081. "type": "number"
  9082. },
  9083. "reckonrealqty": {
  9084. "description": "结算实际数量(非必填)",
  9085. "type": "number"
  9086. },
  9087. "relatedid": {
  9088. "description": "现货合同ID",
  9089. "type": "string"
  9090. },
  9091. "sellusername": {
  9092. "description": "销售方名字",
  9093. "type": "string"
  9094. },
  9095. "userid": {
  9096. "description": "用户ID",
  9097. "type": "integer"
  9098. },
  9099. "wrstandardcode": {
  9100. "description": "现货商品代码",
  9101. "type": "string"
  9102. },
  9103. "wrstandardid": {
  9104. "description": "现货商品id",
  9105. "type": "integer"
  9106. },
  9107. "wrstandardname": {
  9108. "description": "现货商品名称",
  9109. "type": "string"
  9110. }
  9111. }
  9112. },
  9113. "ermcp.QryBussinessKxRsp": {
  9114. "type": "object",
  9115. "properties": {
  9116. "applyid": {
  9117. "description": "申请人",
  9118. "type": "string"
  9119. },
  9120. "applyname": {
  9121. "description": "申请人名称",
  9122. "type": "string"
  9123. },
  9124. "applystatus": {
  9125. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9126. "type": "integer"
  9127. },
  9128. "applytime": {
  9129. "description": "申请时间",
  9130. "type": "string"
  9131. },
  9132. "attachurl": {
  9133. "description": "附件",
  9134. "type": "string"
  9135. },
  9136. "auditname": {
  9137. "description": "审核人名称",
  9138. "type": "string"
  9139. },
  9140. "audittime": {
  9141. "description": "审核时间",
  9142. "type": "string"
  9143. },
  9144. "buyusername": {
  9145. "description": "采购方名称",
  9146. "type": "string"
  9147. },
  9148. "contractno": {
  9149. "description": "合同编号",
  9150. "type": "string"
  9151. },
  9152. "contractstatus": {
  9153. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9154. "type": "integer"
  9155. },
  9156. "contracttype": {
  9157. "description": "现货合同类型 - 1:采购 -1:销售",
  9158. "type": "integer"
  9159. },
  9160. "deductamount": {
  9161. "description": "退款(非必填)",
  9162. "type": "number"
  9163. },
  9164. "enumdicname": {
  9165. "description": "单位名称",
  9166. "type": "string"
  9167. },
  9168. "goodscode": {
  9169. "description": "点价合约",
  9170. "type": "string"
  9171. },
  9172. "goodsname": {
  9173. "description": "商品名称",
  9174. "type": "string"
  9175. },
  9176. "kxtype": {
  9177. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  9178. "type": "integer"
  9179. },
  9180. "operateapplyid": {
  9181. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9182. "type": "string"
  9183. },
  9184. "operateapplytype": {
  9185. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9186. "type": "integer"
  9187. },
  9188. "payamount": {
  9189. "description": "收付款(非必填)",
  9190. "type": "number"
  9191. },
  9192. "pricemove": {
  9193. "description": "升贴水",
  9194. "type": "number"
  9195. },
  9196. "pricetype": {
  9197. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9198. "type": "integer"
  9199. },
  9200. "relatedid": {
  9201. "description": "现货合同ID",
  9202. "type": "string"
  9203. },
  9204. "sellusername": {
  9205. "description": "销售方名字",
  9206. "type": "string"
  9207. },
  9208. "userid": {
  9209. "description": "用户ID",
  9210. "type": "integer"
  9211. },
  9212. "wrstandardcode": {
  9213. "description": "现货商品代码",
  9214. "type": "string"
  9215. },
  9216. "wrstandardid": {
  9217. "description": "现货商品id",
  9218. "type": "integer"
  9219. },
  9220. "wrstandardname": {
  9221. "description": "现货商品名称",
  9222. "type": "string"
  9223. }
  9224. }
  9225. },
  9226. "ermcp.QryErmcpRsp": {
  9227. "type": "object",
  9228. "properties": {
  9229. "accountname": {
  9230. "description": "账户名称",
  9231. "type": "string"
  9232. },
  9233. "attachment": {
  9234. "description": "附件",
  9235. "type": "string"
  9236. },
  9237. "audittime": {
  9238. "description": "审核时间",
  9239. "type": "string"
  9240. },
  9241. "brandname": {
  9242. "description": "品牌名称",
  9243. "type": "string"
  9244. },
  9245. "contracctstatus": {
  9246. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9247. "type": "integer"
  9248. },
  9249. "contractmargin": {
  9250. "description": "合同保证金",
  9251. "type": "number"
  9252. },
  9253. "contractno": {
  9254. "description": "合同编号",
  9255. "type": "string"
  9256. },
  9257. "contracttype": {
  9258. "description": "合同类型 1-采购, -1-销售",
  9259. "type": "integer"
  9260. },
  9261. "convertfactor": {
  9262. "description": "标仓系数",
  9263. "type": "number"
  9264. },
  9265. "createtime": {
  9266. "description": "创建时间",
  9267. "type": "string"
  9268. },
  9269. "daikaiamount": {
  9270. "description": "待开票额",
  9271. "type": "number"
  9272. },
  9273. "deliveryenddate": {
  9274. "description": "交割结束日",
  9275. "type": "string"
  9276. },
  9277. "deliverygoodscode": {
  9278. "description": "现货品种代码",
  9279. "type": "string"
  9280. },
  9281. "deliverygoodsid": {
  9282. "description": "现货商品ID",
  9283. "type": "integer"
  9284. },
  9285. "deliverygoodsname": {
  9286. "description": "现货品种名称",
  9287. "type": "string"
  9288. },
  9289. "deliverystartdate": {
  9290. "description": "交割开始日",
  9291. "type": "string"
  9292. },
  9293. "enddate": {
  9294. "description": "点价结束日",
  9295. "type": "string"
  9296. },
  9297. "enumdicname": {
  9298. "description": "单位名称",
  9299. "type": "string"
  9300. },
  9301. "goodscode": {
  9302. "description": "点价商品代码",
  9303. "type": "string"
  9304. },
  9305. "goodsid": {
  9306. "description": "点价商品ID",
  9307. "type": "integer"
  9308. },
  9309. "goodsname": {
  9310. "description": "点价商品名称",
  9311. "type": "string"
  9312. },
  9313. "invoiceamount": {
  9314. "description": "已开票额",
  9315. "type": "number"
  9316. },
  9317. "loanamount": {
  9318. "description": "贷款总额=已定价额+调整金额",
  9319. "type": "number"
  9320. },
  9321. "margin": {
  9322. "description": "保证金",
  9323. "type": "number"
  9324. },
  9325. "modelname": {
  9326. "description": "型号名称",
  9327. "type": "string"
  9328. },
  9329. "payamount": {
  9330. "description": "已收付额(收款或付款)",
  9331. "type": "number"
  9332. },
  9333. "price": {
  9334. "description": "价格",
  9335. "type": "number"
  9336. },
  9337. "pricedamount": {
  9338. "description": "已定价额",
  9339. "type": "number"
  9340. },
  9341. "pricedavg": {
  9342. "description": "已点均价",
  9343. "type": "number"
  9344. },
  9345. "pricedqty": {
  9346. "description": "已定价量",
  9347. "type": "number"
  9348. },
  9349. "pricemove": {
  9350. "description": "升贴水",
  9351. "type": "number"
  9352. },
  9353. "pricetype": {
  9354. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9355. "type": "integer"
  9356. },
  9357. "producttype": {
  9358. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9359. "type": "integer"
  9360. },
  9361. "qty": {
  9362. "description": "合同量",
  9363. "type": "number"
  9364. },
  9365. "reckonadjustamount": {
  9366. "description": "调整金额",
  9367. "type": "number"
  9368. },
  9369. "reckonedamount": {
  9370. "description": "已收付额(已确定额)",
  9371. "type": "number"
  9372. },
  9373. "reckonotheramount": {
  9374. "description": "其它费用",
  9375. "type": "number"
  9376. },
  9377. "reckonrealqty": {
  9378. "description": "已确定量",
  9379. "type": "number"
  9380. },
  9381. "remark": {
  9382. "description": "备注",
  9383. "type": "string"
  9384. },
  9385. "spotcontractid": {
  9386. "description": "合同ID",
  9387. "type": "string"
  9388. },
  9389. "spotgoodsbrandid": {
  9390. "description": "现货品牌ID",
  9391. "type": "integer"
  9392. },
  9393. "spotgoodsdesc": {
  9394. "description": "商品型号(商品规格)",
  9395. "type": "string"
  9396. },
  9397. "spotgoodsmodelid": {
  9398. "description": "现货型号ID",
  9399. "type": "integer"
  9400. },
  9401. "startdate": {
  9402. "description": "点价开始日",
  9403. "type": "string"
  9404. },
  9405. "totalamount": {
  9406. "description": "合计总额",
  9407. "type": "number"
  9408. },
  9409. "unpayamount": {
  9410. "description": "待支收额(支付或收款)",
  9411. "type": "number"
  9412. },
  9413. "unpricedqty": {
  9414. "description": "未定价量",
  9415. "type": "number"
  9416. },
  9417. "unsureqty": {
  9418. "description": "未确定量",
  9419. "type": "number"
  9420. },
  9421. "userid": {
  9422. "description": "用户ID",
  9423. "type": "integer"
  9424. },
  9425. "wrstandardcode": {
  9426. "description": "现货商品代码",
  9427. "type": "string"
  9428. },
  9429. "wrstandardid": {
  9430. "description": "现货商品ID",
  9431. "type": "integer"
  9432. },
  9433. "wrstandardname": {
  9434. "description": "现货商品名称",
  9435. "type": "string"
  9436. }
  9437. }
  9438. },
  9439. "ermcp.QryGGCovertCfgRsp": {
  9440. "type": "object",
  9441. "properties": {
  9442. "convertratio": {
  9443. "description": "折算系数",
  9444. "type": "number"
  9445. },
  9446. "destgoodsgroupid": {
  9447. "description": "目标品种ID",
  9448. "type": "integer"
  9449. },
  9450. "dstcode": {
  9451. "description": "目录品种代码",
  9452. "type": "string"
  9453. },
  9454. "dstexchangecode": {
  9455. "description": "目标期货交易所",
  9456. "type": "string"
  9457. },
  9458. "dstname": {
  9459. "description": "目标品种名称",
  9460. "type": "string"
  9461. },
  9462. "dstunitid": {
  9463. "description": "目标品种单位ID",
  9464. "type": "integer"
  9465. },
  9466. "dstunitidname": {
  9467. "description": "目标品种单位名称",
  9468. "type": "string"
  9469. },
  9470. "modifytime": {
  9471. "description": "修改时间",
  9472. "type": "string"
  9473. },
  9474. "srccode": {
  9475. "description": "源品种代码",
  9476. "type": "string"
  9477. },
  9478. "srcexchangecode": {
  9479. "description": "源期货交易所",
  9480. "type": "string"
  9481. },
  9482. "srcgoodsgroupid": {
  9483. "description": "源品种ID",
  9484. "type": "integer"
  9485. },
  9486. "srcname": {
  9487. "description": "源品种名称",
  9488. "type": "string"
  9489. },
  9490. "srcunitid": {
  9491. "description": "源品种单位ID",
  9492. "type": "integer"
  9493. },
  9494. "srcunitidname": {
  9495. "description": "源品种单位名称",
  9496. "type": "string"
  9497. }
  9498. }
  9499. },
  9500. "ermcp.QryHedgePlanRsp": {
  9501. "type": "object",
  9502. "properties": {
  9503. "areauserid": {
  9504. "description": "用户ID",
  9505. "type": "integer"
  9506. },
  9507. "audittime": {
  9508. "description": "审核时间",
  9509. "type": "string"
  9510. },
  9511. "contracttype": {
  9512. "description": "计划类型 - 1:采购 -1:销售",
  9513. "type": "integer"
  9514. },
  9515. "convertfactor": {
  9516. "description": "标仓系数",
  9517. "type": "number"
  9518. },
  9519. "createtime": {
  9520. "description": "创建时间",
  9521. "type": "string"
  9522. },
  9523. "deliverygoodsid": {
  9524. "description": "现货品种ID",
  9525. "type": "integer"
  9526. },
  9527. "deliverygoodsname": {
  9528. "description": "现货品种名称",
  9529. "type": "string"
  9530. },
  9531. "enumdicname": {
  9532. "description": "单位名称",
  9533. "type": "string"
  9534. },
  9535. "hedgeplanid": {
  9536. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  9537. "type": "string"
  9538. },
  9539. "hedgeplanno": {
  9540. "description": "套保计划编号(名称)",
  9541. "type": "string"
  9542. },
  9543. "hedgeplanstatus": {
  9544. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9545. "type": "integer"
  9546. },
  9547. "planqty": {
  9548. "description": "计划数量",
  9549. "type": "number"
  9550. },
  9551. "plantime": {
  9552. "description": "计划时间",
  9553. "type": "string"
  9554. },
  9555. "producttype": {
  9556. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9557. "type": "integer"
  9558. },
  9559. "remark": {
  9560. "description": "备注",
  9561. "type": "string"
  9562. },
  9563. "spotgoodsdesc": {
  9564. "description": "商品型号",
  9565. "type": "string"
  9566. },
  9567. "unitid": {
  9568. "description": "单位id",
  9569. "type": "integer"
  9570. },
  9571. "updatetime": {
  9572. "description": "更新时间",
  9573. "type": "string"
  9574. },
  9575. "wrstandardid": {
  9576. "description": "现货商品ID",
  9577. "type": "integer"
  9578. },
  9579. "wrstandardname": {
  9580. "description": "现货商品名称",
  9581. "type": "string"
  9582. }
  9583. }
  9584. },
  9585. "ermcp.QryMGChangeLogRsp": {
  9586. "type": "object",
  9587. "properties": {
  9588. "aftervalue": {
  9589. "description": "变更后",
  9590. "type": "number"
  9591. },
  9592. "applyid": {
  9593. "description": "操作人",
  9594. "type": "integer"
  9595. },
  9596. "applyname": {
  9597. "description": "操作人名称",
  9598. "type": "string"
  9599. },
  9600. "applysrc": {
  9601. "description": "操作来源 - 1:管理端 2:终端",
  9602. "type": "integer"
  9603. },
  9604. "beforevalue": {
  9605. "description": "变更前",
  9606. "type": "number"
  9607. },
  9608. "changelogtype": {
  9609. "description": "变更流水类型 - 1:套保比率变更",
  9610. "type": "integer"
  9611. },
  9612. "handlestatus": {
  9613. "description": "处理状态",
  9614. "type": "integer"
  9615. },
  9616. "logdatetime": {
  9617. "description": "流水日期",
  9618. "type": "string"
  9619. },
  9620. "logid": {
  9621. "description": "流水ID",
  9622. "type": "integer"
  9623. },
  9624. "logremark": {
  9625. "description": "流水备注",
  9626. "type": "string"
  9627. },
  9628. "middlegoodsid": {
  9629. "description": "套保品种ID",
  9630. "type": "integer"
  9631. },
  9632. "tradedate": {
  9633. "description": "交易日(yyyyMMdd)",
  9634. "type": "string"
  9635. },
  9636. "updatetime": {
  9637. "description": "更新时间",
  9638. "type": "string"
  9639. }
  9640. }
  9641. },
  9642. "ermcp.QryMiddleGoodsDetailRsp": {
  9643. "type": "object",
  9644. "properties": {
  9645. "cvList": {
  9646. "description": "期货品种折算列表",
  9647. "type": "array",
  9648. "items": {
  9649. "$ref": "#/definitions/models.GoodsGroupConvert"
  9650. }
  9651. },
  9652. "mg": {
  9653. "description": "套保品种基本信息",
  9654. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  9655. }
  9656. }
  9657. },
  9658. "ermcp.QryMiddleGoodsRsp": {
  9659. "type": "object",
  9660. "properties": {
  9661. "areauserid": {
  9662. "description": "机构用户ID",
  9663. "type": "integer"
  9664. },
  9665. "createtime": {
  9666. "description": "修改时间",
  9667. "type": "string"
  9668. },
  9669. "enumdicname": {
  9670. "description": "单位名称",
  9671. "type": "string"
  9672. },
  9673. "evaluateratio": {
  9674. "description": "估价系数",
  9675. "type": "number"
  9676. },
  9677. "goodsgroupid": {
  9678. "description": "关联期货品种ID",
  9679. "type": "integer"
  9680. },
  9681. "isvalid": {
  9682. "description": "状态 0-无效(停用) 1-有效(正常)",
  9683. "type": "integer"
  9684. },
  9685. "middlegoodscode": {
  9686. "description": "套保品种代码",
  9687. "type": "string"
  9688. },
  9689. "middlegoodsid": {
  9690. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  9691. "type": "integer"
  9692. },
  9693. "middlegoodsname": {
  9694. "description": "套保品种名称",
  9695. "type": "string"
  9696. },
  9697. "modifytime": {
  9698. "description": "修改时间",
  9699. "type": "string"
  9700. },
  9701. "needhedgeratio": {
  9702. "description": "套保比率",
  9703. "type": "number"
  9704. },
  9705. "qtydecimalplace": {
  9706. "description": "数量小数位",
  9707. "type": "integer"
  9708. },
  9709. "relatedgoodsid": {
  9710. "description": "关联交易商品ID",
  9711. "type": "integer"
  9712. },
  9713. "relatedgoodstype": {
  9714. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  9715. "type": "integer"
  9716. }
  9717. }
  9718. },
  9719. "ermcp.QryOPLogRsp": {
  9720. "type": "object",
  9721. "properties": {
  9722. "aftervalue": {
  9723. "description": "变更后",
  9724. "type": "number"
  9725. },
  9726. "applyid": {
  9727. "description": "操作人ID",
  9728. "type": "string"
  9729. },
  9730. "applyname": {
  9731. "description": "操作人名称",
  9732. "type": "string"
  9733. },
  9734. "beforevalue": {
  9735. "description": "变更前",
  9736. "type": "number"
  9737. },
  9738. "biztype": {
  9739. "description": "业务类型 - 1:套保计划 2:现货合同",
  9740. "type": "integer"
  9741. },
  9742. "contracttype": {
  9743. "description": "现货合同类型 - 1:采购 -1:销售",
  9744. "type": "integer"
  9745. },
  9746. "logvalue": {
  9747. "description": "数值",
  9748. "type": "number"
  9749. },
  9750. "operatelogtype": {
  9751. "description": "操作流水类型",
  9752. "type": "integer"
  9753. },
  9754. "operatelogtypedesc": {
  9755. "description": "操作流水类型名称",
  9756. "type": "string"
  9757. },
  9758. "relatedid": {
  9759. "description": "现货合同ID\\套保计划",
  9760. "type": "string"
  9761. },
  9762. "updatetime": {
  9763. "description": "更新时间",
  9764. "type": "string"
  9765. }
  9766. }
  9767. },
  9768. "ermcp.QryReportDaySpotDetailRsp": {
  9769. "type": "object",
  9770. "properties": {
  9771. "applyid": {
  9772. "description": "操作人",
  9773. "type": "integer"
  9774. },
  9775. "applyname": {
  9776. "description": "操作人名称",
  9777. "type": "string"
  9778. },
  9779. "biztype": {
  9780. "description": "业务类型 - 1:套保计划 2:现货合同",
  9781. "type": "integer"
  9782. },
  9783. "contracttype": {
  9784. "description": "现货合同类型 - 1:采购 -1:销售",
  9785. "type": "integer"
  9786. },
  9787. "enumdicName": {
  9788. "description": "单位名称",
  9789. "type": "string"
  9790. },
  9791. "logdatetime": {
  9792. "description": "流水日期(时间)",
  9793. "type": "string"
  9794. },
  9795. "logid": {
  9796. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  9797. "type": "string"
  9798. },
  9799. "logtypename": {
  9800. "description": "合同类型(名称)",
  9801. "type": "string"
  9802. },
  9803. "logvalue": {
  9804. "description": "数值",
  9805. "type": "string"
  9806. },
  9807. "operatelogtype": {
  9808. "description": "操作流水类型 -",
  9809. "type": "integer"
  9810. },
  9811. "optypename": {
  9812. "description": "流水类型名称",
  9813. "type": "string"
  9814. },
  9815. "relatedid": {
  9816. "description": "现货合同ID\\套保计划",
  9817. "type": "string"
  9818. },
  9819. "relatedno": {
  9820. "description": "合同编号",
  9821. "type": "string"
  9822. },
  9823. "tradedate": {
  9824. "description": "交易日(yyyyMMdd)",
  9825. "type": "string"
  9826. },
  9827. "userid": {
  9828. "description": "机构ID",
  9829. "type": "integer"
  9830. },
  9831. "wrstandardcode": {
  9832. "description": "现货商品代码",
  9833. "type": "string"
  9834. },
  9835. "wrstandardid": {
  9836. "description": "现货商品ID",
  9837. "type": "integer"
  9838. },
  9839. "wrstandardname": {
  9840. "description": "现货商品名称",
  9841. "type": "string"
  9842. }
  9843. }
  9844. },
  9845. "ermcp.QryReportExposureDayRsp": {
  9846. "type": "object",
  9847. "properties": {
  9848. "areauserid": {
  9849. "description": "所属机构",
  9850. "type": "integer"
  9851. },
  9852. "buyfutureqty": {
  9853. "description": "买入期货数量",
  9854. "type": "number"
  9855. },
  9856. "buyplanqty": {
  9857. "description": "采购计划数量",
  9858. "type": "number"
  9859. },
  9860. "buypricedqty": {
  9861. "description": "采购合同已定价数量",
  9862. "type": "number"
  9863. },
  9864. "diffFutuQty": {
  9865. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9866. "type": "number"
  9867. },
  9868. "diffSpotQty": {
  9869. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9870. "type": "number"
  9871. },
  9872. "enumdicname": {
  9873. "description": "单位名称",
  9874. "type": "string"
  9875. },
  9876. "middlegoodscode": {
  9877. "description": "套保品种代码",
  9878. "type": "string"
  9879. },
  9880. "middlegoodshedgeratio": {
  9881. "description": "应套保比例",
  9882. "type": "number"
  9883. },
  9884. "middlegoodsid": {
  9885. "description": "套保品种ID",
  9886. "type": "integer"
  9887. },
  9888. "middlegoodsname": {
  9889. "description": "套保品种名称",
  9890. "type": "string"
  9891. },
  9892. "needhedgeexposoure": {
  9893. "description": "应套保敞口",
  9894. "type": "number"
  9895. },
  9896. "needhedgeratio": {
  9897. "description": "应套保敞口比例",
  9898. "type": "number"
  9899. },
  9900. "oriTotalFutuQty": {
  9901. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9902. "type": "number"
  9903. },
  9904. "oriTotalSpotQty": {
  9905. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9906. "type": "number"
  9907. },
  9908. "oribuyfutureqty": {
  9909. "description": "期初买入期货数量",
  9910. "type": "number"
  9911. },
  9912. "oribuyplanqty": {
  9913. "description": "期初采购计划数量",
  9914. "type": "number"
  9915. },
  9916. "oribuypricedqty": {
  9917. "description": "期初采购合同已定价数量",
  9918. "type": "number"
  9919. },
  9920. "orisellfutureqty": {
  9921. "description": "期初卖出期货数量",
  9922. "type": "number"
  9923. },
  9924. "orisellplanqty": {
  9925. "description": "期初销售计划数量",
  9926. "type": "number"
  9927. },
  9928. "orisellpricedqty": {
  9929. "description": "期初销售合同已定价数量",
  9930. "type": "number"
  9931. },
  9932. "reckondate": {
  9933. "description": "日照时期(yyyyMMdd)",
  9934. "type": "string"
  9935. },
  9936. "sellfutureqty": {
  9937. "description": "卖出期货数量",
  9938. "type": "number"
  9939. },
  9940. "sellplanqty": {
  9941. "description": "销售计划数量",
  9942. "type": "number"
  9943. },
  9944. "sellpricedqty": {
  9945. "description": "销售合同已定价数量",
  9946. "type": "number"
  9947. },
  9948. "totalexposure": {
  9949. "description": "总敞口",
  9950. "type": "number"
  9951. },
  9952. "totalfutureqty": {
  9953. "description": "期货数量",
  9954. "type": "number"
  9955. },
  9956. "totalhedgeratio": {
  9957. "description": "敞口比例",
  9958. "type": "number"
  9959. },
  9960. "totalneedhedgeqty": {
  9961. "description": "期货应套保量",
  9962. "type": "number"
  9963. },
  9964. "totalspotqty": {
  9965. "description": "现货数量",
  9966. "type": "number"
  9967. }
  9968. }
  9969. },
  9970. "ermcp.QryReportFinanceDayRsp": {
  9971. "type": "object",
  9972. "properties": {
  9973. "areauserid": {
  9974. "description": "所属机构",
  9975. "type": "integer"
  9976. },
  9977. "collectinvoiceamount": {
  9978. "description": "今日开票金额",
  9979. "type": "number"
  9980. },
  9981. "collectinvoicecount": {
  9982. "description": "今日开票笔数",
  9983. "type": "integer"
  9984. },
  9985. "collectmoneyamount": {
  9986. "description": "今日收款金额",
  9987. "type": "number"
  9988. },
  9989. "collectmoneycount": {
  9990. "description": "今日收款笔数",
  9991. "type": "integer"
  9992. },
  9993. "payinvoiceamount": {
  9994. "description": "今日收票金额",
  9995. "type": "number"
  9996. },
  9997. "payinvoicecount": {
  9998. "description": "今日收票笔数",
  9999. "type": "integer"
  10000. },
  10001. "paymoneyamount": {
  10002. "description": "今日付款金额",
  10003. "type": "number"
  10004. },
  10005. "paymoneycount": {
  10006. "description": "今日付款笔数",
  10007. "type": "integer"
  10008. },
  10009. "reckondate": {
  10010. "description": "日照时期(yyyyMMdd)",
  10011. "type": "string"
  10012. },
  10013. "updatetime": {
  10014. "description": "更新时间",
  10015. "type": "string"
  10016. }
  10017. }
  10018. },
  10019. "ermcp.QryReportFinanceKxRsp": {
  10020. "type": "object",
  10021. "properties": {
  10022. "applyid": {
  10023. "description": "操作人",
  10024. "type": "integer"
  10025. },
  10026. "applyname": {
  10027. "description": "操作人名称",
  10028. "type": "string"
  10029. },
  10030. "biztype": {
  10031. "description": "业务类型 - 1:套保计划 2:现货合同",
  10032. "type": "integer"
  10033. },
  10034. "contracttype": {
  10035. "description": "现货合同类型 - 1:采购 -1:销售",
  10036. "type": "integer"
  10037. },
  10038. "enumdicName": {
  10039. "description": "单位名称",
  10040. "type": "string"
  10041. },
  10042. "logdatetime": {
  10043. "description": "流水日期(时间)",
  10044. "type": "string"
  10045. },
  10046. "logid": {
  10047. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  10048. "type": "string"
  10049. },
  10050. "logtypename": {
  10051. "description": "合同类型(名称)",
  10052. "type": "string"
  10053. },
  10054. "logvalue": {
  10055. "description": "数值",
  10056. "type": "string"
  10057. },
  10058. "operatelogtype": {
  10059. "description": "操作流水类型 -",
  10060. "type": "integer"
  10061. },
  10062. "optypename": {
  10063. "description": "流水类型名称",
  10064. "type": "string"
  10065. },
  10066. "relatedid": {
  10067. "description": "现货合同ID\\套保计划",
  10068. "type": "string"
  10069. },
  10070. "relatedno": {
  10071. "description": "合同编号",
  10072. "type": "string"
  10073. },
  10074. "tradedate": {
  10075. "description": "交易日(yyyyMMdd)",
  10076. "type": "string"
  10077. },
  10078. "userid": {
  10079. "description": "机构ID",
  10080. "type": "integer"
  10081. },
  10082. "wrstandardcode": {
  10083. "description": "现货商品代码",
  10084. "type": "string"
  10085. },
  10086. "wrstandardid": {
  10087. "description": "现货商品ID",
  10088. "type": "integer"
  10089. },
  10090. "wrstandardname": {
  10091. "description": "现货商品名称",
  10092. "type": "string"
  10093. }
  10094. }
  10095. },
  10096. "ermcp.QryReportFinanceMonRsp": {
  10097. "type": "object",
  10098. "properties": {
  10099. "areauserid": {
  10100. "description": "所属机构【原值】",
  10101. "type": "integer"
  10102. },
  10103. "collectinvoiceamount": {
  10104. "description": "今日开票金额【汇总】",
  10105. "type": "number"
  10106. },
  10107. "collectinvoicecount": {
  10108. "description": "今日开票笔数【汇总】",
  10109. "type": "integer"
  10110. },
  10111. "collectmoneyamount": {
  10112. "description": "今日收款金额【汇总】",
  10113. "type": "number"
  10114. },
  10115. "collectmoneycount": {
  10116. "description": "今日收款笔数 【汇总】",
  10117. "type": "integer"
  10118. },
  10119. "cycletime": {
  10120. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  10121. "type": "string"
  10122. },
  10123. "cycletype": {
  10124. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10125. "type": "integer"
  10126. },
  10127. "dayFr": {
  10128. "description": "日报表明细",
  10129. "type": "array",
  10130. "items": {
  10131. "$ref": "#/definitions/models.ErmcpReportDayFR"
  10132. }
  10133. },
  10134. "payinvoiceamount": {
  10135. "description": "今日收票金额【汇总】",
  10136. "type": "number"
  10137. },
  10138. "payinvoicecount": {
  10139. "description": "今日收票笔数【汇总】",
  10140. "type": "integer"
  10141. },
  10142. "paymoneyamount": {
  10143. "description": "今日付款金额【汇总】",
  10144. "type": "number"
  10145. },
  10146. "paymoneycount": {
  10147. "description": "今日付款笔数【汇总】",
  10148. "type": "integer"
  10149. },
  10150. "updatetime": {
  10151. "description": "更新时间",
  10152. "type": "string"
  10153. }
  10154. }
  10155. },
  10156. "ermcp.QryReportSpotDayRsp": {
  10157. "type": "object",
  10158. "properties": {
  10159. "areauserid": {
  10160. "description": "所属机构T",
  10161. "type": "integer"
  10162. },
  10163. "buyinqty": {
  10164. "description": "采购入库量",
  10165. "type": "number"
  10166. },
  10167. "enumdicname": {
  10168. "description": "现货商品单位名称",
  10169. "type": "string"
  10170. },
  10171. "reckondate": {
  10172. "description": "日照时期(yyyyMMdd)",
  10173. "type": "string"
  10174. },
  10175. "selloutqty": {
  10176. "description": "销售出库量",
  10177. "type": "number"
  10178. },
  10179. "todaybuyreckonqty": {
  10180. "description": "采购确定量",
  10181. "type": "number"
  10182. },
  10183. "todaysellreckonqty": {
  10184. "description": "销售确定量",
  10185. "type": "number"
  10186. },
  10187. "totalbuypricedqty": {
  10188. "description": "采购定价量 = 期末 - 期初",
  10189. "type": "number"
  10190. },
  10191. "totalsellpricedqty": {
  10192. "description": "销售定价量 = 期末 - 期初",
  10193. "type": "number"
  10194. },
  10195. "wrstandardcode": {
  10196. "description": "现货商品代码",
  10197. "type": "string"
  10198. },
  10199. "wrstandardid": {
  10200. "description": "现货商品ID",
  10201. "type": "integer"
  10202. },
  10203. "wrstandardname": {
  10204. "description": "现货商品名称",
  10205. "type": "string"
  10206. }
  10207. }
  10208. },
  10209. "ermcp.QryReportSpotMonRsp": {
  10210. "type": "object",
  10211. "properties": {
  10212. "areauserid": {
  10213. "description": "所属机构T",
  10214. "type": "integer"
  10215. },
  10216. "buyinqty": {
  10217. "description": "采购入库量",
  10218. "type": "number"
  10219. },
  10220. "cycletime": {
  10221. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  10222. "type": "string"
  10223. },
  10224. "cycletype": {
  10225. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10226. "type": "integer"
  10227. },
  10228. "enumdicname": {
  10229. "description": "现货商品单位名称",
  10230. "type": "string"
  10231. },
  10232. "selloutqty": {
  10233. "description": "销售出库量",
  10234. "type": "number"
  10235. },
  10236. "todaybuyreckonqty": {
  10237. "description": "采购确定量",
  10238. "type": "number"
  10239. },
  10240. "todaysellreckonqty": {
  10241. "description": "销售确定量",
  10242. "type": "number"
  10243. },
  10244. "totalbuypricedqty": {
  10245. "description": "采购定价量 = 期末 - 期初",
  10246. "type": "number"
  10247. },
  10248. "totalsellpricedqty": {
  10249. "description": "销售定价量 = 期末 - 期初",
  10250. "type": "number"
  10251. },
  10252. "wrstandardcode": {
  10253. "description": "现货商品代码",
  10254. "type": "string"
  10255. },
  10256. "wrstandardid": {
  10257. "description": "现货商品ID",
  10258. "type": "integer"
  10259. },
  10260. "wrstandardname": {
  10261. "description": "现货商品名称",
  10262. "type": "string"
  10263. }
  10264. }
  10265. },
  10266. "ermcp.QryReportSpotMonthDetailRsp": {
  10267. "type": "object",
  10268. "properties": {
  10269. "areauserid": {
  10270. "description": "所属机构T",
  10271. "type": "integer"
  10272. },
  10273. "buyinqty": {
  10274. "description": "采购入库量",
  10275. "type": "number"
  10276. },
  10277. "enumdicname": {
  10278. "description": "现货商品单位名称",
  10279. "type": "string"
  10280. },
  10281. "reckondate": {
  10282. "description": "日照时期(yyyyMMdd)",
  10283. "type": "string"
  10284. },
  10285. "selloutqty": {
  10286. "description": "销售出库量",
  10287. "type": "number"
  10288. },
  10289. "todaybuyreckonqty": {
  10290. "description": "采购确定量",
  10291. "type": "number"
  10292. },
  10293. "todaysellreckonqty": {
  10294. "description": "销售确定量",
  10295. "type": "number"
  10296. },
  10297. "totalbuypricedqty": {
  10298. "description": "采购定价量 = 期末 - 期初",
  10299. "type": "number"
  10300. },
  10301. "totalsellpricedqty": {
  10302. "description": "销售定价量 = 期末 - 期初",
  10303. "type": "number"
  10304. },
  10305. "wrstandardcode": {
  10306. "description": "现货商品代码",
  10307. "type": "string"
  10308. },
  10309. "wrstandardid": {
  10310. "description": "现货商品ID",
  10311. "type": "integer"
  10312. },
  10313. "wrstandardname": {
  10314. "description": "现货商品名称",
  10315. "type": "string"
  10316. }
  10317. }
  10318. },
  10319. "ermcp.QrySpotContractRsp": {
  10320. "type": "object",
  10321. "properties": {
  10322. "amount": {
  10323. "description": "金额 [1:一口价、3:暂定价]",
  10324. "type": "number"
  10325. },
  10326. "attachment": {
  10327. "description": "附件",
  10328. "type": "string"
  10329. },
  10330. "auditremark": {
  10331. "description": "审核意见",
  10332. "type": "string"
  10333. },
  10334. "audittime": {
  10335. "description": "审核时间",
  10336. "type": "string"
  10337. },
  10338. "brandname": {
  10339. "description": "品牌名称",
  10340. "type": "string"
  10341. },
  10342. "buyuserid": {
  10343. "description": "采购方ID",
  10344. "type": "integer"
  10345. },
  10346. "buyusername": {
  10347. "description": "采购方名称",
  10348. "type": "string"
  10349. },
  10350. "contracctstatus": {
  10351. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10352. "type": "integer"
  10353. },
  10354. "contractmargin": {
  10355. "description": "合同保证金",
  10356. "type": "number"
  10357. },
  10358. "contractno": {
  10359. "description": "现货合同编号",
  10360. "type": "string"
  10361. },
  10362. "contracttype": {
  10363. "description": "现货合同类型 - 1:采购 -1:销售",
  10364. "type": "integer"
  10365. },
  10366. "convertfactor": {
  10367. "description": "标仓系数",
  10368. "type": "number"
  10369. },
  10370. "createtime": {
  10371. "description": "创建时间",
  10372. "type": "string"
  10373. },
  10374. "deliveryenddate": {
  10375. "description": "交收期(结束)",
  10376. "type": "string"
  10377. },
  10378. "deliverygoodscode": {
  10379. "description": "现货品种代码",
  10380. "type": "string"
  10381. },
  10382. "deliverygoodsid": {
  10383. "description": "现货品种ID",
  10384. "type": "integer"
  10385. },
  10386. "deliverygoodsname": {
  10387. "description": "现货品种名称",
  10388. "type": "string"
  10389. },
  10390. "deliverystartdate": {
  10391. "description": "交收期(开始)",
  10392. "type": "string"
  10393. },
  10394. "enddate": {
  10395. "description": "点价结束日期 [2:点价 3:暂定价]",
  10396. "type": "string"
  10397. },
  10398. "enumdicname": {
  10399. "description": "单位名称",
  10400. "type": "string"
  10401. },
  10402. "goodscode": {
  10403. "description": "点价合约代码",
  10404. "type": "string"
  10405. },
  10406. "goodsid": {
  10407. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  10408. "type": "integer"
  10409. },
  10410. "goodsname": {
  10411. "description": "点价商品名称",
  10412. "type": "string"
  10413. },
  10414. "margin": {
  10415. "description": "当前保证金",
  10416. "type": "number"
  10417. },
  10418. "modelname": {
  10419. "description": "型号名称",
  10420. "type": "string"
  10421. },
  10422. "price": {
  10423. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  10424. "type": "number"
  10425. },
  10426. "pricemove": {
  10427. "description": "升贴水 [2:点价 3:暂定价]",
  10428. "type": "number"
  10429. },
  10430. "pricetype": {
  10431. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10432. "type": "integer"
  10433. },
  10434. "producttype": {
  10435. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10436. "type": "integer"
  10437. },
  10438. "qty": {
  10439. "description": "数量",
  10440. "type": "number"
  10441. },
  10442. "remark": {
  10443. "description": "备注",
  10444. "type": "string"
  10445. },
  10446. "selluserid": {
  10447. "description": "销售方ID",
  10448. "type": "integer"
  10449. },
  10450. "sellusername": {
  10451. "description": "销售方名称",
  10452. "type": "string"
  10453. },
  10454. "spotcontractid": {
  10455. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  10456. "type": "string"
  10457. },
  10458. "spotgoodsbrandid": {
  10459. "description": "现货品牌ID",
  10460. "type": "integer"
  10461. },
  10462. "spotgoodsdesc": {
  10463. "description": "商品型号",
  10464. "type": "string"
  10465. },
  10466. "spotgoodsmodelid": {
  10467. "description": "现货型号ID",
  10468. "type": "integer"
  10469. },
  10470. "startdate": {
  10471. "description": "点价开始日期 [2:点价 3:暂定价]",
  10472. "type": "string"
  10473. },
  10474. "updatetime": {
  10475. "description": "更新时间",
  10476. "type": "string"
  10477. },
  10478. "userid": {
  10479. "description": "机构ID",
  10480. "type": "integer"
  10481. },
  10482. "wrstandardcode": {
  10483. "description": "现货商品代码",
  10484. "type": "string"
  10485. },
  10486. "wrstandardid": {
  10487. "description": "现货商品ID",
  10488. "type": "integer"
  10489. },
  10490. "wrstandardname": {
  10491. "description": "现货商品名称",
  10492. "type": "string"
  10493. }
  10494. }
  10495. },
  10496. "ermcp.QryUserInfoRsp": {
  10497. "type": "object",
  10498. "properties": {
  10499. "address": {
  10500. "description": "通讯地址",
  10501. "type": "string"
  10502. },
  10503. "attachment1": {
  10504. "description": "附件1",
  10505. "type": "string"
  10506. },
  10507. "audittime": {
  10508. "description": "审核时间",
  10509. "type": "string"
  10510. },
  10511. "cardfrontphotourl": {
  10512. "description": "证件正面图片地址",
  10513. "type": "string"
  10514. },
  10515. "cardnum": {
  10516. "description": "证件号码",
  10517. "type": "string"
  10518. },
  10519. "cardtype": {
  10520. "description": "证件类型",
  10521. "type": "integer"
  10522. },
  10523. "cardtypename": {
  10524. "description": "证件类型名称",
  10525. "type": "string"
  10526. },
  10527. "cityid": {
  10528. "description": "市",
  10529. "type": "integer"
  10530. },
  10531. "countryid": {
  10532. "description": "国家",
  10533. "type": "integer"
  10534. },
  10535. "createtime": {
  10536. "description": "创建时间",
  10537. "type": "string"
  10538. },
  10539. "customername": {
  10540. "description": "企业名称",
  10541. "type": "string"
  10542. },
  10543. "memberuserid": {
  10544. "description": "所属机构ID",
  10545. "type": "integer"
  10546. },
  10547. "mobile": {
  10548. "description": "手机号码",
  10549. "type": "string"
  10550. },
  10551. "modifytime": {
  10552. "description": "修改时间",
  10553. "type": "string"
  10554. },
  10555. "provinceid": {
  10556. "description": "省",
  10557. "type": "integer"
  10558. },
  10559. "remark": {
  10560. "description": "备注",
  10561. "type": "string"
  10562. },
  10563. "status": {
  10564. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  10565. "type": "integer"
  10566. },
  10567. "statusdesc": {
  10568. "description": "账户状态中文描述",
  10569. "type": "string"
  10570. },
  10571. "telphone": {
  10572. "description": "联系电话",
  10573. "type": "string"
  10574. },
  10575. "userid": {
  10576. "description": "用户ID",
  10577. "type": "integer"
  10578. },
  10579. "userinfotype": {
  10580. "description": "客户类型",
  10581. "type": "string"
  10582. }
  10583. }
  10584. },
  10585. "ermcp.QryWarehouseRsp": {
  10586. "type": "object",
  10587. "properties": {
  10588. "address": {
  10589. "description": "详细地址",
  10590. "type": "string"
  10591. },
  10592. "areauserid": {
  10593. "description": "所属机构",
  10594. "type": "integer"
  10595. },
  10596. "autoid": {
  10597. "description": "自增ID(仓库ID)",
  10598. "type": "integer"
  10599. },
  10600. "cityid": {
  10601. "description": "市",
  10602. "type": "integer"
  10603. },
  10604. "contactname": {
  10605. "description": "联系人",
  10606. "type": "string"
  10607. },
  10608. "contactnum": {
  10609. "description": "联系电话",
  10610. "type": "string"
  10611. },
  10612. "countryid": {
  10613. "description": "国家",
  10614. "type": "integer"
  10615. },
  10616. "createtime": {
  10617. "description": "创建时间",
  10618. "type": "string"
  10619. },
  10620. "districtid": {
  10621. "description": "区",
  10622. "type": "integer"
  10623. },
  10624. "hasvideo": {
  10625. "description": "是否有视频 - 0:无 1:有",
  10626. "type": "integer"
  10627. },
  10628. "provinceid": {
  10629. "description": "省",
  10630. "type": "integer"
  10631. },
  10632. "remark": {
  10633. "description": "审核备注",
  10634. "type": "string"
  10635. },
  10636. "videourl": {
  10637. "description": "视频地址",
  10638. "type": "string"
  10639. },
  10640. "warehousecode": {
  10641. "description": "仓库代码",
  10642. "type": "string"
  10643. },
  10644. "warehousename": {
  10645. "description": "仓库名称",
  10646. "type": "string"
  10647. },
  10648. "warehousestatus": {
  10649. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  10650. "type": "integer"
  10651. },
  10652. "warehousetype": {
  10653. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10654. "type": "integer"
  10655. }
  10656. }
  10657. },
  10658. "ermcp.QryWrStandardDetailRsp": {
  10659. "type": "object",
  10660. "properties": {
  10661. "gbList": {
  10662. "description": "品牌列表",
  10663. "type": "array",
  10664. "items": {
  10665. "$ref": "#/definitions/models.GoodsBrand"
  10666. }
  10667. },
  10668. "goodsList": {
  10669. "description": "关联交易商品列表",
  10670. "type": "array",
  10671. "items": {
  10672. "$ref": "#/definitions/models.RelatedGoodsEx"
  10673. }
  10674. },
  10675. "gtList": {
  10676. "description": "型号列表",
  10677. "type": "array",
  10678. "items": {
  10679. "$ref": "#/definitions/models.GoodsTypeModel"
  10680. }
  10681. },
  10682. "wrd": {
  10683. "description": "基本信息",
  10684. "$ref": "#/definitions/models.ErmcpWrstandard"
  10685. },
  10686. "wrsList": {
  10687. "description": "套保信息列表",
  10688. "type": "array",
  10689. "items": {
  10690. "$ref": "#/definitions/models.WRSConverTDetail"
  10691. }
  10692. }
  10693. }
  10694. },
  10695. "ermcp.QryWrStandardRsp": {
  10696. "type": "object",
  10697. "properties": {
  10698. "areauserid": {
  10699. "description": "所属机构",
  10700. "type": "integer"
  10701. },
  10702. "createtime": {
  10703. "description": "创建时间",
  10704. "type": "string"
  10705. },
  10706. "creatorid": {
  10707. "description": "创建人",
  10708. "type": "integer"
  10709. },
  10710. "deliverygoodsid": {
  10711. "description": "品种ID",
  10712. "type": "integer"
  10713. },
  10714. "enumdicname": {
  10715. "description": "单位名称",
  10716. "type": "string"
  10717. },
  10718. "isvalid": {
  10719. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  10720. "type": "integer"
  10721. },
  10722. "minivalue": {
  10723. "description": "最小变动值",
  10724. "type": "integer"
  10725. },
  10726. "minivaluedp": {
  10727. "description": "最小变动值小数位",
  10728. "type": "integer"
  10729. },
  10730. "realminivalue": {
  10731. "description": "实际最小变动值",
  10732. "type": "integer"
  10733. },
  10734. "realminivaluedp": {
  10735. "description": "实际最小变动值小数位",
  10736. "type": "integer"
  10737. },
  10738. "remark": {
  10739. "description": "备注",
  10740. "type": "string"
  10741. },
  10742. "unitid": {
  10743. "description": "单位ID",
  10744. "type": "integer"
  10745. },
  10746. "updatetime": {
  10747. "description": "更新时间",
  10748. "type": "string"
  10749. },
  10750. "wrstandardcode": {
  10751. "description": "现货商品代码",
  10752. "type": "string"
  10753. },
  10754. "wrstandardid": {
  10755. "description": "现货商品ID(SEQ_WRSTANDARD)",
  10756. "type": "integer"
  10757. },
  10758. "wrstandardname": {
  10759. "description": "现货商品名称",
  10760. "type": "string"
  10761. }
  10762. }
  10763. },
  10764. "ermcp.QueryAreaStockApplySumRsp": {
  10765. "type": "object",
  10766. "properties": {
  10767. "brandname": {
  10768. "description": "品牌名称",
  10769. "type": "string"
  10770. },
  10771. "inouttype": {
  10772. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  10773. "type": "integer"
  10774. },
  10775. "modelname": {
  10776. "description": "型号名称",
  10777. "type": "string"
  10778. },
  10779. "spotcontractid": {
  10780. "description": "关联现货合同ID",
  10781. "type": "string"
  10782. },
  10783. "spotgoodsbrandid": {
  10784. "description": "品牌id",
  10785. "type": "integer"
  10786. },
  10787. "spotgoodsmodelid": {
  10788. "description": "型号id",
  10789. "type": "integer"
  10790. },
  10791. "totalqty": {
  10792. "description": "总数量",
  10793. "type": "number"
  10794. }
  10795. }
  10796. },
  10797. "ermcp.QueryErmcpTradePositionRsp": {
  10798. "type": "object",
  10799. "properties": {
  10800. "agreeunit": {
  10801. "description": "合约单位",
  10802. "type": "number"
  10803. },
  10804. "buyorsell": {
  10805. "description": "方向 - 0:买 1:卖",
  10806. "type": "integer"
  10807. },
  10808. "curpositionqty": {
  10809. "description": "持仓(总仓数量, 期末头寸)",
  10810. "type": "integer"
  10811. },
  10812. "curtdposition": {
  10813. "description": "今仓数量(期末今日头寸)",
  10814. "type": "integer"
  10815. },
  10816. "curtdpositionenabled": {
  10817. "description": "今仓可用",
  10818. "type": "integer"
  10819. },
  10820. "decimalplace": {
  10821. "description": "报价小数位",
  10822. "type": "integer"
  10823. },
  10824. "enableqty": {
  10825. "description": "可用(总仓可用)",
  10826. "type": "integer"
  10827. },
  10828. "exexchangename": {
  10829. "description": "外部交易所名称",
  10830. "type": "string"
  10831. },
  10832. "goodscode": {
  10833. "description": "商品代码(内部)",
  10834. "type": "string"
  10835. },
  10836. "goodsid": {
  10837. "description": "商品ID(自增ID SEQ_GOODS)",
  10838. "type": "integer"
  10839. },
  10840. "goodsname": {
  10841. "description": "商品名称",
  10842. "type": "string"
  10843. },
  10844. "last": {
  10845. "description": "现价",
  10846. "type": "number"
  10847. },
  10848. "marketid": {
  10849. "description": "所属市场ID",
  10850. "type": "integer"
  10851. },
  10852. "openaverageprice": {
  10853. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  10854. "type": "number"
  10855. },
  10856. "opencost": {
  10857. "description": "开仓成本",
  10858. "type": "number"
  10859. },
  10860. "openpl": {
  10861. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10862. "type": "number"
  10863. },
  10864. "outgoodscode": {
  10865. "description": "商品代码(外部)",
  10866. "type": "string"
  10867. },
  10868. "positionaverageprice": {
  10869. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  10870. "type": "number"
  10871. },
  10872. "positioncost": {
  10873. "description": "持仓成本",
  10874. "type": "number"
  10875. },
  10876. "positionpl": {
  10877. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10878. "type": "number"
  10879. },
  10880. "positionplrate": {
  10881. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  10882. "type": "number"
  10883. },
  10884. "usedmargin": {
  10885. "description": "占用保证金",
  10886. "type": "number"
  10887. }
  10888. }
  10889. },
  10890. "ermcp.RealtimeExposurePositionRsp": {
  10891. "type": "object",
  10892. "properties": {
  10893. "agreeunit": {
  10894. "description": "合约单位",
  10895. "type": "string"
  10896. },
  10897. "areauserid": {
  10898. "description": "所属机构id",
  10899. "type": "integer"
  10900. },
  10901. "convertratio": {
  10902. "description": "期货品种系数(折算系数)",
  10903. "type": "number"
  10904. },
  10905. "curqty": {
  10906. "description": "当前持仓",
  10907. "type": "integer"
  10908. },
  10909. "diffhedgeqty": {
  10910. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  10911. "type": "number"
  10912. },
  10913. "diffqty": {
  10914. "description": "持仓变动量=当前持仓-昨日持仓",
  10915. "type": "integer"
  10916. },
  10917. "goodscode": {
  10918. "description": "商品代码",
  10919. "type": "string"
  10920. },
  10921. "goodsid": {
  10922. "description": "商品id",
  10923. "type": "integer"
  10924. },
  10925. "goodsname": {
  10926. "description": "商品名称",
  10927. "type": "string"
  10928. },
  10929. "middlegoodsid": {
  10930. "description": "套保商品id",
  10931. "type": "integer"
  10932. },
  10933. "ydqty": {
  10934. "description": "昨日持仓",
  10935. "type": "integer"
  10936. }
  10937. }
  10938. },
  10939. "ermcp.RealtimeExposureRsp": {
  10940. "type": "object",
  10941. "properties": {
  10942. "areaUserID": {
  10943. "description": "所属机构",
  10944. "type": "integer"
  10945. },
  10946. "buyFutureQty": {
  10947. "description": "买入期货数量",
  10948. "type": "number"
  10949. },
  10950. "buyPlanQty": {
  10951. "description": "采购计划数量",
  10952. "type": "number"
  10953. },
  10954. "buyPricedQty": {
  10955. "description": "采购合同已定价数量",
  10956. "type": "number"
  10957. },
  10958. "diffFutuQty": {
  10959. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  10960. "type": "number"
  10961. },
  10962. "diffSpotQty": {
  10963. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  10964. "type": "number"
  10965. },
  10966. "enumdicname": {
  10967. "description": "单位名称",
  10968. "type": "string"
  10969. },
  10970. "middleGoodsCode": {
  10971. "description": "套保品种代码",
  10972. "type": "string"
  10973. },
  10974. "middleGoodsHedgeRatio": {
  10975. "description": "应套保比例",
  10976. "type": "number"
  10977. },
  10978. "middleGoodsID": {
  10979. "description": "套保品种",
  10980. "type": "integer"
  10981. },
  10982. "middleGoodsName": {
  10983. "description": "套保品种名称",
  10984. "type": "string"
  10985. },
  10986. "needHedgeExposoure": {
  10987. "description": "应套保敞口",
  10988. "type": "number"
  10989. },
  10990. "needHedgeRatio": {
  10991. "description": "应套保敞口比例",
  10992. "type": "number"
  10993. },
  10994. "oriBuyFutureQty": {
  10995. "description": "期初买入期货数量",
  10996. "type": "number"
  10997. },
  10998. "oriBuyPlanQty": {
  10999. "description": "期初采购计划数量",
  11000. "type": "number"
  11001. },
  11002. "oriBuyPricedQty": {
  11003. "description": "期初采购合同已定价数量",
  11004. "type": "number"
  11005. },
  11006. "oriSellFutureQty": {
  11007. "description": "期初卖出期货数量",
  11008. "type": "number"
  11009. },
  11010. "oriSellPlanQty": {
  11011. "description": "期初销售计划数量",
  11012. "type": "number"
  11013. },
  11014. "oriSellPricedQty": {
  11015. "description": "期初销售合同已定价数量",
  11016. "type": "number"
  11017. },
  11018. "oriTotalFutuQty": {
  11019. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  11020. "type": "number"
  11021. },
  11022. "oriTotalSpotQty": {
  11023. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  11024. "type": "number"
  11025. },
  11026. "sellFutureQty": {
  11027. "description": "卖出期货数量",
  11028. "type": "number"
  11029. },
  11030. "sellPlanQty": {
  11031. "description": "销售计划数量",
  11032. "type": "number"
  11033. },
  11034. "sellPricedQty": {
  11035. "description": "销售合同已定价数量",
  11036. "type": "number"
  11037. },
  11038. "totalExposure": {
  11039. "description": "总敞口",
  11040. "type": "number"
  11041. },
  11042. "totalFutureQty": {
  11043. "description": "期货数量",
  11044. "type": "number"
  11045. },
  11046. "totalHedgeRatio": {
  11047. "description": "敞口比例",
  11048. "type": "number"
  11049. },
  11050. "totalNeedHedgeQty": {
  11051. "description": "期货应套保量",
  11052. "type": "number"
  11053. },
  11054. "totalSpotQty": {
  11055. "description": "现货数量",
  11056. "type": "number"
  11057. }
  11058. }
  11059. },
  11060. "erms2.QueryArbitrageStrategyRsp": {
  11061. "type": "object",
  11062. "required": [
  11063. "asapplyid"
  11064. ],
  11065. "properties": {
  11066. "applybasis": {
  11067. "description": "申请基差",
  11068. "type": "number"
  11069. },
  11070. "asapplyid": {
  11071. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11072. "type": "string"
  11073. },
  11074. "asname": {
  11075. "description": "策略名称",
  11076. "type": "string"
  11077. },
  11078. "asno": {
  11079. "description": "策略编号",
  11080. "type": "string"
  11081. },
  11082. "basischangepl": {
  11083. "description": "基差变动损益[结算更新]",
  11084. "type": "number"
  11085. },
  11086. "biztype": {
  11087. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11088. "type": "integer"
  11089. },
  11090. "closetradedate": {
  11091. "description": "完结交易日(yyyyMMdd)",
  11092. "type": "string"
  11093. },
  11094. "curbasis": {
  11095. "description": "当前基差[结算更新]",
  11096. "type": "number"
  11097. },
  11098. "deliverygoodsid": {
  11099. "description": "现货品种ID",
  11100. "type": "integer"
  11101. },
  11102. "futureavgprice": {
  11103. "description": "期货建仓均价",
  11104. "type": "number"
  11105. },
  11106. "futurecloseamount": {
  11107. "description": "期货平仓金额",
  11108. "type": "number"
  11109. },
  11110. "futurecloseqty": {
  11111. "description": "期货平仓数量",
  11112. "type": "number"
  11113. },
  11114. "futureopenamount": {
  11115. "description": "期货开仓金额",
  11116. "type": "number"
  11117. },
  11118. "futureopenqty": {
  11119. "description": "期货开仓数量",
  11120. "type": "number"
  11121. },
  11122. "futurepl": {
  11123. "description": "期货总盈亏[结算更新]",
  11124. "type": "number"
  11125. },
  11126. "futureqty": {
  11127. "description": "期货持仓数量",
  11128. "type": "number"
  11129. },
  11130. "futurequote": {
  11131. "description": "期货额度",
  11132. "type": "number"
  11133. },
  11134. "goodsgroupid": {
  11135. "description": "期货品种ID",
  11136. "type": "integer"
  11137. },
  11138. "marketid": {
  11139. "description": "市场ID",
  11140. "type": "integer"
  11141. },
  11142. "netexposure": {
  11143. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11144. "type": "number"
  11145. },
  11146. "netexposurepl": {
  11147. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11148. "type": "number"
  11149. },
  11150. "netexposurerate": {
  11151. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11152. "type": "number"
  11153. },
  11154. "openbasis": {
  11155. "description": "建仓基差",
  11156. "type": "number"
  11157. },
  11158. "pricedspotqty": {
  11159. "description": "已定价现货数量",
  11160. "type": "number"
  11161. },
  11162. "pricedspotqtynotax": {
  11163. "description": "已定价现货不含税数量",
  11164. "type": "number"
  11165. },
  11166. "remark": {
  11167. "description": "备注",
  11168. "type": "string"
  11169. },
  11170. "spotavgprice": {
  11171. "description": "现货均价",
  11172. "type": "number"
  11173. },
  11174. "spotbuyamount": {
  11175. "description": "现货采购金额",
  11176. "type": "number"
  11177. },
  11178. "spotbuyqty": {
  11179. "description": "现货采购数量",
  11180. "type": "number"
  11181. },
  11182. "spotpl": {
  11183. "description": "现货总盈亏[结算更新]",
  11184. "type": "number"
  11185. },
  11186. "spotquota": {
  11187. "description": "现货额度",
  11188. "type": "number"
  11189. },
  11190. "spotsellamount": {
  11191. "description": "现货销售金额",
  11192. "type": "number"
  11193. },
  11194. "spotsellqty": {
  11195. "description": "现货销售数量",
  11196. "type": "number"
  11197. },
  11198. "spotusedquota": {
  11199. "description": "现货占用资金",
  11200. "type": "number"
  11201. },
  11202. "strategystatus": {
  11203. "description": "策略状态 - 0:未结束 1:已结束",
  11204. "type": "integer"
  11205. },
  11206. "totalpl": {
  11207. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11208. "type": "number"
  11209. },
  11210. "tradedate": {
  11211. "description": "交易日(yyyyMMdd)",
  11212. "type": "string"
  11213. },
  11214. "updatetime": {
  11215. "description": "更新时间",
  11216. "type": "string"
  11217. },
  11218. "usedquota": {
  11219. "description": "已占用资金",
  11220. "type": "number"
  11221. },
  11222. "userid": {
  11223. "description": "所属机构",
  11224. "type": "integer"
  11225. }
  11226. }
  11227. },
  11228. "erms2.QueryInnerTradeDetailRsp": {
  11229. "type": "object",
  11230. "required": [
  11231. "asapplyid",
  11232. "buyorsell",
  11233. "goodscode",
  11234. "goodsgroupid",
  11235. "goodsgroupname",
  11236. "goodsname",
  11237. "tradeid"
  11238. ],
  11239. "properties": {
  11240. "accountid": {
  11241. "description": "账号ID",
  11242. "type": "integer"
  11243. },
  11244. "agreeunit": {
  11245. "description": "合约单位",
  11246. "type": "number"
  11247. },
  11248. "asapplyid": {
  11249. "description": "策略申请ID",
  11250. "type": "integer"
  11251. },
  11252. "asname": {
  11253. "description": "策略名称",
  11254. "type": "string"
  11255. },
  11256. "asno": {
  11257. "description": "策略编号",
  11258. "type": "string"
  11259. },
  11260. "buyorsell": {
  11261. "description": "方向 - 0:买 1:卖",
  11262. "type": "integer"
  11263. },
  11264. "channelbuildtype": {
  11265. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11266. "type": "integer"
  11267. },
  11268. "closetype": {
  11269. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11270. "type": "integer"
  11271. },
  11272. "decimalplace": {
  11273. "description": "报价小数位",
  11274. "type": "integer"
  11275. },
  11276. "detailtype": {
  11277. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  11278. "type": "integer"
  11279. },
  11280. "exexchangecode": {
  11281. "description": "外部交易所代码",
  11282. "type": "string"
  11283. },
  11284. "exexchangename": {
  11285. "description": "外部交易所名称",
  11286. "type": "string"
  11287. },
  11288. "goodscode": {
  11289. "description": "商品代码(合约)",
  11290. "type": "string"
  11291. },
  11292. "goodsgroupid": {
  11293. "description": "商品组ID(品种ID)",
  11294. "type": "integer"
  11295. },
  11296. "goodsgroupname": {
  11297. "description": "商品组名称(品种)",
  11298. "type": "string"
  11299. },
  11300. "goodsid": {
  11301. "description": "商品ID",
  11302. "type": "integer"
  11303. },
  11304. "goodsname": {
  11305. "description": "商品名称(合约)",
  11306. "type": "string"
  11307. },
  11308. "goodunit": {
  11309. "description": "报价单位",
  11310. "type": "string"
  11311. },
  11312. "marketid": {
  11313. "description": "市场ID",
  11314. "type": "integer"
  11315. },
  11316. "orderid": {
  11317. "description": "委托单号",
  11318. "type": "string"
  11319. },
  11320. "outgoodscode": {
  11321. "description": "商品代码(外部)",
  11322. "type": "string"
  11323. },
  11324. "relatedouttradeid": {
  11325. "description": "关联外部成交单ID",
  11326. "type": "string"
  11327. },
  11328. "remark": {
  11329. "description": "备注",
  11330. "type": "string"
  11331. },
  11332. "spotcontractid": {
  11333. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  11334. "type": "integer"
  11335. },
  11336. "spotcontractno": {
  11337. "description": "现货合同编号",
  11338. "type": "string"
  11339. },
  11340. "tradeid": {
  11341. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11342. "type": "string"
  11343. },
  11344. "tradeprice": {
  11345. "description": "成交价格",
  11346. "type": "number"
  11347. },
  11348. "tradeqty": {
  11349. "description": "成交数量",
  11350. "type": "integer"
  11351. },
  11352. "tradetime": {
  11353. "description": "成交时间",
  11354. "type": "string"
  11355. },
  11356. "updatetime": {
  11357. "description": "更新时间",
  11358. "type": "string"
  11359. }
  11360. }
  11361. },
  11362. "erms2.QuerySpotContractRsp": {
  11363. "type": "object",
  11364. "required": [
  11365. "spotcontractid"
  11366. ],
  11367. "properties": {
  11368. "accountid": {
  11369. "description": "资金账户ID",
  11370. "type": "integer"
  11371. },
  11372. "areauserid": {
  11373. "description": "所属机构",
  11374. "type": "integer"
  11375. },
  11376. "closedate": {
  11377. "description": "终止日期",
  11378. "type": "string"
  11379. },
  11380. "closeremark": {
  11381. "description": "结束备注",
  11382. "type": "string"
  11383. },
  11384. "closetradedate": {
  11385. "description": "完结交易日(yyyyMMdd)",
  11386. "type": "string"
  11387. },
  11388. "closetype": {
  11389. "description": "终止类型 - 1:违约 2:提前终止",
  11390. "type": "integer"
  11391. },
  11392. "contractamount": {
  11393. "description": "合同金额",
  11394. "type": "number"
  11395. },
  11396. "contractattachment": {
  11397. "description": "合同附件",
  11398. "type": "string"
  11399. },
  11400. "contractno": {
  11401. "description": "现货合同编号",
  11402. "type": "string"
  11403. },
  11404. "contractqty": {
  11405. "description": "合同数量(数值) (用于计算)",
  11406. "type": "number"
  11407. },
  11408. "contractqtychar": {
  11409. "description": "合同数量\\已订价数量 (用于显示)",
  11410. "type": "string"
  11411. },
  11412. "contractstatus": {
  11413. "description": "合同状态 - 0:未结束 1:已结束",
  11414. "type": "integer"
  11415. },
  11416. "contracttype": {
  11417. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  11418. "type": "integer"
  11419. },
  11420. "customeraccountid": {
  11421. "description": "客户资金账户ID",
  11422. "type": "integer"
  11423. },
  11424. "customeruserid": {
  11425. "description": "客户ID",
  11426. "type": "integer"
  11427. },
  11428. "deliverygoodsdesc": {
  11429. "description": "品种说明",
  11430. "type": "string"
  11431. },
  11432. "deliverygoodsid": {
  11433. "description": "现货品种ID",
  11434. "type": "integer"
  11435. },
  11436. "handlestatus": {
  11437. "description": "处理状态",
  11438. "type": "integer"
  11439. },
  11440. "invoiceatt": {
  11441. "description": "发票附件",
  11442. "type": "string"
  11443. },
  11444. "invoicedatetime": {
  11445. "description": "开收票更新时间",
  11446. "type": "string"
  11447. },
  11448. "invoiceopentime": {
  11449. "description": "开票时间",
  11450. "type": "string"
  11451. },
  11452. "invoiceremark": {
  11453. "description": "发票备注",
  11454. "type": "string"
  11455. },
  11456. "invoicestatus": {
  11457. "description": "开收票状态 - 0:未开票 1:已开票",
  11458. "type": "integer"
  11459. },
  11460. "lastdate": {
  11461. "description": "交货时间",
  11462. "type": "string"
  11463. },
  11464. "marketid": {
  11465. "description": "市场ID",
  11466. "type": "integer"
  11467. },
  11468. "paydatetime": {
  11469. "description": "收付款更新时间",
  11470. "type": "string"
  11471. },
  11472. "payremark": {
  11473. "description": "收付款备注",
  11474. "type": "string"
  11475. },
  11476. "paystatus": {
  11477. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  11478. "type": "integer"
  11479. },
  11480. "positionqty": {
  11481. "description": "头寸数量 - 合同数量去小数部分",
  11482. "type": "integer"
  11483. },
  11484. "producttype": {
  11485. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11486. "type": "integer"
  11487. },
  11488. "relatedqty": {
  11489. "description": "已关联数量",
  11490. "type": "number"
  11491. },
  11492. "relatedstatus": {
  11493. "description": "关联完结状态 - 0:未结束 1:已结束",
  11494. "type": "integer"
  11495. },
  11496. "remark": {
  11497. "description": "备注",
  11498. "type": "string"
  11499. },
  11500. "signdate": {
  11501. "description": "签订日期",
  11502. "type": "string"
  11503. },
  11504. "spotcontractid": {
  11505. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  11506. "type": "string"
  11507. },
  11508. "spotdatetime": {
  11509. "description": "收发货更新时间",
  11510. "type": "string"
  11511. },
  11512. "spotprice": {
  11513. "description": "价格",
  11514. "type": "number"
  11515. },
  11516. "spotremark": {
  11517. "description": "收发货备注",
  11518. "type": "string"
  11519. },
  11520. "spotstatus": {
  11521. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  11522. "type": "integer"
  11523. },
  11524. "tradedate": {
  11525. "description": "交易日(yyyyMMdd)",
  11526. "type": "string"
  11527. },
  11528. "userid": {
  11529. "description": "业务员用户ID",
  11530. "type": "integer"
  11531. },
  11532. "warehouseid": {
  11533. "description": "仓库ID",
  11534. "type": "integer"
  11535. },
  11536. "wrfactortypeid": {
  11537. "description": "仓单要素类型ID",
  11538. "type": "integer"
  11539. },
  11540. "wrstandardid": {
  11541. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11542. "type": "integer"
  11543. }
  11544. }
  11545. },
  11546. "erms3.AddErms2ASApplyReq": {
  11547. "type": "object",
  11548. "required": [
  11549. "asapplyid"
  11550. ],
  11551. "properties": {
  11552. "applybasis": {
  11553. "description": "申请基差",
  11554. "type": "number"
  11555. },
  11556. "applystatus": {
  11557. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11558. "type": "integer"
  11559. },
  11560. "asapplyid": {
  11561. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  11562. "type": "integer"
  11563. },
  11564. "asname": {
  11565. "description": "策略名称",
  11566. "type": "string"
  11567. },
  11568. "asno": {
  11569. "description": "策略编号",
  11570. "type": "string"
  11571. },
  11572. "auditid": {
  11573. "description": "审核人",
  11574. "type": "integer"
  11575. },
  11576. "auditremark": {
  11577. "description": "审核备注",
  11578. "type": "string"
  11579. },
  11580. "audittime": {
  11581. "description": "审核时间",
  11582. "type": "string"
  11583. },
  11584. "biztype": {
  11585. "description": "业务类型 - 1:正向套利 2:反向套利",
  11586. "type": "integer"
  11587. },
  11588. "createtime": {
  11589. "description": "创建时间",
  11590. "type": "string"
  11591. },
  11592. "creatorid": {
  11593. "description": "创建人",
  11594. "type": "integer"
  11595. },
  11596. "deliverygoodsid": {
  11597. "description": "现货品种ID",
  11598. "type": "integer"
  11599. },
  11600. "futurequote": {
  11601. "description": "期货额度",
  11602. "type": "number"
  11603. },
  11604. "goodsgroupid": {
  11605. "description": "期货品种ID",
  11606. "type": "integer"
  11607. },
  11608. "marketid": {
  11609. "description": "市场ID",
  11610. "type": "integer"
  11611. },
  11612. "remark": {
  11613. "description": "备注",
  11614. "type": "string"
  11615. },
  11616. "spotquota": {
  11617. "description": "现货额度",
  11618. "type": "number"
  11619. },
  11620. "tradedate": {
  11621. "description": "交易日(yyyyMMdd)",
  11622. "type": "string"
  11623. },
  11624. "userid": {
  11625. "description": "所属机构",
  11626. "type": "integer"
  11627. }
  11628. }
  11629. },
  11630. "erms3.AddErms2SpotTradeApplyReq": {
  11631. "type": "object",
  11632. "required": [
  11633. "spottradeid"
  11634. ],
  11635. "properties": {
  11636. "applyjsondetail": {
  11637. "description": "申请明细(JSON)",
  11638. "type": "string"
  11639. },
  11640. "applystatus": {
  11641. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11642. "type": "integer"
  11643. },
  11644. "areauserid": {
  11645. "description": "所属机构",
  11646. "type": "integer"
  11647. },
  11648. "auditid": {
  11649. "description": "审核人",
  11650. "type": "integer"
  11651. },
  11652. "auditremark": {
  11653. "description": "审核备注",
  11654. "type": "string"
  11655. },
  11656. "audittime": {
  11657. "description": "审核时间",
  11658. "type": "string"
  11659. },
  11660. "createtime": {
  11661. "description": "创建时间",
  11662. "type": "string"
  11663. },
  11664. "creatorid": {
  11665. "description": "创建人",
  11666. "type": "integer"
  11667. },
  11668. "deliverygoodsid": {
  11669. "description": "现货品种ID",
  11670. "type": "integer"
  11671. },
  11672. "futureaccountid": {
  11673. "description": "期货资金账户",
  11674. "type": "integer"
  11675. },
  11676. "goodsgroupid": {
  11677. "description": "期货品种",
  11678. "type": "integer"
  11679. },
  11680. "marketid": {
  11681. "description": "市场ID",
  11682. "type": "integer"
  11683. },
  11684. "remark": {
  11685. "description": "备注",
  11686. "type": "string"
  11687. },
  11688. "spotaccountid": {
  11689. "description": "现货资金账户",
  11690. "type": "integer"
  11691. },
  11692. "spottradeid": {
  11693. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  11694. "type": "integer"
  11695. },
  11696. "spottradename": {
  11697. "description": "业务名称",
  11698. "type": "string"
  11699. },
  11700. "spottradeno": {
  11701. "description": "业务编号",
  11702. "type": "string"
  11703. },
  11704. "tradedate": {
  11705. "description": "交易日(yyyyMMdd)",
  11706. "type": "string"
  11707. },
  11708. "wrstandardid": {
  11709. "description": "仓单标准ID",
  11710. "type": "integer"
  11711. }
  11712. }
  11713. },
  11714. "erms3.AddSpotContractApplyReq": {
  11715. "type": "object",
  11716. "required": [
  11717. "accountid",
  11718. "areauserid",
  11719. "contractno",
  11720. "contracttype",
  11721. "customeraccountid",
  11722. "customeruserid",
  11723. "details",
  11724. "orimargin",
  11725. "signdate"
  11726. ],
  11727. "properties": {
  11728. "accountid": {
  11729. "description": "资金账户ID",
  11730. "type": "integer"
  11731. },
  11732. "areauserid": {
  11733. "description": "所属机构",
  11734. "type": "integer"
  11735. },
  11736. "contractattachment": {
  11737. "description": "合同附件",
  11738. "type": "string"
  11739. },
  11740. "contractno": {
  11741. "description": "现货合同编号",
  11742. "type": "string"
  11743. },
  11744. "contracttype": {
  11745. "description": "现货合同类型 - 1:采购 -1:销售",
  11746. "type": "integer"
  11747. },
  11748. "creatorid": {
  11749. "description": "申请人",
  11750. "type": "integer"
  11751. },
  11752. "customeraccountid": {
  11753. "description": "客户资金账户ID",
  11754. "type": "integer"
  11755. },
  11756. "customeruserid": {
  11757. "description": "客户ID",
  11758. "type": "integer"
  11759. },
  11760. "details": {
  11761. "description": "明细",
  11762. "type": "array",
  11763. "items": {
  11764. "$ref": "#/definitions/erms3.SoptContractDetail"
  11765. }
  11766. },
  11767. "orimargin": {
  11768. "description": "初始保证金",
  11769. "type": "number"
  11770. },
  11771. "remark": {
  11772. "description": "备注",
  11773. "type": "string"
  11774. },
  11775. "signdate": {
  11776. "description": "签订日期",
  11777. "type": "string"
  11778. }
  11779. }
  11780. },
  11781. "erms3.AddSpotContractApplyRsp": {
  11782. "type": "object",
  11783. "required": [
  11784. "contractno"
  11785. ],
  11786. "properties": {
  11787. "contractno": {
  11788. "description": "现货合同编号",
  11789. "type": "string"
  11790. },
  11791. "spotcontractid": {
  11792. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  11793. "type": "integer"
  11794. }
  11795. }
  11796. },
  11797. "erms3.AddUserInfoApplyReq": {
  11798. "type": "object",
  11799. "required": [
  11800. "userid"
  11801. ],
  11802. "properties": {
  11803. "accountid": {
  11804. "description": "交易系统帐号Id (加密存储)",
  11805. "type": "integer"
  11806. },
  11807. "areacode": {
  11808. "description": "机构代码",
  11809. "type": "string"
  11810. },
  11811. "areaid": {
  11812. "description": "机构Id",
  11813. "type": "integer"
  11814. },
  11815. "attachment1": {
  11816. "description": "附件1",
  11817. "type": "string"
  11818. },
  11819. "attachment2": {
  11820. "description": "附件2",
  11821. "type": "string"
  11822. },
  11823. "attachment3": {
  11824. "description": "附件3",
  11825. "type": "string"
  11826. },
  11827. "attachment4": {
  11828. "description": "附件4",
  11829. "type": "string"
  11830. },
  11831. "attachment5": {
  11832. "description": "附件5",
  11833. "type": "string"
  11834. },
  11835. "auditedby": {
  11836. "description": "审核人",
  11837. "type": "string"
  11838. },
  11839. "auditime": {
  11840. "description": "审核时间",
  11841. "type": "string"
  11842. },
  11843. "bankaccount": {
  11844. "description": "银行帐号 (加密存储)",
  11845. "type": "string"
  11846. },
  11847. "bankaccountname": {
  11848. "description": "收款人名称",
  11849. "type": "string"
  11850. },
  11851. "bankcardbackphotourl": {
  11852. "description": "银行卡背面照地址",
  11853. "type": "string"
  11854. },
  11855. "bankcardfrontphotourl": {
  11856. "description": "银行卡正面照地址",
  11857. "type": "string"
  11858. },
  11859. "bankid": {
  11860. "description": "银行编码",
  11861. "type": "string"
  11862. },
  11863. "bankname": {
  11864. "description": "银行名称",
  11865. "type": "string"
  11866. },
  11867. "bankpictureurl": {
  11868. "description": "银行卡正面地址",
  11869. "type": "string"
  11870. },
  11871. "biznature": {
  11872. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11873. "type": "integer"
  11874. },
  11875. "bizscope": {
  11876. "description": "企业经营范围(企业)",
  11877. "type": "string"
  11878. },
  11879. "biztype": {
  11880. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11881. "type": "integer"
  11882. },
  11883. "brokerid": {
  11884. "description": "经纪人ID(加密存储)",
  11885. "type": "string"
  11886. },
  11887. "cardaddress": {
  11888. "description": "证件地址 (加密存储)",
  11889. "type": "string"
  11890. },
  11891. "cardbackphotourl": {
  11892. "description": "背面证件照地址",
  11893. "type": "string"
  11894. },
  11895. "cardfrontphotourl": {
  11896. "description": "正面证件照地址",
  11897. "type": "string"
  11898. },
  11899. "cardnum": {
  11900. "description": "证件号码 (加密存储)",
  11901. "type": "string"
  11902. },
  11903. "cardtype": {
  11904. "description": "证件类型",
  11905. "type": "integer"
  11906. },
  11907. "cityid": {
  11908. "description": "市",
  11909. "type": "integer"
  11910. },
  11911. "company": {
  11912. "description": "公司(个人)",
  11913. "type": "string"
  11914. },
  11915. "contactcardbackphotourl": {
  11916. "description": "联系人证件背面图片地址",
  11917. "type": "string"
  11918. },
  11919. "contactcardfrontphotourl": {
  11920. "description": "联系人证件正面图片地址",
  11921. "type": "string"
  11922. },
  11923. "contactname": {
  11924. "description": "联系人",
  11925. "type": "string"
  11926. },
  11927. "countryid": {
  11928. "description": "国家",
  11929. "type": "integer"
  11930. },
  11931. "createtime": {
  11932. "description": "开户申请时间",
  11933. "type": "string"
  11934. },
  11935. "cusbankid": {
  11936. "description": "签约类型",
  11937. "type": "string"
  11938. },
  11939. "cusbankname": {
  11940. "description": "签约类型名称",
  11941. "type": "string"
  11942. },
  11943. "customername": {
  11944. "description": "客户名称(企业名称)",
  11945. "type": "string"
  11946. },
  11947. "districtid": {
  11948. "description": "地区",
  11949. "type": "integer"
  11950. },
  11951. "email": {
  11952. "description": "Email地址(加密存储)",
  11953. "type": "string"
  11954. },
  11955. "halfbodyphotourl": {
  11956. "description": "半身照地址",
  11957. "type": "string"
  11958. },
  11959. "headurl": {
  11960. "description": "头像地址",
  11961. "type": "string"
  11962. },
  11963. "ipaddress": {
  11964. "description": "IP地址",
  11965. "type": "string"
  11966. },
  11967. "isvalidate": {
  11968. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11969. "type": "string"
  11970. },
  11971. "legalcardbackphotourl": {
  11972. "description": "法人身份证背面照地址",
  11973. "type": "string"
  11974. },
  11975. "legalcardfrontphotourl": {
  11976. "description": "法人身份证正面照地址",
  11977. "type": "string"
  11978. },
  11979. "legalpersonname": {
  11980. "description": "法人姓名(企业)",
  11981. "type": "string"
  11982. },
  11983. "logincode": {
  11984. "description": "登录帐号 (加密存储)",
  11985. "type": "string"
  11986. },
  11987. "memberareaid": {
  11988. "description": "所属会员ID",
  11989. "type": "integer"
  11990. },
  11991. "mobile2": {
  11992. "description": "手机号码[明文-尚志]",
  11993. "type": "string"
  11994. },
  11995. "mobilephone": {
  11996. "description": "手机号码 (加密存储)",
  11997. "type": "string"
  11998. },
  11999. "modifiedby": {
  12000. "description": "修改人帐号",
  12001. "type": "integer"
  12002. },
  12003. "modifiedtime": {
  12004. "description": "修改时间",
  12005. "type": "string"
  12006. },
  12007. "nickname": {
  12008. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12009. "type": "string"
  12010. },
  12011. "openmode": {
  12012. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12013. "type": "integer"
  12014. },
  12015. "otherurl": {
  12016. "description": "其它图片地址[使用分号分隔]",
  12017. "type": "string"
  12018. },
  12019. "postalcode": {
  12020. "description": "邮政编码",
  12021. "type": "string"
  12022. },
  12023. "provinceid": {
  12024. "description": "省",
  12025. "type": "integer"
  12026. },
  12027. "proxystatementurl": {
  12028. "description": "授权委托书",
  12029. "type": "string"
  12030. },
  12031. "qq": {
  12032. "description": "QQ(加密存储",
  12033. "type": "string"
  12034. },
  12035. "referral": {
  12036. "description": "推荐人编码",
  12037. "type": "string"
  12038. },
  12039. "remark": {
  12040. "description": "备注",
  12041. "type": "string"
  12042. },
  12043. "removebeforestatus": {
  12044. "description": "REMOVEBEFORESTATUS",
  12045. "type": "integer"
  12046. },
  12047. "sex": {
  12048. "description": "性别 - 0:女 1:男",
  12049. "type": "integer"
  12050. },
  12051. "signedstatus": {
  12052. "description": "账户一号签签约状态",
  12053. "type": "integer"
  12054. },
  12055. "signpdfurl": {
  12056. "description": "签约pdf文件",
  12057. "type": "string"
  12058. },
  12059. "subbranch": {
  12060. "description": "开户支行",
  12061. "type": "string"
  12062. },
  12063. "telphone": {
  12064. "description": "联系电话(加密存储)",
  12065. "type": "string"
  12066. },
  12067. "userid": {
  12068. "description": "用户ID(自增ID)",
  12069. "type": "integer"
  12070. },
  12071. "userinfotype": {
  12072. "description": "用户信息类型 - 1:个人 2:企业",
  12073. "type": "integer"
  12074. },
  12075. "username": {
  12076. "description": "用户姓名",
  12077. "type": "string"
  12078. },
  12079. "userstate": {
  12080. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12081. "type": "integer"
  12082. },
  12083. "usertype": {
  12084. "description": "用户类型 - 1:投资者 2:机构",
  12085. "type": "integer"
  12086. },
  12087. "videourl": {
  12088. "description": "视频地址",
  12089. "type": "string"
  12090. },
  12091. "wechat": {
  12092. "description": "微信号 (加密存储)",
  12093. "type": "string"
  12094. }
  12095. }
  12096. },
  12097. "erms3.CustomerInfo": {
  12098. "type": "object",
  12099. "required": [
  12100. "userid"
  12101. ],
  12102. "properties": {
  12103. "accountids": {
  12104. "description": "资金账户ID列表",
  12105. "type": "array",
  12106. "items": {
  12107. "type": "integer"
  12108. }
  12109. },
  12110. "customername": {
  12111. "description": "名称(企业名称)",
  12112. "type": "string"
  12113. },
  12114. "mobile": {
  12115. "description": "手机号码",
  12116. "type": "string"
  12117. },
  12118. "userid": {
  12119. "description": "用户ID",
  12120. "type": "integer"
  12121. }
  12122. }
  12123. },
  12124. "erms3.ModifyUserInfoApplyReq": {
  12125. "type": "object",
  12126. "required": [
  12127. "userid"
  12128. ],
  12129. "properties": {
  12130. "accountid": {
  12131. "description": "交易系统帐号Id (加密存储)",
  12132. "type": "integer"
  12133. },
  12134. "areacode": {
  12135. "description": "机构代码",
  12136. "type": "string"
  12137. },
  12138. "areaid": {
  12139. "description": "机构Id",
  12140. "type": "integer"
  12141. },
  12142. "attachment1": {
  12143. "description": "附件1",
  12144. "type": "string"
  12145. },
  12146. "attachment2": {
  12147. "description": "附件2",
  12148. "type": "string"
  12149. },
  12150. "attachment3": {
  12151. "description": "附件3",
  12152. "type": "string"
  12153. },
  12154. "attachment4": {
  12155. "description": "附件4",
  12156. "type": "string"
  12157. },
  12158. "attachment5": {
  12159. "description": "附件5",
  12160. "type": "string"
  12161. },
  12162. "auditedby": {
  12163. "description": "审核人",
  12164. "type": "string"
  12165. },
  12166. "auditime": {
  12167. "description": "审核时间",
  12168. "type": "string"
  12169. },
  12170. "bankaccount": {
  12171. "description": "银行帐号 (加密存储)",
  12172. "type": "string"
  12173. },
  12174. "bankaccountname": {
  12175. "description": "收款人名称",
  12176. "type": "string"
  12177. },
  12178. "bankcardbackphotourl": {
  12179. "description": "银行卡背面照地址",
  12180. "type": "string"
  12181. },
  12182. "bankcardfrontphotourl": {
  12183. "description": "银行卡正面照地址",
  12184. "type": "string"
  12185. },
  12186. "bankid": {
  12187. "description": "银行编码",
  12188. "type": "string"
  12189. },
  12190. "bankname": {
  12191. "description": "银行名称",
  12192. "type": "string"
  12193. },
  12194. "bankpictureurl": {
  12195. "description": "银行卡正面地址",
  12196. "type": "string"
  12197. },
  12198. "biznature": {
  12199. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12200. "type": "integer"
  12201. },
  12202. "bizscope": {
  12203. "description": "企业经营范围(企业)",
  12204. "type": "string"
  12205. },
  12206. "biztype": {
  12207. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12208. "type": "integer"
  12209. },
  12210. "brokerid": {
  12211. "description": "经纪人ID(加密存储)",
  12212. "type": "string"
  12213. },
  12214. "cardaddress": {
  12215. "description": "证件地址 (加密存储)",
  12216. "type": "string"
  12217. },
  12218. "cardbackphotourl": {
  12219. "description": "背面证件照地址",
  12220. "type": "string"
  12221. },
  12222. "cardfrontphotourl": {
  12223. "description": "正面证件照地址",
  12224. "type": "string"
  12225. },
  12226. "cardnum": {
  12227. "description": "证件号码 (加密存储)",
  12228. "type": "string"
  12229. },
  12230. "cardtype": {
  12231. "description": "证件类型",
  12232. "type": "integer"
  12233. },
  12234. "cityid": {
  12235. "description": "市",
  12236. "type": "integer"
  12237. },
  12238. "company": {
  12239. "description": "公司(个人)",
  12240. "type": "string"
  12241. },
  12242. "contactcardbackphotourl": {
  12243. "description": "联系人证件背面图片地址",
  12244. "type": "string"
  12245. },
  12246. "contactcardfrontphotourl": {
  12247. "description": "联系人证件正面图片地址",
  12248. "type": "string"
  12249. },
  12250. "contactname": {
  12251. "description": "联系人",
  12252. "type": "string"
  12253. },
  12254. "countryid": {
  12255. "description": "国家",
  12256. "type": "integer"
  12257. },
  12258. "createtime": {
  12259. "description": "开户申请时间",
  12260. "type": "string"
  12261. },
  12262. "cusbankid": {
  12263. "description": "签约类型",
  12264. "type": "string"
  12265. },
  12266. "cusbankname": {
  12267. "description": "签约类型名称",
  12268. "type": "string"
  12269. },
  12270. "customername": {
  12271. "description": "客户名称(企业名称)",
  12272. "type": "string"
  12273. },
  12274. "districtid": {
  12275. "description": "地区",
  12276. "type": "integer"
  12277. },
  12278. "email": {
  12279. "description": "Email地址(加密存储)",
  12280. "type": "string"
  12281. },
  12282. "halfbodyphotourl": {
  12283. "description": "半身照地址",
  12284. "type": "string"
  12285. },
  12286. "headurl": {
  12287. "description": "头像地址",
  12288. "type": "string"
  12289. },
  12290. "ipaddress": {
  12291. "description": "IP地址",
  12292. "type": "string"
  12293. },
  12294. "isvalidate": {
  12295. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12296. "type": "string"
  12297. },
  12298. "legalcardbackphotourl": {
  12299. "description": "法人身份证背面照地址",
  12300. "type": "string"
  12301. },
  12302. "legalcardfrontphotourl": {
  12303. "description": "法人身份证正面照地址",
  12304. "type": "string"
  12305. },
  12306. "legalpersonname": {
  12307. "description": "法人姓名(企业)",
  12308. "type": "string"
  12309. },
  12310. "logincode": {
  12311. "description": "登录帐号 (加密存储)",
  12312. "type": "string"
  12313. },
  12314. "memberareaid": {
  12315. "description": "所属会员ID",
  12316. "type": "integer"
  12317. },
  12318. "mobile2": {
  12319. "description": "手机号码[明文-尚志]",
  12320. "type": "string"
  12321. },
  12322. "mobilephone": {
  12323. "description": "手机号码 (加密存储)",
  12324. "type": "string"
  12325. },
  12326. "modifiedby": {
  12327. "description": "修改人帐号",
  12328. "type": "integer"
  12329. },
  12330. "modifiedtime": {
  12331. "description": "修改时间",
  12332. "type": "string"
  12333. },
  12334. "nickname": {
  12335. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12336. "type": "string"
  12337. },
  12338. "openmode": {
  12339. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12340. "type": "integer"
  12341. },
  12342. "otherurl": {
  12343. "description": "其它图片地址[使用分号分隔]",
  12344. "type": "string"
  12345. },
  12346. "postalcode": {
  12347. "description": "邮政编码",
  12348. "type": "string"
  12349. },
  12350. "provinceid": {
  12351. "description": "省",
  12352. "type": "integer"
  12353. },
  12354. "proxystatementurl": {
  12355. "description": "授权委托书",
  12356. "type": "string"
  12357. },
  12358. "qq": {
  12359. "description": "QQ(加密存储",
  12360. "type": "string"
  12361. },
  12362. "referral": {
  12363. "description": "推荐人编码",
  12364. "type": "string"
  12365. },
  12366. "remark": {
  12367. "description": "备注",
  12368. "type": "string"
  12369. },
  12370. "removebeforestatus": {
  12371. "description": "REMOVEBEFORESTATUS",
  12372. "type": "integer"
  12373. },
  12374. "sex": {
  12375. "description": "性别 - 0:女 1:男",
  12376. "type": "integer"
  12377. },
  12378. "signedstatus": {
  12379. "description": "账户一号签签约状态",
  12380. "type": "integer"
  12381. },
  12382. "signpdfurl": {
  12383. "description": "签约pdf文件",
  12384. "type": "string"
  12385. },
  12386. "subbranch": {
  12387. "description": "开户支行",
  12388. "type": "string"
  12389. },
  12390. "telphone": {
  12391. "description": "联系电话(加密存储)",
  12392. "type": "string"
  12393. },
  12394. "userid": {
  12395. "description": "用户ID(自增ID)",
  12396. "type": "integer"
  12397. },
  12398. "userinfotype": {
  12399. "description": "用户信息类型 - 1:个人 2:企业",
  12400. "type": "integer"
  12401. },
  12402. "username": {
  12403. "description": "用户姓名",
  12404. "type": "string"
  12405. },
  12406. "userstate": {
  12407. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12408. "type": "integer"
  12409. },
  12410. "usertype": {
  12411. "description": "用户类型 - 1:投资者 2:机构",
  12412. "type": "integer"
  12413. },
  12414. "videourl": {
  12415. "description": "视频地址",
  12416. "type": "string"
  12417. },
  12418. "wechat": {
  12419. "description": "微信号 (加密存储)",
  12420. "type": "string"
  12421. }
  12422. }
  12423. },
  12424. "erms3.QryAuditContractRsp": {
  12425. "type": "object",
  12426. "required": [
  12427. "matchcustomername",
  12428. "spotcontractid"
  12429. ],
  12430. "properties": {
  12431. "accountid": {
  12432. "description": "交易员ID",
  12433. "type": "string"
  12434. },
  12435. "applystatus": {
  12436. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12437. "type": "integer"
  12438. },
  12439. "curdeliveryqty": {
  12440. "description": "未交收量",
  12441. "type": "integer"
  12442. },
  12443. "customername": {
  12444. "description": "采购方ID",
  12445. "type": "string"
  12446. },
  12447. "deliverygoodsid": {
  12448. "description": "品种ID",
  12449. "type": "string"
  12450. },
  12451. "deliveryqty": {
  12452. "description": "交收量",
  12453. "type": "integer"
  12454. },
  12455. "enumdicname": {
  12456. "description": "单位名称",
  12457. "type": "string"
  12458. },
  12459. "matchaccountid": {
  12460. "description": "业务员ID",
  12461. "type": "string"
  12462. },
  12463. "matchcustomername": {
  12464. "description": "销售方ID",
  12465. "type": "string"
  12466. },
  12467. "pricedqty": {
  12468. "description": "定价量",
  12469. "type": "number"
  12470. },
  12471. "signdate": {
  12472. "description": "签订日期",
  12473. "type": "string"
  12474. },
  12475. "spotcontractid": {
  12476. "description": "合同ID",
  12477. "type": "string"
  12478. },
  12479. "totaldqty": {
  12480. "description": "合同量",
  12481. "type": "number"
  12482. },
  12483. "unpricedqty": {
  12484. "description": "未定价量",
  12485. "type": "number"
  12486. },
  12487. "wrstandardname": {
  12488. "description": "商品名称",
  12489. "type": "string"
  12490. }
  12491. }
  12492. },
  12493. "erms3.QryPendingBizRsp": {
  12494. "type": "object",
  12495. "properties": {
  12496. "accountid": {
  12497. "description": "现货账户",
  12498. "type": "string"
  12499. },
  12500. "areaname": {
  12501. "description": "所属部门",
  12502. "type": "string"
  12503. },
  12504. "bizid": {
  12505. "description": "业务ID",
  12506. "type": "string"
  12507. },
  12508. "bizname": {
  12509. "description": "业务名称",
  12510. "type": "string"
  12511. },
  12512. "status": {
  12513. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12514. "type": "integer"
  12515. },
  12516. "type": {
  12517. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  12518. "type": "integer"
  12519. }
  12520. }
  12521. },
  12522. "erms3.QueryBusinessInfoRsp": {
  12523. "type": "object",
  12524. "properties": {
  12525. "businessid": {
  12526. "description": "业务ID.",
  12527. "type": "integer"
  12528. },
  12529. "buyamount": {
  12530. "description": "采购额.",
  12531. "type": "number"
  12532. },
  12533. "buyqty": {
  12534. "description": "采购量.",
  12535. "type": "string"
  12536. },
  12537. "futurepl": {
  12538. "description": "期货盈亏.",
  12539. "type": "number"
  12540. },
  12541. "futureqty": {
  12542. "description": "期货敞口.",
  12543. "type": "string"
  12544. },
  12545. "goodsid": {
  12546. "description": "商品名称/商品代码.",
  12547. "type": "string"
  12548. },
  12549. "hedgingqty": {
  12550. "description": "套保量.",
  12551. "type": "string"
  12552. },
  12553. "sellamount": {
  12554. "description": "销售额.",
  12555. "type": "number"
  12556. },
  12557. "sellqty": {
  12558. "description": "销售量.",
  12559. "type": "string"
  12560. },
  12561. "spotmarketvalue": {
  12562. "description": "现货市值.",
  12563. "type": "number"
  12564. },
  12565. "spotpl": {
  12566. "description": "浮动权益.",
  12567. "type": "number"
  12568. },
  12569. "spotqty": {
  12570. "description": "现货量.",
  12571. "type": "string"
  12572. },
  12573. "statu": {
  12574. "description": "状态,0-未结束 1-已结束.",
  12575. "type": "integer"
  12576. },
  12577. "totalpl": {
  12578. "description": "总盈亏.",
  12579. "type": "number"
  12580. },
  12581. "totalqty": {
  12582. "description": "总敞口.",
  12583. "type": "string"
  12584. },
  12585. "type": {
  12586. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  12587. "type": "integer"
  12588. }
  12589. }
  12590. },
  12591. "erms3.QuerySpotContractAppleFormRsp": {
  12592. "type": "object",
  12593. "properties": {
  12594. "goodses": {
  12595. "description": "合约列表",
  12596. "type": "array",
  12597. "items": {
  12598. "$ref": "#/definitions/models.GoodsIDAndName"
  12599. }
  12600. },
  12601. "oppositeusers": {
  12602. "description": "对方账号列表",
  12603. "type": "array",
  12604. "items": {
  12605. "$ref": "#/definitions/erms3.CustomerInfo"
  12606. }
  12607. },
  12608. "ouruser": {
  12609. "description": "我方账号",
  12610. "$ref": "#/definitions/erms3.CustomerInfo"
  12611. },
  12612. "warehouseinfos": {
  12613. "description": "仓库信息列表",
  12614. "type": "array",
  12615. "items": {
  12616. "$ref": "#/definitions/models.Warehouseinfo"
  12617. }
  12618. },
  12619. "wrstandards": {
  12620. "description": "仓单标准列表",
  12621. "type": "array",
  12622. "items": {
  12623. "$ref": "#/definitions/models.WRStandardInfo"
  12624. }
  12625. }
  12626. }
  12627. },
  12628. "erms3.QuerySpotContractInfoRsp": {
  12629. "type": "object",
  12630. "properties": {
  12631. "accountid": {
  12632. "description": "表示交易员ID.",
  12633. "type": "integer"
  12634. },
  12635. "curdeliveryqty": {
  12636. "description": "表示未交收量.",
  12637. "type": "number"
  12638. },
  12639. "customername": {
  12640. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12641. "type": "string"
  12642. },
  12643. "deliverygoodsid": {
  12644. "description": "表示品种ID.",
  12645. "type": "string"
  12646. },
  12647. "deliveryqty": {
  12648. "description": "表示交收量.",
  12649. "type": "number"
  12650. },
  12651. "matchaccountid": {
  12652. "description": "表示业务员ID.",
  12653. "type": "integer"
  12654. },
  12655. "matchcustomername": {
  12656. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12657. "type": "string"
  12658. },
  12659. "priceqty": {
  12660. "description": "表示定价量.",
  12661. "type": "number"
  12662. },
  12663. "relatedbizid": {
  12664. "description": "表示业务ID.",
  12665. "type": "string"
  12666. },
  12667. "signdate": {
  12668. "description": "表示签订日期.",
  12669. "type": "string"
  12670. },
  12671. "spotcontractid": {
  12672. "description": "合同ID",
  12673. "type": "string"
  12674. },
  12675. "status": {
  12676. "description": "表示状态,0-履约中 1-已完成.",
  12677. "type": "integer"
  12678. },
  12679. "totalqty": {
  12680. "description": "表示合同量.",
  12681. "type": "number"
  12682. },
  12683. "unpricedqty": {
  12684. "description": "表示未定价量.",
  12685. "type": "number"
  12686. },
  12687. "wrstandardname": {
  12688. "description": "表示商品ID.",
  12689. "type": "string"
  12690. }
  12691. }
  12692. },
  12693. "erms3.QueryUserInfoAppliesRsp": {
  12694. "type": "object",
  12695. "required": [
  12696. "userid"
  12697. ],
  12698. "properties": {
  12699. "biznature": {
  12700. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12701. "type": "integer"
  12702. },
  12703. "contactname": {
  12704. "description": "联系人",
  12705. "type": "string"
  12706. },
  12707. "createtime": {
  12708. "description": "开户申请时间",
  12709. "type": "string"
  12710. },
  12711. "userid": {
  12712. "description": "用户ID(自增ID)",
  12713. "type": "integer"
  12714. },
  12715. "userinfotype": {
  12716. "description": "用户信息类型 - 1:个人 2:企业",
  12717. "type": "integer"
  12718. },
  12719. "username": {
  12720. "description": "用户姓名",
  12721. "type": "string"
  12722. },
  12723. "userstate": {
  12724. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12725. "type": "integer"
  12726. }
  12727. }
  12728. },
  12729. "erms3.QueryUserInfosRsp": {
  12730. "type": "object",
  12731. "required": [
  12732. "userid"
  12733. ],
  12734. "properties": {
  12735. "biznature": {
  12736. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12737. "type": "integer"
  12738. },
  12739. "contactname": {
  12740. "description": "联系人",
  12741. "type": "string"
  12742. },
  12743. "customername": {
  12744. "description": "客户名称(企业名称)",
  12745. "type": "string"
  12746. },
  12747. "userid": {
  12748. "description": "用户ID",
  12749. "type": "integer"
  12750. },
  12751. "userinfotype": {
  12752. "description": "用户信息类型 - 1:个人 2:企业",
  12753. "type": "integer"
  12754. },
  12755. "userstatus": {
  12756. "description": "用户状态 - 1:正常 2:注销",
  12757. "type": "integer"
  12758. }
  12759. }
  12760. },
  12761. "erms3.SoptContractDetail": {
  12762. "type": "object",
  12763. "required": [
  12764. "deliverygoodsid",
  12765. "producttype",
  12766. "unitname",
  12767. "warehouseid",
  12768. "wrstandardid",
  12769. "wrstandardname"
  12770. ],
  12771. "properties": {
  12772. "deliverygoodsdesc": {
  12773. "description": "现货品种说明",
  12774. "type": "string"
  12775. },
  12776. "deliverygoodsid": {
  12777. "description": "现货品种ID",
  12778. "type": "integer"
  12779. },
  12780. "deliverygoodsname": {
  12781. "description": "现货品种名称",
  12782. "type": "string"
  12783. },
  12784. "pointdesc": {
  12785. "description": "点价描述",
  12786. "type": "string"
  12787. },
  12788. "producttype": {
  12789. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  12790. "type": "integer"
  12791. },
  12792. "producttypename": {
  12793. "description": "产品类型名称",
  12794. "type": "string"
  12795. },
  12796. "spotPointOrderVoList": {
  12797. "description": "点价列表",
  12798. "type": "array",
  12799. "items": {
  12800. "$ref": "#/definitions/erms3.SpotPointOrder"
  12801. }
  12802. },
  12803. "spotPriceOrderList": {
  12804. "description": "定价列表",
  12805. "type": "array",
  12806. "items": {
  12807. "$ref": "#/definitions/erms3.SpotPriceOrder"
  12808. }
  12809. },
  12810. "unitname": {
  12811. "description": "单位名称",
  12812. "type": "string"
  12813. },
  12814. "warehouseid": {
  12815. "description": "仓库ID",
  12816. "type": "integer"
  12817. },
  12818. "warehousename": {
  12819. "description": "仓库名称",
  12820. "type": "string"
  12821. },
  12822. "wrstandardid": {
  12823. "description": "交易标的ID",
  12824. "type": "integer"
  12825. },
  12826. "wrstandardname": {
  12827. "description": "交易标的名称",
  12828. "type": "string"
  12829. }
  12830. }
  12831. },
  12832. "erms3.SpotPointOrder": {
  12833. "type": "object",
  12834. "required": [
  12835. "basic",
  12836. "goodsid",
  12837. "qty"
  12838. ],
  12839. "properties": {
  12840. "basic": {
  12841. "description": "基差",
  12842. "type": "number"
  12843. },
  12844. "deliveryenddate": {
  12845. "description": "交收结束日期",
  12846. "type": "string"
  12847. },
  12848. "deliverystartdate": {
  12849. "description": "交收开始日期",
  12850. "type": "string"
  12851. },
  12852. "enddate": {
  12853. "description": "点价结束日期",
  12854. "type": "string"
  12855. },
  12856. "goodsid": {
  12857. "description": "商品ID",
  12858. "type": "integer"
  12859. },
  12860. "goodsname": {
  12861. "description": "商品名称",
  12862. "type": "string"
  12863. },
  12864. "qty": {
  12865. "description": "数量",
  12866. "type": "number"
  12867. },
  12868. "startdate": {
  12869. "description": "点价开始日期",
  12870. "type": "string"
  12871. }
  12872. }
  12873. },
  12874. "erms3.SpotPriceOrder": {
  12875. "type": "object",
  12876. "required": [
  12877. "amount",
  12878. "price",
  12879. "qty"
  12880. ],
  12881. "properties": {
  12882. "amount": {
  12883. "description": "金额",
  12884. "type": "number"
  12885. },
  12886. "deliveryenddate": {
  12887. "description": "交收结束日期",
  12888. "type": "string"
  12889. },
  12890. "deliverystartdate": {
  12891. "description": "交收开始日期",
  12892. "type": "string"
  12893. },
  12894. "price": {
  12895. "description": "价格",
  12896. "type": "number"
  12897. },
  12898. "qty": {
  12899. "description": "数量",
  12900. "type": "number"
  12901. }
  12902. }
  12903. },
  12904. "hsby.GetHsbyMyCountRsp": {
  12905. "type": "object",
  12906. "properties": {
  12907. "myCouponCount": {
  12908. "description": "我的优惠卷数量",
  12909. "type": "integer"
  12910. },
  12911. "myOrderDetailListingCount": {
  12912. "description": "我的订单求购中数量",
  12913. "type": "integer"
  12914. },
  12915. "myOrderDetailPreCount": {
  12916. "description": "我的订单抢购中数量",
  12917. "type": "integer"
  12918. },
  12919. "myPackageUnReceiveCount": {
  12920. "description": "我的包裹待收货数量",
  12921. "type": "integer"
  12922. },
  12923. "myPackageUnSendCount": {
  12924. "description": "我的包裹待发货数量",
  12925. "type": "integer"
  12926. },
  12927. "myPayOrderCount": {
  12928. "description": "我的订单待付款数量",
  12929. "type": "integer"
  12930. }
  12931. }
  12932. },
  12933. "hsby.QueryProvincesAndCitiesRsp": {
  12934. "type": "object",
  12935. "properties": {
  12936. "cities": {
  12937. "description": "市",
  12938. "type": "array",
  12939. "items": {
  12940. "$ref": "#/definitions/models.Division"
  12941. }
  12942. },
  12943. "province": {
  12944. "description": "省",
  12945. "$ref": "#/definitions/models.Division"
  12946. }
  12947. }
  12948. },
  12949. "models.Clientfixedadconfig": {
  12950. "type": "object",
  12951. "required": [
  12952. "adsort",
  12953. "adtype"
  12954. ],
  12955. "properties": {
  12956. "adsort": {
  12957. "description": "排序",
  12958. "type": "integer"
  12959. },
  12960. "adtype": {
  12961. "description": "广告位类型 - 1:新品抢购(HSBY)",
  12962. "type": "integer"
  12963. },
  12964. "areauserid": {
  12965. "description": "所属机构ID",
  12966. "type": "integer"
  12967. },
  12968. "createdate": {
  12969. "description": "创建时间",
  12970. "type": "string"
  12971. },
  12972. "creatorid": {
  12973. "description": "创建人",
  12974. "type": "integer"
  12975. },
  12976. "imagepath": {
  12977. "description": "图片",
  12978. "type": "string"
  12979. },
  12980. "isshow": {
  12981. "description": "是否展示 - 0:不展示 1:展示",
  12982. "type": "integer"
  12983. },
  12984. "modifierid": {
  12985. "description": "操作人",
  12986. "type": "integer"
  12987. },
  12988. "recsize": {
  12989. "description": "推荐尺寸",
  12990. "type": "string"
  12991. },
  12992. "title": {
  12993. "description": "标题",
  12994. "type": "string"
  12995. },
  12996. "updatedate": {
  12997. "description": "更新时间",
  12998. "type": "string"
  12999. },
  13000. "urlcontent": {
  13001. "description": "链接(地址或商品ID)",
  13002. "type": "string"
  13003. },
  13004. "urltype": {
  13005. "description": "链接类型 - 1:直接地址 2:商品ID",
  13006. "type": "integer"
  13007. }
  13008. }
  13009. },
  13010. "models.Division": {
  13011. "type": "object",
  13012. "required": [
  13013. "autoid",
  13014. "divisioncode"
  13015. ],
  13016. "properties": {
  13017. "autoid": {
  13018. "description": "自增ID",
  13019. "type": "integer"
  13020. },
  13021. "divisioncode": {
  13022. "description": "行政代码",
  13023. "type": "string"
  13024. },
  13025. "divisionlevel": {
  13026. "description": "行政级别",
  13027. "type": "string"
  13028. },
  13029. "divisionname": {
  13030. "description": "行政名称",
  13031. "type": "string"
  13032. },
  13033. "modifierid": {
  13034. "description": "修改人",
  13035. "type": "integer"
  13036. },
  13037. "modifytime": {
  13038. "description": "修改时间",
  13039. "type": "string"
  13040. },
  13041. "parentcode": {
  13042. "description": "上级行政代码",
  13043. "type": "string"
  13044. },
  13045. "pathname": {
  13046. "description": "路径名称",
  13047. "type": "string"
  13048. },
  13049. "postcode": {
  13050. "description": "邮政编码",
  13051. "type": "string"
  13052. },
  13053. "separablename": {
  13054. "description": "可拆分的全称",
  13055. "type": "string"
  13056. },
  13057. "shortcode": {
  13058. "description": "地区简码",
  13059. "type": "string"
  13060. }
  13061. }
  13062. },
  13063. "models.Enumdicitem": {
  13064. "type": "object",
  13065. "required": [
  13066. "autoid",
  13067. "enumdiccode",
  13068. "enumdicid",
  13069. "enumitemname"
  13070. ],
  13071. "properties": {
  13072. "autoid": {
  13073. "description": "自增ID",
  13074. "type": "integer"
  13075. },
  13076. "bankmappedvalue": {
  13077. "description": "银行服务对应值",
  13078. "type": "string"
  13079. },
  13080. "enumdiccode": {
  13081. "description": "所属枚举代码",
  13082. "type": "string"
  13083. },
  13084. "enumdicid": {
  13085. "description": "所属枚举ID",
  13086. "type": "integer"
  13087. },
  13088. "enumdicname": {
  13089. "description": "枚举项名称",
  13090. "type": "string"
  13091. },
  13092. "enumitemname": {
  13093. "description": "枚举项值",
  13094. "type": "integer"
  13095. },
  13096. "enumitemstatus": {
  13097. "description": "枚举项状态 - 1.启用 2.不启用",
  13098. "type": "integer"
  13099. },
  13100. "enumitemvalue": {
  13101. "description": "通用值 - [币种通用简写]",
  13102. "type": "string"
  13103. },
  13104. "param1": {
  13105. "description": "参数1[币种:币种小数位]",
  13106. "type": "string"
  13107. },
  13108. "param2": {
  13109. "description": "参数1[币种:币种显示单位]",
  13110. "type": "string"
  13111. },
  13112. "remark": {
  13113. "description": "备注",
  13114. "type": "string"
  13115. }
  13116. }
  13117. },
  13118. "models.ErmcpAreaStock": {
  13119. "type": "object",
  13120. "properties": {
  13121. "brandname": {
  13122. "description": "品牌名称",
  13123. "type": "string"
  13124. },
  13125. "curstock": {
  13126. "description": "期末库存量(今日量)",
  13127. "type": "number"
  13128. },
  13129. "deliverygoodsid": {
  13130. "description": "现货品种ID",
  13131. "type": "integer"
  13132. },
  13133. "enumdicname": {
  13134. "description": "单位名称",
  13135. "type": "string"
  13136. },
  13137. "modelname": {
  13138. "description": "型号名称",
  13139. "type": "string"
  13140. },
  13141. "oristock": {
  13142. "description": "期初库存量(昨日量)",
  13143. "type": "number"
  13144. },
  13145. "spotgoodsbrandid": {
  13146. "description": "现货品牌ID",
  13147. "type": "integer"
  13148. },
  13149. "spotgoodsmodelid": {
  13150. "description": "现货型号ID",
  13151. "type": "integer"
  13152. },
  13153. "todaybuyinqty": {
  13154. "description": "今日采购入库量",
  13155. "type": "number"
  13156. },
  13157. "todayproduceinqty": {
  13158. "description": "今日生产入库量",
  13159. "type": "number"
  13160. },
  13161. "todayproduceoutqty": {
  13162. "description": "今日生产出库量",
  13163. "type": "number"
  13164. },
  13165. "todayselloutqty": {
  13166. "description": "今日销售出库量",
  13167. "type": "number"
  13168. },
  13169. "unitid": {
  13170. "description": "单位id",
  13171. "type": "integer"
  13172. },
  13173. "updatetime": {
  13174. "description": "更新时间",
  13175. "type": "string"
  13176. },
  13177. "userid": {
  13178. "description": "机构ID",
  13179. "type": "integer"
  13180. },
  13181. "username": {
  13182. "description": "机构名称",
  13183. "type": "string"
  13184. },
  13185. "warehousecode": {
  13186. "description": "仓库代码",
  13187. "type": "string"
  13188. },
  13189. "warehouseinfoid": {
  13190. "description": "仓库ID",
  13191. "type": "string"
  13192. },
  13193. "warehousename": {
  13194. "description": "仓库名称",
  13195. "type": "string"
  13196. },
  13197. "warehousetype": {
  13198. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13199. "type": "integer"
  13200. },
  13201. "wrstandardcode": {
  13202. "description": "现货商品代码",
  13203. "type": "string"
  13204. },
  13205. "wrstandardid": {
  13206. "description": "现货商品ID",
  13207. "type": "string"
  13208. },
  13209. "wrstandardname": {
  13210. "description": "现货商品名称",
  13211. "type": "string"
  13212. }
  13213. }
  13214. },
  13215. "models.ErmcpAreaStockApply": {
  13216. "type": "object",
  13217. "properties": {
  13218. "applyid": {
  13219. "description": "申请人",
  13220. "type": "integer"
  13221. },
  13222. "applyname": {
  13223. "description": "申请人名称",
  13224. "type": "string"
  13225. },
  13226. "applyremark": {
  13227. "description": "申请备注",
  13228. "type": "string"
  13229. },
  13230. "applysrc": {
  13231. "description": "申请来源 - 1:管理端 2:终端",
  13232. "type": "integer"
  13233. },
  13234. "applystatus": {
  13235. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13236. "type": "integer"
  13237. },
  13238. "applytime": {
  13239. "description": "申请时间",
  13240. "type": "string"
  13241. },
  13242. "auditid": {
  13243. "description": "审核人",
  13244. "type": "integer"
  13245. },
  13246. "auditname": {
  13247. "description": "审核人名称",
  13248. "type": "string"
  13249. },
  13250. "auditremark": {
  13251. "description": "审核备注",
  13252. "type": "string"
  13253. },
  13254. "auditsrc": {
  13255. "description": "审核来源 - 1:管理端 2:终端",
  13256. "type": "integer"
  13257. },
  13258. "audittime": {
  13259. "description": "审核时间",
  13260. "type": "string"
  13261. },
  13262. "audittradedate": {
  13263. "description": "审核交易日(yyyyMMdd)",
  13264. "type": "string"
  13265. },
  13266. "brandname": {
  13267. "description": "品牌名称",
  13268. "type": "string"
  13269. },
  13270. "buyuserid": {
  13271. "description": "采购方userid",
  13272. "type": "integer"
  13273. },
  13274. "buyusername": {
  13275. "description": "采购方名称",
  13276. "type": "string"
  13277. },
  13278. "contractno": {
  13279. "description": "合同编号",
  13280. "type": "string"
  13281. },
  13282. "contractqty": {
  13283. "description": "合同量",
  13284. "type": "number"
  13285. },
  13286. "contracttype": {
  13287. "description": "现货合同类型 - 1:采购 -1:销售",
  13288. "type": "integer"
  13289. },
  13290. "deliverygoodsid": {
  13291. "description": "现货品种ID",
  13292. "type": "integer"
  13293. },
  13294. "enumdicname": {
  13295. "description": "现货商品单位名称",
  13296. "type": "string"
  13297. },
  13298. "inoutapplyid": {
  13299. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13300. "type": "string"
  13301. },
  13302. "inouttype": {
  13303. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13304. "type": "integer"
  13305. },
  13306. "modelname": {
  13307. "description": "型号名称",
  13308. "type": "string"
  13309. },
  13310. "pricetype": {
  13311. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13312. "type": "integer"
  13313. },
  13314. "qty": {
  13315. "description": "数量",
  13316. "type": "number"
  13317. },
  13318. "selluserid": {
  13319. "description": "销售方userid",
  13320. "type": "integer"
  13321. },
  13322. "sellusername": {
  13323. "description": "销售方名称",
  13324. "type": "string"
  13325. },
  13326. "spotcontractid": {
  13327. "description": "关联现货合同ID",
  13328. "type": "string"
  13329. },
  13330. "spotgoodsbrandid": {
  13331. "description": "现货品牌ID",
  13332. "type": "integer"
  13333. },
  13334. "spotgoodsmodelid": {
  13335. "description": "现货型号ID",
  13336. "type": "integer"
  13337. },
  13338. "unitid": {
  13339. "description": "单位id",
  13340. "type": "integer"
  13341. },
  13342. "userid": {
  13343. "description": "机构ID",
  13344. "type": "integer"
  13345. },
  13346. "warehousecode": {
  13347. "description": "仓库代码",
  13348. "type": "string"
  13349. },
  13350. "warehouseinfoid": {
  13351. "description": "现货仓库ID",
  13352. "type": "string"
  13353. },
  13354. "warehousename": {
  13355. "description": "仓库名称",
  13356. "type": "string"
  13357. },
  13358. "warehousetype": {
  13359. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13360. "type": "integer"
  13361. },
  13362. "wrstandardcode": {
  13363. "description": "现货商品代码",
  13364. "type": "string"
  13365. },
  13366. "wrstandardid": {
  13367. "description": "现货商品ID",
  13368. "type": "string"
  13369. },
  13370. "wrstandardname": {
  13371. "description": "现货商品名称",
  13372. "type": "string"
  13373. }
  13374. }
  13375. },
  13376. "models.ErmcpAreaStockReport": {
  13377. "type": "object",
  13378. "properties": {
  13379. "brandname": {
  13380. "description": "品牌名称",
  13381. "type": "string"
  13382. },
  13383. "curstock": {
  13384. "description": "期末库存量",
  13385. "type": "number"
  13386. },
  13387. "deliverygoodsid": {
  13388. "description": "现货品种ID",
  13389. "type": "integer"
  13390. },
  13391. "enumdicname": {
  13392. "description": "单位名称",
  13393. "type": "string"
  13394. },
  13395. "modelname": {
  13396. "description": "型号名称",
  13397. "type": "string"
  13398. },
  13399. "oristock": {
  13400. "description": "期初库存量",
  13401. "type": "number"
  13402. },
  13403. "spotgoodsbrandid": {
  13404. "description": "现货品牌ID",
  13405. "type": "integer"
  13406. },
  13407. "spotgoodsmodelid": {
  13408. "description": "现货型号ID",
  13409. "type": "integer"
  13410. },
  13411. "todaybuyinqty": {
  13412. "description": "今日采购入库量",
  13413. "type": "number"
  13414. },
  13415. "todayproduceinqty": {
  13416. "description": "今日生产入库量",
  13417. "type": "number"
  13418. },
  13419. "todayproduceoutqty": {
  13420. "description": "今日生产出库量",
  13421. "type": "number"
  13422. },
  13423. "todayselloutqty": {
  13424. "description": "今日销售出库量",
  13425. "type": "number"
  13426. },
  13427. "unitid": {
  13428. "description": "单位id",
  13429. "type": "integer"
  13430. },
  13431. "updatetime": {
  13432. "description": "更新时间",
  13433. "type": "string"
  13434. },
  13435. "userid": {
  13436. "description": "机构ID",
  13437. "type": "integer"
  13438. },
  13439. "username": {
  13440. "description": "机构名称",
  13441. "type": "string"
  13442. },
  13443. "warehousecode": {
  13444. "description": "仓库代码",
  13445. "type": "string"
  13446. },
  13447. "warehouseinfoid": {
  13448. "description": "仓库ID",
  13449. "type": "string"
  13450. },
  13451. "warehousename": {
  13452. "description": "仓库名称",
  13453. "type": "string"
  13454. },
  13455. "warehousetype": {
  13456. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13457. "type": "integer"
  13458. },
  13459. "wrstandardcode": {
  13460. "description": "现货商品代码",
  13461. "type": "string"
  13462. },
  13463. "wrstandardid": {
  13464. "description": "现货商品ID",
  13465. "type": "string"
  13466. },
  13467. "wrstandardname": {
  13468. "description": "现货商品名称",
  13469. "type": "string"
  13470. }
  13471. }
  13472. },
  13473. "models.ErmcpGoodsBrand": {
  13474. "type": "object",
  13475. "properties": {
  13476. "areauserid": {
  13477. "description": "所属机构",
  13478. "type": "integer"
  13479. },
  13480. "brandid": {
  13481. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  13482. "type": "integer"
  13483. },
  13484. "brandname": {
  13485. "description": "品牌名称",
  13486. "type": "string"
  13487. },
  13488. "createtime": {
  13489. "description": "创建时间",
  13490. "type": "string"
  13491. },
  13492. "creatorid": {
  13493. "description": "创建人",
  13494. "type": "integer"
  13495. },
  13496. "creatorsrc": {
  13497. "description": "创建人来源 - 1:管理端 2:终端",
  13498. "type": "integer"
  13499. },
  13500. "deliverygoodsid": {
  13501. "description": "现货品种ID",
  13502. "type": "integer"
  13503. },
  13504. "isvalid": {
  13505. "description": "是否有效 - 0:无效 1:有效",
  13506. "type": "integer"
  13507. },
  13508. "updatetime": {
  13509. "description": "更新时间",
  13510. "type": "string"
  13511. },
  13512. "updatorid": {
  13513. "description": "更新人",
  13514. "type": "integer"
  13515. },
  13516. "updatorsrc": {
  13517. "description": "更新人来源 - 1:管理端 2:终端",
  13518. "type": "integer"
  13519. },
  13520. "wrstandardid": {
  13521. "description": "现货商品ID",
  13522. "type": "integer"
  13523. }
  13524. }
  13525. },
  13526. "models.ErmcpGoodsModel": {
  13527. "type": "object",
  13528. "properties": {
  13529. "areauserid": {
  13530. "description": "所属机构",
  13531. "type": "integer"
  13532. },
  13533. "createtime": {
  13534. "description": "创建时间",
  13535. "type": "string"
  13536. },
  13537. "creatorid": {
  13538. "description": "创建人",
  13539. "type": "integer"
  13540. },
  13541. "creatorsrc": {
  13542. "description": "创建人来源 - 1:管理端 2:终端",
  13543. "type": "integer"
  13544. },
  13545. "deliverygoodsid": {
  13546. "description": "现货品种ID",
  13547. "type": "integer"
  13548. },
  13549. "isvalid": {
  13550. "description": "是否有效 - 0:无效 1:有效",
  13551. "type": "integer"
  13552. },
  13553. "modelid": {
  13554. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  13555. "type": "integer"
  13556. },
  13557. "modelname": {
  13558. "description": "型号名称",
  13559. "type": "string"
  13560. },
  13561. "updatetime": {
  13562. "description": "更新时间",
  13563. "type": "string"
  13564. },
  13565. "updatorid": {
  13566. "description": "更新人",
  13567. "type": "integer"
  13568. },
  13569. "updatorsrc": {
  13570. "description": "更新人来源 - 1:管理端 2:终端",
  13571. "type": "integer"
  13572. },
  13573. "wrstandardid": {
  13574. "description": "现货商品ID",
  13575. "type": "integer"
  13576. }
  13577. }
  13578. },
  13579. "models.ErmcpHisExposure": {
  13580. "type": "object",
  13581. "properties": {
  13582. "needhedgeexposoure": {
  13583. "description": "应套保敞口",
  13584. "type": "number"
  13585. },
  13586. "reckondate": {
  13587. "description": "日照时期(yyyyMMdd)",
  13588. "type": "string"
  13589. },
  13590. "totalexposure": {
  13591. "description": "总敞口",
  13592. "type": "number"
  13593. }
  13594. }
  13595. },
  13596. "models.ErmcpMiddleGoodsModel": {
  13597. "type": "object",
  13598. "properties": {
  13599. "areauserid": {
  13600. "description": "机构用户ID",
  13601. "type": "integer"
  13602. },
  13603. "createtime": {
  13604. "description": "修改时间",
  13605. "type": "string"
  13606. },
  13607. "enumdicname": {
  13608. "description": "单位名称",
  13609. "type": "string"
  13610. },
  13611. "evaluateratio": {
  13612. "description": "估价系数",
  13613. "type": "number"
  13614. },
  13615. "goodsgroupid": {
  13616. "description": "关联期货品种ID",
  13617. "type": "integer"
  13618. },
  13619. "isvalid": {
  13620. "description": "状态 0-无效(停用) 1-有效(正常)",
  13621. "type": "integer"
  13622. },
  13623. "middlegoodscode": {
  13624. "description": "套保品种代码",
  13625. "type": "string"
  13626. },
  13627. "middlegoodsid": {
  13628. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  13629. "type": "integer"
  13630. },
  13631. "middlegoodsname": {
  13632. "description": "套保品种名称",
  13633. "type": "string"
  13634. },
  13635. "modifytime": {
  13636. "description": "修改时间",
  13637. "type": "string"
  13638. },
  13639. "needhedgeratio": {
  13640. "description": "套保比率",
  13641. "type": "number"
  13642. },
  13643. "qtydecimalplace": {
  13644. "description": "数量小数位",
  13645. "type": "integer"
  13646. },
  13647. "relatedgoodsid": {
  13648. "description": "关联交易商品ID",
  13649. "type": "integer"
  13650. },
  13651. "relatedgoodstype": {
  13652. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  13653. "type": "integer"
  13654. }
  13655. }
  13656. },
  13657. "models.ErmcpReportDayFR": {
  13658. "type": "object",
  13659. "properties": {
  13660. "areauserid": {
  13661. "description": "所属机构",
  13662. "type": "integer"
  13663. },
  13664. "collectinvoiceamount": {
  13665. "description": "今日开票金额",
  13666. "type": "number"
  13667. },
  13668. "collectinvoicecount": {
  13669. "description": "今日开票笔数",
  13670. "type": "integer"
  13671. },
  13672. "collectmoneyamount": {
  13673. "description": "今日收款金额",
  13674. "type": "number"
  13675. },
  13676. "collectmoneycount": {
  13677. "description": "今日收款笔数",
  13678. "type": "integer"
  13679. },
  13680. "payinvoiceamount": {
  13681. "description": "今日收票金额",
  13682. "type": "number"
  13683. },
  13684. "payinvoicecount": {
  13685. "description": "今日收票笔数",
  13686. "type": "integer"
  13687. },
  13688. "paymoneyamount": {
  13689. "description": "今日付款金额",
  13690. "type": "number"
  13691. },
  13692. "paymoneycount": {
  13693. "description": "今日付款笔数",
  13694. "type": "integer"
  13695. },
  13696. "reckondate": {
  13697. "description": "日照时期(yyyyMMdd)",
  13698. "type": "string"
  13699. },
  13700. "updatetime": {
  13701. "description": "更新时间",
  13702. "type": "string"
  13703. }
  13704. }
  13705. },
  13706. "models.ErmcpWrstandard": {
  13707. "type": "object",
  13708. "properties": {
  13709. "areauserid": {
  13710. "description": "所属机构",
  13711. "type": "integer"
  13712. },
  13713. "createtime": {
  13714. "description": "创建时间",
  13715. "type": "string"
  13716. },
  13717. "creatorid": {
  13718. "description": "创建人",
  13719. "type": "integer"
  13720. },
  13721. "deliverygoodsid": {
  13722. "description": "品种ID",
  13723. "type": "integer"
  13724. },
  13725. "enumdicname": {
  13726. "description": "单位名称",
  13727. "type": "string"
  13728. },
  13729. "isvalid": {
  13730. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  13731. "type": "integer"
  13732. },
  13733. "minivalue": {
  13734. "description": "最小变动值",
  13735. "type": "integer"
  13736. },
  13737. "minivaluedp": {
  13738. "description": "最小变动值小数位",
  13739. "type": "integer"
  13740. },
  13741. "realminivalue": {
  13742. "description": "实际最小变动值",
  13743. "type": "integer"
  13744. },
  13745. "realminivaluedp": {
  13746. "description": "实际最小变动值小数位",
  13747. "type": "integer"
  13748. },
  13749. "remark": {
  13750. "description": "备注",
  13751. "type": "string"
  13752. },
  13753. "unitid": {
  13754. "description": "单位ID",
  13755. "type": "integer"
  13756. },
  13757. "updatetime": {
  13758. "description": "更新时间",
  13759. "type": "string"
  13760. },
  13761. "wrstandardcode": {
  13762. "description": "现货商品代码",
  13763. "type": "string"
  13764. },
  13765. "wrstandardid": {
  13766. "description": "现货商品ID(SEQ_WRSTANDARD)",
  13767. "type": "integer"
  13768. },
  13769. "wrstandardname": {
  13770. "description": "现货商品名称",
  13771. "type": "string"
  13772. }
  13773. }
  13774. },
  13775. "models.Externalexchange": {
  13776. "type": "object",
  13777. "required": [
  13778. "autoid"
  13779. ],
  13780. "properties": {
  13781. "autoid": {
  13782. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  13783. "type": "integer"
  13784. },
  13785. "exchangefullname": {
  13786. "description": "外部交易所全称",
  13787. "type": "string"
  13788. },
  13789. "exexchangecode": {
  13790. "description": "外部交易所代码",
  13791. "type": "string"
  13792. },
  13793. "exexchangename": {
  13794. "description": "外部交易所名称(简称)",
  13795. "type": "string"
  13796. },
  13797. "ismarketprice": {
  13798. "description": "是否支持市价 - 0:不支持 1:支持",
  13799. "type": "integer"
  13800. },
  13801. "quotegear": {
  13802. "description": "行情档位(1-10)",
  13803. "type": "integer"
  13804. },
  13805. "showbrokerflag": {
  13806. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  13807. "type": "integer"
  13808. },
  13809. "updatetime": {
  13810. "description": "更新时间",
  13811. "type": "string"
  13812. }
  13813. }
  13814. },
  13815. "models.Funcmenulist": {
  13816. "type": "object",
  13817. "required": [
  13818. "resourcecode"
  13819. ],
  13820. "properties": {
  13821. "iconame": {
  13822. "description": "菜单图标",
  13823. "type": "string"
  13824. },
  13825. "menutype": {
  13826. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  13827. "type": "integer"
  13828. },
  13829. "parentcode": {
  13830. "description": "上级资源代码",
  13831. "type": "string"
  13832. },
  13833. "remark": {
  13834. "description": "备注",
  13835. "type": "string"
  13836. },
  13837. "resourcecode": {
  13838. "description": "资源代码",
  13839. "type": "string"
  13840. },
  13841. "resourcelevel": {
  13842. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  13843. "type": "integer"
  13844. },
  13845. "resourcename": {
  13846. "description": "资源名",
  13847. "type": "string"
  13848. },
  13849. "sort": {
  13850. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  13851. "type": "integer"
  13852. },
  13853. "url": {
  13854. "description": "URL",
  13855. "type": "string"
  13856. }
  13857. }
  13858. },
  13859. "models.Goods": {
  13860. "type": "object",
  13861. "required": [
  13862. "goodscode",
  13863. "goodsid",
  13864. "goodsname",
  13865. "marketid"
  13866. ],
  13867. "properties": {
  13868. "agreeunit": {
  13869. "description": "合约单位",
  13870. "type": "number"
  13871. },
  13872. "auditaccountid": {
  13873. "description": "审核操作员账号",
  13874. "type": "integer"
  13875. },
  13876. "audittime": {
  13877. "description": "审核时间",
  13878. "type": "string"
  13879. },
  13880. "cancelaccountid": {
  13881. "description": "注销操作员账号",
  13882. "type": "integer"
  13883. },
  13884. "canceltime": {
  13885. "description": "注销时间",
  13886. "type": "string"
  13887. },
  13888. "closepricemode": {
  13889. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  13890. "type": "integer"
  13891. },
  13892. "closepriceparam": {
  13893. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  13894. "type": "number"
  13895. },
  13896. "createtime": {
  13897. "description": "创建时间",
  13898. "type": "string"
  13899. },
  13900. "creatorid": {
  13901. "description": "创建人",
  13902. "type": "integer"
  13903. },
  13904. "currencyid": {
  13905. "description": "报价货币ID",
  13906. "type": "integer"
  13907. },
  13908. "cutmode": {
  13909. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  13910. "type": "integer"
  13911. },
  13912. "decimalplace": {
  13913. "description": "报价小数位",
  13914. "type": "integer"
  13915. },
  13916. "delistingdate": {
  13917. "description": "商品退市时间(状态:退市) -- 已作废",
  13918. "type": "string"
  13919. },
  13920. "delistingmode": {
  13921. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  13922. "type": "integer"
  13923. },
  13924. "deliveryflag": {
  13925. "description": "交割标志 - 0:不可交割 1:可交割",
  13926. "type": "integer"
  13927. },
  13928. "forceclosemode": {
  13929. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  13930. "type": "integer"
  13931. },
  13932. "forceclosevalue": {
  13933. "description": "定期强平参数 [收益权]",
  13934. "type": "integer"
  13935. },
  13936. "goodscode": {
  13937. "description": "商品代码(内部)",
  13938. "type": "string"
  13939. },
  13940. "goodscurrencyid": {
  13941. "description": "合约货币ID",
  13942. "type": "integer"
  13943. },
  13944. "goodsgroupid": {
  13945. "description": "所属商品组ID",
  13946. "type": "integer"
  13947. },
  13948. "goodsid": {
  13949. "description": "商品ID(自增ID SEQ_GOODS)",
  13950. "type": "integer"
  13951. },
  13952. "goodsname": {
  13953. "description": "商品名称",
  13954. "type": "string"
  13955. },
  13956. "goodsquotetype": {
  13957. "description": "合约报价类型: 1-直接报价 2-间接报价",
  13958. "type": "integer"
  13959. },
  13960. "goodsstatus": {
  13961. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  13962. "type": "integer"
  13963. },
  13964. "goodstradetype": {
  13965. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  13966. "type": "integer"
  13967. },
  13968. "goodunitid": {
  13969. "description": "报价单位ID",
  13970. "type": "integer"
  13971. },
  13972. "hasquoter": {
  13973. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  13974. "type": "integer"
  13975. },
  13976. "hqprotecttime": {
  13977. "description": "行情保护时间(秒)",
  13978. "type": "integer"
  13979. },
  13980. "innerdealmode": {
  13981. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  13982. "type": "integer"
  13983. },
  13984. "isbuylimited": {
  13985. "description": "是否限制建仓量 - 0:不限制 1:限制",
  13986. "type": "integer"
  13987. },
  13988. "lasttradedate": {
  13989. "description": "最后交易日期(状态:待退市)",
  13990. "type": "string"
  13991. },
  13992. "listingdate": {
  13993. "description": "交易开始日期",
  13994. "type": "string"
  13995. },
  13996. "marketid": {
  13997. "description": "所属市场ID",
  13998. "type": "integer"
  13999. },
  14000. "modifierid": {
  14001. "description": "修改人",
  14002. "type": "integer"
  14003. },
  14004. "modifystatus": {
  14005. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  14006. "type": "integer"
  14007. },
  14008. "modifytime": {
  14009. "description": "修改时间",
  14010. "type": "string"
  14011. },
  14012. "outerdealmode": {
  14013. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14014. "type": "integer"
  14015. },
  14016. "outgoodscode": {
  14017. "description": "商品代码(外部)",
  14018. "type": "string"
  14019. },
  14020. "qtydecimalplace": {
  14021. "description": "成交量小数位",
  14022. "type": "integer"
  14023. },
  14024. "quotegear": {
  14025. "description": "行情档位(1-10)",
  14026. "type": "integer"
  14027. },
  14028. "quoteminunit": {
  14029. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14030. "type": "integer"
  14031. },
  14032. "quoteshowtype": {
  14033. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  14034. "type": "integer"
  14035. },
  14036. "quoteshowtypeinterval": {
  14037. "description": "行情报价间隔时间(秒)(成交价时为0)",
  14038. "type": "integer"
  14039. },
  14040. "remark": {
  14041. "description": "备注",
  14042. "type": "string"
  14043. }
  14044. }
  14045. },
  14046. "models.GoodsBrand": {
  14047. "type": "object",
  14048. "properties": {
  14049. "brandid": {
  14050. "description": "品牌ID",
  14051. "type": "integer"
  14052. },
  14053. "brandname": {
  14054. "description": "品牌名称",
  14055. "type": "string"
  14056. },
  14057. "isvalid": {
  14058. "description": "是否有效 - 0:无效 1:有效",
  14059. "type": "integer"
  14060. }
  14061. }
  14062. },
  14063. "models.GoodsGroupConvert": {
  14064. "type": "object",
  14065. "properties": {
  14066. "convertratio": {
  14067. "description": "折算系数",
  14068. "type": "number"
  14069. },
  14070. "dstgoodsgroupid": {
  14071. "description": "目标期货品种ID",
  14072. "type": "integer"
  14073. },
  14074. "goodsgroupname": {
  14075. "description": "期货品种名称",
  14076. "type": "string"
  14077. },
  14078. "outergroupcode": {
  14079. "description": "期货品种代码",
  14080. "type": "string"
  14081. },
  14082. "srcgoodsgroupid": {
  14083. "description": "源期货品种ID",
  14084. "type": "integer"
  14085. }
  14086. }
  14087. },
  14088. "models.GoodsIDAndName": {
  14089. "type": "object",
  14090. "required": [
  14091. "goodscode",
  14092. "goodsid",
  14093. "goodsname",
  14094. "marketid"
  14095. ],
  14096. "properties": {
  14097. "goodscode": {
  14098. "description": "商品代码(内部)",
  14099. "type": "string"
  14100. },
  14101. "goodsid": {
  14102. "description": "商品ID(自增ID SEQ_GOODS)",
  14103. "type": "integer"
  14104. },
  14105. "goodsname": {
  14106. "description": "商品名称",
  14107. "type": "string"
  14108. },
  14109. "marketid": {
  14110. "description": "所属市场ID",
  14111. "type": "integer"
  14112. }
  14113. }
  14114. },
  14115. "models.GoodsTypeModel": {
  14116. "type": "object",
  14117. "properties": {
  14118. "modelid": {
  14119. "description": "型号ID",
  14120. "type": "integer"
  14121. },
  14122. "modelname": {
  14123. "description": "型号名称",
  14124. "type": "string"
  14125. },
  14126. "updatetime": {
  14127. "description": "更新时间",
  14128. "type": "string"
  14129. }
  14130. }
  14131. },
  14132. "models.Goodsgroup": {
  14133. "type": "object",
  14134. "required": [
  14135. "goodsgroupid",
  14136. "goodsgroupname",
  14137. "goodsgroupstatus",
  14138. "marketid"
  14139. ],
  14140. "properties": {
  14141. "agreeunit": {
  14142. "description": "合约单位",
  14143. "type": "number"
  14144. },
  14145. "canshort": {
  14146. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14147. "type": "integer"
  14148. },
  14149. "closepricemode": {
  14150. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14151. "type": "integer"
  14152. },
  14153. "closepriceparam": {
  14154. "description": "强平最新价浮动比例 - 方式为2时使用",
  14155. "type": "number"
  14156. },
  14157. "createtime": {
  14158. "description": "创建时间",
  14159. "type": "string"
  14160. },
  14161. "creatorid": {
  14162. "description": "创建人",
  14163. "type": "integer"
  14164. },
  14165. "currencyid": {
  14166. "description": "报价货币ID",
  14167. "type": "integer"
  14168. },
  14169. "decimalplace": {
  14170. "description": "报价小数位",
  14171. "type": "integer"
  14172. },
  14173. "exercisetype": {
  14174. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  14175. "type": "integer"
  14176. },
  14177. "exexchangeid": {
  14178. "description": "外部交易所ID[通道交易]",
  14179. "type": "integer"
  14180. },
  14181. "goodsgroupid": {
  14182. "description": "商品组ID(自增ID)",
  14183. "type": "integer"
  14184. },
  14185. "goodsgroupname": {
  14186. "description": "商品组名称",
  14187. "type": "string"
  14188. },
  14189. "goodsgroupstatus": {
  14190. "description": "商品组状态 - 1:正常 2:注销",
  14191. "type": "integer"
  14192. },
  14193. "goodunitid": {
  14194. "description": "报价单位ID",
  14195. "type": "integer"
  14196. },
  14197. "innerdealmode": {
  14198. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14199. "type": "integer"
  14200. },
  14201. "isbuylimited": {
  14202. "description": "是否限制建仓量 - 0:不限制 1:限制",
  14203. "type": "integer"
  14204. },
  14205. "marketid": {
  14206. "description": "所属市场ID",
  14207. "type": "integer"
  14208. },
  14209. "modifierid": {
  14210. "description": "修改人",
  14211. "type": "integer"
  14212. },
  14213. "modifytime": {
  14214. "description": "修改时间",
  14215. "type": "string"
  14216. },
  14217. "outerdealmode": {
  14218. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14219. "type": "integer"
  14220. },
  14221. "outergroupcode": {
  14222. "description": "外部商品组代码[通道交易]",
  14223. "type": "string"
  14224. },
  14225. "premiumdecimalplace": {
  14226. "description": "权利金小数位[场外期权]",
  14227. "type": "integer"
  14228. },
  14229. "premiumspreadalgorithm": {
  14230. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  14231. "type": "integer"
  14232. },
  14233. "premiumspreadvalue": {
  14234. "description": "权利金点差值[场外期权]",
  14235. "type": "number"
  14236. },
  14237. "qtydecimalplace": {
  14238. "description": "成交量小数位",
  14239. "type": "integer"
  14240. },
  14241. "quotegear": {
  14242. "description": "行情档位(1-10)",
  14243. "type": "integer"
  14244. },
  14245. "quoteminunit": {
  14246. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14247. "type": "integer"
  14248. },
  14249. "quoterid": {
  14250. "description": "报价商ID[场外期权]",
  14251. "type": "integer"
  14252. },
  14253. "quotesourcegroupid": {
  14254. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14255. "type": "integer"
  14256. },
  14257. "syncgoodsqty": {
  14258. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14259. "type": "integer"
  14260. }
  14261. }
  14262. },
  14263. "models.HsbyBuyMyPayOrder": {
  14264. "type": "object",
  14265. "required": [
  14266. "goodscode",
  14267. "goodsname",
  14268. "tradeid",
  14269. "trademode"
  14270. ],
  14271. "properties": {
  14272. "agreeunit": {
  14273. "description": "合约单位",
  14274. "type": "number"
  14275. },
  14276. "buyaccountid": {
  14277. "description": "买方账号ID[报价币种]",
  14278. "type": "integer"
  14279. },
  14280. "buyorderid": {
  14281. "description": "买方委托单号",
  14282. "type": "string"
  14283. },
  14284. "createtime": {
  14285. "description": "创建时间",
  14286. "type": "string"
  14287. },
  14288. "currencysign": {
  14289. "description": "货币符号",
  14290. "type": "string"
  14291. },
  14292. "decimalplace": {
  14293. "description": "报价小数位",
  14294. "type": "integer"
  14295. },
  14296. "goodscode": {
  14297. "description": "商品代码(内部)",
  14298. "type": "string"
  14299. },
  14300. "goodsid": {
  14301. "description": "商品ID",
  14302. "type": "integer"
  14303. },
  14304. "goodsname": {
  14305. "description": "商品名称",
  14306. "type": "string"
  14307. },
  14308. "marketid": {
  14309. "description": "市场ID",
  14310. "type": "integer"
  14311. },
  14312. "offamount": {
  14313. "description": "优惠金额",
  14314. "type": "number"
  14315. },
  14316. "originalamount": {
  14317. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  14318. "type": "number"
  14319. },
  14320. "payamount": {
  14321. "description": "支付金额 = TradeAmount + TradeCharge",
  14322. "type": "number"
  14323. },
  14324. "payflag": {
  14325. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  14326. "type": "integer"
  14327. },
  14328. "paylimitedtime": {
  14329. "description": "支付期限",
  14330. "type": "string"
  14331. },
  14332. "paytime": {
  14333. "description": "付款时间",
  14334. "type": "string"
  14335. },
  14336. "picurls1": {
  14337. "description": "预售商品介绍图片[多张用逗号分隔]",
  14338. "type": "string"
  14339. },
  14340. "picurls2": {
  14341. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14342. "type": "string"
  14343. },
  14344. "sellaccountid": {
  14345. "description": "卖方账号ID[报价币种]",
  14346. "type": "integer"
  14347. },
  14348. "sellorderid": {
  14349. "description": "卖方委托单号",
  14350. "type": "string"
  14351. },
  14352. "tradeamount": {
  14353. "description": "成交金额",
  14354. "type": "number"
  14355. },
  14356. "tradecharge": {
  14357. "description": "成交手续费(买方)",
  14358. "type": "number"
  14359. },
  14360. "tradedate": {
  14361. "description": "交易日(yyyyMMdd)",
  14362. "type": "string"
  14363. },
  14364. "tradeid": {
  14365. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14366. "type": "string"
  14367. },
  14368. "trademode": {
  14369. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14370. "type": "integer"
  14371. },
  14372. "tradeprice": {
  14373. "description": "成交价格",
  14374. "type": "number"
  14375. },
  14376. "tradeqty": {
  14377. "description": "成交数量",
  14378. "type": "integer"
  14379. },
  14380. "vendorname1": {
  14381. "description": "预售商品供应商名称",
  14382. "type": "string"
  14383. },
  14384. "vendorname2": {
  14385. "description": "挂牌商品供应商名称",
  14386. "type": "string"
  14387. }
  14388. }
  14389. },
  14390. "models.HsbyBuyMyTradeDetail": {
  14391. "type": "object",
  14392. "required": [
  14393. "accountid",
  14394. "buyorsell",
  14395. "goodscode",
  14396. "goodsid",
  14397. "goodsname",
  14398. "marketid",
  14399. "orderid",
  14400. "qty",
  14401. "time",
  14402. "trademode"
  14403. ],
  14404. "properties": {
  14405. "accountid": {
  14406. "description": "账户ID[报价币种]",
  14407. "type": "integer"
  14408. },
  14409. "agreeunit": {
  14410. "description": "合约单位",
  14411. "type": "number"
  14412. },
  14413. "amount": {
  14414. "description": "金额 = 价格 * 数量 * 合约单位",
  14415. "type": "number"
  14416. },
  14417. "buyorsell": {
  14418. "description": "买卖 - 0:买 1:卖",
  14419. "type": "integer"
  14420. },
  14421. "currencysign": {
  14422. "description": "货币符号",
  14423. "type": "string"
  14424. },
  14425. "decimalplace": {
  14426. "description": "报价小数位",
  14427. "type": "integer"
  14428. },
  14429. "goodscode": {
  14430. "description": "商品代码(内部)",
  14431. "type": "string"
  14432. },
  14433. "goodsid": {
  14434. "description": "商品ID",
  14435. "type": "integer"
  14436. },
  14437. "goodsname": {
  14438. "description": "商品名称",
  14439. "type": "string"
  14440. },
  14441. "marketid": {
  14442. "description": "市场ID",
  14443. "type": "integer"
  14444. },
  14445. "orderid": {
  14446. "description": "单号(成交单号)",
  14447. "type": "string"
  14448. },
  14449. "picurls1": {
  14450. "description": "预售商品介绍图片[多张用逗号分隔]",
  14451. "type": "string"
  14452. },
  14453. "picurls2": {
  14454. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14455. "type": "string"
  14456. },
  14457. "price": {
  14458. "description": "价格",
  14459. "type": "number"
  14460. },
  14461. "qty": {
  14462. "description": "数量",
  14463. "type": "integer"
  14464. },
  14465. "time": {
  14466. "description": "时间",
  14467. "type": "string"
  14468. },
  14469. "trademode": {
  14470. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14471. "type": "integer"
  14472. },
  14473. "vendorname1": {
  14474. "description": "预售商品供应商名称",
  14475. "type": "string"
  14476. },
  14477. "vendorname2": {
  14478. "description": "挂牌商品供应商名称",
  14479. "type": "string"
  14480. }
  14481. }
  14482. },
  14483. "models.HsbyGoodsOrderDetail": {
  14484. "type": "object",
  14485. "required": [
  14486. "buyorsell",
  14487. "orderid",
  14488. "ordertime"
  14489. ],
  14490. "properties": {
  14491. "buyorsell": {
  14492. "description": "买卖 - 0:买 1:卖",
  14493. "type": "integer"
  14494. },
  14495. "currencysign": {
  14496. "description": "货币符号",
  14497. "type": "string"
  14498. },
  14499. "customername": {
  14500. "description": "客户名称(企业名称),已脱敏",
  14501. "type": "string"
  14502. },
  14503. "enableqty": {
  14504. "description": "可用数量",
  14505. "type": "integer"
  14506. },
  14507. "goodunit": {
  14508. "description": "报价单位",
  14509. "type": "string"
  14510. },
  14511. "orderid": {
  14512. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14513. "type": "string"
  14514. },
  14515. "orderprice": {
  14516. "description": "委托价格",
  14517. "type": "number"
  14518. },
  14519. "ordertime": {
  14520. "description": "委托时间",
  14521. "type": "string"
  14522. }
  14523. }
  14524. },
  14525. "models.HsbyListingGoodsDetail": {
  14526. "type": "object",
  14527. "required": [
  14528. "goodscode",
  14529. "goodsid",
  14530. "goodsname",
  14531. "marketid",
  14532. "trademode"
  14533. ],
  14534. "properties": {
  14535. "agreeunit": {
  14536. "description": "合约单位",
  14537. "type": "number"
  14538. },
  14539. "buymaxqty": {
  14540. "description": "购买上限 [71] - 0为不限",
  14541. "type": "integer"
  14542. },
  14543. "currency": {
  14544. "description": "货币",
  14545. "type": "string"
  14546. },
  14547. "currencysign": {
  14548. "description": "货币符号",
  14549. "type": "string"
  14550. },
  14551. "decimalplace": {
  14552. "description": "报价小数位",
  14553. "type": "integer"
  14554. },
  14555. "desccityid": {
  14556. "description": "目的地(市)ID",
  14557. "type": "integer"
  14558. },
  14559. "descprovinceid": {
  14560. "description": "目的地(省)ID",
  14561. "type": "integer"
  14562. },
  14563. "goodscode": {
  14564. "description": "商品代码(内部)",
  14565. "type": "string"
  14566. },
  14567. "goodsdesc": {
  14568. "description": "商品详情",
  14569. "type": "string"
  14570. },
  14571. "goodsid": {
  14572. "description": "商品ID(自增ID SEQ_GOODS)",
  14573. "type": "integer"
  14574. },
  14575. "goodsname": {
  14576. "description": "商品名称",
  14577. "type": "string"
  14578. },
  14579. "goodsprice": {
  14580. "description": "商品价格",
  14581. "type": "number"
  14582. },
  14583. "hotindex": {
  14584. "description": "景点热度",
  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. "vendorattr": {
  14624. "description": "供应商附件(多张,逗号分隔)",
  14625. "type": "string"
  14626. },
  14627. "vendorname": {
  14628. "description": "供应商名称",
  14629. "type": "string"
  14630. },
  14631. "vendorphone": {
  14632. "description": "供应商客服电话",
  14633. "type": "string"
  14634. },
  14635. "videourls": {
  14636. "description": "介绍视频[多张用逗号分隔]",
  14637. "type": "string"
  14638. }
  14639. }
  14640. },
  14641. "models.HsbyMarketGoods": {
  14642. "type": "object",
  14643. "required": [
  14644. "accountid",
  14645. "buyorsell",
  14646. "goodscode",
  14647. "goodsid",
  14648. "goodsname",
  14649. "marketid",
  14650. "orderid",
  14651. "trademode"
  14652. ],
  14653. "properties": {
  14654. "accountid": {
  14655. "description": "账户ID[报价币种]",
  14656. "type": "integer"
  14657. },
  14658. "agreeunit": {
  14659. "description": "合约单位",
  14660. "type": "number"
  14661. },
  14662. "buyorsell": {
  14663. "description": "买卖 - 0:买 1:卖",
  14664. "type": "integer"
  14665. },
  14666. "categoryid": {
  14667. "description": "类别ID(WRCATEGORY)",
  14668. "type": "integer"
  14669. },
  14670. "currency": {
  14671. "description": "货币",
  14672. "type": "string"
  14673. },
  14674. "currencysign": {
  14675. "description": "货币符号",
  14676. "type": "string"
  14677. },
  14678. "customername": {
  14679. "description": "卖家名称",
  14680. "type": "string"
  14681. },
  14682. "decimalplace": {
  14683. "description": "报价小数位",
  14684. "type": "integer"
  14685. },
  14686. "goodscode": {
  14687. "description": "商品代码(内部)",
  14688. "type": "string"
  14689. },
  14690. "goodsid": {
  14691. "description": "商品ID",
  14692. "type": "integer"
  14693. },
  14694. "goodsname": {
  14695. "description": "商品名称",
  14696. "type": "string"
  14697. },
  14698. "goodsprice": {
  14699. "description": "商品价格",
  14700. "type": "number"
  14701. },
  14702. "hascoupon": {
  14703. "description": "是否可用优惠卷",
  14704. "type": "boolean"
  14705. },
  14706. "hotindex": {
  14707. "description": "景点热度",
  14708. "type": "integer"
  14709. },
  14710. "marketid": {
  14711. "description": "市场ID",
  14712. "type": "integer"
  14713. },
  14714. "orderid": {
  14715. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14716. "type": "string"
  14717. },
  14718. "orderprice": {
  14719. "description": "委托价格",
  14720. "type": "number"
  14721. },
  14722. "orderstatus": {
  14723. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14724. "type": "integer"
  14725. },
  14726. "picurls": {
  14727. "description": "介绍图片[多张用逗号分隔]",
  14728. "type": "string"
  14729. },
  14730. "quoteminunit": {
  14731. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14732. "type": "integer"
  14733. },
  14734. "sellUserID": {
  14735. "description": "卖方UserID",
  14736. "type": "integer"
  14737. },
  14738. "trademode": {
  14739. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14740. "type": "integer"
  14741. },
  14742. "videourls": {
  14743. "description": "介绍视频[多张用逗号分隔]",
  14744. "type": "string"
  14745. }
  14746. }
  14747. },
  14748. "models.HsbyMarketGoodsDetail": {
  14749. "type": "object",
  14750. "required": [
  14751. "accountid",
  14752. "buyorsell",
  14753. "goodscode",
  14754. "goodsid",
  14755. "goodsname",
  14756. "marketid",
  14757. "orderid",
  14758. "orderqty",
  14759. "trademode"
  14760. ],
  14761. "properties": {
  14762. "accountid": {
  14763. "description": "账户ID[报价币种]",
  14764. "type": "integer"
  14765. },
  14766. "agreeunit": {
  14767. "description": "合约单位",
  14768. "type": "number"
  14769. },
  14770. "buymaxqty": {
  14771. "description": "购买上限 [71] - 0为不限",
  14772. "type": "integer"
  14773. },
  14774. "buyorsell": {
  14775. "description": "买卖 - 0:买 1:卖",
  14776. "type": "integer"
  14777. },
  14778. "cancelqty": {
  14779. "description": "撤单数量",
  14780. "type": "integer"
  14781. },
  14782. "categoryid": {
  14783. "description": "类别ID(WRCATEGORY)",
  14784. "type": "integer"
  14785. },
  14786. "currency": {
  14787. "description": "货币",
  14788. "type": "string"
  14789. },
  14790. "currencysign": {
  14791. "description": "货币符号",
  14792. "type": "string"
  14793. },
  14794. "customername": {
  14795. "description": "卖家名称",
  14796. "type": "string"
  14797. },
  14798. "decimalplace": {
  14799. "description": "报价小数位",
  14800. "type": "integer"
  14801. },
  14802. "goodscode": {
  14803. "description": "商品代码(内部)",
  14804. "type": "string"
  14805. },
  14806. "goodsdesc": {
  14807. "description": "商品详情",
  14808. "type": "string"
  14809. },
  14810. "goodsid": {
  14811. "description": "商品ID",
  14812. "type": "integer"
  14813. },
  14814. "goodsname": {
  14815. "description": "商品名称",
  14816. "type": "string"
  14817. },
  14818. "goodsprice": {
  14819. "description": "商品价格",
  14820. "type": "number"
  14821. },
  14822. "hotindex": {
  14823. "description": "景点热度",
  14824. "type": "integer"
  14825. },
  14826. "lotsize": {
  14827. "description": "手数最小变动单位",
  14828. "type": "integer"
  14829. },
  14830. "marketid": {
  14831. "description": "市场ID",
  14832. "type": "integer"
  14833. },
  14834. "orderid": {
  14835. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14836. "type": "string"
  14837. },
  14838. "orderprice": {
  14839. "description": "委托价格",
  14840. "type": "number"
  14841. },
  14842. "orderqty": {
  14843. "description": "委托数量",
  14844. "type": "integer"
  14845. },
  14846. "orderstatus": {
  14847. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14848. "type": "integer"
  14849. },
  14850. "picurls": {
  14851. "description": "介绍图片[多张用逗号分隔]",
  14852. "type": "string"
  14853. },
  14854. "quoteminunit": {
  14855. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14856. "type": "integer"
  14857. },
  14858. "sellUserID": {
  14859. "description": "卖方UserID",
  14860. "type": "integer"
  14861. },
  14862. "trademode": {
  14863. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14864. "type": "integer"
  14865. },
  14866. "tradeqty": {
  14867. "description": "成交数量",
  14868. "type": "integer"
  14869. },
  14870. "vendorattr": {
  14871. "description": "供应商附件(多张,逗号分隔)",
  14872. "type": "string"
  14873. },
  14874. "vendorname": {
  14875. "description": "供应商名称",
  14876. "type": "string"
  14877. },
  14878. "vendorphone": {
  14879. "description": "供应商客服电话",
  14880. "type": "string"
  14881. },
  14882. "videourls": {
  14883. "description": "介绍视频[多张用逗号分隔]",
  14884. "type": "string"
  14885. }
  14886. }
  14887. },
  14888. "models.HsbyMarketInfo": {
  14889. "type": "object",
  14890. "required": [
  14891. "marketid",
  14892. "marketstatus",
  14893. "trademode"
  14894. ],
  14895. "properties": {
  14896. "marketid": {
  14897. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  14898. "type": "integer"
  14899. },
  14900. "marketname": {
  14901. "description": "市场名称",
  14902. "type": "string"
  14903. },
  14904. "marketstatus": {
  14905. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  14906. "type": "integer"
  14907. },
  14908. "trademode": {
  14909. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14910. "type": "integer"
  14911. }
  14912. }
  14913. },
  14914. "models.HsbyMyGoods": {
  14915. "type": "object",
  14916. "required": [
  14917. "accountid",
  14918. "goodscode",
  14919. "goodsid",
  14920. "goodsname",
  14921. "marketid",
  14922. "trademode"
  14923. ],
  14924. "properties": {
  14925. "accountid": {
  14926. "description": "账号Id",
  14927. "type": "integer"
  14928. },
  14929. "agreeunit": {
  14930. "description": "合约单位",
  14931. "type": "number"
  14932. },
  14933. "buyaverageprice": {
  14934. "description": "持仓均价",
  14935. "type": "number"
  14936. },
  14937. "buycurholderamount": {
  14938. "description": "买当前持仓总金额[商品币种]",
  14939. "type": "number"
  14940. },
  14941. "buycurpositionqty": {
  14942. "description": "买当前持仓总数量",
  14943. "type": "integer"
  14944. },
  14945. "buymaxqty": {
  14946. "description": "购买上限 [71] - 0为不限",
  14947. "type": "integer"
  14948. },
  14949. "currencysign": {
  14950. "description": "货币符号",
  14951. "type": "string"
  14952. },
  14953. "decimalplace": {
  14954. "description": "报价小数位",
  14955. "type": "integer"
  14956. },
  14957. "enableqty": {
  14958. "description": "可用数量",
  14959. "type": "integer"
  14960. },
  14961. "goodscode": {
  14962. "description": "商品代码(内部)",
  14963. "type": "string"
  14964. },
  14965. "goodsid": {
  14966. "description": "商品Id",
  14967. "type": "integer"
  14968. },
  14969. "goodsname": {
  14970. "description": "商品名称",
  14971. "type": "string"
  14972. },
  14973. "goodsprice": {
  14974. "description": "商品价格",
  14975. "type": "number"
  14976. },
  14977. "goodsstatus": {
  14978. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  14979. "type": "integer"
  14980. },
  14981. "last": {
  14982. "description": "现价(仅使用于挂牌点选)",
  14983. "type": "number"
  14984. },
  14985. "limitdown": {
  14986. "description": "跌停价(仅使用于挂牌点选)",
  14987. "type": "number"
  14988. },
  14989. "limitup": {
  14990. "description": "涨停价(仅使用于挂牌点选)",
  14991. "type": "number"
  14992. },
  14993. "lotsize": {
  14994. "description": "手数最小变动单位",
  14995. "type": "integer"
  14996. },
  14997. "marketid": {
  14998. "description": "所属市场ID",
  14999. "type": "integer"
  15000. },
  15001. "picurls": {
  15002. "description": "介绍图片[多张用逗号分隔]",
  15003. "type": "string"
  15004. },
  15005. "quoteminunit": {
  15006. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15007. "type": "integer"
  15008. },
  15009. "stepvalue": {
  15010. "description": "价格最小变动单位",
  15011. "type": "number"
  15012. },
  15013. "trademode": {
  15014. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15015. "type": "integer"
  15016. }
  15017. }
  15018. },
  15019. "models.HsbyMyPackage": {
  15020. "type": "object",
  15021. "required": [
  15022. "goodscode",
  15023. "goodsname",
  15024. "takeorderid",
  15025. "trademode"
  15026. ],
  15027. "properties": {
  15028. "accountid": {
  15029. "description": "账户ID",
  15030. "type": "integer"
  15031. },
  15032. "address": {
  15033. "description": "提货人详细地址",
  15034. "type": "string"
  15035. },
  15036. "agreeunit": {
  15037. "description": "合约单位",
  15038. "type": "number"
  15039. },
  15040. "amount": {
  15041. "description": "提货金额",
  15042. "type": "number"
  15043. },
  15044. "auditer": {
  15045. "description": "审核人",
  15046. "type": "integer"
  15047. },
  15048. "audittime": {
  15049. "description": "审核时间",
  15050. "type": "string"
  15051. },
  15052. "averageprice": {
  15053. "description": "均价",
  15054. "type": "number"
  15055. },
  15056. "cardnum": {
  15057. "description": "提货人证件号码",
  15058. "type": "string"
  15059. },
  15060. "cardtypeid": {
  15061. "description": "提货人证件类型",
  15062. "type": "integer"
  15063. },
  15064. "checkremark": {
  15065. "description": "审核备注",
  15066. "type": "string"
  15067. },
  15068. "currencysign": {
  15069. "description": "货币符号",
  15070. "type": "string"
  15071. },
  15072. "decimalplace": {
  15073. "description": "报价小数位",
  15074. "type": "integer"
  15075. },
  15076. "goodscode": {
  15077. "description": "商品代码(内部)",
  15078. "type": "string"
  15079. },
  15080. "goodsid": {
  15081. "description": "商品ID",
  15082. "type": "integer"
  15083. },
  15084. "goodsname": {
  15085. "description": "商品名称",
  15086. "type": "string"
  15087. },
  15088. "handlestatus": {
  15089. "description": "处理状态",
  15090. "type": "integer"
  15091. },
  15092. "marketid": {
  15093. "description": "市场ID",
  15094. "type": "integer"
  15095. },
  15096. "phonenum": {
  15097. "description": "提货人联系方式",
  15098. "type": "string"
  15099. },
  15100. "picurls": {
  15101. "description": "介绍图片[多张用逗号分隔]",
  15102. "type": "string"
  15103. },
  15104. "qty": {
  15105. "description": "提货数量",
  15106. "type": "number"
  15107. },
  15108. "recivername": {
  15109. "description": "提货人姓名",
  15110. "type": "string"
  15111. },
  15112. "reqtime": {
  15113. "description": "更新时间",
  15114. "type": "string"
  15115. },
  15116. "takemode": {
  15117. "description": "提货方式 - 2:自提 3:配送",
  15118. "type": "integer"
  15119. },
  15120. "takeorderid": {
  15121. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  15122. "type": "string"
  15123. },
  15124. "takeorderstatus": {
  15125. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  15126. "type": "integer"
  15127. },
  15128. "takeremark": {
  15129. "description": "提货备注",
  15130. "type": "string"
  15131. },
  15132. "tradedate": {
  15133. "description": "交易日(yyyyMMdd)",
  15134. "type": "string"
  15135. },
  15136. "trademode": {
  15137. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15138. "type": "integer"
  15139. },
  15140. "userid": {
  15141. "description": "用户ID",
  15142. "type": "integer"
  15143. },
  15144. "vendorname": {
  15145. "description": "供应商名称",
  15146. "type": "string"
  15147. }
  15148. }
  15149. },
  15150. "models.HsbyPreGoods": {
  15151. "type": "object",
  15152. "required": [
  15153. "goodscode",
  15154. "goodsid",
  15155. "goodsname",
  15156. "marketid",
  15157. "trademode"
  15158. ],
  15159. "properties": {
  15160. "agreeunit": {
  15161. "description": "合约单位",
  15162. "type": "number"
  15163. },
  15164. "currency": {
  15165. "description": "货币",
  15166. "type": "string"
  15167. },
  15168. "currencysign": {
  15169. "description": "货币符号",
  15170. "type": "string"
  15171. },
  15172. "decimalplace": {
  15173. "description": "报价小数位",
  15174. "type": "integer"
  15175. },
  15176. "desccityid": {
  15177. "description": "目的地(市)",
  15178. "type": "integer"
  15179. },
  15180. "descprovinceid": {
  15181. "description": "目的地(省)",
  15182. "type": "integer"
  15183. },
  15184. "enableqty": {
  15185. "description": "剩余数量",
  15186. "type": "integer"
  15187. },
  15188. "goodscode": {
  15189. "description": "商品代码(内部)",
  15190. "type": "string"
  15191. },
  15192. "goodsid": {
  15193. "description": "商品ID(自增ID SEQ_GOODS)",
  15194. "type": "integer"
  15195. },
  15196. "goodsname": {
  15197. "description": "商品名称",
  15198. "type": "string"
  15199. },
  15200. "goodsstatus": {
  15201. "description": "商品状态- 2:未上市 3:上市",
  15202. "type": "integer"
  15203. },
  15204. "lasttradedate": {
  15205. "description": "最后交易日期(状态:待退市)",
  15206. "type": "string"
  15207. },
  15208. "listingdate": {
  15209. "description": "交易开始日期",
  15210. "type": "string"
  15211. },
  15212. "marketid": {
  15213. "description": "所属市场ID",
  15214. "type": "integer"
  15215. },
  15216. "picurls": {
  15217. "description": "介绍图片[多张用逗号分隔]",
  15218. "type": "string"
  15219. },
  15220. "presaledqty": {
  15221. "description": "已预售量(预售结束时更新)",
  15222. "type": "integer"
  15223. },
  15224. "presaleqty": {
  15225. "description": "预售数量",
  15226. "type": "integer"
  15227. },
  15228. "quoteminunit": {
  15229. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15230. "type": "integer"
  15231. },
  15232. "refprice": {
  15233. "description": "参考价格[一口价]",
  15234. "type": "number"
  15235. },
  15236. "relatedgoodsid": {
  15237. "description": "关联交易合约ID",
  15238. "type": "integer"
  15239. },
  15240. "trademode": {
  15241. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15242. "type": "integer"
  15243. },
  15244. "videourls": {
  15245. "description": "介绍视频[多张用逗号分隔]",
  15246. "type": "string"
  15247. }
  15248. }
  15249. },
  15250. "models.HsbyPreGoodsDetail": {
  15251. "type": "object",
  15252. "required": [
  15253. "goodscode",
  15254. "goodsid",
  15255. "goodsname",
  15256. "marketid",
  15257. "trademode"
  15258. ],
  15259. "properties": {
  15260. "agreeunit": {
  15261. "description": "合约单位",
  15262. "type": "number"
  15263. },
  15264. "buymaxqty": {
  15265. "description": "购买上限 [71] - 0为不限",
  15266. "type": "integer"
  15267. },
  15268. "currency": {
  15269. "description": "货币",
  15270. "type": "string"
  15271. },
  15272. "currencysign": {
  15273. "description": "货币符号",
  15274. "type": "string"
  15275. },
  15276. "customername": {
  15277. "description": "发行单位",
  15278. "type": "string"
  15279. },
  15280. "decimalplace": {
  15281. "description": "报价小数位",
  15282. "type": "integer"
  15283. },
  15284. "desccityid": {
  15285. "description": "目的地(市)ID",
  15286. "type": "integer"
  15287. },
  15288. "descprovinceid": {
  15289. "description": "目的地(省)ID",
  15290. "type": "integer"
  15291. },
  15292. "enableqty": {
  15293. "description": "剩余数量",
  15294. "type": "integer"
  15295. },
  15296. "goodscode": {
  15297. "description": "商品代码(内部)",
  15298. "type": "string"
  15299. },
  15300. "goodsdesc": {
  15301. "description": "商品详情",
  15302. "type": "string"
  15303. },
  15304. "goodsid": {
  15305. "description": "商品ID(自增ID SEQ_GOODS)",
  15306. "type": "integer"
  15307. },
  15308. "goodsname": {
  15309. "description": "商品名称",
  15310. "type": "string"
  15311. },
  15312. "goodsstatus": {
  15313. "description": "商品状态- 2:未上市 3:上市",
  15314. "type": "integer"
  15315. },
  15316. "goodunit": {
  15317. "description": "报价单位",
  15318. "type": "string"
  15319. },
  15320. "lasttradedate": {
  15321. "description": "最后交易日期(状态:待退市)",
  15322. "type": "string"
  15323. },
  15324. "listingdate": {
  15325. "description": "交易开始日期",
  15326. "type": "string"
  15327. },
  15328. "lotsize": {
  15329. "description": "手数最小变动单位",
  15330. "type": "integer"
  15331. },
  15332. "marketid": {
  15333. "description": "所属市场ID",
  15334. "type": "integer"
  15335. },
  15336. "picurls": {
  15337. "description": "介绍图片[多张用逗号分隔]",
  15338. "type": "string"
  15339. },
  15340. "presaledqty": {
  15341. "description": "已预售量(预售结束时更新)",
  15342. "type": "integer"
  15343. },
  15344. "presaleqty": {
  15345. "description": "预售数量",
  15346. "type": "integer"
  15347. },
  15348. "quoteminunit": {
  15349. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15350. "type": "integer"
  15351. },
  15352. "refprice": {
  15353. "description": "参考价格[一口价]",
  15354. "type": "number"
  15355. },
  15356. "relatedgoodsid": {
  15357. "description": "关联交易合约ID",
  15358. "type": "integer"
  15359. },
  15360. "stepvalue": {
  15361. "description": "价格最小变动单位",
  15362. "type": "number"
  15363. },
  15364. "trademode": {
  15365. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15366. "type": "integer"
  15367. },
  15368. "vendorattr": {
  15369. "description": "供应商附件(多张,逗号分隔)",
  15370. "type": "string"
  15371. },
  15372. "vendorname": {
  15373. "description": "供应商名称",
  15374. "type": "string"
  15375. },
  15376. "vendorphone": {
  15377. "description": "供应商客服电话",
  15378. "type": "string"
  15379. },
  15380. "videourls": {
  15381. "description": "介绍视频[多张用逗号分隔]",
  15382. "type": "string"
  15383. }
  15384. }
  15385. },
  15386. "models.HsbySellCollectionOrder": {
  15387. "type": "object",
  15388. "required": [
  15389. "goodscode",
  15390. "goodsname",
  15391. "tradeid",
  15392. "trademode"
  15393. ],
  15394. "properties": {
  15395. "agreeunit": {
  15396. "description": "合约单位",
  15397. "type": "number"
  15398. },
  15399. "buyaccountid": {
  15400. "description": "买方账号ID[报价币种]",
  15401. "type": "integer"
  15402. },
  15403. "buyorderid": {
  15404. "description": "买方委托单号",
  15405. "type": "string"
  15406. },
  15407. "createtime": {
  15408. "description": "创建时间",
  15409. "type": "string"
  15410. },
  15411. "currencysign": {
  15412. "description": "货币符号",
  15413. "type": "string"
  15414. },
  15415. "decimalplace": {
  15416. "description": "报价小数位",
  15417. "type": "integer"
  15418. },
  15419. "goodscode": {
  15420. "description": "商品代码(内部)",
  15421. "type": "string"
  15422. },
  15423. "goodsid": {
  15424. "description": "商品ID",
  15425. "type": "integer"
  15426. },
  15427. "goodsname": {
  15428. "description": "商品名称",
  15429. "type": "string"
  15430. },
  15431. "marketid": {
  15432. "description": "市场ID",
  15433. "type": "integer"
  15434. },
  15435. "offamount": {
  15436. "description": "优惠金额",
  15437. "type": "number"
  15438. },
  15439. "payamount": {
  15440. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  15441. "type": "number"
  15442. },
  15443. "payflag": {
  15444. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  15445. "type": "integer"
  15446. },
  15447. "paylimitedtime": {
  15448. "description": "支付期限",
  15449. "type": "string"
  15450. },
  15451. "paytime": {
  15452. "description": "付款时间",
  15453. "type": "string"
  15454. },
  15455. "picurls": {
  15456. "description": "商品介绍图片[多张用逗号分隔]",
  15457. "type": "string"
  15458. },
  15459. "sellaccountid": {
  15460. "description": "卖方账号ID[报价币种]",
  15461. "type": "integer"
  15462. },
  15463. "sellorderid": {
  15464. "description": "卖方委托单号",
  15465. "type": "string"
  15466. },
  15467. "tradeamount": {
  15468. "description": "成交金额",
  15469. "type": "number"
  15470. },
  15471. "tradecharge": {
  15472. "description": "成交手续费(买方)",
  15473. "type": "number"
  15474. },
  15475. "tradedate": {
  15476. "description": "交易日(yyyyMMdd)",
  15477. "type": "string"
  15478. },
  15479. "tradeid": {
  15480. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15481. "type": "string"
  15482. },
  15483. "trademode": {
  15484. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15485. "type": "integer"
  15486. },
  15487. "tradeprice": {
  15488. "description": "成交价格",
  15489. "type": "number"
  15490. },
  15491. "tradeqty": {
  15492. "description": "成交数量",
  15493. "type": "integer"
  15494. }
  15495. }
  15496. },
  15497. "models.HsbySellMyDetail": {
  15498. "type": "object",
  15499. "required": [
  15500. "accountid",
  15501. "buyorsell",
  15502. "goodscode",
  15503. "goodsid",
  15504. "goodsname",
  15505. "marketid",
  15506. "orderid",
  15507. "time",
  15508. "trademode"
  15509. ],
  15510. "properties": {
  15511. "accountid": {
  15512. "description": "账户ID[报价币种]",
  15513. "type": "integer"
  15514. },
  15515. "agreeunit": {
  15516. "description": "合约单位",
  15517. "type": "number"
  15518. },
  15519. "buyorsell": {
  15520. "description": "买卖 - 0:买 1:卖",
  15521. "type": "integer"
  15522. },
  15523. "currencysign": {
  15524. "description": "货币符号",
  15525. "type": "string"
  15526. },
  15527. "decimalplace": {
  15528. "description": "报价小数位",
  15529. "type": "integer"
  15530. },
  15531. "goodscode": {
  15532. "description": "商品代码(内部)",
  15533. "type": "string"
  15534. },
  15535. "goodsid": {
  15536. "description": "商品ID",
  15537. "type": "integer"
  15538. },
  15539. "goodsname": {
  15540. "description": "商品名称",
  15541. "type": "string"
  15542. },
  15543. "marketid": {
  15544. "description": "市场ID",
  15545. "type": "integer"
  15546. },
  15547. "orderid": {
  15548. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  15549. "type": "string"
  15550. },
  15551. "ordertype": {
  15552. "description": "单据类型:0 - 发布中, 1 - 已完成",
  15553. "type": "integer"
  15554. },
  15555. "picurls": {
  15556. "description": "介绍图片[多张用逗号分隔]",
  15557. "type": "string"
  15558. },
  15559. "price": {
  15560. "description": "价格",
  15561. "type": "number"
  15562. },
  15563. "qty": {
  15564. "description": "数量",
  15565. "type": "integer"
  15566. },
  15567. "time": {
  15568. "description": "时间",
  15569. "type": "string"
  15570. },
  15571. "trademode": {
  15572. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15573. "type": "integer"
  15574. },
  15575. "vendorname": {
  15576. "description": "供应商名称",
  15577. "type": "string"
  15578. }
  15579. }
  15580. },
  15581. "models.HsbyTopGoods": {
  15582. "type": "object",
  15583. "required": [
  15584. "goodscode",
  15585. "goodsid",
  15586. "goodsname",
  15587. "marketid",
  15588. "trademode"
  15589. ],
  15590. "properties": {
  15591. "agreeunit": {
  15592. "description": "合约单位",
  15593. "type": "number"
  15594. },
  15595. "currency": {
  15596. "description": "货币",
  15597. "type": "string"
  15598. },
  15599. "currencysign": {
  15600. "description": "货币符号",
  15601. "type": "string"
  15602. },
  15603. "decimalplace": {
  15604. "description": "报价小数位",
  15605. "type": "integer"
  15606. },
  15607. "desccityid": {
  15608. "description": "目的地(市)",
  15609. "type": "integer"
  15610. },
  15611. "descprovinceid": {
  15612. "description": "目的地(省)",
  15613. "type": "integer"
  15614. },
  15615. "goodscode": {
  15616. "description": "商品代码(内部)",
  15617. "type": "string"
  15618. },
  15619. "goodsid": {
  15620. "description": "商品ID(自增ID SEQ_GOODS)",
  15621. "type": "integer"
  15622. },
  15623. "goodsname": {
  15624. "description": "商品名称",
  15625. "type": "string"
  15626. },
  15627. "hotindex": {
  15628. "description": "景点热度",
  15629. "type": "integer"
  15630. },
  15631. "last": {
  15632. "description": "现价",
  15633. "type": "number"
  15634. },
  15635. "marketid": {
  15636. "description": "所属市场ID",
  15637. "type": "integer"
  15638. },
  15639. "picurls": {
  15640. "description": "介绍图片[多张用逗号分隔]",
  15641. "type": "string"
  15642. },
  15643. "quoteminunit": {
  15644. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15645. "type": "integer"
  15646. },
  15647. "trademode": {
  15648. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15649. "type": "integer"
  15650. },
  15651. "videourls": {
  15652. "description": "介绍视频[多张用逗号分隔]",
  15653. "type": "string"
  15654. }
  15655. }
  15656. },
  15657. "models.HybsMyBuyOrderDetail": {
  15658. "type": "object",
  15659. "required": [
  15660. "accountid",
  15661. "buyorsell",
  15662. "goodscode",
  15663. "goodsid",
  15664. "goodsname",
  15665. "marketid",
  15666. "orderid",
  15667. "orderqty",
  15668. "ordertime",
  15669. "trademode"
  15670. ],
  15671. "properties": {
  15672. "accountid": {
  15673. "description": "账户ID[报价币种]",
  15674. "type": "integer"
  15675. },
  15676. "agreeunit": {
  15677. "description": "合约单位",
  15678. "type": "number"
  15679. },
  15680. "buyorsell": {
  15681. "description": "买卖 - 0:买 1:卖",
  15682. "type": "integer"
  15683. },
  15684. "cancelqty": {
  15685. "description": "撤单数量",
  15686. "type": "integer"
  15687. },
  15688. "currencysign": {
  15689. "description": "货币符号",
  15690. "type": "string"
  15691. },
  15692. "decimalplace": {
  15693. "description": "报价小数位",
  15694. "type": "integer"
  15695. },
  15696. "goodscode": {
  15697. "description": "商品代码(内部)",
  15698. "type": "string"
  15699. },
  15700. "goodsid": {
  15701. "description": "商品ID",
  15702. "type": "integer"
  15703. },
  15704. "goodsname": {
  15705. "description": "商品名称",
  15706. "type": "string"
  15707. },
  15708. "listingselecttype": {
  15709. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15710. "type": "integer"
  15711. },
  15712. "marketid": {
  15713. "description": "市场ID",
  15714. "type": "integer"
  15715. },
  15716. "mybuystatus": {
  15717. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  15718. "type": "integer"
  15719. },
  15720. "orderamount": {
  15721. "description": "委托金额",
  15722. "type": "number"
  15723. },
  15724. "orderid": {
  15725. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15726. "type": "string"
  15727. },
  15728. "orderprice": {
  15729. "description": "委托价格",
  15730. "type": "number"
  15731. },
  15732. "orderqty": {
  15733. "description": "委托数量",
  15734. "type": "integer"
  15735. },
  15736. "orderstatus": {
  15737. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15738. "type": "integer"
  15739. },
  15740. "ordertime": {
  15741. "description": "委托时间",
  15742. "type": "string"
  15743. },
  15744. "picurls1": {
  15745. "description": "预售商品介绍图片[多张用逗号分隔]",
  15746. "type": "string"
  15747. },
  15748. "picurls2": {
  15749. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  15750. "type": "string"
  15751. },
  15752. "trademode": {
  15753. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15754. "type": "integer"
  15755. },
  15756. "tradeqty": {
  15757. "description": "成交数量",
  15758. "type": "integer"
  15759. },
  15760. "vendorname1": {
  15761. "description": "预售商品供应商名称",
  15762. "type": "string"
  15763. },
  15764. "vendorname2": {
  15765. "description": "挂牌商品供应商名称",
  15766. "type": "string"
  15767. }
  15768. }
  15769. },
  15770. "models.Loginaccount": {
  15771. "type": "object",
  15772. "required": [
  15773. "loginid"
  15774. ],
  15775. "properties": {
  15776. "canoutin": {
  15777. "description": "是否可出入金 - 0:不可 1:可",
  15778. "type": "integer"
  15779. },
  15780. "clientroleid": {
  15781. "description": "终端角色ID",
  15782. "type": "integer"
  15783. },
  15784. "haslogined": {
  15785. "description": "是否已登录 - 0:未登录 1:已登录",
  15786. "type": "integer"
  15787. },
  15788. "hasupdatedpwd": {
  15789. "description": "是否已更改密码 - 0:未修改 1:已修改",
  15790. "type": "integer"
  15791. },
  15792. "lastloginip": {
  15793. "description": "最新登录地址",
  15794. "type": "string"
  15795. },
  15796. "lastloginmode": {
  15797. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15798. "type": "integer"
  15799. },
  15800. "lastloginremark": {
  15801. "description": "最新登录描述",
  15802. "type": "string"
  15803. },
  15804. "lastlogintime": {
  15805. "description": "最新登录时间",
  15806. "type": "string"
  15807. },
  15808. "logincode": {
  15809. "description": "登录代码",
  15810. "type": "string"
  15811. },
  15812. "loginfailnum": {
  15813. "description": "连续登录失败次数(登录成功时清零)",
  15814. "type": "integer"
  15815. },
  15816. "loginid": {
  15817. "description": "登陆账号",
  15818. "type": "integer"
  15819. },
  15820. "loginport": {
  15821. "description": "最新登录端口",
  15822. "type": "integer"
  15823. },
  15824. "loginstatus": {
  15825. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  15826. "type": "integer"
  15827. },
  15828. "loginusertype": {
  15829. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  15830. "type": "integer"
  15831. },
  15832. "modifierid": {
  15833. "description": "修改人",
  15834. "type": "integer"
  15835. },
  15836. "modifytime": {
  15837. "description": "修改时间",
  15838. "type": "string"
  15839. },
  15840. "pwdwrongcount": {
  15841. "description": "密码错误次数",
  15842. "type": "integer"
  15843. },
  15844. "taaccountrighttype": {
  15845. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  15846. "type": "integer"
  15847. },
  15848. "unfreezetime": {
  15849. "description": "账户解冻时间",
  15850. "type": "string"
  15851. },
  15852. "userid": {
  15853. "description": "用户ID",
  15854. "type": "integer"
  15855. }
  15856. }
  15857. },
  15858. "models.Market": {
  15859. "type": "object",
  15860. "required": [
  15861. "marketid",
  15862. "marketstatus",
  15863. "openmethod",
  15864. "reckonpricealgorithm",
  15865. "trademode",
  15866. "tradeproperty"
  15867. ],
  15868. "properties": {
  15869. "auctionwrtype": {
  15870. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  15871. "type": "integer"
  15872. },
  15873. "canacceptquote": {
  15874. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  15875. "type": "integer"
  15876. },
  15877. "cangoodsexercise": {
  15878. "description": "[期权]是否可现货行权- 0:否 1:是",
  15879. "type": "integer"
  15880. },
  15881. "cangoodsexercisetype": {
  15882. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  15883. "type": "integer"
  15884. },
  15885. "canmanualquotestrike": {
  15886. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  15887. "type": "integer"
  15888. },
  15889. "canmutistage": {
  15890. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  15891. "type": "integer"
  15892. },
  15893. "canpreexercise": {
  15894. "description": "[期权]是否可预申报- 0:否 1:是",
  15895. "type": "integer"
  15896. },
  15897. "clearinterval": {
  15898. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  15899. "type": "integer"
  15900. },
  15901. "contracttmp": {
  15902. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  15903. "type": "string"
  15904. },
  15905. "exchareaid": {
  15906. "description": "所属交易所,可以没有",
  15907. "type": "integer"
  15908. },
  15909. "goodstype": {
  15910. "description": "商品类型 - 1:交易商品 2:仓单商品",
  15911. "type": "integer"
  15912. },
  15913. "hasrebate": {
  15914. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  15915. "type": "integer"
  15916. },
  15917. "hastradecredit": {
  15918. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  15919. "type": "integer"
  15920. },
  15921. "haswr": {
  15922. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  15923. "type": "integer"
  15924. },
  15925. "isdeductmargin": {
  15926. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  15927. "type": "integer"
  15928. },
  15929. "isrecordsource": {
  15930. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  15931. "type": "integer"
  15932. },
  15933. "isreleasemargin": {
  15934. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  15935. "type": "integer"
  15936. },
  15937. "marginformula": {
  15938. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  15939. "type": "integer"
  15940. },
  15941. "marginformula2": {
  15942. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  15943. "type": "integer"
  15944. },
  15945. "marketid": {
  15946. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  15947. "type": "integer"
  15948. },
  15949. "marketname": {
  15950. "description": "市场名称",
  15951. "type": "string"
  15952. },
  15953. "marketserviceid": {
  15954. "description": "市场服务ID",
  15955. "type": "integer"
  15956. },
  15957. "marketstatus": {
  15958. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  15959. "type": "integer"
  15960. },
  15961. "markettype": {
  15962. "description": "市场类型- 1:非交易服务 2:交易服务",
  15963. "type": "integer"
  15964. },
  15965. "matchermode": {
  15966. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  15967. "type": "integer"
  15968. },
  15969. "openmethod": {
  15970. "description": "开盘模式 - 0 自动 1手动",
  15971. "type": "integer"
  15972. },
  15973. "otcuserid": {
  15974. "description": "场外期权做市商[场外期权]",
  15975. "type": "integer"
  15976. },
  15977. "outersynctime": {
  15978. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  15979. "type": "string"
  15980. },
  15981. "pendingflag": {
  15982. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  15983. "type": "integer"
  15984. },
  15985. "pendingtime": {
  15986. "description": "待开市时间[通道交易-对冲](HH:mm)",
  15987. "type": "string"
  15988. },
  15989. "performancetempid": {
  15990. "description": "履约计划模板ID - 作废",
  15991. "type": "integer"
  15992. },
  15993. "premiumquotemode": {
  15994. "description": "权利金报价方式 - 1:自动 2:手动",
  15995. "type": "integer"
  15996. },
  15997. "rebateratio": {
  15998. "description": "返利比率[竞价式]",
  15999. "type": "number"
  16000. },
  16001. "reckonorder": {
  16002. "description": "结算顺序",
  16003. "type": "integer"
  16004. },
  16005. "reckonpricealgorithm": {
  16006. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  16007. "type": "integer"
  16008. },
  16009. "reckonpriceparam": {
  16010. "description": "结算价参数",
  16011. "type": "integer"
  16012. },
  16013. "reckontime": {
  16014. "description": "结算时间[通道交易-对冲](HH:mm)",
  16015. "type": "string"
  16016. },
  16017. "roleprioritytype": {
  16018. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  16019. "type": "integer"
  16020. },
  16021. "selllistingauditflag": {
  16022. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  16023. "type": "integer"
  16024. },
  16025. "trademarkettype": {
  16026. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  16027. "type": "integer"
  16028. },
  16029. "trademode": {
  16030. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16031. "type": "integer"
  16032. },
  16033. "tradeproperty": {
  16034. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  16035. "type": "integer"
  16036. },
  16037. "tradetype": {
  16038. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  16039. "type": "integer"
  16040. }
  16041. }
  16042. },
  16043. "models.Marketrun": {
  16044. "type": "object",
  16045. "required": [
  16046. "marketid",
  16047. "nexttradedate",
  16048. "reckonflag",
  16049. "runstatus",
  16050. "tradedate",
  16051. "tradedate2"
  16052. ],
  16053. "properties": {
  16054. "afternexttradedate": {
  16055. "description": "下下交易日",
  16056. "type": "string"
  16057. },
  16058. "clearquoteflag": {
  16059. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  16060. "type": "integer"
  16061. },
  16062. "lastreckondate": {
  16063. "description": "最新交易日(结算成功)",
  16064. "type": "string"
  16065. },
  16066. "machinedate": {
  16067. "description": "机器时间",
  16068. "type": "string"
  16069. },
  16070. "manualflag": {
  16071. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  16072. "type": "integer"
  16073. },
  16074. "marketid": {
  16075. "description": "市场ID",
  16076. "type": "integer"
  16077. },
  16078. "nexttradedate": {
  16079. "description": "下一交易日",
  16080. "type": "string"
  16081. },
  16082. "pretradedate": {
  16083. "description": "上一交易日",
  16084. "type": "string"
  16085. },
  16086. "reckonflag": {
  16087. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  16088. "type": "integer"
  16089. },
  16090. "runstatus": {
  16091. "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.今日免清算",
  16092. "type": "integer"
  16093. },
  16094. "sectionid": {
  16095. "description": "时间段号[多时段时用]",
  16096. "type": "integer"
  16097. },
  16098. "tradedate": {
  16099. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  16100. "type": "string"
  16101. },
  16102. "tradedate2": {
  16103. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  16104. "type": "string"
  16105. },
  16106. "updatetime": {
  16107. "description": "更新时间",
  16108. "type": "string"
  16109. }
  16110. }
  16111. },
  16112. "models.Messageboard": {
  16113. "type": "object",
  16114. "required": [
  16115. "messageboardid"
  16116. ],
  16117. "properties": {
  16118. "contactnum": {
  16119. "description": "联系电话",
  16120. "type": "string"
  16121. },
  16122. "createtime": {
  16123. "description": "创建时间",
  16124. "type": "string"
  16125. },
  16126. "message": {
  16127. "description": "留言信息",
  16128. "type": "string"
  16129. },
  16130. "messageboardid": {
  16131. "description": "留言簿ID(SEQ_MessageBoard)",
  16132. "type": "integer"
  16133. },
  16134. "userid": {
  16135. "description": "用户ID",
  16136. "type": "integer"
  16137. }
  16138. }
  16139. },
  16140. "models.MyCoupon": {
  16141. "type": "object",
  16142. "required": [
  16143. "accountid",
  16144. "coupontypeid"
  16145. ],
  16146. "properties": {
  16147. "accountid": {
  16148. "description": "资金账户ID",
  16149. "type": "integer"
  16150. },
  16151. "areauserid": {
  16152. "description": "所属机构",
  16153. "type": "integer"
  16154. },
  16155. "conditionvalue": {
  16156. "description": "条件阈值(可为0)",
  16157. "type": "number"
  16158. },
  16159. "couponcategroy": {
  16160. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  16161. "type": "integer"
  16162. },
  16163. "couponname": {
  16164. "description": "优惠券名称",
  16165. "type": "string"
  16166. },
  16167. "coupontypeid": {
  16168. "description": "优惠券类型ID",
  16169. "type": "string"
  16170. },
  16171. "couponvalue": {
  16172. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  16173. "type": "number"
  16174. },
  16175. "curfreezeqty": {
  16176. "description": "期末冻结数量",
  16177. "type": "integer"
  16178. },
  16179. "curqty": {
  16180. "description": "期末数量",
  16181. "type": "integer"
  16182. },
  16183. "isgeneral": {
  16184. "description": "是否通用券 - 0:否 1:是",
  16185. "type": "integer"
  16186. },
  16187. "isunusable": {
  16188. "description": "是否不可用",
  16189. "type": "boolean"
  16190. },
  16191. "limitedflag": {
  16192. "description": "是否指定商品 - 0:不限 1:限制",
  16193. "type": "integer"
  16194. },
  16195. "limitedgoodsids": {
  16196. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  16197. "type": "string"
  16198. },
  16199. "orifreezeqty": {
  16200. "description": "期初冻结数量",
  16201. "type": "integer"
  16202. },
  16203. "oriqty": {
  16204. "description": "期初数量",
  16205. "type": "integer"
  16206. },
  16207. "reasontype": {
  16208. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  16209. "type": "integer"
  16210. },
  16211. "todaydecrease": {
  16212. "description": "今日减少",
  16213. "type": "integer"
  16214. },
  16215. "todayincrease": {
  16216. "description": "今日增加",
  16217. "type": "integer"
  16218. },
  16219. "userid": {
  16220. "description": "用户ID",
  16221. "type": "integer"
  16222. },
  16223. "userscope": {
  16224. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  16225. "type": "string"
  16226. }
  16227. }
  16228. },
  16229. "models.MyCouponHold": {
  16230. "type": "object",
  16231. "required": [
  16232. "couponholdid"
  16233. ],
  16234. "properties": {
  16235. "accountid": {
  16236. "description": "资金账户ID",
  16237. "type": "integer"
  16238. },
  16239. "conditionvalue": {
  16240. "description": "条件阈值(可为0)",
  16241. "type": "number"
  16242. },
  16243. "couponcategroy": {
  16244. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  16245. "type": "integer"
  16246. },
  16247. "couponholdid": {
  16248. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  16249. "type": "string"
  16250. },
  16251. "couponname": {
  16252. "description": "优惠券名称",
  16253. "type": "string"
  16254. },
  16255. "coupontypeid": {
  16256. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  16257. "type": "string"
  16258. },
  16259. "couponvalue": {
  16260. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  16261. "type": "number"
  16262. },
  16263. "createtime": {
  16264. "description": "创建时间",
  16265. "type": "string"
  16266. },
  16267. "enddate": {
  16268. "description": "结束日期",
  16269. "type": "string"
  16270. },
  16271. "giveapplyid": {
  16272. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  16273. "type": "integer"
  16274. },
  16275. "holdstatus": {
  16276. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  16277. "type": "integer"
  16278. },
  16279. "isgeneral": {
  16280. "description": "是否通用券 - 0:否 1:是",
  16281. "type": "integer"
  16282. },
  16283. "limitedflag": {
  16284. "description": "是否指定商品 - 0:不限 1:限制",
  16285. "type": "integer"
  16286. },
  16287. "limitedgoodsids": {
  16288. "description": "指定商品IDs[逗号分隔]",
  16289. "type": "string"
  16290. },
  16291. "qty": {
  16292. "description": "数量(按1平铺)",
  16293. "type": "integer"
  16294. },
  16295. "startdate": {
  16296. "description": "开始日期",
  16297. "type": "string"
  16298. },
  16299. "userid": {
  16300. "description": "用户ID",
  16301. "type": "integer"
  16302. },
  16303. "userscope": {
  16304. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  16305. "type": "string"
  16306. }
  16307. }
  16308. },
  16309. "models.MyUsedCoupon": {
  16310. "type": "object",
  16311. "required": [
  16312. "coupontypeid",
  16313. "orderid"
  16314. ],
  16315. "properties": {
  16316. "accountid": {
  16317. "description": "资金账户ID(买方)",
  16318. "type": "integer"
  16319. },
  16320. "conditionvalue": {
  16321. "description": "条件阈值(可为0)",
  16322. "type": "number"
  16323. },
  16324. "couponcategroy": {
  16325. "description": "种类 - 1:现金券 2:折扣券",
  16326. "type": "integer"
  16327. },
  16328. "couponname": {
  16329. "description": "优惠券名称",
  16330. "type": "string"
  16331. },
  16332. "coupontypeid": {
  16333. "description": "优惠券类型ID(买方)",
  16334. "type": "string"
  16335. },
  16336. "couponvalue": {
  16337. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  16338. "type": "number"
  16339. },
  16340. "createtime": {
  16341. "description": "创建时间",
  16342. "type": "string"
  16343. },
  16344. "goodsid": {
  16345. "description": "商品ID",
  16346. "type": "integer"
  16347. },
  16348. "handlestatus": {
  16349. "description": "处理状态",
  16350. "type": "integer"
  16351. },
  16352. "marketid": {
  16353. "description": "市场ID",
  16354. "type": "integer"
  16355. },
  16356. "offamount": {
  16357. "description": "优惠金额",
  16358. "type": "number"
  16359. },
  16360. "orderid": {
  16361. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16362. "type": "string"
  16363. },
  16364. "sellaccountid": {
  16365. "description": "资金账户ID(卖方)",
  16366. "type": "integer"
  16367. },
  16368. "tradeamount": {
  16369. "description": "成交金额",
  16370. "type": "number"
  16371. },
  16372. "tradeid": {
  16373. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16374. "type": "string"
  16375. },
  16376. "usedqty": {
  16377. "description": "使用数量",
  16378. "type": "integer"
  16379. }
  16380. }
  16381. },
  16382. "models.OperationPrimaryMenu": {
  16383. "type": "object",
  16384. "properties": {
  16385. "Children": {
  16386. "description": "二级功能菜单",
  16387. "type": "array",
  16388. "items": {
  16389. "$ref": "#/definitions/models.OperationSecondaryMenu"
  16390. }
  16391. },
  16392. "Key": {
  16393. "description": "菜单KEY",
  16394. "type": "string"
  16395. },
  16396. "Label": {
  16397. "description": "菜单标题",
  16398. "type": "string"
  16399. }
  16400. }
  16401. },
  16402. "models.OperationSecondaryMenu": {
  16403. "type": "object",
  16404. "properties": {
  16405. "Key": {
  16406. "description": "菜单KEY",
  16407. "type": "string"
  16408. },
  16409. "Label": {
  16410. "description": "菜单标题",
  16411. "type": "string"
  16412. },
  16413. "TabList": {
  16414. "description": "三级功能菜单",
  16415. "type": "array",
  16416. "items": {
  16417. "$ref": "#/definitions/models.OperationTabMenu"
  16418. }
  16419. }
  16420. }
  16421. },
  16422. "models.OperationTabMenu": {
  16423. "type": "object",
  16424. "properties": {
  16425. "Key": {
  16426. "description": "菜单KEY",
  16427. "type": "string"
  16428. },
  16429. "Label": {
  16430. "description": "菜单标题",
  16431. "type": "string"
  16432. }
  16433. }
  16434. },
  16435. "models.QueryErrorInfosRsp": {
  16436. "type": "object",
  16437. "required": [
  16438. "errorid"
  16439. ],
  16440. "properties": {
  16441. "description": {
  16442. "description": "异常描述",
  16443. "type": "string"
  16444. },
  16445. "errorcode": {
  16446. "description": "异常代码",
  16447. "type": "string"
  16448. },
  16449. "errorid": {
  16450. "description": "异常ID",
  16451. "type": "integer"
  16452. },
  16453. "modulecode": {
  16454. "description": "所属模块",
  16455. "type": "string"
  16456. },
  16457. "operatecode": {
  16458. "description": "所属操作",
  16459. "type": "string"
  16460. },
  16461. "rownumber": {
  16462. "description": "行号",
  16463. "type": "string"
  16464. }
  16465. }
  16466. },
  16467. "models.QueryHedgeOrderDetailRsp": {
  16468. "type": "object",
  16469. "properties": {
  16470. "accountid": {
  16471. "description": "账户ID",
  16472. "type": "integer"
  16473. },
  16474. "buyorsell": {
  16475. "description": "买卖 - 0:买 1:卖",
  16476. "type": "integer"
  16477. },
  16478. "cancellogincode": {
  16479. "description": "撤单人",
  16480. "type": "string"
  16481. },
  16482. "channelbuildtype": {
  16483. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  16484. "type": "integer"
  16485. },
  16486. "channelinnerorderstatus": {
  16487. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  16488. "type": "integer"
  16489. },
  16490. "channeloperatetype": {
  16491. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  16492. "type": "integer"
  16493. },
  16494. "closetype": {
  16495. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16496. "type": "integer"
  16497. },
  16498. "curexchangerate": {
  16499. "description": "当前汇率",
  16500. "type": "number"
  16501. },
  16502. "exchangefullname": {
  16503. "description": "外部交易所全称",
  16504. "type": "string"
  16505. },
  16506. "goodscode": {
  16507. "description": "商品代码(内部)",
  16508. "type": "string"
  16509. },
  16510. "goodsid": {
  16511. "description": "商品ID",
  16512. "type": "integer"
  16513. },
  16514. "goodsname": {
  16515. "description": "商品名称",
  16516. "type": "string"
  16517. },
  16518. "marketid": {
  16519. "description": "市场ID",
  16520. "type": "integer"
  16521. },
  16522. "openfreezemargin": {
  16523. "description": "冻结保证金(冻结交易金额)",
  16524. "type": "number"
  16525. },
  16526. "orderid": {
  16527. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16528. "type": "string"
  16529. },
  16530. "orderlogincode": {
  16531. "description": "委托人",
  16532. "type": "string"
  16533. },
  16534. "orderprice": {
  16535. "description": "委托价格(账户)",
  16536. "type": "number"
  16537. },
  16538. "orderqty": {
  16539. "description": "委托数量",
  16540. "type": "integer"
  16541. },
  16542. "ordertime": {
  16543. "description": "委托时间",
  16544. "type": "string"
  16545. },
  16546. "pricemode": {
  16547. "description": "取价方式 - 1:市价 2: 限价",
  16548. "type": "integer"
  16549. },
  16550. "tradedate": {
  16551. "description": "交易日(yyyyMMdd)",
  16552. "type": "string"
  16553. },
  16554. "tradeqty": {
  16555. "description": "成交数量",
  16556. "type": "integer"
  16557. }
  16558. }
  16559. },
  16560. "models.QueryHedgeTradeDetailRsp": {
  16561. "type": "object",
  16562. "properties": {
  16563. "accountid": {
  16564. "description": "账号ID",
  16565. "type": "integer"
  16566. },
  16567. "buyorsell": {
  16568. "description": "方向 - 0:买 1:卖",
  16569. "type": "integer"
  16570. },
  16571. "channelbuildtype": {
  16572. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  16573. "type": "integer"
  16574. },
  16575. "closecharge": {
  16576. "description": "平仓手续费(账户)",
  16577. "type": "number"
  16578. },
  16579. "closecharge2": {
  16580. "description": "平仓手续费(商品)",
  16581. "type": "number"
  16582. },
  16583. "closetype": {
  16584. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16585. "type": "integer"
  16586. },
  16587. "curexchangerate": {
  16588. "description": "当前汇率",
  16589. "type": "number"
  16590. },
  16591. "exchangefullname": {
  16592. "description": "外部交易所全称",
  16593. "type": "string"
  16594. },
  16595. "goodscode": {
  16596. "description": "商品代码(内部)",
  16597. "type": "string"
  16598. },
  16599. "goodsid": {
  16600. "description": "商品ID",
  16601. "type": "integer"
  16602. },
  16603. "goodsname": {
  16604. "description": "商品名称",
  16605. "type": "string"
  16606. },
  16607. "marketid": {
  16608. "description": "市场ID",
  16609. "type": "integer"
  16610. },
  16611. "opencharge": {
  16612. "description": "建仓手续费(账户)",
  16613. "type": "number"
  16614. },
  16615. "opencharge2": {
  16616. "description": "建仓手续费(商品)",
  16617. "type": "number"
  16618. },
  16619. "orderid": {
  16620. "description": "委托单号",
  16621. "type": "string"
  16622. },
  16623. "orderlogincode": {
  16624. "description": "委托人",
  16625. "type": "string"
  16626. },
  16627. "tradeamount": {
  16628. "description": "成交金额(账户)",
  16629. "type": "number"
  16630. },
  16631. "tradedate": {
  16632. "description": "交易日(yyyyMMdd)",
  16633. "type": "string"
  16634. },
  16635. "tradeid": {
  16636. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16637. "type": "string"
  16638. },
  16639. "tradeprice": {
  16640. "description": "成交价格",
  16641. "type": "number"
  16642. },
  16643. "tradeqty": {
  16644. "description": "成交数量",
  16645. "type": "integer"
  16646. },
  16647. "tradetime": {
  16648. "description": "成交时间",
  16649. "type": "string"
  16650. },
  16651. "tradetype": {
  16652. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  16653. "type": "integer"
  16654. }
  16655. }
  16656. },
  16657. "models.QuotePrimaryMenu": {
  16658. "type": "object",
  16659. "properties": {
  16660. "Index": {
  16661. "description": "序号",
  16662. "type": "integer"
  16663. },
  16664. "Key": {
  16665. "description": "键名",
  16666. "type": "string"
  16667. },
  16668. "Name": {
  16669. "description": "菜单名称",
  16670. "type": "string"
  16671. },
  16672. "SubMenus": {
  16673. "description": "子菜单",
  16674. "type": "array",
  16675. "items": {
  16676. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  16677. }
  16678. },
  16679. "SubTitleType": {
  16680. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  16681. "type": "integer"
  16682. },
  16683. "TradeModes": {
  16684. "description": "包含市场交易类型",
  16685. "type": "string"
  16686. }
  16687. }
  16688. },
  16689. "models.QuoteSecondaryMenu": {
  16690. "type": "object",
  16691. "properties": {
  16692. "ExExchangeCode": {
  16693. "description": "外部交易所代码",
  16694. "type": "string"
  16695. },
  16696. "ExExchangeID": {
  16697. "description": "外部交易所ID",
  16698. "type": "integer"
  16699. },
  16700. "GoodsGroupIDs": {
  16701. "description": "商品组ID列表",
  16702. "type": "array",
  16703. "items": {
  16704. "type": "integer"
  16705. }
  16706. },
  16707. "Index": {
  16708. "description": "序号",
  16709. "type": "integer"
  16710. },
  16711. "MarketID": {
  16712. "description": "市场ID",
  16713. "type": "integer"
  16714. },
  16715. "MenuTitle": {
  16716. "description": "菜单标题(市场名称或外部交易所名称)",
  16717. "type": "string"
  16718. },
  16719. "TradeMode": {
  16720. "description": "交易模式",
  16721. "type": "integer"
  16722. }
  16723. }
  16724. },
  16725. "models.RelatedGoodsEx": {
  16726. "type": "object",
  16727. "properties": {
  16728. "goodscode": {
  16729. "description": "商品代码",
  16730. "type": "string"
  16731. },
  16732. "goodsid": {
  16733. "description": "商品id",
  16734. "type": "integer"
  16735. },
  16736. "goodsname": {
  16737. "description": "商品名称",
  16738. "type": "string"
  16739. }
  16740. }
  16741. },
  16742. "models.SearchGoods": {
  16743. "type": "object",
  16744. "required": [
  16745. "goodscode",
  16746. "goodsid",
  16747. "goodsname",
  16748. "marketid",
  16749. "trademode"
  16750. ],
  16751. "properties": {
  16752. "goodscode": {
  16753. "description": "商品代码(内部)",
  16754. "type": "string"
  16755. },
  16756. "goodsid": {
  16757. "description": "商品ID(自增ID SEQ_GOODS)",
  16758. "type": "integer"
  16759. },
  16760. "goodsname": {
  16761. "description": "商品名称",
  16762. "type": "string"
  16763. },
  16764. "marketid": {
  16765. "description": "所属市场ID",
  16766. "type": "integer"
  16767. },
  16768. "marketname": {
  16769. "description": "市场名称",
  16770. "type": "string"
  16771. },
  16772. "trademode": {
  16773. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16774. "type": "integer"
  16775. }
  16776. }
  16777. },
  16778. "models.Systemparam": {
  16779. "type": "object",
  16780. "required": [
  16781. "paramcode"
  16782. ],
  16783. "properties": {
  16784. "loginid": {
  16785. "description": "更新用户账号,登录账号",
  16786. "type": "string"
  16787. },
  16788. "modifyflag": {
  16789. "description": "修改标志0 不允许修改 1 允许修改",
  16790. "type": "integer"
  16791. },
  16792. "paramcode": {
  16793. "description": "参数代码",
  16794. "type": "string"
  16795. },
  16796. "paramname": {
  16797. "description": "参数名",
  16798. "type": "string"
  16799. },
  16800. "paramtype": {
  16801. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  16802. "type": "integer"
  16803. },
  16804. "paramvalue": {
  16805. "description": "参数值",
  16806. "type": "string"
  16807. },
  16808. "paramvalue2": {
  16809. "description": "参数值(CLOB)",
  16810. "type": "string"
  16811. },
  16812. "regexpress": {
  16813. "description": "正则表达式",
  16814. "type": "string"
  16815. },
  16816. "remark": {
  16817. "description": "备注",
  16818. "type": "string"
  16819. },
  16820. "serverip": {
  16821. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  16822. "type": "string"
  16823. },
  16824. "showflag": {
  16825. "description": "是否显示0 不显示 1 显示",
  16826. "type": "integer"
  16827. },
  16828. "updatetime": {
  16829. "description": "更新时间",
  16830. "type": "string"
  16831. },
  16832. "userid": {
  16833. "description": "更新用户ID",
  16834. "type": "integer"
  16835. }
  16836. }
  16837. },
  16838. "models.Szdz3convertconfig": {
  16839. "type": "object",
  16840. "required": [
  16841. "converttype",
  16842. "innergoodsid",
  16843. "outergoodscode"
  16844. ],
  16845. "properties": {
  16846. "canin": {
  16847. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  16848. "type": "integer"
  16849. },
  16850. "canout": {
  16851. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  16852. "type": "integer"
  16853. },
  16854. "converttype": {
  16855. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  16856. "type": "integer"
  16857. },
  16858. "createtime": {
  16859. "description": "创建时间",
  16860. "type": "string"
  16861. },
  16862. "creatorid": {
  16863. "description": "创建人",
  16864. "type": "integer"
  16865. },
  16866. "daymaxvalue": {
  16867. "description": "当日最大转入限制",
  16868. "type": "number"
  16869. },
  16870. "freezedays": {
  16871. "description": "冻结天数 [5:花生米转交易]",
  16872. "type": "integer"
  16873. },
  16874. "innergoodsid": {
  16875. "description": "内部商品ID[交易]",
  16876. "type": "integer"
  16877. },
  16878. "inratio": {
  16879. "description": "目标值",
  16880. "type": "integer"
  16881. },
  16882. "modifierid": {
  16883. "description": "修改人",
  16884. "type": "integer"
  16885. },
  16886. "modifytime": {
  16887. "description": "修改时间",
  16888. "type": "string"
  16889. },
  16890. "outergoodscode": {
  16891. "description": "外部商品代码[JD\\PD]",
  16892. "type": "string"
  16893. },
  16894. "outratio": {
  16895. "description": "源值",
  16896. "type": "integer"
  16897. },
  16898. "pddecimalplace": {
  16899. "description": "PD小数位",
  16900. "type": "integer"
  16901. },
  16902. "timemaxvalue": {
  16903. "description": "单次最大转入限制",
  16904. "type": "number"
  16905. },
  16906. "timeminvalue": {
  16907. "description": "单次最小转入限制",
  16908. "type": "number"
  16909. }
  16910. }
  16911. },
  16912. "models.Szdz3searchwhitelist": {
  16913. "type": "object",
  16914. "required": [
  16915. "userid"
  16916. ],
  16917. "properties": {
  16918. "createtime": {
  16919. "description": "创建时间",
  16920. "type": "string"
  16921. },
  16922. "creatorid": {
  16923. "description": "创建人",
  16924. "type": "integer"
  16925. },
  16926. "modifierid": {
  16927. "description": "修改人",
  16928. "type": "integer"
  16929. },
  16930. "modifytime": {
  16931. "description": "修改时间",
  16932. "type": "string"
  16933. },
  16934. "userid": {
  16935. "description": "用户ID",
  16936. "type": "integer"
  16937. }
  16938. }
  16939. },
  16940. "models.Taaccount": {
  16941. "type": "object",
  16942. "required": [
  16943. "accountid",
  16944. "userid"
  16945. ],
  16946. "properties": {
  16947. "accountflag": {
  16948. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  16949. "type": "integer"
  16950. },
  16951. "accountid": {
  16952. "description": "资金账户ID",
  16953. "type": "integer"
  16954. },
  16955. "accountname": {
  16956. "description": "账户名称",
  16957. "type": "string"
  16958. },
  16959. "balance": {
  16960. "description": "期初余额",
  16961. "type": "number"
  16962. },
  16963. "capitalbalance": {
  16964. "description": "本金余额[外部子账户实际出入金余额]",
  16965. "type": "number"
  16966. },
  16967. "changeflag": {
  16968. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  16969. "type": "integer"
  16970. },
  16971. "changetime": {
  16972. "description": "账户状态变更时间",
  16973. "type": "string"
  16974. },
  16975. "closepl": {
  16976. "description": "今日平仓盈亏",
  16977. "type": "number"
  16978. },
  16979. "creditdecrease": {
  16980. "description": "今日授信减少",
  16981. "type": "number"
  16982. },
  16983. "creditincrease": {
  16984. "description": "今日授信增加",
  16985. "type": "number"
  16986. },
  16987. "currencyid": {
  16988. "description": "货币ID",
  16989. "type": "integer"
  16990. },
  16991. "currentbalance": {
  16992. "description": "期末余额",
  16993. "type": "number"
  16994. },
  16995. "freezecharge": {
  16996. "description": "手续费冻结",
  16997. "type": "number"
  16998. },
  16999. "freezemargin": {
  17000. "description": "冻结保证金",
  17001. "type": "number"
  17002. },
  17003. "fromaccountid": {
  17004. "description": "所属上级账户",
  17005. "type": "integer"
  17006. },
  17007. "inamount": {
  17008. "description": "今日入金金额(包括三方入金)",
  17009. "type": "number"
  17010. },
  17011. "ismain": {
  17012. "description": "是否母账号 0:不是母账户 1:是母账户",
  17013. "type": "integer"
  17014. },
  17015. "ismarketaccount": {
  17016. "description": "是否机构接单账号 0:不是 1:是",
  17017. "type": "integer"
  17018. },
  17019. "isreckonaccount": {
  17020. "description": "是否机构分润账号 0:不是 1:是",
  17021. "type": "integer"
  17022. },
  17023. "mortgagecredit": {
  17024. "description": "授信金额",
  17025. "type": "number"
  17026. },
  17027. "orifreezecharge": {
  17028. "description": "期初手续费冻结",
  17029. "type": "number"
  17030. },
  17031. "orifreezemargin": {
  17032. "description": "期初冻结保证金",
  17033. "type": "number"
  17034. },
  17035. "orimortgagecredit": {
  17036. "description": "期初授信金额",
  17037. "type": "number"
  17038. },
  17039. "oriothercredit": {
  17040. "description": "期初其它授信金额",
  17041. "type": "number"
  17042. },
  17043. "oriotherfreezemargin": {
  17044. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  17045. "type": "number"
  17046. },
  17047. "orioutamountfreeze": {
  17048. "description": "期初出金冻结",
  17049. "type": "number"
  17050. },
  17051. "oriusedmargin": {
  17052. "description": "期初占用保证金",
  17053. "type": "number"
  17054. },
  17055. "othercredit": {
  17056. "description": "其它授信金额",
  17057. "type": "number"
  17058. },
  17059. "othercreditdecrease": {
  17060. "description": "今日其它授信减少",
  17061. "type": "number"
  17062. },
  17063. "othercreditincrease": {
  17064. "description": "今日其它授信增加",
  17065. "type": "number"
  17066. },
  17067. "otherfreezemargin": {
  17068. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  17069. "type": "number"
  17070. },
  17071. "otherincome": {
  17072. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  17073. "type": "number"
  17074. },
  17075. "otherpay": {
  17076. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  17077. "type": "number"
  17078. },
  17079. "outamount": {
  17080. "description": "今日出金金额(包括三方出金)",
  17081. "type": "number"
  17082. },
  17083. "outamountfreeze": {
  17084. "description": "出金冻结",
  17085. "type": "number"
  17086. },
  17087. "outthreshold": {
  17088. "description": "出金阈值",
  17089. "type": "number"
  17090. },
  17091. "parentaccountid": {
  17092. "description": "所属根账号",
  17093. "type": "integer"
  17094. },
  17095. "paycharge": {
  17096. "description": "今日手续费支出",
  17097. "type": "number"
  17098. },
  17099. "relatedaccountstatus": {
  17100. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  17101. "type": "integer"
  17102. },
  17103. "relateduserid": {
  17104. "description": "关联用户",
  17105. "type": "integer"
  17106. },
  17107. "serivcegroup": {
  17108. "description": "服务分组",
  17109. "type": "integer"
  17110. },
  17111. "signstatus": {
  17112. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  17113. "type": "integer"
  17114. },
  17115. "sublevelpath": {
  17116. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  17117. "type": "string"
  17118. },
  17119. "taaccounttype": {
  17120. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  17121. "type": "integer"
  17122. },
  17123. "thirdinamount": {
  17124. "description": "今日三方入金",
  17125. "type": "number"
  17126. },
  17127. "thirdoutamount": {
  17128. "description": "今日三方出金",
  17129. "type": "number"
  17130. },
  17131. "tradestatus": {
  17132. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17133. "type": "integer"
  17134. },
  17135. "tradestatuschangetime": {
  17136. "description": "激活时间",
  17137. "type": "string"
  17138. },
  17139. "transferamount": {
  17140. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  17141. "type": "number"
  17142. },
  17143. "usedmargin": {
  17144. "description": "占用保证金",
  17145. "type": "number"
  17146. },
  17147. "userid": {
  17148. "description": "用户ID",
  17149. "type": "integer"
  17150. }
  17151. }
  17152. },
  17153. "models.Tablecolumnconfig": {
  17154. "type": "object",
  17155. "required": [
  17156. "autoid"
  17157. ],
  17158. "properties": {
  17159. "aligntype": {
  17160. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  17161. "type": "integer"
  17162. },
  17163. "autoid": {
  17164. "description": "AutoID",
  17165. "type": "integer"
  17166. },
  17167. "columnfield": {
  17168. "description": "列字段",
  17169. "type": "string"
  17170. },
  17171. "columntitle": {
  17172. "description": "列Title",
  17173. "type": "string"
  17174. },
  17175. "columnwidth": {
  17176. "description": "列宽",
  17177. "type": "string"
  17178. },
  17179. "formatterstring": {
  17180. "description": "格式化字符",
  17181. "type": "string"
  17182. },
  17183. "formattertype": {
  17184. "description": "格式化类型",
  17185. "type": "string"
  17186. },
  17187. "groupname": {
  17188. "description": "表头分组名称",
  17189. "type": "string"
  17190. },
  17191. "isshow": {
  17192. "description": "是否显示 - 0:不显示 1:显示",
  17193. "type": "integer"
  17194. },
  17195. "needsummary": {
  17196. "description": "是否需要汇总 - 0:不需要 1:需要",
  17197. "type": "integer"
  17198. },
  17199. "orderindex": {
  17200. "description": "顺序",
  17201. "type": "integer"
  17202. },
  17203. "remark": {
  17204. "description": "备注",
  17205. "type": "string"
  17206. },
  17207. "summarytype": {
  17208. "description": "汇总类型 - 1:加总 2:最后一个",
  17209. "type": "integer"
  17210. },
  17211. "tablekey": {
  17212. "description": "列表Key",
  17213. "type": "string"
  17214. }
  17215. }
  17216. },
  17217. "models.Useraccount": {
  17218. "type": "object",
  17219. "required": [
  17220. "userid"
  17221. ],
  17222. "properties": {
  17223. "accountname": {
  17224. "description": "账户名称(机构名称)",
  17225. "type": "string"
  17226. },
  17227. "accountstatus": {
  17228. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17229. "type": "integer"
  17230. },
  17231. "auditremark": {
  17232. "description": "审核备注",
  17233. "type": "string"
  17234. },
  17235. "audittime": {
  17236. "description": "审核时间",
  17237. "type": "string"
  17238. },
  17239. "audituserid": {
  17240. "description": "审核人",
  17241. "type": "integer"
  17242. },
  17243. "broker": {
  17244. "description": "所属经纪人ID",
  17245. "type": "integer"
  17246. },
  17247. "canceltime": {
  17248. "description": "销户时间",
  17249. "type": "string"
  17250. },
  17251. "canceluserid": {
  17252. "description": "销户人",
  17253. "type": "integer"
  17254. },
  17255. "createtime": {
  17256. "description": "创建时间",
  17257. "type": "string"
  17258. },
  17259. "creatorid": {
  17260. "description": "创建人",
  17261. "type": "integer"
  17262. },
  17263. "hasauth": {
  17264. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  17265. "type": "integer"
  17266. },
  17267. "isanonymous": {
  17268. "description": "是否匿名下单 - 0:否 1:是",
  17269. "type": "integer"
  17270. },
  17271. "maxinvestornum": {
  17272. "description": "最大用户数(经纪会员下投资者个数)",
  17273. "type": "integer"
  17274. },
  17275. "memberuserid": {
  17276. "description": "所属会员ID",
  17277. "type": "integer"
  17278. },
  17279. "modifierid": {
  17280. "description": "修改人",
  17281. "type": "integer"
  17282. },
  17283. "modifyremark": {
  17284. "description": "变更备注",
  17285. "type": "string"
  17286. },
  17287. "modifystatus": {
  17288. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  17289. "type": "integer"
  17290. },
  17291. "modifytime": {
  17292. "description": "修改时间",
  17293. "type": "string"
  17294. },
  17295. "parentuserid": {
  17296. "description": "所属机构ID",
  17297. "type": "integer"
  17298. },
  17299. "reckonaccountid": {
  17300. "description": "默认结算资金账号ID(机构分润使用) 作废",
  17301. "type": "integer"
  17302. },
  17303. "refercount": {
  17304. "description": "推荐总人数",
  17305. "type": "integer"
  17306. },
  17307. "refereeuserid": {
  17308. "description": "推荐人ID",
  17309. "type": "integer"
  17310. },
  17311. "refernum": {
  17312. "description": "推荐码",
  17313. "type": "string"
  17314. },
  17315. "subarealevelpath": {
  17316. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  17317. "type": "string"
  17318. },
  17319. "userid": {
  17320. "description": "用户ID",
  17321. "type": "integer"
  17322. },
  17323. "usertype": {
  17324. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  17325. "type": "integer"
  17326. }
  17327. }
  17328. },
  17329. "models.Userfavoritegoods": {
  17330. "type": "object",
  17331. "required": [
  17332. "goodsid"
  17333. ],
  17334. "properties": {
  17335. "goodsid": {
  17336. "description": "商品ID",
  17337. "type": "integer"
  17338. }
  17339. }
  17340. },
  17341. "models.Userinfo": {
  17342. "type": "object",
  17343. "required": [
  17344. "userid"
  17345. ],
  17346. "properties": {
  17347. "address": {
  17348. "description": "地址",
  17349. "type": "string"
  17350. },
  17351. "attachment1": {
  17352. "description": "附件1",
  17353. "type": "string"
  17354. },
  17355. "attachment2": {
  17356. "description": "附件2",
  17357. "type": "string"
  17358. },
  17359. "bankaccount": {
  17360. "description": "银行帐号 (加密存储)",
  17361. "type": "string"
  17362. },
  17363. "bankaccountname": {
  17364. "description": "收款人名称",
  17365. "type": "string"
  17366. },
  17367. "bankcardfrontphotourl": {
  17368. "description": "银行卡正面照地址",
  17369. "type": "string"
  17370. },
  17371. "bankid": {
  17372. "description": "银行编码",
  17373. "type": "string"
  17374. },
  17375. "bankname": {
  17376. "description": "银行名称",
  17377. "type": "string"
  17378. },
  17379. "biznature": {
  17380. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17381. "type": "integer"
  17382. },
  17383. "bizscope": {
  17384. "description": "企业经营范围(企业)",
  17385. "type": "string"
  17386. },
  17387. "cardbackphotourl": {
  17388. "description": "证件背面图片地址",
  17389. "type": "string"
  17390. },
  17391. "cardfrontphotourl": {
  17392. "description": "证件正面图片地址",
  17393. "type": "string"
  17394. },
  17395. "cardnum": {
  17396. "description": "证件号码(加密存储)",
  17397. "type": "string"
  17398. },
  17399. "cardtypeid": {
  17400. "description": "证件类型ID",
  17401. "type": "integer"
  17402. },
  17403. "cityid": {
  17404. "description": "市",
  17405. "type": "integer"
  17406. },
  17407. "company": {
  17408. "description": "公司(个人)",
  17409. "type": "string"
  17410. },
  17411. "contactname": {
  17412. "description": "联系人",
  17413. "type": "string"
  17414. },
  17415. "countryid": {
  17416. "description": "国家",
  17417. "type": "integer"
  17418. },
  17419. "createtime": {
  17420. "description": "创建时间",
  17421. "type": "string"
  17422. },
  17423. "creatorid": {
  17424. "description": "创建人",
  17425. "type": "integer"
  17426. },
  17427. "customername": {
  17428. "description": "客户名称(企业名称)",
  17429. "type": "string"
  17430. },
  17431. "districtid": {
  17432. "description": "地区",
  17433. "type": "integer"
  17434. },
  17435. "email": {
  17436. "description": "邮件(加密存储)",
  17437. "type": "string"
  17438. },
  17439. "fax": {
  17440. "description": "传真(加密存储)",
  17441. "type": "string"
  17442. },
  17443. "halfbodyphotourl": {
  17444. "description": "半身照地址",
  17445. "type": "string"
  17446. },
  17447. "hasencrypt": {
  17448. "description": "数据是否已加密 - 0:未加密 1:已加密",
  17449. "type": "integer"
  17450. },
  17451. "headurl": {
  17452. "description": "头像地址",
  17453. "type": "string"
  17454. },
  17455. "legalcardbackphotourl": {
  17456. "description": "法人身份证背面照地址",
  17457. "type": "string"
  17458. },
  17459. "legalcardfrontphotourl": {
  17460. "description": "法人身份证正面照地址",
  17461. "type": "string"
  17462. },
  17463. "legalpersonname": {
  17464. "description": "法人姓名(企业)",
  17465. "type": "string"
  17466. },
  17467. "mobile": {
  17468. "description": "手机号码(加密存储)",
  17469. "type": "string"
  17470. },
  17471. "mobile2": {
  17472. "description": "手机号码[明文-尚志]",
  17473. "type": "string"
  17474. },
  17475. "modifierid": {
  17476. "description": "修改人",
  17477. "type": "integer"
  17478. },
  17479. "modifiertime": {
  17480. "description": "修改时间",
  17481. "type": "string"
  17482. },
  17483. "needinvoice": {
  17484. "description": "是否需要发票 - 0:不需要 1:需要",
  17485. "type": "integer"
  17486. },
  17487. "nickname": {
  17488. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  17489. "type": "string"
  17490. },
  17491. "openmode": {
  17492. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  17493. "type": "integer"
  17494. },
  17495. "otherurl": {
  17496. "description": "其它图片地址[使用分号分隔]",
  17497. "type": "string"
  17498. },
  17499. "postalcode": {
  17500. "description": "邮政编码",
  17501. "type": "string"
  17502. },
  17503. "provinceid": {
  17504. "description": "省",
  17505. "type": "integer"
  17506. },
  17507. "qq": {
  17508. "description": "QQ(加密存储",
  17509. "type": "string"
  17510. },
  17511. "remark": {
  17512. "description": "备注",
  17513. "type": "string"
  17514. },
  17515. "sex": {
  17516. "description": "用户性别 0: 女 1: 男",
  17517. "type": "integer"
  17518. },
  17519. "signpdfurl": {
  17520. "description": "签约pdf文件",
  17521. "type": "string"
  17522. },
  17523. "telphone": {
  17524. "description": "联系电话(加密存储)",
  17525. "type": "string"
  17526. },
  17527. "userid": {
  17528. "description": "用户ID",
  17529. "type": "integer"
  17530. },
  17531. "userinfotype": {
  17532. "description": "用户信息类型 - 1:个人 2:企业",
  17533. "type": "integer"
  17534. },
  17535. "userstatus": {
  17536. "description": "用户状态 - 1:正常 2:注销",
  17537. "type": "integer"
  17538. },
  17539. "usertype": {
  17540. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  17541. "type": "integer"
  17542. },
  17543. "wechat": {
  17544. "description": "微信(加密存储)",
  17545. "type": "string"
  17546. },
  17547. "wskhinfo": {
  17548. "description": "开户申请信息(JSON)",
  17549. "type": "string"
  17550. }
  17551. }
  17552. },
  17553. "models.WRCategoryTree": {
  17554. "type": "object",
  17555. "required": [
  17556. "categoryid"
  17557. ],
  17558. "properties": {
  17559. "areauserid": {
  17560. "description": "所属机构",
  17561. "type": "integer"
  17562. },
  17563. "categorydesc": {
  17564. "description": "类别描述",
  17565. "type": "string"
  17566. },
  17567. "categoryid": {
  17568. "description": "类别ID(SEQ_WRCATEGORY)",
  17569. "type": "integer"
  17570. },
  17571. "categoryname": {
  17572. "description": "类别名称",
  17573. "type": "string"
  17574. },
  17575. "iconurl": {
  17576. "description": "图标地址",
  17577. "type": "string"
  17578. },
  17579. "orderindex": {
  17580. "description": "顺序",
  17581. "type": "integer"
  17582. },
  17583. "parentcategoryid": {
  17584. "description": "父类别ID",
  17585. "type": "integer"
  17586. },
  17587. "subcategory": {
  17588. "description": "子分类",
  17589. "type": "array",
  17590. "items": {
  17591. "$ref": "#/definitions/models.WRCategoryTree"
  17592. }
  17593. }
  17594. }
  17595. },
  17596. "models.WRSConverTDetail": {
  17597. "type": "object",
  17598. "properties": {
  17599. "convertratio": {
  17600. "description": "套保系数",
  17601. "type": "number"
  17602. },
  17603. "deliverygoodsid": {
  17604. "description": "现货品种ID",
  17605. "type": "integer"
  17606. },
  17607. "middlegoodscode": {
  17608. "description": "套保品种代码",
  17609. "type": "string"
  17610. },
  17611. "middlegoodsid": {
  17612. "description": "套保品种ID",
  17613. "type": "integer"
  17614. },
  17615. "middlegoodsname": {
  17616. "description": "套保品种名称",
  17617. "type": "string"
  17618. },
  17619. "modifytime": {
  17620. "description": "修改时间",
  17621. "type": "string"
  17622. },
  17623. "wrstandardid": {
  17624. "description": "现货商品ID",
  17625. "type": "integer"
  17626. }
  17627. }
  17628. },
  17629. "models.WRStandardInfo": {
  17630. "type": "object",
  17631. "required": [
  17632. "wrstandardid"
  17633. ],
  17634. "properties": {
  17635. "createtime": {
  17636. "description": "创建时间",
  17637. "type": "string"
  17638. },
  17639. "creatorid": {
  17640. "description": "创建人",
  17641. "type": "integer"
  17642. },
  17643. "deliverygoodsid": {
  17644. "description": "品种ID",
  17645. "type": "integer"
  17646. },
  17647. "deliverygoodsname": {
  17648. "description": "交割商品名称",
  17649. "type": "string"
  17650. },
  17651. "factoryitemjson": {
  17652. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  17653. "type": "string"
  17654. },
  17655. "isvalid": {
  17656. "description": "是否有效 - 0:无效 1:有效",
  17657. "type": "integer"
  17658. },
  17659. "minivalue": {
  17660. "description": "最小变动值",
  17661. "type": "integer"
  17662. },
  17663. "minivaluedp": {
  17664. "description": "最小变动值小数位",
  17665. "type": "integer"
  17666. },
  17667. "realminivalue": {
  17668. "description": "实际最小变动值",
  17669. "type": "integer"
  17670. },
  17671. "realminivaluedp": {
  17672. "description": "实际最小变动值小数位",
  17673. "type": "integer"
  17674. },
  17675. "unitid": {
  17676. "description": "单位ID",
  17677. "type": "integer"
  17678. },
  17679. "unitname": {
  17680. "description": "单位",
  17681. "type": "string"
  17682. },
  17683. "updatetime": {
  17684. "description": "更新时间",
  17685. "type": "string"
  17686. },
  17687. "updatorid": {
  17688. "description": "更新人",
  17689. "type": "integer"
  17690. },
  17691. "wrsstatus": {
  17692. "description": "状态 - 作废 - 0:未激活 1:正常",
  17693. "type": "integer"
  17694. },
  17695. "wrstandardcode": {
  17696. "description": "仓单标准代码",
  17697. "type": "string"
  17698. },
  17699. "wrstandardid": {
  17700. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17701. "type": "integer"
  17702. },
  17703. "wrstandardname": {
  17704. "description": "仓单标准名称",
  17705. "type": "string"
  17706. }
  17707. }
  17708. },
  17709. "models.Warehouseinfo": {
  17710. "type": "object",
  17711. "required": [
  17712. "autoid",
  17713. "warehousecode"
  17714. ],
  17715. "properties": {
  17716. "address": {
  17717. "description": "详细地址",
  17718. "type": "string"
  17719. },
  17720. "areauserid": {
  17721. "description": "所属机构",
  17722. "type": "integer"
  17723. },
  17724. "autoid": {
  17725. "description": "自增ID",
  17726. "type": "integer"
  17727. },
  17728. "cityid": {
  17729. "description": "市",
  17730. "type": "integer"
  17731. },
  17732. "contactname": {
  17733. "description": "联系人",
  17734. "type": "string"
  17735. },
  17736. "contactnum": {
  17737. "description": "联系电话",
  17738. "type": "string"
  17739. },
  17740. "countryid": {
  17741. "description": "国家",
  17742. "type": "integer"
  17743. },
  17744. "createtime": {
  17745. "description": "创建时间",
  17746. "type": "string"
  17747. },
  17748. "districtid": {
  17749. "description": "区",
  17750. "type": "integer"
  17751. },
  17752. "hasvideo": {
  17753. "description": "是否有视频 - 0:无 1:有",
  17754. "type": "integer"
  17755. },
  17756. "provinceid": {
  17757. "description": "省",
  17758. "type": "integer"
  17759. },
  17760. "remark": {
  17761. "description": "审核备注",
  17762. "type": "string"
  17763. },
  17764. "videourl": {
  17765. "description": "视频地址",
  17766. "type": "string"
  17767. },
  17768. "warehousecode": {
  17769. "description": "仓库代码",
  17770. "type": "string"
  17771. },
  17772. "warehousename": {
  17773. "description": "仓库名称",
  17774. "type": "string"
  17775. },
  17776. "warehousestatus": {
  17777. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17778. "type": "integer"
  17779. },
  17780. "warehousetype": {
  17781. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17782. "type": "integer"
  17783. }
  17784. }
  17785. },
  17786. "order.QueryHisTradeDetailRsp": {
  17787. "type": "object",
  17788. "required": [
  17789. "accountid",
  17790. "buyorsell",
  17791. "goodsid",
  17792. "histradedate",
  17793. "marketid",
  17794. "memberuserid",
  17795. "orderid",
  17796. "tradeamount",
  17797. "tradedate",
  17798. "tradeid",
  17799. "tradeprice",
  17800. "tradeqty",
  17801. "tradetime"
  17802. ],
  17803. "properties": {
  17804. "accountid": {
  17805. "description": "账户ID[报价币种]",
  17806. "type": "integer"
  17807. },
  17808. "buildtype": {
  17809. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  17810. "type": "integer"
  17811. },
  17812. "buyorsell": {
  17813. "description": "方向 - 0:买 1:卖",
  17814. "type": "integer"
  17815. },
  17816. "charge": {
  17817. "description": "手续费",
  17818. "type": "number"
  17819. },
  17820. "closecharge": {
  17821. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17822. "type": "number"
  17823. },
  17824. "closeexchagechargevalue": {
  17825. "description": "平仓交易所手续费设置值",
  17826. "type": "number"
  17827. },
  17828. "closefeealgorithm": {
  17829. "description": "平仓手续费收取方式 1:比率 2:固定",
  17830. "type": "integer"
  17831. },
  17832. "closememberchargevalue": {
  17833. "description": "平仓会员手续费设置值",
  17834. "type": "number"
  17835. },
  17836. "closepl": {
  17837. "description": "平仓盈亏",
  17838. "type": "number"
  17839. },
  17840. "closepl2": {
  17841. "description": "平仓盈亏[逐笔]",
  17842. "type": "number"
  17843. },
  17844. "closeqty": {
  17845. "description": "平仓数量(先建后平操作 需要记录)",
  17846. "type": "integer"
  17847. },
  17848. "creditamount": {
  17849. "description": "授信金额",
  17850. "type": "number"
  17851. },
  17852. "gcaccountid": {
  17853. "description": "账户ID[合约币种]",
  17854. "type": "integer"
  17855. },
  17856. "goodscode": {
  17857. "description": "商品代码",
  17858. "type": "string"
  17859. },
  17860. "goodsid": {
  17861. "description": "商品ID",
  17862. "type": "integer"
  17863. },
  17864. "goodsname": {
  17865. "description": "商品名称",
  17866. "type": "string"
  17867. },
  17868. "histradedate": {
  17869. "description": "历史交易日",
  17870. "type": "string"
  17871. },
  17872. "intclosepl": {
  17873. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  17874. "type": "integer"
  17875. },
  17876. "isconfirmexercise": {
  17877. "description": "是否确认行权- 0:否 1:是",
  17878. "type": "integer"
  17879. },
  17880. "ismain": {
  17881. "description": "是否主单 - 0:不是 1:是",
  17882. "type": "integer"
  17883. },
  17884. "ispreexercise": {
  17885. "description": "是否预申报- 0:否 1:是",
  17886. "type": "integer"
  17887. },
  17888. "isreckoned": {
  17889. "description": "是否结算 - 0:未结算 1:已结算",
  17890. "type": "integer"
  17891. },
  17892. "isvaliddata": {
  17893. "description": "是否有效 - 0:无效 1:有效",
  17894. "type": "integer"
  17895. },
  17896. "listingselecttype": {
  17897. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17898. "type": "integer"
  17899. },
  17900. "marketid": {
  17901. "description": "市场ID",
  17902. "type": "integer"
  17903. },
  17904. "marketname": {
  17905. "description": "市场名称",
  17906. "type": "string"
  17907. },
  17908. "matchaccountid": {
  17909. "description": "对手账号id",
  17910. "type": "integer"
  17911. },
  17912. "memberuserid": {
  17913. "description": "会员id 个人投资者 需要填写",
  17914. "type": "integer"
  17915. },
  17916. "opencharge": {
  17917. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17918. "type": "number"
  17919. },
  17920. "openexchagechargevalue": {
  17921. "description": "建仓交易所手续费设置值",
  17922. "type": "number"
  17923. },
  17924. "openfeealgorithm": {
  17925. "description": "建仓手续费收取方式 1:比率 2:固定",
  17926. "type": "integer"
  17927. },
  17928. "openmemberchargevalue": {
  17929. "description": "建仓会员手续费设置值",
  17930. "type": "number"
  17931. },
  17932. "openqty": {
  17933. "description": "开仓数量(先建后平操作 需要记录)",
  17934. "type": "integer"
  17935. },
  17936. "optiontype": {
  17937. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17938. "type": "integer"
  17939. },
  17940. "orderid": {
  17941. "description": "委托单号",
  17942. "type": "string"
  17943. },
  17944. "performanceplanid": {
  17945. "description": "履约计划ID[期权]",
  17946. "type": "integer"
  17947. },
  17948. "performancestatus": {
  17949. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  17950. "type": "integer"
  17951. },
  17952. "preexerciseprice": {
  17953. "description": "预申报价格",
  17954. "type": "number"
  17955. },
  17956. "premium": {
  17957. "description": "权利金 - [持仓单的权利金]",
  17958. "type": "number"
  17959. },
  17960. "relatedouttradeid": {
  17961. "description": "关联外部成交单ID",
  17962. "type": "integer"
  17963. },
  17964. "status": {
  17965. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  17966. "type": "integer"
  17967. },
  17968. "tradeamount": {
  17969. "description": "成交金额[账户币种,用于所有权]",
  17970. "type": "number"
  17971. },
  17972. "tradedate": {
  17973. "description": "交易日(yyyyMMdd)",
  17974. "type": "string"
  17975. },
  17976. "tradeid": {
  17977. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17978. "type": "string"
  17979. },
  17980. "trademode": {
  17981. "description": "交易模式",
  17982. "type": "integer"
  17983. },
  17984. "tradeprice": {
  17985. "description": "成交价格",
  17986. "type": "number"
  17987. },
  17988. "tradeproperty": {
  17989. "description": "交易属性",
  17990. "type": "integer"
  17991. },
  17992. "tradeqty": {
  17993. "description": "成交数量",
  17994. "type": "integer"
  17995. },
  17996. "tradetime": {
  17997. "description": "成交时间",
  17998. "type": "string"
  17999. },
  18000. "tradetype": {
  18001. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  18002. "type": "integer"
  18003. }
  18004. }
  18005. },
  18006. "order.QueryHisTradeOrderDetailRsp": {
  18007. "type": "object",
  18008. "required": [
  18009. "accountid",
  18010. "buildtype",
  18011. "buyorsell",
  18012. "goodsid",
  18013. "histradedate",
  18014. "marketid",
  18015. "memberuserid",
  18016. "operatetype",
  18017. "orderid",
  18018. "orderqty",
  18019. "ordertime",
  18020. "pricemode",
  18021. "tradedate",
  18022. "validtype"
  18023. ],
  18024. "properties": {
  18025. "accountid": {
  18026. "description": "账户ID[报价币种]",
  18027. "type": "integer"
  18028. },
  18029. "buildtype": {
  18030. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  18031. "type": "integer"
  18032. },
  18033. "buyorsell": {
  18034. "description": "买卖 - 0:买 1:卖",
  18035. "type": "integer"
  18036. },
  18037. "cancelorderid": {
  18038. "description": "撤单单号(撤单时填写)",
  18039. "type": "string"
  18040. },
  18041. "cancelqty": {
  18042. "description": "撤单数量",
  18043. "type": "integer"
  18044. },
  18045. "clientordertime": {
  18046. "description": "客户端委托时间",
  18047. "type": "string"
  18048. },
  18049. "clientticket": {
  18050. "description": "客户端流水号",
  18051. "type": "string"
  18052. },
  18053. "clienttype": {
  18054. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18055. "type": "integer"
  18056. },
  18057. "closeexchagechargevalue": {
  18058. "description": "平仓交易所手续费设置值",
  18059. "type": "number"
  18060. },
  18061. "closefeealgorithm": {
  18062. "description": "平仓手续费收取方式 1:比率 2:固定",
  18063. "type": "integer"
  18064. },
  18065. "closefreezecharge": {
  18066. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  18067. "type": "number"
  18068. },
  18069. "closememberchargevalue": {
  18070. "description": "平仓会员手续费设置值",
  18071. "type": "number"
  18072. },
  18073. "closeqty": {
  18074. "description": "平仓数量(先建后平操作 需要记录)",
  18075. "type": "integer"
  18076. },
  18077. "closetradeqty": {
  18078. "description": "平仓成交数量(先建后平操作,需要记录)",
  18079. "type": "integer"
  18080. },
  18081. "closeunfreezecharge": {
  18082. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  18083. "type": "number"
  18084. },
  18085. "delistingtype": {
  18086. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  18087. "type": "integer"
  18088. },
  18089. "freezecharge": {
  18090. "description": "冻结手续费",
  18091. "type": "number"
  18092. },
  18093. "freezemargin": {
  18094. "description": "冻结保证金(冻结交易金额)",
  18095. "type": "number"
  18096. },
  18097. "gcaccountid": {
  18098. "description": "账户ID[合约币种]",
  18099. "type": "integer"
  18100. },
  18101. "goodscode": {
  18102. "description": "商品代码",
  18103. "type": "string"
  18104. },
  18105. "goodsid": {
  18106. "description": "商品ID",
  18107. "type": "integer"
  18108. },
  18109. "goodsname": {
  18110. "description": "商品名称",
  18111. "type": "string"
  18112. },
  18113. "histradedate": {
  18114. "description": "历史交易日",
  18115. "type": "string"
  18116. },
  18117. "isconfirmexercise": {
  18118. "description": "是否确认行权- 0:否 1:是",
  18119. "type": "integer"
  18120. },
  18121. "ispreexercise": {
  18122. "description": "是否预申报- 0:否 1:是",
  18123. "type": "integer"
  18124. },
  18125. "isvaliddata": {
  18126. "description": "是否有效 - 0:无效 1:有效",
  18127. "type": "integer"
  18128. },
  18129. "listingselecttype": {
  18130. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18131. "type": "integer"
  18132. },
  18133. "marginalgorithm": {
  18134. "description": "保证金收取方式 1:比率 2:固定",
  18135. "type": "integer"
  18136. },
  18137. "marginvalue": {
  18138. "description": "即市保证金设置值",
  18139. "type": "number"
  18140. },
  18141. "marketid": {
  18142. "description": "市场ID",
  18143. "type": "integer"
  18144. },
  18145. "marketmaxsub": {
  18146. "description": "市价最大偏移范围",
  18147. "type": "number"
  18148. },
  18149. "marketname": {
  18150. "description": "市场名称",
  18151. "type": "string"
  18152. },
  18153. "memberuserid": {
  18154. "description": "所属会员UserID",
  18155. "type": "integer"
  18156. },
  18157. "openexchagechargevalue": {
  18158. "description": "建仓交易所手续费设置值",
  18159. "type": "number"
  18160. },
  18161. "openfeealgorithm": {
  18162. "description": "建仓手续费收取方式 1:比率 2:固定",
  18163. "type": "integer"
  18164. },
  18165. "openfreezecharge": {
  18166. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  18167. "type": "number"
  18168. },
  18169. "openmemberchargevalue": {
  18170. "description": "建仓会员手续费设置值",
  18171. "type": "number"
  18172. },
  18173. "openqty": {
  18174. "description": "开仓数量(先建后平操作,需要记录)",
  18175. "type": "integer"
  18176. },
  18177. "opentradeqty": {
  18178. "description": "开仓成交数量(先建后平操作,需要记录)",
  18179. "type": "integer"
  18180. },
  18181. "openunfreezecharge": {
  18182. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18183. "type": "number"
  18184. },
  18185. "operatetype": {
  18186. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18187. "type": "integer"
  18188. },
  18189. "operatorid": {
  18190. "description": "登录账号(LoginID)",
  18191. "type": "integer"
  18192. },
  18193. "optiontype": {
  18194. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18195. "type": "integer"
  18196. },
  18197. "orderid": {
  18198. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18199. "type": "string"
  18200. },
  18201. "orderprice": {
  18202. "description": "委托价格",
  18203. "type": "number"
  18204. },
  18205. "orderqty": {
  18206. "description": "委托数量",
  18207. "type": "integer"
  18208. },
  18209. "ordersrc": {
  18210. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18211. "type": "integer"
  18212. },
  18213. "orderstatus": {
  18214. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18215. "type": "integer"
  18216. },
  18217. "ordertime": {
  18218. "description": "委托时间",
  18219. "type": "string"
  18220. },
  18221. "preexerciseprice": {
  18222. "description": "预申报价格",
  18223. "type": "number"
  18224. },
  18225. "premium": {
  18226. "description": "权利金",
  18227. "type": "number"
  18228. },
  18229. "preorderid": {
  18230. "description": "关联预埋单号(止盈止损单时填写)",
  18231. "type": "string"
  18232. },
  18233. "pricemode": {
  18234. "description": "取价方式 - 1:市价 2: 限价",
  18235. "type": "integer"
  18236. },
  18237. "quoteid": {
  18238. "description": "报价单ID",
  18239. "type": "integer"
  18240. },
  18241. "relatedid": {
  18242. "description": "关联单号(交割单)",
  18243. "type": "string"
  18244. },
  18245. "retcode": {
  18246. "description": "错误代码",
  18247. "type": "integer"
  18248. },
  18249. "sessionid": {
  18250. "description": "会话ID",
  18251. "type": "integer"
  18252. },
  18253. "tradedate": {
  18254. "description": "交易日(yyyyMMdd)",
  18255. "type": "string"
  18256. },
  18257. "trademode": {
  18258. "description": "交易模式",
  18259. "type": "integer"
  18260. },
  18261. "tradeproperty": {
  18262. "description": "交易属性",
  18263. "type": "integer"
  18264. },
  18265. "tradeqty": {
  18266. "description": "成交数量",
  18267. "type": "integer"
  18268. },
  18269. "unfreezecharge": {
  18270. "description": "解冻手续费",
  18271. "type": "number"
  18272. },
  18273. "unfreezemargin": {
  18274. "description": "解冻保证金",
  18275. "type": "number"
  18276. },
  18277. "updatetime": {
  18278. "description": "更新时间",
  18279. "type": "string"
  18280. },
  18281. "uuid": {
  18282. "description": "发起端唯一id",
  18283. "type": "string"
  18284. },
  18285. "validtime": {
  18286. "description": "有效期限",
  18287. "type": "string"
  18288. },
  18289. "validtype": {
  18290. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18291. "type": "integer"
  18292. },
  18293. "volumetype": {
  18294. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18295. "type": "integer"
  18296. }
  18297. }
  18298. },
  18299. "order.QueryTradeDetailRsp": {
  18300. "type": "object",
  18301. "required": [
  18302. "accountid",
  18303. "buyorsell",
  18304. "goodsid",
  18305. "marketid",
  18306. "memberuserid",
  18307. "orderid",
  18308. "tradeamount",
  18309. "tradedate",
  18310. "tradeid",
  18311. "tradeprice",
  18312. "tradeqty",
  18313. "tradetime"
  18314. ],
  18315. "properties": {
  18316. "accountid": {
  18317. "description": "账户ID[报价币种]",
  18318. "type": "integer"
  18319. },
  18320. "buildtype": {
  18321. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  18322. "type": "integer"
  18323. },
  18324. "buyorsell": {
  18325. "description": "方向 - 0:买 1:卖",
  18326. "type": "integer"
  18327. },
  18328. "charge": {
  18329. "description": "手续费",
  18330. "type": "number"
  18331. },
  18332. "closecharge": {
  18333. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18334. "type": "number"
  18335. },
  18336. "closeexchagechargevalue": {
  18337. "description": "平仓交易所手续费设置值",
  18338. "type": "number"
  18339. },
  18340. "closefeealgorithm": {
  18341. "description": "平仓手续费收取方式 1:比率 2:固定",
  18342. "type": "integer"
  18343. },
  18344. "closememberchargevalue": {
  18345. "description": "平仓会员手续费设置值",
  18346. "type": "number"
  18347. },
  18348. "closepl": {
  18349. "description": "平仓盈亏",
  18350. "type": "number"
  18351. },
  18352. "closepl2": {
  18353. "description": "平仓盈亏[逐笔]",
  18354. "type": "number"
  18355. },
  18356. "closeqty": {
  18357. "description": "平仓数量(先建后平操作 需要记录)",
  18358. "type": "integer"
  18359. },
  18360. "creditamount": {
  18361. "description": "授信金额",
  18362. "type": "number"
  18363. },
  18364. "gcaccountid": {
  18365. "description": "账户ID[合约币种]",
  18366. "type": "integer"
  18367. },
  18368. "goodscode": {
  18369. "description": "商品代码",
  18370. "type": "string"
  18371. },
  18372. "goodsid": {
  18373. "description": "商品ID",
  18374. "type": "integer"
  18375. },
  18376. "goodsname": {
  18377. "description": "商品名称",
  18378. "type": "string"
  18379. },
  18380. "intclosepl": {
  18381. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  18382. "type": "integer"
  18383. },
  18384. "isconfirmexercise": {
  18385. "description": "是否确认行权- 0:否 1:是",
  18386. "type": "integer"
  18387. },
  18388. "ismain": {
  18389. "description": "是否主单 - 0:不是 1:是",
  18390. "type": "integer"
  18391. },
  18392. "ispreexercise": {
  18393. "description": "是否预申报- 0:否 1:是",
  18394. "type": "integer"
  18395. },
  18396. "isreckoned": {
  18397. "description": "是否结算 - 0:未结算 1:已结算",
  18398. "type": "integer"
  18399. },
  18400. "listingselecttype": {
  18401. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18402. "type": "integer"
  18403. },
  18404. "marketid": {
  18405. "description": "市场ID",
  18406. "type": "integer"
  18407. },
  18408. "marketname": {
  18409. "description": "市场名称",
  18410. "type": "string"
  18411. },
  18412. "matchaccountid": {
  18413. "description": "对手账号id",
  18414. "type": "integer"
  18415. },
  18416. "memberuserid": {
  18417. "description": "会员id 个人投资者 需要填写",
  18418. "type": "integer"
  18419. },
  18420. "opencharge": {
  18421. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18422. "type": "number"
  18423. },
  18424. "openexchagechargevalue": {
  18425. "description": "建仓交易所手续费设置值",
  18426. "type": "number"
  18427. },
  18428. "openfeealgorithm": {
  18429. "description": "建仓手续费收取方式 1:比率 2:固定",
  18430. "type": "integer"
  18431. },
  18432. "openmemberchargevalue": {
  18433. "description": "建仓会员手续费设置值",
  18434. "type": "number"
  18435. },
  18436. "openqty": {
  18437. "description": "开仓数量(先建后平操作 需要记录)",
  18438. "type": "integer"
  18439. },
  18440. "optiontype": {
  18441. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18442. "type": "integer"
  18443. },
  18444. "orderid": {
  18445. "description": "委托单号",
  18446. "type": "string"
  18447. },
  18448. "performanceplanid": {
  18449. "description": "履约计划ID[期权]",
  18450. "type": "integer"
  18451. },
  18452. "performancestatus": {
  18453. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  18454. "type": "integer"
  18455. },
  18456. "preexerciseprice": {
  18457. "description": "预申报价格",
  18458. "type": "number"
  18459. },
  18460. "premium": {
  18461. "description": "权利金 - [持仓单的权利金]",
  18462. "type": "number"
  18463. },
  18464. "relatedouttradeid": {
  18465. "description": "关联外部成交单ID",
  18466. "type": "integer"
  18467. },
  18468. "status": {
  18469. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  18470. "type": "integer"
  18471. },
  18472. "tradeamount": {
  18473. "description": "成交金额[账户币种,用于所有权]",
  18474. "type": "number"
  18475. },
  18476. "tradedate": {
  18477. "description": "交易日(yyyyMMdd)",
  18478. "type": "string"
  18479. },
  18480. "tradeid": {
  18481. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18482. "type": "string"
  18483. },
  18484. "trademode": {
  18485. "description": "交易模式",
  18486. "type": "integer"
  18487. },
  18488. "tradeprice": {
  18489. "description": "成交价格",
  18490. "type": "number"
  18491. },
  18492. "tradeproperty": {
  18493. "description": "交易属性",
  18494. "type": "integer"
  18495. },
  18496. "tradeqty": {
  18497. "description": "成交数量",
  18498. "type": "integer"
  18499. },
  18500. "tradetime": {
  18501. "description": "成交时间",
  18502. "type": "string"
  18503. },
  18504. "tradetype": {
  18505. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  18506. "type": "integer"
  18507. }
  18508. }
  18509. },
  18510. "order.QueryTradeOrderDetailRsp": {
  18511. "type": "object",
  18512. "required": [
  18513. "accountid",
  18514. "buildtype",
  18515. "buyorsell",
  18516. "goodsid",
  18517. "marketid",
  18518. "operatetype",
  18519. "orderqty",
  18520. "ordertime",
  18521. "pricemode",
  18522. "tradedate",
  18523. "validtype"
  18524. ],
  18525. "properties": {
  18526. "accountid": {
  18527. "description": "账户ID[报价币种]",
  18528. "type": "integer"
  18529. },
  18530. "buildtype": {
  18531. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  18532. "type": "integer"
  18533. },
  18534. "buyorsell": {
  18535. "description": "买卖 - 0:买 1:卖",
  18536. "type": "integer"
  18537. },
  18538. "cancelorderid": {
  18539. "description": "撤单单号(撤单时填写)",
  18540. "type": "string"
  18541. },
  18542. "cancelqty": {
  18543. "description": "撤单数量",
  18544. "type": "integer"
  18545. },
  18546. "clienttype": {
  18547. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18548. "type": "integer"
  18549. },
  18550. "closefreezecharge": {
  18551. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  18552. "type": "number"
  18553. },
  18554. "closeqty": {
  18555. "description": "平仓数量(先建后平操作 需要记录)",
  18556. "type": "integer"
  18557. },
  18558. "closetradeqty": {
  18559. "description": "平仓成交数量(先建后平操作,需要记录)",
  18560. "type": "integer"
  18561. },
  18562. "closeunfreezecharge": {
  18563. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  18564. "type": "number"
  18565. },
  18566. "delistingtype": {
  18567. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  18568. "type": "integer"
  18569. },
  18570. "enableqty": {
  18571. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  18572. "type": "integer"
  18573. },
  18574. "freezecharge": {
  18575. "description": "冻结手续费",
  18576. "type": "number"
  18577. },
  18578. "freezemargin": {
  18579. "description": "冻结保证金(冻结交易金额)",
  18580. "type": "number"
  18581. },
  18582. "goodscode": {
  18583. "description": "商品代码",
  18584. "type": "string"
  18585. },
  18586. "goodsid": {
  18587. "description": "商品ID",
  18588. "type": "integer"
  18589. },
  18590. "goodsname": {
  18591. "description": "商品名称",
  18592. "type": "string"
  18593. },
  18594. "listingselecttype": {
  18595. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18596. "type": "integer"
  18597. },
  18598. "marketid": {
  18599. "description": "市场ID",
  18600. "type": "integer"
  18601. },
  18602. "marketname": {
  18603. "description": "市场名称",
  18604. "type": "string"
  18605. },
  18606. "openfreezecharge": {
  18607. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  18608. "type": "number"
  18609. },
  18610. "openqty": {
  18611. "description": "开仓数量(先建后平操作,需要记录)",
  18612. "type": "integer"
  18613. },
  18614. "opentradeqty": {
  18615. "description": "开仓成交数量(先建后平操作,需要记录)",
  18616. "type": "integer"
  18617. },
  18618. "openunfreezecharge": {
  18619. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18620. "type": "number"
  18621. },
  18622. "operatetype": {
  18623. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18624. "type": "integer"
  18625. },
  18626. "operatorid": {
  18627. "description": "登录账号(LoginID)",
  18628. "type": "integer"
  18629. },
  18630. "orderid": {
  18631. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18632. "type": "string"
  18633. },
  18634. "orderprice": {
  18635. "description": "委托价格",
  18636. "type": "number"
  18637. },
  18638. "orderqty": {
  18639. "description": "委托数量",
  18640. "type": "integer"
  18641. },
  18642. "ordersrc": {
  18643. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18644. "type": "integer"
  18645. },
  18646. "orderstatus": {
  18647. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18648. "type": "integer"
  18649. },
  18650. "ordertime": {
  18651. "description": "委托时间",
  18652. "type": "string"
  18653. },
  18654. "preorderid": {
  18655. "description": "关联预埋单号(止盈止损单时填写)",
  18656. "type": "string"
  18657. },
  18658. "pricemode": {
  18659. "description": "取价方式 - 1:市价 2: 限价",
  18660. "type": "integer"
  18661. },
  18662. "relatedid": {
  18663. "description": "关联单号(交割单)",
  18664. "type": "string"
  18665. },
  18666. "tradedate": {
  18667. "description": "交易日(yyyyMMdd)",
  18668. "type": "string"
  18669. },
  18670. "trademode": {
  18671. "description": "交易模式",
  18672. "type": "integer"
  18673. },
  18674. "tradeqty": {
  18675. "description": "成交数量",
  18676. "type": "integer"
  18677. },
  18678. "unfreezecharge": {
  18679. "description": "解冻手续费",
  18680. "type": "number"
  18681. },
  18682. "unfreezemargin": {
  18683. "description": "解冻保证金",
  18684. "type": "number"
  18685. },
  18686. "validtime": {
  18687. "description": "有效期限",
  18688. "type": "string"
  18689. },
  18690. "validtype": {
  18691. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18692. "type": "integer"
  18693. },
  18694. "volumetype": {
  18695. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18696. "type": "integer"
  18697. }
  18698. }
  18699. },
  18700. "order.QueryTradePositionRsp": {
  18701. "type": "object",
  18702. "required": [
  18703. "goodsid"
  18704. ],
  18705. "properties": {
  18706. "accountid": {
  18707. "description": "资金账户",
  18708. "type": "integer"
  18709. },
  18710. "agreeunit": {
  18711. "description": "合约单位",
  18712. "type": "number"
  18713. },
  18714. "averageprice": {
  18715. "description": "持仓均价",
  18716. "type": "number"
  18717. },
  18718. "buyorsell": {
  18719. "description": "方向 - 0:买 1:卖",
  18720. "type": "integer"
  18721. },
  18722. "closetotalqty": {
  18723. "description": "平仓总数量",
  18724. "type": "integer"
  18725. },
  18726. "curholderamount": {
  18727. "description": "当前持仓总金额[商品币种]",
  18728. "type": "number"
  18729. },
  18730. "curpositionqty": {
  18731. "description": "当前持仓总数量",
  18732. "type": "integer"
  18733. },
  18734. "currencyid": {
  18735. "description": "报价货币ID",
  18736. "type": "integer"
  18737. },
  18738. "curtdposition": {
  18739. "description": "期末今日头寸",
  18740. "type": "integer"
  18741. },
  18742. "decimalplace": {
  18743. "description": "报价小数位",
  18744. "type": "integer"
  18745. },
  18746. "enableqty": {
  18747. "description": "可用量",
  18748. "type": "integer"
  18749. },
  18750. "fretdposition": {
  18751. "description": "冻结今日头寸",
  18752. "type": "integer"
  18753. },
  18754. "frozenqty": {
  18755. "description": "持仓冻结数量",
  18756. "type": "integer"
  18757. },
  18758. "goodscode": {
  18759. "description": "商品代码",
  18760. "type": "string"
  18761. },
  18762. "goodsid": {
  18763. "description": "商品Id",
  18764. "type": "integer"
  18765. },
  18766. "goodsname": {
  18767. "description": "商品名称",
  18768. "type": "string"
  18769. },
  18770. "goodunit": {
  18771. "description": "报价单位",
  18772. "type": "string"
  18773. },
  18774. "goodunitid": {
  18775. "description": "报价单位ID",
  18776. "type": "integer"
  18777. },
  18778. "holderamount": {
  18779. "description": "期初持仓总金额[商品币种]",
  18780. "type": "number"
  18781. },
  18782. "marketid": {
  18783. "description": "所属市场ID",
  18784. "type": "integer"
  18785. },
  18786. "openreqqty": {
  18787. "description": "开仓申请数量(用于比较最大持仓数量)",
  18788. "type": "integer"
  18789. },
  18790. "opentotalqty": {
  18791. "description": "开仓总数量",
  18792. "type": "integer"
  18793. },
  18794. "otherfrozenqty": {
  18795. "description": "持仓其他冻结数量(交割冻结)",
  18796. "type": "integer"
  18797. },
  18798. "positionqty": {
  18799. "description": "期初持仓数量",
  18800. "type": "integer"
  18801. },
  18802. "tnqty": {
  18803. "description": "T+N冻结总量",
  18804. "type": "integer"
  18805. },
  18806. "tnusedqty": {
  18807. "description": "T+N使用量(可以使用T+N的冻结数量)",
  18808. "type": "integer"
  18809. },
  18810. "trademode": {
  18811. "description": "交易模式",
  18812. "type": "integer"
  18813. },
  18814. "usedmargin": {
  18815. "description": "占用保证金[商品币种]",
  18816. "type": "number"
  18817. }
  18818. }
  18819. },
  18820. "quote.HistoryData": {
  18821. "type": "object",
  18822. "properties": {
  18823. "c": {
  18824. "description": "收盘价",
  18825. "type": "number"
  18826. },
  18827. "f": {
  18828. "description": "是否补充数据",
  18829. "type": "boolean"
  18830. },
  18831. "h": {
  18832. "description": "最高价",
  18833. "type": "number"
  18834. },
  18835. "hv": {
  18836. "description": "持仓量",
  18837. "type": "integer"
  18838. },
  18839. "l": {
  18840. "description": "最低价",
  18841. "type": "number"
  18842. },
  18843. "o": {
  18844. "description": "开盘价",
  18845. "type": "number"
  18846. },
  18847. "s": {
  18848. "description": "结算价,日线周期(包括)以上才有",
  18849. "type": "number"
  18850. },
  18851. "ts": {
  18852. "description": "时间",
  18853. "type": "string"
  18854. },
  18855. "tt": {
  18856. "description": "总金额",
  18857. "type": "number"
  18858. },
  18859. "tv": {
  18860. "description": "总量",
  18861. "type": "integer"
  18862. }
  18863. }
  18864. },
  18865. "quote.HistoryTikData": {
  18866. "type": "object",
  18867. "properties": {
  18868. "AV": {
  18869. "description": "卖量",
  18870. "type": "integer"
  18871. },
  18872. "Ask": {
  18873. "description": "卖价",
  18874. "type": "number"
  18875. },
  18876. "BV": {
  18877. "description": "买量",
  18878. "type": "integer"
  18879. },
  18880. "Bid": {
  18881. "description": "买价",
  18882. "type": "number"
  18883. },
  18884. "HI": {
  18885. "description": "单笔持仓",
  18886. "type": "integer"
  18887. },
  18888. "HV": {
  18889. "description": "持仓量",
  18890. "type": "integer"
  18891. },
  18892. "PE": {
  18893. "description": "现价",
  18894. "type": "number"
  18895. },
  18896. "TDR": {
  18897. "description": "交易方向,0:买 1:卖",
  18898. "type": "integer"
  18899. },
  18900. "TK": {
  18901. "description": "交易类型",
  18902. "type": "integer"
  18903. },
  18904. "TS": {
  18905. "description": "行情时间文本",
  18906. "type": "string"
  18907. },
  18908. "TT": {
  18909. "description": "现金额",
  18910. "type": "number"
  18911. },
  18912. "Vol": {
  18913. "description": "现量",
  18914. "type": "integer"
  18915. }
  18916. }
  18917. },
  18918. "quote.QueryQuoteDayRsp": {
  18919. "type": "object",
  18920. "properties": {
  18921. "ask": {
  18922. "description": "卖1",
  18923. "type": "number"
  18924. },
  18925. "ask10": {
  18926. "description": "卖10",
  18927. "type": "number"
  18928. },
  18929. "ask2": {
  18930. "description": "卖2",
  18931. "type": "number"
  18932. },
  18933. "ask3": {
  18934. "description": "卖3",
  18935. "type": "number"
  18936. },
  18937. "ask4": {
  18938. "description": "卖4",
  18939. "type": "number"
  18940. },
  18941. "ask5": {
  18942. "description": "卖5",
  18943. "type": "number"
  18944. },
  18945. "ask6": {
  18946. "description": "卖6",
  18947. "type": "number"
  18948. },
  18949. "ask7": {
  18950. "description": "卖7",
  18951. "type": "number"
  18952. },
  18953. "ask8": {
  18954. "description": "卖8",
  18955. "type": "number"
  18956. },
  18957. "ask9": {
  18958. "description": "卖9",
  18959. "type": "number"
  18960. },
  18961. "askorderid": {
  18962. "description": "卖单号1",
  18963. "type": "integer"
  18964. },
  18965. "askorderid2": {
  18966. "description": "卖单号2",
  18967. "type": "integer"
  18968. },
  18969. "askorderid3": {
  18970. "description": "卖单号3",
  18971. "type": "integer"
  18972. },
  18973. "askorderid4": {
  18974. "description": "卖单号4",
  18975. "type": "integer"
  18976. },
  18977. "askorderid5": {
  18978. "description": "卖单号5",
  18979. "type": "integer"
  18980. },
  18981. "askordervolume": {
  18982. "description": "卖单量1",
  18983. "type": "integer"
  18984. },
  18985. "askordervolume10": {
  18986. "description": "卖单量10",
  18987. "type": "integer"
  18988. },
  18989. "askordervolume2": {
  18990. "description": "卖单量2",
  18991. "type": "integer"
  18992. },
  18993. "askordervolume3": {
  18994. "description": "卖单量3",
  18995. "type": "integer"
  18996. },
  18997. "askordervolume4": {
  18998. "description": "卖单量4",
  18999. "type": "integer"
  19000. },
  19001. "askordervolume5": {
  19002. "description": "卖单量5",
  19003. "type": "integer"
  19004. },
  19005. "askordervolume6": {
  19006. "description": "卖单量6",
  19007. "type": "integer"
  19008. },
  19009. "askordervolume7": {
  19010. "description": "卖单量7",
  19011. "type": "integer"
  19012. },
  19013. "askordervolume8": {
  19014. "description": "卖单量8",
  19015. "type": "integer"
  19016. },
  19017. "askordervolume9": {
  19018. "description": "卖单量9",
  19019. "type": "integer"
  19020. },
  19021. "askqueueinfo": {
  19022. "description": "大利市卖港股用",
  19023. "type": "string"
  19024. },
  19025. "askvolume": {
  19026. "description": "卖量1",
  19027. "type": "integer"
  19028. },
  19029. "askvolume10": {
  19030. "description": "卖量10",
  19031. "type": "integer"
  19032. },
  19033. "askvolume2": {
  19034. "description": "卖量2",
  19035. "type": "integer"
  19036. },
  19037. "askvolume3": {
  19038. "description": "卖量3",
  19039. "type": "integer"
  19040. },
  19041. "askvolume4": {
  19042. "description": "卖量4",
  19043. "type": "integer"
  19044. },
  19045. "askvolume5": {
  19046. "description": "卖量5",
  19047. "type": "integer"
  19048. },
  19049. "askvolume6": {
  19050. "description": "卖量6",
  19051. "type": "integer"
  19052. },
  19053. "askvolume7": {
  19054. "description": "卖量7",
  19055. "type": "integer"
  19056. },
  19057. "askvolume8": {
  19058. "description": "卖量8",
  19059. "type": "integer"
  19060. },
  19061. "askvolume9": {
  19062. "description": "卖量9",
  19063. "type": "integer"
  19064. },
  19065. "averageprice": {
  19066. "description": "均价",
  19067. "type": "number"
  19068. },
  19069. "bid": {
  19070. "description": "买1",
  19071. "type": "number"
  19072. },
  19073. "bid10": {
  19074. "description": "买10",
  19075. "type": "number"
  19076. },
  19077. "bid2": {
  19078. "description": "买2",
  19079. "type": "number"
  19080. },
  19081. "bid3": {
  19082. "description": "买3",
  19083. "type": "number"
  19084. },
  19085. "bid4": {
  19086. "description": "买4",
  19087. "type": "number"
  19088. },
  19089. "bid5": {
  19090. "description": "买5",
  19091. "type": "number"
  19092. },
  19093. "bid6": {
  19094. "description": "买6",
  19095. "type": "number"
  19096. },
  19097. "bid7": {
  19098. "description": "买7",
  19099. "type": "number"
  19100. },
  19101. "bid8": {
  19102. "description": "买8",
  19103. "type": "number"
  19104. },
  19105. "bid9": {
  19106. "description": "买9",
  19107. "type": "number"
  19108. },
  19109. "bidorderid": {
  19110. "description": "买单号1",
  19111. "type": "integer"
  19112. },
  19113. "bidorderid2": {
  19114. "description": "买单号2",
  19115. "type": "integer"
  19116. },
  19117. "bidorderid3": {
  19118. "description": "买单号3",
  19119. "type": "integer"
  19120. },
  19121. "bidorderid4": {
  19122. "description": "买单号4",
  19123. "type": "integer"
  19124. },
  19125. "bidorderid5": {
  19126. "description": "买单号5",
  19127. "type": "integer"
  19128. },
  19129. "bidordervolume": {
  19130. "description": "买单量1",
  19131. "type": "integer"
  19132. },
  19133. "bidordervolume10": {
  19134. "description": "买单量10",
  19135. "type": "integer"
  19136. },
  19137. "bidordervolume2": {
  19138. "description": "买单量2",
  19139. "type": "integer"
  19140. },
  19141. "bidordervolume3": {
  19142. "description": "买单量3",
  19143. "type": "integer"
  19144. },
  19145. "bidordervolume4": {
  19146. "description": "买单量4",
  19147. "type": "integer"
  19148. },
  19149. "bidordervolume5": {
  19150. "description": "买单量5",
  19151. "type": "integer"
  19152. },
  19153. "bidordervolume6": {
  19154. "description": "买单量6",
  19155. "type": "integer"
  19156. },
  19157. "bidordervolume7": {
  19158. "description": "买单量7",
  19159. "type": "integer"
  19160. },
  19161. "bidordervolume8": {
  19162. "description": "买单量8",
  19163. "type": "integer"
  19164. },
  19165. "bidordervolume9": {
  19166. "description": "买单量9",
  19167. "type": "integer"
  19168. },
  19169. "bidqueueinfo": {
  19170. "description": "大利市买港股用",
  19171. "type": "string"
  19172. },
  19173. "bidvolume": {
  19174. "description": "买量1",
  19175. "type": "integer"
  19176. },
  19177. "bidvolume10": {
  19178. "description": "买量10",
  19179. "type": "integer"
  19180. },
  19181. "bidvolume2": {
  19182. "description": "买量2",
  19183. "type": "integer"
  19184. },
  19185. "bidvolume3": {
  19186. "description": "买量3",
  19187. "type": "integer"
  19188. },
  19189. "bidvolume4": {
  19190. "description": "买量4",
  19191. "type": "integer"
  19192. },
  19193. "bidvolume5": {
  19194. "description": "买量5",
  19195. "type": "integer"
  19196. },
  19197. "bidvolume6": {
  19198. "description": "买量6",
  19199. "type": "integer"
  19200. },
  19201. "bidvolume7": {
  19202. "description": "买量7",
  19203. "type": "integer"
  19204. },
  19205. "bidvolume8": {
  19206. "description": "买量8",
  19207. "type": "integer"
  19208. },
  19209. "bidvolume9": {
  19210. "description": "买量9",
  19211. "type": "integer"
  19212. },
  19213. "calloptionpremiums": {
  19214. "description": "认购期权1",
  19215. "type": "integer"
  19216. },
  19217. "calloptionpremiums2": {
  19218. "description": "认购期权2",
  19219. "type": "integer"
  19220. },
  19221. "calloptionpremiums3": {
  19222. "description": "认购期权3",
  19223. "type": "integer"
  19224. },
  19225. "calloptionpremiums4": {
  19226. "description": "认购期权4",
  19227. "type": "integer"
  19228. },
  19229. "calloptionpremiums5": {
  19230. "description": "认购期权5",
  19231. "type": "integer"
  19232. },
  19233. "cleartime": {
  19234. "description": "清盘时间",
  19235. "type": "integer"
  19236. },
  19237. "exchangecode": {
  19238. "description": "交易所代码",
  19239. "type": "integer"
  19240. },
  19241. "exchangedate": {
  19242. "description": "交易日",
  19243. "type": "integer"
  19244. },
  19245. "goodscode": {
  19246. "description": "商品代码",
  19247. "type": "string"
  19248. },
  19249. "grepmarketprice": {
  19250. "description": "暗盘价 港股专用",
  19251. "type": "number"
  19252. },
  19253. "highest": {
  19254. "description": "最高价",
  19255. "type": "number"
  19256. },
  19257. "holdincrement": {
  19258. "description": "单笔持仓",
  19259. "type": "integer"
  19260. },
  19261. "holdvolume": {
  19262. "description": "持仓",
  19263. "type": "integer"
  19264. },
  19265. "iep": {
  19266. "description": "平衡价 港股专用",
  19267. "type": "number"
  19268. },
  19269. "iev": {
  19270. "description": "平衡量 港股专用",
  19271. "type": "number"
  19272. },
  19273. "inventory": {
  19274. "description": "库存",
  19275. "type": "integer"
  19276. },
  19277. "iscleared": {
  19278. "description": "是否清盘标志",
  19279. "type": "integer"
  19280. },
  19281. "issettled": {
  19282. "description": "是否结算标志",
  19283. "type": "integer"
  19284. },
  19285. "last": {
  19286. "description": "最新价",
  19287. "type": "number"
  19288. },
  19289. "lastlot": {
  19290. "description": "最新成交手数",
  19291. "type": "integer"
  19292. },
  19293. "lasttime": {
  19294. "description": "行情时间(只有现价变化行情时间才变化)",
  19295. "type": "string"
  19296. },
  19297. "lastturnover": {
  19298. "description": "最新成交金额",
  19299. "type": "number"
  19300. },
  19301. "lastvolume": {
  19302. "description": "最新成交量",
  19303. "type": "integer"
  19304. },
  19305. "limitdown": {
  19306. "description": "跌停价",
  19307. "type": "number"
  19308. },
  19309. "limitup": {
  19310. "description": "涨停价",
  19311. "type": "number"
  19312. },
  19313. "lowest": {
  19314. "description": "最低价",
  19315. "type": "number"
  19316. },
  19317. "nontotalholdervolume": {
  19318. "description": "非交易持仓量",
  19319. "type": "integer"
  19320. },
  19321. "nontotallot": {
  19322. "description": "非交易总手数",
  19323. "type": "integer"
  19324. },
  19325. "nontotalturnover": {
  19326. "description": "非交易总金额",
  19327. "type": "integer"
  19328. },
  19329. "nontotalvolume": {
  19330. "description": "非交易总量",
  19331. "type": "integer"
  19332. },
  19333. "opened": {
  19334. "description": "开盘价",
  19335. "type": "number"
  19336. },
  19337. "opentime": {
  19338. "description": "开盘时间",
  19339. "type": "string"
  19340. },
  19341. "orderid": {
  19342. "description": "序号",
  19343. "type": "integer"
  19344. },
  19345. "preclose": {
  19346. "description": "昨收",
  19347. "type": "number"
  19348. },
  19349. "preholdvolume": {
  19350. "description": "昨持仓",
  19351. "type": "integer"
  19352. },
  19353. "presettle": {
  19354. "description": "昨结价",
  19355. "type": "number"
  19356. },
  19357. "publictradetype": {
  19358. "description": "公共交易标志类型 港股专用",
  19359. "type": "string"
  19360. },
  19361. "putoptionpremiums": {
  19362. "description": "认沽期权1",
  19363. "type": "integer"
  19364. },
  19365. "putoptionpremiums2": {
  19366. "description": "认沽期权2",
  19367. "type": "integer"
  19368. },
  19369. "putoptionpremiums3": {
  19370. "description": "认沽期权3",
  19371. "type": "integer"
  19372. },
  19373. "putoptionpremiums4": {
  19374. "description": "认沽期权4",
  19375. "type": "integer"
  19376. },
  19377. "putoptionpremiums5": {
  19378. "description": "认沽期权5",
  19379. "type": "integer"
  19380. },
  19381. "settle": {
  19382. "description": "结算价",
  19383. "type": "number"
  19384. },
  19385. "strikeprice": {
  19386. "description": "发行价",
  19387. "type": "number"
  19388. },
  19389. "totalaskvolume": {
  19390. "description": "内盘",
  19391. "type": "integer"
  19392. },
  19393. "totalbidvolume": {
  19394. "description": "外盘",
  19395. "type": "integer"
  19396. },
  19397. "totallot": {
  19398. "description": "总手数",
  19399. "type": "integer"
  19400. },
  19401. "totalturnover": {
  19402. "description": "总金额",
  19403. "type": "number"
  19404. },
  19405. "totalvolume": {
  19406. "description": "总量",
  19407. "type": "integer"
  19408. },
  19409. "utclasttime": {
  19410. "description": "utc的行情时间",
  19411. "type": "string"
  19412. }
  19413. }
  19414. },
  19415. "quote.QueryTSDataRsp": {
  19416. "type": "object",
  19417. "properties": {
  19418. "decimalPlace": {
  19419. "description": "小数位",
  19420. "type": "integer"
  19421. },
  19422. "endTime": {
  19423. "description": "结束时间",
  19424. "type": "string"
  19425. },
  19426. "goodsCode": {
  19427. "description": "商品代码",
  19428. "type": "string"
  19429. },
  19430. "historyDatas": {
  19431. "description": "历史数据",
  19432. "type": "array",
  19433. "items": {
  19434. "$ref": "#/definitions/quote.HistoryData"
  19435. }
  19436. },
  19437. "outGoodsCode": {
  19438. "description": "外部商品代码",
  19439. "type": "string"
  19440. },
  19441. "preSettle": {
  19442. "description": "昨结",
  19443. "type": "number"
  19444. },
  19445. "startTime": {
  19446. "description": "开始时间",
  19447. "type": "string"
  19448. },
  19449. "tradeDate": {
  19450. "description": "交易日",
  19451. "type": "string"
  19452. }
  19453. }
  19454. },
  19455. "szdz.QueryConvertLogRsp": {
  19456. "type": "object",
  19457. "required": [
  19458. "logid"
  19459. ],
  19460. "properties": {
  19461. "accountid": {
  19462. "description": "资金账户ID",
  19463. "type": "integer"
  19464. },
  19465. "clientticket": {
  19466. "description": "客户端流水号",
  19467. "type": "string"
  19468. },
  19469. "converttype": {
  19470. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  19471. "type": "integer"
  19472. },
  19473. "createtime": {
  19474. "description": "记账时间",
  19475. "type": "string"
  19476. },
  19477. "daymaxvalue": {
  19478. "description": "配置当日最大转入限制",
  19479. "type": "number"
  19480. },
  19481. "daymaxvalue2": {
  19482. "description": "配置当日最大转入限制(转入)",
  19483. "type": "number"
  19484. },
  19485. "goodscode": {
  19486. "description": "商品代码",
  19487. "type": "string"
  19488. },
  19489. "goodsname": {
  19490. "description": "商品名称",
  19491. "type": "string"
  19492. },
  19493. "handlestatus": {
  19494. "description": "处理状态",
  19495. "type": "integer"
  19496. },
  19497. "innergoodsid": {
  19498. "description": "内部商品ID",
  19499. "type": "integer"
  19500. },
  19501. "inratio": {
  19502. "description": "配置转入比值",
  19503. "type": "integer"
  19504. },
  19505. "invalue": {
  19506. "description": "目标值",
  19507. "type": "number"
  19508. },
  19509. "logid": {
  19510. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19511. "type": "integer"
  19512. },
  19513. "mobile": {
  19514. "description": "手机号码(加密存储)",
  19515. "type": "string"
  19516. },
  19517. "outergoodscode": {
  19518. "description": "外部商品代码[JD\\PD]",
  19519. "type": "string"
  19520. },
  19521. "outratio": {
  19522. "description": "配置转出比值",
  19523. "type": "integer"
  19524. },
  19525. "outvalue": {
  19526. "description": "源值",
  19527. "type": "number"
  19528. },
  19529. "pddecimalplace": {
  19530. "description": "PD小数位",
  19531. "type": "integer"
  19532. },
  19533. "qty": {
  19534. "description": "数量",
  19535. "type": "string"
  19536. },
  19537. "remark": {
  19538. "description": "备注",
  19539. "type": "string"
  19540. },
  19541. "sessionid": {
  19542. "description": "会话ID",
  19543. "type": "integer"
  19544. },
  19545. "timemaxvalue": {
  19546. "description": "配置单次最大转入限制",
  19547. "type": "number"
  19548. },
  19549. "timemaxvalue2": {
  19550. "description": "配置单次最大转入限制(转入)",
  19551. "type": "number"
  19552. },
  19553. "timeminvalue": {
  19554. "description": "配置单次最小数量限制",
  19555. "type": "number"
  19556. },
  19557. "timeminvalue2": {
  19558. "description": "配置单次最小数量限制(转入)",
  19559. "type": "number"
  19560. },
  19561. "tradedate": {
  19562. "description": "交易日(yyyyMMdd)",
  19563. "type": "string"
  19564. },
  19565. "userid": {
  19566. "description": "用户ID",
  19567. "type": "integer"
  19568. }
  19569. }
  19570. },
  19571. "szdz.QueryGoodsPickupRsp": {
  19572. "type": "object",
  19573. "required": [
  19574. "takeorderid"
  19575. ],
  19576. "properties": {
  19577. "accountid": {
  19578. "description": "账户ID",
  19579. "type": "integer"
  19580. },
  19581. "address": {
  19582. "description": "提货人详细地址",
  19583. "type": "string"
  19584. },
  19585. "auditer": {
  19586. "description": "审核人",
  19587. "type": "integer"
  19588. },
  19589. "audittime": {
  19590. "description": "审核时间",
  19591. "type": "string"
  19592. },
  19593. "cardnum": {
  19594. "description": "提货人证件号码",
  19595. "type": "string"
  19596. },
  19597. "cardtypeid": {
  19598. "description": "提货人证件类型",
  19599. "type": "integer"
  19600. },
  19601. "checkremark": {
  19602. "description": "审核备注",
  19603. "type": "string"
  19604. },
  19605. "goodscode": {
  19606. "description": "商品代码",
  19607. "type": "string"
  19608. },
  19609. "goodsid": {
  19610. "description": "商品ID",
  19611. "type": "integer"
  19612. },
  19613. "goodsname": {
  19614. "description": "商品名称",
  19615. "type": "string"
  19616. },
  19617. "handlestatus": {
  19618. "description": "处理状态",
  19619. "type": "integer"
  19620. },
  19621. "marketid": {
  19622. "description": "市场ID",
  19623. "type": "integer"
  19624. },
  19625. "phonenum": {
  19626. "description": "提货人联系方式",
  19627. "type": "string"
  19628. },
  19629. "qty": {
  19630. "description": "提货数量",
  19631. "type": "number"
  19632. },
  19633. "recivername": {
  19634. "description": "提货人姓名",
  19635. "type": "string"
  19636. },
  19637. "reqtime": {
  19638. "description": "更新时间",
  19639. "type": "string"
  19640. },
  19641. "takemode": {
  19642. "description": "提货方式 - 2:自提 3:配送",
  19643. "type": "integer"
  19644. },
  19645. "takeorderid": {
  19646. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  19647. "type": "string"
  19648. },
  19649. "takeorderstatus": {
  19650. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  19651. "type": "integer"
  19652. },
  19653. "takeremark": {
  19654. "description": "提货备注",
  19655. "type": "string"
  19656. },
  19657. "tradedate": {
  19658. "description": "交易日(yyyyMMdd)",
  19659. "type": "string"
  19660. },
  19661. "userid": {
  19662. "description": "用户ID",
  19663. "type": "integer"
  19664. }
  19665. }
  19666. },
  19667. "szdz.QueryRecieptOrderRsp": {
  19668. "type": "object",
  19669. "required": [
  19670. "ordertime"
  19671. ],
  19672. "properties": {
  19673. "accountName": {
  19674. "description": "所属账号名称(已脱敏)",
  19675. "type": "string"
  19676. },
  19677. "accountid": {
  19678. "description": "资金账号",
  19679. "type": "integer"
  19680. },
  19681. "buyorsell": {
  19682. "description": "方向 - 0:买 1:卖",
  19683. "type": "integer"
  19684. },
  19685. "enableqty": {
  19686. "description": "可摘数量",
  19687. "type": "integer"
  19688. },
  19689. "goodscode": {
  19690. "description": "商品代码",
  19691. "type": "string"
  19692. },
  19693. "goodsid": {
  19694. "description": "商品ID",
  19695. "type": "integer"
  19696. },
  19697. "goodsname": {
  19698. "description": "商品名称",
  19699. "type": "string"
  19700. },
  19701. "orderid": {
  19702. "description": "委托单号",
  19703. "type": "string"
  19704. },
  19705. "orderprice": {
  19706. "description": "委托价格",
  19707. "type": "number"
  19708. },
  19709. "ordertime": {
  19710. "description": "委托时间",
  19711. "type": "string"
  19712. },
  19713. "tradedate": {
  19714. "description": "交易日(yyyyMMdd)",
  19715. "type": "string"
  19716. }
  19717. }
  19718. },
  19719. "szdz.QuerySZDZTradePositionRsp": {
  19720. "type": "object",
  19721. "properties": {
  19722. "accountid": {
  19723. "description": "账号Id",
  19724. "type": "integer"
  19725. },
  19726. "agreeunit": {
  19727. "description": "合约单位",
  19728. "type": "number"
  19729. },
  19730. "averageprice": {
  19731. "description": "持仓均价",
  19732. "type": "number"
  19733. },
  19734. "buyorsell": {
  19735. "description": "方向 - 0:买 1:卖",
  19736. "type": "integer"
  19737. },
  19738. "closetotalqty": {
  19739. "description": "平仓总数量",
  19740. "type": "integer"
  19741. },
  19742. "curholderamount": {
  19743. "description": "当前持仓总金额",
  19744. "type": "number"
  19745. },
  19746. "curpositionqty": {
  19747. "description": "当前持仓总数量",
  19748. "type": "integer"
  19749. },
  19750. "currencyid": {
  19751. "description": "报价货币ID",
  19752. "type": "integer"
  19753. },
  19754. "curtdposition": {
  19755. "description": "期末今日头寸",
  19756. "type": "integer"
  19757. },
  19758. "decimalplace": {
  19759. "description": "报价小数位",
  19760. "type": "integer"
  19761. },
  19762. "enableqty": {
  19763. "description": "可用量",
  19764. "type": "integer"
  19765. },
  19766. "fretdposition": {
  19767. "description": "冻结今日头寸",
  19768. "type": "integer"
  19769. },
  19770. "frozenqty": {
  19771. "description": "持仓冻结数量",
  19772. "type": "integer"
  19773. },
  19774. "goodscode": {
  19775. "description": "商品代码(内部)",
  19776. "type": "string"
  19777. },
  19778. "goodsid": {
  19779. "description": "商品Id",
  19780. "type": "integer"
  19781. },
  19782. "goodsname": {
  19783. "description": "商品名称",
  19784. "type": "string"
  19785. },
  19786. "goodunit": {
  19787. "description": "报价单位",
  19788. "type": "string"
  19789. },
  19790. "goodunitid": {
  19791. "description": "报价单位ID",
  19792. "type": "integer"
  19793. },
  19794. "holderamount": {
  19795. "description": "期初持仓总金额",
  19796. "type": "number"
  19797. },
  19798. "marketid": {
  19799. "description": "市场ID",
  19800. "type": "integer"
  19801. },
  19802. "openreqqty": {
  19803. "description": "开仓申请数量",
  19804. "type": "integer"
  19805. },
  19806. "opentotalqty": {
  19807. "description": "开仓总数量",
  19808. "type": "integer"
  19809. },
  19810. "otherfrozenqty": {
  19811. "description": "持仓其他冻结数量(交割冻结)",
  19812. "type": "integer"
  19813. },
  19814. "positionqty": {
  19815. "description": "期初持仓数量",
  19816. "type": "integer"
  19817. },
  19818. "szdz3freezqty": {
  19819. "description": "尚志大宗转换冻结总数量",
  19820. "type": "integer"
  19821. },
  19822. "tnqty": {
  19823. "description": "T+N冻结总量",
  19824. "type": "integer"
  19825. },
  19826. "tnusedqty": {
  19827. "description": "T+N使用量",
  19828. "type": "integer"
  19829. },
  19830. "trademode": {
  19831. "description": "交易模式",
  19832. "type": "integer"
  19833. },
  19834. "usedmargin": {
  19835. "description": "占用保证金",
  19836. "type": "number"
  19837. }
  19838. }
  19839. },
  19840. "taaccount.QueryAmountLogRsp": {
  19841. "type": "object",
  19842. "required": [
  19843. "accountid",
  19844. "amount",
  19845. "amountadjusttype",
  19846. "autoid",
  19847. "balance",
  19848. "createtime",
  19849. "currentbalance",
  19850. "operatetype"
  19851. ],
  19852. "properties": {
  19853. "OPERATETYPENAME": {
  19854. "description": "资金操作类型名称",
  19855. "type": "string"
  19856. },
  19857. "accountid": {
  19858. "description": "资金账户ID",
  19859. "type": "integer"
  19860. },
  19861. "agoodscode": {
  19862. "description": "竞拍商品代码",
  19863. "type": "string"
  19864. },
  19865. "agoodsname": {
  19866. "description": "竞拍商品名称",
  19867. "type": "string"
  19868. },
  19869. "amount": {
  19870. "description": "资金金额",
  19871. "type": "number"
  19872. },
  19873. "amountadjusttype": {
  19874. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  19875. "type": "integer"
  19876. },
  19877. "autoid": {
  19878. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  19879. "type": "integer"
  19880. },
  19881. "balance": {
  19882. "description": "期初余额",
  19883. "type": "number"
  19884. },
  19885. "businesscode": {
  19886. "description": "业务编号",
  19887. "type": "integer"
  19888. },
  19889. "createtime": {
  19890. "description": "发生时间",
  19891. "type": "string"
  19892. },
  19893. "currencyid": {
  19894. "description": "币种ID",
  19895. "type": "integer"
  19896. },
  19897. "currentbalance": {
  19898. "description": "期末余额(变动后金额)",
  19899. "type": "number"
  19900. },
  19901. "dgoodscode": {
  19902. "description": "交割商品代码",
  19903. "type": "string"
  19904. },
  19905. "dgoodsname": {
  19906. "description": "交割商品名称",
  19907. "type": "string"
  19908. },
  19909. "goodscode": {
  19910. "description": "商品代码",
  19911. "type": "string"
  19912. },
  19913. "goodsid": {
  19914. "description": "商品ID",
  19915. "type": "integer"
  19916. },
  19917. "goodsname": {
  19918. "description": "商品名称",
  19919. "type": "string"
  19920. },
  19921. "marketid": {
  19922. "description": "市场ID",
  19923. "type": "integer"
  19924. },
  19925. "marketname": {
  19926. "description": "市场名称",
  19927. "type": "string"
  19928. },
  19929. "moneyticket": {
  19930. "description": "资金流水号:银行端流水号",
  19931. "type": "integer"
  19932. },
  19933. "operatetype": {
  19934. "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:营销收款",
  19935. "type": "integer"
  19936. },
  19937. "relationorderid": {
  19938. "description": "关联单号",
  19939. "type": "string"
  19940. },
  19941. "remark": {
  19942. "description": "备注",
  19943. "type": "string"
  19944. },
  19945. "trademode": {
  19946. "description": "交易模式",
  19947. "type": "integer"
  19948. }
  19949. }
  19950. },
  19951. "taaccount.QueryHisAmountLogRsp": {
  19952. "type": "object",
  19953. "required": [
  19954. "accountid",
  19955. "amount",
  19956. "amountadjusttype",
  19957. "autoid",
  19958. "balance",
  19959. "createtime",
  19960. "currentbalance",
  19961. "histradedate",
  19962. "operatetype"
  19963. ],
  19964. "properties": {
  19965. "OPERATETYPENAME": {
  19966. "description": "资金操作类型名称",
  19967. "type": "string"
  19968. },
  19969. "accountid": {
  19970. "description": "资金账户ID",
  19971. "type": "integer"
  19972. },
  19973. "agoodscode": {
  19974. "description": "竞拍商品代码",
  19975. "type": "string"
  19976. },
  19977. "agoodsname": {
  19978. "description": "竞拍商品名称",
  19979. "type": "string"
  19980. },
  19981. "amount": {
  19982. "description": "资金金额",
  19983. "type": "number"
  19984. },
  19985. "amountadjusttype": {
  19986. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  19987. "type": "integer"
  19988. },
  19989. "autoid": {
  19990. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  19991. "type": "integer"
  19992. },
  19993. "balance": {
  19994. "description": "期初余额",
  19995. "type": "number"
  19996. },
  19997. "businesscode": {
  19998. "description": "业务编号",
  19999. "type": "integer"
  20000. },
  20001. "createtime": {
  20002. "description": "发生时间",
  20003. "type": "string"
  20004. },
  20005. "currencyid": {
  20006. "description": "币种ID",
  20007. "type": "integer"
  20008. },
  20009. "currentbalance": {
  20010. "description": "期末余额(变动后金额)",
  20011. "type": "number"
  20012. },
  20013. "dgoodscode": {
  20014. "description": "交割商品代码",
  20015. "type": "string"
  20016. },
  20017. "dgoodsname": {
  20018. "description": "交割商品名称",
  20019. "type": "string"
  20020. },
  20021. "goodscode": {
  20022. "description": "商品代码",
  20023. "type": "string"
  20024. },
  20025. "goodsid": {
  20026. "description": "商品ID",
  20027. "type": "integer"
  20028. },
  20029. "goodsname": {
  20030. "description": "商品名称",
  20031. "type": "string"
  20032. },
  20033. "histradedate": {
  20034. "description": "历史交易日",
  20035. "type": "string"
  20036. },
  20037. "isvaliddata": {
  20038. "description": "是否有效 - 0:无效 1:有效",
  20039. "type": "integer"
  20040. },
  20041. "marketid": {
  20042. "description": "市场ID",
  20043. "type": "integer"
  20044. },
  20045. "marketname": {
  20046. "description": "市场名称",
  20047. "type": "string"
  20048. },
  20049. "moneyticket": {
  20050. "description": "资金流水号:银行端流水号",
  20051. "type": "integer"
  20052. },
  20053. "operatetype": {
  20054. "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:营销收款",
  20055. "type": "integer"
  20056. },
  20057. "relationorderid": {
  20058. "description": "关联单号",
  20059. "type": "string"
  20060. },
  20061. "remark": {
  20062. "description": "备注",
  20063. "type": "string"
  20064. },
  20065. "trademode": {
  20066. "description": "交易模式",
  20067. "type": "integer"
  20068. }
  20069. }
  20070. },
  20071. "trade.QueryRecieptOrderRsp": {
  20072. "type": "object",
  20073. "required": [
  20074. "ordertime"
  20075. ],
  20076. "properties": {
  20077. "accountName": {
  20078. "description": "所属账号名称(已脱敏)",
  20079. "type": "string"
  20080. },
  20081. "accountid": {
  20082. "description": "资金账号",
  20083. "type": "integer"
  20084. },
  20085. "buyorsell": {
  20086. "description": "方向 - 0:买 1:卖",
  20087. "type": "integer"
  20088. },
  20089. "enableqty": {
  20090. "description": "可摘数量",
  20091. "type": "integer"
  20092. },
  20093. "goodscode": {
  20094. "description": "商品代码",
  20095. "type": "string"
  20096. },
  20097. "goodsid": {
  20098. "description": "商品ID",
  20099. "type": "integer"
  20100. },
  20101. "goodsname": {
  20102. "description": "商品名称",
  20103. "type": "string"
  20104. },
  20105. "orderid": {
  20106. "description": "委托单号",
  20107. "type": "string"
  20108. },
  20109. "orderprice": {
  20110. "description": "委托价格",
  20111. "type": "number"
  20112. },
  20113. "ordertime": {
  20114. "description": "委托时间",
  20115. "type": "string"
  20116. },
  20117. "tradedate": {
  20118. "description": "交易日(yyyyMMdd)",
  20119. "type": "string"
  20120. }
  20121. }
  20122. },
  20123. "user.LoginQueryRsp": {
  20124. "type": "object",
  20125. "properties": {
  20126. "externalExchanges": {
  20127. "description": "外部交易所",
  20128. "type": "array",
  20129. "items": {
  20130. "$ref": "#/definitions/models.Externalexchange"
  20131. }
  20132. },
  20133. "goodsgroups": {
  20134. "description": "商品组",
  20135. "type": "array",
  20136. "items": {
  20137. "$ref": "#/definitions/models.Goodsgroup"
  20138. }
  20139. },
  20140. "loginAccount": {
  20141. "description": "登录账号",
  20142. "$ref": "#/definitions/models.Loginaccount"
  20143. },
  20144. "markets": {
  20145. "description": "市场",
  20146. "type": "array",
  20147. "items": {
  20148. "$ref": "#/definitions/models.Market"
  20149. }
  20150. },
  20151. "systemParams": {
  20152. "description": "系统参数",
  20153. "type": "array",
  20154. "items": {
  20155. "$ref": "#/definitions/models.Systemparam"
  20156. }
  20157. },
  20158. "userAccount": {
  20159. "description": "用户账号",
  20160. "$ref": "#/definitions/models.Useraccount"
  20161. },
  20162. "userInfo": {
  20163. "description": "用户信息",
  20164. "$ref": "#/definitions/models.Userinfo"
  20165. },
  20166. "username": {
  20167. "description": "用户姓名",
  20168. "type": "string"
  20169. }
  20170. }
  20171. }
  20172. },
  20173. "securityDefinitions": {
  20174. "ApiKeyAuth": {
  20175. "type": "apiKey",
  20176. "name": "Authorization",
  20177. "in": "header"
  20178. }
  20179. }
  20180. }`
  20181. type swaggerInfo struct {
  20182. Version string
  20183. Host string
  20184. BasePath string
  20185. Schemes []string
  20186. Title string
  20187. Description string
  20188. }
  20189. // SwaggerInfo holds exported Swagger Info so clients can modify it
  20190. var SwaggerInfo = swaggerInfo{
  20191. Version: "1.0",
  20192. Host: "",
  20193. BasePath: "/api",
  20194. Schemes: []string{},
  20195. Title: "MTP2.0 查询服务 API",
  20196. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  20197. }
  20198. type s struct{}
  20199. func (s *s) ReadDoc() string {
  20200. sInfo := SwaggerInfo
  20201. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  20202. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  20203. "marshal": func(v interface{}) string {
  20204. a, _ := json.Marshal(v)
  20205. return string(a)
  20206. },
  20207. }).Parse(doc)
  20208. if err != nil {
  20209. return doc
  20210. }
  20211. var tpl bytes.Buffer
  20212. if err := t.Execute(&tpl, sInfo); err != nil {
  20213. return doc
  20214. }
  20215. return tpl.String()
  20216. }
  20217. func init() {
  20218. swag.Register(swag.Name, &s{})
  20219. }