docs.go 695 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetDivisions": {
  403. "get": {
  404. "produces": [
  405. "application/json"
  406. ],
  407. "tags": [
  408. "通用服务"
  409. ],
  410. "summary": "查询区域信息",
  411. "responses": {
  412. "200": {
  413. "description": "OK",
  414. "schema": {
  415. "$ref": "#/definitions/models.Division"
  416. }
  417. },
  418. "500": {
  419. "description": "Internal Server Error",
  420. "schema": {
  421. "$ref": "#/definitions/app.Response"
  422. }
  423. }
  424. }
  425. }
  426. },
  427. "/Common/GetServerTime": {
  428. "get": {
  429. "produces": [
  430. "application/json"
  431. ],
  432. "tags": [
  433. "通用服务"
  434. ],
  435. "summary": "获取服务器时间",
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "$ref": "#/definitions/app.Response"
  441. }
  442. },
  443. "500": {
  444. "description": "Internal Server Error",
  445. "schema": {
  446. "$ref": "#/definitions/app.Response"
  447. }
  448. }
  449. }
  450. }
  451. },
  452. "/Common/NoticeReaded": {
  453. "post": {
  454. "security": [
  455. {
  456. "ApiKeyAuth": []
  457. }
  458. ],
  459. "produces": [
  460. "application/json"
  461. ],
  462. "tags": [
  463. "通用服务"
  464. ],
  465. "summary": "通知公告设置已读请求",
  466. "parameters": [
  467. {
  468. "type": "integer",
  469. "description": "登录账号",
  470. "name": "loginID",
  471. "in": "query",
  472. "required": true
  473. },
  474. {
  475. "type": "integer",
  476. "description": "通知公告ID",
  477. "name": "noticeID",
  478. "in": "query",
  479. "required": true
  480. }
  481. ],
  482. "responses": {
  483. "200": {
  484. "description": "OK",
  485. "schema": {
  486. "$ref": "#/definitions/app.Response"
  487. }
  488. },
  489. "500": {
  490. "description": "Internal Server Error",
  491. "schema": {
  492. "$ref": "#/definitions/app.Response"
  493. }
  494. }
  495. }
  496. }
  497. },
  498. "/Common/QueryErrorInfos": {
  499. "get": {
  500. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  501. "produces": [
  502. "application/json"
  503. ],
  504. "tags": [
  505. "通用服务"
  506. ],
  507. "summary": "获取数据库错误信息",
  508. "parameters": [
  509. {
  510. "type": "string",
  511. "description": "起始行号前索引",
  512. "name": "rowNumber",
  513. "in": "query"
  514. }
  515. ],
  516. "responses": {
  517. "200": {
  518. "description": "OK",
  519. "schema": {
  520. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  521. }
  522. },
  523. "500": {
  524. "description": "Internal Server Error",
  525. "schema": {
  526. "$ref": "#/definitions/app.Response"
  527. }
  528. }
  529. }
  530. }
  531. },
  532. "/Common/QueryImageConfigs": {
  533. "get": {
  534. "produces": [
  535. "application/json"
  536. ],
  537. "tags": [
  538. "通用服务"
  539. ],
  540. "summary": "查询轮播图配置信息",
  541. "parameters": [
  542. {
  543. "type": "integer",
  544. "description": "类型 - 1:App首页轮播 2:我的",
  545. "name": "imageType",
  546. "in": "query"
  547. }
  548. ],
  549. "responses": {
  550. "200": {
  551. "description": "OK",
  552. "schema": {
  553. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  554. }
  555. },
  556. "500": {
  557. "description": "Internal Server Error",
  558. "schema": {
  559. "$ref": "#/definitions/app.Response"
  560. }
  561. }
  562. }
  563. }
  564. },
  565. "/Common/QueryNotice": {
  566. "get": {
  567. "security": [
  568. {
  569. "ApiKeyAuth": []
  570. }
  571. ],
  572. "produces": [
  573. "application/json"
  574. ],
  575. "tags": [
  576. "通用服务"
  577. ],
  578. "summary": "通知公告系统消息查询",
  579. "parameters": [
  580. {
  581. "type": "integer",
  582. "description": "页码",
  583. "name": "page",
  584. "in": "query"
  585. },
  586. {
  587. "type": "integer",
  588. "description": "每页条数",
  589. "name": "pagesize",
  590. "in": "query"
  591. },
  592. {
  593. "type": "integer",
  594. "description": "登录账号",
  595. "name": "loginID",
  596. "in": "query",
  597. "required": true
  598. },
  599. {
  600. "type": "integer",
  601. "description": "消息类型 - 1:公告通知 2:系统消息",
  602. "name": "msgType",
  603. "in": "query"
  604. },
  605. {
  606. "type": "boolean",
  607. "description": "是否只获取未读信息",
  608. "name": "onlyUnRead",
  609. "in": "query"
  610. },
  611. {
  612. "type": "integer",
  613. "description": "自增ID,传入后会返回这个ID后面的记录",
  614. "name": "lastID",
  615. "in": "query"
  616. }
  617. ],
  618. "responses": {
  619. "200": {
  620. "description": "OK",
  621. "schema": {
  622. "$ref": "#/definitions/common.QueryNoticeRsp"
  623. }
  624. },
  625. "500": {
  626. "description": "Internal Server Error",
  627. "schema": {
  628. "$ref": "#/definitions/app.Response"
  629. }
  630. }
  631. }
  632. }
  633. },
  634. "/Common/QueryProvincesAndCities": {
  635. "get": {
  636. "produces": [
  637. "application/json"
  638. ],
  639. "tags": [
  640. "通用服务"
  641. ],
  642. "summary": "查询省市信息(不包括区)",
  643. "parameters": [
  644. {
  645. "type": "integer",
  646. "description": "省ID",
  647. "name": "provinceID",
  648. "in": "query"
  649. }
  650. ],
  651. "responses": {
  652. "200": {
  653. "description": "OK",
  654. "schema": {
  655. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  656. }
  657. },
  658. "500": {
  659. "description": "Internal Server Error",
  660. "schema": {
  661. "$ref": "#/definitions/app.Response"
  662. }
  663. }
  664. }
  665. }
  666. },
  667. "/Common/QueryTableDefine": {
  668. "get": {
  669. "produces": [
  670. "application/json"
  671. ],
  672. "tags": [
  673. "通用服务"
  674. ],
  675. "summary": "查询交易端列表头信息",
  676. "parameters": [
  677. {
  678. "type": "string",
  679. "description": "表key",
  680. "name": "tableKey",
  681. "in": "query"
  682. },
  683. {
  684. "type": "integer",
  685. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  686. "name": "tableType",
  687. "in": "query"
  688. }
  689. ],
  690. "responses": {
  691. "200": {
  692. "description": "OK",
  693. "schema": {
  694. "$ref": "#/definitions/common.QueryTableDefineRsp"
  695. }
  696. },
  697. "500": {
  698. "description": "Internal Server Error",
  699. "schema": {
  700. "$ref": "#/definitions/app.Response"
  701. }
  702. }
  703. }
  704. }
  705. },
  706. "/Common/QueryTraderMenu": {
  707. "get": {
  708. "produces": [
  709. "application/json"
  710. ],
  711. "tags": [
  712. "通用服务"
  713. ],
  714. "summary": "查询交易端菜单",
  715. "parameters": [
  716. {
  717. "type": "integer",
  718. "description": "登录账号",
  719. "name": "loginid",
  720. "in": "query",
  721. "required": true
  722. }
  723. ],
  724. "responses": {
  725. "200": {
  726. "description": "OK",
  727. "schema": {
  728. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  729. }
  730. },
  731. "500": {
  732. "description": "Internal Server Error",
  733. "schema": {
  734. "$ref": "#/definitions/app.Response"
  735. }
  736. }
  737. }
  738. }
  739. },
  740. "/Delivery/QueryDeliveryRelation": {
  741. "get": {
  742. "security": [
  743. {
  744. "ApiKeyAuth": []
  745. }
  746. ],
  747. "produces": [
  748. "application/json"
  749. ],
  750. "tags": [
  751. "交割服务"
  752. ],
  753. "summary": "查询商品交割关系表",
  754. "parameters": [
  755. {
  756. "type": "integer",
  757. "description": "商品ID",
  758. "name": "goodsid",
  759. "in": "query"
  760. },
  761. {
  762. "type": "integer",
  763. "description": "品种ID",
  764. "name": "deliverygoodsid",
  765. "in": "query"
  766. },
  767. {
  768. "type": "integer",
  769. "description": "市场ID",
  770. "name": "marketid",
  771. "in": "query"
  772. }
  773. ],
  774. "responses": {
  775. "200": {
  776. "description": "OK",
  777. "schema": {
  778. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  779. }
  780. },
  781. "500": {
  782. "description": "Internal Server Error",
  783. "schema": {
  784. "$ref": "#/definitions/app.Response"
  785. }
  786. }
  787. }
  788. }
  789. },
  790. "/Ermcp/GetErmcpGoods": {
  791. "get": {
  792. "security": [
  793. {
  794. "ApiKeyAuth": []
  795. }
  796. ],
  797. "produces": [
  798. "application/json"
  799. ],
  800. "tags": [
  801. "企业风险管理(app)"
  802. ],
  803. "summary": "查询企业风管期货商品信息",
  804. "parameters": [
  805. {
  806. "type": "string",
  807. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  808. "name": "lastUpdateTime",
  809. "in": "query"
  810. }
  811. ],
  812. "responses": {
  813. "200": {
  814. "description": "OK",
  815. "schema": {
  816. "$ref": "#/definitions/models.Goods"
  817. }
  818. },
  819. "500": {
  820. "description": "Internal Server Error",
  821. "schema": {
  822. "$ref": "#/definitions/app.Response"
  823. }
  824. }
  825. }
  826. }
  827. },
  828. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  829. "get": {
  830. "security": [
  831. {
  832. "ApiKeyAuth": []
  833. }
  834. ],
  835. "produces": [
  836. "application/json"
  837. ],
  838. "tags": [
  839. "企业风险管理(app)"
  840. ],
  841. "summary": "获取企业风管终端权限",
  842. "parameters": [
  843. {
  844. "type": "integer",
  845. "description": "登录账号",
  846. "name": "loginID",
  847. "in": "query",
  848. "required": true
  849. }
  850. ],
  851. "responses": {
  852. "200": {
  853. "description": "OK",
  854. "schema": {
  855. "$ref": "#/definitions/models.Funcmenulist"
  856. }
  857. },
  858. "500": {
  859. "description": "Internal Server Error",
  860. "schema": {
  861. "$ref": "#/definitions/app.Response"
  862. }
  863. }
  864. }
  865. }
  866. },
  867. "/Ermcp/QryReportDayExposure": {
  868. "get": {
  869. "security": [
  870. {
  871. "ApiKeyAuth": []
  872. }
  873. ],
  874. "produces": [
  875. "application/json"
  876. ],
  877. "tags": [
  878. "企业风险管理(app)"
  879. ],
  880. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  881. "parameters": [
  882. {
  883. "type": "integer",
  884. "description": "用户ID",
  885. "name": "userid",
  886. "in": "query",
  887. "required": true
  888. },
  889. {
  890. "type": "string",
  891. "description": "交易日(格式:yyyyMMdd)",
  892. "name": "tradedate",
  893. "in": "query",
  894. "required": true
  895. }
  896. ],
  897. "responses": {
  898. "200": {
  899. "description": "OK",
  900. "schema": {
  901. "type": "array",
  902. "items": {
  903. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  904. }
  905. }
  906. },
  907. "500": {
  908. "description": "Internal Server Error",
  909. "schema": {
  910. "$ref": "#/definitions/app.Response"
  911. }
  912. }
  913. }
  914. }
  915. },
  916. "/Ermcp/QryReportDayFinance": {
  917. "get": {
  918. "security": [
  919. {
  920. "ApiKeyAuth": []
  921. }
  922. ],
  923. "produces": [
  924. "application/json"
  925. ],
  926. "tags": [
  927. "企业风险管理(app)"
  928. ],
  929. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  930. "parameters": [
  931. {
  932. "type": "integer",
  933. "description": "用户ID",
  934. "name": "userid",
  935. "in": "query",
  936. "required": true
  937. },
  938. {
  939. "type": "string",
  940. "description": "交易日(格式:yyyyMMdd)",
  941. "name": "tradedate",
  942. "in": "query",
  943. "required": true
  944. }
  945. ],
  946. "responses": {
  947. "200": {
  948. "description": "OK",
  949. "schema": {
  950. "type": "array",
  951. "items": {
  952. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  953. }
  954. }
  955. },
  956. "500": {
  957. "description": "Internal Server Error",
  958. "schema": {
  959. "$ref": "#/definitions/app.Response"
  960. }
  961. }
  962. }
  963. }
  964. },
  965. "/Ermcp/QryReportDayFinanceFp": {
  966. "get": {
  967. "security": [
  968. {
  969. "ApiKeyAuth": []
  970. }
  971. ],
  972. "produces": [
  973. "application/json"
  974. ],
  975. "tags": [
  976. "企业风险管理(app)"
  977. ],
  978. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  979. "parameters": [
  980. {
  981. "type": "integer",
  982. "description": "用户ID",
  983. "name": "userid",
  984. "in": "query",
  985. "required": true
  986. },
  987. {
  988. "type": "string",
  989. "description": "交易日(格式:yyyyMMdd)",
  990. "name": "tradedate",
  991. "in": "query",
  992. "required": true
  993. }
  994. ],
  995. "responses": {
  996. "200": {
  997. "description": "OK",
  998. "schema": {
  999. "type": "array",
  1000. "items": {
  1001. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1002. }
  1003. }
  1004. },
  1005. "500": {
  1006. "description": "Internal Server Error",
  1007. "schema": {
  1008. "$ref": "#/definitions/app.Response"
  1009. }
  1010. }
  1011. }
  1012. }
  1013. },
  1014. "/Ermcp/QryReportDayFinanceKx": {
  1015. "get": {
  1016. "security": [
  1017. {
  1018. "ApiKeyAuth": []
  1019. }
  1020. ],
  1021. "produces": [
  1022. "application/json"
  1023. ],
  1024. "tags": [
  1025. "企业风险管理(app)"
  1026. ],
  1027. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1028. "parameters": [
  1029. {
  1030. "type": "integer",
  1031. "description": "用户ID",
  1032. "name": "userid",
  1033. "in": "query",
  1034. "required": true
  1035. },
  1036. {
  1037. "type": "string",
  1038. "description": "交易日(格式:yyyyMMdd)",
  1039. "name": "tradedate",
  1040. "in": "query",
  1041. "required": true
  1042. }
  1043. ],
  1044. "responses": {
  1045. "200": {
  1046. "description": "OK",
  1047. "schema": {
  1048. "type": "array",
  1049. "items": {
  1050. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1051. }
  1052. }
  1053. },
  1054. "500": {
  1055. "description": "Internal Server Error",
  1056. "schema": {
  1057. "$ref": "#/definitions/app.Response"
  1058. }
  1059. }
  1060. }
  1061. }
  1062. },
  1063. "/Ermcp/QryReportDaySpot": {
  1064. "get": {
  1065. "security": [
  1066. {
  1067. "ApiKeyAuth": []
  1068. }
  1069. ],
  1070. "produces": [
  1071. "application/json"
  1072. ],
  1073. "tags": [
  1074. "企业风险管理(app)"
  1075. ],
  1076. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1077. "parameters": [
  1078. {
  1079. "type": "integer",
  1080. "description": "用户ID",
  1081. "name": "userid",
  1082. "in": "query",
  1083. "required": true
  1084. },
  1085. {
  1086. "type": "string",
  1087. "description": "交易日(格式:yyyyMMdd)",
  1088. "name": "tradedate",
  1089. "in": "query",
  1090. "required": true
  1091. }
  1092. ],
  1093. "responses": {
  1094. "200": {
  1095. "description": "OK",
  1096. "schema": {
  1097. "type": "array",
  1098. "items": {
  1099. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1100. }
  1101. }
  1102. },
  1103. "500": {
  1104. "description": "Internal Server Error",
  1105. "schema": {
  1106. "$ref": "#/definitions/app.Response"
  1107. }
  1108. }
  1109. }
  1110. }
  1111. },
  1112. "/Ermcp/QryReportDaySpotDetail": {
  1113. "get": {
  1114. "security": [
  1115. {
  1116. "ApiKeyAuth": []
  1117. }
  1118. ],
  1119. "produces": [
  1120. "application/json"
  1121. ],
  1122. "tags": [
  1123. "企业风险管理(app)"
  1124. ],
  1125. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1126. "parameters": [
  1127. {
  1128. "type": "integer",
  1129. "description": "用户ID",
  1130. "name": "userid",
  1131. "in": "query",
  1132. "required": true
  1133. },
  1134. {
  1135. "type": "integer",
  1136. "description": "现货商品id",
  1137. "name": "wrstandardid",
  1138. "in": "query",
  1139. "required": true
  1140. },
  1141. {
  1142. "type": "string",
  1143. "description": "交易日(格式:yyyyMMdd)",
  1144. "name": "tradedate",
  1145. "in": "query",
  1146. "required": true
  1147. }
  1148. ],
  1149. "responses": {
  1150. "200": {
  1151. "description": "OK",
  1152. "schema": {
  1153. "type": "array",
  1154. "items": {
  1155. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1156. }
  1157. }
  1158. },
  1159. "500": {
  1160. "description": "Internal Server Error",
  1161. "schema": {
  1162. "$ref": "#/definitions/app.Response"
  1163. }
  1164. }
  1165. }
  1166. }
  1167. },
  1168. "/Ermcp/QryReportMonthFinance": {
  1169. "get": {
  1170. "security": [
  1171. {
  1172. "ApiKeyAuth": []
  1173. }
  1174. ],
  1175. "produces": [
  1176. "application/json"
  1177. ],
  1178. "tags": [
  1179. "企业风险管理(app)"
  1180. ],
  1181. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1182. "parameters": [
  1183. {
  1184. "type": "integer",
  1185. "description": "用户ID",
  1186. "name": "userid",
  1187. "in": "query",
  1188. "required": true
  1189. },
  1190. {
  1191. "type": "string",
  1192. "description": "周期时间:月(格式:yyyyMM)",
  1193. "name": "cycletime",
  1194. "in": "query",
  1195. "required": true
  1196. }
  1197. ],
  1198. "responses": {
  1199. "200": {
  1200. "description": "OK",
  1201. "schema": {
  1202. "type": "array",
  1203. "items": {
  1204. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1205. }
  1206. }
  1207. },
  1208. "500": {
  1209. "description": "Internal Server Error",
  1210. "schema": {
  1211. "$ref": "#/definitions/app.Response"
  1212. }
  1213. }
  1214. }
  1215. }
  1216. },
  1217. "/Ermcp/QryReportMonthSpot": {
  1218. "get": {
  1219. "security": [
  1220. {
  1221. "ApiKeyAuth": []
  1222. }
  1223. ],
  1224. "produces": [
  1225. "application/json"
  1226. ],
  1227. "tags": [
  1228. "企业风险管理(app)"
  1229. ],
  1230. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1231. "parameters": [
  1232. {
  1233. "type": "integer",
  1234. "description": "用户ID",
  1235. "name": "userid",
  1236. "in": "query",
  1237. "required": true
  1238. },
  1239. {
  1240. "type": "string",
  1241. "description": "周期时间:月(格式:yyyyMM)",
  1242. "name": "cycletime",
  1243. "in": "query",
  1244. "required": true
  1245. }
  1246. ],
  1247. "responses": {
  1248. "200": {
  1249. "description": "OK",
  1250. "schema": {
  1251. "type": "array",
  1252. "items": {
  1253. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1254. }
  1255. }
  1256. },
  1257. "500": {
  1258. "description": "Internal Server Error",
  1259. "schema": {
  1260. "$ref": "#/definitions/app.Response"
  1261. }
  1262. }
  1263. }
  1264. }
  1265. },
  1266. "/Ermcp/QryReportMonthSpotDetail": {
  1267. "get": {
  1268. "security": [
  1269. {
  1270. "ApiKeyAuth": []
  1271. }
  1272. ],
  1273. "produces": [
  1274. "application/json"
  1275. ],
  1276. "tags": [
  1277. "企业风险管理(app)"
  1278. ],
  1279. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1280. "parameters": [
  1281. {
  1282. "type": "integer",
  1283. "description": "用户ID",
  1284. "name": "userid",
  1285. "in": "query",
  1286. "required": true
  1287. },
  1288. {
  1289. "type": "integer",
  1290. "description": "现货商品id",
  1291. "name": "wrstandardid",
  1292. "in": "query",
  1293. "required": true
  1294. },
  1295. {
  1296. "type": "string",
  1297. "description": "周期时间:月(格式:yyyyMM)",
  1298. "name": "cycletime",
  1299. "in": "query",
  1300. "required": true
  1301. }
  1302. ],
  1303. "responses": {
  1304. "200": {
  1305. "description": "OK",
  1306. "schema": {
  1307. "type": "array",
  1308. "items": {
  1309. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1310. }
  1311. }
  1312. },
  1313. "500": {
  1314. "description": "Internal Server Error",
  1315. "schema": {
  1316. "$ref": "#/definitions/app.Response"
  1317. }
  1318. }
  1319. }
  1320. }
  1321. },
  1322. "/Ermcp/QueryAreaStock": {
  1323. "get": {
  1324. "security": [
  1325. {
  1326. "ApiKeyAuth": []
  1327. }
  1328. ],
  1329. "produces": [
  1330. "application/json"
  1331. ],
  1332. "tags": [
  1333. "企业风险管理(app)"
  1334. ],
  1335. "summary": "查询机构库存(库存管理/当前库存)",
  1336. "parameters": [
  1337. {
  1338. "type": "integer",
  1339. "description": "用户ID",
  1340. "name": "userid",
  1341. "in": "query",
  1342. "required": true
  1343. }
  1344. ],
  1345. "responses": {
  1346. "200": {
  1347. "description": "OK",
  1348. "schema": {
  1349. "type": "array",
  1350. "items": {
  1351. "$ref": "#/definitions/models.ErmcpAreaStock"
  1352. }
  1353. }
  1354. },
  1355. "500": {
  1356. "description": "Internal Server Error",
  1357. "schema": {
  1358. "$ref": "#/definitions/app.Response"
  1359. }
  1360. }
  1361. }
  1362. }
  1363. },
  1364. "/Ermcp/QueryAreaStockApply": {
  1365. "get": {
  1366. "security": [
  1367. {
  1368. "ApiKeyAuth": []
  1369. }
  1370. ],
  1371. "produces": [
  1372. "application/json"
  1373. ],
  1374. "tags": [
  1375. "企业风险管理(app)"
  1376. ],
  1377. "summary": "查询库存申请(出入库记录|库存审核)",
  1378. "parameters": [
  1379. {
  1380. "type": "integer",
  1381. "description": "用户ID",
  1382. "name": "userid",
  1383. "in": "query",
  1384. "required": true
  1385. },
  1386. {
  1387. "type": "string",
  1388. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1389. "name": "inouttype",
  1390. "in": "query"
  1391. },
  1392. {
  1393. "type": "integer",
  1394. "description": "合同ID",
  1395. "name": "spotcontractid",
  1396. "in": "query"
  1397. },
  1398. {
  1399. "type": "integer",
  1400. "description": "现货商品ID",
  1401. "name": "wrstandardid",
  1402. "in": "query"
  1403. },
  1404. {
  1405. "type": "integer",
  1406. "description": "品牌ID",
  1407. "name": "spotgoodsbrandid",
  1408. "in": "query"
  1409. },
  1410. {
  1411. "type": "integer",
  1412. "description": "型号ID",
  1413. "name": "spotgoodsmodelid",
  1414. "in": "query"
  1415. },
  1416. {
  1417. "type": "integer",
  1418. "description": "仓库ID",
  1419. "name": "warehouseinfoid",
  1420. "in": "query"
  1421. },
  1422. {
  1423. "type": "string",
  1424. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1425. "name": "applystatus",
  1426. "in": "query"
  1427. }
  1428. ],
  1429. "responses": {
  1430. "200": {
  1431. "description": "OK",
  1432. "schema": {
  1433. "type": "array",
  1434. "items": {
  1435. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1436. }
  1437. }
  1438. },
  1439. "500": {
  1440. "description": "Internal Server Error",
  1441. "schema": {
  1442. "$ref": "#/definitions/app.Response"
  1443. }
  1444. }
  1445. }
  1446. }
  1447. },
  1448. "/Ermcp/QueryAreaStockApplySum": {
  1449. "get": {
  1450. "security": [
  1451. {
  1452. "ApiKeyAuth": []
  1453. }
  1454. ],
  1455. "produces": [
  1456. "application/json"
  1457. ],
  1458. "tags": [
  1459. "企业风险管理(app)"
  1460. ],
  1461. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1462. "parameters": [
  1463. {
  1464. "type": "integer",
  1465. "description": "合同ID",
  1466. "name": "spotcontractid",
  1467. "in": "query"
  1468. }
  1469. ],
  1470. "responses": {
  1471. "200": {
  1472. "description": "OK",
  1473. "schema": {
  1474. "type": "array",
  1475. "items": {
  1476. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1477. }
  1478. }
  1479. },
  1480. "500": {
  1481. "description": "Internal Server Error",
  1482. "schema": {
  1483. "$ref": "#/definitions/app.Response"
  1484. }
  1485. }
  1486. }
  1487. }
  1488. },
  1489. "/Ermcp/QueryAvaildGoodsGroup": {
  1490. "get": {
  1491. "security": [
  1492. {
  1493. "ApiKeyAuth": []
  1494. }
  1495. ],
  1496. "produces": [
  1497. "application/json"
  1498. ],
  1499. "tags": [
  1500. "企业风险管理(app)"
  1501. ],
  1502. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1503. "parameters": [
  1504. {
  1505. "type": "integer",
  1506. "description": "所属机构ID",
  1507. "name": "userid",
  1508. "in": "query",
  1509. "required": true
  1510. }
  1511. ],
  1512. "responses": {
  1513. "200": {
  1514. "description": "OK",
  1515. "schema": {
  1516. "type": "array",
  1517. "items": {
  1518. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1519. }
  1520. }
  1521. },
  1522. "500": {
  1523. "description": "Internal Server Error",
  1524. "schema": {
  1525. "$ref": "#/definitions/app.Response"
  1526. }
  1527. }
  1528. }
  1529. }
  1530. },
  1531. "/Ermcp/QueryBusinessDj": {
  1532. "get": {
  1533. "security": [
  1534. {
  1535. "ApiKeyAuth": []
  1536. }
  1537. ],
  1538. "produces": [
  1539. "application/json"
  1540. ],
  1541. "tags": [
  1542. "企业风险管理(app)"
  1543. ],
  1544. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1545. "parameters": [
  1546. {
  1547. "type": "integer",
  1548. "description": "用户ID",
  1549. "name": "UserId",
  1550. "in": "query",
  1551. "required": true
  1552. },
  1553. {
  1554. "type": "string",
  1555. "description": "现货合同ID, 不填则查所有",
  1556. "name": "relatedid",
  1557. "in": "query"
  1558. }
  1559. ],
  1560. "responses": {
  1561. "200": {
  1562. "description": "OK",
  1563. "schema": {
  1564. "type": "array",
  1565. "items": {
  1566. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1567. }
  1568. }
  1569. },
  1570. "500": {
  1571. "description": "Internal Server Error",
  1572. "schema": {
  1573. "$ref": "#/definitions/app.Response"
  1574. }
  1575. }
  1576. }
  1577. }
  1578. },
  1579. "/Ermcp/QueryBusinessFp": {
  1580. "get": {
  1581. "security": [
  1582. {
  1583. "ApiKeyAuth": []
  1584. }
  1585. ],
  1586. "produces": [
  1587. "application/json"
  1588. ],
  1589. "tags": [
  1590. "企业风险管理(app)"
  1591. ],
  1592. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1593. "parameters": [
  1594. {
  1595. "type": "integer",
  1596. "description": "用户ID",
  1597. "name": "UserId",
  1598. "in": "query",
  1599. "required": true
  1600. },
  1601. {
  1602. "type": "string",
  1603. "description": "现货合同ID, 不填则查所有",
  1604. "name": "relatedid",
  1605. "in": "query"
  1606. }
  1607. ],
  1608. "responses": {
  1609. "200": {
  1610. "description": "OK",
  1611. "schema": {
  1612. "type": "array",
  1613. "items": {
  1614. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1615. }
  1616. }
  1617. },
  1618. "500": {
  1619. "description": "Internal Server Error",
  1620. "schema": {
  1621. "$ref": "#/definitions/app.Response"
  1622. }
  1623. }
  1624. }
  1625. }
  1626. },
  1627. "/Ermcp/QueryBusinessJs": {
  1628. "get": {
  1629. "security": [
  1630. {
  1631. "ApiKeyAuth": []
  1632. }
  1633. ],
  1634. "produces": [
  1635. "application/json"
  1636. ],
  1637. "tags": [
  1638. "企业风险管理(app)"
  1639. ],
  1640. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1641. "parameters": [
  1642. {
  1643. "type": "integer",
  1644. "description": "用户ID",
  1645. "name": "UserId",
  1646. "in": "query",
  1647. "required": true
  1648. },
  1649. {
  1650. "type": "string",
  1651. "description": "现货合同ID, 不填则查所有",
  1652. "name": "relatedid",
  1653. "in": "query"
  1654. }
  1655. ],
  1656. "responses": {
  1657. "200": {
  1658. "description": "OK",
  1659. "schema": {
  1660. "type": "array",
  1661. "items": {
  1662. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1663. }
  1664. }
  1665. },
  1666. "500": {
  1667. "description": "Internal Server Error",
  1668. "schema": {
  1669. "$ref": "#/definitions/app.Response"
  1670. }
  1671. }
  1672. }
  1673. }
  1674. },
  1675. "/Ermcp/QueryBusinessJsEx": {
  1676. "get": {
  1677. "security": [
  1678. {
  1679. "ApiKeyAuth": []
  1680. }
  1681. ],
  1682. "produces": [
  1683. "application/json"
  1684. ],
  1685. "tags": [
  1686. "企业风险管理(app)"
  1687. ],
  1688. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1689. "parameters": [
  1690. {
  1691. "type": "integer",
  1692. "description": "用户ID",
  1693. "name": "UserId",
  1694. "in": "query",
  1695. "required": true
  1696. },
  1697. {
  1698. "type": "string",
  1699. "description": "现货合同ID, 不填则查所有",
  1700. "name": "relatedid",
  1701. "in": "query"
  1702. }
  1703. ],
  1704. "responses": {
  1705. "200": {
  1706. "description": "OK",
  1707. "schema": {
  1708. "type": "array",
  1709. "items": {
  1710. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1711. }
  1712. }
  1713. },
  1714. "500": {
  1715. "description": "Internal Server Error",
  1716. "schema": {
  1717. "$ref": "#/definitions/app.Response"
  1718. }
  1719. }
  1720. }
  1721. }
  1722. },
  1723. "/Ermcp/QueryBusinessKx": {
  1724. "get": {
  1725. "security": [
  1726. {
  1727. "ApiKeyAuth": []
  1728. }
  1729. ],
  1730. "produces": [
  1731. "application/json"
  1732. ],
  1733. "tags": [
  1734. "企业风险管理(app)"
  1735. ],
  1736. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1737. "parameters": [
  1738. {
  1739. "type": "integer",
  1740. "description": "用户ID",
  1741. "name": "UserId",
  1742. "in": "query",
  1743. "required": true
  1744. },
  1745. {
  1746. "type": "string",
  1747. "description": "现货合同ID, 不填则查所有",
  1748. "name": "relatedid",
  1749. "in": "query"
  1750. }
  1751. ],
  1752. "responses": {
  1753. "200": {
  1754. "description": "OK",
  1755. "schema": {
  1756. "type": "array",
  1757. "items": {
  1758. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1759. }
  1760. }
  1761. },
  1762. "500": {
  1763. "description": "Internal Server Error",
  1764. "schema": {
  1765. "$ref": "#/definitions/app.Response"
  1766. }
  1767. }
  1768. }
  1769. }
  1770. },
  1771. "/Ermcp/QueryChangeLog": {
  1772. "get": {
  1773. "security": [
  1774. {
  1775. "ApiKeyAuth": []
  1776. }
  1777. ],
  1778. "produces": [
  1779. "application/json"
  1780. ],
  1781. "tags": [
  1782. "企业风险管理(app)"
  1783. ],
  1784. "summary": "查询变更记录",
  1785. "parameters": [
  1786. {
  1787. "type": "string",
  1788. "description": "合同ID",
  1789. "name": "RelatedId",
  1790. "in": "query",
  1791. "required": true
  1792. }
  1793. ],
  1794. "responses": {
  1795. "200": {
  1796. "description": "OK",
  1797. "schema": {
  1798. "type": "array",
  1799. "items": {
  1800. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1801. }
  1802. }
  1803. },
  1804. "500": {
  1805. "description": "Internal Server Error",
  1806. "schema": {
  1807. "$ref": "#/definitions/app.Response"
  1808. }
  1809. }
  1810. }
  1811. }
  1812. },
  1813. "/Ermcp/QueryContract": {
  1814. "get": {
  1815. "security": [
  1816. {
  1817. "ApiKeyAuth": []
  1818. }
  1819. ],
  1820. "produces": [
  1821. "application/json"
  1822. ],
  1823. "tags": [
  1824. "企业风险管理(app)"
  1825. ],
  1826. "summary": "查询合同(采购和销售)",
  1827. "parameters": [
  1828. {
  1829. "type": "integer",
  1830. "description": "用户ID",
  1831. "name": "userId",
  1832. "in": "query",
  1833. "required": true
  1834. },
  1835. {
  1836. "type": "integer",
  1837. "description": "合同类型 1-采购, -1-销售",
  1838. "name": "contracttype",
  1839. "in": "query",
  1840. "required": true
  1841. },
  1842. {
  1843. "type": "integer",
  1844. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1845. "name": "querytype",
  1846. "in": "query",
  1847. "required": true
  1848. }
  1849. ],
  1850. "responses": {
  1851. "200": {
  1852. "description": "OK",
  1853. "schema": {
  1854. "type": "array",
  1855. "items": {
  1856. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1857. }
  1858. }
  1859. },
  1860. "500": {
  1861. "description": "Internal Server Error",
  1862. "schema": {
  1863. "$ref": "#/definitions/app.Response"
  1864. }
  1865. }
  1866. }
  1867. }
  1868. },
  1869. "/Ermcp/QueryErmcpHisOrderDetails": {
  1870. "get": {
  1871. "security": [
  1872. {
  1873. "ApiKeyAuth": []
  1874. }
  1875. ],
  1876. "produces": [
  1877. "application/json"
  1878. ],
  1879. "tags": [
  1880. "企业风险管理(app)"
  1881. ],
  1882. "summary": "获取企业风管期货历史委托单信息",
  1883. "parameters": [
  1884. {
  1885. "type": "integer",
  1886. "description": "资金账户ID",
  1887. "name": "accountID",
  1888. "in": "query",
  1889. "required": true
  1890. },
  1891. {
  1892. "type": "string",
  1893. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1894. "name": "startDate",
  1895. "in": "query"
  1896. },
  1897. {
  1898. "type": "string",
  1899. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1900. "name": "endDate",
  1901. "in": "query"
  1902. }
  1903. ],
  1904. "responses": {
  1905. "200": {
  1906. "description": "OK",
  1907. "schema": {
  1908. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1909. }
  1910. },
  1911. "500": {
  1912. "description": "Internal Server Error",
  1913. "schema": {
  1914. "$ref": "#/definitions/app.Response"
  1915. }
  1916. }
  1917. }
  1918. }
  1919. },
  1920. "/Ermcp/QueryErmcpHisTradeDetails": {
  1921. "get": {
  1922. "security": [
  1923. {
  1924. "ApiKeyAuth": []
  1925. }
  1926. ],
  1927. "produces": [
  1928. "application/json"
  1929. ],
  1930. "tags": [
  1931. "企业风险管理(app)"
  1932. ],
  1933. "summary": "获取企业风管期货历史成交单信息",
  1934. "parameters": [
  1935. {
  1936. "type": "integer",
  1937. "description": "资金账户ID",
  1938. "name": "accountID",
  1939. "in": "query",
  1940. "required": true
  1941. },
  1942. {
  1943. "type": "integer",
  1944. "description": "商品ID",
  1945. "name": "goodsID",
  1946. "in": "query"
  1947. },
  1948. {
  1949. "type": "integer",
  1950. "description": "买卖方向,0:买 1:卖",
  1951. "name": "buyOrSell",
  1952. "in": "query"
  1953. },
  1954. {
  1955. "type": "string",
  1956. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1957. "name": "startDate",
  1958. "in": "query"
  1959. },
  1960. {
  1961. "type": "string",
  1962. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1963. "name": "endDate",
  1964. "in": "query"
  1965. }
  1966. ],
  1967. "responses": {
  1968. "200": {
  1969. "description": "OK",
  1970. "schema": {
  1971. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1972. }
  1973. },
  1974. "500": {
  1975. "description": "Internal Server Error",
  1976. "schema": {
  1977. "$ref": "#/definitions/app.Response"
  1978. }
  1979. }
  1980. }
  1981. }
  1982. },
  1983. "/Ermcp/QueryErmcpOrderDetails": {
  1984. "get": {
  1985. "security": [
  1986. {
  1987. "ApiKeyAuth": []
  1988. }
  1989. ],
  1990. "produces": [
  1991. "application/json"
  1992. ],
  1993. "tags": [
  1994. "企业风险管理(app)"
  1995. ],
  1996. "summary": "获取企业风管期货委托单信息",
  1997. "parameters": [
  1998. {
  1999. "type": "integer",
  2000. "description": "资金账户ID",
  2001. "name": "accountID",
  2002. "in": "query",
  2003. "required": true
  2004. }
  2005. ],
  2006. "responses": {
  2007. "200": {
  2008. "description": "OK",
  2009. "schema": {
  2010. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2011. }
  2012. },
  2013. "500": {
  2014. "description": "Internal Server Error",
  2015. "schema": {
  2016. "$ref": "#/definitions/app.Response"
  2017. }
  2018. }
  2019. }
  2020. }
  2021. },
  2022. "/Ermcp/QueryErmcpTradeDetails": {
  2023. "get": {
  2024. "security": [
  2025. {
  2026. "ApiKeyAuth": []
  2027. }
  2028. ],
  2029. "produces": [
  2030. "application/json"
  2031. ],
  2032. "tags": [
  2033. "企业风险管理(app)"
  2034. ],
  2035. "summary": "获取企业风管期货成交单信息",
  2036. "parameters": [
  2037. {
  2038. "type": "integer",
  2039. "description": "资金账户ID",
  2040. "name": "accountID",
  2041. "in": "query",
  2042. "required": true
  2043. },
  2044. {
  2045. "type": "integer",
  2046. "description": "商品ID",
  2047. "name": "goodsID",
  2048. "in": "query"
  2049. },
  2050. {
  2051. "type": "integer",
  2052. "description": "买卖方向,0:买 1:卖",
  2053. "name": "buyOrSell",
  2054. "in": "query"
  2055. }
  2056. ],
  2057. "responses": {
  2058. "200": {
  2059. "description": "OK",
  2060. "schema": {
  2061. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2062. }
  2063. },
  2064. "500": {
  2065. "description": "Internal Server Error",
  2066. "schema": {
  2067. "$ref": "#/definitions/app.Response"
  2068. }
  2069. }
  2070. }
  2071. }
  2072. },
  2073. "/Ermcp/QueryErmcpTradePosition": {
  2074. "get": {
  2075. "security": [
  2076. {
  2077. "ApiKeyAuth": []
  2078. }
  2079. ],
  2080. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2081. "produces": [
  2082. "application/json"
  2083. ],
  2084. "tags": [
  2085. "企业风险管理(app)"
  2086. ],
  2087. "summary": "获取企业风管期货持仓头寸信息",
  2088. "parameters": [
  2089. {
  2090. "type": "integer",
  2091. "description": "资金账户ID",
  2092. "name": "accountID",
  2093. "in": "query",
  2094. "required": true
  2095. },
  2096. {
  2097. "type": "integer",
  2098. "description": "所属市场ID",
  2099. "name": "marketID",
  2100. "in": "query"
  2101. }
  2102. ],
  2103. "responses": {
  2104. "200": {
  2105. "description": "OK",
  2106. "schema": {
  2107. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2108. }
  2109. },
  2110. "500": {
  2111. "description": "Internal Server Error",
  2112. "schema": {
  2113. "$ref": "#/definitions/app.Response"
  2114. }
  2115. }
  2116. }
  2117. }
  2118. },
  2119. "/Ermcp/QueryExposureDetail": {
  2120. "get": {
  2121. "security": [
  2122. {
  2123. "ApiKeyAuth": []
  2124. }
  2125. ],
  2126. "produces": [
  2127. "application/json"
  2128. ],
  2129. "tags": [
  2130. "企业风险管理(app)"
  2131. ],
  2132. "summary": "查询敞口现货明细",
  2133. "parameters": [
  2134. {
  2135. "type": "integer",
  2136. "description": "所属机构ID",
  2137. "name": "areaUserId",
  2138. "in": "query",
  2139. "required": true
  2140. },
  2141. {
  2142. "type": "integer",
  2143. "description": "套保商品",
  2144. "name": "middleGoodsId",
  2145. "in": "query",
  2146. "required": true
  2147. }
  2148. ],
  2149. "responses": {
  2150. "200": {
  2151. "description": "OK",
  2152. "schema": {
  2153. "type": "array",
  2154. "items": {
  2155. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2156. }
  2157. }
  2158. },
  2159. "500": {
  2160. "description": "Internal Server Error",
  2161. "schema": {
  2162. "$ref": "#/definitions/app.Response"
  2163. }
  2164. }
  2165. }
  2166. }
  2167. },
  2168. "/Ermcp/QueryExposureHedgePosition": {
  2169. "get": {
  2170. "security": [
  2171. {
  2172. "ApiKeyAuth": []
  2173. }
  2174. ],
  2175. "produces": [
  2176. "application/json"
  2177. ],
  2178. "tags": [
  2179. "企业风险管理(app)"
  2180. ],
  2181. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2182. "parameters": [
  2183. {
  2184. "type": "integer",
  2185. "description": "所属机构ID",
  2186. "name": "areaUserId",
  2187. "in": "query",
  2188. "required": true
  2189. }
  2190. ],
  2191. "responses": {
  2192. "200": {
  2193. "description": "OK",
  2194. "schema": {
  2195. "type": "array",
  2196. "items": {
  2197. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2198. }
  2199. }
  2200. },
  2201. "500": {
  2202. "description": "Internal Server Error",
  2203. "schema": {
  2204. "$ref": "#/definitions/app.Response"
  2205. }
  2206. }
  2207. }
  2208. }
  2209. },
  2210. "/Ermcp/QueryExposureHedgePositionDetail": {
  2211. "get": {
  2212. "security": [
  2213. {
  2214. "ApiKeyAuth": []
  2215. }
  2216. ],
  2217. "produces": [
  2218. "application/json"
  2219. ],
  2220. "tags": [
  2221. "企业风险管理(app)"
  2222. ],
  2223. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2224. "parameters": [
  2225. {
  2226. "type": "integer",
  2227. "description": "所属机构ID",
  2228. "name": "areaUserId",
  2229. "in": "query",
  2230. "required": true
  2231. },
  2232. {
  2233. "type": "integer",
  2234. "description": "商品id",
  2235. "name": "goodsId",
  2236. "in": "query",
  2237. "required": true
  2238. }
  2239. ],
  2240. "responses": {
  2241. "200": {
  2242. "description": "OK",
  2243. "schema": {
  2244. "type": "array",
  2245. "items": {
  2246. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2247. }
  2248. }
  2249. },
  2250. "500": {
  2251. "description": "Internal Server Error",
  2252. "schema": {
  2253. "$ref": "#/definitions/app.Response"
  2254. }
  2255. }
  2256. }
  2257. }
  2258. },
  2259. "/Ermcp/QueryExposureSpot": {
  2260. "get": {
  2261. "security": [
  2262. {
  2263. "ApiKeyAuth": []
  2264. }
  2265. ],
  2266. "produces": [
  2267. "application/json"
  2268. ],
  2269. "tags": [
  2270. "企业风险管理(app)"
  2271. ],
  2272. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2273. "parameters": [
  2274. {
  2275. "type": "integer",
  2276. "description": "所属机构ID",
  2277. "name": "areaUserId",
  2278. "in": "query",
  2279. "required": true
  2280. }
  2281. ],
  2282. "responses": {
  2283. "200": {
  2284. "description": "OK",
  2285. "schema": {
  2286. "type": "array",
  2287. "items": {
  2288. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2289. }
  2290. }
  2291. },
  2292. "500": {
  2293. "description": "Internal Server Error",
  2294. "schema": {
  2295. "$ref": "#/definitions/app.Response"
  2296. }
  2297. }
  2298. }
  2299. }
  2300. },
  2301. "/Ermcp/QueryExposureSpotDetail": {
  2302. "get": {
  2303. "security": [
  2304. {
  2305. "ApiKeyAuth": []
  2306. }
  2307. ],
  2308. "produces": [
  2309. "application/json"
  2310. ],
  2311. "tags": [
  2312. "企业风险管理(app)"
  2313. ],
  2314. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2315. "parameters": [
  2316. {
  2317. "type": "integer",
  2318. "description": "所属机构ID",
  2319. "name": "areaUserId",
  2320. "in": "query",
  2321. "required": true
  2322. },
  2323. {
  2324. "type": "integer",
  2325. "description": "现货品种ID",
  2326. "name": "wrstandardId",
  2327. "in": "query",
  2328. "required": true
  2329. }
  2330. ],
  2331. "responses": {
  2332. "200": {
  2333. "description": "OK",
  2334. "schema": {
  2335. "type": "array",
  2336. "items": {
  2337. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2338. }
  2339. }
  2340. },
  2341. "500": {
  2342. "description": "Internal Server Error",
  2343. "schema": {
  2344. "$ref": "#/definitions/app.Response"
  2345. }
  2346. }
  2347. }
  2348. }
  2349. },
  2350. "/Ermcp/QueryGGConvertConfig": {
  2351. "get": {
  2352. "security": [
  2353. {
  2354. "ApiKeyAuth": []
  2355. }
  2356. ],
  2357. "produces": [
  2358. "application/json"
  2359. ],
  2360. "tags": [
  2361. "企业风险管理(app)"
  2362. ],
  2363. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2364. "parameters": [
  2365. {
  2366. "type": "integer",
  2367. "description": "品种id(不填则查所有)",
  2368. "name": "goodsgroupid",
  2369. "in": "query"
  2370. }
  2371. ],
  2372. "responses": {
  2373. "200": {
  2374. "description": "OK",
  2375. "schema": {
  2376. "type": "array",
  2377. "items": {
  2378. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2379. }
  2380. }
  2381. },
  2382. "500": {
  2383. "description": "Internal Server Error",
  2384. "schema": {
  2385. "$ref": "#/definitions/app.Response"
  2386. }
  2387. }
  2388. }
  2389. }
  2390. },
  2391. "/Ermcp/QueryHedgePlan": {
  2392. "get": {
  2393. "security": [
  2394. {
  2395. "ApiKeyAuth": []
  2396. }
  2397. ],
  2398. "produces": [
  2399. "application/json"
  2400. ],
  2401. "tags": [
  2402. "企业风险管理(app)"
  2403. ],
  2404. "summary": "查询套保计划",
  2405. "parameters": [
  2406. {
  2407. "type": "integer",
  2408. "description": "用户ID",
  2409. "name": "userId",
  2410. "in": "query",
  2411. "required": true
  2412. },
  2413. {
  2414. "type": "string",
  2415. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2416. "name": "HedgePlanStatus",
  2417. "in": "query",
  2418. "required": true
  2419. }
  2420. ],
  2421. "responses": {
  2422. "200": {
  2423. "description": "OK",
  2424. "schema": {
  2425. "type": "array",
  2426. "items": {
  2427. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2428. }
  2429. }
  2430. },
  2431. "500": {
  2432. "description": "Internal Server Error",
  2433. "schema": {
  2434. "$ref": "#/definitions/app.Response"
  2435. }
  2436. }
  2437. }
  2438. }
  2439. },
  2440. "/Ermcp/QueryHisExposure": {
  2441. "get": {
  2442. "security": [
  2443. {
  2444. "ApiKeyAuth": []
  2445. }
  2446. ],
  2447. "produces": [
  2448. "application/json"
  2449. ],
  2450. "tags": [
  2451. "企业风险管理(app)"
  2452. ],
  2453. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2454. "parameters": [
  2455. {
  2456. "type": "integer",
  2457. "description": "所属机构ID",
  2458. "name": "areaUserId",
  2459. "in": "query",
  2460. "required": true
  2461. },
  2462. {
  2463. "type": "integer",
  2464. "description": "每个品种记录数",
  2465. "name": "lastNum",
  2466. "in": "query",
  2467. "required": true
  2468. }
  2469. ],
  2470. "responses": {
  2471. "200": {
  2472. "description": "OK",
  2473. "schema": {
  2474. "type": "array",
  2475. "items": {
  2476. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2477. }
  2478. }
  2479. },
  2480. "500": {
  2481. "description": "Internal Server Error",
  2482. "schema": {
  2483. "$ref": "#/definitions/app.Response"
  2484. }
  2485. }
  2486. }
  2487. }
  2488. },
  2489. "/Ermcp/QueryMiddleGoods": {
  2490. "get": {
  2491. "security": [
  2492. {
  2493. "ApiKeyAuth": []
  2494. }
  2495. ],
  2496. "produces": [
  2497. "application/json"
  2498. ],
  2499. "tags": [
  2500. "企业风险管理(app)"
  2501. ],
  2502. "summary": "查询套保品种(菜单:套保品种)",
  2503. "parameters": [
  2504. {
  2505. "type": "integer",
  2506. "description": "所属机构ID",
  2507. "name": "userid",
  2508. "in": "query",
  2509. "required": true
  2510. },
  2511. {
  2512. "type": "integer",
  2513. "description": "状态 0-停用 1-正常",
  2514. "name": "status",
  2515. "in": "query",
  2516. "required": true
  2517. }
  2518. ],
  2519. "responses": {
  2520. "200": {
  2521. "description": "OK",
  2522. "schema": {
  2523. "type": "array",
  2524. "items": {
  2525. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2526. }
  2527. }
  2528. },
  2529. "500": {
  2530. "description": "Internal Server Error",
  2531. "schema": {
  2532. "$ref": "#/definitions/app.Response"
  2533. }
  2534. }
  2535. }
  2536. }
  2537. },
  2538. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2539. "get": {
  2540. "security": [
  2541. {
  2542. "ApiKeyAuth": []
  2543. }
  2544. ],
  2545. "produces": [
  2546. "application/json"
  2547. ],
  2548. "tags": [
  2549. "企业风险管理(app)"
  2550. ],
  2551. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2552. "parameters": [
  2553. {
  2554. "type": "integer",
  2555. "description": "所属机构ID",
  2556. "name": "userid",
  2557. "in": "query",
  2558. "required": true
  2559. },
  2560. {
  2561. "type": "integer",
  2562. "description": "套保品种id",
  2563. "name": "middlegoodsid",
  2564. "in": "query",
  2565. "required": true
  2566. }
  2567. ],
  2568. "responses": {
  2569. "200": {
  2570. "description": "OK",
  2571. "schema": {
  2572. "type": "array",
  2573. "items": {
  2574. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2575. }
  2576. }
  2577. },
  2578. "500": {
  2579. "description": "Internal Server Error",
  2580. "schema": {
  2581. "$ref": "#/definitions/app.Response"
  2582. }
  2583. }
  2584. }
  2585. }
  2586. },
  2587. "/Ermcp/QueryMiddleGoodsDetail": {
  2588. "get": {
  2589. "security": [
  2590. {
  2591. "ApiKeyAuth": []
  2592. }
  2593. ],
  2594. "produces": [
  2595. "application/json"
  2596. ],
  2597. "tags": [
  2598. "企业风险管理(app)"
  2599. ],
  2600. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2601. "parameters": [
  2602. {
  2603. "type": "integer",
  2604. "description": "所属机构ID",
  2605. "name": "userid",
  2606. "in": "query",
  2607. "required": true
  2608. },
  2609. {
  2610. "type": "integer",
  2611. "description": "套保品种id",
  2612. "name": "middlegoodsid",
  2613. "in": "query",
  2614. "required": true
  2615. }
  2616. ],
  2617. "responses": {
  2618. "200": {
  2619. "description": "OK",
  2620. "schema": {
  2621. "type": "array",
  2622. "items": {
  2623. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2624. }
  2625. }
  2626. },
  2627. "500": {
  2628. "description": "Internal Server Error",
  2629. "schema": {
  2630. "$ref": "#/definitions/app.Response"
  2631. }
  2632. }
  2633. }
  2634. }
  2635. },
  2636. "/Ermcp/QueryPendingAuditInfo": {
  2637. "get": {
  2638. "security": [
  2639. {
  2640. "ApiKeyAuth": []
  2641. }
  2642. ],
  2643. "produces": [
  2644. "application/json"
  2645. ],
  2646. "tags": [
  2647. "企业风险管理(app)"
  2648. ],
  2649. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2650. "parameters": [
  2651. {
  2652. "type": "integer",
  2653. "description": "用户ID",
  2654. "name": "UserId",
  2655. "in": "query",
  2656. "required": true
  2657. }
  2658. ],
  2659. "responses": {
  2660. "200": {
  2661. "description": "OK",
  2662. "schema": {
  2663. "type": "array",
  2664. "items": {
  2665. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2666. }
  2667. }
  2668. },
  2669. "500": {
  2670. "description": "Internal Server Error",
  2671. "schema": {
  2672. "$ref": "#/definitions/app.Response"
  2673. }
  2674. }
  2675. }
  2676. }
  2677. },
  2678. "/Ermcp/QueryRealtimeExposure": {
  2679. "get": {
  2680. "security": [
  2681. {
  2682. "ApiKeyAuth": []
  2683. }
  2684. ],
  2685. "produces": [
  2686. "application/json"
  2687. ],
  2688. "tags": [
  2689. "企业风险管理(app)"
  2690. ],
  2691. "summary": "查询实时敞口",
  2692. "parameters": [
  2693. {
  2694. "type": "integer",
  2695. "description": "所属机构ID",
  2696. "name": "AreaUserID",
  2697. "in": "query",
  2698. "required": true
  2699. }
  2700. ],
  2701. "responses": {
  2702. "200": {
  2703. "description": "OK",
  2704. "schema": {
  2705. "type": "array",
  2706. "items": {
  2707. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2708. }
  2709. }
  2710. },
  2711. "500": {
  2712. "description": "Internal Server Error",
  2713. "schema": {
  2714. "$ref": "#/definitions/app.Response"
  2715. }
  2716. }
  2717. }
  2718. }
  2719. },
  2720. "/Ermcp/QueryRealtimeExposurePosition": {
  2721. "get": {
  2722. "security": [
  2723. {
  2724. "ApiKeyAuth": []
  2725. }
  2726. ],
  2727. "produces": [
  2728. "application/json"
  2729. ],
  2730. "tags": [
  2731. "企业风险管理(app)"
  2732. ],
  2733. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2734. "parameters": [
  2735. {
  2736. "type": "integer",
  2737. "description": "所属机构ID",
  2738. "name": "areaUserId",
  2739. "in": "query",
  2740. "required": true
  2741. },
  2742. {
  2743. "type": "integer",
  2744. "description": "套保商品ID",
  2745. "name": "middleGoodsId",
  2746. "in": "query",
  2747. "required": true
  2748. }
  2749. ],
  2750. "responses": {
  2751. "200": {
  2752. "description": "OK",
  2753. "schema": {
  2754. "type": "array",
  2755. "items": {
  2756. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2757. }
  2758. }
  2759. },
  2760. "500": {
  2761. "description": "Internal Server Error",
  2762. "schema": {
  2763. "$ref": "#/definitions/app.Response"
  2764. }
  2765. }
  2766. }
  2767. }
  2768. },
  2769. "/Ermcp/QuerySpotContract": {
  2770. "get": {
  2771. "security": [
  2772. {
  2773. "ApiKeyAuth": []
  2774. }
  2775. ],
  2776. "produces": [
  2777. "application/json"
  2778. ],
  2779. "tags": [
  2780. "企业风险管理(app)"
  2781. ],
  2782. "summary": "查询现货合同(对应现货合同菜单)",
  2783. "parameters": [
  2784. {
  2785. "type": "integer",
  2786. "description": "用户ID",
  2787. "name": "userId",
  2788. "in": "query",
  2789. "required": true
  2790. },
  2791. {
  2792. "type": "integer",
  2793. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  2794. "name": "QueryType",
  2795. "in": "query",
  2796. "required": true
  2797. }
  2798. ],
  2799. "responses": {
  2800. "200": {
  2801. "description": "OK",
  2802. "schema": {
  2803. "type": "array",
  2804. "items": {
  2805. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  2806. }
  2807. }
  2808. },
  2809. "500": {
  2810. "description": "Internal Server Error",
  2811. "schema": {
  2812. "$ref": "#/definitions/app.Response"
  2813. }
  2814. }
  2815. }
  2816. }
  2817. },
  2818. "/Ermcp/QueryUserInfo": {
  2819. "get": {
  2820. "security": [
  2821. {
  2822. "ApiKeyAuth": []
  2823. }
  2824. ],
  2825. "produces": [
  2826. "application/json"
  2827. ],
  2828. "tags": [
  2829. "企业风险管理(app)"
  2830. ],
  2831. "summary": "查询客户资料",
  2832. "parameters": [
  2833. {
  2834. "type": "integer",
  2835. "description": "所属机构用户ID",
  2836. "name": "MemberUserID",
  2837. "in": "query",
  2838. "required": true
  2839. },
  2840. {
  2841. "type": "integer",
  2842. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2843. "name": "queryType",
  2844. "in": "query",
  2845. "required": true
  2846. }
  2847. ],
  2848. "responses": {
  2849. "200": {
  2850. "description": "OK",
  2851. "schema": {
  2852. "type": "array",
  2853. "items": {
  2854. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2855. }
  2856. }
  2857. },
  2858. "500": {
  2859. "description": "Internal Server Error",
  2860. "schema": {
  2861. "$ref": "#/definitions/app.Response"
  2862. }
  2863. }
  2864. }
  2865. }
  2866. },
  2867. "/Ermcp/QueryWarehouseInfo": {
  2868. "get": {
  2869. "security": [
  2870. {
  2871. "ApiKeyAuth": []
  2872. }
  2873. ],
  2874. "produces": [
  2875. "application/json"
  2876. ],
  2877. "tags": [
  2878. "企业风险管理(app)"
  2879. ],
  2880. "summary": "查询仓库信息",
  2881. "parameters": [
  2882. {
  2883. "type": "integer",
  2884. "description": "用户ID",
  2885. "name": "userid",
  2886. "in": "query",
  2887. "required": true
  2888. },
  2889. {
  2890. "type": "string",
  2891. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2892. "name": "status",
  2893. "in": "query"
  2894. }
  2895. ],
  2896. "responses": {
  2897. "200": {
  2898. "description": "OK",
  2899. "schema": {
  2900. "type": "array",
  2901. "items": {
  2902. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2903. }
  2904. }
  2905. },
  2906. "500": {
  2907. "description": "Internal Server Error",
  2908. "schema": {
  2909. "$ref": "#/definitions/app.Response"
  2910. }
  2911. }
  2912. }
  2913. }
  2914. },
  2915. "/Ermcp/QueryWrStandard": {
  2916. "get": {
  2917. "security": [
  2918. {
  2919. "ApiKeyAuth": []
  2920. }
  2921. ],
  2922. "produces": [
  2923. "application/json"
  2924. ],
  2925. "tags": [
  2926. "企业风险管理(app)"
  2927. ],
  2928. "summary": "查询现货商品",
  2929. "parameters": [
  2930. {
  2931. "type": "integer",
  2932. "description": "所属机构ID",
  2933. "name": "userid",
  2934. "in": "query",
  2935. "required": true
  2936. },
  2937. {
  2938. "type": "integer",
  2939. "description": "状态 0-停用 1-正常",
  2940. "name": "status",
  2941. "in": "query",
  2942. "required": true
  2943. }
  2944. ],
  2945. "responses": {
  2946. "200": {
  2947. "description": "OK",
  2948. "schema": {
  2949. "type": "array",
  2950. "items": {
  2951. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  2952. }
  2953. }
  2954. },
  2955. "500": {
  2956. "description": "Internal Server Error",
  2957. "schema": {
  2958. "$ref": "#/definitions/app.Response"
  2959. }
  2960. }
  2961. }
  2962. }
  2963. },
  2964. "/Ermcp/QueryWrStandardDetail": {
  2965. "get": {
  2966. "security": [
  2967. {
  2968. "ApiKeyAuth": []
  2969. }
  2970. ],
  2971. "produces": [
  2972. "application/json"
  2973. ],
  2974. "tags": [
  2975. "企业风险管理(app)"
  2976. ],
  2977. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  2978. "parameters": [
  2979. {
  2980. "type": "integer",
  2981. "description": "所属机构ID",
  2982. "name": "userid",
  2983. "in": "query",
  2984. "required": true
  2985. },
  2986. {
  2987. "type": "integer",
  2988. "description": "现货商品ID",
  2989. "name": "wrstandardid",
  2990. "in": "query",
  2991. "required": true
  2992. },
  2993. {
  2994. "type": "integer",
  2995. "description": "可不填, 1-查询关联交易商品",
  2996. "name": "goods",
  2997. "in": "query"
  2998. }
  2999. ],
  3000. "responses": {
  3001. "200": {
  3002. "description": "OK",
  3003. "schema": {
  3004. "type": "array",
  3005. "items": {
  3006. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  3007. }
  3008. }
  3009. },
  3010. "500": {
  3011. "description": "Internal Server Error",
  3012. "schema": {
  3013. "$ref": "#/definitions/app.Response"
  3014. }
  3015. }
  3016. }
  3017. }
  3018. },
  3019. "/Erms2/QueryArbitrageStrategy": {
  3020. "get": {
  3021. "security": [
  3022. {
  3023. "ApiKeyAuth": []
  3024. }
  3025. ],
  3026. "produces": [
  3027. "application/json"
  3028. ],
  3029. "tags": [
  3030. "风险管理"
  3031. ],
  3032. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  3033. "parameters": [
  3034. {
  3035. "type": "integer",
  3036. "description": "账户ID",
  3037. "name": "userid",
  3038. "in": "query",
  3039. "required": true
  3040. },
  3041. {
  3042. "type": "string",
  3043. "description": "商品组ID(品种ID)",
  3044. "name": "goodsgroupid",
  3045. "in": "query"
  3046. }
  3047. ],
  3048. "responses": {
  3049. "200": {
  3050. "description": "OK",
  3051. "schema": {
  3052. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  3053. }
  3054. },
  3055. "500": {
  3056. "description": "Internal Server Error",
  3057. "schema": {
  3058. "$ref": "#/definitions/app.Response"
  3059. }
  3060. }
  3061. }
  3062. }
  3063. },
  3064. "/Erms2/QueryInnerTradeDetail": {
  3065. "get": {
  3066. "security": [
  3067. {
  3068. "ApiKeyAuth": []
  3069. }
  3070. ],
  3071. "produces": [
  3072. "application/json"
  3073. ],
  3074. "tags": [
  3075. "风险管理"
  3076. ],
  3077. "summary": "查询内部成交单信息",
  3078. "parameters": [
  3079. {
  3080. "type": "integer",
  3081. "description": "资金账户",
  3082. "name": "accountid",
  3083. "in": "query",
  3084. "required": true
  3085. }
  3086. ],
  3087. "responses": {
  3088. "200": {
  3089. "description": "OK",
  3090. "schema": {
  3091. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  3092. }
  3093. },
  3094. "500": {
  3095. "description": "Internal Server Error",
  3096. "schema": {
  3097. "$ref": "#/definitions/app.Response"
  3098. }
  3099. }
  3100. }
  3101. }
  3102. },
  3103. "/Erms2/QuerySpotContract": {
  3104. "get": {
  3105. "security": [
  3106. {
  3107. "ApiKeyAuth": []
  3108. }
  3109. ],
  3110. "produces": [
  3111. "application/json"
  3112. ],
  3113. "tags": [
  3114. "风险管理"
  3115. ],
  3116. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  3117. "parameters": [
  3118. {
  3119. "type": "integer",
  3120. "description": "策略申请ID",
  3121. "name": "asapplyid",
  3122. "in": "query",
  3123. "required": true
  3124. },
  3125. {
  3126. "type": "integer",
  3127. "description": "现货合同ID",
  3128. "name": "spotcontractid",
  3129. "in": "query"
  3130. }
  3131. ],
  3132. "responses": {
  3133. "200": {
  3134. "description": "OK",
  3135. "schema": {
  3136. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  3137. }
  3138. },
  3139. "500": {
  3140. "description": "Internal Server Error",
  3141. "schema": {
  3142. "$ref": "#/definitions/app.Response"
  3143. }
  3144. }
  3145. }
  3146. }
  3147. },
  3148. "/Erms3/AddErms2ASApply": {
  3149. "post": {
  3150. "security": [
  3151. {
  3152. "ApiKeyAuth": []
  3153. }
  3154. ],
  3155. "produces": [
  3156. "application/json"
  3157. ],
  3158. "tags": [
  3159. "风险管理v3"
  3160. ],
  3161. "summary": "新增期现套利业务申请",
  3162. "parameters": [
  3163. {
  3164. "description": "申请参数",
  3165. "name": "jsonBody",
  3166. "in": "body",
  3167. "required": true,
  3168. "schema": {
  3169. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  3170. }
  3171. }
  3172. ],
  3173. "responses": {
  3174. "200": {
  3175. "description": "OK",
  3176. "schema": {
  3177. "$ref": "#/definitions/app.Response"
  3178. }
  3179. },
  3180. "500": {
  3181. "description": "Internal Server Error",
  3182. "schema": {
  3183. "$ref": "#/definitions/app.Response"
  3184. }
  3185. }
  3186. }
  3187. }
  3188. },
  3189. "/Erms3/AddErms2SpotTradeApply": {
  3190. "post": {
  3191. "security": [
  3192. {
  3193. "ApiKeyAuth": []
  3194. }
  3195. ],
  3196. "produces": [
  3197. "application/json"
  3198. ],
  3199. "tags": [
  3200. "风险管理v3"
  3201. ],
  3202. "summary": "新增现货贸易业务申请",
  3203. "parameters": [
  3204. {
  3205. "description": "申请参数",
  3206. "name": "jsonBody",
  3207. "in": "body",
  3208. "required": true,
  3209. "schema": {
  3210. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  3211. }
  3212. }
  3213. ],
  3214. "responses": {
  3215. "200": {
  3216. "description": "OK",
  3217. "schema": {
  3218. "$ref": "#/definitions/app.Response"
  3219. }
  3220. },
  3221. "500": {
  3222. "description": "Internal Server Error",
  3223. "schema": {
  3224. "$ref": "#/definitions/app.Response"
  3225. }
  3226. }
  3227. }
  3228. }
  3229. },
  3230. "/Erms3/AddSpotContractApply": {
  3231. "post": {
  3232. "security": [
  3233. {
  3234. "ApiKeyAuth": []
  3235. }
  3236. ],
  3237. "produces": [
  3238. "application/json"
  3239. ],
  3240. "tags": [
  3241. "风险管理v3"
  3242. ],
  3243. "summary": "新增现货合同申请",
  3244. "parameters": [
  3245. {
  3246. "description": "申请参数",
  3247. "name": "jsonBody",
  3248. "in": "body",
  3249. "required": true,
  3250. "schema": {
  3251. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  3252. }
  3253. }
  3254. ],
  3255. "responses": {
  3256. "200": {
  3257. "description": "OK",
  3258. "schema": {
  3259. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  3260. }
  3261. },
  3262. "500": {
  3263. "description": "Internal Server Error",
  3264. "schema": {
  3265. "$ref": "#/definitions/app.Response"
  3266. }
  3267. }
  3268. }
  3269. }
  3270. },
  3271. "/Erms3/AddUserInfoApply": {
  3272. "post": {
  3273. "security": [
  3274. {
  3275. "ApiKeyAuth": []
  3276. }
  3277. ],
  3278. "produces": [
  3279. "application/json"
  3280. ],
  3281. "tags": [
  3282. "风险管理v3"
  3283. ],
  3284. "summary": "新增客户申请",
  3285. "parameters": [
  3286. {
  3287. "description": "用户信息",
  3288. "name": "jsonBody",
  3289. "in": "body",
  3290. "required": true,
  3291. "schema": {
  3292. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  3293. }
  3294. }
  3295. ],
  3296. "responses": {
  3297. "200": {
  3298. "description": "OK",
  3299. "schema": {
  3300. "$ref": "#/definitions/app.Response"
  3301. }
  3302. },
  3303. "500": {
  3304. "description": "Internal Server Error",
  3305. "schema": {
  3306. "$ref": "#/definitions/app.Response"
  3307. }
  3308. }
  3309. }
  3310. }
  3311. },
  3312. "/Erms3/ModifyUserInfoApply": {
  3313. "post": {
  3314. "security": [
  3315. {
  3316. "ApiKeyAuth": []
  3317. }
  3318. ],
  3319. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  3320. "produces": [
  3321. "application/json"
  3322. ],
  3323. "tags": [
  3324. "风险管理v3"
  3325. ],
  3326. "summary": "修改客户申请",
  3327. "parameters": [
  3328. {
  3329. "description": "用户信息",
  3330. "name": "jsonBody",
  3331. "in": "body",
  3332. "required": true,
  3333. "schema": {
  3334. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  3335. }
  3336. }
  3337. ],
  3338. "responses": {
  3339. "200": {
  3340. "description": "OK",
  3341. "schema": {
  3342. "$ref": "#/definitions/app.Response"
  3343. }
  3344. },
  3345. "500": {
  3346. "description": "Internal Server Error",
  3347. "schema": {
  3348. "$ref": "#/definitions/app.Response"
  3349. }
  3350. }
  3351. }
  3352. }
  3353. },
  3354. "/Erms3/QueryBusinessInfo": {
  3355. "get": {
  3356. "security": [
  3357. {
  3358. "ApiKeyAuth": []
  3359. }
  3360. ],
  3361. "produces": [
  3362. "application/json"
  3363. ],
  3364. "tags": [
  3365. "风险管理v3"
  3366. ],
  3367. "summary": "查询业务表单数据",
  3368. "parameters": [
  3369. {
  3370. "type": "string",
  3371. "description": "资金账号ID列表,用逗号分隔",
  3372. "name": "accountids",
  3373. "in": "query",
  3374. "required": true
  3375. },
  3376. {
  3377. "type": "integer",
  3378. "description": "状态,0为未结束 1为已结束",
  3379. "name": "status",
  3380. "in": "query",
  3381. "required": true
  3382. }
  3383. ],
  3384. "responses": {
  3385. "200": {
  3386. "description": "OK",
  3387. "schema": {
  3388. "type": "array",
  3389. "items": {
  3390. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3391. }
  3392. }
  3393. },
  3394. "500": {
  3395. "description": "Internal Server Error",
  3396. "schema": {
  3397. "$ref": "#/definitions/app.Response"
  3398. }
  3399. }
  3400. }
  3401. }
  3402. },
  3403. "/Erms3/QueryPendingAuditContract": {
  3404. "get": {
  3405. "security": [
  3406. {
  3407. "ApiKeyAuth": []
  3408. }
  3409. ],
  3410. "produces": [
  3411. "application/json"
  3412. ],
  3413. "tags": [
  3414. "风险管理v3"
  3415. ],
  3416. "summary": "查询待审核合同",
  3417. "parameters": [
  3418. {
  3419. "type": "string",
  3420. "description": "资金账号ID列表,逗号隔开",
  3421. "name": "accountids",
  3422. "in": "query",
  3423. "required": true
  3424. },
  3425. {
  3426. "type": "integer",
  3427. "description": "合同类型 1-采购 -1-销售",
  3428. "name": "contracttype",
  3429. "in": "query",
  3430. "required": true
  3431. },
  3432. {
  3433. "type": "integer",
  3434. "description": "合同模式 1-普通 2-回购",
  3435. "name": "contractmode",
  3436. "in": "query",
  3437. "required": true
  3438. }
  3439. ],
  3440. "responses": {
  3441. "200": {
  3442. "description": "OK",
  3443. "schema": {
  3444. "type": "array",
  3445. "items": {
  3446. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3447. }
  3448. }
  3449. },
  3450. "500": {
  3451. "description": "Internal Server Error",
  3452. "schema": {
  3453. "$ref": "#/definitions/app.Response"
  3454. }
  3455. }
  3456. }
  3457. }
  3458. },
  3459. "/Erms3/QueryPendingBusiness": {
  3460. "get": {
  3461. "security": [
  3462. {
  3463. "ApiKeyAuth": []
  3464. }
  3465. ],
  3466. "produces": [
  3467. "application/json"
  3468. ],
  3469. "tags": [
  3470. "风险管理v3"
  3471. ],
  3472. "summary": "查询待审核基差贸易业务",
  3473. "parameters": [
  3474. {
  3475. "type": "string",
  3476. "description": "资金账号ID列表,逗号隔开",
  3477. "name": "accountids",
  3478. "in": "query",
  3479. "required": true
  3480. }
  3481. ],
  3482. "responses": {
  3483. "200": {
  3484. "description": "OK",
  3485. "schema": {
  3486. "type": "array",
  3487. "items": {
  3488. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3489. }
  3490. }
  3491. },
  3492. "500": {
  3493. "description": "Internal Server Error",
  3494. "schema": {
  3495. "$ref": "#/definitions/app.Response"
  3496. }
  3497. }
  3498. }
  3499. }
  3500. },
  3501. "/Erms3/QuerySpotContractAppleForm": {
  3502. "get": {
  3503. "security": [
  3504. {
  3505. "ApiKeyAuth": []
  3506. }
  3507. ],
  3508. "produces": [
  3509. "application/json"
  3510. ],
  3511. "tags": [
  3512. "风险管理v3"
  3513. ],
  3514. "summary": "查询合同申请表单数据",
  3515. "parameters": [
  3516. {
  3517. "type": "integer",
  3518. "description": "登录账号",
  3519. "name": "loginID",
  3520. "in": "query",
  3521. "required": true
  3522. }
  3523. ],
  3524. "responses": {
  3525. "200": {
  3526. "description": "OK",
  3527. "schema": {
  3528. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3529. }
  3530. },
  3531. "500": {
  3532. "description": "Internal Server Error",
  3533. "schema": {
  3534. "$ref": "#/definitions/app.Response"
  3535. }
  3536. }
  3537. }
  3538. }
  3539. },
  3540. "/Erms3/QuerySpotContractDetail": {
  3541. "get": {
  3542. "security": [
  3543. {
  3544. "ApiKeyAuth": []
  3545. }
  3546. ],
  3547. "produces": [
  3548. "application/json"
  3549. ],
  3550. "tags": [
  3551. "风险管理v3"
  3552. ],
  3553. "summary": "查询合同详细信息",
  3554. "parameters": [
  3555. {
  3556. "type": "string",
  3557. "description": "资金账号ID列表,用逗号分隔",
  3558. "name": "accountids",
  3559. "in": "query",
  3560. "required": true
  3561. },
  3562. {
  3563. "type": "integer",
  3564. "description": "合同类型,1为采购合同 -1为销售合同",
  3565. "name": "contracttype",
  3566. "in": "query",
  3567. "required": true
  3568. },
  3569. {
  3570. "type": "integer",
  3571. "description": "合同模式,1为普通合同 2为回购销售合同",
  3572. "name": "contractmode",
  3573. "in": "query",
  3574. "required": true
  3575. },
  3576. {
  3577. "type": "integer",
  3578. "description": "状态,0为履约中 1为已完成",
  3579. "name": "status",
  3580. "in": "query",
  3581. "required": true
  3582. }
  3583. ],
  3584. "responses": {
  3585. "200": {
  3586. "description": "OK",
  3587. "schema": {
  3588. "type": "array",
  3589. "items": {
  3590. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3591. }
  3592. }
  3593. },
  3594. "500": {
  3595. "description": "Internal Server Error",
  3596. "schema": {
  3597. "$ref": "#/definitions/app.Response"
  3598. }
  3599. }
  3600. }
  3601. }
  3602. },
  3603. "/Erms3/QueryUserInfoApplies": {
  3604. "get": {
  3605. "security": [
  3606. {
  3607. "ApiKeyAuth": []
  3608. }
  3609. ],
  3610. "produces": [
  3611. "application/json"
  3612. ],
  3613. "tags": [
  3614. "风险管理v3"
  3615. ],
  3616. "summary": "客户申请信息查询",
  3617. "parameters": [
  3618. {
  3619. "type": "integer",
  3620. "description": "页码",
  3621. "name": "page",
  3622. "in": "query"
  3623. },
  3624. {
  3625. "type": "integer",
  3626. "description": "每页条数",
  3627. "name": "pagesize",
  3628. "in": "query"
  3629. },
  3630. {
  3631. "type": "string",
  3632. "description": "客户名称,支持模糊查询",
  3633. "name": "userName",
  3634. "in": "query"
  3635. }
  3636. ],
  3637. "responses": {
  3638. "200": {
  3639. "description": "OK",
  3640. "schema": {
  3641. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3642. }
  3643. },
  3644. "500": {
  3645. "description": "Internal Server Error",
  3646. "schema": {
  3647. "$ref": "#/definitions/app.Response"
  3648. }
  3649. }
  3650. }
  3651. }
  3652. },
  3653. "/Erms3/QueryUserInfos": {
  3654. "get": {
  3655. "security": [
  3656. {
  3657. "ApiKeyAuth": []
  3658. }
  3659. ],
  3660. "produces": [
  3661. "application/json"
  3662. ],
  3663. "tags": [
  3664. "风险管理v3"
  3665. ],
  3666. "summary": "客户信息查询",
  3667. "parameters": [
  3668. {
  3669. "type": "integer",
  3670. "description": "页码",
  3671. "name": "page",
  3672. "in": "query"
  3673. },
  3674. {
  3675. "type": "integer",
  3676. "description": "每页条数",
  3677. "name": "pagesize",
  3678. "in": "query"
  3679. },
  3680. {
  3681. "type": "string",
  3682. "description": "客户名称,支持模糊查询",
  3683. "name": "userName",
  3684. "in": "query"
  3685. }
  3686. ],
  3687. "responses": {
  3688. "200": {
  3689. "description": "OK",
  3690. "schema": {
  3691. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3692. }
  3693. },
  3694. "500": {
  3695. "description": "Internal Server Error",
  3696. "schema": {
  3697. "$ref": "#/definitions/app.Response"
  3698. }
  3699. }
  3700. }
  3701. }
  3702. },
  3703. "/HSBY/GetHsbyMyCount": {
  3704. "get": {
  3705. "security": [
  3706. {
  3707. "ApiKeyAuth": []
  3708. }
  3709. ],
  3710. "description": "说明: 不包括已完成的数量。",
  3711. "produces": [
  3712. "application/json"
  3713. ],
  3714. "tags": [
  3715. "定制【海商报业】"
  3716. ],
  3717. "summary": "获取我的订单与包裹数量",
  3718. "parameters": [
  3719. {
  3720. "type": "string",
  3721. "description": "资金账户列表,格式:1,2,3",
  3722. "name": "accountIDs",
  3723. "in": "query",
  3724. "required": true
  3725. }
  3726. ],
  3727. "responses": {
  3728. "200": {
  3729. "description": "OK",
  3730. "schema": {
  3731. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3732. }
  3733. },
  3734. "500": {
  3735. "description": "Internal Server Error",
  3736. "schema": {
  3737. "$ref": "#/definitions/app.Response"
  3738. }
  3739. }
  3740. }
  3741. }
  3742. },
  3743. "/HSBY/QueryClientFixedADConfigs": {
  3744. "get": {
  3745. "security": [
  3746. {
  3747. "ApiKeyAuth": []
  3748. }
  3749. ],
  3750. "produces": [
  3751. "application/json"
  3752. ],
  3753. "tags": [
  3754. "定制【海商报业】"
  3755. ],
  3756. "summary": "获取终端固定广告配置",
  3757. "responses": {
  3758. "200": {
  3759. "description": "OK",
  3760. "schema": {
  3761. "$ref": "#/definitions/models.Clientfixedadconfig"
  3762. }
  3763. },
  3764. "500": {
  3765. "description": "Internal Server Error",
  3766. "schema": {
  3767. "$ref": "#/definitions/app.Response"
  3768. }
  3769. }
  3770. }
  3771. }
  3772. },
  3773. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  3774. "get": {
  3775. "security": [
  3776. {
  3777. "ApiKeyAuth": []
  3778. }
  3779. ],
  3780. "produces": [
  3781. "application/json"
  3782. ],
  3783. "tags": [
  3784. "定制【海商报业】"
  3785. ],
  3786. "summary": "查询\"我的订单 - 已完成\"单据信息",
  3787. "parameters": [
  3788. {
  3789. "type": "integer",
  3790. "description": "页码",
  3791. "name": "page",
  3792. "in": "query"
  3793. },
  3794. {
  3795. "type": "integer",
  3796. "description": "每页条数",
  3797. "name": "pagesize",
  3798. "in": "query"
  3799. },
  3800. {
  3801. "type": "string",
  3802. "description": "资金账户列表,格式:1,2,3",
  3803. "name": "accountIDs",
  3804. "in": "query",
  3805. "required": true
  3806. }
  3807. ],
  3808. "responses": {
  3809. "200": {
  3810. "description": "OK",
  3811. "schema": {
  3812. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  3813. }
  3814. },
  3815. "500": {
  3816. "description": "Internal Server Error",
  3817. "schema": {
  3818. "$ref": "#/definitions/app.Response"
  3819. }
  3820. }
  3821. }
  3822. }
  3823. },
  3824. "/HSBY/QueryHsbyGoodsOrderDetails": {
  3825. "get": {
  3826. "security": [
  3827. {
  3828. "ApiKeyAuth": []
  3829. }
  3830. ],
  3831. "description": "说明:查询结果已按委托价格和委托时间排序",
  3832. "produces": [
  3833. "application/json"
  3834. ],
  3835. "tags": [
  3836. "定制【海商报业】"
  3837. ],
  3838. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  3839. "parameters": [
  3840. {
  3841. "type": "integer",
  3842. "description": "商品ID",
  3843. "name": "goodsID",
  3844. "in": "query",
  3845. "required": true
  3846. },
  3847. {
  3848. "type": "string",
  3849. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  3850. "name": "accountIDs",
  3851. "in": "query"
  3852. },
  3853. {
  3854. "type": "integer",
  3855. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  3856. "name": "buyOrSell",
  3857. "in": "query"
  3858. },
  3859. {
  3860. "type": "number",
  3861. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  3862. "name": "price",
  3863. "in": "query"
  3864. },
  3865. {
  3866. "type": "integer",
  3867. "description": "档位,不传则默认为3档",
  3868. "name": "speed",
  3869. "in": "query"
  3870. }
  3871. ],
  3872. "responses": {
  3873. "200": {
  3874. "description": "OK",
  3875. "schema": {
  3876. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  3877. }
  3878. },
  3879. "500": {
  3880. "description": "Internal Server Error",
  3881. "schema": {
  3882. "$ref": "#/definitions/app.Response"
  3883. }
  3884. }
  3885. }
  3886. }
  3887. },
  3888. "/HSBY/QueryHsbyListingGoodsDetail": {
  3889. "get": {
  3890. "security": [
  3891. {
  3892. "ApiKeyAuth": []
  3893. }
  3894. ],
  3895. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  3896. "produces": [
  3897. "application/json"
  3898. ],
  3899. "tags": [
  3900. "定制【海商报业】"
  3901. ],
  3902. "summary": "查询二级市场(挂牌点选)商品信息详情",
  3903. "parameters": [
  3904. {
  3905. "type": "integer",
  3906. "description": "商品ID",
  3907. "name": "goodsID",
  3908. "in": "query",
  3909. "required": true
  3910. },
  3911. {
  3912. "type": "integer",
  3913. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  3914. "name": "accountID",
  3915. "in": "query"
  3916. }
  3917. ],
  3918. "responses": {
  3919. "200": {
  3920. "description": "OK",
  3921. "schema": {
  3922. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  3923. }
  3924. },
  3925. "500": {
  3926. "description": "Internal Server Error",
  3927. "schema": {
  3928. "$ref": "#/definitions/app.Response"
  3929. }
  3930. }
  3931. }
  3932. }
  3933. },
  3934. "/HSBY/QueryHsbyMarketGoodsDetail": {
  3935. "get": {
  3936. "security": [
  3937. {
  3938. "ApiKeyAuth": []
  3939. }
  3940. ],
  3941. "produces": [
  3942. "application/json"
  3943. ],
  3944. "tags": [
  3945. "定制【海商报业】"
  3946. ],
  3947. "summary": "查询三级市场(商城)商品信息详情",
  3948. "parameters": [
  3949. {
  3950. "type": "integer",
  3951. "description": "委托单号",
  3952. "name": "orderID",
  3953. "in": "query",
  3954. "required": true
  3955. },
  3956. {
  3957. "type": "integer",
  3958. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  3959. "name": "accountID",
  3960. "in": "query"
  3961. }
  3962. ],
  3963. "responses": {
  3964. "200": {
  3965. "description": "OK",
  3966. "schema": {
  3967. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3968. }
  3969. },
  3970. "500": {
  3971. "description": "Internal Server Error",
  3972. "schema": {
  3973. "$ref": "#/definitions/app.Response"
  3974. }
  3975. }
  3976. }
  3977. }
  3978. },
  3979. "/HSBY/QueryHsbyMarketGoodses": {
  3980. "get": {
  3981. "security": [
  3982. {
  3983. "ApiKeyAuth": []
  3984. }
  3985. ],
  3986. "produces": [
  3987. "application/json"
  3988. ],
  3989. "tags": [
  3990. "定制【海商报业】"
  3991. ],
  3992. "summary": "查询特卖商品列表(三级商城)",
  3993. "parameters": [
  3994. {
  3995. "type": "integer",
  3996. "description": "页码",
  3997. "name": "page",
  3998. "in": "query"
  3999. },
  4000. {
  4001. "type": "integer",
  4002. "description": "每页条数",
  4003. "name": "pagesize",
  4004. "in": "query"
  4005. },
  4006. {
  4007. "type": "string",
  4008. "description": "市场ID列表,格式:1,2,3",
  4009. "name": "marketIDs",
  4010. "in": "query",
  4011. "required": true
  4012. },
  4013. {
  4014. "type": "integer",
  4015. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  4016. "name": "accountID",
  4017. "in": "query",
  4018. "required": true
  4019. },
  4020. {
  4021. "type": "integer",
  4022. "description": "类别ID",
  4023. "name": "categoryID",
  4024. "in": "query"
  4025. },
  4026. {
  4027. "type": "string",
  4028. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4029. "name": "goodsIDs",
  4030. "in": "query"
  4031. },
  4032. {
  4033. "type": "integer",
  4034. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  4035. "name": "couponTypeID",
  4036. "in": "query"
  4037. }
  4038. ],
  4039. "responses": {
  4040. "200": {
  4041. "description": "OK",
  4042. "schema": {
  4043. "$ref": "#/definitions/models.HsbyMarketGoods"
  4044. }
  4045. },
  4046. "500": {
  4047. "description": "Internal Server Error",
  4048. "schema": {
  4049. "$ref": "#/definitions/app.Response"
  4050. }
  4051. }
  4052. }
  4053. }
  4054. },
  4055. "/HSBY/QueryHsbyMarkets": {
  4056. "get": {
  4057. "security": [
  4058. {
  4059. "ApiKeyAuth": []
  4060. }
  4061. ],
  4062. "produces": [
  4063. "application/json"
  4064. ],
  4065. "tags": [
  4066. "定制【海商报业】"
  4067. ],
  4068. "summary": "查询海商报业相关市场信息",
  4069. "responses": {
  4070. "200": {
  4071. "description": "OK",
  4072. "schema": {
  4073. "$ref": "#/definitions/models.HsbyMarketInfo"
  4074. }
  4075. },
  4076. "500": {
  4077. "description": "Internal Server Error",
  4078. "schema": {
  4079. "$ref": "#/definitions/app.Response"
  4080. }
  4081. }
  4082. }
  4083. }
  4084. },
  4085. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  4086. "get": {
  4087. "security": [
  4088. {
  4089. "ApiKeyAuth": []
  4090. }
  4091. ],
  4092. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  4093. "produces": [
  4094. "application/json"
  4095. ],
  4096. "tags": [
  4097. "定制【海商报业】"
  4098. ],
  4099. "summary": "查询“我的订单”信息",
  4100. "parameters": [
  4101. {
  4102. "type": "string",
  4103. "description": "资金账户列表,格式:1,2,3",
  4104. "name": "accountIDs",
  4105. "in": "query",
  4106. "required": true
  4107. }
  4108. ],
  4109. "responses": {
  4110. "200": {
  4111. "description": "OK",
  4112. "schema": {
  4113. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  4114. }
  4115. },
  4116. "500": {
  4117. "description": "Internal Server Error",
  4118. "schema": {
  4119. "$ref": "#/definitions/app.Response"
  4120. }
  4121. }
  4122. }
  4123. }
  4124. },
  4125. "/HSBY/QueryHsbyMyGoods": {
  4126. "get": {
  4127. "security": [
  4128. {
  4129. "ApiKeyAuth": []
  4130. }
  4131. ],
  4132. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  4133. "produces": [
  4134. "application/json"
  4135. ],
  4136. "tags": [
  4137. "定制【海商报业】"
  4138. ],
  4139. "summary": "查询“我的商品”信息",
  4140. "parameters": [
  4141. {
  4142. "type": "string",
  4143. "description": "资金账户列表,格式:1,2,3",
  4144. "name": "accountIDs",
  4145. "in": "query",
  4146. "required": true
  4147. }
  4148. ],
  4149. "responses": {
  4150. "200": {
  4151. "description": "OK",
  4152. "schema": {
  4153. "$ref": "#/definitions/models.HsbyMyGoods"
  4154. }
  4155. },
  4156. "500": {
  4157. "description": "Internal Server Error",
  4158. "schema": {
  4159. "$ref": "#/definitions/app.Response"
  4160. }
  4161. }
  4162. }
  4163. }
  4164. },
  4165. "/HSBY/QueryHsbyMyPackages": {
  4166. "get": {
  4167. "security": [
  4168. {
  4169. "ApiKeyAuth": []
  4170. }
  4171. ],
  4172. "produces": [
  4173. "application/json"
  4174. ],
  4175. "tags": [
  4176. "定制【海商报业】"
  4177. ],
  4178. "summary": "查询我的包裹信息",
  4179. "parameters": [
  4180. {
  4181. "type": "string",
  4182. "description": "资金账户列表,格式:1,2,3",
  4183. "name": "accountIDs",
  4184. "in": "query",
  4185. "required": true
  4186. },
  4187. {
  4188. "type": "integer",
  4189. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4190. "name": "takeOrderStatus",
  4191. "in": "query"
  4192. }
  4193. ],
  4194. "responses": {
  4195. "200": {
  4196. "description": "OK",
  4197. "schema": {
  4198. "$ref": "#/definitions/models.HsbyMyPackage"
  4199. }
  4200. },
  4201. "500": {
  4202. "description": "Internal Server Error",
  4203. "schema": {
  4204. "$ref": "#/definitions/app.Response"
  4205. }
  4206. }
  4207. }
  4208. }
  4209. },
  4210. "/HSBY/QueryHsbyPreGoodsDetail": {
  4211. "get": {
  4212. "security": [
  4213. {
  4214. "ApiKeyAuth": []
  4215. }
  4216. ],
  4217. "produces": [
  4218. "application/json"
  4219. ],
  4220. "tags": [
  4221. "定制【海商报业】"
  4222. ],
  4223. "summary": "查询一级市场(预售)商品信息详情",
  4224. "parameters": [
  4225. {
  4226. "type": "integer",
  4227. "description": "商品ID",
  4228. "name": "goodsID",
  4229. "in": "query",
  4230. "required": true
  4231. },
  4232. {
  4233. "type": "integer",
  4234. "description": "资金账户,主要用于获取预售商品购买上限",
  4235. "name": "accountID",
  4236. "in": "query"
  4237. }
  4238. ],
  4239. "responses": {
  4240. "200": {
  4241. "description": "OK",
  4242. "schema": {
  4243. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  4244. }
  4245. },
  4246. "500": {
  4247. "description": "Internal Server Error",
  4248. "schema": {
  4249. "$ref": "#/definitions/app.Response"
  4250. }
  4251. }
  4252. }
  4253. }
  4254. },
  4255. "/HSBY/QueryHsbyPreGoodses": {
  4256. "get": {
  4257. "security": [
  4258. {
  4259. "ApiKeyAuth": []
  4260. }
  4261. ],
  4262. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  4263. "produces": [
  4264. "application/json"
  4265. ],
  4266. "tags": [
  4267. "定制【海商报业】"
  4268. ],
  4269. "summary": "查询新品上市商品列表(一级市场预售)",
  4270. "parameters": [
  4271. {
  4272. "type": "integer",
  4273. "description": "页码",
  4274. "name": "page",
  4275. "in": "query"
  4276. },
  4277. {
  4278. "type": "integer",
  4279. "description": "每页条数",
  4280. "name": "pagesize",
  4281. "in": "query"
  4282. },
  4283. {
  4284. "type": "string",
  4285. "description": "市场ID列表,格式:1,2,3",
  4286. "name": "marketIDs",
  4287. "in": "query",
  4288. "required": true
  4289. },
  4290. {
  4291. "type": "integer",
  4292. "description": "目的地(省)ID",
  4293. "name": "descProvinceID",
  4294. "in": "query"
  4295. },
  4296. {
  4297. "type": "integer",
  4298. "description": "目的地(市)ID",
  4299. "name": "descCityID",
  4300. "in": "query"
  4301. }
  4302. ],
  4303. "responses": {
  4304. "200": {
  4305. "description": "OK",
  4306. "schema": {
  4307. "$ref": "#/definitions/models.HsbyPreGoods"
  4308. }
  4309. },
  4310. "500": {
  4311. "description": "Internal Server Error",
  4312. "schema": {
  4313. "$ref": "#/definitions/app.Response"
  4314. }
  4315. }
  4316. }
  4317. }
  4318. },
  4319. "/HSBY/QueryHsbySellMyDetails": {
  4320. "get": {
  4321. "security": [
  4322. {
  4323. "ApiKeyAuth": []
  4324. }
  4325. ],
  4326. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  4327. "produces": [
  4328. "application/json"
  4329. ],
  4330. "tags": [
  4331. "定制【海商报业】"
  4332. ],
  4333. "summary": "查询\"我的闲置\"单据信息",
  4334. "parameters": [
  4335. {
  4336. "type": "integer",
  4337. "description": "页码",
  4338. "name": "page",
  4339. "in": "query"
  4340. },
  4341. {
  4342. "type": "integer",
  4343. "description": "每页条数",
  4344. "name": "pagesize",
  4345. "in": "query"
  4346. },
  4347. {
  4348. "type": "string",
  4349. "description": "资金账户列表,格式:1,2,3",
  4350. "name": "accountIDs",
  4351. "in": "query",
  4352. "required": true
  4353. },
  4354. {
  4355. "type": "integer",
  4356. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  4357. "name": "orderType",
  4358. "in": "query"
  4359. }
  4360. ],
  4361. "responses": {
  4362. "200": {
  4363. "description": "OK",
  4364. "schema": {
  4365. "$ref": "#/definitions/models.HsbySellMyDetail"
  4366. }
  4367. },
  4368. "500": {
  4369. "description": "Internal Server Error",
  4370. "schema": {
  4371. "$ref": "#/definitions/app.Response"
  4372. }
  4373. }
  4374. }
  4375. }
  4376. },
  4377. "/HSBY/QueryHsbyTopGoodses": {
  4378. "get": {
  4379. "security": [
  4380. {
  4381. "ApiKeyAuth": []
  4382. }
  4383. ],
  4384. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4385. "produces": [
  4386. "application/json"
  4387. ],
  4388. "tags": [
  4389. "定制【海商报业】"
  4390. ],
  4391. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4392. "parameters": [
  4393. {
  4394. "type": "integer",
  4395. "description": "页码",
  4396. "name": "page",
  4397. "in": "query"
  4398. },
  4399. {
  4400. "type": "integer",
  4401. "description": "每页条数",
  4402. "name": "pagesize",
  4403. "in": "query"
  4404. },
  4405. {
  4406. "type": "string",
  4407. "description": "市场ID列表,格式:1,2,3",
  4408. "name": "marketIDs",
  4409. "in": "query",
  4410. "required": true
  4411. },
  4412. {
  4413. "type": "integer",
  4414. "description": "目的地(省)ID",
  4415. "name": "descProvinceID",
  4416. "in": "query"
  4417. },
  4418. {
  4419. "type": "integer",
  4420. "description": "目的地(市)ID",
  4421. "name": "descCityID",
  4422. "in": "query"
  4423. }
  4424. ],
  4425. "responses": {
  4426. "200": {
  4427. "description": "OK",
  4428. "schema": {
  4429. "$ref": "#/definitions/models.HsbyTopGoods"
  4430. }
  4431. },
  4432. "500": {
  4433. "description": "Internal Server Error",
  4434. "schema": {
  4435. "$ref": "#/definitions/app.Response"
  4436. }
  4437. }
  4438. }
  4439. }
  4440. },
  4441. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4442. "get": {
  4443. "security": [
  4444. {
  4445. "ApiKeyAuth": []
  4446. }
  4447. ],
  4448. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4449. "produces": [
  4450. "application/json"
  4451. ],
  4452. "tags": [
  4453. "定制【海商报业】"
  4454. ],
  4455. "summary": "查询游客三级市场(商城)商品信息详情",
  4456. "parameters": [
  4457. {
  4458. "type": "integer",
  4459. "description": "商品ID",
  4460. "name": "goodsID",
  4461. "in": "query",
  4462. "required": true
  4463. }
  4464. ],
  4465. "responses": {
  4466. "200": {
  4467. "description": "OK",
  4468. "schema": {
  4469. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4470. }
  4471. },
  4472. "500": {
  4473. "description": "Internal Server Error",
  4474. "schema": {
  4475. "$ref": "#/definitions/app.Response"
  4476. }
  4477. }
  4478. }
  4479. }
  4480. },
  4481. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4482. "get": {
  4483. "security": [
  4484. {
  4485. "ApiKeyAuth": []
  4486. }
  4487. ],
  4488. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4489. "produces": [
  4490. "application/json"
  4491. ],
  4492. "tags": [
  4493. "定制【海商报业】"
  4494. ],
  4495. "summary": "查询游客特卖商品列表(三级商城)",
  4496. "parameters": [
  4497. {
  4498. "type": "integer",
  4499. "description": "页码",
  4500. "name": "page",
  4501. "in": "query"
  4502. },
  4503. {
  4504. "type": "integer",
  4505. "description": "每页条数",
  4506. "name": "pagesize",
  4507. "in": "query"
  4508. },
  4509. {
  4510. "type": "string",
  4511. "description": "市场ID列表,格式:1,2,3",
  4512. "name": "marketIDs",
  4513. "in": "query",
  4514. "required": true
  4515. },
  4516. {
  4517. "type": "integer",
  4518. "description": "类别ID",
  4519. "name": "categoryID",
  4520. "in": "query"
  4521. },
  4522. {
  4523. "type": "string",
  4524. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4525. "name": "goodsIDs",
  4526. "in": "query"
  4527. }
  4528. ],
  4529. "responses": {
  4530. "200": {
  4531. "description": "OK",
  4532. "schema": {
  4533. "$ref": "#/definitions/models.HsbyMarketGoods"
  4534. }
  4535. },
  4536. "500": {
  4537. "description": "Internal Server Error",
  4538. "schema": {
  4539. "$ref": "#/definitions/app.Response"
  4540. }
  4541. }
  4542. }
  4543. }
  4544. },
  4545. "/HSBY/QueryMyCollectionOrders": {
  4546. "get": {
  4547. "security": [
  4548. {
  4549. "ApiKeyAuth": []
  4550. }
  4551. ],
  4552. "produces": [
  4553. "application/json"
  4554. ],
  4555. "tags": [
  4556. "定制【海商报业】"
  4557. ],
  4558. "summary": "我的闲置中收款信息查询",
  4559. "parameters": [
  4560. {
  4561. "type": "integer",
  4562. "description": "页码",
  4563. "name": "page",
  4564. "in": "query"
  4565. },
  4566. {
  4567. "type": "integer",
  4568. "description": "每页条数",
  4569. "name": "pagesize",
  4570. "in": "query"
  4571. },
  4572. {
  4573. "type": "string",
  4574. "description": "资金账户,格式:1,2,3",
  4575. "name": "accountIDs",
  4576. "in": "query",
  4577. "required": true
  4578. }
  4579. ],
  4580. "responses": {
  4581. "200": {
  4582. "description": "OK",
  4583. "schema": {
  4584. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4585. }
  4586. },
  4587. "500": {
  4588. "description": "Internal Server Error",
  4589. "schema": {
  4590. "$ref": "#/definitions/app.Response"
  4591. }
  4592. }
  4593. }
  4594. }
  4595. },
  4596. "/HSBY/QueryMyCouponHolds": {
  4597. "get": {
  4598. "security": [
  4599. {
  4600. "ApiKeyAuth": []
  4601. }
  4602. ],
  4603. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4604. "produces": [
  4605. "application/json"
  4606. ],
  4607. "tags": [
  4608. "定制【海商报业】"
  4609. ],
  4610. "summary": "我的优惠卷持仓查询",
  4611. "parameters": [
  4612. {
  4613. "type": "string",
  4614. "description": "资金账户列表,格式:1,2,3",
  4615. "name": "accountIDs",
  4616. "in": "query",
  4617. "required": true
  4618. },
  4619. {
  4620. "type": "string",
  4621. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4622. "name": "holdStatus",
  4623. "in": "query"
  4624. }
  4625. ],
  4626. "responses": {
  4627. "200": {
  4628. "description": "OK",
  4629. "schema": {
  4630. "$ref": "#/definitions/models.MyCouponHold"
  4631. }
  4632. },
  4633. "500": {
  4634. "description": "Internal Server Error",
  4635. "schema": {
  4636. "$ref": "#/definitions/app.Response"
  4637. }
  4638. }
  4639. }
  4640. }
  4641. },
  4642. "/HSBY/QueryMyCoupons": {
  4643. "get": {
  4644. "security": [
  4645. {
  4646. "ApiKeyAuth": []
  4647. }
  4648. ],
  4649. "produces": [
  4650. "application/json"
  4651. ],
  4652. "tags": [
  4653. "定制【海商报业】"
  4654. ],
  4655. "summary": "我的优惠卷查询",
  4656. "parameters": [
  4657. {
  4658. "type": "string",
  4659. "description": "资金账户列表,格式:1,2,3",
  4660. "name": "accountIDs",
  4661. "in": "query",
  4662. "required": true
  4663. },
  4664. {
  4665. "type": "integer",
  4666. "description": "商品ID, 一般与sellUserID配套传入",
  4667. "name": "goodsID",
  4668. "in": "query"
  4669. },
  4670. {
  4671. "type": "integer",
  4672. "description": "卖方UserID",
  4673. "name": "sellUserID",
  4674. "in": "query"
  4675. }
  4676. ],
  4677. "responses": {
  4678. "200": {
  4679. "description": "OK",
  4680. "schema": {
  4681. "$ref": "#/definitions/models.MyCoupon"
  4682. }
  4683. },
  4684. "500": {
  4685. "description": "Internal Server Error",
  4686. "schema": {
  4687. "$ref": "#/definitions/app.Response"
  4688. }
  4689. }
  4690. }
  4691. }
  4692. },
  4693. "/HSBY/QueryMyPayOrders": {
  4694. "get": {
  4695. "security": [
  4696. {
  4697. "ApiKeyAuth": []
  4698. }
  4699. ],
  4700. "produces": [
  4701. "application/json"
  4702. ],
  4703. "tags": [
  4704. "定制【海商报业】"
  4705. ],
  4706. "summary": "获取我的订单中待付款信息",
  4707. "parameters": [
  4708. {
  4709. "type": "integer",
  4710. "description": "页码",
  4711. "name": "page",
  4712. "in": "query"
  4713. },
  4714. {
  4715. "type": "integer",
  4716. "description": "每页条数",
  4717. "name": "pagesize",
  4718. "in": "query"
  4719. },
  4720. {
  4721. "type": "string",
  4722. "description": "资金账户列表,格式:1,2,3",
  4723. "name": "accountIDs",
  4724. "in": "query",
  4725. "required": true
  4726. },
  4727. {
  4728. "type": "integer",
  4729. "description": "买方委托单号",
  4730. "name": "buyOrderID",
  4731. "in": "query"
  4732. },
  4733. {
  4734. "type": "integer",
  4735. "description": "卖方委托单号",
  4736. "name": "sellOrderID",
  4737. "in": "query"
  4738. }
  4739. ],
  4740. "responses": {
  4741. "200": {
  4742. "description": "OK",
  4743. "schema": {
  4744. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  4745. }
  4746. },
  4747. "500": {
  4748. "description": "Internal Server Error",
  4749. "schema": {
  4750. "$ref": "#/definitions/app.Response"
  4751. }
  4752. }
  4753. }
  4754. }
  4755. },
  4756. "/HSBY/QueryMyUsedCoupon": {
  4757. "get": {
  4758. "security": [
  4759. {
  4760. "ApiKeyAuth": []
  4761. }
  4762. ],
  4763. "produces": [
  4764. "application/json"
  4765. ],
  4766. "tags": [
  4767. "定制【海商报业】"
  4768. ],
  4769. "summary": "已使用优惠卷查询",
  4770. "parameters": [
  4771. {
  4772. "type": "string",
  4773. "description": "资金账户列表,格式:1,2,3",
  4774. "name": "accountIDs",
  4775. "in": "query",
  4776. "required": true
  4777. }
  4778. ],
  4779. "responses": {
  4780. "200": {
  4781. "description": "OK",
  4782. "schema": {
  4783. "$ref": "#/definitions/models.MyUsedCoupon"
  4784. }
  4785. },
  4786. "500": {
  4787. "description": "Internal Server Error",
  4788. "schema": {
  4789. "$ref": "#/definitions/app.Response"
  4790. }
  4791. }
  4792. }
  4793. }
  4794. },
  4795. "/HSBY/QueryProvincesAndCities": {
  4796. "get": {
  4797. "security": [
  4798. {
  4799. "ApiKeyAuth": []
  4800. }
  4801. ],
  4802. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  4803. "produces": [
  4804. "application/json"
  4805. ],
  4806. "tags": [
  4807. "定制【海商报业】"
  4808. ],
  4809. "summary": "查询省市信息(不包括区)",
  4810. "parameters": [
  4811. {
  4812. "type": "integer",
  4813. "description": "省ID",
  4814. "name": "provinceID",
  4815. "in": "query"
  4816. }
  4817. ],
  4818. "responses": {
  4819. "200": {
  4820. "description": "OK",
  4821. "schema": {
  4822. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  4823. }
  4824. },
  4825. "500": {
  4826. "description": "Internal Server Error",
  4827. "schema": {
  4828. "$ref": "#/definitions/app.Response"
  4829. }
  4830. }
  4831. }
  4832. }
  4833. },
  4834. "/HSBY/SetHsbyMyPackagesStatus": {
  4835. "post": {
  4836. "security": [
  4837. {
  4838. "ApiKeyAuth": []
  4839. }
  4840. ],
  4841. "produces": [
  4842. "application/json"
  4843. ],
  4844. "tags": [
  4845. "定制【海商报业】"
  4846. ],
  4847. "summary": "设置我的包裹已收货状态",
  4848. "parameters": [
  4849. {
  4850. "type": "string",
  4851. "description": "提货单号",
  4852. "name": "takeOrderID",
  4853. "in": "query",
  4854. "required": true
  4855. },
  4856. {
  4857. "type": "integer",
  4858. "description": "资金账号",
  4859. "name": "accountID",
  4860. "in": "query",
  4861. "required": true
  4862. }
  4863. ],
  4864. "responses": {
  4865. "200": {
  4866. "description": "OK",
  4867. "schema": {
  4868. "$ref": "#/definitions/app.Response"
  4869. }
  4870. },
  4871. "500": {
  4872. "description": "Internal Server Error",
  4873. "schema": {
  4874. "$ref": "#/definitions/app.Response"
  4875. }
  4876. }
  4877. }
  4878. }
  4879. },
  4880. "/Market/QueryGoodsesByLoginID": {
  4881. "get": {
  4882. "security": [
  4883. {
  4884. "ApiKeyAuth": []
  4885. }
  4886. ],
  4887. "produces": [
  4888. "application/json"
  4889. ],
  4890. "tags": [
  4891. "通用市场"
  4892. ],
  4893. "summary": "获取登录账号有权限的商品信息",
  4894. "parameters": [
  4895. {
  4896. "type": "integer",
  4897. "description": "登录账号",
  4898. "name": "loginID",
  4899. "in": "query",
  4900. "required": true
  4901. },
  4902. {
  4903. "type": "string",
  4904. "description": "市场ID列表,格式:1,2,3",
  4905. "name": "marketIDs",
  4906. "in": "query"
  4907. }
  4908. ],
  4909. "responses": {
  4910. "200": {
  4911. "description": "OK",
  4912. "schema": {
  4913. "$ref": "#/definitions/models.Goods"
  4914. }
  4915. },
  4916. "500": {
  4917. "description": "Internal Server Error",
  4918. "schema": {
  4919. "$ref": "#/definitions/app.Response"
  4920. }
  4921. }
  4922. }
  4923. }
  4924. },
  4925. "/Market/QueryMarketRun": {
  4926. "get": {
  4927. "security": [
  4928. {
  4929. "ApiKeyAuth": []
  4930. }
  4931. ],
  4932. "produces": [
  4933. "application/json"
  4934. ],
  4935. "tags": [
  4936. "通用市场"
  4937. ],
  4938. "summary": "查询市场运行信息",
  4939. "parameters": [
  4940. {
  4941. "type": "integer",
  4942. "description": "市场ID,不传返回所有",
  4943. "name": "marketID",
  4944. "in": "query"
  4945. }
  4946. ],
  4947. "responses": {
  4948. "200": {
  4949. "description": "OK",
  4950. "schema": {
  4951. "$ref": "#/definitions/models.Marketrun"
  4952. }
  4953. },
  4954. "500": {
  4955. "description": "Internal Server Error",
  4956. "schema": {
  4957. "$ref": "#/definitions/app.Response"
  4958. }
  4959. }
  4960. }
  4961. }
  4962. },
  4963. "/Market/QueryMarketsByLoginID": {
  4964. "get": {
  4965. "security": [
  4966. {
  4967. "ApiKeyAuth": []
  4968. }
  4969. ],
  4970. "produces": [
  4971. "application/json"
  4972. ],
  4973. "tags": [
  4974. "通用市场"
  4975. ],
  4976. "summary": "获取登录账号有权限的市场信息",
  4977. "parameters": [
  4978. {
  4979. "type": "integer",
  4980. "description": "登录账号",
  4981. "name": "loginID",
  4982. "in": "query",
  4983. "required": true
  4984. }
  4985. ],
  4986. "responses": {
  4987. "200": {
  4988. "description": "OK",
  4989. "schema": {
  4990. "$ref": "#/definitions/models.Market"
  4991. }
  4992. },
  4993. "500": {
  4994. "description": "Internal Server Error",
  4995. "schema": {
  4996. "$ref": "#/definitions/app.Response"
  4997. }
  4998. }
  4999. }
  5000. }
  5001. },
  5002. "/Order/QueryHisTradeDetail": {
  5003. "get": {
  5004. "security": [
  5005. {
  5006. "ApiKeyAuth": []
  5007. }
  5008. ],
  5009. "produces": [
  5010. "application/json"
  5011. ],
  5012. "tags": [
  5013. "通用单据"
  5014. ],
  5015. "summary": "历史成交单查询(合约市场)",
  5016. "parameters": [
  5017. {
  5018. "type": "string",
  5019. "description": "资金账户 - 格式:1,2,3",
  5020. "name": "accountID",
  5021. "in": "query",
  5022. "required": true
  5023. },
  5024. {
  5025. "type": "integer",
  5026. "description": "成交单号",
  5027. "name": "tradeID",
  5028. "in": "query"
  5029. },
  5030. {
  5031. "type": "integer",
  5032. "description": "委托单号",
  5033. "name": "orderID",
  5034. "in": "query"
  5035. },
  5036. {
  5037. "type": "string",
  5038. "description": "交易模式 - 格式:1,2,3",
  5039. "name": "tradeMode",
  5040. "in": "query"
  5041. },
  5042. {
  5043. "type": "integer",
  5044. "description": "委托单据类型",
  5045. "name": "buildType",
  5046. "in": "query"
  5047. },
  5048. {
  5049. "type": "string",
  5050. "description": "成交类别 - 格式:1,2,3",
  5051. "name": "tradeType",
  5052. "in": "query"
  5053. },
  5054. {
  5055. "type": "string",
  5056. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5057. "name": "startDate",
  5058. "in": "query"
  5059. },
  5060. {
  5061. "type": "string",
  5062. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5063. "name": "endDate",
  5064. "in": "query"
  5065. }
  5066. ],
  5067. "responses": {
  5068. "200": {
  5069. "description": "OK",
  5070. "schema": {
  5071. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  5072. }
  5073. },
  5074. "500": {
  5075. "description": "Internal Server Error",
  5076. "schema": {
  5077. "$ref": "#/definitions/app.Response"
  5078. }
  5079. }
  5080. }
  5081. }
  5082. },
  5083. "/Order/QueryHisTradeOrderDetail": {
  5084. "get": {
  5085. "security": [
  5086. {
  5087. "ApiKeyAuth": []
  5088. }
  5089. ],
  5090. "produces": [
  5091. "application/json"
  5092. ],
  5093. "tags": [
  5094. "通用单据"
  5095. ],
  5096. "summary": "历史委托单查询请求(合约市场)",
  5097. "parameters": [
  5098. {
  5099. "type": "string",
  5100. "description": "资金账户 - 格式:1,2,3",
  5101. "name": "accountID",
  5102. "in": "query",
  5103. "required": true
  5104. },
  5105. {
  5106. "type": "string",
  5107. "description": "交易模式 - 格式:1,2,3",
  5108. "name": "tradeMode",
  5109. "in": "query"
  5110. },
  5111. {
  5112. "type": "string",
  5113. "description": "委托状态 - 格式:1,2,3",
  5114. "name": "orderStatus",
  5115. "in": "query"
  5116. },
  5117. {
  5118. "type": "integer",
  5119. "description": "委托单号",
  5120. "name": "orderID",
  5121. "in": "query"
  5122. },
  5123. {
  5124. "type": "string",
  5125. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5126. "name": "startDate",
  5127. "in": "query"
  5128. },
  5129. {
  5130. "type": "string",
  5131. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5132. "name": "endDate",
  5133. "in": "query"
  5134. }
  5135. ],
  5136. "responses": {
  5137. "200": {
  5138. "description": "OK",
  5139. "schema": {
  5140. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  5141. }
  5142. },
  5143. "500": {
  5144. "description": "Internal Server Error",
  5145. "schema": {
  5146. "$ref": "#/definitions/app.Response"
  5147. }
  5148. }
  5149. }
  5150. }
  5151. },
  5152. "/Order/QueryTradeDetail": {
  5153. "get": {
  5154. "security": [
  5155. {
  5156. "ApiKeyAuth": []
  5157. }
  5158. ],
  5159. "produces": [
  5160. "application/json"
  5161. ],
  5162. "tags": [
  5163. "通用单据"
  5164. ],
  5165. "summary": "成交单查询(合约市场)",
  5166. "parameters": [
  5167. {
  5168. "type": "string",
  5169. "description": "资金账户 - 格式:1,2,3",
  5170. "name": "accountID",
  5171. "in": "query",
  5172. "required": true
  5173. },
  5174. {
  5175. "type": "integer",
  5176. "description": "成交单号",
  5177. "name": "tradeID",
  5178. "in": "query"
  5179. },
  5180. {
  5181. "type": "integer",
  5182. "description": "委托单号",
  5183. "name": "orderID",
  5184. "in": "query"
  5185. },
  5186. {
  5187. "type": "string",
  5188. "description": "交易模式 - 格式:1,2,3",
  5189. "name": "tradeMode",
  5190. "in": "query"
  5191. },
  5192. {
  5193. "type": "integer",
  5194. "description": "委托单据类型",
  5195. "name": "buildType",
  5196. "in": "query"
  5197. },
  5198. {
  5199. "type": "string",
  5200. "description": "成交类别 - 格式:1,2,3",
  5201. "name": "tradeType",
  5202. "in": "query"
  5203. }
  5204. ],
  5205. "responses": {
  5206. "200": {
  5207. "description": "OK",
  5208. "schema": {
  5209. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  5210. }
  5211. },
  5212. "500": {
  5213. "description": "Internal Server Error",
  5214. "schema": {
  5215. "$ref": "#/definitions/app.Response"
  5216. }
  5217. }
  5218. }
  5219. }
  5220. },
  5221. "/Order/QueryTradeOrderDetail": {
  5222. "get": {
  5223. "security": [
  5224. {
  5225. "ApiKeyAuth": []
  5226. }
  5227. ],
  5228. "produces": [
  5229. "application/json"
  5230. ],
  5231. "tags": [
  5232. "通用单据"
  5233. ],
  5234. "summary": "委托单查询请求(合约市场)",
  5235. "parameters": [
  5236. {
  5237. "type": "string",
  5238. "description": "资金账户 - 格式:1,2,3",
  5239. "name": "accountID",
  5240. "in": "query",
  5241. "required": true
  5242. },
  5243. {
  5244. "type": "string",
  5245. "description": "交易模式 - 格式:1,2,3",
  5246. "name": "tradeMode",
  5247. "in": "query"
  5248. },
  5249. {
  5250. "type": "string",
  5251. "description": "委托状态 - 格式:1,2,3",
  5252. "name": "orderStatus",
  5253. "in": "query"
  5254. },
  5255. {
  5256. "type": "integer",
  5257. "description": "委托单号",
  5258. "name": "orderID",
  5259. "in": "query"
  5260. }
  5261. ],
  5262. "responses": {
  5263. "200": {
  5264. "description": "OK",
  5265. "schema": {
  5266. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  5267. }
  5268. },
  5269. "500": {
  5270. "description": "Internal Server Error",
  5271. "schema": {
  5272. "$ref": "#/definitions/app.Response"
  5273. }
  5274. }
  5275. }
  5276. }
  5277. },
  5278. "/Order/QueryTradePosition": {
  5279. "get": {
  5280. "security": [
  5281. {
  5282. "ApiKeyAuth": []
  5283. }
  5284. ],
  5285. "produces": [
  5286. "application/json"
  5287. ],
  5288. "tags": [
  5289. "通用单据"
  5290. ],
  5291. "summary": "持仓汇总查询(合约市场)",
  5292. "parameters": [
  5293. {
  5294. "type": "string",
  5295. "description": "资金账户 - 格式:1,2,3",
  5296. "name": "accountID",
  5297. "in": "query",
  5298. "required": true
  5299. },
  5300. {
  5301. "type": "string",
  5302. "description": "交易模式 - 格式:1,2,3",
  5303. "name": "tradeMode",
  5304. "in": "query"
  5305. }
  5306. ],
  5307. "responses": {
  5308. "200": {
  5309. "description": "OK",
  5310. "schema": {
  5311. "$ref": "#/definitions/order.QueryTradePositionRsp"
  5312. }
  5313. },
  5314. "500": {
  5315. "description": "Internal Server Error",
  5316. "schema": {
  5317. "$ref": "#/definitions/app.Response"
  5318. }
  5319. }
  5320. }
  5321. }
  5322. },
  5323. "/Quote/QueryHistoryDatas": {
  5324. "get": {
  5325. "security": [
  5326. {
  5327. "ApiKeyAuth": []
  5328. }
  5329. ],
  5330. "produces": [
  5331. "application/json"
  5332. ],
  5333. "tags": [
  5334. "行情服务"
  5335. ],
  5336. "summary": "查询行情历史数据",
  5337. "parameters": [
  5338. {
  5339. "type": "integer",
  5340. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  5341. "name": "cycleType",
  5342. "in": "query",
  5343. "required": true
  5344. },
  5345. {
  5346. "type": "string",
  5347. "description": "商品代码",
  5348. "name": "goodsCode",
  5349. "in": "query",
  5350. "required": true
  5351. },
  5352. {
  5353. "type": "string",
  5354. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5355. "name": "startTime",
  5356. "in": "query"
  5357. },
  5358. {
  5359. "type": "string",
  5360. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5361. "name": "endTime",
  5362. "in": "query"
  5363. },
  5364. {
  5365. "type": "integer",
  5366. "description": "条数",
  5367. "name": "count",
  5368. "in": "query"
  5369. },
  5370. {
  5371. "type": "boolean",
  5372. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5373. "name": "isAsc",
  5374. "in": "query"
  5375. }
  5376. ],
  5377. "responses": {
  5378. "200": {
  5379. "description": "OK",
  5380. "schema": {
  5381. "$ref": "#/definitions/quote.HistoryData"
  5382. }
  5383. },
  5384. "500": {
  5385. "description": "Internal Server Error",
  5386. "schema": {
  5387. "$ref": "#/definitions/app.Response"
  5388. }
  5389. }
  5390. }
  5391. }
  5392. },
  5393. "/Quote/QueryHistoryTikDatas": {
  5394. "get": {
  5395. "security": [
  5396. {
  5397. "ApiKeyAuth": []
  5398. }
  5399. ],
  5400. "produces": [
  5401. "application/json"
  5402. ],
  5403. "tags": [
  5404. "行情服务"
  5405. ],
  5406. "summary": "查询行情Tik数据",
  5407. "parameters": [
  5408. {
  5409. "type": "string",
  5410. "description": "商品代码",
  5411. "name": "goodsCode",
  5412. "in": "query",
  5413. "required": true
  5414. },
  5415. {
  5416. "type": "string",
  5417. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5418. "name": "startTime",
  5419. "in": "query"
  5420. },
  5421. {
  5422. "type": "string",
  5423. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5424. "name": "endTime",
  5425. "in": "query"
  5426. },
  5427. {
  5428. "type": "integer",
  5429. "description": "条数",
  5430. "name": "count",
  5431. "in": "query"
  5432. },
  5433. {
  5434. "type": "boolean",
  5435. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5436. "name": "isAsc",
  5437. "in": "query"
  5438. }
  5439. ],
  5440. "responses": {
  5441. "200": {
  5442. "description": "OK",
  5443. "schema": {
  5444. "$ref": "#/definitions/quote.HistoryTikData"
  5445. }
  5446. },
  5447. "500": {
  5448. "description": "Internal Server Error",
  5449. "schema": {
  5450. "$ref": "#/definitions/app.Response"
  5451. }
  5452. }
  5453. }
  5454. }
  5455. },
  5456. "/Quote/QueryQuoteDay": {
  5457. "get": {
  5458. "security": [
  5459. {
  5460. "ApiKeyAuth": []
  5461. }
  5462. ],
  5463. "produces": [
  5464. "application/json"
  5465. ],
  5466. "tags": [
  5467. "行情服务"
  5468. ],
  5469. "summary": "获取商品盘面信息",
  5470. "parameters": [
  5471. {
  5472. "type": "string",
  5473. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5474. "name": "goodsCodes",
  5475. "in": "query",
  5476. "required": true
  5477. }
  5478. ],
  5479. "responses": {
  5480. "200": {
  5481. "description": "OK",
  5482. "schema": {
  5483. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5484. }
  5485. },
  5486. "500": {
  5487. "description": "Internal Server Error",
  5488. "schema": {
  5489. "$ref": "#/definitions/app.Response"
  5490. }
  5491. }
  5492. }
  5493. }
  5494. },
  5495. "/Quote/QueryTSData": {
  5496. "get": {
  5497. "security": [
  5498. {
  5499. "ApiKeyAuth": []
  5500. }
  5501. ],
  5502. "produces": [
  5503. "application/json"
  5504. ],
  5505. "tags": [
  5506. "行情服务"
  5507. ],
  5508. "summary": "分时图数据查询",
  5509. "parameters": [
  5510. {
  5511. "type": "string",
  5512. "description": "商品代码",
  5513. "name": "goodsCode",
  5514. "in": "query",
  5515. "required": true
  5516. }
  5517. ],
  5518. "responses": {
  5519. "200": {
  5520. "description": "OK",
  5521. "schema": {
  5522. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5523. }
  5524. },
  5525. "500": {
  5526. "description": "Internal Server Error",
  5527. "schema": {
  5528. "$ref": "#/definitions/app.Response"
  5529. }
  5530. }
  5531. }
  5532. }
  5533. },
  5534. "/SZDZ/QueryConvertConfig": {
  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": "integer",
  5551. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5552. "name": "convertType",
  5553. "in": "query"
  5554. },
  5555. {
  5556. "type": "string",
  5557. "description": "外部商品代码[JD\\PD]",
  5558. "name": "outerGoodsCode",
  5559. "in": "query"
  5560. },
  5561. {
  5562. "type": "string",
  5563. "description": "内部商品ID列表[交易],格式:1,2,3",
  5564. "name": "innerGoodsIDs",
  5565. "in": "query"
  5566. }
  5567. ],
  5568. "responses": {
  5569. "200": {
  5570. "description": "OK",
  5571. "schema": {
  5572. "$ref": "#/definitions/models.Szdz3convertconfig"
  5573. }
  5574. },
  5575. "500": {
  5576. "description": "Internal Server Error",
  5577. "schema": {
  5578. "$ref": "#/definitions/app.Response"
  5579. }
  5580. }
  5581. }
  5582. }
  5583. },
  5584. "/SZDZ/QueryConvertLog": {
  5585. "get": {
  5586. "security": [
  5587. {
  5588. "ApiKeyAuth": []
  5589. }
  5590. ],
  5591. "produces": [
  5592. "application/json"
  5593. ],
  5594. "tags": [
  5595. "定制【尚志大宗】"
  5596. ],
  5597. "summary": "交易系统转换流水查询",
  5598. "parameters": [
  5599. {
  5600. "type": "string",
  5601. "description": "资金账户 - 格式:1,2,3",
  5602. "name": "accountID",
  5603. "in": "query",
  5604. "required": true
  5605. },
  5606. {
  5607. "type": "string",
  5608. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5609. "name": "startDate",
  5610. "in": "query"
  5611. },
  5612. {
  5613. "type": "string",
  5614. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5615. "name": "endDate",
  5616. "in": "query"
  5617. }
  5618. ],
  5619. "responses": {
  5620. "200": {
  5621. "description": "OK",
  5622. "schema": {
  5623. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5624. }
  5625. },
  5626. "500": {
  5627. "description": "Internal Server Error",
  5628. "schema": {
  5629. "$ref": "#/definitions/app.Response"
  5630. }
  5631. }
  5632. }
  5633. }
  5634. },
  5635. "/SZDZ/QueryGoodsPickup": {
  5636. "get": {
  5637. "security": [
  5638. {
  5639. "ApiKeyAuth": []
  5640. }
  5641. ],
  5642. "produces": [
  5643. "application/json"
  5644. ],
  5645. "tags": [
  5646. "定制【尚志大宗】"
  5647. ],
  5648. "summary": "商品提货单查询",
  5649. "parameters": [
  5650. {
  5651. "type": "string",
  5652. "description": "资金账户 - 格式:1,2,3",
  5653. "name": "accountID",
  5654. "in": "query",
  5655. "required": true
  5656. },
  5657. {
  5658. "type": "integer",
  5659. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5660. "name": "takeOrderStatus",
  5661. "in": "query"
  5662. }
  5663. ],
  5664. "responses": {
  5665. "200": {
  5666. "description": "OK",
  5667. "schema": {
  5668. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5669. }
  5670. },
  5671. "500": {
  5672. "description": "Internal Server Error",
  5673. "schema": {
  5674. "$ref": "#/definitions/app.Response"
  5675. }
  5676. }
  5677. }
  5678. }
  5679. },
  5680. "/SZDZ/QueryRecieptOrder": {
  5681. "get": {
  5682. "security": [
  5683. {
  5684. "ApiKeyAuth": []
  5685. }
  5686. ],
  5687. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5688. "produces": [
  5689. "application/json"
  5690. ],
  5691. "tags": [
  5692. "定制【尚志大宗】"
  5693. ],
  5694. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5695. "parameters": [
  5696. {
  5697. "type": "integer",
  5698. "description": "页码",
  5699. "name": "page",
  5700. "in": "query"
  5701. },
  5702. {
  5703. "type": "integer",
  5704. "description": "每页条数",
  5705. "name": "pagesize",
  5706. "in": "query"
  5707. },
  5708. {
  5709. "type": "integer",
  5710. "description": "商品ID",
  5711. "name": "goodsID",
  5712. "in": "query",
  5713. "required": true
  5714. },
  5715. {
  5716. "type": "string",
  5717. "description": "所属账户名称",
  5718. "name": "accountName",
  5719. "in": "query"
  5720. },
  5721. {
  5722. "type": "integer",
  5723. "description": "市场ID",
  5724. "name": "marketID",
  5725. "in": "query"
  5726. },
  5727. {
  5728. "type": "integer",
  5729. "description": "方向 - 0:买 1:卖",
  5730. "name": "buyorsell",
  5731. "in": "query",
  5732. "required": true
  5733. }
  5734. ],
  5735. "responses": {
  5736. "200": {
  5737. "description": "OK",
  5738. "schema": {
  5739. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5740. }
  5741. },
  5742. "500": {
  5743. "description": "Internal Server Error",
  5744. "schema": {
  5745. "$ref": "#/definitions/app.Response"
  5746. }
  5747. }
  5748. }
  5749. }
  5750. },
  5751. "/SZDZ/QuerySZDZTradePosition": {
  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": "integer",
  5768. "description": "资金账户",
  5769. "name": "accountID",
  5770. "in": "query",
  5771. "required": true
  5772. }
  5773. ],
  5774. "responses": {
  5775. "200": {
  5776. "description": "OK",
  5777. "schema": {
  5778. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5779. }
  5780. },
  5781. "500": {
  5782. "description": "Internal Server Error",
  5783. "schema": {
  5784. "$ref": "#/definitions/app.Response"
  5785. }
  5786. }
  5787. }
  5788. }
  5789. },
  5790. "/SZDZ/SearchWhite": {
  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": "用户ID",
  5808. "name": "userID",
  5809. "in": "query",
  5810. "required": true
  5811. }
  5812. ],
  5813. "responses": {
  5814. "200": {
  5815. "description": "OK",
  5816. "schema": {
  5817. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5818. }
  5819. },
  5820. "500": {
  5821. "description": "Internal Server Error",
  5822. "schema": {
  5823. "$ref": "#/definitions/app.Response"
  5824. }
  5825. }
  5826. }
  5827. }
  5828. },
  5829. "/Search/SearchGoodses": {
  5830. "get": {
  5831. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5832. "produces": [
  5833. "application/json"
  5834. ],
  5835. "tags": [
  5836. "检索服务"
  5837. ],
  5838. "summary": "检索商品信息",
  5839. "parameters": [
  5840. {
  5841. "type": "string",
  5842. "description": "检索内容",
  5843. "name": "content",
  5844. "in": "query",
  5845. "required": true
  5846. },
  5847. {
  5848. "type": "string",
  5849. "description": "交易模式,格式:1,2,3",
  5850. "name": "tradeModes",
  5851. "in": "query"
  5852. }
  5853. ],
  5854. "responses": {
  5855. "200": {
  5856. "description": "OK",
  5857. "schema": {
  5858. "$ref": "#/definitions/models.SearchGoods"
  5859. }
  5860. },
  5861. "500": {
  5862. "description": "Internal Server Error",
  5863. "schema": {
  5864. "$ref": "#/definitions/app.Response"
  5865. }
  5866. }
  5867. }
  5868. }
  5869. },
  5870. "/TaAccount/GetTaAccounts": {
  5871. "get": {
  5872. "security": [
  5873. {
  5874. "ApiKeyAuth": []
  5875. }
  5876. ],
  5877. "produces": [
  5878. "application/json"
  5879. ],
  5880. "tags": [
  5881. "资金账户"
  5882. ],
  5883. "summary": "获取资金账户信息",
  5884. "parameters": [
  5885. {
  5886. "type": "integer",
  5887. "description": "登录账户",
  5888. "name": "loginID",
  5889. "in": "query",
  5890. "required": true
  5891. },
  5892. {
  5893. "type": "integer",
  5894. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  5895. "name": "taAccountType",
  5896. "in": "query"
  5897. }
  5898. ],
  5899. "responses": {
  5900. "200": {
  5901. "description": "OK",
  5902. "schema": {
  5903. "$ref": "#/definitions/models.Taaccount"
  5904. }
  5905. },
  5906. "500": {
  5907. "description": "Internal Server Error",
  5908. "schema": {
  5909. "$ref": "#/definitions/app.Response"
  5910. }
  5911. }
  5912. }
  5913. }
  5914. },
  5915. "/TaAccount/QueryAmountLog": {
  5916. "get": {
  5917. "security": [
  5918. {
  5919. "ApiKeyAuth": []
  5920. }
  5921. ],
  5922. "produces": [
  5923. "application/json"
  5924. ],
  5925. "tags": [
  5926. "资金账户"
  5927. ],
  5928. "summary": "资金流水查询(当前)",
  5929. "parameters": [
  5930. {
  5931. "type": "integer",
  5932. "description": "页码",
  5933. "name": "page",
  5934. "in": "query"
  5935. },
  5936. {
  5937. "type": "integer",
  5938. "description": "每页条数",
  5939. "name": "pagesize",
  5940. "in": "query"
  5941. },
  5942. {
  5943. "type": "string",
  5944. "description": "资金账户 - 格式:1,2,3",
  5945. "name": "accountID",
  5946. "in": "query",
  5947. "required": true
  5948. },
  5949. {
  5950. "type": "string",
  5951. "description": "资金操作类型 - 格式:1,2,3",
  5952. "name": "OperateType",
  5953. "in": "query"
  5954. }
  5955. ],
  5956. "responses": {
  5957. "200": {
  5958. "description": "OK",
  5959. "schema": {
  5960. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  5961. }
  5962. },
  5963. "500": {
  5964. "description": "Internal Server Error",
  5965. "schema": {
  5966. "$ref": "#/definitions/app.Response"
  5967. }
  5968. }
  5969. }
  5970. }
  5971. },
  5972. "/TaAccount/QueryHisAmountLog": {
  5973. "get": {
  5974. "security": [
  5975. {
  5976. "ApiKeyAuth": []
  5977. }
  5978. ],
  5979. "produces": [
  5980. "application/json"
  5981. ],
  5982. "tags": [
  5983. "资金账户"
  5984. ],
  5985. "summary": "资金流水查询(历史)",
  5986. "parameters": [
  5987. {
  5988. "type": "integer",
  5989. "description": "页码",
  5990. "name": "page",
  5991. "in": "query"
  5992. },
  5993. {
  5994. "type": "integer",
  5995. "description": "每页条数",
  5996. "name": "pagesize",
  5997. "in": "query"
  5998. },
  5999. {
  6000. "type": "string",
  6001. "description": "资金账户 - 格式:1,2,3",
  6002. "name": "accountID",
  6003. "in": "query",
  6004. "required": true
  6005. },
  6006. {
  6007. "type": "string",
  6008. "description": "资金操作类型 - 格式:1,2,3",
  6009. "name": "OperateType",
  6010. "in": "query"
  6011. },
  6012. {
  6013. "type": "string",
  6014. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6015. "name": "startDate",
  6016. "in": "query"
  6017. },
  6018. {
  6019. "type": "string",
  6020. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6021. "name": "endDate",
  6022. "in": "query"
  6023. }
  6024. ],
  6025. "responses": {
  6026. "200": {
  6027. "description": "OK",
  6028. "schema": {
  6029. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  6030. }
  6031. },
  6032. "500": {
  6033. "description": "Internal Server Error",
  6034. "schema": {
  6035. "$ref": "#/definitions/app.Response"
  6036. }
  6037. }
  6038. }
  6039. }
  6040. },
  6041. "/Trade/QueryRecieptOrder": {
  6042. "get": {
  6043. "security": [
  6044. {
  6045. "ApiKeyAuth": []
  6046. }
  6047. ],
  6048. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6049. "produces": [
  6050. "application/json"
  6051. ],
  6052. "tags": [
  6053. "通用交易"
  6054. ],
  6055. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  6056. "parameters": [
  6057. {
  6058. "type": "integer",
  6059. "description": "页码",
  6060. "name": "page",
  6061. "in": "query"
  6062. },
  6063. {
  6064. "type": "integer",
  6065. "description": "每页条数",
  6066. "name": "pagesize",
  6067. "in": "query"
  6068. },
  6069. {
  6070. "type": "integer",
  6071. "description": "商品ID",
  6072. "name": "goodsID",
  6073. "in": "query",
  6074. "required": true
  6075. },
  6076. {
  6077. "type": "string",
  6078. "description": "所属账户名称",
  6079. "name": "accountName",
  6080. "in": "query"
  6081. },
  6082. {
  6083. "type": "integer",
  6084. "description": "市场ID",
  6085. "name": "marketID",
  6086. "in": "query"
  6087. },
  6088. {
  6089. "type": "integer",
  6090. "description": "方向 - 0:买 1:卖",
  6091. "name": "buyorsell",
  6092. "in": "query",
  6093. "required": true
  6094. }
  6095. ],
  6096. "responses": {
  6097. "200": {
  6098. "description": "OK",
  6099. "schema": {
  6100. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  6101. }
  6102. },
  6103. "500": {
  6104. "description": "Internal Server Error",
  6105. "schema": {
  6106. "$ref": "#/definitions/app.Response"
  6107. }
  6108. }
  6109. }
  6110. }
  6111. },
  6112. "/User/AddMessageBoard": {
  6113. "post": {
  6114. "security": [
  6115. {
  6116. "ApiKeyAuth": []
  6117. }
  6118. ],
  6119. "produces": [
  6120. "application/json"
  6121. ],
  6122. "tags": [
  6123. "用户信息"
  6124. ],
  6125. "summary": "添加用户留言板信息",
  6126. "parameters": [
  6127. {
  6128. "type": "integer",
  6129. "description": "用户ID",
  6130. "name": "userID",
  6131. "in": "query",
  6132. "required": true
  6133. },
  6134. {
  6135. "type": "string",
  6136. "description": "留言信息",
  6137. "name": "message",
  6138. "in": "query",
  6139. "required": true
  6140. },
  6141. {
  6142. "type": "string",
  6143. "description": "联系电话",
  6144. "name": "contactNum",
  6145. "in": "query",
  6146. "required": true
  6147. }
  6148. ],
  6149. "responses": {
  6150. "200": {
  6151. "description": "OK",
  6152. "schema": {
  6153. "$ref": "#/definitions/app.Response"
  6154. }
  6155. },
  6156. "500": {
  6157. "description": "Internal Server Error",
  6158. "schema": {
  6159. "$ref": "#/definitions/app.Response"
  6160. }
  6161. }
  6162. }
  6163. }
  6164. },
  6165. "/User/AddUserFavoriteGoods": {
  6166. "post": {
  6167. "security": [
  6168. {
  6169. "ApiKeyAuth": []
  6170. }
  6171. ],
  6172. "produces": [
  6173. "application/json"
  6174. ],
  6175. "tags": [
  6176. "用户信息"
  6177. ],
  6178. "summary": "添加用户商品收藏信息",
  6179. "parameters": [
  6180. {
  6181. "type": "integer",
  6182. "description": "用户ID",
  6183. "name": "userID",
  6184. "in": "query",
  6185. "required": true
  6186. },
  6187. {
  6188. "type": "integer",
  6189. "description": "商品ID",
  6190. "name": "goodsID",
  6191. "in": "query",
  6192. "required": true
  6193. }
  6194. ],
  6195. "responses": {
  6196. "200": {
  6197. "description": "OK",
  6198. "schema": {
  6199. "$ref": "#/definitions/app.Response"
  6200. }
  6201. },
  6202. "500": {
  6203. "description": "Internal Server Error",
  6204. "schema": {
  6205. "$ref": "#/definitions/app.Response"
  6206. }
  6207. }
  6208. }
  6209. }
  6210. },
  6211. "/User/GetLoginID": {
  6212. "get": {
  6213. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  6214. "produces": [
  6215. "application/json"
  6216. ],
  6217. "tags": [
  6218. "用户信息"
  6219. ],
  6220. "summary": "获取登录ID",
  6221. "parameters": [
  6222. {
  6223. "type": "string",
  6224. "description": "登录代码",
  6225. "name": "username",
  6226. "in": "query",
  6227. "required": true
  6228. }
  6229. ],
  6230. "responses": {
  6231. "200": {
  6232. "description": "OK",
  6233. "schema": {
  6234. "$ref": "#/definitions/app.Response"
  6235. }
  6236. },
  6237. "500": {
  6238. "description": "Internal Server Error",
  6239. "schema": {
  6240. "$ref": "#/definitions/app.Response"
  6241. }
  6242. }
  6243. }
  6244. }
  6245. },
  6246. "/User/GetUserAccount": {
  6247. "get": {
  6248. "security": [
  6249. {
  6250. "ApiKeyAuth": []
  6251. }
  6252. ],
  6253. "produces": [
  6254. "application/json"
  6255. ],
  6256. "tags": [
  6257. "用户信息"
  6258. ],
  6259. "summary": "获取用户账号信息",
  6260. "parameters": [
  6261. {
  6262. "type": "integer",
  6263. "description": "用户ID",
  6264. "name": "userID",
  6265. "in": "query",
  6266. "required": true
  6267. }
  6268. ],
  6269. "responses": {
  6270. "200": {
  6271. "description": "OK",
  6272. "schema": {
  6273. "$ref": "#/definitions/models.Useraccount"
  6274. }
  6275. },
  6276. "500": {
  6277. "description": "Internal Server Error",
  6278. "schema": {
  6279. "$ref": "#/definitions/app.Response"
  6280. }
  6281. }
  6282. }
  6283. }
  6284. },
  6285. "/User/GetUserAuthStatus": {
  6286. "get": {
  6287. "security": [
  6288. {
  6289. "ApiKeyAuth": []
  6290. }
  6291. ],
  6292. "produces": [
  6293. "application/json"
  6294. ],
  6295. "tags": [
  6296. "用户信息"
  6297. ],
  6298. "summary": "获取用户实名认证状态",
  6299. "parameters": [
  6300. {
  6301. "type": "integer",
  6302. "description": "用户ID",
  6303. "name": "userID",
  6304. "in": "query",
  6305. "required": true
  6306. }
  6307. ],
  6308. "responses": {
  6309. "200": {
  6310. "description": "OK",
  6311. "schema": {
  6312. "$ref": "#/definitions/app.Response"
  6313. }
  6314. },
  6315. "500": {
  6316. "description": "Internal Server Error",
  6317. "schema": {
  6318. "$ref": "#/definitions/app.Response"
  6319. }
  6320. }
  6321. }
  6322. }
  6323. },
  6324. "/User/LoginQuery": {
  6325. "get": {
  6326. "security": [
  6327. {
  6328. "ApiKeyAuth": []
  6329. }
  6330. ],
  6331. "produces": [
  6332. "application/json"
  6333. ],
  6334. "tags": [
  6335. "用户信息"
  6336. ],
  6337. "summary": "账户登录后信息查询",
  6338. "parameters": [
  6339. {
  6340. "type": "integer",
  6341. "description": "登录账号",
  6342. "name": "loginID",
  6343. "in": "query",
  6344. "required": true
  6345. }
  6346. ],
  6347. "responses": {
  6348. "200": {
  6349. "description": "OK",
  6350. "schema": {
  6351. "$ref": "#/definitions/user.LoginQueryRsp"
  6352. }
  6353. },
  6354. "500": {
  6355. "description": "Internal Server Error",
  6356. "schema": {
  6357. "$ref": "#/definitions/app.Response"
  6358. }
  6359. }
  6360. }
  6361. }
  6362. },
  6363. "/User/QueryMessageBoard": {
  6364. "get": {
  6365. "security": [
  6366. {
  6367. "ApiKeyAuth": []
  6368. }
  6369. ],
  6370. "produces": [
  6371. "application/json"
  6372. ],
  6373. "tags": [
  6374. "用户信息"
  6375. ],
  6376. "summary": "获取用户留言板信息",
  6377. "parameters": [
  6378. {
  6379. "type": "integer",
  6380. "description": "用户ID",
  6381. "name": "userID",
  6382. "in": "query",
  6383. "required": true
  6384. }
  6385. ],
  6386. "responses": {
  6387. "200": {
  6388. "description": "OK",
  6389. "schema": {
  6390. "$ref": "#/definitions/models.Messageboard"
  6391. }
  6392. },
  6393. "500": {
  6394. "description": "Internal Server Error",
  6395. "schema": {
  6396. "$ref": "#/definitions/app.Response"
  6397. }
  6398. }
  6399. }
  6400. }
  6401. },
  6402. "/User/QueryUserFavoriteGoodses": {
  6403. "get": {
  6404. "security": [
  6405. {
  6406. "ApiKeyAuth": []
  6407. }
  6408. ],
  6409. "produces": [
  6410. "application/json"
  6411. ],
  6412. "tags": [
  6413. "用户信息"
  6414. ],
  6415. "summary": "获取用户商品收藏信息",
  6416. "parameters": [
  6417. {
  6418. "type": "integer",
  6419. "description": "用户ID",
  6420. "name": "userID",
  6421. "in": "query",
  6422. "required": true
  6423. }
  6424. ],
  6425. "responses": {
  6426. "200": {
  6427. "description": "OK",
  6428. "schema": {
  6429. "$ref": "#/definitions/models.Userfavoritegoods"
  6430. }
  6431. },
  6432. "500": {
  6433. "description": "Internal Server Error",
  6434. "schema": {
  6435. "$ref": "#/definitions/app.Response"
  6436. }
  6437. }
  6438. }
  6439. }
  6440. },
  6441. "/User/QueryUserInfo": {
  6442. "get": {
  6443. "security": [
  6444. {
  6445. "ApiKeyAuth": []
  6446. }
  6447. ],
  6448. "produces": [
  6449. "application/json"
  6450. ],
  6451. "tags": [
  6452. "用户信息"
  6453. ],
  6454. "summary": "获取用户信息",
  6455. "parameters": [
  6456. {
  6457. "type": "integer",
  6458. "description": "用户ID",
  6459. "name": "userID",
  6460. "in": "query",
  6461. "required": true
  6462. }
  6463. ],
  6464. "responses": {
  6465. "200": {
  6466. "description": "OK",
  6467. "schema": {
  6468. "$ref": "#/definitions/models.Userinfo"
  6469. }
  6470. },
  6471. "500": {
  6472. "description": "Internal Server Error",
  6473. "schema": {
  6474. "$ref": "#/definitions/app.Response"
  6475. }
  6476. }
  6477. }
  6478. }
  6479. },
  6480. "/User/QueryUserReferNum": {
  6481. "get": {
  6482. "produces": [
  6483. "application/json"
  6484. ],
  6485. "tags": [
  6486. "用户信息"
  6487. ],
  6488. "summary": "获取用户邀请码",
  6489. "parameters": [
  6490. {
  6491. "type": "integer",
  6492. "description": "用户ID",
  6493. "name": "userID",
  6494. "in": "query",
  6495. "required": true
  6496. }
  6497. ],
  6498. "responses": {
  6499. "200": {
  6500. "description": "OK",
  6501. "schema": {
  6502. "$ref": "#/definitions/app.Response"
  6503. }
  6504. },
  6505. "500": {
  6506. "description": "Internal Server Error",
  6507. "schema": {
  6508. "$ref": "#/definitions/app.Response"
  6509. }
  6510. }
  6511. }
  6512. }
  6513. },
  6514. "/User/RemoveUserFavoriteGoods": {
  6515. "post": {
  6516. "security": [
  6517. {
  6518. "ApiKeyAuth": []
  6519. }
  6520. ],
  6521. "produces": [
  6522. "application/json"
  6523. ],
  6524. "tags": [
  6525. "用户信息"
  6526. ],
  6527. "summary": "移除用户商品收藏信息",
  6528. "parameters": [
  6529. {
  6530. "type": "integer",
  6531. "description": "用户ID",
  6532. "name": "userID",
  6533. "in": "query",
  6534. "required": true
  6535. },
  6536. {
  6537. "type": "integer",
  6538. "description": "商品ID",
  6539. "name": "goodsID",
  6540. "in": "query",
  6541. "required": true
  6542. }
  6543. ],
  6544. "responses": {
  6545. "200": {
  6546. "description": "OK",
  6547. "schema": {
  6548. "$ref": "#/definitions/app.Response"
  6549. }
  6550. },
  6551. "500": {
  6552. "description": "Internal Server Error",
  6553. "schema": {
  6554. "$ref": "#/definitions/app.Response"
  6555. }
  6556. }
  6557. }
  6558. }
  6559. },
  6560. "/User/UpdateUserAccountStatus": {
  6561. "post": {
  6562. "security": [
  6563. {
  6564. "ApiKeyAuth": []
  6565. }
  6566. ],
  6567. "produces": [
  6568. "application/json"
  6569. ],
  6570. "tags": [
  6571. "用户信息"
  6572. ],
  6573. "summary": "更新用户状态",
  6574. "parameters": [
  6575. {
  6576. "type": "integer",
  6577. "description": "用户ID",
  6578. "name": "userID",
  6579. "in": "query",
  6580. "required": true
  6581. },
  6582. {
  6583. "type": "integer",
  6584. "description": "账户状态 - 4:正常 6:注销(停用)",
  6585. "name": "accountStatus",
  6586. "in": "query",
  6587. "required": true
  6588. }
  6589. ],
  6590. "responses": {
  6591. "200": {
  6592. "description": "OK",
  6593. "schema": {
  6594. "$ref": "#/definitions/app.Response"
  6595. }
  6596. },
  6597. "500": {
  6598. "description": "Internal Server Error",
  6599. "schema": {
  6600. "$ref": "#/definitions/app.Response"
  6601. }
  6602. }
  6603. }
  6604. }
  6605. },
  6606. "/WR/GetWRCategoryInfo": {
  6607. "get": {
  6608. "produces": [
  6609. "application/json"
  6610. ],
  6611. "tags": [
  6612. "仓单服务"
  6613. ],
  6614. "summary": "获取现货分类信息",
  6615. "responses": {
  6616. "200": {
  6617. "description": "OK",
  6618. "schema": {
  6619. "$ref": "#/definitions/models.WRCategoryTree"
  6620. }
  6621. },
  6622. "500": {
  6623. "description": "Internal Server Error",
  6624. "schema": {
  6625. "$ref": "#/definitions/app.Response"
  6626. }
  6627. }
  6628. }
  6629. }
  6630. },
  6631. "/WRTrade/GetAllDeliveryGoods": {
  6632. "get": {
  6633. "security": [
  6634. {
  6635. "ApiKeyAuth": []
  6636. },
  6637. {
  6638. "ApiKeyAuth": []
  6639. }
  6640. ],
  6641. "produces": [
  6642. "application/json",
  6643. "application/json"
  6644. ],
  6645. "tags": [
  6646. "仓单贸易",
  6647. "仓单贸易"
  6648. ],
  6649. "summary": "获取带仓单分类的种类信息",
  6650. "responses": {
  6651. "200": {
  6652. "description": "OK",
  6653. "schema": {
  6654. "$ref": "#/definitions/app.Response"
  6655. }
  6656. },
  6657. "500": {
  6658. "description": "Internal Server Error",
  6659. "schema": {
  6660. "$ref": "#/definitions/app.Response"
  6661. }
  6662. }
  6663. }
  6664. }
  6665. }
  6666. },
  6667. "definitions": {
  6668. "app.Response": {
  6669. "type": "object",
  6670. "properties": {
  6671. "code": {
  6672. "type": "integer"
  6673. },
  6674. "data": {
  6675. "type": "object"
  6676. },
  6677. "msg": {
  6678. "type": "string"
  6679. },
  6680. "page": {
  6681. "description": "页码",
  6682. "type": "integer"
  6683. },
  6684. "pagesize": {
  6685. "description": "每页条数",
  6686. "type": "integer"
  6687. },
  6688. "total": {
  6689. "description": "总条数",
  6690. "type": "integer"
  6691. }
  6692. }
  6693. },
  6694. "common.QueryImageConfigsRsp": {
  6695. "type": "object",
  6696. "required": [
  6697. "configid"
  6698. ],
  6699. "properties": {
  6700. "areauserid": {
  6701. "description": "所属机构ID",
  6702. "type": "integer"
  6703. },
  6704. "configid": {
  6705. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  6706. "type": "integer"
  6707. },
  6708. "createdate": {
  6709. "description": "创建时间",
  6710. "type": "string"
  6711. },
  6712. "creatorid": {
  6713. "description": "创建人",
  6714. "type": "integer"
  6715. },
  6716. "imagepath": {
  6717. "description": "图片",
  6718. "type": "string"
  6719. },
  6720. "imagetype": {
  6721. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  6722. "type": "integer"
  6723. },
  6724. "isshow": {
  6725. "description": "是否展示 - 0:不展示 1:展示",
  6726. "type": "integer"
  6727. },
  6728. "marketid": {
  6729. "description": "市场ID",
  6730. "type": "integer"
  6731. },
  6732. "modifierid": {
  6733. "description": "操作人",
  6734. "type": "integer"
  6735. },
  6736. "sort": {
  6737. "description": "排序",
  6738. "type": "integer"
  6739. },
  6740. "title": {
  6741. "description": "标题",
  6742. "type": "string"
  6743. },
  6744. "trademode": {
  6745. "description": "交易模式",
  6746. "type": "integer"
  6747. },
  6748. "updatedate": {
  6749. "description": "修改时间",
  6750. "type": "string"
  6751. },
  6752. "url": {
  6753. "description": "链接(地址或商品ID)",
  6754. "type": "string"
  6755. },
  6756. "urltype": {
  6757. "description": "链接类型 - 1:直接地址 2:商品ID",
  6758. "type": "integer"
  6759. }
  6760. }
  6761. },
  6762. "common.QueryNoticeRsp": {
  6763. "type": "object",
  6764. "required": [
  6765. "autoid"
  6766. ],
  6767. "properties": {
  6768. "auditoruserid": {
  6769. "description": "审核人",
  6770. "type": "integer"
  6771. },
  6772. "auditremark": {
  6773. "description": "审核备注",
  6774. "type": "string"
  6775. },
  6776. "audittime": {
  6777. "description": "审核日期",
  6778. "type": "string"
  6779. },
  6780. "autoid": {
  6781. "description": "自增ID",
  6782. "type": "integer"
  6783. },
  6784. "content": {
  6785. "description": "内容",
  6786. "type": "string"
  6787. },
  6788. "createtime": {
  6789. "description": "创建时间",
  6790. "type": "string"
  6791. },
  6792. "creatorid": {
  6793. "description": "建仓人",
  6794. "type": "integer"
  6795. },
  6796. "endtime": {
  6797. "description": "结束时间",
  6798. "type": "string"
  6799. },
  6800. "istop": {
  6801. "description": "是否置顶 - 0:不置顶 1:置顶",
  6802. "type": "integer"
  6803. },
  6804. "msgiconurl": {
  6805. "description": "消息图标Url",
  6806. "type": "string"
  6807. },
  6808. "msgtype": {
  6809. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  6810. "type": "integer"
  6811. },
  6812. "publisher": {
  6813. "description": "消息发布者",
  6814. "type": "string"
  6815. },
  6816. "readed": {
  6817. "description": "是否已读",
  6818. "type": "boolean"
  6819. },
  6820. "scheduletime": {
  6821. "description": "计划发送时间",
  6822. "type": "string"
  6823. },
  6824. "sendtype": {
  6825. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  6826. "type": "integer"
  6827. },
  6828. "sentstatus": {
  6829. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  6830. "type": "integer"
  6831. },
  6832. "title": {
  6833. "description": "标题",
  6834. "type": "string"
  6835. },
  6836. "userid": {
  6837. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  6838. "type": "integer"
  6839. }
  6840. }
  6841. },
  6842. "common.QueryProvincesAndCitiesRsp": {
  6843. "type": "object",
  6844. "properties": {
  6845. "cities": {
  6846. "description": "市",
  6847. "type": "array",
  6848. "items": {
  6849. "$ref": "#/definitions/models.Division"
  6850. }
  6851. },
  6852. "province": {
  6853. "description": "省",
  6854. "type": "object",
  6855. "$ref": "#/definitions/models.Division"
  6856. }
  6857. }
  6858. },
  6859. "common.QueryTableDefineRsp": {
  6860. "type": "object",
  6861. "required": [
  6862. "tablekey"
  6863. ],
  6864. "properties": {
  6865. "columns": {
  6866. "description": "列头信息数组",
  6867. "type": "array",
  6868. "items": {
  6869. "$ref": "#/definitions/models.Tablecolumnconfig"
  6870. }
  6871. },
  6872. "remark": {
  6873. "description": "Remark",
  6874. "type": "string"
  6875. },
  6876. "tabelmenu": {
  6877. "description": "列表菜单",
  6878. "type": "string"
  6879. },
  6880. "tablekey": {
  6881. "description": "列表Key",
  6882. "type": "string"
  6883. },
  6884. "tablename": {
  6885. "description": "列表名称",
  6886. "type": "string"
  6887. },
  6888. "tabletype": {
  6889. "description": "列表类型 - 1:管理端 2:终端",
  6890. "type": "integer"
  6891. }
  6892. }
  6893. },
  6894. "common.QueryTraderMenuRsp": {
  6895. "type": "object",
  6896. "properties": {
  6897. "OperationMenu": {
  6898. "description": "功能菜单",
  6899. "type": "array",
  6900. "items": {
  6901. "$ref": "#/definitions/models.OperationPrimaryMenu"
  6902. }
  6903. },
  6904. "QuoteMenu": {
  6905. "description": "报价牌分类菜单",
  6906. "type": "array",
  6907. "items": {
  6908. "$ref": "#/definitions/models.QuotePrimaryMenu"
  6909. }
  6910. }
  6911. }
  6912. },
  6913. "cptrade.Cptradepositioncancel": {
  6914. "type": "object",
  6915. "required": [
  6916. "cancelid"
  6917. ],
  6918. "properties": {
  6919. "accountid": {
  6920. "description": "申请人账户ID",
  6921. "type": "integer"
  6922. },
  6923. "applystatus": {
  6924. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6925. "type": "integer"
  6926. },
  6927. "applytime": {
  6928. "description": "申请时间",
  6929. "type": "string"
  6930. },
  6931. "cancelid": {
  6932. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  6933. "type": "integer"
  6934. },
  6935. "cancelqty": {
  6936. "description": "注销数量",
  6937. "type": "integer"
  6938. },
  6939. "createtime": {
  6940. "description": "创建时间",
  6941. "type": "string"
  6942. },
  6943. "creatorid": {
  6944. "description": "创建人ID",
  6945. "type": "integer"
  6946. },
  6947. "creatorname": {
  6948. "description": "创建人",
  6949. "type": "string"
  6950. },
  6951. "goodscode": {
  6952. "description": "订单商品代码",
  6953. "type": "string"
  6954. },
  6955. "goodsid": {
  6956. "description": "商品ID",
  6957. "type": "integer"
  6958. },
  6959. "goodsname": {
  6960. "description": "订单商品名称",
  6961. "type": "string"
  6962. },
  6963. "goodunit": {
  6964. "description": "报价单位",
  6965. "type": "string"
  6966. },
  6967. "handlestatus": {
  6968. "description": "处理状态",
  6969. "type": "integer"
  6970. },
  6971. "marketid": {
  6972. "description": "市场ID",
  6973. "type": "integer"
  6974. },
  6975. "marketname": {
  6976. "description": "市场名称",
  6977. "type": "string"
  6978. },
  6979. "tradedate": {
  6980. "description": "交易日(yyyyMMdd)",
  6981. "type": "string"
  6982. },
  6983. "userid": {
  6984. "description": "申请人ID",
  6985. "type": "integer"
  6986. }
  6987. }
  6988. },
  6989. "cptrade.Cptradepresaleapply": {
  6990. "type": "object",
  6991. "required": [
  6992. "applyid"
  6993. ],
  6994. "properties": {
  6995. "accountid": {
  6996. "description": "申请人账户ID",
  6997. "type": "integer"
  6998. },
  6999. "applyid": {
  7000. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  7001. "type": "integer"
  7002. },
  7003. "applyremark": {
  7004. "description": "申请备注",
  7005. "type": "string"
  7006. },
  7007. "applystatus": {
  7008. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7009. "type": "integer"
  7010. },
  7011. "applytime": {
  7012. "description": "申请时间",
  7013. "type": "string"
  7014. },
  7015. "attachmenturl": {
  7016. "description": "附件地址",
  7017. "type": "string"
  7018. },
  7019. "endtime": {
  7020. "description": "预售结束时间",
  7021. "type": "string"
  7022. },
  7023. "goodscode": {
  7024. "description": "商品代码",
  7025. "type": "string"
  7026. },
  7027. "goodsid": {
  7028. "description": "商品ID",
  7029. "type": "integer"
  7030. },
  7031. "goodsname": {
  7032. "description": "商品名称",
  7033. "type": "string"
  7034. },
  7035. "goodunit": {
  7036. "description": "报价单位",
  7037. "type": "string"
  7038. },
  7039. "handlestatus": {
  7040. "description": "处理状态",
  7041. "type": "integer"
  7042. },
  7043. "marketid": {
  7044. "description": "预售市场ID",
  7045. "type": "integer"
  7046. },
  7047. "marketname": {
  7048. "description": "预售市场名称",
  7049. "type": "string"
  7050. },
  7051. "presaleqty": {
  7052. "description": "预售数量",
  7053. "type": "integer"
  7054. },
  7055. "relatedgoodscode": {
  7056. "description": "关联交易合约代码",
  7057. "type": "string"
  7058. },
  7059. "relatedgoodsid": {
  7060. "description": "关联交易合约ID",
  7061. "type": "integer"
  7062. },
  7063. "relatedgoodsname": {
  7064. "description": "关联交易合约名称",
  7065. "type": "string"
  7066. },
  7067. "starttime": {
  7068. "description": "预售开始时间",
  7069. "type": "string"
  7070. },
  7071. "tradedate": {
  7072. "description": "交易日(yyyyMMdd)",
  7073. "type": "string"
  7074. },
  7075. "trademode": {
  7076. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  7077. "type": "integer"
  7078. },
  7079. "userid": {
  7080. "description": "申请人ID",
  7081. "type": "integer"
  7082. }
  7083. }
  7084. },
  7085. "cptrade.Cptradeusergoodsdata": {
  7086. "type": "object",
  7087. "required": [
  7088. "accountid",
  7089. "goodsid"
  7090. ],
  7091. "properties": {
  7092. "EnabledQty": {
  7093. "description": "可用量",
  7094. "type": "integer"
  7095. },
  7096. "GoodsCode": {
  7097. "description": "订单商品代码",
  7098. "type": "string"
  7099. },
  7100. "GoodsName": {
  7101. "description": "订单商品名称",
  7102. "type": "string"
  7103. },
  7104. "WRStandardCode": {
  7105. "description": "仓单标准代码",
  7106. "type": "string"
  7107. },
  7108. "WRStandardName": {
  7109. "description": "仓单标准名称",
  7110. "type": "string"
  7111. },
  7112. "accountid": {
  7113. "description": "账户ID",
  7114. "type": "integer"
  7115. },
  7116. "cancelqty": {
  7117. "description": "注销量",
  7118. "type": "integer"
  7119. },
  7120. "curpresaleqty": {
  7121. "description": "当前预售量",
  7122. "type": "integer"
  7123. },
  7124. "deliveryqty": {
  7125. "description": "交割量",
  7126. "type": "integer"
  7127. },
  7128. "freezeamount": {
  7129. "description": "冻结金额",
  7130. "type": "number"
  7131. },
  7132. "goodsid": {
  7133. "description": "商品ID",
  7134. "type": "integer"
  7135. },
  7136. "goodunit": {
  7137. "description": "报价单位",
  7138. "type": "string"
  7139. },
  7140. "hasspotfreeze": {
  7141. "description": "是否有现货冻结 - 0:否 1:有",
  7142. "type": "integer"
  7143. },
  7144. "inqty": {
  7145. "description": "转入量(总数量)",
  7146. "type": "integer"
  7147. },
  7148. "marketid": {
  7149. "description": "市场ID",
  7150. "type": "integer"
  7151. },
  7152. "presaledamount": {
  7153. "description": "已预售总金额",
  7154. "type": "integer"
  7155. },
  7156. "presaledqty": {
  7157. "description": "已预售量",
  7158. "type": "integer"
  7159. },
  7160. "userid": {
  7161. "description": "用户ID",
  7162. "type": "integer"
  7163. },
  7164. "wrstandardid": {
  7165. "description": "仓单标准ID",
  7166. "type": "integer"
  7167. }
  7168. }
  7169. },
  7170. "cptrade.QueryCPTradeMyBidRsp": {
  7171. "type": "object",
  7172. "required": [
  7173. "accountid",
  7174. "goodsid",
  7175. "marketid",
  7176. "orderid",
  7177. "orderqty",
  7178. "ordertime",
  7179. "tradeprice",
  7180. "tradeqty"
  7181. ],
  7182. "properties": {
  7183. "accountid": {
  7184. "description": "账户ID[报价币种]",
  7185. "type": "integer"
  7186. },
  7187. "goodsid": {
  7188. "description": "商品ID",
  7189. "type": "integer"
  7190. },
  7191. "goodunit": {
  7192. "description": "报价单位",
  7193. "type": "string"
  7194. },
  7195. "marketid": {
  7196. "description": "市场ID",
  7197. "type": "integer"
  7198. },
  7199. "orderid": {
  7200. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7201. "type": "integer"
  7202. },
  7203. "orderprice": {
  7204. "description": "委托价格",
  7205. "type": "number"
  7206. },
  7207. "orderqty": {
  7208. "description": "委托数量",
  7209. "type": "integer"
  7210. },
  7211. "ordertime": {
  7212. "description": "委托时间",
  7213. "type": "string"
  7214. },
  7215. "ordertotalprice": {
  7216. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  7217. "type": "number"
  7218. },
  7219. "ordertotalweight": {
  7220. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  7221. "type": "integer"
  7222. },
  7223. "totaltotalprice": {
  7224. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  7225. "type": "number"
  7226. },
  7227. "tradeprice": {
  7228. "description": "成交价格",
  7229. "type": "number"
  7230. },
  7231. "tradeqty": {
  7232. "description": "成交数量",
  7233. "type": "integer"
  7234. }
  7235. }
  7236. },
  7237. "cptrade.QueryCPTradeOrderDetailRsq": {
  7238. "type": "object",
  7239. "required": [
  7240. "accountid",
  7241. "buildtype",
  7242. "buyorsell",
  7243. "goodsid",
  7244. "marketid",
  7245. "memberuserid",
  7246. "operatetype",
  7247. "orderqty",
  7248. "ordertime",
  7249. "pricemode",
  7250. "strorderid",
  7251. "tradedate",
  7252. "validtype"
  7253. ],
  7254. "properties": {
  7255. "accountid": {
  7256. "description": "账户ID[报价币种]",
  7257. "type": "integer"
  7258. },
  7259. "buildtype": {
  7260. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7261. "type": "integer"
  7262. },
  7263. "buyorsell": {
  7264. "description": "买卖 - 0:买 1:卖",
  7265. "type": "integer"
  7266. },
  7267. "cancelorderid": {
  7268. "description": "撤单单号(撤单时填写)",
  7269. "type": "integer"
  7270. },
  7271. "cancelqty": {
  7272. "description": "撤单数量",
  7273. "type": "integer"
  7274. },
  7275. "clientordertime": {
  7276. "description": "客户端委托时间",
  7277. "type": "string"
  7278. },
  7279. "clientticket": {
  7280. "description": "客户端流水号",
  7281. "type": "string"
  7282. },
  7283. "clienttype": {
  7284. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7285. "type": "integer"
  7286. },
  7287. "closeexchagechargevalue": {
  7288. "description": "平仓交易所手续费设置值",
  7289. "type": "number"
  7290. },
  7291. "closefeealgorithm": {
  7292. "description": "平仓手续费收取方式 1:比率 2:固定",
  7293. "type": "integer"
  7294. },
  7295. "closefreezecharge": {
  7296. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7297. "type": "number"
  7298. },
  7299. "closememberchargevalue": {
  7300. "description": "平仓会员手续费设置值",
  7301. "type": "number"
  7302. },
  7303. "closeqty": {
  7304. "description": "平仓数量(先建后平操作 需要记录)",
  7305. "type": "integer"
  7306. },
  7307. "closetradeqty": {
  7308. "description": "平仓成交数量(先建后平操作,需要记录)",
  7309. "type": "integer"
  7310. },
  7311. "closeunfreezecharge": {
  7312. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7313. "type": "number"
  7314. },
  7315. "delistingtype": {
  7316. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7317. "type": "integer"
  7318. },
  7319. "freezecharge": {
  7320. "description": "冻结手续费",
  7321. "type": "number"
  7322. },
  7323. "freezemargin": {
  7324. "description": "冻结保证金(冻结交易金额)",
  7325. "type": "number"
  7326. },
  7327. "gcaccountid": {
  7328. "description": "账户ID[合约币种]",
  7329. "type": "integer"
  7330. },
  7331. "goodsid": {
  7332. "description": "商品ID",
  7333. "type": "integer"
  7334. },
  7335. "isconfirmexercise": {
  7336. "description": "是否确认行权- 0:否 1:是",
  7337. "type": "integer"
  7338. },
  7339. "ispreexercise": {
  7340. "description": "是否预申报- 0:否 1:是",
  7341. "type": "integer"
  7342. },
  7343. "listingselecttype": {
  7344. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7345. "type": "integer"
  7346. },
  7347. "marginalgorithm": {
  7348. "description": "保证金收取方式 1:比率 2:固定",
  7349. "type": "integer"
  7350. },
  7351. "marginvalue": {
  7352. "description": "即市保证金设置值",
  7353. "type": "number"
  7354. },
  7355. "marketid": {
  7356. "description": "市场ID",
  7357. "type": "integer"
  7358. },
  7359. "marketmaxsub": {
  7360. "description": "市价最大偏移范围",
  7361. "type": "number"
  7362. },
  7363. "memberuserid": {
  7364. "description": "所属会员UserID",
  7365. "type": "integer"
  7366. },
  7367. "openexchagechargevalue": {
  7368. "description": "建仓交易所手续费设置值",
  7369. "type": "number"
  7370. },
  7371. "openfeealgorithm": {
  7372. "description": "建仓手续费收取方式 1:比率 2:固定",
  7373. "type": "integer"
  7374. },
  7375. "openfreezecharge": {
  7376. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7377. "type": "number"
  7378. },
  7379. "openmemberchargevalue": {
  7380. "description": "建仓会员手续费设置值",
  7381. "type": "number"
  7382. },
  7383. "openqty": {
  7384. "description": "开仓数量(先建后平操作,需要记录)",
  7385. "type": "integer"
  7386. },
  7387. "opentradeqty": {
  7388. "description": "开仓成交数量(先建后平操作,需要记录)",
  7389. "type": "integer"
  7390. },
  7391. "openunfreezecharge": {
  7392. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7393. "type": "number"
  7394. },
  7395. "operatetype": {
  7396. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7397. "type": "integer"
  7398. },
  7399. "operatorid": {
  7400. "description": "登录账号(LoginID)",
  7401. "type": "integer"
  7402. },
  7403. "optiontype": {
  7404. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7405. "type": "integer"
  7406. },
  7407. "orderprice": {
  7408. "description": "委托价格",
  7409. "type": "number"
  7410. },
  7411. "orderqty": {
  7412. "description": "委托数量",
  7413. "type": "integer"
  7414. },
  7415. "ordersrc": {
  7416. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7417. "type": "integer"
  7418. },
  7419. "orderstatus": {
  7420. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7421. "type": "integer"
  7422. },
  7423. "ordertime": {
  7424. "description": "委托时间",
  7425. "type": "string"
  7426. },
  7427. "preexerciseprice": {
  7428. "description": "预申报价格",
  7429. "type": "number"
  7430. },
  7431. "premium": {
  7432. "description": "权利金",
  7433. "type": "number"
  7434. },
  7435. "preorderid": {
  7436. "description": "关联预埋单号(止盈止损单时填写)",
  7437. "type": "integer"
  7438. },
  7439. "pricemode": {
  7440. "description": "取价方式 - 1:市价 2: 限价",
  7441. "type": "integer"
  7442. },
  7443. "quoteid": {
  7444. "description": "报价单ID",
  7445. "type": "integer"
  7446. },
  7447. "relatedid": {
  7448. "description": "关联单号(交割单)",
  7449. "type": "integer"
  7450. },
  7451. "retcode": {
  7452. "description": "错误代码",
  7453. "type": "integer"
  7454. },
  7455. "sessionid": {
  7456. "description": "会话ID",
  7457. "type": "integer"
  7458. },
  7459. "strorderid": {
  7460. "description": "委托单号",
  7461. "type": "string"
  7462. },
  7463. "tradedate": {
  7464. "description": "交易日(yyyyMMdd)",
  7465. "type": "string"
  7466. },
  7467. "tradeproperty": {
  7468. "description": "交易属性",
  7469. "type": "integer"
  7470. },
  7471. "tradeqty": {
  7472. "description": "成交数量",
  7473. "type": "integer"
  7474. },
  7475. "unfreezecharge": {
  7476. "description": "解冻手续费",
  7477. "type": "number"
  7478. },
  7479. "unfreezemargin": {
  7480. "description": "解冻保证金",
  7481. "type": "number"
  7482. },
  7483. "updatetime": {
  7484. "description": "更新时间",
  7485. "type": "string"
  7486. },
  7487. "uuid": {
  7488. "description": "发起端唯一id",
  7489. "type": "string"
  7490. },
  7491. "validtime": {
  7492. "description": "有效期限",
  7493. "type": "string"
  7494. },
  7495. "validtype": {
  7496. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7497. "type": "integer"
  7498. },
  7499. "volumetype": {
  7500. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7501. "type": "integer"
  7502. }
  7503. }
  7504. },
  7505. "cptrade.QueryMyCPTradeGoodsRsp": {
  7506. "type": "object",
  7507. "required": [
  7508. "goodscode",
  7509. "goodsid",
  7510. "goodsname",
  7511. "marketid",
  7512. "relatedgoodscode",
  7513. "relatedgoodsname"
  7514. ],
  7515. "properties": {
  7516. "accountid": {
  7517. "description": "卖方账户ID",
  7518. "type": "integer"
  7519. },
  7520. "agreeunit": {
  7521. "description": "合约单位",
  7522. "type": "number"
  7523. },
  7524. "applyid": {
  7525. "description": "关联申请ID",
  7526. "type": "integer"
  7527. },
  7528. "attachmenturl": {
  7529. "description": "附件地址",
  7530. "type": "string"
  7531. },
  7532. "createtime": {
  7533. "description": "创建时间",
  7534. "type": "string"
  7535. },
  7536. "currencyid": {
  7537. "description": "报价货币ID",
  7538. "type": "integer"
  7539. },
  7540. "decimalplace": {
  7541. "description": "报价小数位",
  7542. "type": "integer"
  7543. },
  7544. "endtime": {
  7545. "description": "预售结束时间",
  7546. "type": "string"
  7547. },
  7548. "floorprice": {
  7549. "description": "底价[大宗式竞拍]",
  7550. "type": "number"
  7551. },
  7552. "goodscode": {
  7553. "description": "商品代码(预售)",
  7554. "type": "string"
  7555. },
  7556. "goodsdetail": {
  7557. "description": "详情[大宗]",
  7558. "type": "string"
  7559. },
  7560. "goodsid": {
  7561. "description": "商品ID(自增ID SEQ_GOODS)",
  7562. "type": "integer"
  7563. },
  7564. "goodsname": {
  7565. "description": "商品名称(预售)",
  7566. "type": "string"
  7567. },
  7568. "goodunit": {
  7569. "description": "报价单位",
  7570. "type": "string"
  7571. },
  7572. "goodunitid": {
  7573. "description": "报价单位ID",
  7574. "type": "integer"
  7575. },
  7576. "marketid": {
  7577. "description": "所属市场ID",
  7578. "type": "integer"
  7579. },
  7580. "marketname": {
  7581. "description": "预售市场名称",
  7582. "type": "string"
  7583. },
  7584. "presaledamount": {
  7585. "description": "已预售总金额(预售结束时更新)",
  7586. "type": "number"
  7587. },
  7588. "presaledqty": {
  7589. "description": "已预售量(预售结束时更新)",
  7590. "type": "integer"
  7591. },
  7592. "presalemode": {
  7593. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7594. "type": "integer"
  7595. },
  7596. "presaleqty": {
  7597. "description": "预售数量",
  7598. "type": "integer"
  7599. },
  7600. "refprice": {
  7601. "description": "参考价格[一口价]",
  7602. "type": "number"
  7603. },
  7604. "relatedgoodscode": {
  7605. "description": "商品代码(订单)",
  7606. "type": "string"
  7607. },
  7608. "relatedgoodsid": {
  7609. "description": "关联交易合约ID",
  7610. "type": "integer"
  7611. },
  7612. "relatedgoodsname": {
  7613. "description": "商品名称(订单)",
  7614. "type": "string"
  7615. },
  7616. "relatedmarketid": {
  7617. "description": "关联交易合约市场ID",
  7618. "type": "integer"
  7619. },
  7620. "sellstatus": {
  7621. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7622. "type": "integer"
  7623. },
  7624. "startprice": {
  7625. "description": "起拍价[大宗式竞拍]",
  7626. "type": "number"
  7627. },
  7628. "starttime": {
  7629. "description": "预售开始时间",
  7630. "type": "string"
  7631. },
  7632. "tradedate": {
  7633. "description": "交易日(yyyyMMdd)",
  7634. "type": "string"
  7635. },
  7636. "tradeprice": {
  7637. "description": "成交价[大宗]",
  7638. "type": "number"
  7639. },
  7640. "userid": {
  7641. "description": "卖方用户ID",
  7642. "type": "integer"
  7643. }
  7644. }
  7645. },
  7646. "cptrade.QueryPresaleGoodsExRsp": {
  7647. "type": "object",
  7648. "required": [
  7649. "goodsid"
  7650. ],
  7651. "properties": {
  7652. "attachmenturl": {
  7653. "description": "附件地址",
  7654. "type": "string"
  7655. },
  7656. "createtime": {
  7657. "description": "创建时间",
  7658. "type": "string"
  7659. },
  7660. "endtime": {
  7661. "description": "预售结束时间",
  7662. "type": "string"
  7663. },
  7664. "floorprice": {
  7665. "description": "底价[大宗式竞拍]",
  7666. "type": "number"
  7667. },
  7668. "goodsdetail": {
  7669. "description": "详情[大宗]",
  7670. "type": "string"
  7671. },
  7672. "goodsid": {
  7673. "description": "商品ID(预售)",
  7674. "type": "integer"
  7675. },
  7676. "goodunit": {
  7677. "description": "报价单位",
  7678. "type": "string"
  7679. },
  7680. "marketid": {
  7681. "description": "预售市场ID - 根据预售模式选择市场",
  7682. "type": "integer"
  7683. },
  7684. "presaledamount": {
  7685. "description": "已预售总金额(预售结束时更新)",
  7686. "type": "number"
  7687. },
  7688. "presaledqty": {
  7689. "description": "已预售量(预售结束时更新)",
  7690. "type": "integer"
  7691. },
  7692. "presalemode": {
  7693. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7694. "type": "integer"
  7695. },
  7696. "presaleqty": {
  7697. "description": "预售数量",
  7698. "type": "integer"
  7699. },
  7700. "refprice": {
  7701. "description": "参考价格[一口价]",
  7702. "type": "number"
  7703. },
  7704. "relatedgoodsid": {
  7705. "description": "关联交易合约ID",
  7706. "type": "integer"
  7707. },
  7708. "relatedmarketid": {
  7709. "description": "关联交易合约市场ID",
  7710. "type": "integer"
  7711. },
  7712. "sellstatus": {
  7713. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7714. "type": "integer"
  7715. },
  7716. "startprice": {
  7717. "description": "起拍价[大宗式竞拍]",
  7718. "type": "number"
  7719. },
  7720. "starttime": {
  7721. "description": "预售开始时间",
  7722. "type": "string"
  7723. },
  7724. "tradedate": {
  7725. "description": "交易日(yyyyMMdd)",
  7726. "type": "string"
  7727. },
  7728. "tradeprice": {
  7729. "description": "成交价[大宗]",
  7730. "type": "number"
  7731. }
  7732. }
  7733. },
  7734. "delivery.QueryDeliveryRelationRsp": {
  7735. "type": "object",
  7736. "required": [
  7737. "begindate",
  7738. "enddate",
  7739. "goodsid",
  7740. "mindeliveryqty",
  7741. "xdeliveryratio"
  7742. ],
  7743. "properties": {
  7744. "begindate": {
  7745. "description": "起始日期(yyyyMMdd)",
  7746. "type": "string"
  7747. },
  7748. "buytemplateid": {
  7749. "description": "买履约计划模板ID",
  7750. "type": "integer"
  7751. },
  7752. "deliverygoodscode": {
  7753. "description": "品种代码",
  7754. "type": "string"
  7755. },
  7756. "deliverygoodsid": {
  7757. "description": "交割商品",
  7758. "type": "integer"
  7759. },
  7760. "deliverygoodsname": {
  7761. "description": "品种名称",
  7762. "type": "string"
  7763. },
  7764. "deliverymode": {
  7765. "description": "交割方式 - 1:点选式 2:申报式",
  7766. "type": "integer"
  7767. },
  7768. "deliverypricerule": {
  7769. "description": "交割价规则- 1:行情价 2:建仓价",
  7770. "type": "integer"
  7771. },
  7772. "deliverytype": {
  7773. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  7774. "type": "integer"
  7775. },
  7776. "enddate": {
  7777. "description": "结束日期(yyyyMMdd)",
  7778. "type": "string"
  7779. },
  7780. "goodscode": {
  7781. "description": "商品代码",
  7782. "type": "string"
  7783. },
  7784. "goodsid": {
  7785. "description": "交易合约ID",
  7786. "type": "integer"
  7787. },
  7788. "goodsname": {
  7789. "description": "商品名称",
  7790. "type": "string"
  7791. },
  7792. "marketid": {
  7793. "description": "市场ID",
  7794. "type": "integer"
  7795. },
  7796. "mindeliveryqty": {
  7797. "description": "最小交割系数(K)",
  7798. "type": "integer"
  7799. },
  7800. "p2deliveryprice": {
  7801. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  7802. "type": "number"
  7803. },
  7804. "p2deliveryratio": {
  7805. "description": "P2合约系数(p)",
  7806. "type": "integer"
  7807. },
  7808. "p2goodsid": {
  7809. "description": "P2合约ID",
  7810. "type": "integer"
  7811. },
  7812. "p2pricemode": {
  7813. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  7814. "type": "integer"
  7815. },
  7816. "pdeliveryprice": {
  7817. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  7818. "type": "number"
  7819. },
  7820. "pdeliveryratio": {
  7821. "description": "P合约系数(n)",
  7822. "type": "integer"
  7823. },
  7824. "pgoodsid": {
  7825. "description": "P合约ID",
  7826. "type": "integer"
  7827. },
  7828. "ppricemode": {
  7829. "description": "P合约价格方式 - 1:商品价 2:固定值",
  7830. "type": "integer"
  7831. },
  7832. "rratio": {
  7833. "description": "兑换系数(R)",
  7834. "type": "integer"
  7835. },
  7836. "rratio1": {
  7837. "description": "兑换系数(交易合约)(R1)",
  7838. "type": "integer"
  7839. },
  7840. "rratio2": {
  7841. "description": "兑换系数(仓单标准)(R2)",
  7842. "type": "integer"
  7843. },
  7844. "selltemplateid": {
  7845. "description": "卖履约计划模板ID",
  7846. "type": "integer"
  7847. },
  7848. "wrstandardid": {
  7849. "description": "仓单标准ID",
  7850. "type": "integer"
  7851. },
  7852. "xdeliveryratio": {
  7853. "description": "交易合约系数(m)",
  7854. "type": "integer"
  7855. }
  7856. }
  7857. },
  7858. "ermcp.ExposureDetailRsp": {
  7859. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  7860. },
  7861. "ermcp.ExposureHedgePosDetailRsp": {
  7862. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  7863. },
  7864. "ermcp.ExposureHedgePositionRsp": {
  7865. "$ref": "#/definitions/models.ErmcpHedgePosition"
  7866. },
  7867. "ermcp.ExposureSpotDetailRsp": {
  7868. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  7869. },
  7870. "ermcp.ExposureSpotRsp": {
  7871. "$ref": "#/definitions/models.AreaSpotModel"
  7872. },
  7873. "ermcp.HisExposureRsp": {
  7874. "$ref": "#/definitions/models.ErmcpHisExposureS"
  7875. },
  7876. "ermcp.PendingAuditCntRsp": {
  7877. "$ref": "#/definitions/models.ErmcpPendingAudit"
  7878. },
  7879. "ermcp.QryAreaStockApplyRsp": {
  7880. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  7881. },
  7882. "ermcp.QryAvalidGPRsp": {
  7883. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  7884. },
  7885. "ermcp.QryBusinessDjRsp": {
  7886. "type": "object",
  7887. "properties": {
  7888. "amount": {
  7889. "description": "点价金额=(点价价格+升贴水)*点价数量",
  7890. "type": "number"
  7891. },
  7892. "applyid": {
  7893. "description": "申请人",
  7894. "type": "string"
  7895. },
  7896. "applyname": {
  7897. "description": "申请人名称",
  7898. "type": "string"
  7899. },
  7900. "applystatus": {
  7901. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7902. "type": "integer"
  7903. },
  7904. "applytime": {
  7905. "description": "申请时间",
  7906. "type": "string"
  7907. },
  7908. "attachurl": {
  7909. "description": "附件",
  7910. "type": "string"
  7911. },
  7912. "auditname": {
  7913. "description": "审核人名称",
  7914. "type": "string"
  7915. },
  7916. "audittime": {
  7917. "description": "审核时间",
  7918. "type": "string"
  7919. },
  7920. "buyusername": {
  7921. "description": "采购方名称",
  7922. "type": "string"
  7923. },
  7924. "contractno": {
  7925. "description": "合同编号",
  7926. "type": "string"
  7927. },
  7928. "contractstatus": {
  7929. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7930. "type": "integer"
  7931. },
  7932. "contracttype": {
  7933. "description": "现货合同类型 - 1:采购 -1:销售",
  7934. "type": "integer"
  7935. },
  7936. "enumdicname": {
  7937. "description": "单位名称",
  7938. "type": "string"
  7939. },
  7940. "goodscode": {
  7941. "description": "点价合约",
  7942. "type": "string"
  7943. },
  7944. "goodsname": {
  7945. "description": "商品名称",
  7946. "type": "string"
  7947. },
  7948. "operateapplyid": {
  7949. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7950. "type": "string"
  7951. },
  7952. "operateapplytype": {
  7953. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7954. "type": "integer"
  7955. },
  7956. "pricedPrice": {
  7957. "description": "点价价格(非必填)",
  7958. "type": "number"
  7959. },
  7960. "pricedQty": {
  7961. "description": "点价数量(非必填)",
  7962. "type": "number"
  7963. },
  7964. "pricemove": {
  7965. "description": "升贴水",
  7966. "type": "number"
  7967. },
  7968. "pricetype": {
  7969. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7970. "type": "integer"
  7971. },
  7972. "relatedid": {
  7973. "description": "现货合同ID",
  7974. "type": "string"
  7975. },
  7976. "sellusername": {
  7977. "description": "销售方名字",
  7978. "type": "string"
  7979. },
  7980. "userid": {
  7981. "description": "用户ID",
  7982. "type": "integer"
  7983. },
  7984. "wrstandardcode": {
  7985. "description": "现货商品代码",
  7986. "type": "string"
  7987. },
  7988. "wrstandardid": {
  7989. "description": "现货商品id",
  7990. "type": "integer"
  7991. },
  7992. "wrstandardname": {
  7993. "description": "现货商品名称",
  7994. "type": "string"
  7995. }
  7996. }
  7997. },
  7998. "ermcp.QryBussinessFpRsp": {
  7999. "type": "object",
  8000. "properties": {
  8001. "applyid": {
  8002. "description": "申请人",
  8003. "type": "string"
  8004. },
  8005. "applyname": {
  8006. "description": "申请人名称",
  8007. "type": "string"
  8008. },
  8009. "applystatus": {
  8010. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8011. "type": "integer"
  8012. },
  8013. "applytime": {
  8014. "description": "申请时间",
  8015. "type": "string"
  8016. },
  8017. "attachurl": {
  8018. "description": "附件",
  8019. "type": "string"
  8020. },
  8021. "auditname": {
  8022. "description": "审核人名称",
  8023. "type": "string"
  8024. },
  8025. "audittime": {
  8026. "description": "审核时间",
  8027. "type": "string"
  8028. },
  8029. "buyusername": {
  8030. "description": "采购方名称",
  8031. "type": "string"
  8032. },
  8033. "contractno": {
  8034. "description": "合同编号",
  8035. "type": "string"
  8036. },
  8037. "contractstatus": {
  8038. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8039. "type": "integer"
  8040. },
  8041. "contracttype": {
  8042. "description": "现货合同类型 - 1:采购 -1:销售",
  8043. "type": "integer"
  8044. },
  8045. "enumdicname": {
  8046. "description": "单位名称",
  8047. "type": "string"
  8048. },
  8049. "goodscode": {
  8050. "description": "点价合约",
  8051. "type": "string"
  8052. },
  8053. "goodsname": {
  8054. "description": "商品名称",
  8055. "type": "string"
  8056. },
  8057. "invoiceAmount": {
  8058. "description": "已开收票金额(销售为开票,采购为收票)",
  8059. "type": "number"
  8060. },
  8061. "operateapplyid": {
  8062. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8063. "type": "string"
  8064. },
  8065. "operateapplytype": {
  8066. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8067. "type": "integer"
  8068. },
  8069. "pricemove": {
  8070. "description": "升贴水",
  8071. "type": "number"
  8072. },
  8073. "pricetype": {
  8074. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8075. "type": "integer"
  8076. },
  8077. "relatedid": {
  8078. "description": "现货合同ID",
  8079. "type": "string"
  8080. },
  8081. "sellusername": {
  8082. "description": "销售方名字",
  8083. "type": "string"
  8084. },
  8085. "userid": {
  8086. "description": "用户ID",
  8087. "type": "integer"
  8088. },
  8089. "wrstandardcode": {
  8090. "description": "现货商品代码",
  8091. "type": "string"
  8092. },
  8093. "wrstandardid": {
  8094. "description": "现货商品id",
  8095. "type": "integer"
  8096. },
  8097. "wrstandardname": {
  8098. "description": "现货商品名称",
  8099. "type": "string"
  8100. }
  8101. }
  8102. },
  8103. "ermcp.QryBussinessJsExRsp": {
  8104. "type": "object",
  8105. "properties": {
  8106. "applyid": {
  8107. "description": "申请人",
  8108. "type": "string"
  8109. },
  8110. "applyname": {
  8111. "description": "申请人名称",
  8112. "type": "string"
  8113. },
  8114. "applystatus": {
  8115. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8116. "type": "integer"
  8117. },
  8118. "applytime": {
  8119. "description": "申请时间",
  8120. "type": "string"
  8121. },
  8122. "attachurl": {
  8123. "description": "附件",
  8124. "type": "string"
  8125. },
  8126. "auditname": {
  8127. "description": "审核人名称",
  8128. "type": "string"
  8129. },
  8130. "audittime": {
  8131. "description": "审核时间",
  8132. "type": "string"
  8133. },
  8134. "buyusername": {
  8135. "description": "采购方名称",
  8136. "type": "string"
  8137. },
  8138. "contractno": {
  8139. "description": "合同编号",
  8140. "type": "string"
  8141. },
  8142. "contractstatus": {
  8143. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8144. "type": "integer"
  8145. },
  8146. "contracttype": {
  8147. "description": "现货合同类型 - 1:采购 -1:销售",
  8148. "type": "integer"
  8149. },
  8150. "enumdicname": {
  8151. "description": "单位名称",
  8152. "type": "string"
  8153. },
  8154. "goodscode": {
  8155. "description": "点价合约",
  8156. "type": "string"
  8157. },
  8158. "goodsname": {
  8159. "description": "商品名称",
  8160. "type": "string"
  8161. },
  8162. "operateapplyid": {
  8163. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8164. "type": "string"
  8165. },
  8166. "operateapplytype": {
  8167. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8168. "type": "integer"
  8169. },
  8170. "pricemove": {
  8171. "description": "升贴水",
  8172. "type": "number"
  8173. },
  8174. "pricetype": {
  8175. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8176. "type": "integer"
  8177. },
  8178. "reckontype": {
  8179. "description": "结算类型",
  8180. "type": "string"
  8181. },
  8182. "reckonvalue": {
  8183. "description": "值",
  8184. "type": "number"
  8185. },
  8186. "relatedid": {
  8187. "description": "现货合同ID",
  8188. "type": "string"
  8189. },
  8190. "sellusername": {
  8191. "description": "销售方名字",
  8192. "type": "string"
  8193. },
  8194. "userid": {
  8195. "description": "用户ID",
  8196. "type": "integer"
  8197. },
  8198. "wrstandardcode": {
  8199. "description": "现货商品代码",
  8200. "type": "string"
  8201. },
  8202. "wrstandardid": {
  8203. "description": "现货商品id",
  8204. "type": "integer"
  8205. },
  8206. "wrstandardname": {
  8207. "description": "现货商品名称",
  8208. "type": "string"
  8209. }
  8210. }
  8211. },
  8212. "ermcp.QryBussinessJsRsp": {
  8213. "type": "object",
  8214. "properties": {
  8215. "addmargin": {
  8216. "description": "追加保证金(非必填)",
  8217. "type": "number"
  8218. },
  8219. "applyid": {
  8220. "description": "申请人",
  8221. "type": "string"
  8222. },
  8223. "applyname": {
  8224. "description": "申请人名称",
  8225. "type": "string"
  8226. },
  8227. "applystatus": {
  8228. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8229. "type": "integer"
  8230. },
  8231. "applytime": {
  8232. "description": "申请时间",
  8233. "type": "string"
  8234. },
  8235. "attachurl": {
  8236. "description": "附件",
  8237. "type": "string"
  8238. },
  8239. "auditname": {
  8240. "description": "审核人名称",
  8241. "type": "string"
  8242. },
  8243. "audittime": {
  8244. "description": "审核时间",
  8245. "type": "string"
  8246. },
  8247. "buyusername": {
  8248. "description": "采购方名称",
  8249. "type": "string"
  8250. },
  8251. "contractno": {
  8252. "description": "合同编号",
  8253. "type": "string"
  8254. },
  8255. "contractstatus": {
  8256. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8257. "type": "integer"
  8258. },
  8259. "contracttype": {
  8260. "description": "现货合同类型 - 1:采购 -1:销售",
  8261. "type": "integer"
  8262. },
  8263. "decmargin": {
  8264. "description": "减少保证金(非必填)",
  8265. "type": "number"
  8266. },
  8267. "enumdicname": {
  8268. "description": "单位名称",
  8269. "type": "string"
  8270. },
  8271. "goodscode": {
  8272. "description": "点价合约",
  8273. "type": "string"
  8274. },
  8275. "goodsname": {
  8276. "description": "商品名称",
  8277. "type": "string"
  8278. },
  8279. "operateapplyid": {
  8280. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8281. "type": "string"
  8282. },
  8283. "operateapplytype": {
  8284. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8285. "type": "integer"
  8286. },
  8287. "pricemove": {
  8288. "description": "升贴水",
  8289. "type": "number"
  8290. },
  8291. "pricetype": {
  8292. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8293. "type": "integer"
  8294. },
  8295. "reckonadjustamount": {
  8296. "description": "结算调整金额(非必填)",
  8297. "type": "number"
  8298. },
  8299. "reckonosamount": {
  8300. "description": "结算溢短金额(非必填)",
  8301. "type": "number"
  8302. },
  8303. "reckonotheramount": {
  8304. "description": "结算其他费用(非必填)",
  8305. "type": "number"
  8306. },
  8307. "reckonrealqty": {
  8308. "description": "结算实际数量(非必填)",
  8309. "type": "number"
  8310. },
  8311. "relatedid": {
  8312. "description": "现货合同ID",
  8313. "type": "string"
  8314. },
  8315. "sellusername": {
  8316. "description": "销售方名字",
  8317. "type": "string"
  8318. },
  8319. "userid": {
  8320. "description": "用户ID",
  8321. "type": "integer"
  8322. },
  8323. "wrstandardcode": {
  8324. "description": "现货商品代码",
  8325. "type": "string"
  8326. },
  8327. "wrstandardid": {
  8328. "description": "现货商品id",
  8329. "type": "integer"
  8330. },
  8331. "wrstandardname": {
  8332. "description": "现货商品名称",
  8333. "type": "string"
  8334. }
  8335. }
  8336. },
  8337. "ermcp.QryBussinessKxRsp": {
  8338. "type": "object",
  8339. "properties": {
  8340. "applyid": {
  8341. "description": "申请人",
  8342. "type": "string"
  8343. },
  8344. "applyname": {
  8345. "description": "申请人名称",
  8346. "type": "string"
  8347. },
  8348. "applystatus": {
  8349. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8350. "type": "integer"
  8351. },
  8352. "applytime": {
  8353. "description": "申请时间",
  8354. "type": "string"
  8355. },
  8356. "attachurl": {
  8357. "description": "附件",
  8358. "type": "string"
  8359. },
  8360. "auditname": {
  8361. "description": "审核人名称",
  8362. "type": "string"
  8363. },
  8364. "audittime": {
  8365. "description": "审核时间",
  8366. "type": "string"
  8367. },
  8368. "buyusername": {
  8369. "description": "采购方名称",
  8370. "type": "string"
  8371. },
  8372. "contractno": {
  8373. "description": "合同编号",
  8374. "type": "string"
  8375. },
  8376. "contractstatus": {
  8377. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8378. "type": "integer"
  8379. },
  8380. "contracttype": {
  8381. "description": "现货合同类型 - 1:采购 -1:销售",
  8382. "type": "integer"
  8383. },
  8384. "deductamount": {
  8385. "description": "退款(非必填)",
  8386. "type": "number"
  8387. },
  8388. "enumdicname": {
  8389. "description": "单位名称",
  8390. "type": "string"
  8391. },
  8392. "goodscode": {
  8393. "description": "点价合约",
  8394. "type": "string"
  8395. },
  8396. "goodsname": {
  8397. "description": "商品名称",
  8398. "type": "string"
  8399. },
  8400. "kxtype": {
  8401. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  8402. "type": "integer"
  8403. },
  8404. "operateapplyid": {
  8405. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8406. "type": "string"
  8407. },
  8408. "operateapplytype": {
  8409. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8410. "type": "integer"
  8411. },
  8412. "payamount": {
  8413. "description": "收付款(非必填)",
  8414. "type": "number"
  8415. },
  8416. "pricemove": {
  8417. "description": "升贴水",
  8418. "type": "number"
  8419. },
  8420. "pricetype": {
  8421. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8422. "type": "integer"
  8423. },
  8424. "relatedid": {
  8425. "description": "现货合同ID",
  8426. "type": "string"
  8427. },
  8428. "sellusername": {
  8429. "description": "销售方名字",
  8430. "type": "string"
  8431. },
  8432. "userid": {
  8433. "description": "用户ID",
  8434. "type": "integer"
  8435. },
  8436. "wrstandardcode": {
  8437. "description": "现货商品代码",
  8438. "type": "string"
  8439. },
  8440. "wrstandardid": {
  8441. "description": "现货商品id",
  8442. "type": "integer"
  8443. },
  8444. "wrstandardname": {
  8445. "description": "现货商品名称",
  8446. "type": "string"
  8447. }
  8448. }
  8449. },
  8450. "ermcp.QryErmcpRsp": {
  8451. "$ref": "#/definitions/models.ErmcpModel"
  8452. },
  8453. "ermcp.QryGGCovertCfgRsp": {
  8454. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  8455. },
  8456. "ermcp.QryHedgePlanRsp": {
  8457. "$ref": "#/definitions/models.ErmcpHedgePlan"
  8458. },
  8459. "ermcp.QryMGChangeLogRsp": {
  8460. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  8461. },
  8462. "ermcp.QryMiddleGoodsDetailRsp": {
  8463. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  8464. },
  8465. "ermcp.QryMiddleGoodsRsp": {
  8466. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8467. },
  8468. "ermcp.QryOPLogRsp": {
  8469. "$ref": "#/definitions/models.ErmcpOPLogModel"
  8470. },
  8471. "ermcp.QryReportDaySpotDetailRsp": {
  8472. "$ref": "#/definitions/models.ErmcpReportOPLog"
  8473. },
  8474. "ermcp.QryReportExposureDayRsp": {
  8475. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  8476. },
  8477. "ermcp.QryReportFinanceDayRsp": {
  8478. "$ref": "#/definitions/models.ErmcpReportDayFR"
  8479. },
  8480. "ermcp.QryReportFinanceKxRsp": {
  8481. "$ref": "#/definitions/models.ErmcpReportOPLog"
  8482. },
  8483. "ermcp.QryReportFinanceMonRsp": {
  8484. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  8485. },
  8486. "ermcp.QryReportSpotDayRsp": {
  8487. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  8488. },
  8489. "ermcp.QryReportSpotMonRsp": {
  8490. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  8491. },
  8492. "ermcp.QryReportSpotMonthDetailRsp": {
  8493. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  8494. },
  8495. "ermcp.QrySpotContractRsp": {
  8496. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  8497. },
  8498. "ermcp.QryUserInfoRsp": {
  8499. "$ref": "#/definitions/models.ErmcpUserModel"
  8500. },
  8501. "ermcp.QryWarehouseRsp": {
  8502. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  8503. },
  8504. "ermcp.QryWrStandardDetailRsp": {
  8505. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  8506. },
  8507. "ermcp.QryWrStandardRsp": {
  8508. "$ref": "#/definitions/models.ErmcpWrstandard"
  8509. },
  8510. "ermcp.QueryAreaStockApplySumRsp": {
  8511. "$ref": "#/definitions/models.ErmcpAreaStockApplySum"
  8512. },
  8513. "ermcp.QueryErmcpTradePositionRsp": {
  8514. "type": "object",
  8515. "properties": {
  8516. "agreeunit": {
  8517. "description": "合约单位",
  8518. "type": "number"
  8519. },
  8520. "buyorsell": {
  8521. "description": "方向 - 0:买 1:卖",
  8522. "type": "integer"
  8523. },
  8524. "curpositionqty": {
  8525. "description": "持仓(总仓数量, 期末头寸)",
  8526. "type": "integer"
  8527. },
  8528. "curtdposition": {
  8529. "description": "今仓数量(期末今日头寸)",
  8530. "type": "integer"
  8531. },
  8532. "curtdpositionenabled": {
  8533. "description": "今仓可用",
  8534. "type": "integer"
  8535. },
  8536. "decimalplace": {
  8537. "description": "报价小数位",
  8538. "type": "integer"
  8539. },
  8540. "enableqty": {
  8541. "description": "可用(总仓可用)",
  8542. "type": "integer"
  8543. },
  8544. "exexchangename": {
  8545. "description": "外部交易所名称",
  8546. "type": "string"
  8547. },
  8548. "goodscode": {
  8549. "description": "商品代码(内部)",
  8550. "type": "string"
  8551. },
  8552. "goodsid": {
  8553. "description": "商品ID(自增ID SEQ_GOODS)",
  8554. "type": "integer"
  8555. },
  8556. "goodsname": {
  8557. "description": "商品名称",
  8558. "type": "string"
  8559. },
  8560. "last": {
  8561. "description": "现价",
  8562. "type": "number"
  8563. },
  8564. "marketid": {
  8565. "description": "所属市场ID",
  8566. "type": "integer"
  8567. },
  8568. "openaverageprice": {
  8569. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  8570. "type": "number"
  8571. },
  8572. "opencost": {
  8573. "description": "开仓成本",
  8574. "type": "number"
  8575. },
  8576. "openpl": {
  8577. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  8578. "type": "number"
  8579. },
  8580. "outgoodscode": {
  8581. "description": "商品代码(外部)",
  8582. "type": "string"
  8583. },
  8584. "positionaverageprice": {
  8585. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  8586. "type": "number"
  8587. },
  8588. "positioncost": {
  8589. "description": "持仓成本",
  8590. "type": "number"
  8591. },
  8592. "positionpl": {
  8593. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  8594. "type": "number"
  8595. },
  8596. "positionplrate": {
  8597. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  8598. "type": "number"
  8599. },
  8600. "usedmargin": {
  8601. "description": "占用保证金",
  8602. "type": "number"
  8603. }
  8604. }
  8605. },
  8606. "ermcp.RealtimeExposurePositionRsp": {
  8607. "$ref": "#/definitions/models.ErmcpExposurePostion"
  8608. },
  8609. "ermcp.RealtimeExposureRsp": {
  8610. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  8611. },
  8612. "erms2.QueryArbitrageStrategyRsp": {
  8613. "type": "object",
  8614. "required": [
  8615. "asapplyid"
  8616. ],
  8617. "properties": {
  8618. "applybasis": {
  8619. "description": "申请基差",
  8620. "type": "number"
  8621. },
  8622. "asapplyid": {
  8623. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  8624. "type": "string"
  8625. },
  8626. "asname": {
  8627. "description": "策略名称",
  8628. "type": "string"
  8629. },
  8630. "asno": {
  8631. "description": "策略编号",
  8632. "type": "string"
  8633. },
  8634. "basischangepl": {
  8635. "description": "基差变动损益[结算更新]",
  8636. "type": "number"
  8637. },
  8638. "biztype": {
  8639. "description": "业务类型 - 1:正向套利 -1:反向套利",
  8640. "type": "integer"
  8641. },
  8642. "closetradedate": {
  8643. "description": "完结交易日(yyyyMMdd)",
  8644. "type": "string"
  8645. },
  8646. "curbasis": {
  8647. "description": "当前基差[结算更新]",
  8648. "type": "number"
  8649. },
  8650. "deliverygoodsid": {
  8651. "description": "现货品种ID",
  8652. "type": "integer"
  8653. },
  8654. "futureavgprice": {
  8655. "description": "期货建仓均价",
  8656. "type": "number"
  8657. },
  8658. "futurecloseamount": {
  8659. "description": "期货平仓金额",
  8660. "type": "number"
  8661. },
  8662. "futurecloseqty": {
  8663. "description": "期货平仓数量",
  8664. "type": "number"
  8665. },
  8666. "futureopenamount": {
  8667. "description": "期货开仓金额",
  8668. "type": "number"
  8669. },
  8670. "futureopenqty": {
  8671. "description": "期货开仓数量",
  8672. "type": "number"
  8673. },
  8674. "futurepl": {
  8675. "description": "期货总盈亏[结算更新]",
  8676. "type": "number"
  8677. },
  8678. "futureqty": {
  8679. "description": "期货持仓数量",
  8680. "type": "number"
  8681. },
  8682. "futurequote": {
  8683. "description": "期货额度",
  8684. "type": "number"
  8685. },
  8686. "goodsgroupid": {
  8687. "description": "期货品种ID",
  8688. "type": "integer"
  8689. },
  8690. "marketid": {
  8691. "description": "市场ID",
  8692. "type": "integer"
  8693. },
  8694. "netexposure": {
  8695. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  8696. "type": "number"
  8697. },
  8698. "netexposurepl": {
  8699. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  8700. "type": "number"
  8701. },
  8702. "netexposurerate": {
  8703. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  8704. "type": "number"
  8705. },
  8706. "openbasis": {
  8707. "description": "建仓基差",
  8708. "type": "number"
  8709. },
  8710. "pricedspotqty": {
  8711. "description": "已定价现货数量",
  8712. "type": "number"
  8713. },
  8714. "pricedspotqtynotax": {
  8715. "description": "已定价现货不含税数量",
  8716. "type": "number"
  8717. },
  8718. "remark": {
  8719. "description": "备注",
  8720. "type": "string"
  8721. },
  8722. "spotavgprice": {
  8723. "description": "现货均价",
  8724. "type": "number"
  8725. },
  8726. "spotbuyamount": {
  8727. "description": "现货采购金额",
  8728. "type": "number"
  8729. },
  8730. "spotbuyqty": {
  8731. "description": "现货采购数量",
  8732. "type": "number"
  8733. },
  8734. "spotpl": {
  8735. "description": "现货总盈亏[结算更新]",
  8736. "type": "number"
  8737. },
  8738. "spotquota": {
  8739. "description": "现货额度",
  8740. "type": "number"
  8741. },
  8742. "spotsellamount": {
  8743. "description": "现货销售金额",
  8744. "type": "number"
  8745. },
  8746. "spotsellqty": {
  8747. "description": "现货销售数量",
  8748. "type": "number"
  8749. },
  8750. "spotusedquota": {
  8751. "description": "现货占用资金",
  8752. "type": "number"
  8753. },
  8754. "strategystatus": {
  8755. "description": "策略状态 - 0:未结束 1:已结束",
  8756. "type": "integer"
  8757. },
  8758. "totalpl": {
  8759. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  8760. "type": "number"
  8761. },
  8762. "tradedate": {
  8763. "description": "交易日(yyyyMMdd)",
  8764. "type": "string"
  8765. },
  8766. "updatetime": {
  8767. "description": "更新时间",
  8768. "type": "string"
  8769. },
  8770. "usedquota": {
  8771. "description": "已占用资金",
  8772. "type": "number"
  8773. },
  8774. "userid": {
  8775. "description": "所属机构",
  8776. "type": "integer"
  8777. }
  8778. }
  8779. },
  8780. "erms2.QueryInnerTradeDetailRsp": {
  8781. "type": "object",
  8782. "required": [
  8783. "asapplyid",
  8784. "buyorsell",
  8785. "goodscode",
  8786. "goodsgroupid",
  8787. "goodsgroupname",
  8788. "goodsname",
  8789. "tradeid"
  8790. ],
  8791. "properties": {
  8792. "accountid": {
  8793. "description": "账号ID",
  8794. "type": "integer"
  8795. },
  8796. "agreeunit": {
  8797. "description": "合约单位",
  8798. "type": "number"
  8799. },
  8800. "asapplyid": {
  8801. "description": "策略申请ID",
  8802. "type": "integer"
  8803. },
  8804. "asname": {
  8805. "description": "策略名称",
  8806. "type": "string"
  8807. },
  8808. "asno": {
  8809. "description": "策略编号",
  8810. "type": "string"
  8811. },
  8812. "buyorsell": {
  8813. "description": "方向 - 0:买 1:卖",
  8814. "type": "integer"
  8815. },
  8816. "channelbuildtype": {
  8817. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  8818. "type": "integer"
  8819. },
  8820. "closetype": {
  8821. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  8822. "type": "integer"
  8823. },
  8824. "decimalplace": {
  8825. "description": "报价小数位",
  8826. "type": "integer"
  8827. },
  8828. "detailtype": {
  8829. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  8830. "type": "integer"
  8831. },
  8832. "exexchangecode": {
  8833. "description": "外部交易所代码",
  8834. "type": "string"
  8835. },
  8836. "exexchangename": {
  8837. "description": "外部交易所名称",
  8838. "type": "string"
  8839. },
  8840. "goodscode": {
  8841. "description": "商品代码(合约)",
  8842. "type": "string"
  8843. },
  8844. "goodsgroupid": {
  8845. "description": "商品组ID(品种ID)",
  8846. "type": "integer"
  8847. },
  8848. "goodsgroupname": {
  8849. "description": "商品组名称(品种)",
  8850. "type": "string"
  8851. },
  8852. "goodsid": {
  8853. "description": "商品ID",
  8854. "type": "integer"
  8855. },
  8856. "goodsname": {
  8857. "description": "商品名称(合约)",
  8858. "type": "string"
  8859. },
  8860. "goodunit": {
  8861. "description": "报价单位",
  8862. "type": "string"
  8863. },
  8864. "marketid": {
  8865. "description": "市场ID",
  8866. "type": "integer"
  8867. },
  8868. "orderid": {
  8869. "description": "委托单号",
  8870. "type": "string"
  8871. },
  8872. "outgoodscode": {
  8873. "description": "商品代码(外部)",
  8874. "type": "string"
  8875. },
  8876. "relatedouttradeid": {
  8877. "description": "关联外部成交单ID",
  8878. "type": "string"
  8879. },
  8880. "remark": {
  8881. "description": "备注",
  8882. "type": "string"
  8883. },
  8884. "spotcontractid": {
  8885. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  8886. "type": "integer"
  8887. },
  8888. "spotcontractno": {
  8889. "description": "现货合同编号",
  8890. "type": "string"
  8891. },
  8892. "tradeid": {
  8893. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8894. "type": "string"
  8895. },
  8896. "tradeprice": {
  8897. "description": "成交价格",
  8898. "type": "number"
  8899. },
  8900. "tradeqty": {
  8901. "description": "成交数量",
  8902. "type": "integer"
  8903. },
  8904. "tradetime": {
  8905. "description": "成交时间",
  8906. "type": "string"
  8907. },
  8908. "updatetime": {
  8909. "description": "更新时间",
  8910. "type": "string"
  8911. }
  8912. }
  8913. },
  8914. "erms2.QuerySpotContractRsp": {
  8915. "type": "object",
  8916. "required": [
  8917. "spotcontractid"
  8918. ],
  8919. "properties": {
  8920. "accountid": {
  8921. "description": "资金账户ID",
  8922. "type": "integer"
  8923. },
  8924. "areauserid": {
  8925. "description": "所属机构",
  8926. "type": "integer"
  8927. },
  8928. "closedate": {
  8929. "description": "终止日期",
  8930. "type": "string"
  8931. },
  8932. "closeremark": {
  8933. "description": "结束备注",
  8934. "type": "string"
  8935. },
  8936. "closetradedate": {
  8937. "description": "完结交易日(yyyyMMdd)",
  8938. "type": "string"
  8939. },
  8940. "closetype": {
  8941. "description": "终止类型 - 1:违约 2:提前终止",
  8942. "type": "integer"
  8943. },
  8944. "contractamount": {
  8945. "description": "合同金额",
  8946. "type": "number"
  8947. },
  8948. "contractattachment": {
  8949. "description": "合同附件",
  8950. "type": "string"
  8951. },
  8952. "contractno": {
  8953. "description": "现货合同编号",
  8954. "type": "string"
  8955. },
  8956. "contractqty": {
  8957. "description": "合同数量(数值) (用于计算)",
  8958. "type": "number"
  8959. },
  8960. "contractqtychar": {
  8961. "description": "合同数量\\已订价数量 (用于显示)",
  8962. "type": "string"
  8963. },
  8964. "contractstatus": {
  8965. "description": "合同状态 - 0:未结束 1:已结束",
  8966. "type": "integer"
  8967. },
  8968. "contracttype": {
  8969. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  8970. "type": "integer"
  8971. },
  8972. "customeraccountid": {
  8973. "description": "客户资金账户ID",
  8974. "type": "integer"
  8975. },
  8976. "customeruserid": {
  8977. "description": "客户ID",
  8978. "type": "integer"
  8979. },
  8980. "deliverygoodsdesc": {
  8981. "description": "品种说明",
  8982. "type": "string"
  8983. },
  8984. "deliverygoodsid": {
  8985. "description": "现货品种ID",
  8986. "type": "integer"
  8987. },
  8988. "handlestatus": {
  8989. "description": "处理状态",
  8990. "type": "integer"
  8991. },
  8992. "invoiceatt": {
  8993. "description": "发票附件",
  8994. "type": "string"
  8995. },
  8996. "invoicedatetime": {
  8997. "description": "开收票更新时间",
  8998. "type": "string"
  8999. },
  9000. "invoiceopentime": {
  9001. "description": "开票时间",
  9002. "type": "string"
  9003. },
  9004. "invoiceremark": {
  9005. "description": "发票备注",
  9006. "type": "string"
  9007. },
  9008. "invoicestatus": {
  9009. "description": "开收票状态 - 0:未开票 1:已开票",
  9010. "type": "integer"
  9011. },
  9012. "lastdate": {
  9013. "description": "交货时间",
  9014. "type": "string"
  9015. },
  9016. "marketid": {
  9017. "description": "市场ID",
  9018. "type": "integer"
  9019. },
  9020. "paydatetime": {
  9021. "description": "收付款更新时间",
  9022. "type": "string"
  9023. },
  9024. "payremark": {
  9025. "description": "收付款备注",
  9026. "type": "string"
  9027. },
  9028. "paystatus": {
  9029. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  9030. "type": "integer"
  9031. },
  9032. "positionqty": {
  9033. "description": "头寸数量 - 合同数量去小数部分",
  9034. "type": "integer"
  9035. },
  9036. "producttype": {
  9037. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9038. "type": "integer"
  9039. },
  9040. "relatedqty": {
  9041. "description": "已关联数量",
  9042. "type": "number"
  9043. },
  9044. "relatedstatus": {
  9045. "description": "关联完结状态 - 0:未结束 1:已结束",
  9046. "type": "integer"
  9047. },
  9048. "remark": {
  9049. "description": "备注",
  9050. "type": "string"
  9051. },
  9052. "signdate": {
  9053. "description": "签订日期",
  9054. "type": "string"
  9055. },
  9056. "spotcontractid": {
  9057. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  9058. "type": "string"
  9059. },
  9060. "spotdatetime": {
  9061. "description": "收发货更新时间",
  9062. "type": "string"
  9063. },
  9064. "spotprice": {
  9065. "description": "价格",
  9066. "type": "number"
  9067. },
  9068. "spotremark": {
  9069. "description": "收发货备注",
  9070. "type": "string"
  9071. },
  9072. "spotstatus": {
  9073. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  9074. "type": "integer"
  9075. },
  9076. "tradedate": {
  9077. "description": "交易日(yyyyMMdd)",
  9078. "type": "string"
  9079. },
  9080. "userid": {
  9081. "description": "业务员用户ID",
  9082. "type": "integer"
  9083. },
  9084. "warehouseid": {
  9085. "description": "仓库ID",
  9086. "type": "integer"
  9087. },
  9088. "wrfactortypeid": {
  9089. "description": "仓单要素类型ID",
  9090. "type": "integer"
  9091. },
  9092. "wrstandardid": {
  9093. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  9094. "type": "integer"
  9095. }
  9096. }
  9097. },
  9098. "erms3.AddErms2ASApplyReq": {
  9099. "type": "object",
  9100. "required": [
  9101. "asapplyid"
  9102. ],
  9103. "properties": {
  9104. "applybasis": {
  9105. "description": "申请基差",
  9106. "type": "number"
  9107. },
  9108. "applystatus": {
  9109. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9110. "type": "integer"
  9111. },
  9112. "asapplyid": {
  9113. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  9114. "type": "integer"
  9115. },
  9116. "asname": {
  9117. "description": "策略名称",
  9118. "type": "string"
  9119. },
  9120. "asno": {
  9121. "description": "策略编号",
  9122. "type": "string"
  9123. },
  9124. "auditid": {
  9125. "description": "审核人",
  9126. "type": "integer"
  9127. },
  9128. "auditremark": {
  9129. "description": "审核备注",
  9130. "type": "string"
  9131. },
  9132. "audittime": {
  9133. "description": "审核时间",
  9134. "type": "string"
  9135. },
  9136. "biztype": {
  9137. "description": "业务类型 - 1:正向套利 2:反向套利",
  9138. "type": "integer"
  9139. },
  9140. "createtime": {
  9141. "description": "创建时间",
  9142. "type": "string"
  9143. },
  9144. "creatorid": {
  9145. "description": "创建人",
  9146. "type": "integer"
  9147. },
  9148. "deliverygoodsid": {
  9149. "description": "现货品种ID",
  9150. "type": "integer"
  9151. },
  9152. "futurequote": {
  9153. "description": "期货额度",
  9154. "type": "number"
  9155. },
  9156. "goodsgroupid": {
  9157. "description": "期货品种ID",
  9158. "type": "integer"
  9159. },
  9160. "marketid": {
  9161. "description": "市场ID",
  9162. "type": "integer"
  9163. },
  9164. "remark": {
  9165. "description": "备注",
  9166. "type": "string"
  9167. },
  9168. "spotquota": {
  9169. "description": "现货额度",
  9170. "type": "number"
  9171. },
  9172. "tradedate": {
  9173. "description": "交易日(yyyyMMdd)",
  9174. "type": "string"
  9175. },
  9176. "userid": {
  9177. "description": "所属机构",
  9178. "type": "integer"
  9179. }
  9180. }
  9181. },
  9182. "erms3.AddErms2SpotTradeApplyReq": {
  9183. "type": "object",
  9184. "required": [
  9185. "spottradeid"
  9186. ],
  9187. "properties": {
  9188. "applyjsondetail": {
  9189. "description": "申请明细(JSON)",
  9190. "type": "string"
  9191. },
  9192. "applystatus": {
  9193. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9194. "type": "integer"
  9195. },
  9196. "areauserid": {
  9197. "description": "所属机构",
  9198. "type": "integer"
  9199. },
  9200. "auditid": {
  9201. "description": "审核人",
  9202. "type": "integer"
  9203. },
  9204. "auditremark": {
  9205. "description": "审核备注",
  9206. "type": "string"
  9207. },
  9208. "audittime": {
  9209. "description": "审核时间",
  9210. "type": "string"
  9211. },
  9212. "createtime": {
  9213. "description": "创建时间",
  9214. "type": "string"
  9215. },
  9216. "creatorid": {
  9217. "description": "创建人",
  9218. "type": "integer"
  9219. },
  9220. "deliverygoodsid": {
  9221. "description": "现货品种ID",
  9222. "type": "integer"
  9223. },
  9224. "futureaccountid": {
  9225. "description": "期货资金账户",
  9226. "type": "integer"
  9227. },
  9228. "goodsgroupid": {
  9229. "description": "期货品种",
  9230. "type": "integer"
  9231. },
  9232. "marketid": {
  9233. "description": "市场ID",
  9234. "type": "integer"
  9235. },
  9236. "remark": {
  9237. "description": "备注",
  9238. "type": "string"
  9239. },
  9240. "spotaccountid": {
  9241. "description": "现货资金账户",
  9242. "type": "integer"
  9243. },
  9244. "spottradeid": {
  9245. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  9246. "type": "integer"
  9247. },
  9248. "spottradename": {
  9249. "description": "业务名称",
  9250. "type": "string"
  9251. },
  9252. "spottradeno": {
  9253. "description": "业务编号",
  9254. "type": "string"
  9255. },
  9256. "tradedate": {
  9257. "description": "交易日(yyyyMMdd)",
  9258. "type": "string"
  9259. },
  9260. "wrstandardid": {
  9261. "description": "仓单标准ID",
  9262. "type": "integer"
  9263. }
  9264. }
  9265. },
  9266. "erms3.AddSpotContractApplyReq": {
  9267. "type": "object",
  9268. "required": [
  9269. "accountid",
  9270. "areauserid",
  9271. "contractno",
  9272. "contracttype",
  9273. "customeraccountid",
  9274. "customeruserid",
  9275. "details",
  9276. "orimargin",
  9277. "signdate"
  9278. ],
  9279. "properties": {
  9280. "accountid": {
  9281. "description": "资金账户ID",
  9282. "type": "integer"
  9283. },
  9284. "areauserid": {
  9285. "description": "所属机构",
  9286. "type": "integer"
  9287. },
  9288. "contractattachment": {
  9289. "description": "合同附件",
  9290. "type": "string"
  9291. },
  9292. "contractno": {
  9293. "description": "现货合同编号",
  9294. "type": "string"
  9295. },
  9296. "contracttype": {
  9297. "description": "现货合同类型 - 1:采购 -1:销售",
  9298. "type": "integer"
  9299. },
  9300. "creatorid": {
  9301. "description": "申请人",
  9302. "type": "integer"
  9303. },
  9304. "customeraccountid": {
  9305. "description": "客户资金账户ID",
  9306. "type": "integer"
  9307. },
  9308. "customeruserid": {
  9309. "description": "客户ID",
  9310. "type": "integer"
  9311. },
  9312. "details": {
  9313. "description": "明细",
  9314. "type": "array",
  9315. "items": {
  9316. "$ref": "#/definitions/erms3.SoptContractDetail"
  9317. }
  9318. },
  9319. "orimargin": {
  9320. "description": "初始保证金",
  9321. "type": "number"
  9322. },
  9323. "remark": {
  9324. "description": "备注",
  9325. "type": "string"
  9326. },
  9327. "signdate": {
  9328. "description": "签订日期",
  9329. "type": "string"
  9330. }
  9331. }
  9332. },
  9333. "erms3.AddSpotContractApplyRsp": {
  9334. "type": "object",
  9335. "required": [
  9336. "contractno"
  9337. ],
  9338. "properties": {
  9339. "contractno": {
  9340. "description": "现货合同编号",
  9341. "type": "string"
  9342. },
  9343. "spotcontractid": {
  9344. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  9345. "type": "integer"
  9346. }
  9347. }
  9348. },
  9349. "erms3.AddUserInfoApplyReq": {
  9350. "type": "object",
  9351. "required": [
  9352. "userid"
  9353. ],
  9354. "properties": {
  9355. "accountid": {
  9356. "description": "交易系统帐号Id (加密存储)",
  9357. "type": "integer"
  9358. },
  9359. "areacode": {
  9360. "description": "机构代码",
  9361. "type": "string"
  9362. },
  9363. "areaid": {
  9364. "description": "机构Id",
  9365. "type": "integer"
  9366. },
  9367. "attachment1": {
  9368. "description": "附件1",
  9369. "type": "string"
  9370. },
  9371. "attachment2": {
  9372. "description": "附件2",
  9373. "type": "string"
  9374. },
  9375. "attachment3": {
  9376. "description": "附件3",
  9377. "type": "string"
  9378. },
  9379. "attachment4": {
  9380. "description": "附件4",
  9381. "type": "string"
  9382. },
  9383. "attachment5": {
  9384. "description": "附件5",
  9385. "type": "string"
  9386. },
  9387. "auditedby": {
  9388. "description": "审核人",
  9389. "type": "string"
  9390. },
  9391. "auditime": {
  9392. "description": "审核时间",
  9393. "type": "string"
  9394. },
  9395. "bankaccount": {
  9396. "description": "银行帐号 (加密存储)",
  9397. "type": "string"
  9398. },
  9399. "bankaccountname": {
  9400. "description": "收款人名称",
  9401. "type": "string"
  9402. },
  9403. "bankcardbackphotourl": {
  9404. "description": "银行卡背面照地址",
  9405. "type": "string"
  9406. },
  9407. "bankcardfrontphotourl": {
  9408. "description": "银行卡正面照地址",
  9409. "type": "string"
  9410. },
  9411. "bankid": {
  9412. "description": "银行编码",
  9413. "type": "string"
  9414. },
  9415. "bankname": {
  9416. "description": "银行名称",
  9417. "type": "string"
  9418. },
  9419. "bankpictureurl": {
  9420. "description": "银行卡正面地址",
  9421. "type": "string"
  9422. },
  9423. "biznature": {
  9424. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9425. "type": "integer"
  9426. },
  9427. "bizscope": {
  9428. "description": "企业经营范围(企业)",
  9429. "type": "string"
  9430. },
  9431. "biztype": {
  9432. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  9433. "type": "integer"
  9434. },
  9435. "brokerid": {
  9436. "description": "经纪人ID(加密存储)",
  9437. "type": "string"
  9438. },
  9439. "cardaddress": {
  9440. "description": "证件地址 (加密存储)",
  9441. "type": "string"
  9442. },
  9443. "cardbackphotourl": {
  9444. "description": "背面证件照地址",
  9445. "type": "string"
  9446. },
  9447. "cardfrontphotourl": {
  9448. "description": "正面证件照地址",
  9449. "type": "string"
  9450. },
  9451. "cardnum": {
  9452. "description": "证件号码 (加密存储)",
  9453. "type": "string"
  9454. },
  9455. "cardtype": {
  9456. "description": "证件类型",
  9457. "type": "integer"
  9458. },
  9459. "cityid": {
  9460. "description": "市",
  9461. "type": "integer"
  9462. },
  9463. "company": {
  9464. "description": "公司(个人)",
  9465. "type": "string"
  9466. },
  9467. "contactcardbackphotourl": {
  9468. "description": "联系人证件背面图片地址",
  9469. "type": "string"
  9470. },
  9471. "contactcardfrontphotourl": {
  9472. "description": "联系人证件正面图片地址",
  9473. "type": "string"
  9474. },
  9475. "contactname": {
  9476. "description": "联系人",
  9477. "type": "string"
  9478. },
  9479. "countryid": {
  9480. "description": "国家",
  9481. "type": "integer"
  9482. },
  9483. "createtime": {
  9484. "description": "开户申请时间",
  9485. "type": "string"
  9486. },
  9487. "cusbankid": {
  9488. "description": "签约类型",
  9489. "type": "string"
  9490. },
  9491. "cusbankname": {
  9492. "description": "签约类型名称",
  9493. "type": "string"
  9494. },
  9495. "customername": {
  9496. "description": "客户名称(企业名称)",
  9497. "type": "string"
  9498. },
  9499. "districtid": {
  9500. "description": "地区",
  9501. "type": "integer"
  9502. },
  9503. "email": {
  9504. "description": "Email地址(加密存储)",
  9505. "type": "string"
  9506. },
  9507. "halfbodyphotourl": {
  9508. "description": "半身照地址",
  9509. "type": "string"
  9510. },
  9511. "headurl": {
  9512. "description": "头像地址",
  9513. "type": "string"
  9514. },
  9515. "ipaddress": {
  9516. "description": "IP地址",
  9517. "type": "string"
  9518. },
  9519. "isvalidate": {
  9520. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  9521. "type": "string"
  9522. },
  9523. "legalcardbackphotourl": {
  9524. "description": "法人身份证背面照地址",
  9525. "type": "string"
  9526. },
  9527. "legalcardfrontphotourl": {
  9528. "description": "法人身份证正面照地址",
  9529. "type": "string"
  9530. },
  9531. "legalpersonname": {
  9532. "description": "法人姓名(企业)",
  9533. "type": "string"
  9534. },
  9535. "logincode": {
  9536. "description": "登录帐号 (加密存储)",
  9537. "type": "string"
  9538. },
  9539. "memberareaid": {
  9540. "description": "所属会员ID",
  9541. "type": "integer"
  9542. },
  9543. "mobile2": {
  9544. "description": "手机号码[明文-尚志]",
  9545. "type": "string"
  9546. },
  9547. "mobilephone": {
  9548. "description": "手机号码 (加密存储)",
  9549. "type": "string"
  9550. },
  9551. "modifiedby": {
  9552. "description": "修改人帐号",
  9553. "type": "integer"
  9554. },
  9555. "modifiedtime": {
  9556. "description": "修改时间",
  9557. "type": "string"
  9558. },
  9559. "nickname": {
  9560. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  9561. "type": "string"
  9562. },
  9563. "openmode": {
  9564. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  9565. "type": "integer"
  9566. },
  9567. "otherurl": {
  9568. "description": "其它图片地址[使用分号分隔]",
  9569. "type": "string"
  9570. },
  9571. "postalcode": {
  9572. "description": "邮政编码",
  9573. "type": "string"
  9574. },
  9575. "provinceid": {
  9576. "description": "省",
  9577. "type": "integer"
  9578. },
  9579. "proxystatementurl": {
  9580. "description": "授权委托书",
  9581. "type": "string"
  9582. },
  9583. "qq": {
  9584. "description": "QQ(加密存储",
  9585. "type": "string"
  9586. },
  9587. "referral": {
  9588. "description": "推荐人编码",
  9589. "type": "string"
  9590. },
  9591. "remark": {
  9592. "description": "备注",
  9593. "type": "string"
  9594. },
  9595. "removebeforestatus": {
  9596. "description": "REMOVEBEFORESTATUS",
  9597. "type": "integer"
  9598. },
  9599. "sex": {
  9600. "description": "性别 - 0:女 1:男",
  9601. "type": "integer"
  9602. },
  9603. "signedstatus": {
  9604. "description": "账户一号签签约状态",
  9605. "type": "integer"
  9606. },
  9607. "signpdfurl": {
  9608. "description": "签约pdf文件",
  9609. "type": "string"
  9610. },
  9611. "subbranch": {
  9612. "description": "开户支行",
  9613. "type": "string"
  9614. },
  9615. "telphone": {
  9616. "description": "联系电话(加密存储)",
  9617. "type": "string"
  9618. },
  9619. "userid": {
  9620. "description": "用户ID(自增ID)",
  9621. "type": "integer"
  9622. },
  9623. "userinfotype": {
  9624. "description": "用户信息类型 - 1:个人 2:企业",
  9625. "type": "integer"
  9626. },
  9627. "username": {
  9628. "description": "用户姓名",
  9629. "type": "string"
  9630. },
  9631. "userstate": {
  9632. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9633. "type": "integer"
  9634. },
  9635. "usertype": {
  9636. "description": "用户类型 - 1:投资者 2:机构",
  9637. "type": "integer"
  9638. },
  9639. "videourl": {
  9640. "description": "视频地址",
  9641. "type": "string"
  9642. },
  9643. "wechat": {
  9644. "description": "微信号 (加密存储)",
  9645. "type": "string"
  9646. }
  9647. }
  9648. },
  9649. "erms3.CustomerInfo": {
  9650. "type": "object",
  9651. "required": [
  9652. "userid"
  9653. ],
  9654. "properties": {
  9655. "accountids": {
  9656. "description": "资金账户ID列表",
  9657. "type": "array",
  9658. "items": {
  9659. "type": "integer"
  9660. }
  9661. },
  9662. "customername": {
  9663. "description": "名称(企业名称)",
  9664. "type": "string"
  9665. },
  9666. "mobile": {
  9667. "description": "手机号码",
  9668. "type": "string"
  9669. },
  9670. "userid": {
  9671. "description": "用户ID",
  9672. "type": "integer"
  9673. }
  9674. }
  9675. },
  9676. "erms3.ModifyUserInfoApplyReq": {
  9677. "type": "object",
  9678. "required": [
  9679. "userid"
  9680. ],
  9681. "properties": {
  9682. "accountid": {
  9683. "description": "交易系统帐号Id (加密存储)",
  9684. "type": "integer"
  9685. },
  9686. "areacode": {
  9687. "description": "机构代码",
  9688. "type": "string"
  9689. },
  9690. "areaid": {
  9691. "description": "机构Id",
  9692. "type": "integer"
  9693. },
  9694. "attachment1": {
  9695. "description": "附件1",
  9696. "type": "string"
  9697. },
  9698. "attachment2": {
  9699. "description": "附件2",
  9700. "type": "string"
  9701. },
  9702. "attachment3": {
  9703. "description": "附件3",
  9704. "type": "string"
  9705. },
  9706. "attachment4": {
  9707. "description": "附件4",
  9708. "type": "string"
  9709. },
  9710. "attachment5": {
  9711. "description": "附件5",
  9712. "type": "string"
  9713. },
  9714. "auditedby": {
  9715. "description": "审核人",
  9716. "type": "string"
  9717. },
  9718. "auditime": {
  9719. "description": "审核时间",
  9720. "type": "string"
  9721. },
  9722. "bankaccount": {
  9723. "description": "银行帐号 (加密存储)",
  9724. "type": "string"
  9725. },
  9726. "bankaccountname": {
  9727. "description": "收款人名称",
  9728. "type": "string"
  9729. },
  9730. "bankcardbackphotourl": {
  9731. "description": "银行卡背面照地址",
  9732. "type": "string"
  9733. },
  9734. "bankcardfrontphotourl": {
  9735. "description": "银行卡正面照地址",
  9736. "type": "string"
  9737. },
  9738. "bankid": {
  9739. "description": "银行编码",
  9740. "type": "string"
  9741. },
  9742. "bankname": {
  9743. "description": "银行名称",
  9744. "type": "string"
  9745. },
  9746. "bankpictureurl": {
  9747. "description": "银行卡正面地址",
  9748. "type": "string"
  9749. },
  9750. "biznature": {
  9751. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9752. "type": "integer"
  9753. },
  9754. "bizscope": {
  9755. "description": "企业经营范围(企业)",
  9756. "type": "string"
  9757. },
  9758. "biztype": {
  9759. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  9760. "type": "integer"
  9761. },
  9762. "brokerid": {
  9763. "description": "经纪人ID(加密存储)",
  9764. "type": "string"
  9765. },
  9766. "cardaddress": {
  9767. "description": "证件地址 (加密存储)",
  9768. "type": "string"
  9769. },
  9770. "cardbackphotourl": {
  9771. "description": "背面证件照地址",
  9772. "type": "string"
  9773. },
  9774. "cardfrontphotourl": {
  9775. "description": "正面证件照地址",
  9776. "type": "string"
  9777. },
  9778. "cardnum": {
  9779. "description": "证件号码 (加密存储)",
  9780. "type": "string"
  9781. },
  9782. "cardtype": {
  9783. "description": "证件类型",
  9784. "type": "integer"
  9785. },
  9786. "cityid": {
  9787. "description": "市",
  9788. "type": "integer"
  9789. },
  9790. "company": {
  9791. "description": "公司(个人)",
  9792. "type": "string"
  9793. },
  9794. "contactcardbackphotourl": {
  9795. "description": "联系人证件背面图片地址",
  9796. "type": "string"
  9797. },
  9798. "contactcardfrontphotourl": {
  9799. "description": "联系人证件正面图片地址",
  9800. "type": "string"
  9801. },
  9802. "contactname": {
  9803. "description": "联系人",
  9804. "type": "string"
  9805. },
  9806. "countryid": {
  9807. "description": "国家",
  9808. "type": "integer"
  9809. },
  9810. "createtime": {
  9811. "description": "开户申请时间",
  9812. "type": "string"
  9813. },
  9814. "cusbankid": {
  9815. "description": "签约类型",
  9816. "type": "string"
  9817. },
  9818. "cusbankname": {
  9819. "description": "签约类型名称",
  9820. "type": "string"
  9821. },
  9822. "customername": {
  9823. "description": "客户名称(企业名称)",
  9824. "type": "string"
  9825. },
  9826. "districtid": {
  9827. "description": "地区",
  9828. "type": "integer"
  9829. },
  9830. "email": {
  9831. "description": "Email地址(加密存储)",
  9832. "type": "string"
  9833. },
  9834. "halfbodyphotourl": {
  9835. "description": "半身照地址",
  9836. "type": "string"
  9837. },
  9838. "headurl": {
  9839. "description": "头像地址",
  9840. "type": "string"
  9841. },
  9842. "ipaddress": {
  9843. "description": "IP地址",
  9844. "type": "string"
  9845. },
  9846. "isvalidate": {
  9847. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  9848. "type": "string"
  9849. },
  9850. "legalcardbackphotourl": {
  9851. "description": "法人身份证背面照地址",
  9852. "type": "string"
  9853. },
  9854. "legalcardfrontphotourl": {
  9855. "description": "法人身份证正面照地址",
  9856. "type": "string"
  9857. },
  9858. "legalpersonname": {
  9859. "description": "法人姓名(企业)",
  9860. "type": "string"
  9861. },
  9862. "logincode": {
  9863. "description": "登录帐号 (加密存储)",
  9864. "type": "string"
  9865. },
  9866. "memberareaid": {
  9867. "description": "所属会员ID",
  9868. "type": "integer"
  9869. },
  9870. "mobile2": {
  9871. "description": "手机号码[明文-尚志]",
  9872. "type": "string"
  9873. },
  9874. "mobilephone": {
  9875. "description": "手机号码 (加密存储)",
  9876. "type": "string"
  9877. },
  9878. "modifiedby": {
  9879. "description": "修改人帐号",
  9880. "type": "integer"
  9881. },
  9882. "modifiedtime": {
  9883. "description": "修改时间",
  9884. "type": "string"
  9885. },
  9886. "nickname": {
  9887. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  9888. "type": "string"
  9889. },
  9890. "openmode": {
  9891. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  9892. "type": "integer"
  9893. },
  9894. "otherurl": {
  9895. "description": "其它图片地址[使用分号分隔]",
  9896. "type": "string"
  9897. },
  9898. "postalcode": {
  9899. "description": "邮政编码",
  9900. "type": "string"
  9901. },
  9902. "provinceid": {
  9903. "description": "省",
  9904. "type": "integer"
  9905. },
  9906. "proxystatementurl": {
  9907. "description": "授权委托书",
  9908. "type": "string"
  9909. },
  9910. "qq": {
  9911. "description": "QQ(加密存储",
  9912. "type": "string"
  9913. },
  9914. "referral": {
  9915. "description": "推荐人编码",
  9916. "type": "string"
  9917. },
  9918. "remark": {
  9919. "description": "备注",
  9920. "type": "string"
  9921. },
  9922. "removebeforestatus": {
  9923. "description": "REMOVEBEFORESTATUS",
  9924. "type": "integer"
  9925. },
  9926. "sex": {
  9927. "description": "性别 - 0:女 1:男",
  9928. "type": "integer"
  9929. },
  9930. "signedstatus": {
  9931. "description": "账户一号签签约状态",
  9932. "type": "integer"
  9933. },
  9934. "signpdfurl": {
  9935. "description": "签约pdf文件",
  9936. "type": "string"
  9937. },
  9938. "subbranch": {
  9939. "description": "开户支行",
  9940. "type": "string"
  9941. },
  9942. "telphone": {
  9943. "description": "联系电话(加密存储)",
  9944. "type": "string"
  9945. },
  9946. "userid": {
  9947. "description": "用户ID(自增ID)",
  9948. "type": "integer"
  9949. },
  9950. "userinfotype": {
  9951. "description": "用户信息类型 - 1:个人 2:企业",
  9952. "type": "integer"
  9953. },
  9954. "username": {
  9955. "description": "用户姓名",
  9956. "type": "string"
  9957. },
  9958. "userstate": {
  9959. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9960. "type": "integer"
  9961. },
  9962. "usertype": {
  9963. "description": "用户类型 - 1:投资者 2:机构",
  9964. "type": "integer"
  9965. },
  9966. "videourl": {
  9967. "description": "视频地址",
  9968. "type": "string"
  9969. },
  9970. "wechat": {
  9971. "description": "微信号 (加密存储)",
  9972. "type": "string"
  9973. }
  9974. }
  9975. },
  9976. "erms3.QryAuditContractRsp": {
  9977. "type": "object",
  9978. "required": [
  9979. "matchcustomername",
  9980. "spotcontractid"
  9981. ],
  9982. "properties": {
  9983. "accountid": {
  9984. "description": "交易员ID",
  9985. "type": "string"
  9986. },
  9987. "applystatus": {
  9988. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9989. "type": "integer"
  9990. },
  9991. "curdeliveryqty": {
  9992. "description": "未交收量",
  9993. "type": "integer"
  9994. },
  9995. "customername": {
  9996. "description": "采购方ID",
  9997. "type": "string"
  9998. },
  9999. "deliverygoodsid": {
  10000. "description": "品种ID",
  10001. "type": "string"
  10002. },
  10003. "deliveryqty": {
  10004. "description": "交收量",
  10005. "type": "integer"
  10006. },
  10007. "enumdicname": {
  10008. "description": "单位名称",
  10009. "type": "string"
  10010. },
  10011. "matchaccountid": {
  10012. "description": "业务员ID",
  10013. "type": "string"
  10014. },
  10015. "matchcustomername": {
  10016. "description": "销售方ID",
  10017. "type": "string"
  10018. },
  10019. "pricedqty": {
  10020. "description": "定价量",
  10021. "type": "number"
  10022. },
  10023. "signdate": {
  10024. "description": "签订日期",
  10025. "type": "string"
  10026. },
  10027. "spotcontractid": {
  10028. "description": "合同ID",
  10029. "type": "string"
  10030. },
  10031. "totaldqty": {
  10032. "description": "合同量",
  10033. "type": "number"
  10034. },
  10035. "unpricedqty": {
  10036. "description": "未定价量",
  10037. "type": "number"
  10038. },
  10039. "wrstandardname": {
  10040. "description": "商品名称",
  10041. "type": "string"
  10042. }
  10043. }
  10044. },
  10045. "erms3.QryPendingBizRsp": {
  10046. "$ref": "#/definitions/models.PendingAuditBizModel"
  10047. },
  10048. "erms3.QueryBusinessInfoRsp": {
  10049. "type": "object",
  10050. "properties": {
  10051. "businessid": {
  10052. "description": "业务ID.",
  10053. "type": "integer"
  10054. },
  10055. "buyamount": {
  10056. "description": "采购额.",
  10057. "type": "number"
  10058. },
  10059. "buyqty": {
  10060. "description": "采购量.",
  10061. "type": "string"
  10062. },
  10063. "futurepl": {
  10064. "description": "期货盈亏.",
  10065. "type": "number"
  10066. },
  10067. "futureqty": {
  10068. "description": "期货敞口.",
  10069. "type": "string"
  10070. },
  10071. "goodsid": {
  10072. "description": "商品名称/商品代码.",
  10073. "type": "string"
  10074. },
  10075. "hedgingqty": {
  10076. "description": "套保量.",
  10077. "type": "string"
  10078. },
  10079. "sellamount": {
  10080. "description": "销售额.",
  10081. "type": "number"
  10082. },
  10083. "sellqty": {
  10084. "description": "销售量.",
  10085. "type": "string"
  10086. },
  10087. "spotmarketvalue": {
  10088. "description": "现货市值.",
  10089. "type": "number"
  10090. },
  10091. "spotpl": {
  10092. "description": "浮动权益.",
  10093. "type": "number"
  10094. },
  10095. "spotqty": {
  10096. "description": "现货量.",
  10097. "type": "string"
  10098. },
  10099. "statu": {
  10100. "description": "状态,0-未结束 1-已结束.",
  10101. "type": "integer"
  10102. },
  10103. "totalpl": {
  10104. "description": "总盈亏.",
  10105. "type": "number"
  10106. },
  10107. "totalqty": {
  10108. "description": "总敞口.",
  10109. "type": "string"
  10110. },
  10111. "type": {
  10112. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  10113. "type": "integer"
  10114. }
  10115. }
  10116. },
  10117. "erms3.QuerySpotContractAppleFormRsp": {
  10118. "type": "object",
  10119. "properties": {
  10120. "goodses": {
  10121. "description": "合约列表",
  10122. "type": "array",
  10123. "items": {
  10124. "$ref": "#/definitions/models.GoodsIDAndName"
  10125. }
  10126. },
  10127. "oppositeusers": {
  10128. "description": "对方账号列表",
  10129. "type": "array",
  10130. "items": {
  10131. "$ref": "#/definitions/erms3.CustomerInfo"
  10132. }
  10133. },
  10134. "ouruser": {
  10135. "description": "我方账号",
  10136. "type": "object",
  10137. "$ref": "#/definitions/erms3.CustomerInfo"
  10138. },
  10139. "warehouseinfos": {
  10140. "description": "仓库信息列表",
  10141. "type": "array",
  10142. "items": {
  10143. "$ref": "#/definitions/models.Warehouseinfo"
  10144. }
  10145. },
  10146. "wrstandards": {
  10147. "description": "仓单标准列表",
  10148. "type": "array",
  10149. "items": {
  10150. "$ref": "#/definitions/models.WRStandardInfo"
  10151. }
  10152. }
  10153. }
  10154. },
  10155. "erms3.QuerySpotContractInfoRsp": {
  10156. "type": "object",
  10157. "properties": {
  10158. "accountid": {
  10159. "description": "表示交易员ID.",
  10160. "type": "integer"
  10161. },
  10162. "curdeliveryqty": {
  10163. "description": "表示未交收量.",
  10164. "type": "number"
  10165. },
  10166. "customername": {
  10167. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  10168. "type": "string"
  10169. },
  10170. "deliverygoodsid": {
  10171. "description": "表示品种ID.",
  10172. "type": "string"
  10173. },
  10174. "deliveryqty": {
  10175. "description": "表示交收量.",
  10176. "type": "number"
  10177. },
  10178. "matchaccountid": {
  10179. "description": "表示业务员ID.",
  10180. "type": "integer"
  10181. },
  10182. "matchcustomername": {
  10183. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  10184. "type": "string"
  10185. },
  10186. "priceqty": {
  10187. "description": "表示定价量.",
  10188. "type": "number"
  10189. },
  10190. "relatedbizid": {
  10191. "description": "表示业务ID.",
  10192. "type": "string"
  10193. },
  10194. "signdate": {
  10195. "description": "表示签订日期.",
  10196. "type": "string"
  10197. },
  10198. "spotcontractid": {
  10199. "description": "合同ID",
  10200. "type": "string"
  10201. },
  10202. "status": {
  10203. "description": "表示状态,0-履约中 1-已完成.",
  10204. "type": "integer"
  10205. },
  10206. "totalqty": {
  10207. "description": "表示合同量.",
  10208. "type": "number"
  10209. },
  10210. "unpricedqty": {
  10211. "description": "表示未定价量.",
  10212. "type": "number"
  10213. },
  10214. "wrstandardname": {
  10215. "description": "表示商品ID.",
  10216. "type": "string"
  10217. }
  10218. }
  10219. },
  10220. "erms3.QueryUserInfoAppliesRsp": {
  10221. "type": "object",
  10222. "required": [
  10223. "userid"
  10224. ],
  10225. "properties": {
  10226. "biznature": {
  10227. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10228. "type": "integer"
  10229. },
  10230. "contactname": {
  10231. "description": "联系人",
  10232. "type": "string"
  10233. },
  10234. "createtime": {
  10235. "description": "开户申请时间",
  10236. "type": "string"
  10237. },
  10238. "userid": {
  10239. "description": "用户ID(自增ID)",
  10240. "type": "integer"
  10241. },
  10242. "userinfotype": {
  10243. "description": "用户信息类型 - 1:个人 2:企业",
  10244. "type": "integer"
  10245. },
  10246. "username": {
  10247. "description": "用户姓名",
  10248. "type": "string"
  10249. },
  10250. "userstate": {
  10251. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10252. "type": "integer"
  10253. }
  10254. }
  10255. },
  10256. "erms3.QueryUserInfosRsp": {
  10257. "type": "object",
  10258. "required": [
  10259. "userid"
  10260. ],
  10261. "properties": {
  10262. "biznature": {
  10263. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10264. "type": "integer"
  10265. },
  10266. "contactname": {
  10267. "description": "联系人",
  10268. "type": "string"
  10269. },
  10270. "customername": {
  10271. "description": "客户名称(企业名称)",
  10272. "type": "string"
  10273. },
  10274. "userid": {
  10275. "description": "用户ID",
  10276. "type": "integer"
  10277. },
  10278. "userinfotype": {
  10279. "description": "用户信息类型 - 1:个人 2:企业",
  10280. "type": "integer"
  10281. },
  10282. "userstatus": {
  10283. "description": "用户状态 - 1:正常 2:注销",
  10284. "type": "integer"
  10285. }
  10286. }
  10287. },
  10288. "erms3.SoptContractDetail": {
  10289. "type": "object",
  10290. "required": [
  10291. "deliverygoodsid",
  10292. "producttype",
  10293. "unitname",
  10294. "warehouseid",
  10295. "wrstandardid",
  10296. "wrstandardname"
  10297. ],
  10298. "properties": {
  10299. "deliverygoodsdesc": {
  10300. "description": "现货品种说明",
  10301. "type": "string"
  10302. },
  10303. "deliverygoodsid": {
  10304. "description": "现货品种ID",
  10305. "type": "integer"
  10306. },
  10307. "deliverygoodsname": {
  10308. "description": "现货品种名称",
  10309. "type": "string"
  10310. },
  10311. "pointdesc": {
  10312. "description": "点价描述",
  10313. "type": "string"
  10314. },
  10315. "producttype": {
  10316. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  10317. "type": "integer"
  10318. },
  10319. "producttypename": {
  10320. "description": "产品类型名称",
  10321. "type": "string"
  10322. },
  10323. "spotPointOrderVoList": {
  10324. "description": "点价列表",
  10325. "type": "array",
  10326. "items": {
  10327. "$ref": "#/definitions/erms3.SpotPointOrder"
  10328. }
  10329. },
  10330. "spotPriceOrderList": {
  10331. "description": "定价列表",
  10332. "type": "array",
  10333. "items": {
  10334. "$ref": "#/definitions/erms3.SpotPriceOrder"
  10335. }
  10336. },
  10337. "unitname": {
  10338. "description": "单位名称",
  10339. "type": "string"
  10340. },
  10341. "warehouseid": {
  10342. "description": "仓库ID",
  10343. "type": "integer"
  10344. },
  10345. "warehousename": {
  10346. "description": "仓库名称",
  10347. "type": "string"
  10348. },
  10349. "wrstandardid": {
  10350. "description": "交易标的ID",
  10351. "type": "integer"
  10352. },
  10353. "wrstandardname": {
  10354. "description": "交易标的名称",
  10355. "type": "string"
  10356. }
  10357. }
  10358. },
  10359. "erms3.SpotPointOrder": {
  10360. "type": "object",
  10361. "required": [
  10362. "basic",
  10363. "goodsid",
  10364. "qty"
  10365. ],
  10366. "properties": {
  10367. "basic": {
  10368. "description": "基差",
  10369. "type": "number"
  10370. },
  10371. "deliveryenddate": {
  10372. "description": "交收结束日期",
  10373. "type": "string"
  10374. },
  10375. "deliverystartdate": {
  10376. "description": "交收开始日期",
  10377. "type": "string"
  10378. },
  10379. "enddate": {
  10380. "description": "点价结束日期",
  10381. "type": "string"
  10382. },
  10383. "goodsid": {
  10384. "description": "商品ID",
  10385. "type": "integer"
  10386. },
  10387. "goodsname": {
  10388. "description": "商品名称",
  10389. "type": "string"
  10390. },
  10391. "qty": {
  10392. "description": "数量",
  10393. "type": "number"
  10394. },
  10395. "startdate": {
  10396. "description": "点价开始日期",
  10397. "type": "string"
  10398. }
  10399. }
  10400. },
  10401. "erms3.SpotPriceOrder": {
  10402. "type": "object",
  10403. "required": [
  10404. "amount",
  10405. "price",
  10406. "qty"
  10407. ],
  10408. "properties": {
  10409. "amount": {
  10410. "description": "金额",
  10411. "type": "number"
  10412. },
  10413. "deliveryenddate": {
  10414. "description": "交收结束日期",
  10415. "type": "string"
  10416. },
  10417. "deliverystartdate": {
  10418. "description": "交收开始日期",
  10419. "type": "string"
  10420. },
  10421. "price": {
  10422. "description": "价格",
  10423. "type": "number"
  10424. },
  10425. "qty": {
  10426. "description": "数量",
  10427. "type": "number"
  10428. }
  10429. }
  10430. },
  10431. "hsby.GetHsbyMyCountRsp": {
  10432. "type": "object",
  10433. "properties": {
  10434. "myCouponCount": {
  10435. "description": "我的优惠卷数量",
  10436. "type": "integer"
  10437. },
  10438. "myOrderDetailListingCount": {
  10439. "description": "我的订单求购中数量",
  10440. "type": "integer"
  10441. },
  10442. "myOrderDetailPreCount": {
  10443. "description": "我的订单抢购中数量",
  10444. "type": "integer"
  10445. },
  10446. "myPackageUnReceiveCount": {
  10447. "description": "我的包裹待收货数量",
  10448. "type": "integer"
  10449. },
  10450. "myPackageUnSendCount": {
  10451. "description": "我的包裹待发货数量",
  10452. "type": "integer"
  10453. },
  10454. "myPayOrderCount": {
  10455. "description": "我的订单待付款数量",
  10456. "type": "integer"
  10457. }
  10458. }
  10459. },
  10460. "hsby.QueryProvincesAndCitiesRsp": {
  10461. "type": "object",
  10462. "properties": {
  10463. "cities": {
  10464. "description": "市",
  10465. "type": "array",
  10466. "items": {
  10467. "$ref": "#/definitions/models.Division"
  10468. }
  10469. },
  10470. "province": {
  10471. "description": "省",
  10472. "type": "object",
  10473. "$ref": "#/definitions/models.Division"
  10474. }
  10475. }
  10476. },
  10477. "models.AreaSpotModel": {
  10478. "type": "object",
  10479. "properties": {
  10480. "areauserid": {
  10481. "description": "所属机构",
  10482. "type": "integer"
  10483. },
  10484. "decreaseqty": {
  10485. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  10486. "type": "number"
  10487. },
  10488. "increaseqty": {
  10489. "description": "增加数量=销售计划数量+采购已定价数量",
  10490. "type": "number"
  10491. },
  10492. "oritoalspotqty": {
  10493. "description": "昨日数量",
  10494. "type": "number"
  10495. },
  10496. "totalspotqty": {
  10497. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  10498. "type": "number"
  10499. },
  10500. "updatetime": {
  10501. "description": "更新时间",
  10502. "type": "string"
  10503. },
  10504. "wrstandardcode": {
  10505. "description": "现货品种代码",
  10506. "type": "string"
  10507. },
  10508. "wrstandardid": {
  10509. "description": "现货商品ID",
  10510. "type": "integer"
  10511. },
  10512. "wrstandardname": {
  10513. "description": "现货品种",
  10514. "type": "string"
  10515. }
  10516. }
  10517. },
  10518. "models.Clientfixedadconfig": {
  10519. "type": "object",
  10520. "required": [
  10521. "adsort",
  10522. "adtype"
  10523. ],
  10524. "properties": {
  10525. "adsort": {
  10526. "description": "排序",
  10527. "type": "integer"
  10528. },
  10529. "adtype": {
  10530. "description": "广告位类型 - 1:新品抢购(HSBY)",
  10531. "type": "integer"
  10532. },
  10533. "areauserid": {
  10534. "description": "所属机构ID",
  10535. "type": "integer"
  10536. },
  10537. "createdate": {
  10538. "description": "创建时间",
  10539. "type": "string"
  10540. },
  10541. "creatorid": {
  10542. "description": "创建人",
  10543. "type": "integer"
  10544. },
  10545. "imagepath": {
  10546. "description": "图片",
  10547. "type": "string"
  10548. },
  10549. "isshow": {
  10550. "description": "是否展示 - 0:不展示 1:展示",
  10551. "type": "integer"
  10552. },
  10553. "modifierid": {
  10554. "description": "操作人",
  10555. "type": "integer"
  10556. },
  10557. "recsize": {
  10558. "description": "推荐尺寸",
  10559. "type": "string"
  10560. },
  10561. "title": {
  10562. "description": "标题",
  10563. "type": "string"
  10564. },
  10565. "updatedate": {
  10566. "description": "更新时间",
  10567. "type": "string"
  10568. },
  10569. "urlcontent": {
  10570. "description": "链接(地址或商品ID)",
  10571. "type": "string"
  10572. },
  10573. "urltype": {
  10574. "description": "链接类型 - 1:直接地址 2:商品ID",
  10575. "type": "integer"
  10576. }
  10577. }
  10578. },
  10579. "models.Division": {
  10580. "type": "object",
  10581. "required": [
  10582. "autoid",
  10583. "divisioncode"
  10584. ],
  10585. "properties": {
  10586. "autoid": {
  10587. "description": "自增ID",
  10588. "type": "integer"
  10589. },
  10590. "divisioncode": {
  10591. "description": "行政代码",
  10592. "type": "string"
  10593. },
  10594. "divisionlevel": {
  10595. "description": "行政级别",
  10596. "type": "string"
  10597. },
  10598. "divisionname": {
  10599. "description": "行政名称",
  10600. "type": "string"
  10601. },
  10602. "modifierid": {
  10603. "description": "修改人",
  10604. "type": "integer"
  10605. },
  10606. "modifytime": {
  10607. "description": "修改时间",
  10608. "type": "string"
  10609. },
  10610. "parentcode": {
  10611. "description": "上级行政代码",
  10612. "type": "string"
  10613. },
  10614. "pathname": {
  10615. "description": "路径名称",
  10616. "type": "string"
  10617. },
  10618. "postcode": {
  10619. "description": "邮政编码",
  10620. "type": "string"
  10621. },
  10622. "separablename": {
  10623. "description": "可拆分的全称",
  10624. "type": "string"
  10625. },
  10626. "shortcode": {
  10627. "description": "地区简码",
  10628. "type": "string"
  10629. }
  10630. }
  10631. },
  10632. "models.Enumdicitem": {
  10633. "type": "object",
  10634. "required": [
  10635. "autoid",
  10636. "enumdiccode",
  10637. "enumdicid",
  10638. "enumitemname"
  10639. ],
  10640. "properties": {
  10641. "autoid": {
  10642. "description": "自增ID",
  10643. "type": "integer"
  10644. },
  10645. "bankmappedvalue": {
  10646. "description": "银行服务对应值",
  10647. "type": "string"
  10648. },
  10649. "enumdiccode": {
  10650. "description": "所属枚举代码",
  10651. "type": "string"
  10652. },
  10653. "enumdicid": {
  10654. "description": "所属枚举ID",
  10655. "type": "integer"
  10656. },
  10657. "enumdicname": {
  10658. "description": "枚举项名称",
  10659. "type": "string"
  10660. },
  10661. "enumitemname": {
  10662. "description": "枚举项值",
  10663. "type": "integer"
  10664. },
  10665. "enumitemstatus": {
  10666. "description": "枚举项状态 - 1.启用 2.不启用",
  10667. "type": "integer"
  10668. },
  10669. "enumitemvalue": {
  10670. "description": "通用值 - [币种通用简写]",
  10671. "type": "string"
  10672. },
  10673. "param1": {
  10674. "description": "参数1[币种:币种小数位]",
  10675. "type": "string"
  10676. },
  10677. "param2": {
  10678. "description": "参数1[币种:币种显示单位]",
  10679. "type": "string"
  10680. },
  10681. "remark": {
  10682. "description": "备注",
  10683. "type": "string"
  10684. }
  10685. }
  10686. },
  10687. "models.ErmcpAreaSpotDetailModel": {
  10688. "type": "object",
  10689. "properties": {
  10690. "contracttype": {
  10691. "description": "合同类型 1-采购 -1-销售",
  10692. "type": "integer"
  10693. },
  10694. "createtime": {
  10695. "description": "创建时间",
  10696. "type": "string"
  10697. },
  10698. "enumdicname": {
  10699. "description": "现货商品单位名称",
  10700. "type": "string"
  10701. },
  10702. "logtype": {
  10703. "description": "记录类型 1-套保 2-现货合同",
  10704. "type": "integer"
  10705. },
  10706. "qty": {
  10707. "description": "数量",
  10708. "type": "number"
  10709. },
  10710. "recordname": {
  10711. "description": "类型名称",
  10712. "type": "string"
  10713. },
  10714. "relatedid": {
  10715. "description": "套保计划ID/现货合同ID",
  10716. "type": "string"
  10717. },
  10718. "relatedno": {
  10719. "description": "编号",
  10720. "type": "string"
  10721. },
  10722. "strtime": {
  10723. "description": "时间",
  10724. "type": "string"
  10725. },
  10726. "wrstandardcode": {
  10727. "description": "现货商品代码",
  10728. "type": "string"
  10729. },
  10730. "wrstandardname": {
  10731. "description": "现货商品名称",
  10732. "type": "string"
  10733. }
  10734. }
  10735. },
  10736. "models.ErmcpAreaStock": {
  10737. "type": "object",
  10738. "properties": {
  10739. "brandname": {
  10740. "description": "品牌名称",
  10741. "type": "string"
  10742. },
  10743. "curstock": {
  10744. "description": "期末库存量(今日量)",
  10745. "type": "number"
  10746. },
  10747. "deliverygoodsid": {
  10748. "description": "现货品种ID",
  10749. "type": "integer"
  10750. },
  10751. "enumdicname": {
  10752. "description": "单位名称",
  10753. "type": "string"
  10754. },
  10755. "modelname": {
  10756. "description": "型号名称",
  10757. "type": "string"
  10758. },
  10759. "oristock": {
  10760. "description": "期初库存量(昨日量)",
  10761. "type": "number"
  10762. },
  10763. "spotgoodsbrandid": {
  10764. "description": "现货品牌ID",
  10765. "type": "integer"
  10766. },
  10767. "spotgoodsmodelid": {
  10768. "description": "现货型号ID",
  10769. "type": "integer"
  10770. },
  10771. "todaybuyinqty": {
  10772. "description": "今日采购入库量",
  10773. "type": "number"
  10774. },
  10775. "todayproduceinqty": {
  10776. "description": "今日生产入库量",
  10777. "type": "number"
  10778. },
  10779. "todayproduceoutqty": {
  10780. "description": "今日生产出库量",
  10781. "type": "number"
  10782. },
  10783. "todayselloutqty": {
  10784. "description": "今日销售出库量",
  10785. "type": "number"
  10786. },
  10787. "unitid": {
  10788. "description": "单位id",
  10789. "type": "integer"
  10790. },
  10791. "updatetime": {
  10792. "description": "更新时间",
  10793. "type": "string"
  10794. },
  10795. "userid": {
  10796. "description": "机构ID",
  10797. "type": "integer"
  10798. },
  10799. "username": {
  10800. "description": "机构名称",
  10801. "type": "string"
  10802. },
  10803. "warehousecode": {
  10804. "description": "仓库代码",
  10805. "type": "string"
  10806. },
  10807. "warehouseinfoid": {
  10808. "description": "仓库ID",
  10809. "type": "string"
  10810. },
  10811. "warehousename": {
  10812. "description": "仓库名称",
  10813. "type": "string"
  10814. },
  10815. "warehousetype": {
  10816. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10817. "type": "integer"
  10818. },
  10819. "wrstandardcode": {
  10820. "description": "现货商品代码",
  10821. "type": "string"
  10822. },
  10823. "wrstandardid": {
  10824. "description": "现货商品ID",
  10825. "type": "string"
  10826. },
  10827. "wrstandardname": {
  10828. "description": "现货商品名称",
  10829. "type": "string"
  10830. }
  10831. }
  10832. },
  10833. "models.ErmcpAreaStockApply": {
  10834. "type": "object",
  10835. "properties": {
  10836. "applyid": {
  10837. "description": "申请人",
  10838. "type": "integer"
  10839. },
  10840. "applyname": {
  10841. "description": "申请人名称",
  10842. "type": "string"
  10843. },
  10844. "applyremark": {
  10845. "description": "申请备注",
  10846. "type": "string"
  10847. },
  10848. "applysrc": {
  10849. "description": "申请来源 - 1:管理端 2:终端",
  10850. "type": "integer"
  10851. },
  10852. "applystatus": {
  10853. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10854. "type": "integer"
  10855. },
  10856. "applytime": {
  10857. "description": "申请时间",
  10858. "type": "string"
  10859. },
  10860. "auditid": {
  10861. "description": "审核人",
  10862. "type": "integer"
  10863. },
  10864. "auditname": {
  10865. "description": "审核人名称",
  10866. "type": "string"
  10867. },
  10868. "auditremark": {
  10869. "description": "审核备注",
  10870. "type": "string"
  10871. },
  10872. "auditsrc": {
  10873. "description": "审核来源 - 1:管理端 2:终端",
  10874. "type": "integer"
  10875. },
  10876. "audittime": {
  10877. "description": "审核时间",
  10878. "type": "string"
  10879. },
  10880. "audittradedate": {
  10881. "description": "审核交易日(yyyyMMdd)",
  10882. "type": "string"
  10883. },
  10884. "brandname": {
  10885. "description": "品牌名称",
  10886. "type": "string"
  10887. },
  10888. "buyuserid": {
  10889. "description": "采购方userid",
  10890. "type": "integer"
  10891. },
  10892. "buyusername": {
  10893. "description": "采购方名称",
  10894. "type": "string"
  10895. },
  10896. "contractno": {
  10897. "description": "合同编号",
  10898. "type": "string"
  10899. },
  10900. "contractqty": {
  10901. "description": "合同量",
  10902. "type": "number"
  10903. },
  10904. "contracttype": {
  10905. "description": "现货合同类型 - 1:采购 -1:销售",
  10906. "type": "integer"
  10907. },
  10908. "deliverygoodsid": {
  10909. "description": "现货品种ID",
  10910. "type": "integer"
  10911. },
  10912. "enumdicname": {
  10913. "description": "现货商品单位名称",
  10914. "type": "string"
  10915. },
  10916. "inoutapplyid": {
  10917. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  10918. "type": "string"
  10919. },
  10920. "inouttype": {
  10921. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  10922. "type": "integer"
  10923. },
  10924. "modelname": {
  10925. "description": "型号名称",
  10926. "type": "string"
  10927. },
  10928. "pricetype": {
  10929. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10930. "type": "integer"
  10931. },
  10932. "qty": {
  10933. "description": "数量",
  10934. "type": "number"
  10935. },
  10936. "selluserid": {
  10937. "description": "销售方userid",
  10938. "type": "integer"
  10939. },
  10940. "sellusername": {
  10941. "description": "销售方名称",
  10942. "type": "string"
  10943. },
  10944. "spotcontractid": {
  10945. "description": "关联现货合同ID",
  10946. "type": "string"
  10947. },
  10948. "spotgoodsbrandid": {
  10949. "description": "现货品牌ID",
  10950. "type": "integer"
  10951. },
  10952. "spotgoodsmodelid": {
  10953. "description": "现货型号ID",
  10954. "type": "integer"
  10955. },
  10956. "unitid": {
  10957. "description": "单位id",
  10958. "type": "integer"
  10959. },
  10960. "userid": {
  10961. "description": "机构ID",
  10962. "type": "string"
  10963. },
  10964. "warehousecode": {
  10965. "description": "仓库代码",
  10966. "type": "string"
  10967. },
  10968. "warehouseinfoid": {
  10969. "description": "现货仓库ID",
  10970. "type": "string"
  10971. },
  10972. "warehousename": {
  10973. "description": "仓库名称",
  10974. "type": "string"
  10975. },
  10976. "warehousetype": {
  10977. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10978. "type": "integer"
  10979. },
  10980. "wrstandardcode": {
  10981. "description": "现货商品代码",
  10982. "type": "string"
  10983. },
  10984. "wrstandardid": {
  10985. "description": "现货商品ID",
  10986. "type": "string"
  10987. },
  10988. "wrstandardname": {
  10989. "description": "现货商品名称",
  10990. "type": "string"
  10991. }
  10992. }
  10993. },
  10994. "models.ErmcpAreaStockApplySum": {
  10995. "type": "object",
  10996. "properties": {
  10997. "brandname": {
  10998. "description": "品牌名称",
  10999. "type": "string"
  11000. },
  11001. "inouttype": {
  11002. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11003. "type": "integer"
  11004. },
  11005. "modelname": {
  11006. "description": "型号名称",
  11007. "type": "string"
  11008. },
  11009. "spotcontractid": {
  11010. "description": "关联现货合同ID",
  11011. "type": "string"
  11012. },
  11013. "spotgoodsbrandid": {
  11014. "description": "品牌id",
  11015. "type": "integer"
  11016. },
  11017. "spotgoodsmodelid": {
  11018. "description": "型号id",
  11019. "type": "integer"
  11020. },
  11021. "totalqty": {
  11022. "description": "总数量",
  11023. "type": "number"
  11024. }
  11025. }
  11026. },
  11027. "models.ErmcpAvalidGoodsGroupModel": {
  11028. "type": "object",
  11029. "properties": {
  11030. "goodsgroupid": {
  11031. "description": "期货品种id",
  11032. "type": "integer"
  11033. },
  11034. "goodsgroupname": {
  11035. "description": "期货品种名称",
  11036. "type": "string"
  11037. },
  11038. "goodunitid": {
  11039. "description": "品种单位id",
  11040. "type": "integer"
  11041. },
  11042. "goodunitname": {
  11043. "description": "品种单位名称",
  11044. "type": "string"
  11045. },
  11046. "outergroupcode": {
  11047. "description": "期货品种代码",
  11048. "type": "string"
  11049. }
  11050. }
  11051. },
  11052. "models.ErmcpExposureDetailModel": {
  11053. "type": "object",
  11054. "properties": {
  11055. "areauserid": {
  11056. "description": "机构ID",
  11057. "type": "integer"
  11058. },
  11059. "changeQty": {
  11060. "description": "套保变动量",
  11061. "type": "number"
  11062. },
  11063. "contracttype": {
  11064. "description": "现货合同类型 - 1:采购 -1:销售",
  11065. "type": "integer"
  11066. },
  11067. "convertfactor": {
  11068. "description": "标仓系数",
  11069. "type": "number"
  11070. },
  11071. "convertratio": {
  11072. "description": "套保系数",
  11073. "type": "number"
  11074. },
  11075. "createtime": {
  11076. "description": "时间",
  11077. "type": "string"
  11078. },
  11079. "enumdicname": {
  11080. "description": "现货商品单位名称",
  11081. "type": "string"
  11082. },
  11083. "logtype": {
  11084. "description": "类型 - 1:套保计划 2:现货合同",
  11085. "type": "integer"
  11086. },
  11087. "middlegoodsId": {
  11088. "description": "套保商品id",
  11089. "type": "integer"
  11090. },
  11091. "middlegoodscode": {
  11092. "description": "套保商品代码",
  11093. "type": "string"
  11094. },
  11095. "middlegoodsname": {
  11096. "description": "套保商品名称",
  11097. "type": "string"
  11098. },
  11099. "qty": {
  11100. "description": "数量",
  11101. "type": "number"
  11102. },
  11103. "relateNo": {
  11104. "description": "现货合同/套保计划编号",
  11105. "type": "string"
  11106. },
  11107. "wrstandardcode": {
  11108. "description": "现货商品代码",
  11109. "type": "string"
  11110. },
  11111. "wrstandardid": {
  11112. "description": "现货商品ID",
  11113. "type": "integer"
  11114. },
  11115. "wrstandardname": {
  11116. "description": "现货商品名称",
  11117. "type": "string"
  11118. }
  11119. }
  11120. },
  11121. "models.ErmcpExposurePostion": {
  11122. "type": "object",
  11123. "properties": {
  11124. "agreeunit": {
  11125. "description": "合约单位",
  11126. "type": "string"
  11127. },
  11128. "areauserid": {
  11129. "description": "所属机构id",
  11130. "type": "integer"
  11131. },
  11132. "convertratio": {
  11133. "description": "期货品种系数(折算系数)",
  11134. "type": "number"
  11135. },
  11136. "curqty": {
  11137. "description": "当前持仓",
  11138. "type": "integer"
  11139. },
  11140. "diffhedgeqty": {
  11141. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  11142. "type": "number"
  11143. },
  11144. "diffqty": {
  11145. "description": "持仓变动量=当前持仓-昨日持仓",
  11146. "type": "integer"
  11147. },
  11148. "goodscode": {
  11149. "description": "商品代码",
  11150. "type": "string"
  11151. },
  11152. "goodsid": {
  11153. "description": "商品id",
  11154. "type": "integer"
  11155. },
  11156. "goodsname": {
  11157. "description": "商品名称",
  11158. "type": "string"
  11159. },
  11160. "middlegoodsid": {
  11161. "description": "套保商品id",
  11162. "type": "integer"
  11163. },
  11164. "ydqty": {
  11165. "description": "昨日持仓",
  11166. "type": "integer"
  11167. }
  11168. }
  11169. },
  11170. "models.ErmcpGGConvertCfg": {
  11171. "type": "object",
  11172. "properties": {
  11173. "convertratio": {
  11174. "description": "折算系数",
  11175. "type": "number"
  11176. },
  11177. "destgoodsgroupid": {
  11178. "description": "目标品种ID",
  11179. "type": "integer"
  11180. },
  11181. "dstcode": {
  11182. "description": "目录品种代码",
  11183. "type": "string"
  11184. },
  11185. "dstexchangecode": {
  11186. "description": "目标期货交易所",
  11187. "type": "string"
  11188. },
  11189. "dstname": {
  11190. "description": "目标品种名称",
  11191. "type": "string"
  11192. },
  11193. "dstunitid": {
  11194. "description": "目标品种单位ID",
  11195. "type": "integer"
  11196. },
  11197. "dstunitidname": {
  11198. "description": "目标品种单位名称",
  11199. "type": "string"
  11200. },
  11201. "modifytime": {
  11202. "description": "修改时间",
  11203. "type": "string"
  11204. },
  11205. "srccode": {
  11206. "description": "源品种代码",
  11207. "type": "string"
  11208. },
  11209. "srcexchangecode": {
  11210. "description": "源期货交易所",
  11211. "type": "string"
  11212. },
  11213. "srcgoodsgroupid": {
  11214. "description": "源品种ID",
  11215. "type": "integer"
  11216. },
  11217. "srcname": {
  11218. "description": "源品种名称",
  11219. "type": "string"
  11220. },
  11221. "srcunitid": {
  11222. "description": "源品种单位ID",
  11223. "type": "integer"
  11224. },
  11225. "srcunitidname": {
  11226. "description": "源品种单位名称",
  11227. "type": "string"
  11228. }
  11229. }
  11230. },
  11231. "models.ErmcpHedgePlan": {
  11232. "type": "object",
  11233. "properties": {
  11234. "areauserid": {
  11235. "description": "用户ID",
  11236. "type": "integer"
  11237. },
  11238. "audittime": {
  11239. "description": "审核时间",
  11240. "type": "string"
  11241. },
  11242. "contracttype": {
  11243. "description": "计划类型 - 1:采购 -1:销售",
  11244. "type": "integer"
  11245. },
  11246. "convertfactor": {
  11247. "description": "标仓系数",
  11248. "type": "number"
  11249. },
  11250. "createtime": {
  11251. "description": "创建时间",
  11252. "type": "string"
  11253. },
  11254. "deliverygoodsid": {
  11255. "description": "现货品种ID",
  11256. "type": "integer"
  11257. },
  11258. "deliverygoodsname": {
  11259. "description": "现货品种名称",
  11260. "type": "string"
  11261. },
  11262. "enumdicname": {
  11263. "description": "单位名称",
  11264. "type": "string"
  11265. },
  11266. "hedgeplanid": {
  11267. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  11268. "type": "string"
  11269. },
  11270. "hedgeplanno": {
  11271. "description": "套保计划编号(名称)",
  11272. "type": "string"
  11273. },
  11274. "hedgeplanstatus": {
  11275. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11276. "type": "integer"
  11277. },
  11278. "planqty": {
  11279. "description": "计划数量",
  11280. "type": "number"
  11281. },
  11282. "plantime": {
  11283. "description": "计划时间",
  11284. "type": "string"
  11285. },
  11286. "producttype": {
  11287. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11288. "type": "integer"
  11289. },
  11290. "remark": {
  11291. "description": "备注",
  11292. "type": "string"
  11293. },
  11294. "spotgoodsdesc": {
  11295. "description": "商品型号",
  11296. "type": "string"
  11297. },
  11298. "unitid": {
  11299. "description": "单位id",
  11300. "type": "integer"
  11301. },
  11302. "updatetime": {
  11303. "description": "更新时间",
  11304. "type": "string"
  11305. },
  11306. "wrstandardid": {
  11307. "description": "现货商品ID",
  11308. "type": "integer"
  11309. },
  11310. "wrstandardname": {
  11311. "description": "现货商品名称",
  11312. "type": "string"
  11313. }
  11314. }
  11315. },
  11316. "models.ErmcpHedgePosition": {
  11317. "type": "object",
  11318. "properties": {
  11319. "accountid": {
  11320. "description": "资金账号[外部母账户]",
  11321. "type": "integer"
  11322. },
  11323. "curbuyposition": {
  11324. "description": "期末买头寸",
  11325. "type": "integer"
  11326. },
  11327. "cursellposition": {
  11328. "description": "期末卖头寸",
  11329. "type": "integer"
  11330. },
  11331. "curtdbuyposition": {
  11332. "description": "期末今日买头寸",
  11333. "type": "integer"
  11334. },
  11335. "curtdsellposition": {
  11336. "description": "期末今日卖头寸",
  11337. "type": "integer"
  11338. },
  11339. "curydbuyposition": {
  11340. "description": "期末上日买头寸",
  11341. "type": "integer"
  11342. },
  11343. "curydsellposition": {
  11344. "description": "期末上日卖头寸",
  11345. "type": "integer"
  11346. },
  11347. "decreaseqty": {
  11348. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  11349. "type": "integer"
  11350. },
  11351. "fretdbuyposition": {
  11352. "description": "冻结今日买头寸",
  11353. "type": "integer"
  11354. },
  11355. "fretdsellposition": {
  11356. "description": "冻结今日卖头寸",
  11357. "type": "integer"
  11358. },
  11359. "freydbuyposition": {
  11360. "description": "冻结上日买头寸",
  11361. "type": "integer"
  11362. },
  11363. "freydsellposition": {
  11364. "description": "冻结上日卖头寸",
  11365. "type": "integer"
  11366. },
  11367. "goodscode": {
  11368. "description": "商品代码",
  11369. "type": "string"
  11370. },
  11371. "goodsid": {
  11372. "description": "商品id",
  11373. "type": "integer"
  11374. },
  11375. "goodsname": {
  11376. "description": "商品名称",
  11377. "type": "string"
  11378. },
  11379. "hedgeaccountcode": {
  11380. "description": "对冲账号",
  11381. "type": "string"
  11382. },
  11383. "hedgegoodsid": {
  11384. "description": "对冲合约ID",
  11385. "type": "integer"
  11386. },
  11387. "increaseqty": {
  11388. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  11389. "type": "integer"
  11390. },
  11391. "marketid": {
  11392. "description": "市场ID",
  11393. "type": "integer"
  11394. },
  11395. "relateduserid": {
  11396. "description": "关联用户id",
  11397. "type": "integer"
  11398. },
  11399. "totalcurqty": {
  11400. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  11401. "type": "integer"
  11402. },
  11403. "totalydqty": {
  11404. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  11405. "type": "integer"
  11406. },
  11407. "tradedate": {
  11408. "description": "交易日(yyyyMMdd)",
  11409. "type": "string"
  11410. },
  11411. "ydbuyposition": {
  11412. "description": "期初买头寸",
  11413. "type": "integer"
  11414. },
  11415. "ydsellposition": {
  11416. "description": "期初卖头寸",
  11417. "type": "integer"
  11418. }
  11419. }
  11420. },
  11421. "models.ErmcpHedgePositionDetail": {
  11422. "type": "object",
  11423. "properties": {
  11424. "buyorsell": {
  11425. "description": "买卖方向 0-买 1-卖",
  11426. "type": "integer"
  11427. },
  11428. "channelbuildtype": {
  11429. "description": "开平方向 1-建仓 2-平仓",
  11430. "type": "integer"
  11431. },
  11432. "goodscode": {
  11433. "description": "商品代码",
  11434. "type": "string"
  11435. },
  11436. "goodsname": {
  11437. "description": "商品名称",
  11438. "type": "string"
  11439. },
  11440. "hedgegoodsid": {
  11441. "description": "商品id",
  11442. "type": "integer"
  11443. },
  11444. "tradeqty": {
  11445. "description": "数量(成交数量)",
  11446. "type": "integer"
  11447. },
  11448. "tradetime": {
  11449. "description": "时间(成交时间)",
  11450. "type": "string"
  11451. }
  11452. }
  11453. },
  11454. "models.ErmcpHisExposure": {
  11455. "type": "object",
  11456. "properties": {
  11457. "needhedgeexposoure": {
  11458. "description": "应套保敞口",
  11459. "type": "number"
  11460. },
  11461. "reckondate": {
  11462. "description": "日照时期(yyyyMMdd)",
  11463. "type": "string"
  11464. },
  11465. "totalexposure": {
  11466. "description": "总敞口",
  11467. "type": "number"
  11468. }
  11469. }
  11470. },
  11471. "models.ErmcpHisExposureS": {
  11472. "type": "object",
  11473. "properties": {
  11474. "data": {
  11475. "description": "历史敞口",
  11476. "type": "array",
  11477. "items": {
  11478. "$ref": "#/definitions/models.ErmcpHisExposure"
  11479. }
  11480. },
  11481. "enumdicname": {
  11482. "description": "单位名称",
  11483. "type": "string"
  11484. },
  11485. "middlegoodscode": {
  11486. "description": "套保品种代码",
  11487. "type": "string"
  11488. },
  11489. "middlegoodsid": {
  11490. "description": "套保品种ID",
  11491. "type": "integer"
  11492. },
  11493. "middlegoodsname": {
  11494. "description": "套保品种名称",
  11495. "type": "string"
  11496. }
  11497. }
  11498. },
  11499. "models.ErmcpMiddleGoodsChangeLog": {
  11500. "type": "object",
  11501. "properties": {
  11502. "aftervalue": {
  11503. "description": "变更后",
  11504. "type": "number"
  11505. },
  11506. "applyid": {
  11507. "description": "操作人",
  11508. "type": "integer"
  11509. },
  11510. "applyname": {
  11511. "description": "操作人名称",
  11512. "type": "string"
  11513. },
  11514. "applysrc": {
  11515. "description": "操作来源 - 1:管理端 2:终端",
  11516. "type": "integer"
  11517. },
  11518. "beforevalue": {
  11519. "description": "变更前",
  11520. "type": "number"
  11521. },
  11522. "changelogtype": {
  11523. "description": "变更流水类型 - 1:套保比率变更",
  11524. "type": "integer"
  11525. },
  11526. "handlestatus": {
  11527. "description": "处理状态",
  11528. "type": "integer"
  11529. },
  11530. "logdatetime": {
  11531. "description": "流水日期",
  11532. "type": "string"
  11533. },
  11534. "logid": {
  11535. "description": "流水ID",
  11536. "type": "integer"
  11537. },
  11538. "logremark": {
  11539. "description": "流水备注",
  11540. "type": "string"
  11541. },
  11542. "middlegoodsid": {
  11543. "description": "套保品种ID",
  11544. "type": "integer"
  11545. },
  11546. "tradedate": {
  11547. "description": "交易日(yyyyMMdd)",
  11548. "type": "string"
  11549. },
  11550. "updatetime": {
  11551. "description": "更新时间",
  11552. "type": "string"
  11553. }
  11554. }
  11555. },
  11556. "models.ErmcpMiddleGoodsDetail": {
  11557. "type": "object",
  11558. "properties": {
  11559. "cvList": {
  11560. "description": "期货品种折算列表",
  11561. "type": "array",
  11562. "items": {
  11563. "$ref": "#/definitions/models.GoodsGroupConvert"
  11564. }
  11565. },
  11566. "mg": {
  11567. "description": "套保品种基本信息",
  11568. "type": "object",
  11569. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  11570. }
  11571. }
  11572. },
  11573. "models.ErmcpMiddleGoodsModel": {
  11574. "type": "object",
  11575. "properties": {
  11576. "areauserid": {
  11577. "description": "机构用户ID",
  11578. "type": "integer"
  11579. },
  11580. "createtime": {
  11581. "description": "修改时间",
  11582. "type": "string"
  11583. },
  11584. "enumdicname": {
  11585. "description": "单位名称",
  11586. "type": "string"
  11587. },
  11588. "evaluateratio": {
  11589. "description": "估价系数",
  11590. "type": "number"
  11591. },
  11592. "goodsgroupid": {
  11593. "description": "关联期货品种ID",
  11594. "type": "integer"
  11595. },
  11596. "isvalid": {
  11597. "description": "状态 0-无效(停用) 1-有效(正常)",
  11598. "type": "integer"
  11599. },
  11600. "middlegoodscode": {
  11601. "description": "套保品种代码",
  11602. "type": "string"
  11603. },
  11604. "middlegoodsid": {
  11605. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  11606. "type": "integer"
  11607. },
  11608. "middlegoodsname": {
  11609. "description": "套保品种名称",
  11610. "type": "string"
  11611. },
  11612. "modifytime": {
  11613. "description": "修改时间",
  11614. "type": "string"
  11615. },
  11616. "needhedgeratio": {
  11617. "description": "套保比率",
  11618. "type": "number"
  11619. },
  11620. "qtydecimalplace": {
  11621. "description": "数量小数位",
  11622. "type": "integer"
  11623. },
  11624. "relatedgoodsid": {
  11625. "description": "关联交易商品ID",
  11626. "type": "integer"
  11627. },
  11628. "relatedgoodstype": {
  11629. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  11630. "type": "integer"
  11631. }
  11632. }
  11633. },
  11634. "models.ErmcpModel": {
  11635. "type": "object",
  11636. "properties": {
  11637. "accountname": {
  11638. "description": "账户名称",
  11639. "type": "string"
  11640. },
  11641. "attachment": {
  11642. "description": "附件",
  11643. "type": "string"
  11644. },
  11645. "audittime": {
  11646. "description": "审核时间",
  11647. "type": "string"
  11648. },
  11649. "contracctstatus": {
  11650. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11651. "type": "integer"
  11652. },
  11653. "contractmargin": {
  11654. "description": "合同保证金",
  11655. "type": "number"
  11656. },
  11657. "contractno": {
  11658. "description": "合同编号",
  11659. "type": "string"
  11660. },
  11661. "contracttype": {
  11662. "description": "合同类型 1-采购, -1-销售",
  11663. "type": "integer"
  11664. },
  11665. "convertfactor": {
  11666. "description": "标仓系数",
  11667. "type": "number"
  11668. },
  11669. "createtime": {
  11670. "description": "创建时间",
  11671. "type": "string"
  11672. },
  11673. "daikaiamount": {
  11674. "description": "待开票额",
  11675. "type": "number"
  11676. },
  11677. "deliveryenddate": {
  11678. "description": "交割结束日",
  11679. "type": "string"
  11680. },
  11681. "deliverygoodscode": {
  11682. "description": "现货商品代码",
  11683. "type": "string"
  11684. },
  11685. "deliverygoodsid": {
  11686. "description": "现货商品ID",
  11687. "type": "integer"
  11688. },
  11689. "deliverygoodsname": {
  11690. "description": "现货商品名称",
  11691. "type": "string"
  11692. },
  11693. "deliverystartdate": {
  11694. "description": "交割开始日",
  11695. "type": "string"
  11696. },
  11697. "enddate": {
  11698. "description": "点价结束日",
  11699. "type": "string"
  11700. },
  11701. "enumdicname": {
  11702. "description": "单位名称",
  11703. "type": "string"
  11704. },
  11705. "goodscode": {
  11706. "description": "点价商品代码",
  11707. "type": "string"
  11708. },
  11709. "goodsid": {
  11710. "description": "点价商品ID",
  11711. "type": "integer"
  11712. },
  11713. "goodsname": {
  11714. "description": "点价商品名称",
  11715. "type": "string"
  11716. },
  11717. "invoiceamount": {
  11718. "description": "已开票额",
  11719. "type": "number"
  11720. },
  11721. "loanamount": {
  11722. "description": "贷款总额=已定价额+调整金额",
  11723. "type": "number"
  11724. },
  11725. "margin": {
  11726. "description": "保证金",
  11727. "type": "number"
  11728. },
  11729. "payamount": {
  11730. "description": "已收付额(收款或付款)",
  11731. "type": "number"
  11732. },
  11733. "price": {
  11734. "description": "价格",
  11735. "type": "number"
  11736. },
  11737. "pricedamount": {
  11738. "description": "已定价额",
  11739. "type": "number"
  11740. },
  11741. "pricedavg": {
  11742. "description": "已点均价",
  11743. "type": "number"
  11744. },
  11745. "pricedqty": {
  11746. "description": "已定价量",
  11747. "type": "number"
  11748. },
  11749. "pricemove": {
  11750. "description": "升贴水",
  11751. "type": "number"
  11752. },
  11753. "pricetype": {
  11754. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11755. "type": "integer"
  11756. },
  11757. "producttype": {
  11758. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11759. "type": "integer"
  11760. },
  11761. "qty": {
  11762. "description": "合同量",
  11763. "type": "number"
  11764. },
  11765. "reckonadjustamount": {
  11766. "description": "调整金额",
  11767. "type": "number"
  11768. },
  11769. "reckonedamount": {
  11770. "description": "已收付额(已确定额)",
  11771. "type": "number"
  11772. },
  11773. "reckonotheramount": {
  11774. "description": "其它费用",
  11775. "type": "number"
  11776. },
  11777. "reckonrealqty": {
  11778. "description": "已确定量",
  11779. "type": "number"
  11780. },
  11781. "remark": {
  11782. "description": "备注",
  11783. "type": "string"
  11784. },
  11785. "spotcontractid": {
  11786. "description": "合同ID",
  11787. "type": "string"
  11788. },
  11789. "spotgoodsdesc": {
  11790. "description": "商品型号(商品规格)",
  11791. "type": "string"
  11792. },
  11793. "startdate": {
  11794. "description": "点价开始日",
  11795. "type": "string"
  11796. },
  11797. "totalamount": {
  11798. "description": "合计总额",
  11799. "type": "number"
  11800. },
  11801. "unpayamount": {
  11802. "description": "待支收额(支付或收款)",
  11803. "type": "number"
  11804. },
  11805. "unpricedqty": {
  11806. "description": "未定价量",
  11807. "type": "number"
  11808. },
  11809. "unsureqty": {
  11810. "description": "未确定量",
  11811. "type": "number"
  11812. },
  11813. "userid": {
  11814. "description": "用户ID",
  11815. "type": "integer"
  11816. }
  11817. }
  11818. },
  11819. "models.ErmcpOPLogModel": {
  11820. "type": "object",
  11821. "properties": {
  11822. "aftervalue": {
  11823. "description": "变更后",
  11824. "type": "number"
  11825. },
  11826. "applyid": {
  11827. "description": "操作人ID",
  11828. "type": "string"
  11829. },
  11830. "applyname": {
  11831. "description": "操作人名称",
  11832. "type": "string"
  11833. },
  11834. "beforevalue": {
  11835. "description": "变更前",
  11836. "type": "number"
  11837. },
  11838. "biztype": {
  11839. "description": "业务类型 - 1:套保计划 2:现货合同",
  11840. "type": "integer"
  11841. },
  11842. "contracttype": {
  11843. "description": "现货合同类型 - 1:采购 -1:销售",
  11844. "type": "integer"
  11845. },
  11846. "logvalue": {
  11847. "description": "数值",
  11848. "type": "number"
  11849. },
  11850. "operatelogtype": {
  11851. "description": "操作流水类型",
  11852. "type": "integer"
  11853. },
  11854. "operatelogtypedesc": {
  11855. "description": "操作流水类型名称",
  11856. "type": "string"
  11857. },
  11858. "relatedid": {
  11859. "description": "现货合同ID\\套保计划",
  11860. "type": "string"
  11861. },
  11862. "updatetime": {
  11863. "description": "更新时间",
  11864. "type": "string"
  11865. }
  11866. }
  11867. },
  11868. "models.ErmcpPendingAudit": {
  11869. "type": "object",
  11870. "properties": {
  11871. "businessdjqty": {
  11872. "description": "待审核数量: 点价",
  11873. "type": "integer"
  11874. },
  11875. "businessfpqty": {
  11876. "description": "待审核数量: 发票",
  11877. "type": "integer"
  11878. },
  11879. "businessjsqty": {
  11880. "description": "待审核数量: 结算",
  11881. "type": "integer"
  11882. },
  11883. "businesskxqty": {
  11884. "description": "待审核数量: 款项",
  11885. "type": "integer"
  11886. },
  11887. "hedgeplanqty": {
  11888. "description": "待审核数量: 套保计划",
  11889. "type": "integer"
  11890. },
  11891. "spotcontractqty": {
  11892. "description": "待审核数量: 现货合同",
  11893. "type": "integer"
  11894. },
  11895. "userqty": {
  11896. "description": "待审核数量: 用户",
  11897. "type": "integer"
  11898. }
  11899. }
  11900. },
  11901. "models.ErmcpRealExposureModel": {
  11902. "type": "object",
  11903. "properties": {
  11904. "areaUserID": {
  11905. "description": "所属机构",
  11906. "type": "integer"
  11907. },
  11908. "buyFutureQty": {
  11909. "description": "买入期货数量",
  11910. "type": "number"
  11911. },
  11912. "buyPlanQty": {
  11913. "description": "采购计划数量",
  11914. "type": "number"
  11915. },
  11916. "buyPricedQty": {
  11917. "description": "采购合同已定价数量",
  11918. "type": "number"
  11919. },
  11920. "diffFutuQty": {
  11921. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  11922. "type": "number"
  11923. },
  11924. "diffSpotQty": {
  11925. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  11926. "type": "number"
  11927. },
  11928. "enumdicname": {
  11929. "description": "单位名称",
  11930. "type": "string"
  11931. },
  11932. "middleGoodsCode": {
  11933. "description": "套保品种代码",
  11934. "type": "string"
  11935. },
  11936. "middleGoodsHedgeRatio": {
  11937. "description": "应套保比例",
  11938. "type": "number"
  11939. },
  11940. "middleGoodsID": {
  11941. "description": "套保品种",
  11942. "type": "integer"
  11943. },
  11944. "middleGoodsName": {
  11945. "description": "套保品种名称",
  11946. "type": "string"
  11947. },
  11948. "needHedgeExposoure": {
  11949. "description": "应套保敞口",
  11950. "type": "number"
  11951. },
  11952. "needHedgeRatio": {
  11953. "description": "应套保敞口比例",
  11954. "type": "number"
  11955. },
  11956. "oriBuyFutureQty": {
  11957. "description": "期初买入期货数量",
  11958. "type": "number"
  11959. },
  11960. "oriBuyPlanQty": {
  11961. "description": "期初采购计划数量",
  11962. "type": "number"
  11963. },
  11964. "oriBuyPricedQty": {
  11965. "description": "期初采购合同已定价数量",
  11966. "type": "number"
  11967. },
  11968. "oriSellFutureQty": {
  11969. "description": "期初卖出期货数量",
  11970. "type": "number"
  11971. },
  11972. "oriSellPlanQty": {
  11973. "description": "期初销售计划数量",
  11974. "type": "number"
  11975. },
  11976. "oriSellPricedQty": {
  11977. "description": "期初销售合同已定价数量",
  11978. "type": "number"
  11979. },
  11980. "oriTotalFutuQty": {
  11981. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  11982. "type": "number"
  11983. },
  11984. "oriTotalSpotQty": {
  11985. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  11986. "type": "number"
  11987. },
  11988. "sellFutureQty": {
  11989. "description": "卖出期货数量",
  11990. "type": "number"
  11991. },
  11992. "sellPlanQty": {
  11993. "description": "销售计划数量",
  11994. "type": "number"
  11995. },
  11996. "sellPricedQty": {
  11997. "description": "销售合同已定价数量",
  11998. "type": "number"
  11999. },
  12000. "totalExposure": {
  12001. "description": "总敞口",
  12002. "type": "number"
  12003. },
  12004. "totalFutureQty": {
  12005. "description": "期货数量",
  12006. "type": "number"
  12007. },
  12008. "totalHedgeRatio": {
  12009. "description": "敞口比例",
  12010. "type": "number"
  12011. },
  12012. "totalNeedHedgeQty": {
  12013. "description": "期货应套保量",
  12014. "type": "number"
  12015. },
  12016. "totalSpotQty": {
  12017. "description": "现货数量",
  12018. "type": "number"
  12019. }
  12020. }
  12021. },
  12022. "models.ErmcpReportDayExposure": {
  12023. "type": "object",
  12024. "properties": {
  12025. "areauserid": {
  12026. "description": "所属机构",
  12027. "type": "integer"
  12028. },
  12029. "buyfutureqty": {
  12030. "description": "买入期货数量",
  12031. "type": "number"
  12032. },
  12033. "buyplanqty": {
  12034. "description": "采购计划数量",
  12035. "type": "number"
  12036. },
  12037. "buypricedqty": {
  12038. "description": "采购合同已定价数量",
  12039. "type": "number"
  12040. },
  12041. "diffFutuQty": {
  12042. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  12043. "type": "number"
  12044. },
  12045. "diffSpotQty": {
  12046. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  12047. "type": "number"
  12048. },
  12049. "enumdicname": {
  12050. "description": "单位名称",
  12051. "type": "string"
  12052. },
  12053. "middlegoodscode": {
  12054. "description": "套保品种代码",
  12055. "type": "string"
  12056. },
  12057. "middlegoodshedgeratio": {
  12058. "description": "应套保比例",
  12059. "type": "number"
  12060. },
  12061. "middlegoodsid": {
  12062. "description": "套保品种ID",
  12063. "type": "integer"
  12064. },
  12065. "middlegoodsname": {
  12066. "description": "套保品种名称",
  12067. "type": "string"
  12068. },
  12069. "needhedgeexposoure": {
  12070. "description": "应套保敞口",
  12071. "type": "number"
  12072. },
  12073. "needhedgeratio": {
  12074. "description": "应套保敞口比例",
  12075. "type": "number"
  12076. },
  12077. "oriTotalFutuQty": {
  12078. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  12079. "type": "number"
  12080. },
  12081. "oriTotalSpotQty": {
  12082. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  12083. "type": "number"
  12084. },
  12085. "oribuyfutureqty": {
  12086. "description": "期初买入期货数量",
  12087. "type": "number"
  12088. },
  12089. "oribuyplanqty": {
  12090. "description": "期初采购计划数量",
  12091. "type": "number"
  12092. },
  12093. "oribuypricedqty": {
  12094. "description": "期初采购合同已定价数量",
  12095. "type": "number"
  12096. },
  12097. "orisellfutureqty": {
  12098. "description": "期初卖出期货数量",
  12099. "type": "number"
  12100. },
  12101. "orisellplanqty": {
  12102. "description": "期初销售计划数量",
  12103. "type": "number"
  12104. },
  12105. "orisellpricedqty": {
  12106. "description": "期初销售合同已定价数量",
  12107. "type": "number"
  12108. },
  12109. "reckondate": {
  12110. "description": "日照时期(yyyyMMdd)",
  12111. "type": "string"
  12112. },
  12113. "sellfutureqty": {
  12114. "description": "卖出期货数量",
  12115. "type": "number"
  12116. },
  12117. "sellplanqty": {
  12118. "description": "销售计划数量",
  12119. "type": "number"
  12120. },
  12121. "sellpricedqty": {
  12122. "description": "销售合同已定价数量",
  12123. "type": "number"
  12124. },
  12125. "totalexposure": {
  12126. "description": "总敞口",
  12127. "type": "number"
  12128. },
  12129. "totalfutureqty": {
  12130. "description": "期货数量",
  12131. "type": "number"
  12132. },
  12133. "totalhedgeratio": {
  12134. "description": "敞口比例",
  12135. "type": "number"
  12136. },
  12137. "totalneedhedgeqty": {
  12138. "description": "期货应套保量",
  12139. "type": "number"
  12140. },
  12141. "totalspotqty": {
  12142. "description": "现货数量",
  12143. "type": "number"
  12144. }
  12145. }
  12146. },
  12147. "models.ErmcpReportDayFR": {
  12148. "type": "object",
  12149. "properties": {
  12150. "areauserid": {
  12151. "description": "所属机构",
  12152. "type": "integer"
  12153. },
  12154. "collectinvoiceamount": {
  12155. "description": "今日开票金额",
  12156. "type": "number"
  12157. },
  12158. "collectinvoicecount": {
  12159. "description": "今日开票笔数",
  12160. "type": "integer"
  12161. },
  12162. "collectmoneyamount": {
  12163. "description": "今日收款金额",
  12164. "type": "number"
  12165. },
  12166. "collectmoneycount": {
  12167. "description": "今日收款笔数",
  12168. "type": "integer"
  12169. },
  12170. "payinvoiceamount": {
  12171. "description": "今日收票金额",
  12172. "type": "number"
  12173. },
  12174. "payinvoicecount": {
  12175. "description": "今日收票笔数",
  12176. "type": "integer"
  12177. },
  12178. "paymoneyamount": {
  12179. "description": "今日付款金额",
  12180. "type": "number"
  12181. },
  12182. "paymoneycount": {
  12183. "description": "今日付款笔数",
  12184. "type": "integer"
  12185. },
  12186. "reckondate": {
  12187. "description": "日照时期(yyyyMMdd)",
  12188. "type": "string"
  12189. },
  12190. "updatetime": {
  12191. "description": "更新时间",
  12192. "type": "string"
  12193. }
  12194. }
  12195. },
  12196. "models.ErmcpReportDaySpot": {
  12197. "type": "object",
  12198. "properties": {
  12199. "areauserid": {
  12200. "description": "所属机构T",
  12201. "type": "integer"
  12202. },
  12203. "enumdicname": {
  12204. "description": "现货商品单位名称",
  12205. "type": "string"
  12206. },
  12207. "reckondate": {
  12208. "description": "日照时期(yyyyMMdd)",
  12209. "type": "string"
  12210. },
  12211. "todaybuyreckonqty": {
  12212. "description": "采购确定量",
  12213. "type": "number"
  12214. },
  12215. "todaysellreckonqty": {
  12216. "description": "销售确定量",
  12217. "type": "number"
  12218. },
  12219. "totalbuypricedqty": {
  12220. "description": "采购定价量 = 期末 - 期初",
  12221. "type": "number"
  12222. },
  12223. "totalsellpricedqty": {
  12224. "description": "销售定价量 = 期末 - 期初",
  12225. "type": "number"
  12226. },
  12227. "wrstandardcode": {
  12228. "description": "现货商品代码",
  12229. "type": "string"
  12230. },
  12231. "wrstandardid": {
  12232. "description": "现货商品ID",
  12233. "type": "integer"
  12234. },
  12235. "wrstandardname": {
  12236. "description": "现货商品名称",
  12237. "type": "string"
  12238. }
  12239. }
  12240. },
  12241. "models.ErmcpReportMonSpot": {
  12242. "type": "object",
  12243. "properties": {
  12244. "areauserid": {
  12245. "description": "所属机构T",
  12246. "type": "integer"
  12247. },
  12248. "cycletime": {
  12249. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12250. "type": "string"
  12251. },
  12252. "cycletype": {
  12253. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12254. "type": "integer"
  12255. },
  12256. "enumdicname": {
  12257. "description": "现货商品单位名称",
  12258. "type": "string"
  12259. },
  12260. "todaybuyreckonqty": {
  12261. "description": "采购确定量",
  12262. "type": "number"
  12263. },
  12264. "todaysellreckonqty": {
  12265. "description": "销售确定量",
  12266. "type": "number"
  12267. },
  12268. "totalbuypricedqty": {
  12269. "description": "采购定价量 = 期末 - 期初",
  12270. "type": "number"
  12271. },
  12272. "totalsellpricedqty": {
  12273. "description": "销售定价量 = 期末 - 期初",
  12274. "type": "number"
  12275. },
  12276. "wrstandardcode": {
  12277. "description": "现货商品代码",
  12278. "type": "string"
  12279. },
  12280. "wrstandardid": {
  12281. "description": "现货商品ID",
  12282. "type": "integer"
  12283. },
  12284. "wrstandardname": {
  12285. "description": "现货商品名称",
  12286. "type": "string"
  12287. }
  12288. }
  12289. },
  12290. "models.ErmcpReportMonthFR": {
  12291. "type": "object",
  12292. "properties": {
  12293. "areauserid": {
  12294. "description": "所属机构【原值】",
  12295. "type": "integer"
  12296. },
  12297. "collectinvoiceamount": {
  12298. "description": "今日开票金额【汇总】",
  12299. "type": "number"
  12300. },
  12301. "collectinvoicecount": {
  12302. "description": "今日开票笔数【汇总】",
  12303. "type": "integer"
  12304. },
  12305. "collectmoneyamount": {
  12306. "description": "今日收款金额【汇总】",
  12307. "type": "number"
  12308. },
  12309. "collectmoneycount": {
  12310. "description": "今日收款笔数 【汇总】",
  12311. "type": "integer"
  12312. },
  12313. "cycletime": {
  12314. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12315. "type": "string"
  12316. },
  12317. "cycletype": {
  12318. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12319. "type": "integer"
  12320. },
  12321. "dayFr": {
  12322. "description": "日报表明细",
  12323. "type": "array",
  12324. "items": {
  12325. "$ref": "#/definitions/models.ErmcpReportDayFR"
  12326. }
  12327. },
  12328. "payinvoiceamount": {
  12329. "description": "今日收票金额【汇总】",
  12330. "type": "number"
  12331. },
  12332. "payinvoicecount": {
  12333. "description": "今日收票笔数【汇总】",
  12334. "type": "integer"
  12335. },
  12336. "paymoneyamount": {
  12337. "description": "今日付款金额【汇总】",
  12338. "type": "number"
  12339. },
  12340. "paymoneycount": {
  12341. "description": "今日付款笔数【汇总】",
  12342. "type": "integer"
  12343. },
  12344. "updatetime": {
  12345. "description": "更新时间",
  12346. "type": "string"
  12347. }
  12348. }
  12349. },
  12350. "models.ErmcpReportOPLog": {
  12351. "type": "object",
  12352. "properties": {
  12353. "applyid": {
  12354. "description": "操作人",
  12355. "type": "integer"
  12356. },
  12357. "applyname": {
  12358. "description": "操作人名称",
  12359. "type": "string"
  12360. },
  12361. "biztype": {
  12362. "description": "业务类型 - 1:套保计划 2:现货合同",
  12363. "type": "integer"
  12364. },
  12365. "contracttype": {
  12366. "description": "现货合同类型 - 1:采购 -1:销售",
  12367. "type": "integer"
  12368. },
  12369. "enumdicName": {
  12370. "description": "单位名称",
  12371. "type": "string"
  12372. },
  12373. "logdatetime": {
  12374. "description": "流水日期(时间)",
  12375. "type": "string"
  12376. },
  12377. "logid": {
  12378. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  12379. "type": "string"
  12380. },
  12381. "logtypename": {
  12382. "description": "合同类型(名称)",
  12383. "type": "string"
  12384. },
  12385. "logvalue": {
  12386. "description": "数值",
  12387. "type": "string"
  12388. },
  12389. "operatelogtype": {
  12390. "description": "操作流水类型 -",
  12391. "type": "integer"
  12392. },
  12393. "optypename": {
  12394. "description": "流水类型名称",
  12395. "type": "string"
  12396. },
  12397. "relatedid": {
  12398. "description": "现货合同ID\\套保计划",
  12399. "type": "string"
  12400. },
  12401. "relatedno": {
  12402. "description": "合同编号",
  12403. "type": "string"
  12404. },
  12405. "tradedate": {
  12406. "description": "交易日(yyyyMMdd)",
  12407. "type": "string"
  12408. },
  12409. "userid": {
  12410. "description": "机构ID",
  12411. "type": "integer"
  12412. },
  12413. "wrstandardcode": {
  12414. "description": "现货商品代码",
  12415. "type": "string"
  12416. },
  12417. "wrstandardid": {
  12418. "description": "现货商品ID",
  12419. "type": "integer"
  12420. },
  12421. "wrstandardname": {
  12422. "description": "现货商品名称",
  12423. "type": "string"
  12424. }
  12425. }
  12426. },
  12427. "models.ErmcpSpotContractModel": {
  12428. "type": "object",
  12429. "properties": {
  12430. "amount": {
  12431. "description": "金额 [1:一口价、3:暂定价]",
  12432. "type": "number"
  12433. },
  12434. "attachment": {
  12435. "description": "附件",
  12436. "type": "string"
  12437. },
  12438. "auditremark": {
  12439. "description": "审核意见",
  12440. "type": "string"
  12441. },
  12442. "audittime": {
  12443. "description": "审核时间",
  12444. "type": "string"
  12445. },
  12446. "brandname": {
  12447. "description": "品牌名称",
  12448. "type": "string"
  12449. },
  12450. "buyuserid": {
  12451. "description": "采购方ID",
  12452. "type": "integer"
  12453. },
  12454. "buyusername": {
  12455. "description": "采购方名称",
  12456. "type": "string"
  12457. },
  12458. "contracctstatus": {
  12459. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12460. "type": "integer"
  12461. },
  12462. "contractmargin": {
  12463. "description": "合同保证金",
  12464. "type": "number"
  12465. },
  12466. "contractno": {
  12467. "description": "现货合同编号",
  12468. "type": "string"
  12469. },
  12470. "contracttype": {
  12471. "description": "现货合同类型 - 1:采购 -1:销售",
  12472. "type": "integer"
  12473. },
  12474. "convertfactor": {
  12475. "description": "标仓系数",
  12476. "type": "number"
  12477. },
  12478. "createtime": {
  12479. "description": "创建时间",
  12480. "type": "string"
  12481. },
  12482. "deliveryenddate": {
  12483. "description": "交收期(结束)",
  12484. "type": "string"
  12485. },
  12486. "deliverygoodscode": {
  12487. "description": "现货品种代码",
  12488. "type": "string"
  12489. },
  12490. "deliverygoodsid": {
  12491. "description": "现货品种ID",
  12492. "type": "integer"
  12493. },
  12494. "deliverygoodsname": {
  12495. "description": "现货品种名称",
  12496. "type": "string"
  12497. },
  12498. "deliverystartdate": {
  12499. "description": "交收期(开始)",
  12500. "type": "string"
  12501. },
  12502. "enddate": {
  12503. "description": "点价结束日期 [2:点价 3:暂定价]",
  12504. "type": "string"
  12505. },
  12506. "enumdicname": {
  12507. "description": "单位名称",
  12508. "type": "string"
  12509. },
  12510. "goodscode": {
  12511. "description": "点价合约代码",
  12512. "type": "string"
  12513. },
  12514. "goodsid": {
  12515. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  12516. "type": "integer"
  12517. },
  12518. "goodsname": {
  12519. "description": "点价商品名称",
  12520. "type": "string"
  12521. },
  12522. "margin": {
  12523. "description": "当前保证金",
  12524. "type": "number"
  12525. },
  12526. "modelname": {
  12527. "description": "型号名称",
  12528. "type": "string"
  12529. },
  12530. "price": {
  12531. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  12532. "type": "number"
  12533. },
  12534. "pricemove": {
  12535. "description": "升贴水 [2:点价 3:暂定价]",
  12536. "type": "number"
  12537. },
  12538. "pricetype": {
  12539. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12540. "type": "integer"
  12541. },
  12542. "producttype": {
  12543. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12544. "type": "integer"
  12545. },
  12546. "qty": {
  12547. "description": "数量",
  12548. "type": "number"
  12549. },
  12550. "remark": {
  12551. "description": "备注",
  12552. "type": "string"
  12553. },
  12554. "selluserid": {
  12555. "description": "销售方ID",
  12556. "type": "integer"
  12557. },
  12558. "sellusername": {
  12559. "description": "销售方名称",
  12560. "type": "string"
  12561. },
  12562. "spotcontractid": {
  12563. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  12564. "type": "string"
  12565. },
  12566. "spotgoodsbrandid": {
  12567. "description": "现货品牌ID",
  12568. "type": "integer"
  12569. },
  12570. "spotgoodsdesc": {
  12571. "description": "商品型号",
  12572. "type": "string"
  12573. },
  12574. "spotgoodsmodelid": {
  12575. "description": "现货型号ID",
  12576. "type": "integer"
  12577. },
  12578. "startdate": {
  12579. "description": "点价开始日期 [2:点价 3:暂定价]",
  12580. "type": "string"
  12581. },
  12582. "updatetime": {
  12583. "description": "更新时间",
  12584. "type": "string"
  12585. },
  12586. "userid": {
  12587. "description": "机构ID",
  12588. "type": "integer"
  12589. },
  12590. "wrstandardid": {
  12591. "description": "现货商品ID",
  12592. "type": "integer"
  12593. }
  12594. }
  12595. },
  12596. "models.ErmcpUserModel": {
  12597. "type": "object",
  12598. "properties": {
  12599. "address": {
  12600. "description": "通讯地址",
  12601. "type": "string"
  12602. },
  12603. "attachment1": {
  12604. "description": "附件1",
  12605. "type": "string"
  12606. },
  12607. "audittime": {
  12608. "description": "审核时间",
  12609. "type": "string"
  12610. },
  12611. "cardfrontphotourl": {
  12612. "description": "证件正面图片地址",
  12613. "type": "string"
  12614. },
  12615. "cardnum": {
  12616. "description": "证件号码",
  12617. "type": "string"
  12618. },
  12619. "cardtype": {
  12620. "description": "证件类型",
  12621. "type": "integer"
  12622. },
  12623. "cardtypename": {
  12624. "description": "证件类型名称",
  12625. "type": "string"
  12626. },
  12627. "cityid": {
  12628. "description": "市",
  12629. "type": "integer"
  12630. },
  12631. "countryid": {
  12632. "description": "国家",
  12633. "type": "integer"
  12634. },
  12635. "createtime": {
  12636. "description": "创建时间",
  12637. "type": "string"
  12638. },
  12639. "customername": {
  12640. "description": "企业名称",
  12641. "type": "string"
  12642. },
  12643. "memberuserid": {
  12644. "description": "所属机构ID",
  12645. "type": "integer"
  12646. },
  12647. "mobile": {
  12648. "description": "手机号码",
  12649. "type": "string"
  12650. },
  12651. "modifytime": {
  12652. "description": "修改时间",
  12653. "type": "string"
  12654. },
  12655. "provinceid": {
  12656. "description": "省",
  12657. "type": "integer"
  12658. },
  12659. "remark": {
  12660. "description": "备注",
  12661. "type": "string"
  12662. },
  12663. "status": {
  12664. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  12665. "type": "integer"
  12666. },
  12667. "statusdesc": {
  12668. "description": "账户状态中文描述",
  12669. "type": "string"
  12670. },
  12671. "telphone": {
  12672. "description": "联系电话",
  12673. "type": "string"
  12674. },
  12675. "userid": {
  12676. "description": "用户ID",
  12677. "type": "integer"
  12678. },
  12679. "userinfotype": {
  12680. "description": "客户类型",
  12681. "type": "string"
  12682. }
  12683. }
  12684. },
  12685. "models.ErmcpWareHouseInfo": {
  12686. "type": "object",
  12687. "properties": {
  12688. "address": {
  12689. "description": "详细地址",
  12690. "type": "string"
  12691. },
  12692. "areauserid": {
  12693. "description": "所属机构",
  12694. "type": "integer"
  12695. },
  12696. "autoid": {
  12697. "description": "自增ID(仓库ID)",
  12698. "type": "integer"
  12699. },
  12700. "cityid": {
  12701. "description": "市",
  12702. "type": "integer"
  12703. },
  12704. "contactname": {
  12705. "description": "联系人",
  12706. "type": "string"
  12707. },
  12708. "contactnum": {
  12709. "description": "联系电话",
  12710. "type": "string"
  12711. },
  12712. "countryid": {
  12713. "description": "国家",
  12714. "type": "integer"
  12715. },
  12716. "createtime": {
  12717. "description": "创建时间",
  12718. "type": "string"
  12719. },
  12720. "districtid": {
  12721. "description": "区",
  12722. "type": "integer"
  12723. },
  12724. "hasvideo": {
  12725. "description": "是否有视频 - 0:无 1:有",
  12726. "type": "integer"
  12727. },
  12728. "provinceid": {
  12729. "description": "省",
  12730. "type": "integer"
  12731. },
  12732. "remark": {
  12733. "description": "审核备注",
  12734. "type": "string"
  12735. },
  12736. "videourl": {
  12737. "description": "视频地址",
  12738. "type": "string"
  12739. },
  12740. "warehousecode": {
  12741. "description": "仓库代码",
  12742. "type": "string"
  12743. },
  12744. "warehousename": {
  12745. "description": "仓库名称",
  12746. "type": "string"
  12747. },
  12748. "warehousestatus": {
  12749. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  12750. "type": "integer"
  12751. },
  12752. "warehousetype": {
  12753. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12754. "type": "integer"
  12755. }
  12756. }
  12757. },
  12758. "models.ErmcpWrstandDetail": {
  12759. "type": "object",
  12760. "properties": {
  12761. "gbList": {
  12762. "description": "品牌列表",
  12763. "type": "array",
  12764. "items": {
  12765. "$ref": "#/definitions/models.GoodsBrand"
  12766. }
  12767. },
  12768. "goodsList": {
  12769. "description": "关联交易商品列表",
  12770. "type": "array",
  12771. "items": {
  12772. "$ref": "#/definitions/models.RelatedGoodsEx"
  12773. }
  12774. },
  12775. "gtList": {
  12776. "description": "型号列表",
  12777. "type": "array",
  12778. "items": {
  12779. "$ref": "#/definitions/models.GoodsTypeModel"
  12780. }
  12781. },
  12782. "wrd": {
  12783. "description": "基本信息",
  12784. "type": "object",
  12785. "$ref": "#/definitions/models.ErmcpWrstandard"
  12786. },
  12787. "wrsList": {
  12788. "description": "套保信息列表",
  12789. "type": "array",
  12790. "items": {
  12791. "$ref": "#/definitions/models.WRSConverTDetail"
  12792. }
  12793. }
  12794. }
  12795. },
  12796. "models.ErmcpWrstandard": {
  12797. "type": "object",
  12798. "properties": {
  12799. "areauserid": {
  12800. "description": "所属机构",
  12801. "type": "integer"
  12802. },
  12803. "createtime": {
  12804. "description": "创建时间",
  12805. "type": "string"
  12806. },
  12807. "creatorid": {
  12808. "description": "创建人",
  12809. "type": "integer"
  12810. },
  12811. "deliverygoodsid": {
  12812. "description": "品种ID",
  12813. "type": "integer"
  12814. },
  12815. "enumdicname": {
  12816. "description": "单位名称",
  12817. "type": "string"
  12818. },
  12819. "isvalid": {
  12820. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  12821. "type": "integer"
  12822. },
  12823. "minivalue": {
  12824. "description": "最小变动值",
  12825. "type": "integer"
  12826. },
  12827. "minivaluedp": {
  12828. "description": "最小变动值小数位",
  12829. "type": "integer"
  12830. },
  12831. "realminivalue": {
  12832. "description": "实际最小变动值",
  12833. "type": "integer"
  12834. },
  12835. "realminivaluedp": {
  12836. "description": "实际最小变动值小数位",
  12837. "type": "integer"
  12838. },
  12839. "remark": {
  12840. "description": "备注",
  12841. "type": "string"
  12842. },
  12843. "unitid": {
  12844. "description": "单位ID",
  12845. "type": "integer"
  12846. },
  12847. "updatetime": {
  12848. "description": "更新时间",
  12849. "type": "string"
  12850. },
  12851. "wrstandardcode": {
  12852. "description": "现货商品代码",
  12853. "type": "string"
  12854. },
  12855. "wrstandardid": {
  12856. "description": "现货商品ID(SEQ_WRSTANDARD)",
  12857. "type": "integer"
  12858. },
  12859. "wrstandardname": {
  12860. "description": "现货商品名称",
  12861. "type": "string"
  12862. }
  12863. }
  12864. },
  12865. "models.Externalexchange": {
  12866. "type": "object",
  12867. "required": [
  12868. "autoid"
  12869. ],
  12870. "properties": {
  12871. "autoid": {
  12872. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  12873. "type": "integer"
  12874. },
  12875. "exchangefullname": {
  12876. "description": "外部交易所全称",
  12877. "type": "string"
  12878. },
  12879. "exexchangecode": {
  12880. "description": "外部交易所代码",
  12881. "type": "string"
  12882. },
  12883. "exexchangename": {
  12884. "description": "外部交易所名称(简称)",
  12885. "type": "string"
  12886. },
  12887. "ismarketprice": {
  12888. "description": "是否支持市价 - 0:不支持 1:支持",
  12889. "type": "integer"
  12890. },
  12891. "quotegear": {
  12892. "description": "行情档位(1-10)",
  12893. "type": "integer"
  12894. },
  12895. "showbrokerflag": {
  12896. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  12897. "type": "integer"
  12898. },
  12899. "updatetime": {
  12900. "description": "更新时间",
  12901. "type": "string"
  12902. }
  12903. }
  12904. },
  12905. "models.Funcmenulist": {
  12906. "type": "object",
  12907. "required": [
  12908. "resourcecode"
  12909. ],
  12910. "properties": {
  12911. "iconame": {
  12912. "description": "菜单图标",
  12913. "type": "string"
  12914. },
  12915. "menutype": {
  12916. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  12917. "type": "integer"
  12918. },
  12919. "parentcode": {
  12920. "description": "上级资源代码",
  12921. "type": "string"
  12922. },
  12923. "remark": {
  12924. "description": "备注",
  12925. "type": "string"
  12926. },
  12927. "resourcecode": {
  12928. "description": "资源代码",
  12929. "type": "string"
  12930. },
  12931. "resourcelevel": {
  12932. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  12933. "type": "integer"
  12934. },
  12935. "resourcename": {
  12936. "description": "资源名",
  12937. "type": "string"
  12938. },
  12939. "sort": {
  12940. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  12941. "type": "integer"
  12942. },
  12943. "url": {
  12944. "description": "URL",
  12945. "type": "string"
  12946. }
  12947. }
  12948. },
  12949. "models.Goods": {
  12950. "type": "object",
  12951. "required": [
  12952. "goodscode",
  12953. "goodsid",
  12954. "goodsname",
  12955. "marketid"
  12956. ],
  12957. "properties": {
  12958. "agreeunit": {
  12959. "description": "合约单位",
  12960. "type": "number"
  12961. },
  12962. "auditaccountid": {
  12963. "description": "审核操作员账号",
  12964. "type": "integer"
  12965. },
  12966. "audittime": {
  12967. "description": "审核时间",
  12968. "type": "string"
  12969. },
  12970. "cancelaccountid": {
  12971. "description": "注销操作员账号",
  12972. "type": "integer"
  12973. },
  12974. "canceltime": {
  12975. "description": "注销时间",
  12976. "type": "string"
  12977. },
  12978. "closepricemode": {
  12979. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12980. "type": "integer"
  12981. },
  12982. "closepriceparam": {
  12983. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  12984. "type": "number"
  12985. },
  12986. "createtime": {
  12987. "description": "创建时间",
  12988. "type": "string"
  12989. },
  12990. "creatorid": {
  12991. "description": "创建人",
  12992. "type": "integer"
  12993. },
  12994. "currencyid": {
  12995. "description": "报价货币ID",
  12996. "type": "integer"
  12997. },
  12998. "cutmode": {
  12999. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  13000. "type": "integer"
  13001. },
  13002. "decimalplace": {
  13003. "description": "报价小数位",
  13004. "type": "integer"
  13005. },
  13006. "delistingdate": {
  13007. "description": "商品退市时间(状态:退市) -- 已作废",
  13008. "type": "string"
  13009. },
  13010. "delistingmode": {
  13011. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  13012. "type": "integer"
  13013. },
  13014. "deliveryflag": {
  13015. "description": "交割标志 - 0:不可交割 1:可交割",
  13016. "type": "integer"
  13017. },
  13018. "forceclosemode": {
  13019. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  13020. "type": "integer"
  13021. },
  13022. "forceclosevalue": {
  13023. "description": "定期强平参数 [收益权]",
  13024. "type": "integer"
  13025. },
  13026. "goodscode": {
  13027. "description": "商品代码(内部)",
  13028. "type": "string"
  13029. },
  13030. "goodscurrencyid": {
  13031. "description": "合约货币ID",
  13032. "type": "integer"
  13033. },
  13034. "goodsgroupid": {
  13035. "description": "所属商品组ID",
  13036. "type": "integer"
  13037. },
  13038. "goodsid": {
  13039. "description": "商品ID(自增ID SEQ_GOODS)",
  13040. "type": "integer"
  13041. },
  13042. "goodsname": {
  13043. "description": "商品名称",
  13044. "type": "string"
  13045. },
  13046. "goodsquotetype": {
  13047. "description": "合约报价类型: 1-直接报价 2-间接报价",
  13048. "type": "integer"
  13049. },
  13050. "goodsstatus": {
  13051. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  13052. "type": "integer"
  13053. },
  13054. "goodstradetype": {
  13055. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  13056. "type": "integer"
  13057. },
  13058. "goodunitid": {
  13059. "description": "报价单位ID",
  13060. "type": "integer"
  13061. },
  13062. "hasquoter": {
  13063. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  13064. "type": "integer"
  13065. },
  13066. "hqprotecttime": {
  13067. "description": "行情保护时间(秒)",
  13068. "type": "integer"
  13069. },
  13070. "innerdealmode": {
  13071. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  13072. "type": "integer"
  13073. },
  13074. "isbuylimited": {
  13075. "description": "是否限制建仓量 - 0:不限制 1:限制",
  13076. "type": "integer"
  13077. },
  13078. "lasttradedate": {
  13079. "description": "最后交易日期(状态:待退市)",
  13080. "type": "string"
  13081. },
  13082. "listingdate": {
  13083. "description": "交易开始日期",
  13084. "type": "string"
  13085. },
  13086. "marketid": {
  13087. "description": "所属市场ID",
  13088. "type": "integer"
  13089. },
  13090. "modifierid": {
  13091. "description": "修改人",
  13092. "type": "integer"
  13093. },
  13094. "modifystatus": {
  13095. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  13096. "type": "integer"
  13097. },
  13098. "modifytime": {
  13099. "description": "修改时间",
  13100. "type": "string"
  13101. },
  13102. "outerdealmode": {
  13103. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  13104. "type": "integer"
  13105. },
  13106. "outgoodscode": {
  13107. "description": "商品代码(外部)",
  13108. "type": "string"
  13109. },
  13110. "qtydecimalplace": {
  13111. "description": "成交量小数位",
  13112. "type": "integer"
  13113. },
  13114. "quotegear": {
  13115. "description": "行情档位(1-10)",
  13116. "type": "integer"
  13117. },
  13118. "quoteminunit": {
  13119. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13120. "type": "integer"
  13121. },
  13122. "quoteshowtype": {
  13123. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  13124. "type": "integer"
  13125. },
  13126. "quoteshowtypeinterval": {
  13127. "description": "行情报价间隔时间(秒)(成交价时为0)",
  13128. "type": "integer"
  13129. },
  13130. "remark": {
  13131. "description": "备注",
  13132. "type": "string"
  13133. }
  13134. }
  13135. },
  13136. "models.GoodsBrand": {
  13137. "type": "object",
  13138. "properties": {
  13139. "brandid": {
  13140. "description": "品牌ID",
  13141. "type": "integer"
  13142. },
  13143. "brandname": {
  13144. "description": "品牌名称",
  13145. "type": "string"
  13146. },
  13147. "isvalid": {
  13148. "description": "是否有效 - 0:无效 1:有效",
  13149. "type": "integer"
  13150. }
  13151. }
  13152. },
  13153. "models.GoodsGroupConvert": {
  13154. "type": "object",
  13155. "properties": {
  13156. "convertratio": {
  13157. "description": "折算系数",
  13158. "type": "number"
  13159. },
  13160. "dstgoodsgroupid": {
  13161. "description": "目标期货品种ID",
  13162. "type": "integer"
  13163. },
  13164. "goodsgroupname": {
  13165. "description": "期货品种名称",
  13166. "type": "string"
  13167. },
  13168. "outergroupcode": {
  13169. "description": "期货品种代码",
  13170. "type": "string"
  13171. },
  13172. "srcgoodsgroupid": {
  13173. "description": "源期货品种ID",
  13174. "type": "integer"
  13175. }
  13176. }
  13177. },
  13178. "models.GoodsIDAndName": {
  13179. "type": "object",
  13180. "required": [
  13181. "goodscode",
  13182. "goodsid",
  13183. "goodsname",
  13184. "marketid"
  13185. ],
  13186. "properties": {
  13187. "goodscode": {
  13188. "description": "商品代码(内部)",
  13189. "type": "string"
  13190. },
  13191. "goodsid": {
  13192. "description": "商品ID(自增ID SEQ_GOODS)",
  13193. "type": "integer"
  13194. },
  13195. "goodsname": {
  13196. "description": "商品名称",
  13197. "type": "string"
  13198. },
  13199. "marketid": {
  13200. "description": "所属市场ID",
  13201. "type": "integer"
  13202. }
  13203. }
  13204. },
  13205. "models.GoodsTypeModel": {
  13206. "type": "object",
  13207. "properties": {
  13208. "modelid": {
  13209. "description": "型号ID",
  13210. "type": "integer"
  13211. },
  13212. "modelname": {
  13213. "description": "型号名称",
  13214. "type": "string"
  13215. },
  13216. "updatetime": {
  13217. "description": "更新时间",
  13218. "type": "string"
  13219. }
  13220. }
  13221. },
  13222. "models.Goodsgroup": {
  13223. "type": "object",
  13224. "required": [
  13225. "goodsgroupid",
  13226. "goodsgroupname",
  13227. "goodsgroupstatus",
  13228. "marketid"
  13229. ],
  13230. "properties": {
  13231. "agreeunit": {
  13232. "description": "合约单位",
  13233. "type": "number"
  13234. },
  13235. "canshort": {
  13236. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  13237. "type": "integer"
  13238. },
  13239. "closepricemode": {
  13240. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  13241. "type": "integer"
  13242. },
  13243. "closepriceparam": {
  13244. "description": "强平最新价浮动比例 - 方式为2时使用",
  13245. "type": "number"
  13246. },
  13247. "createtime": {
  13248. "description": "创建时间",
  13249. "type": "string"
  13250. },
  13251. "creatorid": {
  13252. "description": "创建人",
  13253. "type": "integer"
  13254. },
  13255. "currencyid": {
  13256. "description": "报价货币ID",
  13257. "type": "integer"
  13258. },
  13259. "decimalplace": {
  13260. "description": "报价小数位",
  13261. "type": "integer"
  13262. },
  13263. "exercisetype": {
  13264. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  13265. "type": "integer"
  13266. },
  13267. "exexchangeid": {
  13268. "description": "外部交易所ID[通道交易]",
  13269. "type": "integer"
  13270. },
  13271. "goodsgroupid": {
  13272. "description": "商品组ID(自增ID)",
  13273. "type": "integer"
  13274. },
  13275. "goodsgroupname": {
  13276. "description": "商品组名称",
  13277. "type": "string"
  13278. },
  13279. "goodsgroupstatus": {
  13280. "description": "商品组状态 - 1:正常 2:注销",
  13281. "type": "integer"
  13282. },
  13283. "goodunitid": {
  13284. "description": "报价单位ID",
  13285. "type": "integer"
  13286. },
  13287. "innerdealmode": {
  13288. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  13289. "type": "integer"
  13290. },
  13291. "isbuylimited": {
  13292. "description": "是否限制建仓量 - 0:不限制 1:限制",
  13293. "type": "integer"
  13294. },
  13295. "marketid": {
  13296. "description": "所属市场ID",
  13297. "type": "integer"
  13298. },
  13299. "modifierid": {
  13300. "description": "修改人",
  13301. "type": "integer"
  13302. },
  13303. "modifytime": {
  13304. "description": "修改时间",
  13305. "type": "string"
  13306. },
  13307. "outerdealmode": {
  13308. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  13309. "type": "integer"
  13310. },
  13311. "outergroupcode": {
  13312. "description": "外部商品组代码[通道交易]",
  13313. "type": "string"
  13314. },
  13315. "premiumdecimalplace": {
  13316. "description": "权利金小数位[场外期权]",
  13317. "type": "integer"
  13318. },
  13319. "premiumspreadalgorithm": {
  13320. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  13321. "type": "integer"
  13322. },
  13323. "premiumspreadvalue": {
  13324. "description": "权利金点差值[场外期权]",
  13325. "type": "number"
  13326. },
  13327. "qtydecimalplace": {
  13328. "description": "成交量小数位",
  13329. "type": "integer"
  13330. },
  13331. "quotegear": {
  13332. "description": "行情档位(1-10)",
  13333. "type": "integer"
  13334. },
  13335. "quoteminunit": {
  13336. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13337. "type": "integer"
  13338. },
  13339. "quoterid": {
  13340. "description": "报价商ID[场外期权]",
  13341. "type": "integer"
  13342. },
  13343. "quotesourcegroupid": {
  13344. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  13345. "type": "integer"
  13346. },
  13347. "syncgoodsqty": {
  13348. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  13349. "type": "integer"
  13350. }
  13351. }
  13352. },
  13353. "models.HsbyBuyMyPayOrder": {
  13354. "type": "object",
  13355. "required": [
  13356. "goodscode",
  13357. "goodsname",
  13358. "tradeid",
  13359. "trademode"
  13360. ],
  13361. "properties": {
  13362. "agreeunit": {
  13363. "description": "合约单位",
  13364. "type": "number"
  13365. },
  13366. "buyaccountid": {
  13367. "description": "买方账号ID[报价币种]",
  13368. "type": "integer"
  13369. },
  13370. "buyorderid": {
  13371. "description": "买方委托单号",
  13372. "type": "string"
  13373. },
  13374. "createtime": {
  13375. "description": "创建时间",
  13376. "type": "string"
  13377. },
  13378. "currencysign": {
  13379. "description": "货币符号",
  13380. "type": "string"
  13381. },
  13382. "decimalplace": {
  13383. "description": "报价小数位",
  13384. "type": "integer"
  13385. },
  13386. "goodscode": {
  13387. "description": "商品代码(内部)",
  13388. "type": "string"
  13389. },
  13390. "goodsid": {
  13391. "description": "商品ID",
  13392. "type": "integer"
  13393. },
  13394. "goodsname": {
  13395. "description": "商品名称",
  13396. "type": "string"
  13397. },
  13398. "marketid": {
  13399. "description": "市场ID",
  13400. "type": "integer"
  13401. },
  13402. "offamount": {
  13403. "description": "优惠金额",
  13404. "type": "number"
  13405. },
  13406. "originalamount": {
  13407. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  13408. "type": "number"
  13409. },
  13410. "payamount": {
  13411. "description": "支付金额 = TradeAmount + TradeCharge",
  13412. "type": "number"
  13413. },
  13414. "payflag": {
  13415. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13416. "type": "integer"
  13417. },
  13418. "paylimitedtime": {
  13419. "description": "支付期限",
  13420. "type": "string"
  13421. },
  13422. "paytime": {
  13423. "description": "付款时间",
  13424. "type": "string"
  13425. },
  13426. "picurls1": {
  13427. "description": "预售商品介绍图片[多张用逗号分隔]",
  13428. "type": "string"
  13429. },
  13430. "picurls2": {
  13431. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13432. "type": "string"
  13433. },
  13434. "sellaccountid": {
  13435. "description": "卖方账号ID[报价币种]",
  13436. "type": "integer"
  13437. },
  13438. "sellorderid": {
  13439. "description": "卖方委托单号",
  13440. "type": "string"
  13441. },
  13442. "tradeamount": {
  13443. "description": "成交金额",
  13444. "type": "number"
  13445. },
  13446. "tradecharge": {
  13447. "description": "成交手续费(买方)",
  13448. "type": "number"
  13449. },
  13450. "tradedate": {
  13451. "description": "交易日(yyyyMMdd)",
  13452. "type": "string"
  13453. },
  13454. "tradeid": {
  13455. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13456. "type": "string"
  13457. },
  13458. "trademode": {
  13459. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13460. "type": "integer"
  13461. },
  13462. "tradeprice": {
  13463. "description": "成交价格",
  13464. "type": "number"
  13465. },
  13466. "tradeqty": {
  13467. "description": "成交数量",
  13468. "type": "integer"
  13469. },
  13470. "vendorname1": {
  13471. "description": "预售商品供应商名称",
  13472. "type": "string"
  13473. },
  13474. "vendorname2": {
  13475. "description": "挂牌商品供应商名称",
  13476. "type": "string"
  13477. }
  13478. }
  13479. },
  13480. "models.HsbyBuyMyTradeDetail": {
  13481. "type": "object",
  13482. "required": [
  13483. "accountid",
  13484. "buyorsell",
  13485. "goodscode",
  13486. "goodsid",
  13487. "goodsname",
  13488. "marketid",
  13489. "orderid",
  13490. "qty",
  13491. "time",
  13492. "trademode"
  13493. ],
  13494. "properties": {
  13495. "accountid": {
  13496. "description": "账户ID[报价币种]",
  13497. "type": "integer"
  13498. },
  13499. "agreeunit": {
  13500. "description": "合约单位",
  13501. "type": "number"
  13502. },
  13503. "amount": {
  13504. "description": "金额 = 价格 * 数量 * 合约单位",
  13505. "type": "number"
  13506. },
  13507. "buyorsell": {
  13508. "description": "买卖 - 0:买 1:卖",
  13509. "type": "integer"
  13510. },
  13511. "currencysign": {
  13512. "description": "货币符号",
  13513. "type": "string"
  13514. },
  13515. "decimalplace": {
  13516. "description": "报价小数位",
  13517. "type": "integer"
  13518. },
  13519. "goodscode": {
  13520. "description": "商品代码(内部)",
  13521. "type": "string"
  13522. },
  13523. "goodsid": {
  13524. "description": "商品ID",
  13525. "type": "integer"
  13526. },
  13527. "goodsname": {
  13528. "description": "商品名称",
  13529. "type": "string"
  13530. },
  13531. "marketid": {
  13532. "description": "市场ID",
  13533. "type": "integer"
  13534. },
  13535. "orderid": {
  13536. "description": "单号(成交单号)",
  13537. "type": "string"
  13538. },
  13539. "picurls1": {
  13540. "description": "预售商品介绍图片[多张用逗号分隔]",
  13541. "type": "string"
  13542. },
  13543. "picurls2": {
  13544. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13545. "type": "string"
  13546. },
  13547. "price": {
  13548. "description": "价格",
  13549. "type": "number"
  13550. },
  13551. "qty": {
  13552. "description": "数量",
  13553. "type": "integer"
  13554. },
  13555. "time": {
  13556. "description": "时间",
  13557. "type": "string"
  13558. },
  13559. "trademode": {
  13560. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13561. "type": "integer"
  13562. },
  13563. "vendorname1": {
  13564. "description": "预售商品供应商名称",
  13565. "type": "string"
  13566. },
  13567. "vendorname2": {
  13568. "description": "挂牌商品供应商名称",
  13569. "type": "string"
  13570. }
  13571. }
  13572. },
  13573. "models.HsbyGoodsOrderDetail": {
  13574. "type": "object",
  13575. "required": [
  13576. "buyorsell",
  13577. "orderid",
  13578. "ordertime"
  13579. ],
  13580. "properties": {
  13581. "buyorsell": {
  13582. "description": "买卖 - 0:买 1:卖",
  13583. "type": "integer"
  13584. },
  13585. "currencysign": {
  13586. "description": "货币符号",
  13587. "type": "string"
  13588. },
  13589. "customername": {
  13590. "description": "客户名称(企业名称),已脱敏",
  13591. "type": "string"
  13592. },
  13593. "enableqty": {
  13594. "description": "可用数量",
  13595. "type": "integer"
  13596. },
  13597. "goodunit": {
  13598. "description": "报价单位",
  13599. "type": "string"
  13600. },
  13601. "orderid": {
  13602. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13603. "type": "string"
  13604. },
  13605. "orderprice": {
  13606. "description": "委托价格",
  13607. "type": "number"
  13608. },
  13609. "ordertime": {
  13610. "description": "委托时间",
  13611. "type": "string"
  13612. }
  13613. }
  13614. },
  13615. "models.HsbyListingGoodsDetail": {
  13616. "type": "object",
  13617. "required": [
  13618. "goodscode",
  13619. "goodsid",
  13620. "goodsname",
  13621. "marketid",
  13622. "trademode"
  13623. ],
  13624. "properties": {
  13625. "agreeunit": {
  13626. "description": "合约单位",
  13627. "type": "number"
  13628. },
  13629. "buymaxqty": {
  13630. "description": "购买上限 [71] - 0为不限",
  13631. "type": "integer"
  13632. },
  13633. "currency": {
  13634. "description": "货币",
  13635. "type": "string"
  13636. },
  13637. "currencysign": {
  13638. "description": "货币符号",
  13639. "type": "string"
  13640. },
  13641. "decimalplace": {
  13642. "description": "报价小数位",
  13643. "type": "integer"
  13644. },
  13645. "desccityid": {
  13646. "description": "目的地(市)ID",
  13647. "type": "integer"
  13648. },
  13649. "descprovinceid": {
  13650. "description": "目的地(省)ID",
  13651. "type": "integer"
  13652. },
  13653. "goodscode": {
  13654. "description": "商品代码(内部)",
  13655. "type": "string"
  13656. },
  13657. "goodsdesc": {
  13658. "description": "商品详情",
  13659. "type": "string"
  13660. },
  13661. "goodsid": {
  13662. "description": "商品ID(自增ID SEQ_GOODS)",
  13663. "type": "integer"
  13664. },
  13665. "goodsname": {
  13666. "description": "商品名称",
  13667. "type": "string"
  13668. },
  13669. "goodsprice": {
  13670. "description": "商品价格",
  13671. "type": "number"
  13672. },
  13673. "hotindex": {
  13674. "description": "景点热度",
  13675. "type": "integer"
  13676. },
  13677. "last": {
  13678. "description": "现价",
  13679. "type": "number"
  13680. },
  13681. "limitdown": {
  13682. "description": "跌停价",
  13683. "type": "number"
  13684. },
  13685. "limitup": {
  13686. "description": "涨停价",
  13687. "type": "number"
  13688. },
  13689. "lotsize": {
  13690. "description": "手数最小变动单位",
  13691. "type": "integer"
  13692. },
  13693. "marketid": {
  13694. "description": "所属市场ID",
  13695. "type": "integer"
  13696. },
  13697. "picurls": {
  13698. "description": "介绍图片[多张用逗号分隔]",
  13699. "type": "string"
  13700. },
  13701. "quoteminunit": {
  13702. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13703. "type": "integer"
  13704. },
  13705. "stepvalue": {
  13706. "description": "价格最小变动单位",
  13707. "type": "number"
  13708. },
  13709. "trademode": {
  13710. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13711. "type": "integer"
  13712. },
  13713. "vendorattr": {
  13714. "description": "供应商附件(多张,逗号分隔)",
  13715. "type": "string"
  13716. },
  13717. "vendorname": {
  13718. "description": "供应商名称",
  13719. "type": "string"
  13720. },
  13721. "vendorphone": {
  13722. "description": "供应商客服电话",
  13723. "type": "string"
  13724. },
  13725. "videourls": {
  13726. "description": "介绍视频[多张用逗号分隔]",
  13727. "type": "string"
  13728. }
  13729. }
  13730. },
  13731. "models.HsbyMarketGoods": {
  13732. "type": "object",
  13733. "required": [
  13734. "accountid",
  13735. "buyorsell",
  13736. "goodscode",
  13737. "goodsid",
  13738. "goodsname",
  13739. "marketid",
  13740. "orderid",
  13741. "trademode"
  13742. ],
  13743. "properties": {
  13744. "accountid": {
  13745. "description": "账户ID[报价币种]",
  13746. "type": "integer"
  13747. },
  13748. "agreeunit": {
  13749. "description": "合约单位",
  13750. "type": "number"
  13751. },
  13752. "buyorsell": {
  13753. "description": "买卖 - 0:买 1:卖",
  13754. "type": "integer"
  13755. },
  13756. "categoryid": {
  13757. "description": "类别ID(WRCATEGORY)",
  13758. "type": "integer"
  13759. },
  13760. "currency": {
  13761. "description": "货币",
  13762. "type": "string"
  13763. },
  13764. "currencysign": {
  13765. "description": "货币符号",
  13766. "type": "string"
  13767. },
  13768. "customername": {
  13769. "description": "卖家名称",
  13770. "type": "string"
  13771. },
  13772. "decimalplace": {
  13773. "description": "报价小数位",
  13774. "type": "integer"
  13775. },
  13776. "goodscode": {
  13777. "description": "商品代码(内部)",
  13778. "type": "string"
  13779. },
  13780. "goodsid": {
  13781. "description": "商品ID",
  13782. "type": "integer"
  13783. },
  13784. "goodsname": {
  13785. "description": "商品名称",
  13786. "type": "string"
  13787. },
  13788. "goodsprice": {
  13789. "description": "商品价格",
  13790. "type": "number"
  13791. },
  13792. "hascoupon": {
  13793. "description": "是否可用优惠卷",
  13794. "type": "boolean"
  13795. },
  13796. "hotindex": {
  13797. "description": "景点热度",
  13798. "type": "integer"
  13799. },
  13800. "marketid": {
  13801. "description": "市场ID",
  13802. "type": "integer"
  13803. },
  13804. "orderid": {
  13805. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13806. "type": "string"
  13807. },
  13808. "orderprice": {
  13809. "description": "委托价格",
  13810. "type": "number"
  13811. },
  13812. "orderstatus": {
  13813. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13814. "type": "integer"
  13815. },
  13816. "picurls": {
  13817. "description": "介绍图片[多张用逗号分隔]",
  13818. "type": "string"
  13819. },
  13820. "quoteminunit": {
  13821. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13822. "type": "integer"
  13823. },
  13824. "sellUserID": {
  13825. "description": "卖方UserID",
  13826. "type": "integer"
  13827. },
  13828. "trademode": {
  13829. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13830. "type": "integer"
  13831. },
  13832. "videourls": {
  13833. "description": "介绍视频[多张用逗号分隔]",
  13834. "type": "string"
  13835. }
  13836. }
  13837. },
  13838. "models.HsbyMarketGoodsDetail": {
  13839. "type": "object",
  13840. "required": [
  13841. "accountid",
  13842. "buyorsell",
  13843. "goodscode",
  13844. "goodsid",
  13845. "goodsname",
  13846. "marketid",
  13847. "orderid",
  13848. "orderqty",
  13849. "trademode"
  13850. ],
  13851. "properties": {
  13852. "accountid": {
  13853. "description": "账户ID[报价币种]",
  13854. "type": "integer"
  13855. },
  13856. "agreeunit": {
  13857. "description": "合约单位",
  13858. "type": "number"
  13859. },
  13860. "buymaxqty": {
  13861. "description": "购买上限 [71] - 0为不限",
  13862. "type": "integer"
  13863. },
  13864. "buyorsell": {
  13865. "description": "买卖 - 0:买 1:卖",
  13866. "type": "integer"
  13867. },
  13868. "cancelqty": {
  13869. "description": "撤单数量",
  13870. "type": "integer"
  13871. },
  13872. "categoryid": {
  13873. "description": "类别ID(WRCATEGORY)",
  13874. "type": "integer"
  13875. },
  13876. "currency": {
  13877. "description": "货币",
  13878. "type": "string"
  13879. },
  13880. "currencysign": {
  13881. "description": "货币符号",
  13882. "type": "string"
  13883. },
  13884. "customername": {
  13885. "description": "卖家名称",
  13886. "type": "string"
  13887. },
  13888. "decimalplace": {
  13889. "description": "报价小数位",
  13890. "type": "integer"
  13891. },
  13892. "goodscode": {
  13893. "description": "商品代码(内部)",
  13894. "type": "string"
  13895. },
  13896. "goodsdesc": {
  13897. "description": "商品详情",
  13898. "type": "string"
  13899. },
  13900. "goodsid": {
  13901. "description": "商品ID",
  13902. "type": "integer"
  13903. },
  13904. "goodsname": {
  13905. "description": "商品名称",
  13906. "type": "string"
  13907. },
  13908. "goodsprice": {
  13909. "description": "商品价格",
  13910. "type": "number"
  13911. },
  13912. "hotindex": {
  13913. "description": "景点热度",
  13914. "type": "integer"
  13915. },
  13916. "lotsize": {
  13917. "description": "手数最小变动单位",
  13918. "type": "integer"
  13919. },
  13920. "marketid": {
  13921. "description": "市场ID",
  13922. "type": "integer"
  13923. },
  13924. "orderid": {
  13925. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13926. "type": "string"
  13927. },
  13928. "orderprice": {
  13929. "description": "委托价格",
  13930. "type": "number"
  13931. },
  13932. "orderqty": {
  13933. "description": "委托数量",
  13934. "type": "integer"
  13935. },
  13936. "orderstatus": {
  13937. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13938. "type": "integer"
  13939. },
  13940. "picurls": {
  13941. "description": "介绍图片[多张用逗号分隔]",
  13942. "type": "string"
  13943. },
  13944. "quoteminunit": {
  13945. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13946. "type": "integer"
  13947. },
  13948. "sellUserID": {
  13949. "description": "卖方UserID",
  13950. "type": "integer"
  13951. },
  13952. "trademode": {
  13953. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13954. "type": "integer"
  13955. },
  13956. "tradeqty": {
  13957. "description": "成交数量",
  13958. "type": "integer"
  13959. },
  13960. "vendorattr": {
  13961. "description": "供应商附件(多张,逗号分隔)",
  13962. "type": "string"
  13963. },
  13964. "vendorname": {
  13965. "description": "供应商名称",
  13966. "type": "string"
  13967. },
  13968. "vendorphone": {
  13969. "description": "供应商客服电话",
  13970. "type": "string"
  13971. },
  13972. "videourls": {
  13973. "description": "介绍视频[多张用逗号分隔]",
  13974. "type": "string"
  13975. }
  13976. }
  13977. },
  13978. "models.HsbyMarketInfo": {
  13979. "type": "object",
  13980. "required": [
  13981. "marketid",
  13982. "marketstatus",
  13983. "trademode"
  13984. ],
  13985. "properties": {
  13986. "marketid": {
  13987. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13988. "type": "integer"
  13989. },
  13990. "marketname": {
  13991. "description": "市场名称",
  13992. "type": "string"
  13993. },
  13994. "marketstatus": {
  13995. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13996. "type": "integer"
  13997. },
  13998. "trademode": {
  13999. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14000. "type": "integer"
  14001. }
  14002. }
  14003. },
  14004. "models.HsbyMyGoods": {
  14005. "type": "object",
  14006. "required": [
  14007. "accountid",
  14008. "goodscode",
  14009. "goodsid",
  14010. "goodsname",
  14011. "marketid",
  14012. "trademode"
  14013. ],
  14014. "properties": {
  14015. "accountid": {
  14016. "description": "账号Id",
  14017. "type": "integer"
  14018. },
  14019. "agreeunit": {
  14020. "description": "合约单位",
  14021. "type": "number"
  14022. },
  14023. "buyaverageprice": {
  14024. "description": "持仓均价",
  14025. "type": "number"
  14026. },
  14027. "buycurholderamount": {
  14028. "description": "买当前持仓总金额[商品币种]",
  14029. "type": "number"
  14030. },
  14031. "buycurpositionqty": {
  14032. "description": "买当前持仓总数量",
  14033. "type": "integer"
  14034. },
  14035. "buymaxqty": {
  14036. "description": "购买上限 [71] - 0为不限",
  14037. "type": "integer"
  14038. },
  14039. "currencysign": {
  14040. "description": "货币符号",
  14041. "type": "string"
  14042. },
  14043. "decimalplace": {
  14044. "description": "报价小数位",
  14045. "type": "integer"
  14046. },
  14047. "enableqty": {
  14048. "description": "可用数量",
  14049. "type": "integer"
  14050. },
  14051. "goodscode": {
  14052. "description": "商品代码(内部)",
  14053. "type": "string"
  14054. },
  14055. "goodsid": {
  14056. "description": "商品Id",
  14057. "type": "integer"
  14058. },
  14059. "goodsname": {
  14060. "description": "商品名称",
  14061. "type": "string"
  14062. },
  14063. "goodsprice": {
  14064. "description": "商品价格",
  14065. "type": "number"
  14066. },
  14067. "goodsstatus": {
  14068. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  14069. "type": "integer"
  14070. },
  14071. "last": {
  14072. "description": "现价(仅使用于挂牌点选)",
  14073. "type": "number"
  14074. },
  14075. "limitdown": {
  14076. "description": "跌停价(仅使用于挂牌点选)",
  14077. "type": "number"
  14078. },
  14079. "limitup": {
  14080. "description": "涨停价(仅使用于挂牌点选)",
  14081. "type": "number"
  14082. },
  14083. "lotsize": {
  14084. "description": "手数最小变动单位",
  14085. "type": "integer"
  14086. },
  14087. "marketid": {
  14088. "description": "所属市场ID",
  14089. "type": "integer"
  14090. },
  14091. "picurls": {
  14092. "description": "介绍图片[多张用逗号分隔]",
  14093. "type": "string"
  14094. },
  14095. "quoteminunit": {
  14096. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14097. "type": "integer"
  14098. },
  14099. "stepvalue": {
  14100. "description": "价格最小变动单位",
  14101. "type": "number"
  14102. },
  14103. "trademode": {
  14104. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14105. "type": "integer"
  14106. }
  14107. }
  14108. },
  14109. "models.HsbyMyPackage": {
  14110. "type": "object",
  14111. "required": [
  14112. "goodscode",
  14113. "goodsname",
  14114. "takeorderid",
  14115. "trademode"
  14116. ],
  14117. "properties": {
  14118. "accountid": {
  14119. "description": "账户ID",
  14120. "type": "integer"
  14121. },
  14122. "address": {
  14123. "description": "提货人详细地址",
  14124. "type": "string"
  14125. },
  14126. "agreeunit": {
  14127. "description": "合约单位",
  14128. "type": "number"
  14129. },
  14130. "amount": {
  14131. "description": "提货金额",
  14132. "type": "number"
  14133. },
  14134. "auditer": {
  14135. "description": "审核人",
  14136. "type": "integer"
  14137. },
  14138. "audittime": {
  14139. "description": "审核时间",
  14140. "type": "string"
  14141. },
  14142. "averageprice": {
  14143. "description": "均价",
  14144. "type": "number"
  14145. },
  14146. "cardnum": {
  14147. "description": "提货人证件号码",
  14148. "type": "string"
  14149. },
  14150. "cardtypeid": {
  14151. "description": "提货人证件类型",
  14152. "type": "integer"
  14153. },
  14154. "checkremark": {
  14155. "description": "审核备注",
  14156. "type": "string"
  14157. },
  14158. "currencysign": {
  14159. "description": "货币符号",
  14160. "type": "string"
  14161. },
  14162. "decimalplace": {
  14163. "description": "报价小数位",
  14164. "type": "integer"
  14165. },
  14166. "goodscode": {
  14167. "description": "商品代码(内部)",
  14168. "type": "string"
  14169. },
  14170. "goodsid": {
  14171. "description": "商品ID",
  14172. "type": "integer"
  14173. },
  14174. "goodsname": {
  14175. "description": "商品名称",
  14176. "type": "string"
  14177. },
  14178. "handlestatus": {
  14179. "description": "处理状态",
  14180. "type": "integer"
  14181. },
  14182. "marketid": {
  14183. "description": "市场ID",
  14184. "type": "integer"
  14185. },
  14186. "phonenum": {
  14187. "description": "提货人联系方式",
  14188. "type": "string"
  14189. },
  14190. "picurls": {
  14191. "description": "介绍图片[多张用逗号分隔]",
  14192. "type": "string"
  14193. },
  14194. "qty": {
  14195. "description": "提货数量",
  14196. "type": "number"
  14197. },
  14198. "recivername": {
  14199. "description": "提货人姓名",
  14200. "type": "string"
  14201. },
  14202. "reqtime": {
  14203. "description": "更新时间",
  14204. "type": "string"
  14205. },
  14206. "takemode": {
  14207. "description": "提货方式 - 2:自提 3:配送",
  14208. "type": "integer"
  14209. },
  14210. "takeorderid": {
  14211. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  14212. "type": "string"
  14213. },
  14214. "takeorderstatus": {
  14215. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  14216. "type": "integer"
  14217. },
  14218. "takeremark": {
  14219. "description": "提货备注",
  14220. "type": "string"
  14221. },
  14222. "tradedate": {
  14223. "description": "交易日(yyyyMMdd)",
  14224. "type": "string"
  14225. },
  14226. "trademode": {
  14227. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14228. "type": "integer"
  14229. },
  14230. "userid": {
  14231. "description": "用户ID",
  14232. "type": "integer"
  14233. },
  14234. "vendorname": {
  14235. "description": "供应商名称",
  14236. "type": "string"
  14237. }
  14238. }
  14239. },
  14240. "models.HsbyPreGoods": {
  14241. "type": "object",
  14242. "required": [
  14243. "goodscode",
  14244. "goodsid",
  14245. "goodsname",
  14246. "marketid",
  14247. "trademode"
  14248. ],
  14249. "properties": {
  14250. "agreeunit": {
  14251. "description": "合约单位",
  14252. "type": "number"
  14253. },
  14254. "currency": {
  14255. "description": "货币",
  14256. "type": "string"
  14257. },
  14258. "currencysign": {
  14259. "description": "货币符号",
  14260. "type": "string"
  14261. },
  14262. "decimalplace": {
  14263. "description": "报价小数位",
  14264. "type": "integer"
  14265. },
  14266. "desccityid": {
  14267. "description": "目的地(市)",
  14268. "type": "integer"
  14269. },
  14270. "descprovinceid": {
  14271. "description": "目的地(省)",
  14272. "type": "integer"
  14273. },
  14274. "enableqty": {
  14275. "description": "剩余数量",
  14276. "type": "integer"
  14277. },
  14278. "goodscode": {
  14279. "description": "商品代码(内部)",
  14280. "type": "string"
  14281. },
  14282. "goodsid": {
  14283. "description": "商品ID(自增ID SEQ_GOODS)",
  14284. "type": "integer"
  14285. },
  14286. "goodsname": {
  14287. "description": "商品名称",
  14288. "type": "string"
  14289. },
  14290. "goodsstatus": {
  14291. "description": "商品状态- 2:未上市 3:上市",
  14292. "type": "integer"
  14293. },
  14294. "lasttradedate": {
  14295. "description": "最后交易日期(状态:待退市)",
  14296. "type": "string"
  14297. },
  14298. "listingdate": {
  14299. "description": "交易开始日期",
  14300. "type": "string"
  14301. },
  14302. "marketid": {
  14303. "description": "所属市场ID",
  14304. "type": "integer"
  14305. },
  14306. "picurls": {
  14307. "description": "介绍图片[多张用逗号分隔]",
  14308. "type": "string"
  14309. },
  14310. "presaledqty": {
  14311. "description": "已预售量(预售结束时更新)",
  14312. "type": "integer"
  14313. },
  14314. "presaleqty": {
  14315. "description": "预售数量",
  14316. "type": "integer"
  14317. },
  14318. "quoteminunit": {
  14319. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14320. "type": "integer"
  14321. },
  14322. "refprice": {
  14323. "description": "参考价格[一口价]",
  14324. "type": "number"
  14325. },
  14326. "relatedgoodsid": {
  14327. "description": "关联交易合约ID",
  14328. "type": "integer"
  14329. },
  14330. "trademode": {
  14331. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14332. "type": "integer"
  14333. },
  14334. "videourls": {
  14335. "description": "介绍视频[多张用逗号分隔]",
  14336. "type": "string"
  14337. }
  14338. }
  14339. },
  14340. "models.HsbyPreGoodsDetail": {
  14341. "type": "object",
  14342. "required": [
  14343. "goodscode",
  14344. "goodsid",
  14345. "goodsname",
  14346. "marketid",
  14347. "trademode"
  14348. ],
  14349. "properties": {
  14350. "agreeunit": {
  14351. "description": "合约单位",
  14352. "type": "number"
  14353. },
  14354. "buymaxqty": {
  14355. "description": "购买上限 [71] - 0为不限",
  14356. "type": "integer"
  14357. },
  14358. "currency": {
  14359. "description": "货币",
  14360. "type": "string"
  14361. },
  14362. "currencysign": {
  14363. "description": "货币符号",
  14364. "type": "string"
  14365. },
  14366. "customername": {
  14367. "description": "发行单位",
  14368. "type": "string"
  14369. },
  14370. "decimalplace": {
  14371. "description": "报价小数位",
  14372. "type": "integer"
  14373. },
  14374. "desccityid": {
  14375. "description": "目的地(市)ID",
  14376. "type": "integer"
  14377. },
  14378. "descprovinceid": {
  14379. "description": "目的地(省)ID",
  14380. "type": "integer"
  14381. },
  14382. "enableqty": {
  14383. "description": "剩余数量",
  14384. "type": "integer"
  14385. },
  14386. "goodscode": {
  14387. "description": "商品代码(内部)",
  14388. "type": "string"
  14389. },
  14390. "goodsdesc": {
  14391. "description": "商品详情",
  14392. "type": "string"
  14393. },
  14394. "goodsid": {
  14395. "description": "商品ID(自增ID SEQ_GOODS)",
  14396. "type": "integer"
  14397. },
  14398. "goodsname": {
  14399. "description": "商品名称",
  14400. "type": "string"
  14401. },
  14402. "goodsstatus": {
  14403. "description": "商品状态- 2:未上市 3:上市",
  14404. "type": "integer"
  14405. },
  14406. "goodunit": {
  14407. "description": "报价单位",
  14408. "type": "string"
  14409. },
  14410. "lasttradedate": {
  14411. "description": "最后交易日期(状态:待退市)",
  14412. "type": "string"
  14413. },
  14414. "listingdate": {
  14415. "description": "交易开始日期",
  14416. "type": "string"
  14417. },
  14418. "lotsize": {
  14419. "description": "手数最小变动单位",
  14420. "type": "integer"
  14421. },
  14422. "marketid": {
  14423. "description": "所属市场ID",
  14424. "type": "integer"
  14425. },
  14426. "picurls": {
  14427. "description": "介绍图片[多张用逗号分隔]",
  14428. "type": "string"
  14429. },
  14430. "presaledqty": {
  14431. "description": "已预售量(预售结束时更新)",
  14432. "type": "integer"
  14433. },
  14434. "presaleqty": {
  14435. "description": "预售数量",
  14436. "type": "integer"
  14437. },
  14438. "quoteminunit": {
  14439. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14440. "type": "integer"
  14441. },
  14442. "refprice": {
  14443. "description": "参考价格[一口价]",
  14444. "type": "number"
  14445. },
  14446. "relatedgoodsid": {
  14447. "description": "关联交易合约ID",
  14448. "type": "integer"
  14449. },
  14450. "stepvalue": {
  14451. "description": "价格最小变动单位",
  14452. "type": "number"
  14453. },
  14454. "trademode": {
  14455. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14456. "type": "integer"
  14457. },
  14458. "vendorattr": {
  14459. "description": "供应商附件(多张,逗号分隔)",
  14460. "type": "string"
  14461. },
  14462. "vendorname": {
  14463. "description": "供应商名称",
  14464. "type": "string"
  14465. },
  14466. "vendorphone": {
  14467. "description": "供应商客服电话",
  14468. "type": "string"
  14469. },
  14470. "videourls": {
  14471. "description": "介绍视频[多张用逗号分隔]",
  14472. "type": "string"
  14473. }
  14474. }
  14475. },
  14476. "models.HsbySellCollectionOrder": {
  14477. "type": "object",
  14478. "required": [
  14479. "goodscode",
  14480. "goodsname",
  14481. "tradeid",
  14482. "trademode"
  14483. ],
  14484. "properties": {
  14485. "agreeunit": {
  14486. "description": "合约单位",
  14487. "type": "number"
  14488. },
  14489. "buyaccountid": {
  14490. "description": "买方账号ID[报价币种]",
  14491. "type": "integer"
  14492. },
  14493. "buyorderid": {
  14494. "description": "买方委托单号",
  14495. "type": "string"
  14496. },
  14497. "createtime": {
  14498. "description": "创建时间",
  14499. "type": "string"
  14500. },
  14501. "currencysign": {
  14502. "description": "货币符号",
  14503. "type": "string"
  14504. },
  14505. "decimalplace": {
  14506. "description": "报价小数位",
  14507. "type": "integer"
  14508. },
  14509. "goodscode": {
  14510. "description": "商品代码(内部)",
  14511. "type": "string"
  14512. },
  14513. "goodsid": {
  14514. "description": "商品ID",
  14515. "type": "integer"
  14516. },
  14517. "goodsname": {
  14518. "description": "商品名称",
  14519. "type": "string"
  14520. },
  14521. "marketid": {
  14522. "description": "市场ID",
  14523. "type": "integer"
  14524. },
  14525. "offamount": {
  14526. "description": "优惠金额",
  14527. "type": "number"
  14528. },
  14529. "payamount": {
  14530. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  14531. "type": "number"
  14532. },
  14533. "payflag": {
  14534. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  14535. "type": "integer"
  14536. },
  14537. "paylimitedtime": {
  14538. "description": "支付期限",
  14539. "type": "string"
  14540. },
  14541. "paytime": {
  14542. "description": "付款时间",
  14543. "type": "string"
  14544. },
  14545. "picurls": {
  14546. "description": "商品介绍图片[多张用逗号分隔]",
  14547. "type": "string"
  14548. },
  14549. "sellaccountid": {
  14550. "description": "卖方账号ID[报价币种]",
  14551. "type": "integer"
  14552. },
  14553. "sellorderid": {
  14554. "description": "卖方委托单号",
  14555. "type": "string"
  14556. },
  14557. "tradeamount": {
  14558. "description": "成交金额",
  14559. "type": "number"
  14560. },
  14561. "tradecharge": {
  14562. "description": "成交手续费(买方)",
  14563. "type": "number"
  14564. },
  14565. "tradedate": {
  14566. "description": "交易日(yyyyMMdd)",
  14567. "type": "string"
  14568. },
  14569. "tradeid": {
  14570. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14571. "type": "string"
  14572. },
  14573. "trademode": {
  14574. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14575. "type": "integer"
  14576. },
  14577. "tradeprice": {
  14578. "description": "成交价格",
  14579. "type": "number"
  14580. },
  14581. "tradeqty": {
  14582. "description": "成交数量",
  14583. "type": "integer"
  14584. }
  14585. }
  14586. },
  14587. "models.HsbySellMyDetail": {
  14588. "type": "object",
  14589. "required": [
  14590. "accountid",
  14591. "buyorsell",
  14592. "goodscode",
  14593. "goodsid",
  14594. "goodsname",
  14595. "marketid",
  14596. "orderid",
  14597. "time",
  14598. "trademode"
  14599. ],
  14600. "properties": {
  14601. "accountid": {
  14602. "description": "账户ID[报价币种]",
  14603. "type": "integer"
  14604. },
  14605. "agreeunit": {
  14606. "description": "合约单位",
  14607. "type": "number"
  14608. },
  14609. "buyorsell": {
  14610. "description": "买卖 - 0:买 1:卖",
  14611. "type": "integer"
  14612. },
  14613. "currencysign": {
  14614. "description": "货币符号",
  14615. "type": "string"
  14616. },
  14617. "decimalplace": {
  14618. "description": "报价小数位",
  14619. "type": "integer"
  14620. },
  14621. "goodscode": {
  14622. "description": "商品代码(内部)",
  14623. "type": "string"
  14624. },
  14625. "goodsid": {
  14626. "description": "商品ID",
  14627. "type": "integer"
  14628. },
  14629. "goodsname": {
  14630. "description": "商品名称",
  14631. "type": "string"
  14632. },
  14633. "marketid": {
  14634. "description": "市场ID",
  14635. "type": "integer"
  14636. },
  14637. "orderid": {
  14638. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  14639. "type": "string"
  14640. },
  14641. "ordertype": {
  14642. "description": "单据类型:0 - 发布中, 1 - 已完成",
  14643. "type": "integer"
  14644. },
  14645. "picurls": {
  14646. "description": "介绍图片[多张用逗号分隔]",
  14647. "type": "string"
  14648. },
  14649. "price": {
  14650. "description": "价格",
  14651. "type": "number"
  14652. },
  14653. "qty": {
  14654. "description": "数量",
  14655. "type": "integer"
  14656. },
  14657. "time": {
  14658. "description": "时间",
  14659. "type": "string"
  14660. },
  14661. "trademode": {
  14662. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14663. "type": "integer"
  14664. },
  14665. "vendorname": {
  14666. "description": "供应商名称",
  14667. "type": "string"
  14668. }
  14669. }
  14670. },
  14671. "models.HsbyTopGoods": {
  14672. "type": "object",
  14673. "required": [
  14674. "goodscode",
  14675. "goodsid",
  14676. "goodsname",
  14677. "marketid",
  14678. "trademode"
  14679. ],
  14680. "properties": {
  14681. "agreeunit": {
  14682. "description": "合约单位",
  14683. "type": "number"
  14684. },
  14685. "currency": {
  14686. "description": "货币",
  14687. "type": "string"
  14688. },
  14689. "currencysign": {
  14690. "description": "货币符号",
  14691. "type": "string"
  14692. },
  14693. "decimalplace": {
  14694. "description": "报价小数位",
  14695. "type": "integer"
  14696. },
  14697. "desccityid": {
  14698. "description": "目的地(市)",
  14699. "type": "integer"
  14700. },
  14701. "descprovinceid": {
  14702. "description": "目的地(省)",
  14703. "type": "integer"
  14704. },
  14705. "goodscode": {
  14706. "description": "商品代码(内部)",
  14707. "type": "string"
  14708. },
  14709. "goodsid": {
  14710. "description": "商品ID(自增ID SEQ_GOODS)",
  14711. "type": "integer"
  14712. },
  14713. "goodsname": {
  14714. "description": "商品名称",
  14715. "type": "string"
  14716. },
  14717. "hotindex": {
  14718. "description": "景点热度",
  14719. "type": "integer"
  14720. },
  14721. "last": {
  14722. "description": "现价",
  14723. "type": "number"
  14724. },
  14725. "marketid": {
  14726. "description": "所属市场ID",
  14727. "type": "integer"
  14728. },
  14729. "picurls": {
  14730. "description": "介绍图片[多张用逗号分隔]",
  14731. "type": "string"
  14732. },
  14733. "quoteminunit": {
  14734. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14735. "type": "integer"
  14736. },
  14737. "trademode": {
  14738. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14739. "type": "integer"
  14740. },
  14741. "videourls": {
  14742. "description": "介绍视频[多张用逗号分隔]",
  14743. "type": "string"
  14744. }
  14745. }
  14746. },
  14747. "models.HybsMyBuyOrderDetail": {
  14748. "type": "object",
  14749. "required": [
  14750. "accountid",
  14751. "buyorsell",
  14752. "goodscode",
  14753. "goodsid",
  14754. "goodsname",
  14755. "marketid",
  14756. "orderid",
  14757. "orderqty",
  14758. "ordertime",
  14759. "trademode"
  14760. ],
  14761. "properties": {
  14762. "accountid": {
  14763. "description": "账户ID[报价币种]",
  14764. "type": "integer"
  14765. },
  14766. "agreeunit": {
  14767. "description": "合约单位",
  14768. "type": "number"
  14769. },
  14770. "buyorsell": {
  14771. "description": "买卖 - 0:买 1:卖",
  14772. "type": "integer"
  14773. },
  14774. "cancelqty": {
  14775. "description": "撤单数量",
  14776. "type": "integer"
  14777. },
  14778. "currencysign": {
  14779. "description": "货币符号",
  14780. "type": "string"
  14781. },
  14782. "decimalplace": {
  14783. "description": "报价小数位",
  14784. "type": "integer"
  14785. },
  14786. "goodscode": {
  14787. "description": "商品代码(内部)",
  14788. "type": "string"
  14789. },
  14790. "goodsid": {
  14791. "description": "商品ID",
  14792. "type": "integer"
  14793. },
  14794. "goodsname": {
  14795. "description": "商品名称",
  14796. "type": "string"
  14797. },
  14798. "listingselecttype": {
  14799. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14800. "type": "integer"
  14801. },
  14802. "marketid": {
  14803. "description": "市场ID",
  14804. "type": "integer"
  14805. },
  14806. "mybuystatus": {
  14807. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  14808. "type": "integer"
  14809. },
  14810. "orderamount": {
  14811. "description": "委托金额",
  14812. "type": "number"
  14813. },
  14814. "orderid": {
  14815. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14816. "type": "string"
  14817. },
  14818. "orderprice": {
  14819. "description": "委托价格",
  14820. "type": "number"
  14821. },
  14822. "orderqty": {
  14823. "description": "委托数量",
  14824. "type": "integer"
  14825. },
  14826. "orderstatus": {
  14827. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14828. "type": "integer"
  14829. },
  14830. "ordertime": {
  14831. "description": "委托时间",
  14832. "type": "string"
  14833. },
  14834. "picurls1": {
  14835. "description": "预售商品介绍图片[多张用逗号分隔]",
  14836. "type": "string"
  14837. },
  14838. "picurls2": {
  14839. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14840. "type": "string"
  14841. },
  14842. "trademode": {
  14843. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14844. "type": "integer"
  14845. },
  14846. "tradeqty": {
  14847. "description": "成交数量",
  14848. "type": "integer"
  14849. },
  14850. "vendorname1": {
  14851. "description": "预售商品供应商名称",
  14852. "type": "string"
  14853. },
  14854. "vendorname2": {
  14855. "description": "挂牌商品供应商名称",
  14856. "type": "string"
  14857. }
  14858. }
  14859. },
  14860. "models.Loginaccount": {
  14861. "type": "object",
  14862. "required": [
  14863. "loginid"
  14864. ],
  14865. "properties": {
  14866. "canoutin": {
  14867. "description": "是否可出入金 - 0:不可 1:可",
  14868. "type": "integer"
  14869. },
  14870. "clientroleid": {
  14871. "description": "终端角色ID",
  14872. "type": "integer"
  14873. },
  14874. "haslogined": {
  14875. "description": "是否已登录 - 0:未登录 1:已登录",
  14876. "type": "integer"
  14877. },
  14878. "hasupdatedpwd": {
  14879. "description": "是否已更改密码 - 0:未修改 1:已修改",
  14880. "type": "integer"
  14881. },
  14882. "lastloginip": {
  14883. "description": "最新登录地址",
  14884. "type": "string"
  14885. },
  14886. "lastloginmode": {
  14887. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14888. "type": "integer"
  14889. },
  14890. "lastloginremark": {
  14891. "description": "最新登录描述",
  14892. "type": "string"
  14893. },
  14894. "lastlogintime": {
  14895. "description": "最新登录时间",
  14896. "type": "string"
  14897. },
  14898. "logincode": {
  14899. "description": "登录代码",
  14900. "type": "string"
  14901. },
  14902. "loginfailnum": {
  14903. "description": "连续登录失败次数(登录成功时清零)",
  14904. "type": "integer"
  14905. },
  14906. "loginid": {
  14907. "description": "登陆账号",
  14908. "type": "integer"
  14909. },
  14910. "loginport": {
  14911. "description": "最新登录端口",
  14912. "type": "integer"
  14913. },
  14914. "loginstatus": {
  14915. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  14916. "type": "integer"
  14917. },
  14918. "loginusertype": {
  14919. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  14920. "type": "integer"
  14921. },
  14922. "modifierid": {
  14923. "description": "修改人",
  14924. "type": "integer"
  14925. },
  14926. "modifytime": {
  14927. "description": "修改时间",
  14928. "type": "string"
  14929. },
  14930. "pwdwrongcount": {
  14931. "description": "密码错误次数",
  14932. "type": "integer"
  14933. },
  14934. "taaccountrighttype": {
  14935. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  14936. "type": "integer"
  14937. },
  14938. "unfreezetime": {
  14939. "description": "账户解冻时间",
  14940. "type": "string"
  14941. },
  14942. "userid": {
  14943. "description": "用户ID",
  14944. "type": "integer"
  14945. }
  14946. }
  14947. },
  14948. "models.Market": {
  14949. "type": "object",
  14950. "required": [
  14951. "marketid",
  14952. "marketstatus",
  14953. "openmethod",
  14954. "reckonpricealgorithm",
  14955. "trademode",
  14956. "tradeproperty"
  14957. ],
  14958. "properties": {
  14959. "auctionwrtype": {
  14960. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  14961. "type": "integer"
  14962. },
  14963. "canacceptquote": {
  14964. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  14965. "type": "integer"
  14966. },
  14967. "cangoodsexercise": {
  14968. "description": "[期权]是否可现货行权- 0:否 1:是",
  14969. "type": "integer"
  14970. },
  14971. "cangoodsexercisetype": {
  14972. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  14973. "type": "integer"
  14974. },
  14975. "canmanualquotestrike": {
  14976. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  14977. "type": "integer"
  14978. },
  14979. "canmutistage": {
  14980. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  14981. "type": "integer"
  14982. },
  14983. "canpreexercise": {
  14984. "description": "[期权]是否可预申报- 0:否 1:是",
  14985. "type": "integer"
  14986. },
  14987. "clearinterval": {
  14988. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  14989. "type": "integer"
  14990. },
  14991. "contracttmp": {
  14992. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  14993. "type": "string"
  14994. },
  14995. "exchareaid": {
  14996. "description": "所属交易所,可以没有",
  14997. "type": "integer"
  14998. },
  14999. "goodstype": {
  15000. "description": "商品类型 - 1:交易商品 2:仓单商品",
  15001. "type": "integer"
  15002. },
  15003. "hasrebate": {
  15004. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  15005. "type": "integer"
  15006. },
  15007. "hastradecredit": {
  15008. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  15009. "type": "integer"
  15010. },
  15011. "haswr": {
  15012. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  15013. "type": "integer"
  15014. },
  15015. "isdeductmargin": {
  15016. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  15017. "type": "integer"
  15018. },
  15019. "isrecordsource": {
  15020. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  15021. "type": "integer"
  15022. },
  15023. "isreleasemargin": {
  15024. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  15025. "type": "integer"
  15026. },
  15027. "marginformula": {
  15028. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  15029. "type": "integer"
  15030. },
  15031. "marginformula2": {
  15032. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  15033. "type": "integer"
  15034. },
  15035. "marketid": {
  15036. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  15037. "type": "integer"
  15038. },
  15039. "marketname": {
  15040. "description": "市场名称",
  15041. "type": "string"
  15042. },
  15043. "marketserviceid": {
  15044. "description": "市场服务ID",
  15045. "type": "integer"
  15046. },
  15047. "marketstatus": {
  15048. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  15049. "type": "integer"
  15050. },
  15051. "markettype": {
  15052. "description": "市场类型- 1:非交易服务 2:交易服务",
  15053. "type": "integer"
  15054. },
  15055. "matchermode": {
  15056. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  15057. "type": "integer"
  15058. },
  15059. "openmethod": {
  15060. "description": "开盘模式 - 0 自动 1手动",
  15061. "type": "integer"
  15062. },
  15063. "otcuserid": {
  15064. "description": "场外期权做市商[场外期权]",
  15065. "type": "integer"
  15066. },
  15067. "outersynctime": {
  15068. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  15069. "type": "string"
  15070. },
  15071. "pendingflag": {
  15072. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  15073. "type": "integer"
  15074. },
  15075. "pendingtime": {
  15076. "description": "待开市时间[通道交易-对冲](HH:mm)",
  15077. "type": "string"
  15078. },
  15079. "performancetempid": {
  15080. "description": "履约计划模板ID - 作废",
  15081. "type": "integer"
  15082. },
  15083. "premiumquotemode": {
  15084. "description": "权利金报价方式 - 1:自动 2:手动",
  15085. "type": "integer"
  15086. },
  15087. "rebateratio": {
  15088. "description": "返利比率[竞价式]",
  15089. "type": "number"
  15090. },
  15091. "reckonorder": {
  15092. "description": "结算顺序",
  15093. "type": "integer"
  15094. },
  15095. "reckonpricealgorithm": {
  15096. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  15097. "type": "integer"
  15098. },
  15099. "reckonpriceparam": {
  15100. "description": "结算价参数",
  15101. "type": "integer"
  15102. },
  15103. "reckontime": {
  15104. "description": "结算时间[通道交易-对冲](HH:mm)",
  15105. "type": "string"
  15106. },
  15107. "roleprioritytype": {
  15108. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  15109. "type": "integer"
  15110. },
  15111. "selllistingauditflag": {
  15112. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  15113. "type": "integer"
  15114. },
  15115. "trademarkettype": {
  15116. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  15117. "type": "integer"
  15118. },
  15119. "trademode": {
  15120. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15121. "type": "integer"
  15122. },
  15123. "tradeproperty": {
  15124. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  15125. "type": "integer"
  15126. },
  15127. "tradetype": {
  15128. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  15129. "type": "integer"
  15130. }
  15131. }
  15132. },
  15133. "models.Marketrun": {
  15134. "type": "object",
  15135. "required": [
  15136. "marketid",
  15137. "nexttradedate",
  15138. "reckonflag",
  15139. "runstatus",
  15140. "tradedate",
  15141. "tradedate2"
  15142. ],
  15143. "properties": {
  15144. "afternexttradedate": {
  15145. "description": "下下交易日",
  15146. "type": "string"
  15147. },
  15148. "clearquoteflag": {
  15149. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  15150. "type": "integer"
  15151. },
  15152. "lastreckondate": {
  15153. "description": "最新交易日(结算成功)",
  15154. "type": "string"
  15155. },
  15156. "machinedate": {
  15157. "description": "机器时间",
  15158. "type": "string"
  15159. },
  15160. "manualflag": {
  15161. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  15162. "type": "integer"
  15163. },
  15164. "marketid": {
  15165. "description": "市场ID",
  15166. "type": "integer"
  15167. },
  15168. "nexttradedate": {
  15169. "description": "下一交易日",
  15170. "type": "string"
  15171. },
  15172. "pretradedate": {
  15173. "description": "上一交易日",
  15174. "type": "string"
  15175. },
  15176. "reckonflag": {
  15177. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  15178. "type": "integer"
  15179. },
  15180. "runstatus": {
  15181. "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.今日免清算",
  15182. "type": "integer"
  15183. },
  15184. "sectionid": {
  15185. "description": "时间段号[多时段时用]",
  15186. "type": "integer"
  15187. },
  15188. "tradedate": {
  15189. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  15190. "type": "string"
  15191. },
  15192. "tradedate2": {
  15193. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  15194. "type": "string"
  15195. },
  15196. "updatetime": {
  15197. "description": "更新时间",
  15198. "type": "string"
  15199. }
  15200. }
  15201. },
  15202. "models.Messageboard": {
  15203. "type": "object",
  15204. "required": [
  15205. "messageboardid"
  15206. ],
  15207. "properties": {
  15208. "contactnum": {
  15209. "description": "联系电话",
  15210. "type": "string"
  15211. },
  15212. "createtime": {
  15213. "description": "创建时间",
  15214. "type": "string"
  15215. },
  15216. "message": {
  15217. "description": "留言信息",
  15218. "type": "string"
  15219. },
  15220. "messageboardid": {
  15221. "description": "留言簿ID(SEQ_MessageBoard)",
  15222. "type": "integer"
  15223. },
  15224. "userid": {
  15225. "description": "用户ID",
  15226. "type": "integer"
  15227. }
  15228. }
  15229. },
  15230. "models.MyCoupon": {
  15231. "type": "object",
  15232. "required": [
  15233. "accountid",
  15234. "coupontypeid"
  15235. ],
  15236. "properties": {
  15237. "accountid": {
  15238. "description": "资金账户ID",
  15239. "type": "integer"
  15240. },
  15241. "areauserid": {
  15242. "description": "所属机构",
  15243. "type": "integer"
  15244. },
  15245. "conditionvalue": {
  15246. "description": "条件阈值(可为0)",
  15247. "type": "number"
  15248. },
  15249. "couponcategroy": {
  15250. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  15251. "type": "integer"
  15252. },
  15253. "couponname": {
  15254. "description": "优惠券名称",
  15255. "type": "string"
  15256. },
  15257. "coupontypeid": {
  15258. "description": "优惠券类型ID",
  15259. "type": "string"
  15260. },
  15261. "couponvalue": {
  15262. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  15263. "type": "number"
  15264. },
  15265. "curfreezeqty": {
  15266. "description": "期末冻结数量",
  15267. "type": "integer"
  15268. },
  15269. "curqty": {
  15270. "description": "期末数量",
  15271. "type": "integer"
  15272. },
  15273. "isgeneral": {
  15274. "description": "是否通用券 - 0:否 1:是",
  15275. "type": "integer"
  15276. },
  15277. "isunusable": {
  15278. "description": "是否不可用",
  15279. "type": "boolean"
  15280. },
  15281. "limitedflag": {
  15282. "description": "是否指定商品 - 0:不限 1:限制",
  15283. "type": "integer"
  15284. },
  15285. "limitedgoodsids": {
  15286. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  15287. "type": "string"
  15288. },
  15289. "orifreezeqty": {
  15290. "description": "期初冻结数量",
  15291. "type": "integer"
  15292. },
  15293. "oriqty": {
  15294. "description": "期初数量",
  15295. "type": "integer"
  15296. },
  15297. "reasontype": {
  15298. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  15299. "type": "integer"
  15300. },
  15301. "todaydecrease": {
  15302. "description": "今日减少",
  15303. "type": "integer"
  15304. },
  15305. "todayincrease": {
  15306. "description": "今日增加",
  15307. "type": "integer"
  15308. },
  15309. "userid": {
  15310. "description": "用户ID",
  15311. "type": "integer"
  15312. },
  15313. "userscope": {
  15314. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  15315. "type": "string"
  15316. }
  15317. }
  15318. },
  15319. "models.MyCouponHold": {
  15320. "type": "object",
  15321. "required": [
  15322. "couponholdid"
  15323. ],
  15324. "properties": {
  15325. "accountid": {
  15326. "description": "资金账户ID",
  15327. "type": "integer"
  15328. },
  15329. "conditionvalue": {
  15330. "description": "条件阈值(可为0)",
  15331. "type": "number"
  15332. },
  15333. "couponcategroy": {
  15334. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  15335. "type": "integer"
  15336. },
  15337. "couponholdid": {
  15338. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  15339. "type": "string"
  15340. },
  15341. "couponname": {
  15342. "description": "优惠券名称",
  15343. "type": "string"
  15344. },
  15345. "coupontypeid": {
  15346. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  15347. "type": "string"
  15348. },
  15349. "couponvalue": {
  15350. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  15351. "type": "number"
  15352. },
  15353. "createtime": {
  15354. "description": "创建时间",
  15355. "type": "string"
  15356. },
  15357. "enddate": {
  15358. "description": "结束日期",
  15359. "type": "string"
  15360. },
  15361. "giveapplyid": {
  15362. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  15363. "type": "integer"
  15364. },
  15365. "holdstatus": {
  15366. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  15367. "type": "integer"
  15368. },
  15369. "isgeneral": {
  15370. "description": "是否通用券 - 0:否 1:是",
  15371. "type": "integer"
  15372. },
  15373. "limitedflag": {
  15374. "description": "是否指定商品 - 0:不限 1:限制",
  15375. "type": "integer"
  15376. },
  15377. "limitedgoodsids": {
  15378. "description": "指定商品IDs[逗号分隔]",
  15379. "type": "string"
  15380. },
  15381. "qty": {
  15382. "description": "数量(按1平铺)",
  15383. "type": "integer"
  15384. },
  15385. "startdate": {
  15386. "description": "开始日期",
  15387. "type": "string"
  15388. },
  15389. "userid": {
  15390. "description": "用户ID",
  15391. "type": "integer"
  15392. },
  15393. "userscope": {
  15394. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  15395. "type": "string"
  15396. }
  15397. }
  15398. },
  15399. "models.MyUsedCoupon": {
  15400. "type": "object",
  15401. "required": [
  15402. "coupontypeid",
  15403. "orderid"
  15404. ],
  15405. "properties": {
  15406. "accountid": {
  15407. "description": "资金账户ID(买方)",
  15408. "type": "integer"
  15409. },
  15410. "conditionvalue": {
  15411. "description": "条件阈值(可为0)",
  15412. "type": "number"
  15413. },
  15414. "couponcategroy": {
  15415. "description": "种类 - 1:现金券 2:折扣券",
  15416. "type": "integer"
  15417. },
  15418. "couponname": {
  15419. "description": "优惠券名称",
  15420. "type": "string"
  15421. },
  15422. "coupontypeid": {
  15423. "description": "优惠券类型ID(买方)",
  15424. "type": "string"
  15425. },
  15426. "couponvalue": {
  15427. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  15428. "type": "number"
  15429. },
  15430. "createtime": {
  15431. "description": "创建时间",
  15432. "type": "string"
  15433. },
  15434. "goodsid": {
  15435. "description": "商品ID",
  15436. "type": "integer"
  15437. },
  15438. "handlestatus": {
  15439. "description": "处理状态",
  15440. "type": "integer"
  15441. },
  15442. "marketid": {
  15443. "description": "市场ID",
  15444. "type": "integer"
  15445. },
  15446. "offamount": {
  15447. "description": "优惠金额",
  15448. "type": "number"
  15449. },
  15450. "orderid": {
  15451. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15452. "type": "string"
  15453. },
  15454. "sellaccountid": {
  15455. "description": "资金账户ID(卖方)",
  15456. "type": "integer"
  15457. },
  15458. "tradeamount": {
  15459. "description": "成交金额",
  15460. "type": "number"
  15461. },
  15462. "tradeid": {
  15463. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15464. "type": "string"
  15465. },
  15466. "usedqty": {
  15467. "description": "使用数量",
  15468. "type": "integer"
  15469. }
  15470. }
  15471. },
  15472. "models.OperationPrimaryMenu": {
  15473. "type": "object",
  15474. "properties": {
  15475. "Children": {
  15476. "description": "二级功能菜单",
  15477. "type": "array",
  15478. "items": {
  15479. "$ref": "#/definitions/models.OperationSecondaryMenu"
  15480. }
  15481. },
  15482. "Key": {
  15483. "description": "菜单KEY",
  15484. "type": "string"
  15485. },
  15486. "Label": {
  15487. "description": "菜单标题",
  15488. "type": "string"
  15489. }
  15490. }
  15491. },
  15492. "models.OperationSecondaryMenu": {
  15493. "type": "object",
  15494. "properties": {
  15495. "Key": {
  15496. "description": "菜单KEY",
  15497. "type": "string"
  15498. },
  15499. "Label": {
  15500. "description": "菜单标题",
  15501. "type": "string"
  15502. },
  15503. "TabList": {
  15504. "description": "三级功能菜单",
  15505. "type": "array",
  15506. "items": {
  15507. "$ref": "#/definitions/models.OperationTabMenu"
  15508. }
  15509. }
  15510. }
  15511. },
  15512. "models.OperationTabMenu": {
  15513. "type": "object",
  15514. "properties": {
  15515. "Key": {
  15516. "description": "菜单KEY",
  15517. "type": "string"
  15518. },
  15519. "Label": {
  15520. "description": "菜单标题",
  15521. "type": "string"
  15522. }
  15523. }
  15524. },
  15525. "models.PendingAuditBizModel": {
  15526. "type": "object",
  15527. "properties": {
  15528. "accountid": {
  15529. "description": "现货账户",
  15530. "type": "string"
  15531. },
  15532. "areaname": {
  15533. "description": "所属部门",
  15534. "type": "string"
  15535. },
  15536. "bizid": {
  15537. "description": "业务ID",
  15538. "type": "string"
  15539. },
  15540. "bizname": {
  15541. "description": "业务名称",
  15542. "type": "string"
  15543. },
  15544. "status": {
  15545. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15546. "type": "integer"
  15547. },
  15548. "type": {
  15549. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  15550. "type": "integer"
  15551. }
  15552. }
  15553. },
  15554. "models.QueryErrorInfosRsp": {
  15555. "type": "object",
  15556. "required": [
  15557. "errorid"
  15558. ],
  15559. "properties": {
  15560. "description": {
  15561. "description": "异常描述",
  15562. "type": "string"
  15563. },
  15564. "errorcode": {
  15565. "description": "异常代码",
  15566. "type": "string"
  15567. },
  15568. "errorid": {
  15569. "description": "异常ID",
  15570. "type": "integer"
  15571. },
  15572. "modulecode": {
  15573. "description": "所属模块",
  15574. "type": "string"
  15575. },
  15576. "operatecode": {
  15577. "description": "所属操作",
  15578. "type": "string"
  15579. },
  15580. "rownumber": {
  15581. "description": "行号",
  15582. "type": "string"
  15583. }
  15584. }
  15585. },
  15586. "models.QueryHedgeOrderDetailRsp": {
  15587. "type": "object",
  15588. "properties": {
  15589. "accountid": {
  15590. "description": "账户ID",
  15591. "type": "integer"
  15592. },
  15593. "buyorsell": {
  15594. "description": "买卖 - 0:买 1:卖",
  15595. "type": "integer"
  15596. },
  15597. "channelbuildtype": {
  15598. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  15599. "type": "integer"
  15600. },
  15601. "channelinnerorderstatus": {
  15602. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  15603. "type": "integer"
  15604. },
  15605. "channeloperatetype": {
  15606. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  15607. "type": "integer"
  15608. },
  15609. "closetype": {
  15610. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  15611. "type": "integer"
  15612. },
  15613. "curexchangerate": {
  15614. "description": "当前汇率",
  15615. "type": "number"
  15616. },
  15617. "exchangefullname": {
  15618. "description": "外部交易所全称",
  15619. "type": "string"
  15620. },
  15621. "goodscode": {
  15622. "description": "商品代码(内部)",
  15623. "type": "string"
  15624. },
  15625. "goodsid": {
  15626. "description": "商品ID",
  15627. "type": "integer"
  15628. },
  15629. "goodsname": {
  15630. "description": "商品名称",
  15631. "type": "string"
  15632. },
  15633. "marketid": {
  15634. "description": "市场ID",
  15635. "type": "integer"
  15636. },
  15637. "openfreezemargin": {
  15638. "description": "冻结保证金(冻结交易金额)",
  15639. "type": "number"
  15640. },
  15641. "orderid": {
  15642. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15643. "type": "string"
  15644. },
  15645. "orderprice": {
  15646. "description": "委托价格(账户)",
  15647. "type": "number"
  15648. },
  15649. "orderqty": {
  15650. "description": "委托数量",
  15651. "type": "integer"
  15652. },
  15653. "ordertime": {
  15654. "description": "委托时间",
  15655. "type": "string"
  15656. },
  15657. "pricemode": {
  15658. "description": "取价方式 - 1:市价 2: 限价",
  15659. "type": "integer"
  15660. },
  15661. "tradedate": {
  15662. "description": "交易日(yyyyMMdd)",
  15663. "type": "string"
  15664. },
  15665. "tradeqty": {
  15666. "description": "成交数量",
  15667. "type": "integer"
  15668. }
  15669. }
  15670. },
  15671. "models.QueryHedgeTradeDetailRsp": {
  15672. "type": "object",
  15673. "properties": {
  15674. "accountid": {
  15675. "description": "账号ID",
  15676. "type": "integer"
  15677. },
  15678. "buyorsell": {
  15679. "description": "方向 - 0:买 1:卖",
  15680. "type": "integer"
  15681. },
  15682. "channelbuildtype": {
  15683. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  15684. "type": "integer"
  15685. },
  15686. "closecharge": {
  15687. "description": "平仓手续费(账户)",
  15688. "type": "number"
  15689. },
  15690. "closecharge2": {
  15691. "description": "平仓手续费(商品)",
  15692. "type": "number"
  15693. },
  15694. "closetype": {
  15695. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  15696. "type": "integer"
  15697. },
  15698. "curexchangerate": {
  15699. "description": "当前汇率",
  15700. "type": "number"
  15701. },
  15702. "exchangefullname": {
  15703. "description": "外部交易所全称",
  15704. "type": "string"
  15705. },
  15706. "goodscode": {
  15707. "description": "商品代码(内部)",
  15708. "type": "string"
  15709. },
  15710. "goodsid": {
  15711. "description": "商品ID",
  15712. "type": "integer"
  15713. },
  15714. "goodsname": {
  15715. "description": "商品名称",
  15716. "type": "string"
  15717. },
  15718. "marketid": {
  15719. "description": "市场ID",
  15720. "type": "integer"
  15721. },
  15722. "opencharge": {
  15723. "description": "建仓手续费(账户)",
  15724. "type": "number"
  15725. },
  15726. "opencharge2": {
  15727. "description": "建仓手续费(商品)",
  15728. "type": "number"
  15729. },
  15730. "orderid": {
  15731. "description": "委托单号",
  15732. "type": "string"
  15733. },
  15734. "tradeamount": {
  15735. "description": "成交金额(账户)",
  15736. "type": "number"
  15737. },
  15738. "tradedate": {
  15739. "description": "交易日(yyyyMMdd)",
  15740. "type": "string"
  15741. },
  15742. "tradeid": {
  15743. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15744. "type": "string"
  15745. },
  15746. "tradeprice": {
  15747. "description": "成交价格",
  15748. "type": "number"
  15749. },
  15750. "tradeqty": {
  15751. "description": "成交数量",
  15752. "type": "integer"
  15753. },
  15754. "tradetime": {
  15755. "description": "成交时间",
  15756. "type": "string"
  15757. },
  15758. "tradetype": {
  15759. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  15760. "type": "integer"
  15761. }
  15762. }
  15763. },
  15764. "models.QuotePrimaryMenu": {
  15765. "type": "object",
  15766. "properties": {
  15767. "Index": {
  15768. "description": "序号",
  15769. "type": "integer"
  15770. },
  15771. "Key": {
  15772. "description": "键名",
  15773. "type": "string"
  15774. },
  15775. "Name": {
  15776. "description": "菜单名称",
  15777. "type": "string"
  15778. },
  15779. "SubMenus": {
  15780. "description": "子菜单",
  15781. "type": "array",
  15782. "items": {
  15783. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  15784. }
  15785. },
  15786. "SubTitleType": {
  15787. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  15788. "type": "integer"
  15789. },
  15790. "TradeModes": {
  15791. "description": "包含市场交易类型",
  15792. "type": "string"
  15793. }
  15794. }
  15795. },
  15796. "models.QuoteSecondaryMenu": {
  15797. "type": "object",
  15798. "properties": {
  15799. "ExExchangeCode": {
  15800. "description": "外部交易所代码",
  15801. "type": "string"
  15802. },
  15803. "ExExchangeID": {
  15804. "description": "外部交易所ID",
  15805. "type": "integer"
  15806. },
  15807. "GoodsGroupIDs": {
  15808. "description": "商品组ID列表",
  15809. "type": "array",
  15810. "items": {
  15811. "type": "integer"
  15812. }
  15813. },
  15814. "Index": {
  15815. "description": "序号",
  15816. "type": "integer"
  15817. },
  15818. "MarketID": {
  15819. "description": "市场ID",
  15820. "type": "integer"
  15821. },
  15822. "MenuTitle": {
  15823. "description": "菜单标题(市场名称或外部交易所名称)",
  15824. "type": "string"
  15825. },
  15826. "TradeMode": {
  15827. "description": "交易模式",
  15828. "type": "integer"
  15829. }
  15830. }
  15831. },
  15832. "models.RelatedGoodsEx": {
  15833. "type": "object",
  15834. "properties": {
  15835. "goodscode": {
  15836. "description": "商品代码",
  15837. "type": "string"
  15838. },
  15839. "goodsid": {
  15840. "description": "商品id",
  15841. "type": "integer"
  15842. },
  15843. "goodsname": {
  15844. "description": "商品名称",
  15845. "type": "string"
  15846. }
  15847. }
  15848. },
  15849. "models.SearchGoods": {
  15850. "type": "object",
  15851. "required": [
  15852. "goodscode",
  15853. "goodsid",
  15854. "goodsname",
  15855. "marketid",
  15856. "trademode"
  15857. ],
  15858. "properties": {
  15859. "goodscode": {
  15860. "description": "商品代码(内部)",
  15861. "type": "string"
  15862. },
  15863. "goodsid": {
  15864. "description": "商品ID(自增ID SEQ_GOODS)",
  15865. "type": "integer"
  15866. },
  15867. "goodsname": {
  15868. "description": "商品名称",
  15869. "type": "string"
  15870. },
  15871. "marketid": {
  15872. "description": "所属市场ID",
  15873. "type": "integer"
  15874. },
  15875. "marketname": {
  15876. "description": "市场名称",
  15877. "type": "string"
  15878. },
  15879. "trademode": {
  15880. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15881. "type": "integer"
  15882. }
  15883. }
  15884. },
  15885. "models.Systemparam": {
  15886. "type": "object",
  15887. "required": [
  15888. "paramcode"
  15889. ],
  15890. "properties": {
  15891. "loginid": {
  15892. "description": "更新用户账号,登录账号",
  15893. "type": "string"
  15894. },
  15895. "modifyflag": {
  15896. "description": "修改标志0 不允许修改 1 允许修改",
  15897. "type": "integer"
  15898. },
  15899. "paramcode": {
  15900. "description": "参数代码",
  15901. "type": "string"
  15902. },
  15903. "paramname": {
  15904. "description": "参数名",
  15905. "type": "string"
  15906. },
  15907. "paramtype": {
  15908. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  15909. "type": "integer"
  15910. },
  15911. "paramvalue": {
  15912. "description": "参数值",
  15913. "type": "string"
  15914. },
  15915. "paramvalue2": {
  15916. "description": "参数值(CLOB)",
  15917. "type": "string"
  15918. },
  15919. "regexpress": {
  15920. "description": "正则表达式",
  15921. "type": "string"
  15922. },
  15923. "remark": {
  15924. "description": "备注",
  15925. "type": "string"
  15926. },
  15927. "serverip": {
  15928. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  15929. "type": "string"
  15930. },
  15931. "showflag": {
  15932. "description": "是否显示0 不显示 1 显示",
  15933. "type": "integer"
  15934. },
  15935. "updatetime": {
  15936. "description": "更新时间",
  15937. "type": "string"
  15938. },
  15939. "userid": {
  15940. "description": "更新用户ID",
  15941. "type": "integer"
  15942. }
  15943. }
  15944. },
  15945. "models.Szdz3convertconfig": {
  15946. "type": "object",
  15947. "required": [
  15948. "converttype",
  15949. "innergoodsid",
  15950. "outergoodscode"
  15951. ],
  15952. "properties": {
  15953. "canin": {
  15954. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  15955. "type": "integer"
  15956. },
  15957. "canout": {
  15958. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  15959. "type": "integer"
  15960. },
  15961. "converttype": {
  15962. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  15963. "type": "integer"
  15964. },
  15965. "createtime": {
  15966. "description": "创建时间",
  15967. "type": "string"
  15968. },
  15969. "creatorid": {
  15970. "description": "创建人",
  15971. "type": "integer"
  15972. },
  15973. "daymaxvalue": {
  15974. "description": "当日最大转入限制",
  15975. "type": "number"
  15976. },
  15977. "freezedays": {
  15978. "description": "冻结天数 [5:花生米转交易]",
  15979. "type": "integer"
  15980. },
  15981. "innergoodsid": {
  15982. "description": "内部商品ID[交易]",
  15983. "type": "integer"
  15984. },
  15985. "inratio": {
  15986. "description": "目标值",
  15987. "type": "integer"
  15988. },
  15989. "modifierid": {
  15990. "description": "修改人",
  15991. "type": "integer"
  15992. },
  15993. "modifytime": {
  15994. "description": "修改时间",
  15995. "type": "string"
  15996. },
  15997. "outergoodscode": {
  15998. "description": "外部商品代码[JD\\PD]",
  15999. "type": "string"
  16000. },
  16001. "outratio": {
  16002. "description": "源值",
  16003. "type": "integer"
  16004. },
  16005. "pddecimalplace": {
  16006. "description": "PD小数位",
  16007. "type": "integer"
  16008. },
  16009. "timemaxvalue": {
  16010. "description": "单次最大转入限制",
  16011. "type": "number"
  16012. },
  16013. "timeminvalue": {
  16014. "description": "单次最小转入限制",
  16015. "type": "number"
  16016. }
  16017. }
  16018. },
  16019. "models.Szdz3searchwhitelist": {
  16020. "type": "object",
  16021. "required": [
  16022. "userid"
  16023. ],
  16024. "properties": {
  16025. "createtime": {
  16026. "description": "创建时间",
  16027. "type": "string"
  16028. },
  16029. "creatorid": {
  16030. "description": "创建人",
  16031. "type": "integer"
  16032. },
  16033. "modifierid": {
  16034. "description": "修改人",
  16035. "type": "integer"
  16036. },
  16037. "modifytime": {
  16038. "description": "修改时间",
  16039. "type": "string"
  16040. },
  16041. "userid": {
  16042. "description": "用户ID",
  16043. "type": "integer"
  16044. }
  16045. }
  16046. },
  16047. "models.Taaccount": {
  16048. "type": "object",
  16049. "required": [
  16050. "accountid",
  16051. "userid"
  16052. ],
  16053. "properties": {
  16054. "accountflag": {
  16055. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  16056. "type": "integer"
  16057. },
  16058. "accountid": {
  16059. "description": "资金账户ID",
  16060. "type": "integer"
  16061. },
  16062. "accountname": {
  16063. "description": "账户名称",
  16064. "type": "string"
  16065. },
  16066. "balance": {
  16067. "description": "期初余额",
  16068. "type": "number"
  16069. },
  16070. "capitalbalance": {
  16071. "description": "本金余额[外部子账户实际出入金余额]",
  16072. "type": "number"
  16073. },
  16074. "changeflag": {
  16075. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  16076. "type": "integer"
  16077. },
  16078. "changetime": {
  16079. "description": "账户状态变更时间",
  16080. "type": "string"
  16081. },
  16082. "closepl": {
  16083. "description": "今日平仓盈亏",
  16084. "type": "number"
  16085. },
  16086. "creditdecrease": {
  16087. "description": "今日授信减少",
  16088. "type": "number"
  16089. },
  16090. "creditincrease": {
  16091. "description": "今日授信增加",
  16092. "type": "number"
  16093. },
  16094. "currencyid": {
  16095. "description": "货币ID",
  16096. "type": "integer"
  16097. },
  16098. "currentbalance": {
  16099. "description": "期末余额",
  16100. "type": "number"
  16101. },
  16102. "freezecharge": {
  16103. "description": "手续费冻结",
  16104. "type": "number"
  16105. },
  16106. "freezemargin": {
  16107. "description": "冻结保证金",
  16108. "type": "number"
  16109. },
  16110. "fromaccountid": {
  16111. "description": "所属上级账户",
  16112. "type": "integer"
  16113. },
  16114. "inamount": {
  16115. "description": "今日入金金额(包括三方入金)",
  16116. "type": "number"
  16117. },
  16118. "ismain": {
  16119. "description": "是否母账号 0:不是母账户 1:是母账户",
  16120. "type": "integer"
  16121. },
  16122. "ismarketaccount": {
  16123. "description": "是否机构接单账号 0:不是 1:是",
  16124. "type": "integer"
  16125. },
  16126. "isreckonaccount": {
  16127. "description": "是否机构分润账号 0:不是 1:是",
  16128. "type": "integer"
  16129. },
  16130. "mortgagecredit": {
  16131. "description": "授信金额",
  16132. "type": "number"
  16133. },
  16134. "orifreezecharge": {
  16135. "description": "期初手续费冻结",
  16136. "type": "number"
  16137. },
  16138. "orifreezemargin": {
  16139. "description": "期初冻结保证金",
  16140. "type": "number"
  16141. },
  16142. "orimortgagecredit": {
  16143. "description": "期初授信金额",
  16144. "type": "number"
  16145. },
  16146. "oriothercredit": {
  16147. "description": "期初其它授信金额",
  16148. "type": "number"
  16149. },
  16150. "oriotherfreezemargin": {
  16151. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  16152. "type": "number"
  16153. },
  16154. "orioutamountfreeze": {
  16155. "description": "期初出金冻结",
  16156. "type": "number"
  16157. },
  16158. "oriusedmargin": {
  16159. "description": "期初占用保证金",
  16160. "type": "number"
  16161. },
  16162. "othercredit": {
  16163. "description": "其它授信金额",
  16164. "type": "number"
  16165. },
  16166. "othercreditdecrease": {
  16167. "description": "今日其它授信减少",
  16168. "type": "number"
  16169. },
  16170. "othercreditincrease": {
  16171. "description": "今日其它授信增加",
  16172. "type": "number"
  16173. },
  16174. "otherfreezemargin": {
  16175. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  16176. "type": "number"
  16177. },
  16178. "otherincome": {
  16179. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  16180. "type": "number"
  16181. },
  16182. "otherpay": {
  16183. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  16184. "type": "number"
  16185. },
  16186. "outamount": {
  16187. "description": "今日出金金额(包括三方出金)",
  16188. "type": "number"
  16189. },
  16190. "outamountfreeze": {
  16191. "description": "出金冻结",
  16192. "type": "number"
  16193. },
  16194. "outthreshold": {
  16195. "description": "出金阈值",
  16196. "type": "number"
  16197. },
  16198. "parentaccountid": {
  16199. "description": "所属根账号",
  16200. "type": "integer"
  16201. },
  16202. "paycharge": {
  16203. "description": "今日手续费支出",
  16204. "type": "number"
  16205. },
  16206. "relatedaccountstatus": {
  16207. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  16208. "type": "integer"
  16209. },
  16210. "relateduserid": {
  16211. "description": "关联用户",
  16212. "type": "integer"
  16213. },
  16214. "serivcegroup": {
  16215. "description": "服务分组",
  16216. "type": "integer"
  16217. },
  16218. "signstatus": {
  16219. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  16220. "type": "integer"
  16221. },
  16222. "sublevelpath": {
  16223. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  16224. "type": "string"
  16225. },
  16226. "taaccounttype": {
  16227. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  16228. "type": "integer"
  16229. },
  16230. "thirdinamount": {
  16231. "description": "今日三方入金",
  16232. "type": "number"
  16233. },
  16234. "thirdoutamount": {
  16235. "description": "今日三方出金",
  16236. "type": "number"
  16237. },
  16238. "tradestatus": {
  16239. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16240. "type": "integer"
  16241. },
  16242. "tradestatuschangetime": {
  16243. "description": "激活时间",
  16244. "type": "string"
  16245. },
  16246. "transferamount": {
  16247. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  16248. "type": "number"
  16249. },
  16250. "usedmargin": {
  16251. "description": "占用保证金",
  16252. "type": "number"
  16253. },
  16254. "userid": {
  16255. "description": "用户ID",
  16256. "type": "integer"
  16257. }
  16258. }
  16259. },
  16260. "models.Tablecolumnconfig": {
  16261. "type": "object",
  16262. "required": [
  16263. "autoid"
  16264. ],
  16265. "properties": {
  16266. "aligntype": {
  16267. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  16268. "type": "integer"
  16269. },
  16270. "autoid": {
  16271. "description": "AutoID",
  16272. "type": "integer"
  16273. },
  16274. "columnfield": {
  16275. "description": "列字段",
  16276. "type": "string"
  16277. },
  16278. "columntitle": {
  16279. "description": "列Title",
  16280. "type": "string"
  16281. },
  16282. "columnwidth": {
  16283. "description": "列宽",
  16284. "type": "string"
  16285. },
  16286. "formatterstring": {
  16287. "description": "格式化字符",
  16288. "type": "string"
  16289. },
  16290. "formattertype": {
  16291. "description": "格式化类型",
  16292. "type": "string"
  16293. },
  16294. "groupname": {
  16295. "description": "表头分组名称",
  16296. "type": "string"
  16297. },
  16298. "isshow": {
  16299. "description": "是否显示 - 0:不显示 1:显示",
  16300. "type": "integer"
  16301. },
  16302. "needsummary": {
  16303. "description": "是否需要汇总 - 0:不需要 1:需要",
  16304. "type": "integer"
  16305. },
  16306. "orderindex": {
  16307. "description": "顺序",
  16308. "type": "integer"
  16309. },
  16310. "remark": {
  16311. "description": "备注",
  16312. "type": "string"
  16313. },
  16314. "summarytype": {
  16315. "description": "汇总类型 - 1:加总 2:最后一个",
  16316. "type": "integer"
  16317. },
  16318. "tablekey": {
  16319. "description": "列表Key",
  16320. "type": "string"
  16321. }
  16322. }
  16323. },
  16324. "models.Useraccount": {
  16325. "type": "object",
  16326. "required": [
  16327. "userid"
  16328. ],
  16329. "properties": {
  16330. "accountname": {
  16331. "description": "账户名称(机构名称)",
  16332. "type": "string"
  16333. },
  16334. "accountstatus": {
  16335. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16336. "type": "integer"
  16337. },
  16338. "auditremark": {
  16339. "description": "审核备注",
  16340. "type": "string"
  16341. },
  16342. "audittime": {
  16343. "description": "审核时间",
  16344. "type": "string"
  16345. },
  16346. "audituserid": {
  16347. "description": "审核人",
  16348. "type": "integer"
  16349. },
  16350. "broker": {
  16351. "description": "所属经纪人ID",
  16352. "type": "integer"
  16353. },
  16354. "canceltime": {
  16355. "description": "销户时间",
  16356. "type": "string"
  16357. },
  16358. "canceluserid": {
  16359. "description": "销户人",
  16360. "type": "integer"
  16361. },
  16362. "createtime": {
  16363. "description": "创建时间",
  16364. "type": "string"
  16365. },
  16366. "creatorid": {
  16367. "description": "创建人",
  16368. "type": "integer"
  16369. },
  16370. "hasauth": {
  16371. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  16372. "type": "integer"
  16373. },
  16374. "isanonymous": {
  16375. "description": "是否匿名下单 - 0:否 1:是",
  16376. "type": "integer"
  16377. },
  16378. "maxinvestornum": {
  16379. "description": "最大用户数(经纪会员下投资者个数)",
  16380. "type": "integer"
  16381. },
  16382. "memberuserid": {
  16383. "description": "所属会员ID",
  16384. "type": "integer"
  16385. },
  16386. "modifierid": {
  16387. "description": "修改人",
  16388. "type": "integer"
  16389. },
  16390. "modifyremark": {
  16391. "description": "变更备注",
  16392. "type": "string"
  16393. },
  16394. "modifystatus": {
  16395. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  16396. "type": "integer"
  16397. },
  16398. "modifytime": {
  16399. "description": "修改时间",
  16400. "type": "string"
  16401. },
  16402. "parentuserid": {
  16403. "description": "所属机构ID",
  16404. "type": "integer"
  16405. },
  16406. "reckonaccountid": {
  16407. "description": "默认结算资金账号ID(机构分润使用) 作废",
  16408. "type": "integer"
  16409. },
  16410. "refercount": {
  16411. "description": "推荐总人数",
  16412. "type": "integer"
  16413. },
  16414. "refereeuserid": {
  16415. "description": "推荐人ID",
  16416. "type": "integer"
  16417. },
  16418. "refernum": {
  16419. "description": "推荐码",
  16420. "type": "string"
  16421. },
  16422. "subarealevelpath": {
  16423. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  16424. "type": "string"
  16425. },
  16426. "userid": {
  16427. "description": "用户ID",
  16428. "type": "integer"
  16429. },
  16430. "usertype": {
  16431. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  16432. "type": "integer"
  16433. }
  16434. }
  16435. },
  16436. "models.Userfavoritegoods": {
  16437. "type": "object",
  16438. "required": [
  16439. "goodsid"
  16440. ],
  16441. "properties": {
  16442. "goodsid": {
  16443. "description": "商品ID",
  16444. "type": "integer"
  16445. }
  16446. }
  16447. },
  16448. "models.Userinfo": {
  16449. "type": "object",
  16450. "required": [
  16451. "userid"
  16452. ],
  16453. "properties": {
  16454. "address": {
  16455. "description": "地址",
  16456. "type": "string"
  16457. },
  16458. "attachment1": {
  16459. "description": "附件1",
  16460. "type": "string"
  16461. },
  16462. "attachment2": {
  16463. "description": "附件2",
  16464. "type": "string"
  16465. },
  16466. "bankaccount": {
  16467. "description": "银行帐号 (加密存储)",
  16468. "type": "string"
  16469. },
  16470. "bankaccountname": {
  16471. "description": "收款人名称",
  16472. "type": "string"
  16473. },
  16474. "bankcardfrontphotourl": {
  16475. "description": "银行卡正面照地址",
  16476. "type": "string"
  16477. },
  16478. "bankid": {
  16479. "description": "银行编码",
  16480. "type": "string"
  16481. },
  16482. "bankname": {
  16483. "description": "银行名称",
  16484. "type": "string"
  16485. },
  16486. "biznature": {
  16487. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16488. "type": "integer"
  16489. },
  16490. "bizscope": {
  16491. "description": "企业经营范围(企业)",
  16492. "type": "string"
  16493. },
  16494. "cardbackphotourl": {
  16495. "description": "证件背面图片地址",
  16496. "type": "string"
  16497. },
  16498. "cardfrontphotourl": {
  16499. "description": "证件正面图片地址",
  16500. "type": "string"
  16501. },
  16502. "cardnum": {
  16503. "description": "证件号码(加密存储)",
  16504. "type": "string"
  16505. },
  16506. "cardtypeid": {
  16507. "description": "证件类型ID",
  16508. "type": "integer"
  16509. },
  16510. "cityid": {
  16511. "description": "市",
  16512. "type": "integer"
  16513. },
  16514. "company": {
  16515. "description": "公司(个人)",
  16516. "type": "string"
  16517. },
  16518. "contactname": {
  16519. "description": "联系人",
  16520. "type": "string"
  16521. },
  16522. "countryid": {
  16523. "description": "国家",
  16524. "type": "integer"
  16525. },
  16526. "createtime": {
  16527. "description": "创建时间",
  16528. "type": "string"
  16529. },
  16530. "creatorid": {
  16531. "description": "创建人",
  16532. "type": "integer"
  16533. },
  16534. "customername": {
  16535. "description": "客户名称(企业名称)",
  16536. "type": "string"
  16537. },
  16538. "districtid": {
  16539. "description": "地区",
  16540. "type": "integer"
  16541. },
  16542. "email": {
  16543. "description": "邮件(加密存储)",
  16544. "type": "string"
  16545. },
  16546. "fax": {
  16547. "description": "传真(加密存储)",
  16548. "type": "string"
  16549. },
  16550. "halfbodyphotourl": {
  16551. "description": "半身照地址",
  16552. "type": "string"
  16553. },
  16554. "hasencrypt": {
  16555. "description": "数据是否已加密 - 0:未加密 1:已加密",
  16556. "type": "integer"
  16557. },
  16558. "headurl": {
  16559. "description": "头像地址",
  16560. "type": "string"
  16561. },
  16562. "legalcardbackphotourl": {
  16563. "description": "法人身份证背面照地址",
  16564. "type": "string"
  16565. },
  16566. "legalcardfrontphotourl": {
  16567. "description": "法人身份证正面照地址",
  16568. "type": "string"
  16569. },
  16570. "legalpersonname": {
  16571. "description": "法人姓名(企业)",
  16572. "type": "string"
  16573. },
  16574. "mobile": {
  16575. "description": "手机号码(加密存储)",
  16576. "type": "string"
  16577. },
  16578. "mobile2": {
  16579. "description": "手机号码[明文-尚志]",
  16580. "type": "string"
  16581. },
  16582. "modifierid": {
  16583. "description": "修改人",
  16584. "type": "integer"
  16585. },
  16586. "modifiertime": {
  16587. "description": "修改时间",
  16588. "type": "string"
  16589. },
  16590. "needinvoice": {
  16591. "description": "是否需要发票 - 0:不需要 1:需要",
  16592. "type": "integer"
  16593. },
  16594. "nickname": {
  16595. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  16596. "type": "string"
  16597. },
  16598. "openmode": {
  16599. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  16600. "type": "integer"
  16601. },
  16602. "otherurl": {
  16603. "description": "其它图片地址[使用分号分隔]",
  16604. "type": "string"
  16605. },
  16606. "postalcode": {
  16607. "description": "邮政编码",
  16608. "type": "string"
  16609. },
  16610. "provinceid": {
  16611. "description": "省",
  16612. "type": "integer"
  16613. },
  16614. "qq": {
  16615. "description": "QQ(加密存储",
  16616. "type": "string"
  16617. },
  16618. "remark": {
  16619. "description": "备注",
  16620. "type": "string"
  16621. },
  16622. "sex": {
  16623. "description": "用户性别 0: 女 1: 男",
  16624. "type": "integer"
  16625. },
  16626. "signpdfurl": {
  16627. "description": "签约pdf文件",
  16628. "type": "string"
  16629. },
  16630. "telphone": {
  16631. "description": "联系电话(加密存储)",
  16632. "type": "string"
  16633. },
  16634. "userid": {
  16635. "description": "用户ID",
  16636. "type": "integer"
  16637. },
  16638. "userinfotype": {
  16639. "description": "用户信息类型 - 1:个人 2:企业",
  16640. "type": "integer"
  16641. },
  16642. "userstatus": {
  16643. "description": "用户状态 - 1:正常 2:注销",
  16644. "type": "integer"
  16645. },
  16646. "usertype": {
  16647. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  16648. "type": "integer"
  16649. },
  16650. "wechat": {
  16651. "description": "微信(加密存储)",
  16652. "type": "string"
  16653. },
  16654. "wskhinfo": {
  16655. "description": "开户申请信息(JSON)",
  16656. "type": "string"
  16657. }
  16658. }
  16659. },
  16660. "models.WRCategoryTree": {
  16661. "type": "object",
  16662. "required": [
  16663. "categoryid"
  16664. ],
  16665. "properties": {
  16666. "areauserid": {
  16667. "description": "所属机构",
  16668. "type": "integer"
  16669. },
  16670. "categorydesc": {
  16671. "description": "类别描述",
  16672. "type": "string"
  16673. },
  16674. "categoryid": {
  16675. "description": "类别ID(SEQ_WRCATEGORY)",
  16676. "type": "integer"
  16677. },
  16678. "categoryname": {
  16679. "description": "类别名称",
  16680. "type": "string"
  16681. },
  16682. "iconurl": {
  16683. "description": "图标地址",
  16684. "type": "string"
  16685. },
  16686. "orderindex": {
  16687. "description": "顺序",
  16688. "type": "integer"
  16689. },
  16690. "parentcategoryid": {
  16691. "description": "父类别ID",
  16692. "type": "integer"
  16693. },
  16694. "subcategory": {
  16695. "description": "子分类",
  16696. "type": "array",
  16697. "items": {
  16698. "$ref": "#/definitions/models.WRCategoryTree"
  16699. }
  16700. }
  16701. }
  16702. },
  16703. "models.WRSConverTDetail": {
  16704. "type": "object",
  16705. "properties": {
  16706. "convertratio": {
  16707. "description": "套保系数",
  16708. "type": "number"
  16709. },
  16710. "deliverygoodsid": {
  16711. "description": "现货品种ID",
  16712. "type": "integer"
  16713. },
  16714. "middlegoodscode": {
  16715. "description": "套保品种代码",
  16716. "type": "string"
  16717. },
  16718. "middlegoodsid": {
  16719. "description": "套保品种ID",
  16720. "type": "integer"
  16721. },
  16722. "middlegoodsname": {
  16723. "description": "套保品种名称",
  16724. "type": "string"
  16725. },
  16726. "modifytime": {
  16727. "description": "修改时间",
  16728. "type": "string"
  16729. },
  16730. "wrstandardid": {
  16731. "description": "现货商品ID",
  16732. "type": "integer"
  16733. }
  16734. }
  16735. },
  16736. "models.WRStandardInfo": {
  16737. "type": "object",
  16738. "required": [
  16739. "wrstandardid"
  16740. ],
  16741. "properties": {
  16742. "createtime": {
  16743. "description": "创建时间",
  16744. "type": "string"
  16745. },
  16746. "creatorid": {
  16747. "description": "创建人",
  16748. "type": "integer"
  16749. },
  16750. "deliverygoodsid": {
  16751. "description": "品种ID",
  16752. "type": "integer"
  16753. },
  16754. "deliverygoodsname": {
  16755. "description": "交割商品名称",
  16756. "type": "string"
  16757. },
  16758. "factoryitemjson": {
  16759. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  16760. "type": "string"
  16761. },
  16762. "isvalid": {
  16763. "description": "是否有效 - 0:无效 1:有效",
  16764. "type": "integer"
  16765. },
  16766. "minivalue": {
  16767. "description": "最小变动值",
  16768. "type": "integer"
  16769. },
  16770. "minivaluedp": {
  16771. "description": "最小变动值小数位",
  16772. "type": "integer"
  16773. },
  16774. "realminivalue": {
  16775. "description": "实际最小变动值",
  16776. "type": "integer"
  16777. },
  16778. "realminivaluedp": {
  16779. "description": "实际最小变动值小数位",
  16780. "type": "integer"
  16781. },
  16782. "unitid": {
  16783. "description": "单位ID",
  16784. "type": "integer"
  16785. },
  16786. "unitname": {
  16787. "description": "单位",
  16788. "type": "string"
  16789. },
  16790. "updatetime": {
  16791. "description": "更新时间",
  16792. "type": "string"
  16793. },
  16794. "updatorid": {
  16795. "description": "更新人",
  16796. "type": "integer"
  16797. },
  16798. "wrsstatus": {
  16799. "description": "状态 - 作废 - 0:未激活 1:正常",
  16800. "type": "integer"
  16801. },
  16802. "wrstandardcode": {
  16803. "description": "仓单标准代码",
  16804. "type": "string"
  16805. },
  16806. "wrstandardid": {
  16807. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  16808. "type": "integer"
  16809. },
  16810. "wrstandardname": {
  16811. "description": "仓单标准名称",
  16812. "type": "string"
  16813. }
  16814. }
  16815. },
  16816. "models.Warehouseinfo": {
  16817. "type": "object",
  16818. "required": [
  16819. "autoid",
  16820. "warehousecode"
  16821. ],
  16822. "properties": {
  16823. "address": {
  16824. "description": "详细地址",
  16825. "type": "string"
  16826. },
  16827. "areauserid": {
  16828. "description": "所属机构",
  16829. "type": "integer"
  16830. },
  16831. "autoid": {
  16832. "description": "自增ID",
  16833. "type": "integer"
  16834. },
  16835. "cityid": {
  16836. "description": "市",
  16837. "type": "integer"
  16838. },
  16839. "contactname": {
  16840. "description": "联系人",
  16841. "type": "string"
  16842. },
  16843. "contactnum": {
  16844. "description": "联系电话",
  16845. "type": "string"
  16846. },
  16847. "countryid": {
  16848. "description": "国家",
  16849. "type": "integer"
  16850. },
  16851. "createtime": {
  16852. "description": "创建时间",
  16853. "type": "string"
  16854. },
  16855. "districtid": {
  16856. "description": "区",
  16857. "type": "integer"
  16858. },
  16859. "hasvideo": {
  16860. "description": "是否有视频 - 0:无 1:有",
  16861. "type": "integer"
  16862. },
  16863. "provinceid": {
  16864. "description": "省",
  16865. "type": "integer"
  16866. },
  16867. "remark": {
  16868. "description": "审核备注",
  16869. "type": "string"
  16870. },
  16871. "videourl": {
  16872. "description": "视频地址",
  16873. "type": "string"
  16874. },
  16875. "warehousecode": {
  16876. "description": "仓库代码",
  16877. "type": "string"
  16878. },
  16879. "warehousename": {
  16880. "description": "仓库名称",
  16881. "type": "string"
  16882. },
  16883. "warehousestatus": {
  16884. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16885. "type": "integer"
  16886. },
  16887. "warehousetype": {
  16888. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16889. "type": "integer"
  16890. }
  16891. }
  16892. },
  16893. "order.QueryHisTradeDetailRsp": {
  16894. "type": "object",
  16895. "required": [
  16896. "accountid",
  16897. "buyorsell",
  16898. "goodsid",
  16899. "histradedate",
  16900. "marketid",
  16901. "memberuserid",
  16902. "orderid",
  16903. "tradeamount",
  16904. "tradedate",
  16905. "tradeid",
  16906. "tradeprice",
  16907. "tradeqty",
  16908. "tradetime"
  16909. ],
  16910. "properties": {
  16911. "accountid": {
  16912. "description": "账户ID[报价币种]",
  16913. "type": "integer"
  16914. },
  16915. "buildtype": {
  16916. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16917. "type": "integer"
  16918. },
  16919. "buyorsell": {
  16920. "description": "方向 - 0:买 1:卖",
  16921. "type": "integer"
  16922. },
  16923. "charge": {
  16924. "description": "手续费",
  16925. "type": "number"
  16926. },
  16927. "closecharge": {
  16928. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16929. "type": "number"
  16930. },
  16931. "closeexchagechargevalue": {
  16932. "description": "平仓交易所手续费设置值",
  16933. "type": "number"
  16934. },
  16935. "closefeealgorithm": {
  16936. "description": "平仓手续费收取方式 1:比率 2:固定",
  16937. "type": "integer"
  16938. },
  16939. "closememberchargevalue": {
  16940. "description": "平仓会员手续费设置值",
  16941. "type": "number"
  16942. },
  16943. "closepl": {
  16944. "description": "平仓盈亏",
  16945. "type": "number"
  16946. },
  16947. "closepl2": {
  16948. "description": "平仓盈亏[逐笔]",
  16949. "type": "number"
  16950. },
  16951. "closeqty": {
  16952. "description": "平仓数量(先建后平操作 需要记录)",
  16953. "type": "integer"
  16954. },
  16955. "creditamount": {
  16956. "description": "授信金额",
  16957. "type": "number"
  16958. },
  16959. "gcaccountid": {
  16960. "description": "账户ID[合约币种]",
  16961. "type": "integer"
  16962. },
  16963. "goodscode": {
  16964. "description": "商品代码",
  16965. "type": "string"
  16966. },
  16967. "goodsid": {
  16968. "description": "商品ID",
  16969. "type": "integer"
  16970. },
  16971. "goodsname": {
  16972. "description": "商品名称",
  16973. "type": "string"
  16974. },
  16975. "histradedate": {
  16976. "description": "历史交易日",
  16977. "type": "string"
  16978. },
  16979. "intclosepl": {
  16980. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16981. "type": "integer"
  16982. },
  16983. "isconfirmexercise": {
  16984. "description": "是否确认行权- 0:否 1:是",
  16985. "type": "integer"
  16986. },
  16987. "ismain": {
  16988. "description": "是否主单 - 0:不是 1:是",
  16989. "type": "integer"
  16990. },
  16991. "ispreexercise": {
  16992. "description": "是否预申报- 0:否 1:是",
  16993. "type": "integer"
  16994. },
  16995. "isreckoned": {
  16996. "description": "是否结算 - 0:未结算 1:已结算",
  16997. "type": "integer"
  16998. },
  16999. "isvaliddata": {
  17000. "description": "是否有效 - 0:无效 1:有效",
  17001. "type": "integer"
  17002. },
  17003. "listingselecttype": {
  17004. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17005. "type": "integer"
  17006. },
  17007. "marketid": {
  17008. "description": "市场ID",
  17009. "type": "integer"
  17010. },
  17011. "marketname": {
  17012. "description": "市场名称",
  17013. "type": "string"
  17014. },
  17015. "matchaccountid": {
  17016. "description": "对手账号id",
  17017. "type": "integer"
  17018. },
  17019. "memberuserid": {
  17020. "description": "会员id 个人投资者 需要填写",
  17021. "type": "integer"
  17022. },
  17023. "opencharge": {
  17024. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17025. "type": "number"
  17026. },
  17027. "openexchagechargevalue": {
  17028. "description": "建仓交易所手续费设置值",
  17029. "type": "number"
  17030. },
  17031. "openfeealgorithm": {
  17032. "description": "建仓手续费收取方式 1:比率 2:固定",
  17033. "type": "integer"
  17034. },
  17035. "openmemberchargevalue": {
  17036. "description": "建仓会员手续费设置值",
  17037. "type": "number"
  17038. },
  17039. "openqty": {
  17040. "description": "开仓数量(先建后平操作 需要记录)",
  17041. "type": "integer"
  17042. },
  17043. "optiontype": {
  17044. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17045. "type": "integer"
  17046. },
  17047. "orderid": {
  17048. "description": "委托单号",
  17049. "type": "string"
  17050. },
  17051. "performanceplanid": {
  17052. "description": "履约计划ID[期权]",
  17053. "type": "integer"
  17054. },
  17055. "performancestatus": {
  17056. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  17057. "type": "integer"
  17058. },
  17059. "preexerciseprice": {
  17060. "description": "预申报价格",
  17061. "type": "number"
  17062. },
  17063. "premium": {
  17064. "description": "权利金 - [持仓单的权利金]",
  17065. "type": "number"
  17066. },
  17067. "relatedouttradeid": {
  17068. "description": "关联外部成交单ID",
  17069. "type": "integer"
  17070. },
  17071. "status": {
  17072. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  17073. "type": "integer"
  17074. },
  17075. "tradeamount": {
  17076. "description": "成交金额[账户币种,用于所有权]",
  17077. "type": "number"
  17078. },
  17079. "tradedate": {
  17080. "description": "交易日(yyyyMMdd)",
  17081. "type": "string"
  17082. },
  17083. "tradeid": {
  17084. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17085. "type": "string"
  17086. },
  17087. "trademode": {
  17088. "description": "交易模式",
  17089. "type": "integer"
  17090. },
  17091. "tradeprice": {
  17092. "description": "成交价格",
  17093. "type": "number"
  17094. },
  17095. "tradeproperty": {
  17096. "description": "交易属性",
  17097. "type": "integer"
  17098. },
  17099. "tradeqty": {
  17100. "description": "成交数量",
  17101. "type": "integer"
  17102. },
  17103. "tradetime": {
  17104. "description": "成交时间",
  17105. "type": "string"
  17106. },
  17107. "tradetype": {
  17108. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  17109. "type": "integer"
  17110. }
  17111. }
  17112. },
  17113. "order.QueryHisTradeOrderDetailRsp": {
  17114. "type": "object",
  17115. "required": [
  17116. "accountid",
  17117. "buildtype",
  17118. "buyorsell",
  17119. "goodsid",
  17120. "histradedate",
  17121. "marketid",
  17122. "memberuserid",
  17123. "operatetype",
  17124. "orderid",
  17125. "orderqty",
  17126. "ordertime",
  17127. "pricemode",
  17128. "tradedate",
  17129. "validtype"
  17130. ],
  17131. "properties": {
  17132. "accountid": {
  17133. "description": "账户ID[报价币种]",
  17134. "type": "integer"
  17135. },
  17136. "buildtype": {
  17137. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17138. "type": "integer"
  17139. },
  17140. "buyorsell": {
  17141. "description": "买卖 - 0:买 1:卖",
  17142. "type": "integer"
  17143. },
  17144. "cancelorderid": {
  17145. "description": "撤单单号(撤单时填写)",
  17146. "type": "string"
  17147. },
  17148. "cancelqty": {
  17149. "description": "撤单数量",
  17150. "type": "integer"
  17151. },
  17152. "clientordertime": {
  17153. "description": "客户端委托时间",
  17154. "type": "string"
  17155. },
  17156. "clientticket": {
  17157. "description": "客户端流水号",
  17158. "type": "string"
  17159. },
  17160. "clienttype": {
  17161. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17162. "type": "integer"
  17163. },
  17164. "closeexchagechargevalue": {
  17165. "description": "平仓交易所手续费设置值",
  17166. "type": "number"
  17167. },
  17168. "closefeealgorithm": {
  17169. "description": "平仓手续费收取方式 1:比率 2:固定",
  17170. "type": "integer"
  17171. },
  17172. "closefreezecharge": {
  17173. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17174. "type": "number"
  17175. },
  17176. "closememberchargevalue": {
  17177. "description": "平仓会员手续费设置值",
  17178. "type": "number"
  17179. },
  17180. "closeqty": {
  17181. "description": "平仓数量(先建后平操作 需要记录)",
  17182. "type": "integer"
  17183. },
  17184. "closetradeqty": {
  17185. "description": "平仓成交数量(先建后平操作,需要记录)",
  17186. "type": "integer"
  17187. },
  17188. "closeunfreezecharge": {
  17189. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17190. "type": "number"
  17191. },
  17192. "delistingtype": {
  17193. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17194. "type": "integer"
  17195. },
  17196. "freezecharge": {
  17197. "description": "冻结手续费",
  17198. "type": "number"
  17199. },
  17200. "freezemargin": {
  17201. "description": "冻结保证金(冻结交易金额)",
  17202. "type": "number"
  17203. },
  17204. "gcaccountid": {
  17205. "description": "账户ID[合约币种]",
  17206. "type": "integer"
  17207. },
  17208. "goodscode": {
  17209. "description": "商品代码",
  17210. "type": "string"
  17211. },
  17212. "goodsid": {
  17213. "description": "商品ID",
  17214. "type": "integer"
  17215. },
  17216. "goodsname": {
  17217. "description": "商品名称",
  17218. "type": "string"
  17219. },
  17220. "histradedate": {
  17221. "description": "历史交易日",
  17222. "type": "string"
  17223. },
  17224. "isconfirmexercise": {
  17225. "description": "是否确认行权- 0:否 1:是",
  17226. "type": "integer"
  17227. },
  17228. "ispreexercise": {
  17229. "description": "是否预申报- 0:否 1:是",
  17230. "type": "integer"
  17231. },
  17232. "isvaliddata": {
  17233. "description": "是否有效 - 0:无效 1:有效",
  17234. "type": "integer"
  17235. },
  17236. "listingselecttype": {
  17237. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17238. "type": "integer"
  17239. },
  17240. "marginalgorithm": {
  17241. "description": "保证金收取方式 1:比率 2:固定",
  17242. "type": "integer"
  17243. },
  17244. "marginvalue": {
  17245. "description": "即市保证金设置值",
  17246. "type": "number"
  17247. },
  17248. "marketid": {
  17249. "description": "市场ID",
  17250. "type": "integer"
  17251. },
  17252. "marketmaxsub": {
  17253. "description": "市价最大偏移范围",
  17254. "type": "number"
  17255. },
  17256. "marketname": {
  17257. "description": "市场名称",
  17258. "type": "string"
  17259. },
  17260. "memberuserid": {
  17261. "description": "所属会员UserID",
  17262. "type": "integer"
  17263. },
  17264. "openexchagechargevalue": {
  17265. "description": "建仓交易所手续费设置值",
  17266. "type": "number"
  17267. },
  17268. "openfeealgorithm": {
  17269. "description": "建仓手续费收取方式 1:比率 2:固定",
  17270. "type": "integer"
  17271. },
  17272. "openfreezecharge": {
  17273. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17274. "type": "number"
  17275. },
  17276. "openmemberchargevalue": {
  17277. "description": "建仓会员手续费设置值",
  17278. "type": "number"
  17279. },
  17280. "openqty": {
  17281. "description": "开仓数量(先建后平操作,需要记录)",
  17282. "type": "integer"
  17283. },
  17284. "opentradeqty": {
  17285. "description": "开仓成交数量(先建后平操作,需要记录)",
  17286. "type": "integer"
  17287. },
  17288. "openunfreezecharge": {
  17289. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17290. "type": "number"
  17291. },
  17292. "operatetype": {
  17293. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17294. "type": "integer"
  17295. },
  17296. "operatorid": {
  17297. "description": "登录账号(LoginID)",
  17298. "type": "integer"
  17299. },
  17300. "optiontype": {
  17301. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17302. "type": "integer"
  17303. },
  17304. "orderid": {
  17305. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17306. "type": "string"
  17307. },
  17308. "orderprice": {
  17309. "description": "委托价格",
  17310. "type": "number"
  17311. },
  17312. "orderqty": {
  17313. "description": "委托数量",
  17314. "type": "integer"
  17315. },
  17316. "ordersrc": {
  17317. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17318. "type": "integer"
  17319. },
  17320. "orderstatus": {
  17321. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17322. "type": "integer"
  17323. },
  17324. "ordertime": {
  17325. "description": "委托时间",
  17326. "type": "string"
  17327. },
  17328. "preexerciseprice": {
  17329. "description": "预申报价格",
  17330. "type": "number"
  17331. },
  17332. "premium": {
  17333. "description": "权利金",
  17334. "type": "number"
  17335. },
  17336. "preorderid": {
  17337. "description": "关联预埋单号(止盈止损单时填写)",
  17338. "type": "string"
  17339. },
  17340. "pricemode": {
  17341. "description": "取价方式 - 1:市价 2: 限价",
  17342. "type": "integer"
  17343. },
  17344. "quoteid": {
  17345. "description": "报价单ID",
  17346. "type": "integer"
  17347. },
  17348. "relatedid": {
  17349. "description": "关联单号(交割单)",
  17350. "type": "string"
  17351. },
  17352. "retcode": {
  17353. "description": "错误代码",
  17354. "type": "integer"
  17355. },
  17356. "sessionid": {
  17357. "description": "会话ID",
  17358. "type": "integer"
  17359. },
  17360. "tradedate": {
  17361. "description": "交易日(yyyyMMdd)",
  17362. "type": "string"
  17363. },
  17364. "trademode": {
  17365. "description": "交易模式",
  17366. "type": "integer"
  17367. },
  17368. "tradeproperty": {
  17369. "description": "交易属性",
  17370. "type": "integer"
  17371. },
  17372. "tradeqty": {
  17373. "description": "成交数量",
  17374. "type": "integer"
  17375. },
  17376. "unfreezecharge": {
  17377. "description": "解冻手续费",
  17378. "type": "number"
  17379. },
  17380. "unfreezemargin": {
  17381. "description": "解冻保证金",
  17382. "type": "number"
  17383. },
  17384. "updatetime": {
  17385. "description": "更新时间",
  17386. "type": "string"
  17387. },
  17388. "uuid": {
  17389. "description": "发起端唯一id",
  17390. "type": "string"
  17391. },
  17392. "validtime": {
  17393. "description": "有效期限",
  17394. "type": "string"
  17395. },
  17396. "validtype": {
  17397. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  17398. "type": "integer"
  17399. },
  17400. "volumetype": {
  17401. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  17402. "type": "integer"
  17403. }
  17404. }
  17405. },
  17406. "order.QueryTradeDetailRsp": {
  17407. "type": "object",
  17408. "required": [
  17409. "accountid",
  17410. "buyorsell",
  17411. "goodsid",
  17412. "marketid",
  17413. "memberuserid",
  17414. "orderid",
  17415. "tradeamount",
  17416. "tradedate",
  17417. "tradeid",
  17418. "tradeprice",
  17419. "tradeqty",
  17420. "tradetime"
  17421. ],
  17422. "properties": {
  17423. "accountid": {
  17424. "description": "账户ID[报价币种]",
  17425. "type": "integer"
  17426. },
  17427. "buildtype": {
  17428. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  17429. "type": "integer"
  17430. },
  17431. "buyorsell": {
  17432. "description": "方向 - 0:买 1:卖",
  17433. "type": "integer"
  17434. },
  17435. "charge": {
  17436. "description": "手续费",
  17437. "type": "number"
  17438. },
  17439. "closecharge": {
  17440. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17441. "type": "number"
  17442. },
  17443. "closeexchagechargevalue": {
  17444. "description": "平仓交易所手续费设置值",
  17445. "type": "number"
  17446. },
  17447. "closefeealgorithm": {
  17448. "description": "平仓手续费收取方式 1:比率 2:固定",
  17449. "type": "integer"
  17450. },
  17451. "closememberchargevalue": {
  17452. "description": "平仓会员手续费设置值",
  17453. "type": "number"
  17454. },
  17455. "closepl": {
  17456. "description": "平仓盈亏",
  17457. "type": "number"
  17458. },
  17459. "closepl2": {
  17460. "description": "平仓盈亏[逐笔]",
  17461. "type": "number"
  17462. },
  17463. "closeqty": {
  17464. "description": "平仓数量(先建后平操作 需要记录)",
  17465. "type": "integer"
  17466. },
  17467. "creditamount": {
  17468. "description": "授信金额",
  17469. "type": "number"
  17470. },
  17471. "gcaccountid": {
  17472. "description": "账户ID[合约币种]",
  17473. "type": "integer"
  17474. },
  17475. "goodscode": {
  17476. "description": "商品代码",
  17477. "type": "string"
  17478. },
  17479. "goodsid": {
  17480. "description": "商品ID",
  17481. "type": "integer"
  17482. },
  17483. "goodsname": {
  17484. "description": "商品名称",
  17485. "type": "string"
  17486. },
  17487. "intclosepl": {
  17488. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  17489. "type": "integer"
  17490. },
  17491. "isconfirmexercise": {
  17492. "description": "是否确认行权- 0:否 1:是",
  17493. "type": "integer"
  17494. },
  17495. "ismain": {
  17496. "description": "是否主单 - 0:不是 1:是",
  17497. "type": "integer"
  17498. },
  17499. "ispreexercise": {
  17500. "description": "是否预申报- 0:否 1:是",
  17501. "type": "integer"
  17502. },
  17503. "isreckoned": {
  17504. "description": "是否结算 - 0:未结算 1:已结算",
  17505. "type": "integer"
  17506. },
  17507. "listingselecttype": {
  17508. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17509. "type": "integer"
  17510. },
  17511. "marketid": {
  17512. "description": "市场ID",
  17513. "type": "integer"
  17514. },
  17515. "marketname": {
  17516. "description": "市场名称",
  17517. "type": "string"
  17518. },
  17519. "matchaccountid": {
  17520. "description": "对手账号id",
  17521. "type": "integer"
  17522. },
  17523. "memberuserid": {
  17524. "description": "会员id 个人投资者 需要填写",
  17525. "type": "integer"
  17526. },
  17527. "opencharge": {
  17528. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17529. "type": "number"
  17530. },
  17531. "openexchagechargevalue": {
  17532. "description": "建仓交易所手续费设置值",
  17533. "type": "number"
  17534. },
  17535. "openfeealgorithm": {
  17536. "description": "建仓手续费收取方式 1:比率 2:固定",
  17537. "type": "integer"
  17538. },
  17539. "openmemberchargevalue": {
  17540. "description": "建仓会员手续费设置值",
  17541. "type": "number"
  17542. },
  17543. "openqty": {
  17544. "description": "开仓数量(先建后平操作 需要记录)",
  17545. "type": "integer"
  17546. },
  17547. "optiontype": {
  17548. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17549. "type": "integer"
  17550. },
  17551. "orderid": {
  17552. "description": "委托单号",
  17553. "type": "string"
  17554. },
  17555. "performanceplanid": {
  17556. "description": "履约计划ID[期权]",
  17557. "type": "integer"
  17558. },
  17559. "performancestatus": {
  17560. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  17561. "type": "integer"
  17562. },
  17563. "preexerciseprice": {
  17564. "description": "预申报价格",
  17565. "type": "number"
  17566. },
  17567. "premium": {
  17568. "description": "权利金 - [持仓单的权利金]",
  17569. "type": "number"
  17570. },
  17571. "relatedouttradeid": {
  17572. "description": "关联外部成交单ID",
  17573. "type": "integer"
  17574. },
  17575. "status": {
  17576. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  17577. "type": "integer"
  17578. },
  17579. "tradeamount": {
  17580. "description": "成交金额[账户币种,用于所有权]",
  17581. "type": "number"
  17582. },
  17583. "tradedate": {
  17584. "description": "交易日(yyyyMMdd)",
  17585. "type": "string"
  17586. },
  17587. "tradeid": {
  17588. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17589. "type": "string"
  17590. },
  17591. "trademode": {
  17592. "description": "交易模式",
  17593. "type": "integer"
  17594. },
  17595. "tradeprice": {
  17596. "description": "成交价格",
  17597. "type": "number"
  17598. },
  17599. "tradeproperty": {
  17600. "description": "交易属性",
  17601. "type": "integer"
  17602. },
  17603. "tradeqty": {
  17604. "description": "成交数量",
  17605. "type": "integer"
  17606. },
  17607. "tradetime": {
  17608. "description": "成交时间",
  17609. "type": "string"
  17610. },
  17611. "tradetype": {
  17612. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  17613. "type": "integer"
  17614. }
  17615. }
  17616. },
  17617. "order.QueryTradeOrderDetailRsp": {
  17618. "type": "object",
  17619. "required": [
  17620. "accountid",
  17621. "buildtype",
  17622. "buyorsell",
  17623. "goodsid",
  17624. "marketid",
  17625. "operatetype",
  17626. "orderqty",
  17627. "ordertime",
  17628. "pricemode",
  17629. "tradedate",
  17630. "validtype"
  17631. ],
  17632. "properties": {
  17633. "accountid": {
  17634. "description": "账户ID[报价币种]",
  17635. "type": "integer"
  17636. },
  17637. "buildtype": {
  17638. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17639. "type": "integer"
  17640. },
  17641. "buyorsell": {
  17642. "description": "买卖 - 0:买 1:卖",
  17643. "type": "integer"
  17644. },
  17645. "cancelorderid": {
  17646. "description": "撤单单号(撤单时填写)",
  17647. "type": "string"
  17648. },
  17649. "cancelqty": {
  17650. "description": "撤单数量",
  17651. "type": "integer"
  17652. },
  17653. "clienttype": {
  17654. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17655. "type": "integer"
  17656. },
  17657. "closefreezecharge": {
  17658. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17659. "type": "number"
  17660. },
  17661. "closeqty": {
  17662. "description": "平仓数量(先建后平操作 需要记录)",
  17663. "type": "integer"
  17664. },
  17665. "closetradeqty": {
  17666. "description": "平仓成交数量(先建后平操作,需要记录)",
  17667. "type": "integer"
  17668. },
  17669. "closeunfreezecharge": {
  17670. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17671. "type": "number"
  17672. },
  17673. "delistingtype": {
  17674. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17675. "type": "integer"
  17676. },
  17677. "enableqty": {
  17678. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  17679. "type": "integer"
  17680. },
  17681. "freezecharge": {
  17682. "description": "冻结手续费",
  17683. "type": "number"
  17684. },
  17685. "freezemargin": {
  17686. "description": "冻结保证金(冻结交易金额)",
  17687. "type": "number"
  17688. },
  17689. "goodscode": {
  17690. "description": "商品代码",
  17691. "type": "string"
  17692. },
  17693. "goodsid": {
  17694. "description": "商品ID",
  17695. "type": "integer"
  17696. },
  17697. "goodsname": {
  17698. "description": "商品名称",
  17699. "type": "string"
  17700. },
  17701. "listingselecttype": {
  17702. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17703. "type": "integer"
  17704. },
  17705. "marketid": {
  17706. "description": "市场ID",
  17707. "type": "integer"
  17708. },
  17709. "marketname": {
  17710. "description": "市场名称",
  17711. "type": "string"
  17712. },
  17713. "openfreezecharge": {
  17714. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17715. "type": "number"
  17716. },
  17717. "openqty": {
  17718. "description": "开仓数量(先建后平操作,需要记录)",
  17719. "type": "integer"
  17720. },
  17721. "opentradeqty": {
  17722. "description": "开仓成交数量(先建后平操作,需要记录)",
  17723. "type": "integer"
  17724. },
  17725. "openunfreezecharge": {
  17726. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17727. "type": "number"
  17728. },
  17729. "operatetype": {
  17730. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17731. "type": "integer"
  17732. },
  17733. "operatorid": {
  17734. "description": "登录账号(LoginID)",
  17735. "type": "integer"
  17736. },
  17737. "orderid": {
  17738. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17739. "type": "string"
  17740. },
  17741. "orderprice": {
  17742. "description": "委托价格",
  17743. "type": "number"
  17744. },
  17745. "orderqty": {
  17746. "description": "委托数量",
  17747. "type": "integer"
  17748. },
  17749. "ordersrc": {
  17750. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17751. "type": "integer"
  17752. },
  17753. "orderstatus": {
  17754. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17755. "type": "integer"
  17756. },
  17757. "ordertime": {
  17758. "description": "委托时间",
  17759. "type": "string"
  17760. },
  17761. "preorderid": {
  17762. "description": "关联预埋单号(止盈止损单时填写)",
  17763. "type": "string"
  17764. },
  17765. "pricemode": {
  17766. "description": "取价方式 - 1:市价 2: 限价",
  17767. "type": "integer"
  17768. },
  17769. "relatedid": {
  17770. "description": "关联单号(交割单)",
  17771. "type": "string"
  17772. },
  17773. "tradedate": {
  17774. "description": "交易日(yyyyMMdd)",
  17775. "type": "string"
  17776. },
  17777. "trademode": {
  17778. "description": "交易模式",
  17779. "type": "integer"
  17780. },
  17781. "tradeqty": {
  17782. "description": "成交数量",
  17783. "type": "integer"
  17784. },
  17785. "unfreezecharge": {
  17786. "description": "解冻手续费",
  17787. "type": "number"
  17788. },
  17789. "unfreezemargin": {
  17790. "description": "解冻保证金",
  17791. "type": "number"
  17792. },
  17793. "validtime": {
  17794. "description": "有效期限",
  17795. "type": "string"
  17796. },
  17797. "validtype": {
  17798. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  17799. "type": "integer"
  17800. },
  17801. "volumetype": {
  17802. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  17803. "type": "integer"
  17804. }
  17805. }
  17806. },
  17807. "order.QueryTradePositionRsp": {
  17808. "type": "object",
  17809. "required": [
  17810. "goodsid"
  17811. ],
  17812. "properties": {
  17813. "accountid": {
  17814. "description": "资金账户",
  17815. "type": "integer"
  17816. },
  17817. "agreeunit": {
  17818. "description": "合约单位",
  17819. "type": "number"
  17820. },
  17821. "averageprice": {
  17822. "description": "持仓均价",
  17823. "type": "number"
  17824. },
  17825. "buyorsell": {
  17826. "description": "方向 - 0:买 1:卖",
  17827. "type": "integer"
  17828. },
  17829. "closetotalqty": {
  17830. "description": "平仓总数量",
  17831. "type": "integer"
  17832. },
  17833. "curholderamount": {
  17834. "description": "当前持仓总金额[商品币种]",
  17835. "type": "number"
  17836. },
  17837. "curpositionqty": {
  17838. "description": "当前持仓总数量",
  17839. "type": "integer"
  17840. },
  17841. "currencyid": {
  17842. "description": "报价货币ID",
  17843. "type": "integer"
  17844. },
  17845. "curtdposition": {
  17846. "description": "期末今日头寸",
  17847. "type": "integer"
  17848. },
  17849. "decimalplace": {
  17850. "description": "报价小数位",
  17851. "type": "integer"
  17852. },
  17853. "enableqty": {
  17854. "description": "可用量",
  17855. "type": "integer"
  17856. },
  17857. "fretdposition": {
  17858. "description": "冻结今日头寸",
  17859. "type": "integer"
  17860. },
  17861. "frozenqty": {
  17862. "description": "持仓冻结数量",
  17863. "type": "integer"
  17864. },
  17865. "goodscode": {
  17866. "description": "商品代码",
  17867. "type": "string"
  17868. },
  17869. "goodsid": {
  17870. "description": "商品Id",
  17871. "type": "integer"
  17872. },
  17873. "goodsname": {
  17874. "description": "商品名称",
  17875. "type": "string"
  17876. },
  17877. "goodunit": {
  17878. "description": "报价单位",
  17879. "type": "string"
  17880. },
  17881. "goodunitid": {
  17882. "description": "报价单位ID",
  17883. "type": "integer"
  17884. },
  17885. "holderamount": {
  17886. "description": "期初持仓总金额[商品币种]",
  17887. "type": "number"
  17888. },
  17889. "marketid": {
  17890. "description": "所属市场ID",
  17891. "type": "integer"
  17892. },
  17893. "openreqqty": {
  17894. "description": "开仓申请数量(用于比较最大持仓数量)",
  17895. "type": "integer"
  17896. },
  17897. "opentotalqty": {
  17898. "description": "开仓总数量",
  17899. "type": "integer"
  17900. },
  17901. "otherfrozenqty": {
  17902. "description": "持仓其他冻结数量(交割冻结)",
  17903. "type": "integer"
  17904. },
  17905. "positionqty": {
  17906. "description": "期初持仓数量",
  17907. "type": "integer"
  17908. },
  17909. "tnqty": {
  17910. "description": "T+N冻结总量",
  17911. "type": "integer"
  17912. },
  17913. "tnusedqty": {
  17914. "description": "T+N使用量(可以使用T+N的冻结数量)",
  17915. "type": "integer"
  17916. },
  17917. "trademode": {
  17918. "description": "交易模式",
  17919. "type": "integer"
  17920. },
  17921. "usedmargin": {
  17922. "description": "占用保证金[商品币种]",
  17923. "type": "number"
  17924. }
  17925. }
  17926. },
  17927. "quote.HistoryData": {
  17928. "type": "object",
  17929. "properties": {
  17930. "c": {
  17931. "description": "收盘价",
  17932. "type": "number"
  17933. },
  17934. "f": {
  17935. "description": "是否补充数据",
  17936. "type": "boolean"
  17937. },
  17938. "h": {
  17939. "description": "最高价",
  17940. "type": "number"
  17941. },
  17942. "hv": {
  17943. "description": "持仓量",
  17944. "type": "integer"
  17945. },
  17946. "l": {
  17947. "description": "最低价",
  17948. "type": "number"
  17949. },
  17950. "o": {
  17951. "description": "开盘价",
  17952. "type": "number"
  17953. },
  17954. "s": {
  17955. "description": "结算价,日线周期(包括)以上才有",
  17956. "type": "number"
  17957. },
  17958. "ts": {
  17959. "description": "时间",
  17960. "type": "string"
  17961. },
  17962. "tt": {
  17963. "description": "总金额",
  17964. "type": "number"
  17965. },
  17966. "tv": {
  17967. "description": "总量",
  17968. "type": "integer"
  17969. }
  17970. }
  17971. },
  17972. "quote.HistoryTikData": {
  17973. "type": "object",
  17974. "properties": {
  17975. "AV": {
  17976. "description": "卖量",
  17977. "type": "integer"
  17978. },
  17979. "Ask": {
  17980. "description": "卖价",
  17981. "type": "number"
  17982. },
  17983. "BV": {
  17984. "description": "买量",
  17985. "type": "integer"
  17986. },
  17987. "Bid": {
  17988. "description": "买价",
  17989. "type": "number"
  17990. },
  17991. "HI": {
  17992. "description": "单笔持仓",
  17993. "type": "integer"
  17994. },
  17995. "HV": {
  17996. "description": "持仓量",
  17997. "type": "integer"
  17998. },
  17999. "PE": {
  18000. "description": "现价",
  18001. "type": "number"
  18002. },
  18003. "TDR": {
  18004. "description": "交易方向,0:买 1:卖",
  18005. "type": "integer"
  18006. },
  18007. "TK": {
  18008. "description": "交易类型",
  18009. "type": "integer"
  18010. },
  18011. "TS": {
  18012. "description": "行情时间文本",
  18013. "type": "string"
  18014. },
  18015. "TT": {
  18016. "description": "现金额",
  18017. "type": "number"
  18018. },
  18019. "Vol": {
  18020. "description": "现量",
  18021. "type": "integer"
  18022. }
  18023. }
  18024. },
  18025. "quote.QueryQuoteDayRsp": {
  18026. "type": "object",
  18027. "properties": {
  18028. "ask": {
  18029. "description": "卖1",
  18030. "type": "number"
  18031. },
  18032. "ask10": {
  18033. "description": "卖10",
  18034. "type": "number"
  18035. },
  18036. "ask2": {
  18037. "description": "卖2",
  18038. "type": "number"
  18039. },
  18040. "ask3": {
  18041. "description": "卖3",
  18042. "type": "number"
  18043. },
  18044. "ask4": {
  18045. "description": "卖4",
  18046. "type": "number"
  18047. },
  18048. "ask5": {
  18049. "description": "卖5",
  18050. "type": "number"
  18051. },
  18052. "ask6": {
  18053. "description": "卖6",
  18054. "type": "number"
  18055. },
  18056. "ask7": {
  18057. "description": "卖7",
  18058. "type": "number"
  18059. },
  18060. "ask8": {
  18061. "description": "卖8",
  18062. "type": "number"
  18063. },
  18064. "ask9": {
  18065. "description": "卖9",
  18066. "type": "number"
  18067. },
  18068. "askorderid": {
  18069. "description": "卖单号1",
  18070. "type": "integer"
  18071. },
  18072. "askorderid2": {
  18073. "description": "卖单号2",
  18074. "type": "integer"
  18075. },
  18076. "askorderid3": {
  18077. "description": "卖单号3",
  18078. "type": "integer"
  18079. },
  18080. "askorderid4": {
  18081. "description": "卖单号4",
  18082. "type": "integer"
  18083. },
  18084. "askorderid5": {
  18085. "description": "卖单号5",
  18086. "type": "integer"
  18087. },
  18088. "askordervolume": {
  18089. "description": "卖单量1",
  18090. "type": "integer"
  18091. },
  18092. "askordervolume10": {
  18093. "description": "卖单量10",
  18094. "type": "integer"
  18095. },
  18096. "askordervolume2": {
  18097. "description": "卖单量2",
  18098. "type": "integer"
  18099. },
  18100. "askordervolume3": {
  18101. "description": "卖单量3",
  18102. "type": "integer"
  18103. },
  18104. "askordervolume4": {
  18105. "description": "卖单量4",
  18106. "type": "integer"
  18107. },
  18108. "askordervolume5": {
  18109. "description": "卖单量5",
  18110. "type": "integer"
  18111. },
  18112. "askordervolume6": {
  18113. "description": "卖单量6",
  18114. "type": "integer"
  18115. },
  18116. "askordervolume7": {
  18117. "description": "卖单量7",
  18118. "type": "integer"
  18119. },
  18120. "askordervolume8": {
  18121. "description": "卖单量8",
  18122. "type": "integer"
  18123. },
  18124. "askordervolume9": {
  18125. "description": "卖单量9",
  18126. "type": "integer"
  18127. },
  18128. "askqueueinfo": {
  18129. "description": "大利市卖港股用",
  18130. "type": "string"
  18131. },
  18132. "askvolume": {
  18133. "description": "卖量1",
  18134. "type": "integer"
  18135. },
  18136. "askvolume10": {
  18137. "description": "卖量10",
  18138. "type": "integer"
  18139. },
  18140. "askvolume2": {
  18141. "description": "卖量2",
  18142. "type": "integer"
  18143. },
  18144. "askvolume3": {
  18145. "description": "卖量3",
  18146. "type": "integer"
  18147. },
  18148. "askvolume4": {
  18149. "description": "卖量4",
  18150. "type": "integer"
  18151. },
  18152. "askvolume5": {
  18153. "description": "卖量5",
  18154. "type": "integer"
  18155. },
  18156. "askvolume6": {
  18157. "description": "卖量6",
  18158. "type": "integer"
  18159. },
  18160. "askvolume7": {
  18161. "description": "卖量7",
  18162. "type": "integer"
  18163. },
  18164. "askvolume8": {
  18165. "description": "卖量8",
  18166. "type": "integer"
  18167. },
  18168. "askvolume9": {
  18169. "description": "卖量9",
  18170. "type": "integer"
  18171. },
  18172. "averageprice": {
  18173. "description": "均价",
  18174. "type": "number"
  18175. },
  18176. "bid": {
  18177. "description": "买1",
  18178. "type": "number"
  18179. },
  18180. "bid10": {
  18181. "description": "买10",
  18182. "type": "number"
  18183. },
  18184. "bid2": {
  18185. "description": "买2",
  18186. "type": "number"
  18187. },
  18188. "bid3": {
  18189. "description": "买3",
  18190. "type": "number"
  18191. },
  18192. "bid4": {
  18193. "description": "买4",
  18194. "type": "number"
  18195. },
  18196. "bid5": {
  18197. "description": "买5",
  18198. "type": "number"
  18199. },
  18200. "bid6": {
  18201. "description": "买6",
  18202. "type": "number"
  18203. },
  18204. "bid7": {
  18205. "description": "买7",
  18206. "type": "number"
  18207. },
  18208. "bid8": {
  18209. "description": "买8",
  18210. "type": "number"
  18211. },
  18212. "bid9": {
  18213. "description": "买9",
  18214. "type": "number"
  18215. },
  18216. "bidorderid": {
  18217. "description": "买单号1",
  18218. "type": "integer"
  18219. },
  18220. "bidorderid2": {
  18221. "description": "买单号2",
  18222. "type": "integer"
  18223. },
  18224. "bidorderid3": {
  18225. "description": "买单号3",
  18226. "type": "integer"
  18227. },
  18228. "bidorderid4": {
  18229. "description": "买单号4",
  18230. "type": "integer"
  18231. },
  18232. "bidorderid5": {
  18233. "description": "买单号5",
  18234. "type": "integer"
  18235. },
  18236. "bidordervolume": {
  18237. "description": "买单量1",
  18238. "type": "integer"
  18239. },
  18240. "bidordervolume10": {
  18241. "description": "买单量10",
  18242. "type": "integer"
  18243. },
  18244. "bidordervolume2": {
  18245. "description": "买单量2",
  18246. "type": "integer"
  18247. },
  18248. "bidordervolume3": {
  18249. "description": "买单量3",
  18250. "type": "integer"
  18251. },
  18252. "bidordervolume4": {
  18253. "description": "买单量4",
  18254. "type": "integer"
  18255. },
  18256. "bidordervolume5": {
  18257. "description": "买单量5",
  18258. "type": "integer"
  18259. },
  18260. "bidordervolume6": {
  18261. "description": "买单量6",
  18262. "type": "integer"
  18263. },
  18264. "bidordervolume7": {
  18265. "description": "买单量7",
  18266. "type": "integer"
  18267. },
  18268. "bidordervolume8": {
  18269. "description": "买单量8",
  18270. "type": "integer"
  18271. },
  18272. "bidordervolume9": {
  18273. "description": "买单量9",
  18274. "type": "integer"
  18275. },
  18276. "bidqueueinfo": {
  18277. "description": "大利市买港股用",
  18278. "type": "string"
  18279. },
  18280. "bidvolume": {
  18281. "description": "买量1",
  18282. "type": "integer"
  18283. },
  18284. "bidvolume10": {
  18285. "description": "买量10",
  18286. "type": "integer"
  18287. },
  18288. "bidvolume2": {
  18289. "description": "买量2",
  18290. "type": "integer"
  18291. },
  18292. "bidvolume3": {
  18293. "description": "买量3",
  18294. "type": "integer"
  18295. },
  18296. "bidvolume4": {
  18297. "description": "买量4",
  18298. "type": "integer"
  18299. },
  18300. "bidvolume5": {
  18301. "description": "买量5",
  18302. "type": "integer"
  18303. },
  18304. "bidvolume6": {
  18305. "description": "买量6",
  18306. "type": "integer"
  18307. },
  18308. "bidvolume7": {
  18309. "description": "买量7",
  18310. "type": "integer"
  18311. },
  18312. "bidvolume8": {
  18313. "description": "买量8",
  18314. "type": "integer"
  18315. },
  18316. "bidvolume9": {
  18317. "description": "买量9",
  18318. "type": "integer"
  18319. },
  18320. "calloptionpremiums": {
  18321. "description": "认购期权1",
  18322. "type": "integer"
  18323. },
  18324. "calloptionpremiums2": {
  18325. "description": "认购期权2",
  18326. "type": "integer"
  18327. },
  18328. "calloptionpremiums3": {
  18329. "description": "认购期权3",
  18330. "type": "integer"
  18331. },
  18332. "calloptionpremiums4": {
  18333. "description": "认购期权4",
  18334. "type": "integer"
  18335. },
  18336. "calloptionpremiums5": {
  18337. "description": "认购期权5",
  18338. "type": "integer"
  18339. },
  18340. "cleartime": {
  18341. "description": "清盘时间",
  18342. "type": "integer"
  18343. },
  18344. "exchangecode": {
  18345. "description": "交易所代码",
  18346. "type": "integer"
  18347. },
  18348. "exchangedate": {
  18349. "description": "交易日",
  18350. "type": "integer"
  18351. },
  18352. "goodscode": {
  18353. "description": "商品代码",
  18354. "type": "string"
  18355. },
  18356. "grepmarketprice": {
  18357. "description": "暗盘价 港股专用",
  18358. "type": "number"
  18359. },
  18360. "highest": {
  18361. "description": "最高价",
  18362. "type": "number"
  18363. },
  18364. "holdincrement": {
  18365. "description": "单笔持仓",
  18366. "type": "integer"
  18367. },
  18368. "holdvolume": {
  18369. "description": "持仓",
  18370. "type": "integer"
  18371. },
  18372. "iep": {
  18373. "description": "平衡价 港股专用",
  18374. "type": "number"
  18375. },
  18376. "iev": {
  18377. "description": "平衡量 港股专用",
  18378. "type": "number"
  18379. },
  18380. "inventory": {
  18381. "description": "库存",
  18382. "type": "integer"
  18383. },
  18384. "iscleared": {
  18385. "description": "是否清盘标志",
  18386. "type": "integer"
  18387. },
  18388. "issettled": {
  18389. "description": "是否结算标志",
  18390. "type": "integer"
  18391. },
  18392. "last": {
  18393. "description": "最新价",
  18394. "type": "number"
  18395. },
  18396. "lastlot": {
  18397. "description": "最新成交手数",
  18398. "type": "integer"
  18399. },
  18400. "lasttime": {
  18401. "description": "行情时间(只有现价变化行情时间才变化)",
  18402. "type": "string"
  18403. },
  18404. "lastturnover": {
  18405. "description": "最新成交金额",
  18406. "type": "number"
  18407. },
  18408. "lastvolume": {
  18409. "description": "最新成交量",
  18410. "type": "integer"
  18411. },
  18412. "limitdown": {
  18413. "description": "跌停价",
  18414. "type": "number"
  18415. },
  18416. "limitup": {
  18417. "description": "涨停价",
  18418. "type": "number"
  18419. },
  18420. "lowest": {
  18421. "description": "最低价",
  18422. "type": "number"
  18423. },
  18424. "nontotalholdervolume": {
  18425. "description": "非交易持仓量",
  18426. "type": "integer"
  18427. },
  18428. "nontotallot": {
  18429. "description": "非交易总手数",
  18430. "type": "integer"
  18431. },
  18432. "nontotalturnover": {
  18433. "description": "非交易总金额",
  18434. "type": "integer"
  18435. },
  18436. "nontotalvolume": {
  18437. "description": "非交易总量",
  18438. "type": "integer"
  18439. },
  18440. "opened": {
  18441. "description": "开盘价",
  18442. "type": "number"
  18443. },
  18444. "opentime": {
  18445. "description": "开盘时间",
  18446. "type": "string"
  18447. },
  18448. "orderid": {
  18449. "description": "序号",
  18450. "type": "integer"
  18451. },
  18452. "preclose": {
  18453. "description": "昨收",
  18454. "type": "number"
  18455. },
  18456. "preholdvolume": {
  18457. "description": "昨持仓",
  18458. "type": "integer"
  18459. },
  18460. "presettle": {
  18461. "description": "昨结价",
  18462. "type": "number"
  18463. },
  18464. "publictradetype": {
  18465. "description": "公共交易标志类型 港股专用",
  18466. "type": "string"
  18467. },
  18468. "putoptionpremiums": {
  18469. "description": "认沽期权1",
  18470. "type": "integer"
  18471. },
  18472. "putoptionpremiums2": {
  18473. "description": "认沽期权2",
  18474. "type": "integer"
  18475. },
  18476. "putoptionpremiums3": {
  18477. "description": "认沽期权3",
  18478. "type": "integer"
  18479. },
  18480. "putoptionpremiums4": {
  18481. "description": "认沽期权4",
  18482. "type": "integer"
  18483. },
  18484. "putoptionpremiums5": {
  18485. "description": "认沽期权5",
  18486. "type": "integer"
  18487. },
  18488. "settle": {
  18489. "description": "结算价",
  18490. "type": "number"
  18491. },
  18492. "strikeprice": {
  18493. "description": "发行价",
  18494. "type": "number"
  18495. },
  18496. "totalaskvolume": {
  18497. "description": "内盘",
  18498. "type": "integer"
  18499. },
  18500. "totalbidvolume": {
  18501. "description": "外盘",
  18502. "type": "integer"
  18503. },
  18504. "totallot": {
  18505. "description": "总手数",
  18506. "type": "integer"
  18507. },
  18508. "totalturnover": {
  18509. "description": "总金额",
  18510. "type": "number"
  18511. },
  18512. "totalvolume": {
  18513. "description": "总量",
  18514. "type": "integer"
  18515. },
  18516. "utclasttime": {
  18517. "description": "utc的行情时间",
  18518. "type": "string"
  18519. }
  18520. }
  18521. },
  18522. "quote.QueryTSDataRsp": {
  18523. "type": "object",
  18524. "properties": {
  18525. "decimalPlace": {
  18526. "description": "小数位",
  18527. "type": "integer"
  18528. },
  18529. "endTime": {
  18530. "description": "结束时间",
  18531. "type": "string"
  18532. },
  18533. "goodsCode": {
  18534. "description": "商品代码",
  18535. "type": "string"
  18536. },
  18537. "historyDatas": {
  18538. "description": "历史数据",
  18539. "type": "array",
  18540. "items": {
  18541. "$ref": "#/definitions/quote.HistoryData"
  18542. }
  18543. },
  18544. "outGoodsCode": {
  18545. "description": "外部商品代码",
  18546. "type": "string"
  18547. },
  18548. "preSettle": {
  18549. "description": "昨结",
  18550. "type": "number"
  18551. },
  18552. "startTime": {
  18553. "description": "开始时间",
  18554. "type": "string"
  18555. },
  18556. "tradeDate": {
  18557. "description": "交易日",
  18558. "type": "string"
  18559. }
  18560. }
  18561. },
  18562. "szdz.QueryConvertLogRsp": {
  18563. "type": "object",
  18564. "required": [
  18565. "logid"
  18566. ],
  18567. "properties": {
  18568. "accountid": {
  18569. "description": "资金账户ID",
  18570. "type": "integer"
  18571. },
  18572. "clientticket": {
  18573. "description": "客户端流水号",
  18574. "type": "string"
  18575. },
  18576. "converttype": {
  18577. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  18578. "type": "integer"
  18579. },
  18580. "createtime": {
  18581. "description": "记账时间",
  18582. "type": "string"
  18583. },
  18584. "daymaxvalue": {
  18585. "description": "配置当日最大转入限制",
  18586. "type": "number"
  18587. },
  18588. "daymaxvalue2": {
  18589. "description": "配置当日最大转入限制(转入)",
  18590. "type": "number"
  18591. },
  18592. "goodscode": {
  18593. "description": "商品代码",
  18594. "type": "string"
  18595. },
  18596. "goodsname": {
  18597. "description": "商品名称",
  18598. "type": "string"
  18599. },
  18600. "handlestatus": {
  18601. "description": "处理状态",
  18602. "type": "integer"
  18603. },
  18604. "innergoodsid": {
  18605. "description": "内部商品ID",
  18606. "type": "integer"
  18607. },
  18608. "inratio": {
  18609. "description": "配置转入比值",
  18610. "type": "integer"
  18611. },
  18612. "invalue": {
  18613. "description": "目标值",
  18614. "type": "number"
  18615. },
  18616. "logid": {
  18617. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18618. "type": "integer"
  18619. },
  18620. "mobile": {
  18621. "description": "手机号码(加密存储)",
  18622. "type": "string"
  18623. },
  18624. "outergoodscode": {
  18625. "description": "外部商品代码[JD\\PD]",
  18626. "type": "string"
  18627. },
  18628. "outratio": {
  18629. "description": "配置转出比值",
  18630. "type": "integer"
  18631. },
  18632. "outvalue": {
  18633. "description": "源值",
  18634. "type": "number"
  18635. },
  18636. "pddecimalplace": {
  18637. "description": "PD小数位",
  18638. "type": "integer"
  18639. },
  18640. "qty": {
  18641. "description": "数量",
  18642. "type": "string"
  18643. },
  18644. "remark": {
  18645. "description": "备注",
  18646. "type": "string"
  18647. },
  18648. "sessionid": {
  18649. "description": "会话ID",
  18650. "type": "integer"
  18651. },
  18652. "timemaxvalue": {
  18653. "description": "配置单次最大转入限制",
  18654. "type": "number"
  18655. },
  18656. "timemaxvalue2": {
  18657. "description": "配置单次最大转入限制(转入)",
  18658. "type": "number"
  18659. },
  18660. "timeminvalue": {
  18661. "description": "配置单次最小数量限制",
  18662. "type": "number"
  18663. },
  18664. "timeminvalue2": {
  18665. "description": "配置单次最小数量限制(转入)",
  18666. "type": "number"
  18667. },
  18668. "tradedate": {
  18669. "description": "交易日(yyyyMMdd)",
  18670. "type": "string"
  18671. },
  18672. "userid": {
  18673. "description": "用户ID",
  18674. "type": "integer"
  18675. }
  18676. }
  18677. },
  18678. "szdz.QueryGoodsPickupRsp": {
  18679. "type": "object",
  18680. "required": [
  18681. "takeorderid"
  18682. ],
  18683. "properties": {
  18684. "accountid": {
  18685. "description": "账户ID",
  18686. "type": "integer"
  18687. },
  18688. "address": {
  18689. "description": "提货人详细地址",
  18690. "type": "string"
  18691. },
  18692. "auditer": {
  18693. "description": "审核人",
  18694. "type": "integer"
  18695. },
  18696. "audittime": {
  18697. "description": "审核时间",
  18698. "type": "string"
  18699. },
  18700. "cardnum": {
  18701. "description": "提货人证件号码",
  18702. "type": "string"
  18703. },
  18704. "cardtypeid": {
  18705. "description": "提货人证件类型",
  18706. "type": "integer"
  18707. },
  18708. "checkremark": {
  18709. "description": "审核备注",
  18710. "type": "string"
  18711. },
  18712. "goodscode": {
  18713. "description": "商品代码",
  18714. "type": "string"
  18715. },
  18716. "goodsid": {
  18717. "description": "商品ID",
  18718. "type": "integer"
  18719. },
  18720. "goodsname": {
  18721. "description": "商品名称",
  18722. "type": "string"
  18723. },
  18724. "handlestatus": {
  18725. "description": "处理状态",
  18726. "type": "integer"
  18727. },
  18728. "marketid": {
  18729. "description": "市场ID",
  18730. "type": "integer"
  18731. },
  18732. "phonenum": {
  18733. "description": "提货人联系方式",
  18734. "type": "string"
  18735. },
  18736. "qty": {
  18737. "description": "提货数量",
  18738. "type": "number"
  18739. },
  18740. "recivername": {
  18741. "description": "提货人姓名",
  18742. "type": "string"
  18743. },
  18744. "reqtime": {
  18745. "description": "更新时间",
  18746. "type": "string"
  18747. },
  18748. "takemode": {
  18749. "description": "提货方式 - 2:自提 3:配送",
  18750. "type": "integer"
  18751. },
  18752. "takeorderid": {
  18753. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  18754. "type": "string"
  18755. },
  18756. "takeorderstatus": {
  18757. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  18758. "type": "integer"
  18759. },
  18760. "takeremark": {
  18761. "description": "提货备注",
  18762. "type": "string"
  18763. },
  18764. "tradedate": {
  18765. "description": "交易日(yyyyMMdd)",
  18766. "type": "string"
  18767. },
  18768. "userid": {
  18769. "description": "用户ID",
  18770. "type": "integer"
  18771. }
  18772. }
  18773. },
  18774. "szdz.QueryRecieptOrderRsp": {
  18775. "type": "object",
  18776. "required": [
  18777. "ordertime"
  18778. ],
  18779. "properties": {
  18780. "accountName": {
  18781. "description": "所属账号名称(已脱敏)",
  18782. "type": "string"
  18783. },
  18784. "accountid": {
  18785. "description": "资金账号",
  18786. "type": "integer"
  18787. },
  18788. "buyorsell": {
  18789. "description": "方向 - 0:买 1:卖",
  18790. "type": "integer"
  18791. },
  18792. "enableqty": {
  18793. "description": "可摘数量",
  18794. "type": "integer"
  18795. },
  18796. "goodscode": {
  18797. "description": "商品代码",
  18798. "type": "string"
  18799. },
  18800. "goodsid": {
  18801. "description": "商品ID",
  18802. "type": "integer"
  18803. },
  18804. "goodsname": {
  18805. "description": "商品名称",
  18806. "type": "string"
  18807. },
  18808. "orderid": {
  18809. "description": "委托单号",
  18810. "type": "string"
  18811. },
  18812. "orderprice": {
  18813. "description": "委托价格",
  18814. "type": "number"
  18815. },
  18816. "ordertime": {
  18817. "description": "委托时间",
  18818. "type": "string"
  18819. },
  18820. "tradedate": {
  18821. "description": "交易日(yyyyMMdd)",
  18822. "type": "string"
  18823. }
  18824. }
  18825. },
  18826. "szdz.QuerySZDZTradePositionRsp": {
  18827. "type": "object",
  18828. "properties": {
  18829. "accountid": {
  18830. "description": "账号Id",
  18831. "type": "integer"
  18832. },
  18833. "agreeunit": {
  18834. "description": "合约单位",
  18835. "type": "number"
  18836. },
  18837. "averageprice": {
  18838. "description": "持仓均价",
  18839. "type": "number"
  18840. },
  18841. "buyorsell": {
  18842. "description": "方向 - 0:买 1:卖",
  18843. "type": "integer"
  18844. },
  18845. "closetotalqty": {
  18846. "description": "平仓总数量",
  18847. "type": "integer"
  18848. },
  18849. "curholderamount": {
  18850. "description": "当前持仓总金额",
  18851. "type": "number"
  18852. },
  18853. "curpositionqty": {
  18854. "description": "当前持仓总数量",
  18855. "type": "integer"
  18856. },
  18857. "currencyid": {
  18858. "description": "报价货币ID",
  18859. "type": "integer"
  18860. },
  18861. "curtdposition": {
  18862. "description": "期末今日头寸",
  18863. "type": "integer"
  18864. },
  18865. "decimalplace": {
  18866. "description": "报价小数位",
  18867. "type": "integer"
  18868. },
  18869. "enableqty": {
  18870. "description": "可用量",
  18871. "type": "integer"
  18872. },
  18873. "fretdposition": {
  18874. "description": "冻结今日头寸",
  18875. "type": "integer"
  18876. },
  18877. "frozenqty": {
  18878. "description": "持仓冻结数量",
  18879. "type": "integer"
  18880. },
  18881. "goodscode": {
  18882. "description": "商品代码(内部)",
  18883. "type": "string"
  18884. },
  18885. "goodsid": {
  18886. "description": "商品Id",
  18887. "type": "integer"
  18888. },
  18889. "goodsname": {
  18890. "description": "商品名称",
  18891. "type": "string"
  18892. },
  18893. "goodunit": {
  18894. "description": "报价单位",
  18895. "type": "string"
  18896. },
  18897. "goodunitid": {
  18898. "description": "报价单位ID",
  18899. "type": "integer"
  18900. },
  18901. "holderamount": {
  18902. "description": "期初持仓总金额",
  18903. "type": "number"
  18904. },
  18905. "marketid": {
  18906. "description": "市场ID",
  18907. "type": "integer"
  18908. },
  18909. "openreqqty": {
  18910. "description": "开仓申请数量",
  18911. "type": "integer"
  18912. },
  18913. "opentotalqty": {
  18914. "description": "开仓总数量",
  18915. "type": "integer"
  18916. },
  18917. "otherfrozenqty": {
  18918. "description": "持仓其他冻结数量(交割冻结)",
  18919. "type": "integer"
  18920. },
  18921. "positionqty": {
  18922. "description": "期初持仓数量",
  18923. "type": "integer"
  18924. },
  18925. "szdz3freezqty": {
  18926. "description": "尚志大宗转换冻结总数量",
  18927. "type": "integer"
  18928. },
  18929. "tnqty": {
  18930. "description": "T+N冻结总量",
  18931. "type": "integer"
  18932. },
  18933. "tnusedqty": {
  18934. "description": "T+N使用量",
  18935. "type": "integer"
  18936. },
  18937. "trademode": {
  18938. "description": "交易模式",
  18939. "type": "integer"
  18940. },
  18941. "usedmargin": {
  18942. "description": "占用保证金",
  18943. "type": "number"
  18944. }
  18945. }
  18946. },
  18947. "taaccount.QueryAmountLogRsp": {
  18948. "type": "object",
  18949. "required": [
  18950. "accountid",
  18951. "amount",
  18952. "amountadjusttype",
  18953. "autoid",
  18954. "balance",
  18955. "createtime",
  18956. "currentbalance",
  18957. "operatetype"
  18958. ],
  18959. "properties": {
  18960. "OPERATETYPENAME": {
  18961. "description": "资金操作类型名称",
  18962. "type": "string"
  18963. },
  18964. "accountid": {
  18965. "description": "资金账户ID",
  18966. "type": "integer"
  18967. },
  18968. "agoodscode": {
  18969. "description": "竞拍商品代码",
  18970. "type": "string"
  18971. },
  18972. "agoodsname": {
  18973. "description": "竞拍商品名称",
  18974. "type": "string"
  18975. },
  18976. "amount": {
  18977. "description": "资金金额",
  18978. "type": "number"
  18979. },
  18980. "amountadjusttype": {
  18981. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  18982. "type": "integer"
  18983. },
  18984. "autoid": {
  18985. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  18986. "type": "integer"
  18987. },
  18988. "balance": {
  18989. "description": "期初余额",
  18990. "type": "number"
  18991. },
  18992. "businesscode": {
  18993. "description": "业务编号",
  18994. "type": "integer"
  18995. },
  18996. "createtime": {
  18997. "description": "发生时间",
  18998. "type": "string"
  18999. },
  19000. "currencyid": {
  19001. "description": "币种ID",
  19002. "type": "integer"
  19003. },
  19004. "currentbalance": {
  19005. "description": "期末余额(变动后金额)",
  19006. "type": "number"
  19007. },
  19008. "dgoodscode": {
  19009. "description": "交割商品代码",
  19010. "type": "string"
  19011. },
  19012. "dgoodsname": {
  19013. "description": "交割商品名称",
  19014. "type": "string"
  19015. },
  19016. "goodscode": {
  19017. "description": "商品代码",
  19018. "type": "string"
  19019. },
  19020. "goodsid": {
  19021. "description": "商品ID",
  19022. "type": "integer"
  19023. },
  19024. "goodsname": {
  19025. "description": "商品名称",
  19026. "type": "string"
  19027. },
  19028. "marketid": {
  19029. "description": "市场ID",
  19030. "type": "integer"
  19031. },
  19032. "marketname": {
  19033. "description": "市场名称",
  19034. "type": "string"
  19035. },
  19036. "moneyticket": {
  19037. "description": "资金流水号:银行端流水号",
  19038. "type": "integer"
  19039. },
  19040. "operatetype": {
  19041. "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:营销收款",
  19042. "type": "integer"
  19043. },
  19044. "relationorderid": {
  19045. "description": "关联单号",
  19046. "type": "string"
  19047. },
  19048. "remark": {
  19049. "description": "备注",
  19050. "type": "string"
  19051. },
  19052. "trademode": {
  19053. "description": "交易模式",
  19054. "type": "integer"
  19055. }
  19056. }
  19057. },
  19058. "taaccount.QueryHisAmountLogRsp": {
  19059. "type": "object",
  19060. "required": [
  19061. "accountid",
  19062. "amount",
  19063. "amountadjusttype",
  19064. "autoid",
  19065. "balance",
  19066. "createtime",
  19067. "currentbalance",
  19068. "histradedate",
  19069. "operatetype"
  19070. ],
  19071. "properties": {
  19072. "OPERATETYPENAME": {
  19073. "description": "资金操作类型名称",
  19074. "type": "string"
  19075. },
  19076. "accountid": {
  19077. "description": "资金账户ID",
  19078. "type": "integer"
  19079. },
  19080. "agoodscode": {
  19081. "description": "竞拍商品代码",
  19082. "type": "string"
  19083. },
  19084. "agoodsname": {
  19085. "description": "竞拍商品名称",
  19086. "type": "string"
  19087. },
  19088. "amount": {
  19089. "description": "资金金额",
  19090. "type": "number"
  19091. },
  19092. "amountadjusttype": {
  19093. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  19094. "type": "integer"
  19095. },
  19096. "autoid": {
  19097. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  19098. "type": "integer"
  19099. },
  19100. "balance": {
  19101. "description": "期初余额",
  19102. "type": "number"
  19103. },
  19104. "businesscode": {
  19105. "description": "业务编号",
  19106. "type": "integer"
  19107. },
  19108. "createtime": {
  19109. "description": "发生时间",
  19110. "type": "string"
  19111. },
  19112. "currencyid": {
  19113. "description": "币种ID",
  19114. "type": "integer"
  19115. },
  19116. "currentbalance": {
  19117. "description": "期末余额(变动后金额)",
  19118. "type": "number"
  19119. },
  19120. "dgoodscode": {
  19121. "description": "交割商品代码",
  19122. "type": "string"
  19123. },
  19124. "dgoodsname": {
  19125. "description": "交割商品名称",
  19126. "type": "string"
  19127. },
  19128. "goodscode": {
  19129. "description": "商品代码",
  19130. "type": "string"
  19131. },
  19132. "goodsid": {
  19133. "description": "商品ID",
  19134. "type": "integer"
  19135. },
  19136. "goodsname": {
  19137. "description": "商品名称",
  19138. "type": "string"
  19139. },
  19140. "histradedate": {
  19141. "description": "历史交易日",
  19142. "type": "string"
  19143. },
  19144. "isvaliddata": {
  19145. "description": "是否有效 - 0:无效 1:有效",
  19146. "type": "integer"
  19147. },
  19148. "marketid": {
  19149. "description": "市场ID",
  19150. "type": "integer"
  19151. },
  19152. "marketname": {
  19153. "description": "市场名称",
  19154. "type": "string"
  19155. },
  19156. "moneyticket": {
  19157. "description": "资金流水号:银行端流水号",
  19158. "type": "integer"
  19159. },
  19160. "operatetype": {
  19161. "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:营销收款",
  19162. "type": "integer"
  19163. },
  19164. "relationorderid": {
  19165. "description": "关联单号",
  19166. "type": "string"
  19167. },
  19168. "remark": {
  19169. "description": "备注",
  19170. "type": "string"
  19171. },
  19172. "trademode": {
  19173. "description": "交易模式",
  19174. "type": "integer"
  19175. }
  19176. }
  19177. },
  19178. "trade.QueryRecieptOrderRsp": {
  19179. "type": "object",
  19180. "required": [
  19181. "ordertime"
  19182. ],
  19183. "properties": {
  19184. "accountName": {
  19185. "description": "所属账号名称(已脱敏)",
  19186. "type": "string"
  19187. },
  19188. "accountid": {
  19189. "description": "资金账号",
  19190. "type": "integer"
  19191. },
  19192. "buyorsell": {
  19193. "description": "方向 - 0:买 1:卖",
  19194. "type": "integer"
  19195. },
  19196. "enableqty": {
  19197. "description": "可摘数量",
  19198. "type": "integer"
  19199. },
  19200. "goodscode": {
  19201. "description": "商品代码",
  19202. "type": "string"
  19203. },
  19204. "goodsid": {
  19205. "description": "商品ID",
  19206. "type": "integer"
  19207. },
  19208. "goodsname": {
  19209. "description": "商品名称",
  19210. "type": "string"
  19211. },
  19212. "orderid": {
  19213. "description": "委托单号",
  19214. "type": "string"
  19215. },
  19216. "orderprice": {
  19217. "description": "委托价格",
  19218. "type": "number"
  19219. },
  19220. "ordertime": {
  19221. "description": "委托时间",
  19222. "type": "string"
  19223. },
  19224. "tradedate": {
  19225. "description": "交易日(yyyyMMdd)",
  19226. "type": "string"
  19227. }
  19228. }
  19229. },
  19230. "user.LoginQueryRsp": {
  19231. "type": "object",
  19232. "properties": {
  19233. "externalExchanges": {
  19234. "description": "外部交易所",
  19235. "type": "array",
  19236. "items": {
  19237. "$ref": "#/definitions/models.Externalexchange"
  19238. }
  19239. },
  19240. "goodsgroups": {
  19241. "description": "商品组",
  19242. "type": "array",
  19243. "items": {
  19244. "$ref": "#/definitions/models.Goodsgroup"
  19245. }
  19246. },
  19247. "loginAccount": {
  19248. "description": "登录账号",
  19249. "type": "object",
  19250. "$ref": "#/definitions/models.Loginaccount"
  19251. },
  19252. "markets": {
  19253. "description": "市场",
  19254. "type": "array",
  19255. "items": {
  19256. "$ref": "#/definitions/models.Market"
  19257. }
  19258. },
  19259. "systemParams": {
  19260. "description": "系统参数",
  19261. "type": "array",
  19262. "items": {
  19263. "$ref": "#/definitions/models.Systemparam"
  19264. }
  19265. },
  19266. "userAccount": {
  19267. "description": "用户账号",
  19268. "type": "object",
  19269. "$ref": "#/definitions/models.Useraccount"
  19270. },
  19271. "userInfo": {
  19272. "description": "用户信息",
  19273. "type": "object",
  19274. "$ref": "#/definitions/models.Userinfo"
  19275. },
  19276. "username": {
  19277. "description": "用户姓名",
  19278. "type": "string"
  19279. }
  19280. }
  19281. }
  19282. },
  19283. "securityDefinitions": {
  19284. "ApiKeyAuth": {
  19285. "type": "apiKey",
  19286. "name": "Authorization",
  19287. "in": "header"
  19288. }
  19289. }
  19290. }`
  19291. type swaggerInfo struct {
  19292. Version string
  19293. Host string
  19294. BasePath string
  19295. Schemes []string
  19296. Title string
  19297. Description string
  19298. }
  19299. // SwaggerInfo holds exported Swagger Info so clients can modify it
  19300. var SwaggerInfo = swaggerInfo{
  19301. Version: "1.0",
  19302. Host: "",
  19303. BasePath: "/api",
  19304. Schemes: []string{},
  19305. Title: "MTP2.0 查询服务 API",
  19306. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  19307. }
  19308. type s struct{}
  19309. func (s *s) ReadDoc() string {
  19310. sInfo := SwaggerInfo
  19311. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  19312. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  19313. "marshal": func(v interface{}) string {
  19314. a, _ := json.Marshal(v)
  19315. return string(a)
  19316. },
  19317. }).Parse(doc)
  19318. if err != nil {
  19319. return doc
  19320. }
  19321. var tpl bytes.Buffer
  19322. if err := t.Execute(&tpl, sInfo); err != nil {
  19323. return doc
  19324. }
  19325. return tpl.String()
  19326. }
  19327. func init() {
  19328. swag.Register(swag.Name, &s{})
  19329. }