docs.go 644 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetDivisions": {
  402. "get": {
  403. "produces": [
  404. "application/json"
  405. ],
  406. "tags": [
  407. "通用服务"
  408. ],
  409. "summary": "查询区域信息",
  410. "responses": {
  411. "200": {
  412. "description": "OK",
  413. "schema": {
  414. "$ref": "#/definitions/models.Division"
  415. }
  416. },
  417. "500": {
  418. "description": "Internal Server Error",
  419. "schema": {
  420. "$ref": "#/definitions/app.Response"
  421. }
  422. }
  423. }
  424. }
  425. },
  426. "/Common/GetServerTime": {
  427. "get": {
  428. "produces": [
  429. "application/json"
  430. ],
  431. "tags": [
  432. "通用服务"
  433. ],
  434. "summary": "获取服务器时间",
  435. "responses": {
  436. "200": {
  437. "description": "OK",
  438. "schema": {
  439. "$ref": "#/definitions/app.Response"
  440. }
  441. },
  442. "500": {
  443. "description": "Internal Server Error",
  444. "schema": {
  445. "$ref": "#/definitions/app.Response"
  446. }
  447. }
  448. }
  449. }
  450. },
  451. "/Common/NoticeReaded": {
  452. "post": {
  453. "security": [
  454. {
  455. "ApiKeyAuth": []
  456. }
  457. ],
  458. "produces": [
  459. "application/json"
  460. ],
  461. "tags": [
  462. "通用服务"
  463. ],
  464. "summary": "通知公告设置已读请求",
  465. "parameters": [
  466. {
  467. "type": "integer",
  468. "description": "登录账号",
  469. "name": "loginID",
  470. "in": "query",
  471. "required": true
  472. },
  473. {
  474. "type": "integer",
  475. "description": "通知公告ID",
  476. "name": "noticeID",
  477. "in": "query",
  478. "required": true
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/app.Response"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryErrorInfos": {
  498. "get": {
  499. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  500. "produces": [
  501. "application/json"
  502. ],
  503. "tags": [
  504. "通用服务"
  505. ],
  506. "summary": "获取数据库错误信息",
  507. "parameters": [
  508. {
  509. "type": "string",
  510. "description": "起始行号前索引",
  511. "name": "rowNumber",
  512. "in": "query"
  513. }
  514. ],
  515. "responses": {
  516. "200": {
  517. "description": "OK",
  518. "schema": {
  519. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  520. }
  521. },
  522. "500": {
  523. "description": "Internal Server Error",
  524. "schema": {
  525. "$ref": "#/definitions/app.Response"
  526. }
  527. }
  528. }
  529. }
  530. },
  531. "/Common/QueryImageConfigs": {
  532. "get": {
  533. "produces": [
  534. "application/json"
  535. ],
  536. "tags": [
  537. "通用服务"
  538. ],
  539. "summary": "查询轮播图配置信息",
  540. "parameters": [
  541. {
  542. "type": "integer",
  543. "description": "类型 - 1:App首页轮播 2:我的",
  544. "name": "imageType",
  545. "in": "query"
  546. }
  547. ],
  548. "responses": {
  549. "200": {
  550. "description": "OK",
  551. "schema": {
  552. "$ref": "#/definitions/models.Szdz2imageconfig"
  553. }
  554. },
  555. "500": {
  556. "description": "Internal Server Error",
  557. "schema": {
  558. "$ref": "#/definitions/app.Response"
  559. }
  560. }
  561. }
  562. }
  563. },
  564. "/Common/QueryNotice": {
  565. "get": {
  566. "security": [
  567. {
  568. "ApiKeyAuth": []
  569. }
  570. ],
  571. "produces": [
  572. "application/json"
  573. ],
  574. "tags": [
  575. "通用服务"
  576. ],
  577. "summary": "通知公告系统消息查询",
  578. "parameters": [
  579. {
  580. "type": "integer",
  581. "description": "页码",
  582. "name": "page",
  583. "in": "query"
  584. },
  585. {
  586. "type": "integer",
  587. "description": "每页条数",
  588. "name": "pagesize",
  589. "in": "query"
  590. },
  591. {
  592. "type": "integer",
  593. "description": "登录账号",
  594. "name": "loginID",
  595. "in": "query",
  596. "required": true
  597. },
  598. {
  599. "type": "integer",
  600. "description": "消息类型 - 1:公告通知 2:系统消息",
  601. "name": "msgType",
  602. "in": "query"
  603. },
  604. {
  605. "type": "boolean",
  606. "description": "是否只获取未读信息",
  607. "name": "onlyUnRead",
  608. "in": "query"
  609. }
  610. ],
  611. "responses": {
  612. "200": {
  613. "description": "OK",
  614. "schema": {
  615. "$ref": "#/definitions/common.QueryNoticeRsp"
  616. }
  617. },
  618. "500": {
  619. "description": "Internal Server Error",
  620. "schema": {
  621. "$ref": "#/definitions/app.Response"
  622. }
  623. }
  624. }
  625. }
  626. },
  627. "/Common/QueryProvincesAndCities": {
  628. "get": {
  629. "produces": [
  630. "application/json"
  631. ],
  632. "tags": [
  633. "通用服务"
  634. ],
  635. "summary": "查询省市信息(不包括区)",
  636. "parameters": [
  637. {
  638. "type": "integer",
  639. "description": "省ID",
  640. "name": "provinceID",
  641. "in": "query"
  642. }
  643. ],
  644. "responses": {
  645. "200": {
  646. "description": "OK",
  647. "schema": {
  648. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  649. }
  650. },
  651. "500": {
  652. "description": "Internal Server Error",
  653. "schema": {
  654. "$ref": "#/definitions/app.Response"
  655. }
  656. }
  657. }
  658. }
  659. },
  660. "/Common/QueryTableDefine": {
  661. "get": {
  662. "produces": [
  663. "application/json"
  664. ],
  665. "tags": [
  666. "通用服务"
  667. ],
  668. "summary": "查询交易端列表头信息",
  669. "parameters": [
  670. {
  671. "type": "string",
  672. "description": "表key",
  673. "name": "tableKey",
  674. "in": "query"
  675. },
  676. {
  677. "type": "integer",
  678. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  679. "name": "tableType",
  680. "in": "query"
  681. }
  682. ],
  683. "responses": {
  684. "200": {
  685. "description": "OK",
  686. "schema": {
  687. "$ref": "#/definitions/common.QueryTableDefineRsp"
  688. }
  689. },
  690. "500": {
  691. "description": "Internal Server Error",
  692. "schema": {
  693. "$ref": "#/definitions/app.Response"
  694. }
  695. }
  696. }
  697. }
  698. },
  699. "/Common/QueryTraderMenu": {
  700. "get": {
  701. "produces": [
  702. "application/json"
  703. ],
  704. "tags": [
  705. "通用服务"
  706. ],
  707. "summary": "查询交易端菜单",
  708. "parameters": [
  709. {
  710. "type": "integer",
  711. "description": "登录账号",
  712. "name": "loginid",
  713. "in": "query",
  714. "required": true
  715. }
  716. ],
  717. "responses": {
  718. "200": {
  719. "description": "OK",
  720. "schema": {
  721. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  722. }
  723. },
  724. "500": {
  725. "description": "Internal Server Error",
  726. "schema": {
  727. "$ref": "#/definitions/app.Response"
  728. }
  729. }
  730. }
  731. }
  732. },
  733. "/Delivery/QueryDeliveryRelation": {
  734. "get": {
  735. "security": [
  736. {
  737. "ApiKeyAuth": []
  738. }
  739. ],
  740. "produces": [
  741. "application/json"
  742. ],
  743. "tags": [
  744. "交割服务"
  745. ],
  746. "summary": "查询商品交割关系表",
  747. "parameters": [
  748. {
  749. "type": "integer",
  750. "description": "商品ID",
  751. "name": "goodsid",
  752. "in": "query"
  753. },
  754. {
  755. "type": "integer",
  756. "description": "品种ID",
  757. "name": "deliverygoodsid",
  758. "in": "query"
  759. },
  760. {
  761. "type": "integer",
  762. "description": "市场ID",
  763. "name": "marketid",
  764. "in": "query"
  765. }
  766. ],
  767. "responses": {
  768. "200": {
  769. "description": "OK",
  770. "schema": {
  771. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  772. }
  773. },
  774. "500": {
  775. "description": "Internal Server Error",
  776. "schema": {
  777. "$ref": "#/definitions/app.Response"
  778. }
  779. }
  780. }
  781. }
  782. },
  783. "/Ermcp/GetErmcpGoods": {
  784. "get": {
  785. "security": [
  786. {
  787. "ApiKeyAuth": []
  788. }
  789. ],
  790. "produces": [
  791. "application/json"
  792. ],
  793. "tags": [
  794. "企业风险管理(app)"
  795. ],
  796. "summary": "查询企业风管期货商品信息",
  797. "parameters": [
  798. {
  799. "type": "integer",
  800. "description": "已存末尾商品编号",
  801. "name": "lastID",
  802. "in": "query"
  803. }
  804. ],
  805. "responses": {
  806. "200": {
  807. "description": "OK",
  808. "schema": {
  809. "$ref": "#/definitions/models.Goods"
  810. }
  811. },
  812. "500": {
  813. "description": "Internal Server Error",
  814. "schema": {
  815. "$ref": "#/definitions/app.Response"
  816. }
  817. }
  818. }
  819. }
  820. },
  821. "/Ermcp/QryReportDayExposure": {
  822. "get": {
  823. "security": [
  824. {
  825. "ApiKeyAuth": []
  826. }
  827. ],
  828. "produces": [
  829. "application/json"
  830. ],
  831. "tags": [
  832. "企业风险管理(app)"
  833. ],
  834. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  835. "parameters": [
  836. {
  837. "type": "integer",
  838. "description": "用户ID",
  839. "name": "userid",
  840. "in": "query",
  841. "required": true
  842. },
  843. {
  844. "type": "string",
  845. "description": "交易日(格式:yyyyMMdd)",
  846. "name": "tradedate",
  847. "in": "query",
  848. "required": true
  849. }
  850. ],
  851. "responses": {
  852. "200": {
  853. "description": "OK",
  854. "schema": {
  855. "type": "array",
  856. "items": {
  857. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  858. }
  859. }
  860. },
  861. "500": {
  862. "description": "Internal Server Error",
  863. "schema": {
  864. "$ref": "#/definitions/app.Response"
  865. }
  866. }
  867. }
  868. }
  869. },
  870. "/Ermcp/QryReportDayFinance": {
  871. "get": {
  872. "security": [
  873. {
  874. "ApiKeyAuth": []
  875. }
  876. ],
  877. "produces": [
  878. "application/json"
  879. ],
  880. "tags": [
  881. "企业风险管理(app)"
  882. ],
  883. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  884. "parameters": [
  885. {
  886. "type": "integer",
  887. "description": "用户ID",
  888. "name": "userid",
  889. "in": "query",
  890. "required": true
  891. },
  892. {
  893. "type": "string",
  894. "description": "交易日(格式:yyyyMMdd)",
  895. "name": "tradedate",
  896. "in": "query",
  897. "required": true
  898. }
  899. ],
  900. "responses": {
  901. "200": {
  902. "description": "OK",
  903. "schema": {
  904. "type": "array",
  905. "items": {
  906. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  907. }
  908. }
  909. },
  910. "500": {
  911. "description": "Internal Server Error",
  912. "schema": {
  913. "$ref": "#/definitions/app.Response"
  914. }
  915. }
  916. }
  917. }
  918. },
  919. "/Ermcp/QryReportDayFinanceFp": {
  920. "get": {
  921. "security": [
  922. {
  923. "ApiKeyAuth": []
  924. }
  925. ],
  926. "produces": [
  927. "application/json"
  928. ],
  929. "tags": [
  930. "企业风险管理(app)"
  931. ],
  932. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  933. "parameters": [
  934. {
  935. "type": "integer",
  936. "description": "用户ID",
  937. "name": "userid",
  938. "in": "query",
  939. "required": true
  940. },
  941. {
  942. "type": "string",
  943. "description": "交易日(格式:yyyyMMdd)",
  944. "name": "tradedate",
  945. "in": "query",
  946. "required": true
  947. }
  948. ],
  949. "responses": {
  950. "200": {
  951. "description": "OK",
  952. "schema": {
  953. "type": "array",
  954. "items": {
  955. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  956. }
  957. }
  958. },
  959. "500": {
  960. "description": "Internal Server Error",
  961. "schema": {
  962. "$ref": "#/definitions/app.Response"
  963. }
  964. }
  965. }
  966. }
  967. },
  968. "/Ermcp/QryReportDayFinanceKx": {
  969. "get": {
  970. "security": [
  971. {
  972. "ApiKeyAuth": []
  973. }
  974. ],
  975. "produces": [
  976. "application/json"
  977. ],
  978. "tags": [
  979. "企业风险管理(app)"
  980. ],
  981. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  982. "parameters": [
  983. {
  984. "type": "integer",
  985. "description": "用户ID",
  986. "name": "userid",
  987. "in": "query",
  988. "required": true
  989. },
  990. {
  991. "type": "string",
  992. "description": "交易日(格式:yyyyMMdd)",
  993. "name": "tradedate",
  994. "in": "query",
  995. "required": true
  996. }
  997. ],
  998. "responses": {
  999. "200": {
  1000. "description": "OK",
  1001. "schema": {
  1002. "type": "array",
  1003. "items": {
  1004. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1005. }
  1006. }
  1007. },
  1008. "500": {
  1009. "description": "Internal Server Error",
  1010. "schema": {
  1011. "$ref": "#/definitions/app.Response"
  1012. }
  1013. }
  1014. }
  1015. }
  1016. },
  1017. "/Ermcp/QryReportDaySpot": {
  1018. "get": {
  1019. "security": [
  1020. {
  1021. "ApiKeyAuth": []
  1022. }
  1023. ],
  1024. "produces": [
  1025. "application/json"
  1026. ],
  1027. "tags": [
  1028. "企业风险管理(app)"
  1029. ],
  1030. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1031. "parameters": [
  1032. {
  1033. "type": "integer",
  1034. "description": "用户ID",
  1035. "name": "userid",
  1036. "in": "query",
  1037. "required": true
  1038. },
  1039. {
  1040. "type": "string",
  1041. "description": "交易日(格式:yyyyMMdd)",
  1042. "name": "tradedate",
  1043. "in": "query",
  1044. "required": true
  1045. }
  1046. ],
  1047. "responses": {
  1048. "200": {
  1049. "description": "OK",
  1050. "schema": {
  1051. "type": "array",
  1052. "items": {
  1053. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1054. }
  1055. }
  1056. },
  1057. "500": {
  1058. "description": "Internal Server Error",
  1059. "schema": {
  1060. "$ref": "#/definitions/app.Response"
  1061. }
  1062. }
  1063. }
  1064. }
  1065. },
  1066. "/Ermcp/QryReportDaySpotDetail": {
  1067. "get": {
  1068. "security": [
  1069. {
  1070. "ApiKeyAuth": []
  1071. }
  1072. ],
  1073. "produces": [
  1074. "application/json"
  1075. ],
  1076. "tags": [
  1077. "企业风险管理(app)"
  1078. ],
  1079. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1080. "parameters": [
  1081. {
  1082. "type": "integer",
  1083. "description": "用户ID",
  1084. "name": "userid",
  1085. "in": "query",
  1086. "required": true
  1087. },
  1088. {
  1089. "type": "integer",
  1090. "description": "现货商品id",
  1091. "name": "wrstandardid",
  1092. "in": "query",
  1093. "required": true
  1094. },
  1095. {
  1096. "type": "string",
  1097. "description": "交易日(格式:yyyyMMdd)",
  1098. "name": "tradedate",
  1099. "in": "query",
  1100. "required": true
  1101. }
  1102. ],
  1103. "responses": {
  1104. "200": {
  1105. "description": "OK",
  1106. "schema": {
  1107. "type": "array",
  1108. "items": {
  1109. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1110. }
  1111. }
  1112. },
  1113. "500": {
  1114. "description": "Internal Server Error",
  1115. "schema": {
  1116. "$ref": "#/definitions/app.Response"
  1117. }
  1118. }
  1119. }
  1120. }
  1121. },
  1122. "/Ermcp/QryReportMonthFinance": {
  1123. "get": {
  1124. "security": [
  1125. {
  1126. "ApiKeyAuth": []
  1127. }
  1128. ],
  1129. "produces": [
  1130. "application/json"
  1131. ],
  1132. "tags": [
  1133. "企业风险管理(app)"
  1134. ],
  1135. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1136. "parameters": [
  1137. {
  1138. "type": "integer",
  1139. "description": "用户ID",
  1140. "name": "userid",
  1141. "in": "query",
  1142. "required": true
  1143. },
  1144. {
  1145. "type": "string",
  1146. "description": "周期时间:月(格式:yyyyMM)",
  1147. "name": "cycletime",
  1148. "in": "query",
  1149. "required": true
  1150. }
  1151. ],
  1152. "responses": {
  1153. "200": {
  1154. "description": "OK",
  1155. "schema": {
  1156. "type": "array",
  1157. "items": {
  1158. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1159. }
  1160. }
  1161. },
  1162. "500": {
  1163. "description": "Internal Server Error",
  1164. "schema": {
  1165. "$ref": "#/definitions/app.Response"
  1166. }
  1167. }
  1168. }
  1169. }
  1170. },
  1171. "/Ermcp/QryReportMonthSpot": {
  1172. "get": {
  1173. "security": [
  1174. {
  1175. "ApiKeyAuth": []
  1176. }
  1177. ],
  1178. "produces": [
  1179. "application/json"
  1180. ],
  1181. "tags": [
  1182. "企业风险管理(app)"
  1183. ],
  1184. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1185. "parameters": [
  1186. {
  1187. "type": "integer",
  1188. "description": "用户ID",
  1189. "name": "userid",
  1190. "in": "query",
  1191. "required": true
  1192. },
  1193. {
  1194. "type": "string",
  1195. "description": "周期时间:月(格式:yyyyMM)",
  1196. "name": "cycletime",
  1197. "in": "query",
  1198. "required": true
  1199. }
  1200. ],
  1201. "responses": {
  1202. "200": {
  1203. "description": "OK",
  1204. "schema": {
  1205. "type": "array",
  1206. "items": {
  1207. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1208. }
  1209. }
  1210. },
  1211. "500": {
  1212. "description": "Internal Server Error",
  1213. "schema": {
  1214. "$ref": "#/definitions/app.Response"
  1215. }
  1216. }
  1217. }
  1218. }
  1219. },
  1220. "/Ermcp/QryReportMonthSpotDetail": {
  1221. "get": {
  1222. "security": [
  1223. {
  1224. "ApiKeyAuth": []
  1225. }
  1226. ],
  1227. "produces": [
  1228. "application/json"
  1229. ],
  1230. "tags": [
  1231. "企业风险管理(app)"
  1232. ],
  1233. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1234. "parameters": [
  1235. {
  1236. "type": "integer",
  1237. "description": "用户ID",
  1238. "name": "userid",
  1239. "in": "query",
  1240. "required": true
  1241. },
  1242. {
  1243. "type": "integer",
  1244. "description": "现货商品id",
  1245. "name": "wrstandardid",
  1246. "in": "query",
  1247. "required": true
  1248. },
  1249. {
  1250. "type": "string",
  1251. "description": "周期时间:月(格式:yyyyMM)",
  1252. "name": "cycletime",
  1253. "in": "query",
  1254. "required": true
  1255. }
  1256. ],
  1257. "responses": {
  1258. "200": {
  1259. "description": "OK",
  1260. "schema": {
  1261. "type": "array",
  1262. "items": {
  1263. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1264. }
  1265. }
  1266. },
  1267. "500": {
  1268. "description": "Internal Server Error",
  1269. "schema": {
  1270. "$ref": "#/definitions/app.Response"
  1271. }
  1272. }
  1273. }
  1274. }
  1275. },
  1276. "/Ermcp/QueryAvaildGoodsGroup": {
  1277. "get": {
  1278. "security": [
  1279. {
  1280. "ApiKeyAuth": []
  1281. }
  1282. ],
  1283. "produces": [
  1284. "application/json"
  1285. ],
  1286. "tags": [
  1287. "企业风险管理(app)"
  1288. ],
  1289. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1290. "parameters": [
  1291. {
  1292. "type": "integer",
  1293. "description": "所属机构ID",
  1294. "name": "userid",
  1295. "in": "query",
  1296. "required": true
  1297. }
  1298. ],
  1299. "responses": {
  1300. "200": {
  1301. "description": "OK",
  1302. "schema": {
  1303. "type": "array",
  1304. "items": {
  1305. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1306. }
  1307. }
  1308. },
  1309. "500": {
  1310. "description": "Internal Server Error",
  1311. "schema": {
  1312. "$ref": "#/definitions/app.Response"
  1313. }
  1314. }
  1315. }
  1316. }
  1317. },
  1318. "/Ermcp/QueryBusinessDj": {
  1319. "get": {
  1320. "security": [
  1321. {
  1322. "ApiKeyAuth": []
  1323. }
  1324. ],
  1325. "produces": [
  1326. "application/json"
  1327. ],
  1328. "tags": [
  1329. "企业风险管理(app)"
  1330. ],
  1331. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1332. "parameters": [
  1333. {
  1334. "type": "integer",
  1335. "description": "用户ID",
  1336. "name": "UserId",
  1337. "in": "query",
  1338. "required": true
  1339. },
  1340. {
  1341. "type": "string",
  1342. "description": "现货合同ID, 不填则查所有",
  1343. "name": "relatedid",
  1344. "in": "query"
  1345. }
  1346. ],
  1347. "responses": {
  1348. "200": {
  1349. "description": "OK",
  1350. "schema": {
  1351. "type": "array",
  1352. "items": {
  1353. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1354. }
  1355. }
  1356. },
  1357. "500": {
  1358. "description": "Internal Server Error",
  1359. "schema": {
  1360. "$ref": "#/definitions/app.Response"
  1361. }
  1362. }
  1363. }
  1364. }
  1365. },
  1366. "/Ermcp/QueryBusinessFp": {
  1367. "get": {
  1368. "security": [
  1369. {
  1370. "ApiKeyAuth": []
  1371. }
  1372. ],
  1373. "produces": [
  1374. "application/json"
  1375. ],
  1376. "tags": [
  1377. "企业风险管理(app)"
  1378. ],
  1379. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1380. "parameters": [
  1381. {
  1382. "type": "integer",
  1383. "description": "用户ID",
  1384. "name": "UserId",
  1385. "in": "query",
  1386. "required": true
  1387. },
  1388. {
  1389. "type": "string",
  1390. "description": "现货合同ID, 不填则查所有",
  1391. "name": "relatedid",
  1392. "in": "query"
  1393. }
  1394. ],
  1395. "responses": {
  1396. "200": {
  1397. "description": "OK",
  1398. "schema": {
  1399. "type": "array",
  1400. "items": {
  1401. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1402. }
  1403. }
  1404. },
  1405. "500": {
  1406. "description": "Internal Server Error",
  1407. "schema": {
  1408. "$ref": "#/definitions/app.Response"
  1409. }
  1410. }
  1411. }
  1412. }
  1413. },
  1414. "/Ermcp/QueryBusinessJs": {
  1415. "get": {
  1416. "security": [
  1417. {
  1418. "ApiKeyAuth": []
  1419. }
  1420. ],
  1421. "produces": [
  1422. "application/json"
  1423. ],
  1424. "tags": [
  1425. "企业风险管理(app)"
  1426. ],
  1427. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1428. "parameters": [
  1429. {
  1430. "type": "integer",
  1431. "description": "用户ID",
  1432. "name": "UserId",
  1433. "in": "query",
  1434. "required": true
  1435. },
  1436. {
  1437. "type": "string",
  1438. "description": "现货合同ID, 不填则查所有",
  1439. "name": "relatedid",
  1440. "in": "query"
  1441. }
  1442. ],
  1443. "responses": {
  1444. "200": {
  1445. "description": "OK",
  1446. "schema": {
  1447. "type": "array",
  1448. "items": {
  1449. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1450. }
  1451. }
  1452. },
  1453. "500": {
  1454. "description": "Internal Server Error",
  1455. "schema": {
  1456. "$ref": "#/definitions/app.Response"
  1457. }
  1458. }
  1459. }
  1460. }
  1461. },
  1462. "/Ermcp/QueryBusinessJsEx": {
  1463. "get": {
  1464. "security": [
  1465. {
  1466. "ApiKeyAuth": []
  1467. }
  1468. ],
  1469. "produces": [
  1470. "application/json"
  1471. ],
  1472. "tags": [
  1473. "企业风险管理(app)"
  1474. ],
  1475. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1476. "parameters": [
  1477. {
  1478. "type": "integer",
  1479. "description": "用户ID",
  1480. "name": "UserId",
  1481. "in": "query",
  1482. "required": true
  1483. },
  1484. {
  1485. "type": "string",
  1486. "description": "现货合同ID, 不填则查所有",
  1487. "name": "relatedid",
  1488. "in": "query"
  1489. }
  1490. ],
  1491. "responses": {
  1492. "200": {
  1493. "description": "OK",
  1494. "schema": {
  1495. "type": "array",
  1496. "items": {
  1497. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1498. }
  1499. }
  1500. },
  1501. "500": {
  1502. "description": "Internal Server Error",
  1503. "schema": {
  1504. "$ref": "#/definitions/app.Response"
  1505. }
  1506. }
  1507. }
  1508. }
  1509. },
  1510. "/Ermcp/QueryBusinessKx": {
  1511. "get": {
  1512. "security": [
  1513. {
  1514. "ApiKeyAuth": []
  1515. }
  1516. ],
  1517. "produces": [
  1518. "application/json"
  1519. ],
  1520. "tags": [
  1521. "企业风险管理(app)"
  1522. ],
  1523. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1524. "parameters": [
  1525. {
  1526. "type": "integer",
  1527. "description": "用户ID",
  1528. "name": "UserId",
  1529. "in": "query",
  1530. "required": true
  1531. },
  1532. {
  1533. "type": "string",
  1534. "description": "现货合同ID, 不填则查所有",
  1535. "name": "relatedid",
  1536. "in": "query"
  1537. }
  1538. ],
  1539. "responses": {
  1540. "200": {
  1541. "description": "OK",
  1542. "schema": {
  1543. "type": "array",
  1544. "items": {
  1545. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1546. }
  1547. }
  1548. },
  1549. "500": {
  1550. "description": "Internal Server Error",
  1551. "schema": {
  1552. "$ref": "#/definitions/app.Response"
  1553. }
  1554. }
  1555. }
  1556. }
  1557. },
  1558. "/Ermcp/QueryChangeLog": {
  1559. "get": {
  1560. "security": [
  1561. {
  1562. "ApiKeyAuth": []
  1563. }
  1564. ],
  1565. "produces": [
  1566. "application/json"
  1567. ],
  1568. "tags": [
  1569. "企业风险管理(app)"
  1570. ],
  1571. "summary": "查询变更记录",
  1572. "parameters": [
  1573. {
  1574. "type": "string",
  1575. "description": "合同ID",
  1576. "name": "RelatedId",
  1577. "in": "query",
  1578. "required": true
  1579. }
  1580. ],
  1581. "responses": {
  1582. "200": {
  1583. "description": "OK",
  1584. "schema": {
  1585. "type": "array",
  1586. "items": {
  1587. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1588. }
  1589. }
  1590. },
  1591. "500": {
  1592. "description": "Internal Server Error",
  1593. "schema": {
  1594. "$ref": "#/definitions/app.Response"
  1595. }
  1596. }
  1597. }
  1598. }
  1599. },
  1600. "/Ermcp/QueryContract": {
  1601. "get": {
  1602. "security": [
  1603. {
  1604. "ApiKeyAuth": []
  1605. }
  1606. ],
  1607. "produces": [
  1608. "application/json"
  1609. ],
  1610. "tags": [
  1611. "企业风险管理(app)"
  1612. ],
  1613. "summary": "查询合同(采购和销售)",
  1614. "parameters": [
  1615. {
  1616. "type": "integer",
  1617. "description": "用户ID",
  1618. "name": "userId",
  1619. "in": "query",
  1620. "required": true
  1621. },
  1622. {
  1623. "type": "integer",
  1624. "description": "合同类型 1-采购, -1-销售",
  1625. "name": "contracttype",
  1626. "in": "query",
  1627. "required": true
  1628. },
  1629. {
  1630. "type": "integer",
  1631. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1632. "name": "querytype",
  1633. "in": "query",
  1634. "required": true
  1635. }
  1636. ],
  1637. "responses": {
  1638. "200": {
  1639. "description": "OK",
  1640. "schema": {
  1641. "type": "array",
  1642. "items": {
  1643. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1644. }
  1645. }
  1646. },
  1647. "500": {
  1648. "description": "Internal Server Error",
  1649. "schema": {
  1650. "$ref": "#/definitions/app.Response"
  1651. }
  1652. }
  1653. }
  1654. }
  1655. },
  1656. "/Ermcp/QueryErmcpOrderDetails": {
  1657. "get": {
  1658. "security": [
  1659. {
  1660. "ApiKeyAuth": []
  1661. }
  1662. ],
  1663. "produces": [
  1664. "application/json"
  1665. ],
  1666. "tags": [
  1667. "企业风险管理(app)"
  1668. ],
  1669. "summary": "获取企业风管期货委托单信息",
  1670. "parameters": [
  1671. {
  1672. "type": "integer",
  1673. "description": "资金账户ID",
  1674. "name": "accountID",
  1675. "in": "query",
  1676. "required": true
  1677. }
  1678. ],
  1679. "responses": {
  1680. "200": {
  1681. "description": "OK",
  1682. "schema": {
  1683. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1684. }
  1685. },
  1686. "500": {
  1687. "description": "Internal Server Error",
  1688. "schema": {
  1689. "$ref": "#/definitions/app.Response"
  1690. }
  1691. }
  1692. }
  1693. }
  1694. },
  1695. "/Ermcp/QueryErmcpTradePosition": {
  1696. "get": {
  1697. "security": [
  1698. {
  1699. "ApiKeyAuth": []
  1700. }
  1701. ],
  1702. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1703. "produces": [
  1704. "application/json"
  1705. ],
  1706. "tags": [
  1707. "企业风险管理(app)"
  1708. ],
  1709. "summary": "获取企业风管期货持仓头寸信息",
  1710. "parameters": [
  1711. {
  1712. "type": "integer",
  1713. "description": "资金账户ID",
  1714. "name": "accountID",
  1715. "in": "query",
  1716. "required": true
  1717. },
  1718. {
  1719. "type": "integer",
  1720. "description": "所属市场ID",
  1721. "name": "marketID",
  1722. "in": "query"
  1723. }
  1724. ],
  1725. "responses": {
  1726. "200": {
  1727. "description": "OK",
  1728. "schema": {
  1729. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  1730. }
  1731. },
  1732. "500": {
  1733. "description": "Internal Server Error",
  1734. "schema": {
  1735. "$ref": "#/definitions/app.Response"
  1736. }
  1737. }
  1738. }
  1739. }
  1740. },
  1741. "/Ermcp/QueryExposureDetail": {
  1742. "get": {
  1743. "security": [
  1744. {
  1745. "ApiKeyAuth": []
  1746. }
  1747. ],
  1748. "produces": [
  1749. "application/json"
  1750. ],
  1751. "tags": [
  1752. "企业风险管理(app)"
  1753. ],
  1754. "summary": "查询敞口现货明细",
  1755. "parameters": [
  1756. {
  1757. "type": "integer",
  1758. "description": "所属机构ID",
  1759. "name": "areaUserId",
  1760. "in": "query",
  1761. "required": true
  1762. },
  1763. {
  1764. "type": "integer",
  1765. "description": "套保商品",
  1766. "name": "middleGoodsId",
  1767. "in": "query",
  1768. "required": true
  1769. }
  1770. ],
  1771. "responses": {
  1772. "200": {
  1773. "description": "OK",
  1774. "schema": {
  1775. "type": "array",
  1776. "items": {
  1777. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1778. }
  1779. }
  1780. },
  1781. "500": {
  1782. "description": "Internal Server Error",
  1783. "schema": {
  1784. "$ref": "#/definitions/app.Response"
  1785. }
  1786. }
  1787. }
  1788. }
  1789. },
  1790. "/Ermcp/QueryExposureHedgePosition": {
  1791. "get": {
  1792. "security": [
  1793. {
  1794. "ApiKeyAuth": []
  1795. }
  1796. ],
  1797. "produces": [
  1798. "application/json"
  1799. ],
  1800. "tags": [
  1801. "企业风险管理(app)"
  1802. ],
  1803. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1804. "parameters": [
  1805. {
  1806. "type": "integer",
  1807. "description": "所属机构ID",
  1808. "name": "areaUserId",
  1809. "in": "query",
  1810. "required": true
  1811. }
  1812. ],
  1813. "responses": {
  1814. "200": {
  1815. "description": "OK",
  1816. "schema": {
  1817. "type": "array",
  1818. "items": {
  1819. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1820. }
  1821. }
  1822. },
  1823. "500": {
  1824. "description": "Internal Server Error",
  1825. "schema": {
  1826. "$ref": "#/definitions/app.Response"
  1827. }
  1828. }
  1829. }
  1830. }
  1831. },
  1832. "/Ermcp/QueryExposureHedgePositionDetail": {
  1833. "get": {
  1834. "security": [
  1835. {
  1836. "ApiKeyAuth": []
  1837. }
  1838. ],
  1839. "produces": [
  1840. "application/json"
  1841. ],
  1842. "tags": [
  1843. "企业风险管理(app)"
  1844. ],
  1845. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1846. "parameters": [
  1847. {
  1848. "type": "integer",
  1849. "description": "所属机构ID",
  1850. "name": "areaUserId",
  1851. "in": "query",
  1852. "required": true
  1853. },
  1854. {
  1855. "type": "integer",
  1856. "description": "商品id",
  1857. "name": "goodsId",
  1858. "in": "query",
  1859. "required": true
  1860. }
  1861. ],
  1862. "responses": {
  1863. "200": {
  1864. "description": "OK",
  1865. "schema": {
  1866. "type": "array",
  1867. "items": {
  1868. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1869. }
  1870. }
  1871. },
  1872. "500": {
  1873. "description": "Internal Server Error",
  1874. "schema": {
  1875. "$ref": "#/definitions/app.Response"
  1876. }
  1877. }
  1878. }
  1879. }
  1880. },
  1881. "/Ermcp/QueryExposureSpot": {
  1882. "get": {
  1883. "security": [
  1884. {
  1885. "ApiKeyAuth": []
  1886. }
  1887. ],
  1888. "produces": [
  1889. "application/json"
  1890. ],
  1891. "tags": [
  1892. "企业风险管理(app)"
  1893. ],
  1894. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1895. "parameters": [
  1896. {
  1897. "type": "integer",
  1898. "description": "所属机构ID",
  1899. "name": "areaUserId",
  1900. "in": "query",
  1901. "required": true
  1902. }
  1903. ],
  1904. "responses": {
  1905. "200": {
  1906. "description": "OK",
  1907. "schema": {
  1908. "type": "array",
  1909. "items": {
  1910. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1911. }
  1912. }
  1913. },
  1914. "500": {
  1915. "description": "Internal Server Error",
  1916. "schema": {
  1917. "$ref": "#/definitions/app.Response"
  1918. }
  1919. }
  1920. }
  1921. }
  1922. },
  1923. "/Ermcp/QueryExposureSpotDetail": {
  1924. "get": {
  1925. "security": [
  1926. {
  1927. "ApiKeyAuth": []
  1928. }
  1929. ],
  1930. "produces": [
  1931. "application/json"
  1932. ],
  1933. "tags": [
  1934. "企业风险管理(app)"
  1935. ],
  1936. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1937. "parameters": [
  1938. {
  1939. "type": "integer",
  1940. "description": "所属机构ID",
  1941. "name": "areaUserId",
  1942. "in": "query",
  1943. "required": true
  1944. },
  1945. {
  1946. "type": "integer",
  1947. "description": "现货品种ID",
  1948. "name": "wrstandardId",
  1949. "in": "query",
  1950. "required": true
  1951. }
  1952. ],
  1953. "responses": {
  1954. "200": {
  1955. "description": "OK",
  1956. "schema": {
  1957. "type": "array",
  1958. "items": {
  1959. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1960. }
  1961. }
  1962. },
  1963. "500": {
  1964. "description": "Internal Server Error",
  1965. "schema": {
  1966. "$ref": "#/definitions/app.Response"
  1967. }
  1968. }
  1969. }
  1970. }
  1971. },
  1972. "/Ermcp/QueryGGConvertConfig": {
  1973. "get": {
  1974. "security": [
  1975. {
  1976. "ApiKeyAuth": []
  1977. }
  1978. ],
  1979. "produces": [
  1980. "application/json"
  1981. ],
  1982. "tags": [
  1983. "企业风险管理(app)"
  1984. ],
  1985. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1986. "parameters": [
  1987. {
  1988. "type": "integer",
  1989. "description": "品种id(不填则查所有)",
  1990. "name": "goodsgroupid",
  1991. "in": "query"
  1992. }
  1993. ],
  1994. "responses": {
  1995. "200": {
  1996. "description": "OK",
  1997. "schema": {
  1998. "type": "array",
  1999. "items": {
  2000. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2001. }
  2002. }
  2003. },
  2004. "500": {
  2005. "description": "Internal Server Error",
  2006. "schema": {
  2007. "$ref": "#/definitions/app.Response"
  2008. }
  2009. }
  2010. }
  2011. }
  2012. },
  2013. "/Ermcp/QueryHedgePlan": {
  2014. "get": {
  2015. "security": [
  2016. {
  2017. "ApiKeyAuth": []
  2018. }
  2019. ],
  2020. "produces": [
  2021. "application/json"
  2022. ],
  2023. "tags": [
  2024. "企业风险管理(app)"
  2025. ],
  2026. "summary": "查询套保计划",
  2027. "parameters": [
  2028. {
  2029. "type": "integer",
  2030. "description": "用户ID",
  2031. "name": "userId",
  2032. "in": "query",
  2033. "required": true
  2034. },
  2035. {
  2036. "type": "string",
  2037. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2038. "name": "HedgePlanStatus",
  2039. "in": "query",
  2040. "required": true
  2041. }
  2042. ],
  2043. "responses": {
  2044. "200": {
  2045. "description": "OK",
  2046. "schema": {
  2047. "type": "array",
  2048. "items": {
  2049. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2050. }
  2051. }
  2052. },
  2053. "500": {
  2054. "description": "Internal Server Error",
  2055. "schema": {
  2056. "$ref": "#/definitions/app.Response"
  2057. }
  2058. }
  2059. }
  2060. }
  2061. },
  2062. "/Ermcp/QueryHisExposure": {
  2063. "get": {
  2064. "security": [
  2065. {
  2066. "ApiKeyAuth": []
  2067. }
  2068. ],
  2069. "produces": [
  2070. "application/json"
  2071. ],
  2072. "tags": [
  2073. "企业风险管理(app)"
  2074. ],
  2075. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2076. "parameters": [
  2077. {
  2078. "type": "integer",
  2079. "description": "所属机构ID",
  2080. "name": "areaUserId",
  2081. "in": "query",
  2082. "required": true
  2083. },
  2084. {
  2085. "type": "integer",
  2086. "description": "每个品种记录数",
  2087. "name": "lastNum",
  2088. "in": "query",
  2089. "required": true
  2090. }
  2091. ],
  2092. "responses": {
  2093. "200": {
  2094. "description": "OK",
  2095. "schema": {
  2096. "type": "array",
  2097. "items": {
  2098. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2099. }
  2100. }
  2101. },
  2102. "500": {
  2103. "description": "Internal Server Error",
  2104. "schema": {
  2105. "$ref": "#/definitions/app.Response"
  2106. }
  2107. }
  2108. }
  2109. }
  2110. },
  2111. "/Ermcp/QueryMiddleGoods": {
  2112. "get": {
  2113. "security": [
  2114. {
  2115. "ApiKeyAuth": []
  2116. }
  2117. ],
  2118. "produces": [
  2119. "application/json"
  2120. ],
  2121. "tags": [
  2122. "企业风险管理(app)"
  2123. ],
  2124. "summary": "查询套保品种(菜单:套保品种)",
  2125. "parameters": [
  2126. {
  2127. "type": "integer",
  2128. "description": "所属机构ID",
  2129. "name": "userid",
  2130. "in": "query",
  2131. "required": true
  2132. },
  2133. {
  2134. "type": "integer",
  2135. "description": "状态 0-停用 1-正常",
  2136. "name": "status",
  2137. "in": "query",
  2138. "required": true
  2139. }
  2140. ],
  2141. "responses": {
  2142. "200": {
  2143. "description": "OK",
  2144. "schema": {
  2145. "type": "array",
  2146. "items": {
  2147. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2148. }
  2149. }
  2150. },
  2151. "500": {
  2152. "description": "Internal Server Error",
  2153. "schema": {
  2154. "$ref": "#/definitions/app.Response"
  2155. }
  2156. }
  2157. }
  2158. }
  2159. },
  2160. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2161. "get": {
  2162. "security": [
  2163. {
  2164. "ApiKeyAuth": []
  2165. }
  2166. ],
  2167. "produces": [
  2168. "application/json"
  2169. ],
  2170. "tags": [
  2171. "企业风险管理(app)"
  2172. ],
  2173. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2174. "parameters": [
  2175. {
  2176. "type": "integer",
  2177. "description": "所属机构ID",
  2178. "name": "userid",
  2179. "in": "query",
  2180. "required": true
  2181. },
  2182. {
  2183. "type": "integer",
  2184. "description": "套保品种id",
  2185. "name": "middlegoodsid",
  2186. "in": "query",
  2187. "required": true
  2188. }
  2189. ],
  2190. "responses": {
  2191. "200": {
  2192. "description": "OK",
  2193. "schema": {
  2194. "type": "array",
  2195. "items": {
  2196. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2197. }
  2198. }
  2199. },
  2200. "500": {
  2201. "description": "Internal Server Error",
  2202. "schema": {
  2203. "$ref": "#/definitions/app.Response"
  2204. }
  2205. }
  2206. }
  2207. }
  2208. },
  2209. "/Ermcp/QueryMiddleGoodsDetail": {
  2210. "get": {
  2211. "security": [
  2212. {
  2213. "ApiKeyAuth": []
  2214. }
  2215. ],
  2216. "produces": [
  2217. "application/json"
  2218. ],
  2219. "tags": [
  2220. "企业风险管理(app)"
  2221. ],
  2222. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2223. "parameters": [
  2224. {
  2225. "type": "integer",
  2226. "description": "所属机构ID",
  2227. "name": "userid",
  2228. "in": "query",
  2229. "required": true
  2230. },
  2231. {
  2232. "type": "integer",
  2233. "description": "套保品种id",
  2234. "name": "middlegoodsid",
  2235. "in": "query",
  2236. "required": true
  2237. }
  2238. ],
  2239. "responses": {
  2240. "200": {
  2241. "description": "OK",
  2242. "schema": {
  2243. "type": "array",
  2244. "items": {
  2245. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2246. }
  2247. }
  2248. },
  2249. "500": {
  2250. "description": "Internal Server Error",
  2251. "schema": {
  2252. "$ref": "#/definitions/app.Response"
  2253. }
  2254. }
  2255. }
  2256. }
  2257. },
  2258. "/Ermcp/QueryPendingAuditInfo": {
  2259. "get": {
  2260. "security": [
  2261. {
  2262. "ApiKeyAuth": []
  2263. }
  2264. ],
  2265. "produces": [
  2266. "application/json"
  2267. ],
  2268. "tags": [
  2269. "企业风险管理(app)"
  2270. ],
  2271. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2272. "parameters": [
  2273. {
  2274. "type": "integer",
  2275. "description": "用户ID",
  2276. "name": "UserId",
  2277. "in": "query",
  2278. "required": true
  2279. }
  2280. ],
  2281. "responses": {
  2282. "200": {
  2283. "description": "OK",
  2284. "schema": {
  2285. "type": "array",
  2286. "items": {
  2287. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2288. }
  2289. }
  2290. },
  2291. "500": {
  2292. "description": "Internal Server Error",
  2293. "schema": {
  2294. "$ref": "#/definitions/app.Response"
  2295. }
  2296. }
  2297. }
  2298. }
  2299. },
  2300. "/Ermcp/QueryRealtimeExposure": {
  2301. "get": {
  2302. "security": [
  2303. {
  2304. "ApiKeyAuth": []
  2305. }
  2306. ],
  2307. "produces": [
  2308. "application/json"
  2309. ],
  2310. "tags": [
  2311. "企业风险管理(app)"
  2312. ],
  2313. "summary": "查询实时敞口",
  2314. "parameters": [
  2315. {
  2316. "type": "integer",
  2317. "description": "所属机构ID",
  2318. "name": "AreaUserID",
  2319. "in": "query",
  2320. "required": true
  2321. }
  2322. ],
  2323. "responses": {
  2324. "200": {
  2325. "description": "OK",
  2326. "schema": {
  2327. "type": "array",
  2328. "items": {
  2329. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2330. }
  2331. }
  2332. },
  2333. "500": {
  2334. "description": "Internal Server Error",
  2335. "schema": {
  2336. "$ref": "#/definitions/app.Response"
  2337. }
  2338. }
  2339. }
  2340. }
  2341. },
  2342. "/Ermcp/QueryRealtimeExposurePosition": {
  2343. "get": {
  2344. "security": [
  2345. {
  2346. "ApiKeyAuth": []
  2347. }
  2348. ],
  2349. "produces": [
  2350. "application/json"
  2351. ],
  2352. "tags": [
  2353. "企业风险管理(app)"
  2354. ],
  2355. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2356. "parameters": [
  2357. {
  2358. "type": "integer",
  2359. "description": "所属机构ID",
  2360. "name": "areaUserId",
  2361. "in": "query",
  2362. "required": true
  2363. },
  2364. {
  2365. "type": "integer",
  2366. "description": "套保商品ID",
  2367. "name": "middleGoodsId",
  2368. "in": "query",
  2369. "required": true
  2370. }
  2371. ],
  2372. "responses": {
  2373. "200": {
  2374. "description": "OK",
  2375. "schema": {
  2376. "type": "array",
  2377. "items": {
  2378. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2379. }
  2380. }
  2381. },
  2382. "500": {
  2383. "description": "Internal Server Error",
  2384. "schema": {
  2385. "$ref": "#/definitions/app.Response"
  2386. }
  2387. }
  2388. }
  2389. }
  2390. },
  2391. "/Ermcp/QuerySpotContract": {
  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": "integer",
  2415. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  2416. "name": "QueryType",
  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.QrySpotContractRsp"
  2428. }
  2429. }
  2430. },
  2431. "500": {
  2432. "description": "Internal Server Error",
  2433. "schema": {
  2434. "$ref": "#/definitions/app.Response"
  2435. }
  2436. }
  2437. }
  2438. }
  2439. },
  2440. "/Ermcp/QueryUserInfo": {
  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": "MemberUserID",
  2459. "in": "query",
  2460. "required": true
  2461. },
  2462. {
  2463. "type": "integer",
  2464. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2465. "name": "queryType",
  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.QryUserInfoRsp"
  2477. }
  2478. }
  2479. },
  2480. "500": {
  2481. "description": "Internal Server Error",
  2482. "schema": {
  2483. "$ref": "#/definitions/app.Response"
  2484. }
  2485. }
  2486. }
  2487. }
  2488. },
  2489. "/Ermcp/QueryWrStandard": {
  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.QryWrStandardRsp"
  2526. }
  2527. }
  2528. },
  2529. "500": {
  2530. "description": "Internal Server Error",
  2531. "schema": {
  2532. "$ref": "#/definitions/app.Response"
  2533. }
  2534. }
  2535. }
  2536. }
  2537. },
  2538. "/Ermcp/QueryWrStandardDetail": {
  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": "wrstandardid",
  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.QryWrStandardDetailRsp"
  2575. }
  2576. }
  2577. },
  2578. "500": {
  2579. "description": "Internal Server Error",
  2580. "schema": {
  2581. "$ref": "#/definitions/app.Response"
  2582. }
  2583. }
  2584. }
  2585. }
  2586. },
  2587. "/Erms2/QueryArbitrageStrategy": {
  2588. "get": {
  2589. "security": [
  2590. {
  2591. "ApiKeyAuth": []
  2592. }
  2593. ],
  2594. "produces": [
  2595. "application/json"
  2596. ],
  2597. "tags": [
  2598. "风险管理"
  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": "string",
  2611. "description": "商品组ID(品种ID)",
  2612. "name": "goodsgroupid",
  2613. "in": "query"
  2614. }
  2615. ],
  2616. "responses": {
  2617. "200": {
  2618. "description": "OK",
  2619. "schema": {
  2620. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  2621. }
  2622. },
  2623. "500": {
  2624. "description": "Internal Server Error",
  2625. "schema": {
  2626. "$ref": "#/definitions/app.Response"
  2627. }
  2628. }
  2629. }
  2630. }
  2631. },
  2632. "/Erms2/QueryInnerTradeDetail": {
  2633. "get": {
  2634. "security": [
  2635. {
  2636. "ApiKeyAuth": []
  2637. }
  2638. ],
  2639. "produces": [
  2640. "application/json"
  2641. ],
  2642. "tags": [
  2643. "风险管理"
  2644. ],
  2645. "summary": "查询内部成交单信息",
  2646. "parameters": [
  2647. {
  2648. "type": "integer",
  2649. "description": "资金账户",
  2650. "name": "accountid",
  2651. "in": "query",
  2652. "required": true
  2653. }
  2654. ],
  2655. "responses": {
  2656. "200": {
  2657. "description": "OK",
  2658. "schema": {
  2659. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  2660. }
  2661. },
  2662. "500": {
  2663. "description": "Internal Server Error",
  2664. "schema": {
  2665. "$ref": "#/definitions/app.Response"
  2666. }
  2667. }
  2668. }
  2669. }
  2670. },
  2671. "/Erms2/QuerySpotContract": {
  2672. "get": {
  2673. "security": [
  2674. {
  2675. "ApiKeyAuth": []
  2676. }
  2677. ],
  2678. "produces": [
  2679. "application/json"
  2680. ],
  2681. "tags": [
  2682. "风险管理"
  2683. ],
  2684. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  2685. "parameters": [
  2686. {
  2687. "type": "integer",
  2688. "description": "策略申请ID",
  2689. "name": "asapplyid",
  2690. "in": "query",
  2691. "required": true
  2692. },
  2693. {
  2694. "type": "integer",
  2695. "description": "现货合同ID",
  2696. "name": "spotcontractid",
  2697. "in": "query"
  2698. }
  2699. ],
  2700. "responses": {
  2701. "200": {
  2702. "description": "OK",
  2703. "schema": {
  2704. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  2705. }
  2706. },
  2707. "500": {
  2708. "description": "Internal Server Error",
  2709. "schema": {
  2710. "$ref": "#/definitions/app.Response"
  2711. }
  2712. }
  2713. }
  2714. }
  2715. },
  2716. "/Erms3/AddErms2ASApply": {
  2717. "post": {
  2718. "security": [
  2719. {
  2720. "ApiKeyAuth": []
  2721. }
  2722. ],
  2723. "produces": [
  2724. "application/json"
  2725. ],
  2726. "tags": [
  2727. "风险管理v3"
  2728. ],
  2729. "summary": "新增期现套利业务申请",
  2730. "parameters": [
  2731. {
  2732. "description": "申请参数",
  2733. "name": "jsonBody",
  2734. "in": "body",
  2735. "required": true,
  2736. "schema": {
  2737. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2738. }
  2739. }
  2740. ],
  2741. "responses": {
  2742. "200": {
  2743. "description": "OK",
  2744. "schema": {
  2745. "$ref": "#/definitions/app.Response"
  2746. }
  2747. },
  2748. "500": {
  2749. "description": "Internal Server Error",
  2750. "schema": {
  2751. "$ref": "#/definitions/app.Response"
  2752. }
  2753. }
  2754. }
  2755. }
  2756. },
  2757. "/Erms3/AddErms2SpotTradeApply": {
  2758. "post": {
  2759. "security": [
  2760. {
  2761. "ApiKeyAuth": []
  2762. }
  2763. ],
  2764. "produces": [
  2765. "application/json"
  2766. ],
  2767. "tags": [
  2768. "风险管理v3"
  2769. ],
  2770. "summary": "新增现货贸易业务申请",
  2771. "parameters": [
  2772. {
  2773. "description": "申请参数",
  2774. "name": "jsonBody",
  2775. "in": "body",
  2776. "required": true,
  2777. "schema": {
  2778. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2779. }
  2780. }
  2781. ],
  2782. "responses": {
  2783. "200": {
  2784. "description": "OK",
  2785. "schema": {
  2786. "$ref": "#/definitions/app.Response"
  2787. }
  2788. },
  2789. "500": {
  2790. "description": "Internal Server Error",
  2791. "schema": {
  2792. "$ref": "#/definitions/app.Response"
  2793. }
  2794. }
  2795. }
  2796. }
  2797. },
  2798. "/Erms3/AddSpotContractApply": {
  2799. "post": {
  2800. "security": [
  2801. {
  2802. "ApiKeyAuth": []
  2803. }
  2804. ],
  2805. "produces": [
  2806. "application/json"
  2807. ],
  2808. "tags": [
  2809. "风险管理v3"
  2810. ],
  2811. "summary": "新增现货合同申请",
  2812. "parameters": [
  2813. {
  2814. "description": "申请参数",
  2815. "name": "jsonBody",
  2816. "in": "body",
  2817. "required": true,
  2818. "schema": {
  2819. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2820. }
  2821. }
  2822. ],
  2823. "responses": {
  2824. "200": {
  2825. "description": "OK",
  2826. "schema": {
  2827. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2828. }
  2829. },
  2830. "500": {
  2831. "description": "Internal Server Error",
  2832. "schema": {
  2833. "$ref": "#/definitions/app.Response"
  2834. }
  2835. }
  2836. }
  2837. }
  2838. },
  2839. "/Erms3/AddUserInfoApply": {
  2840. "post": {
  2841. "security": [
  2842. {
  2843. "ApiKeyAuth": []
  2844. }
  2845. ],
  2846. "produces": [
  2847. "application/json"
  2848. ],
  2849. "tags": [
  2850. "风险管理v3"
  2851. ],
  2852. "summary": "新增客户申请",
  2853. "parameters": [
  2854. {
  2855. "description": "用户信息",
  2856. "name": "jsonBody",
  2857. "in": "body",
  2858. "required": true,
  2859. "schema": {
  2860. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2861. }
  2862. }
  2863. ],
  2864. "responses": {
  2865. "200": {
  2866. "description": "OK",
  2867. "schema": {
  2868. "$ref": "#/definitions/app.Response"
  2869. }
  2870. },
  2871. "500": {
  2872. "description": "Internal Server Error",
  2873. "schema": {
  2874. "$ref": "#/definitions/app.Response"
  2875. }
  2876. }
  2877. }
  2878. }
  2879. },
  2880. "/Erms3/ModifyUserInfoApply": {
  2881. "post": {
  2882. "security": [
  2883. {
  2884. "ApiKeyAuth": []
  2885. }
  2886. ],
  2887. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  2888. "produces": [
  2889. "application/json"
  2890. ],
  2891. "tags": [
  2892. "风险管理v3"
  2893. ],
  2894. "summary": "修改客户申请",
  2895. "parameters": [
  2896. {
  2897. "description": "用户信息",
  2898. "name": "jsonBody",
  2899. "in": "body",
  2900. "required": true,
  2901. "schema": {
  2902. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  2903. }
  2904. }
  2905. ],
  2906. "responses": {
  2907. "200": {
  2908. "description": "OK",
  2909. "schema": {
  2910. "$ref": "#/definitions/app.Response"
  2911. }
  2912. },
  2913. "500": {
  2914. "description": "Internal Server Error",
  2915. "schema": {
  2916. "$ref": "#/definitions/app.Response"
  2917. }
  2918. }
  2919. }
  2920. }
  2921. },
  2922. "/Erms3/QueryBusinessInfo": {
  2923. "get": {
  2924. "security": [
  2925. {
  2926. "ApiKeyAuth": []
  2927. }
  2928. ],
  2929. "produces": [
  2930. "application/json"
  2931. ],
  2932. "tags": [
  2933. "风险管理v3"
  2934. ],
  2935. "summary": "查询业务表单数据",
  2936. "parameters": [
  2937. {
  2938. "type": "string",
  2939. "description": "资金账号ID列表,用逗号分隔",
  2940. "name": "accountids",
  2941. "in": "query",
  2942. "required": true
  2943. },
  2944. {
  2945. "type": "integer",
  2946. "description": "状态,0为未结束 1为已结束",
  2947. "name": "status",
  2948. "in": "query",
  2949. "required": true
  2950. }
  2951. ],
  2952. "responses": {
  2953. "200": {
  2954. "description": "OK",
  2955. "schema": {
  2956. "type": "array",
  2957. "items": {
  2958. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  2959. }
  2960. }
  2961. },
  2962. "500": {
  2963. "description": "Internal Server Error",
  2964. "schema": {
  2965. "$ref": "#/definitions/app.Response"
  2966. }
  2967. }
  2968. }
  2969. }
  2970. },
  2971. "/Erms3/QueryPendingAuditContract": {
  2972. "get": {
  2973. "security": [
  2974. {
  2975. "ApiKeyAuth": []
  2976. }
  2977. ],
  2978. "produces": [
  2979. "application/json"
  2980. ],
  2981. "tags": [
  2982. "风险管理v3"
  2983. ],
  2984. "summary": "查询待审核合同",
  2985. "parameters": [
  2986. {
  2987. "type": "string",
  2988. "description": "资金账号ID列表,逗号隔开",
  2989. "name": "accountids",
  2990. "in": "query",
  2991. "required": true
  2992. },
  2993. {
  2994. "type": "integer",
  2995. "description": "合同类型 1-采购 -1-销售",
  2996. "name": "contracttype",
  2997. "in": "query",
  2998. "required": true
  2999. },
  3000. {
  3001. "type": "integer",
  3002. "description": "合同模式 1-普通 2-回购",
  3003. "name": "contractmode",
  3004. "in": "query",
  3005. "required": true
  3006. }
  3007. ],
  3008. "responses": {
  3009. "200": {
  3010. "description": "OK",
  3011. "schema": {
  3012. "type": "array",
  3013. "items": {
  3014. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3015. }
  3016. }
  3017. },
  3018. "500": {
  3019. "description": "Internal Server Error",
  3020. "schema": {
  3021. "$ref": "#/definitions/app.Response"
  3022. }
  3023. }
  3024. }
  3025. }
  3026. },
  3027. "/Erms3/QueryPendingBusiness": {
  3028. "get": {
  3029. "security": [
  3030. {
  3031. "ApiKeyAuth": []
  3032. }
  3033. ],
  3034. "produces": [
  3035. "application/json"
  3036. ],
  3037. "tags": [
  3038. "风险管理v3"
  3039. ],
  3040. "summary": "查询待审核基差贸易业务",
  3041. "parameters": [
  3042. {
  3043. "type": "string",
  3044. "description": "资金账号ID列表,逗号隔开",
  3045. "name": "accountids",
  3046. "in": "query",
  3047. "required": true
  3048. }
  3049. ],
  3050. "responses": {
  3051. "200": {
  3052. "description": "OK",
  3053. "schema": {
  3054. "type": "array",
  3055. "items": {
  3056. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3057. }
  3058. }
  3059. },
  3060. "500": {
  3061. "description": "Internal Server Error",
  3062. "schema": {
  3063. "$ref": "#/definitions/app.Response"
  3064. }
  3065. }
  3066. }
  3067. }
  3068. },
  3069. "/Erms3/QuerySpotContractAppleForm": {
  3070. "get": {
  3071. "security": [
  3072. {
  3073. "ApiKeyAuth": []
  3074. }
  3075. ],
  3076. "produces": [
  3077. "application/json"
  3078. ],
  3079. "tags": [
  3080. "风险管理v3"
  3081. ],
  3082. "summary": "查询合同申请表单数据",
  3083. "parameters": [
  3084. {
  3085. "type": "integer",
  3086. "description": "登录账号",
  3087. "name": "loginID",
  3088. "in": "query",
  3089. "required": true
  3090. }
  3091. ],
  3092. "responses": {
  3093. "200": {
  3094. "description": "OK",
  3095. "schema": {
  3096. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3097. }
  3098. },
  3099. "500": {
  3100. "description": "Internal Server Error",
  3101. "schema": {
  3102. "$ref": "#/definitions/app.Response"
  3103. }
  3104. }
  3105. }
  3106. }
  3107. },
  3108. "/Erms3/QuerySpotContractDetail": {
  3109. "get": {
  3110. "security": [
  3111. {
  3112. "ApiKeyAuth": []
  3113. }
  3114. ],
  3115. "produces": [
  3116. "application/json"
  3117. ],
  3118. "tags": [
  3119. "风险管理v3"
  3120. ],
  3121. "summary": "查询合同详细信息",
  3122. "parameters": [
  3123. {
  3124. "type": "string",
  3125. "description": "资金账号ID列表,用逗号分隔",
  3126. "name": "accountids",
  3127. "in": "query",
  3128. "required": true
  3129. },
  3130. {
  3131. "type": "integer",
  3132. "description": "合同类型,1为采购合同 -1为销售合同",
  3133. "name": "contracttype",
  3134. "in": "query",
  3135. "required": true
  3136. },
  3137. {
  3138. "type": "integer",
  3139. "description": "合同模式,1为普通合同 2为回购销售合同",
  3140. "name": "contractmode",
  3141. "in": "query",
  3142. "required": true
  3143. },
  3144. {
  3145. "type": "integer",
  3146. "description": "状态,0为履约中 1为已完成",
  3147. "name": "status",
  3148. "in": "query",
  3149. "required": true
  3150. }
  3151. ],
  3152. "responses": {
  3153. "200": {
  3154. "description": "OK",
  3155. "schema": {
  3156. "type": "array",
  3157. "items": {
  3158. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3159. }
  3160. }
  3161. },
  3162. "500": {
  3163. "description": "Internal Server Error",
  3164. "schema": {
  3165. "$ref": "#/definitions/app.Response"
  3166. }
  3167. }
  3168. }
  3169. }
  3170. },
  3171. "/Erms3/QueryUserInfoApplies": {
  3172. "get": {
  3173. "security": [
  3174. {
  3175. "ApiKeyAuth": []
  3176. }
  3177. ],
  3178. "produces": [
  3179. "application/json"
  3180. ],
  3181. "tags": [
  3182. "风险管理v3"
  3183. ],
  3184. "summary": "客户申请信息查询",
  3185. "parameters": [
  3186. {
  3187. "type": "integer",
  3188. "description": "页码",
  3189. "name": "page",
  3190. "in": "query"
  3191. },
  3192. {
  3193. "type": "integer",
  3194. "description": "每页条数",
  3195. "name": "pagesize",
  3196. "in": "query"
  3197. },
  3198. {
  3199. "type": "string",
  3200. "description": "客户名称,支持模糊查询",
  3201. "name": "userName",
  3202. "in": "query"
  3203. }
  3204. ],
  3205. "responses": {
  3206. "200": {
  3207. "description": "OK",
  3208. "schema": {
  3209. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3210. }
  3211. },
  3212. "500": {
  3213. "description": "Internal Server Error",
  3214. "schema": {
  3215. "$ref": "#/definitions/app.Response"
  3216. }
  3217. }
  3218. }
  3219. }
  3220. },
  3221. "/Erms3/QueryUserInfos": {
  3222. "get": {
  3223. "security": [
  3224. {
  3225. "ApiKeyAuth": []
  3226. }
  3227. ],
  3228. "produces": [
  3229. "application/json"
  3230. ],
  3231. "tags": [
  3232. "风险管理v3"
  3233. ],
  3234. "summary": "客户信息查询",
  3235. "parameters": [
  3236. {
  3237. "type": "integer",
  3238. "description": "页码",
  3239. "name": "page",
  3240. "in": "query"
  3241. },
  3242. {
  3243. "type": "integer",
  3244. "description": "每页条数",
  3245. "name": "pagesize",
  3246. "in": "query"
  3247. },
  3248. {
  3249. "type": "string",
  3250. "description": "客户名称,支持模糊查询",
  3251. "name": "userName",
  3252. "in": "query"
  3253. }
  3254. ],
  3255. "responses": {
  3256. "200": {
  3257. "description": "OK",
  3258. "schema": {
  3259. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3260. }
  3261. },
  3262. "500": {
  3263. "description": "Internal Server Error",
  3264. "schema": {
  3265. "$ref": "#/definitions/app.Response"
  3266. }
  3267. }
  3268. }
  3269. }
  3270. },
  3271. "/HSBY/GetHsbyMyCount": {
  3272. "get": {
  3273. "security": [
  3274. {
  3275. "ApiKeyAuth": []
  3276. }
  3277. ],
  3278. "description": "说明: 不包括已完成的数量。",
  3279. "produces": [
  3280. "application/json"
  3281. ],
  3282. "tags": [
  3283. "定制【海商报业】"
  3284. ],
  3285. "summary": "获取我的订单与包裹数量",
  3286. "parameters": [
  3287. {
  3288. "type": "string",
  3289. "description": "资金账户列表,格式:1,2,3",
  3290. "name": "accountIDs",
  3291. "in": "query",
  3292. "required": true
  3293. }
  3294. ],
  3295. "responses": {
  3296. "200": {
  3297. "description": "OK",
  3298. "schema": {
  3299. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3300. }
  3301. },
  3302. "500": {
  3303. "description": "Internal Server Error",
  3304. "schema": {
  3305. "$ref": "#/definitions/app.Response"
  3306. }
  3307. }
  3308. }
  3309. }
  3310. },
  3311. "/HSBY/QueryClientFixedADConfigs": {
  3312. "get": {
  3313. "security": [
  3314. {
  3315. "ApiKeyAuth": []
  3316. }
  3317. ],
  3318. "produces": [
  3319. "application/json"
  3320. ],
  3321. "tags": [
  3322. "定制【海商报业】"
  3323. ],
  3324. "summary": "获取终端固定广告配置",
  3325. "responses": {
  3326. "200": {
  3327. "description": "OK",
  3328. "schema": {
  3329. "$ref": "#/definitions/models.Clientfixedadconfig"
  3330. }
  3331. },
  3332. "500": {
  3333. "description": "Internal Server Error",
  3334. "schema": {
  3335. "$ref": "#/definitions/app.Response"
  3336. }
  3337. }
  3338. }
  3339. }
  3340. },
  3341. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  3342. "get": {
  3343. "security": [
  3344. {
  3345. "ApiKeyAuth": []
  3346. }
  3347. ],
  3348. "produces": [
  3349. "application/json"
  3350. ],
  3351. "tags": [
  3352. "定制【海商报业】"
  3353. ],
  3354. "summary": "查询\"我的订单 - 已完成\"单据信息",
  3355. "parameters": [
  3356. {
  3357. "type": "integer",
  3358. "description": "页码",
  3359. "name": "page",
  3360. "in": "query"
  3361. },
  3362. {
  3363. "type": "integer",
  3364. "description": "每页条数",
  3365. "name": "pagesize",
  3366. "in": "query"
  3367. },
  3368. {
  3369. "type": "string",
  3370. "description": "资金账户列表,格式:1,2,3",
  3371. "name": "accountIDs",
  3372. "in": "query",
  3373. "required": true
  3374. }
  3375. ],
  3376. "responses": {
  3377. "200": {
  3378. "description": "OK",
  3379. "schema": {
  3380. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  3381. }
  3382. },
  3383. "500": {
  3384. "description": "Internal Server Error",
  3385. "schema": {
  3386. "$ref": "#/definitions/app.Response"
  3387. }
  3388. }
  3389. }
  3390. }
  3391. },
  3392. "/HSBY/QueryHsbyGoodsOrderDetails": {
  3393. "get": {
  3394. "security": [
  3395. {
  3396. "ApiKeyAuth": []
  3397. }
  3398. ],
  3399. "description": "说明:查询结果已按委托价格和委托时间排序",
  3400. "produces": [
  3401. "application/json"
  3402. ],
  3403. "tags": [
  3404. "定制【海商报业】"
  3405. ],
  3406. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  3407. "parameters": [
  3408. {
  3409. "type": "integer",
  3410. "description": "商品ID",
  3411. "name": "goodsID",
  3412. "in": "query",
  3413. "required": true
  3414. },
  3415. {
  3416. "type": "string",
  3417. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  3418. "name": "accountIDs",
  3419. "in": "query"
  3420. },
  3421. {
  3422. "type": "integer",
  3423. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  3424. "name": "buyOrSell",
  3425. "in": "query"
  3426. },
  3427. {
  3428. "type": "number",
  3429. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  3430. "name": "price",
  3431. "in": "query"
  3432. },
  3433. {
  3434. "type": "integer",
  3435. "description": "档位,不传则默认为3档",
  3436. "name": "speed",
  3437. "in": "query"
  3438. }
  3439. ],
  3440. "responses": {
  3441. "200": {
  3442. "description": "OK",
  3443. "schema": {
  3444. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  3445. }
  3446. },
  3447. "500": {
  3448. "description": "Internal Server Error",
  3449. "schema": {
  3450. "$ref": "#/definitions/app.Response"
  3451. }
  3452. }
  3453. }
  3454. }
  3455. },
  3456. "/HSBY/QueryHsbyListingGoodsDetail": {
  3457. "get": {
  3458. "security": [
  3459. {
  3460. "ApiKeyAuth": []
  3461. }
  3462. ],
  3463. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  3464. "produces": [
  3465. "application/json"
  3466. ],
  3467. "tags": [
  3468. "定制【海商报业】"
  3469. ],
  3470. "summary": "查询二级市场(挂牌点选)商品信息详情",
  3471. "parameters": [
  3472. {
  3473. "type": "integer",
  3474. "description": "商品ID",
  3475. "name": "goodsID",
  3476. "in": "query",
  3477. "required": true
  3478. },
  3479. {
  3480. "type": "integer",
  3481. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  3482. "name": "accountID",
  3483. "in": "query"
  3484. }
  3485. ],
  3486. "responses": {
  3487. "200": {
  3488. "description": "OK",
  3489. "schema": {
  3490. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  3491. }
  3492. },
  3493. "500": {
  3494. "description": "Internal Server Error",
  3495. "schema": {
  3496. "$ref": "#/definitions/app.Response"
  3497. }
  3498. }
  3499. }
  3500. }
  3501. },
  3502. "/HSBY/QueryHsbyMarketGoodsDetail": {
  3503. "get": {
  3504. "security": [
  3505. {
  3506. "ApiKeyAuth": []
  3507. }
  3508. ],
  3509. "produces": [
  3510. "application/json"
  3511. ],
  3512. "tags": [
  3513. "定制【海商报业】"
  3514. ],
  3515. "summary": "查询三级市场(商城)商品信息详情",
  3516. "parameters": [
  3517. {
  3518. "type": "integer",
  3519. "description": "委托单号",
  3520. "name": "orderID",
  3521. "in": "query",
  3522. "required": true
  3523. },
  3524. {
  3525. "type": "integer",
  3526. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  3527. "name": "accountID",
  3528. "in": "query"
  3529. }
  3530. ],
  3531. "responses": {
  3532. "200": {
  3533. "description": "OK",
  3534. "schema": {
  3535. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3536. }
  3537. },
  3538. "500": {
  3539. "description": "Internal Server Error",
  3540. "schema": {
  3541. "$ref": "#/definitions/app.Response"
  3542. }
  3543. }
  3544. }
  3545. }
  3546. },
  3547. "/HSBY/QueryHsbyMarketGoodses": {
  3548. "get": {
  3549. "security": [
  3550. {
  3551. "ApiKeyAuth": []
  3552. }
  3553. ],
  3554. "produces": [
  3555. "application/json"
  3556. ],
  3557. "tags": [
  3558. "定制【海商报业】"
  3559. ],
  3560. "summary": "查询特卖商品列表(三级商城)",
  3561. "parameters": [
  3562. {
  3563. "type": "integer",
  3564. "description": "页码",
  3565. "name": "page",
  3566. "in": "query"
  3567. },
  3568. {
  3569. "type": "integer",
  3570. "description": "每页条数",
  3571. "name": "pagesize",
  3572. "in": "query"
  3573. },
  3574. {
  3575. "type": "string",
  3576. "description": "市场ID列表,格式:1,2,3",
  3577. "name": "marketIDs",
  3578. "in": "query",
  3579. "required": true
  3580. },
  3581. {
  3582. "type": "integer",
  3583. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  3584. "name": "accountID",
  3585. "in": "query",
  3586. "required": true
  3587. },
  3588. {
  3589. "type": "integer",
  3590. "description": "类别ID",
  3591. "name": "categoryID",
  3592. "in": "query"
  3593. },
  3594. {
  3595. "type": "string",
  3596. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3597. "name": "goodsIDs",
  3598. "in": "query"
  3599. },
  3600. {
  3601. "type": "integer",
  3602. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  3603. "name": "couponTypeID",
  3604. "in": "query"
  3605. }
  3606. ],
  3607. "responses": {
  3608. "200": {
  3609. "description": "OK",
  3610. "schema": {
  3611. "$ref": "#/definitions/models.HsbyMarketGoods"
  3612. }
  3613. },
  3614. "500": {
  3615. "description": "Internal Server Error",
  3616. "schema": {
  3617. "$ref": "#/definitions/app.Response"
  3618. }
  3619. }
  3620. }
  3621. }
  3622. },
  3623. "/HSBY/QueryHsbyMarkets": {
  3624. "get": {
  3625. "security": [
  3626. {
  3627. "ApiKeyAuth": []
  3628. }
  3629. ],
  3630. "produces": [
  3631. "application/json"
  3632. ],
  3633. "tags": [
  3634. "定制【海商报业】"
  3635. ],
  3636. "summary": "查询海商报业相关市场信息",
  3637. "responses": {
  3638. "200": {
  3639. "description": "OK",
  3640. "schema": {
  3641. "$ref": "#/definitions/models.HsbyMarketInfo"
  3642. }
  3643. },
  3644. "500": {
  3645. "description": "Internal Server Error",
  3646. "schema": {
  3647. "$ref": "#/definitions/app.Response"
  3648. }
  3649. }
  3650. }
  3651. }
  3652. },
  3653. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  3654. "get": {
  3655. "security": [
  3656. {
  3657. "ApiKeyAuth": []
  3658. }
  3659. ],
  3660. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  3661. "produces": [
  3662. "application/json"
  3663. ],
  3664. "tags": [
  3665. "定制【海商报业】"
  3666. ],
  3667. "summary": "查询“我的订单”信息",
  3668. "parameters": [
  3669. {
  3670. "type": "string",
  3671. "description": "资金账户列表,格式:1,2,3",
  3672. "name": "accountIDs",
  3673. "in": "query",
  3674. "required": true
  3675. }
  3676. ],
  3677. "responses": {
  3678. "200": {
  3679. "description": "OK",
  3680. "schema": {
  3681. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  3682. }
  3683. },
  3684. "500": {
  3685. "description": "Internal Server Error",
  3686. "schema": {
  3687. "$ref": "#/definitions/app.Response"
  3688. }
  3689. }
  3690. }
  3691. }
  3692. },
  3693. "/HSBY/QueryHsbyMyGoods": {
  3694. "get": {
  3695. "security": [
  3696. {
  3697. "ApiKeyAuth": []
  3698. }
  3699. ],
  3700. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  3701. "produces": [
  3702. "application/json"
  3703. ],
  3704. "tags": [
  3705. "定制【海商报业】"
  3706. ],
  3707. "summary": "查询“我的商品”信息",
  3708. "parameters": [
  3709. {
  3710. "type": "string",
  3711. "description": "资金账户列表,格式:1,2,3",
  3712. "name": "accountIDs",
  3713. "in": "query",
  3714. "required": true
  3715. }
  3716. ],
  3717. "responses": {
  3718. "200": {
  3719. "description": "OK",
  3720. "schema": {
  3721. "$ref": "#/definitions/models.HsbyMyGoods"
  3722. }
  3723. },
  3724. "500": {
  3725. "description": "Internal Server Error",
  3726. "schema": {
  3727. "$ref": "#/definitions/app.Response"
  3728. }
  3729. }
  3730. }
  3731. }
  3732. },
  3733. "/HSBY/QueryHsbyMyPackages": {
  3734. "get": {
  3735. "security": [
  3736. {
  3737. "ApiKeyAuth": []
  3738. }
  3739. ],
  3740. "produces": [
  3741. "application/json"
  3742. ],
  3743. "tags": [
  3744. "定制【海商报业】"
  3745. ],
  3746. "summary": "查询我的包裹信息",
  3747. "parameters": [
  3748. {
  3749. "type": "string",
  3750. "description": "资金账户列表,格式:1,2,3",
  3751. "name": "accountIDs",
  3752. "in": "query",
  3753. "required": true
  3754. },
  3755. {
  3756. "type": "integer",
  3757. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3758. "name": "takeOrderStatus",
  3759. "in": "query"
  3760. }
  3761. ],
  3762. "responses": {
  3763. "200": {
  3764. "description": "OK",
  3765. "schema": {
  3766. "$ref": "#/definitions/models.HsbyMyPackage"
  3767. }
  3768. },
  3769. "500": {
  3770. "description": "Internal Server Error",
  3771. "schema": {
  3772. "$ref": "#/definitions/app.Response"
  3773. }
  3774. }
  3775. }
  3776. }
  3777. },
  3778. "/HSBY/QueryHsbyPreGoodsDetail": {
  3779. "get": {
  3780. "security": [
  3781. {
  3782. "ApiKeyAuth": []
  3783. }
  3784. ],
  3785. "produces": [
  3786. "application/json"
  3787. ],
  3788. "tags": [
  3789. "定制【海商报业】"
  3790. ],
  3791. "summary": "查询一级市场(预售)商品信息详情",
  3792. "parameters": [
  3793. {
  3794. "type": "integer",
  3795. "description": "商品ID",
  3796. "name": "goodsID",
  3797. "in": "query",
  3798. "required": true
  3799. },
  3800. {
  3801. "type": "integer",
  3802. "description": "资金账户,主要用于获取预售商品购买上限",
  3803. "name": "accountID",
  3804. "in": "query"
  3805. }
  3806. ],
  3807. "responses": {
  3808. "200": {
  3809. "description": "OK",
  3810. "schema": {
  3811. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3812. }
  3813. },
  3814. "500": {
  3815. "description": "Internal Server Error",
  3816. "schema": {
  3817. "$ref": "#/definitions/app.Response"
  3818. }
  3819. }
  3820. }
  3821. }
  3822. },
  3823. "/HSBY/QueryHsbyPreGoodses": {
  3824. "get": {
  3825. "security": [
  3826. {
  3827. "ApiKeyAuth": []
  3828. }
  3829. ],
  3830. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  3831. "produces": [
  3832. "application/json"
  3833. ],
  3834. "tags": [
  3835. "定制【海商报业】"
  3836. ],
  3837. "summary": "查询新品上市商品列表(一级市场预售)",
  3838. "parameters": [
  3839. {
  3840. "type": "integer",
  3841. "description": "页码",
  3842. "name": "page",
  3843. "in": "query"
  3844. },
  3845. {
  3846. "type": "integer",
  3847. "description": "每页条数",
  3848. "name": "pagesize",
  3849. "in": "query"
  3850. },
  3851. {
  3852. "type": "string",
  3853. "description": "市场ID列表,格式:1,2,3",
  3854. "name": "marketIDs",
  3855. "in": "query",
  3856. "required": true
  3857. },
  3858. {
  3859. "type": "integer",
  3860. "description": "目的地(省)ID",
  3861. "name": "descProvinceID",
  3862. "in": "query"
  3863. },
  3864. {
  3865. "type": "integer",
  3866. "description": "目的地(市)ID",
  3867. "name": "descCityID",
  3868. "in": "query"
  3869. }
  3870. ],
  3871. "responses": {
  3872. "200": {
  3873. "description": "OK",
  3874. "schema": {
  3875. "$ref": "#/definitions/models.HsbyPreGoods"
  3876. }
  3877. },
  3878. "500": {
  3879. "description": "Internal Server Error",
  3880. "schema": {
  3881. "$ref": "#/definitions/app.Response"
  3882. }
  3883. }
  3884. }
  3885. }
  3886. },
  3887. "/HSBY/QueryHsbySellMyDetails": {
  3888. "get": {
  3889. "security": [
  3890. {
  3891. "ApiKeyAuth": []
  3892. }
  3893. ],
  3894. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3895. "produces": [
  3896. "application/json"
  3897. ],
  3898. "tags": [
  3899. "定制【海商报业】"
  3900. ],
  3901. "summary": "查询\"我的闲置\"单据信息",
  3902. "parameters": [
  3903. {
  3904. "type": "integer",
  3905. "description": "页码",
  3906. "name": "page",
  3907. "in": "query"
  3908. },
  3909. {
  3910. "type": "integer",
  3911. "description": "每页条数",
  3912. "name": "pagesize",
  3913. "in": "query"
  3914. },
  3915. {
  3916. "type": "string",
  3917. "description": "资金账户列表,格式:1,2,3",
  3918. "name": "accountIDs",
  3919. "in": "query",
  3920. "required": true
  3921. },
  3922. {
  3923. "type": "integer",
  3924. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3925. "name": "orderType",
  3926. "in": "query"
  3927. }
  3928. ],
  3929. "responses": {
  3930. "200": {
  3931. "description": "OK",
  3932. "schema": {
  3933. "$ref": "#/definitions/models.HsbySellMyDetail"
  3934. }
  3935. },
  3936. "500": {
  3937. "description": "Internal Server Error",
  3938. "schema": {
  3939. "$ref": "#/definitions/app.Response"
  3940. }
  3941. }
  3942. }
  3943. }
  3944. },
  3945. "/HSBY/QueryHsbyTopGoodses": {
  3946. "get": {
  3947. "security": [
  3948. {
  3949. "ApiKeyAuth": []
  3950. }
  3951. ],
  3952. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  3953. "produces": [
  3954. "application/json"
  3955. ],
  3956. "tags": [
  3957. "定制【海商报业】"
  3958. ],
  3959. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  3960. "parameters": [
  3961. {
  3962. "type": "integer",
  3963. "description": "页码",
  3964. "name": "page",
  3965. "in": "query"
  3966. },
  3967. {
  3968. "type": "integer",
  3969. "description": "每页条数",
  3970. "name": "pagesize",
  3971. "in": "query"
  3972. },
  3973. {
  3974. "type": "string",
  3975. "description": "市场ID列表,格式:1,2,3",
  3976. "name": "marketIDs",
  3977. "in": "query",
  3978. "required": true
  3979. },
  3980. {
  3981. "type": "integer",
  3982. "description": "目的地(省)ID",
  3983. "name": "descProvinceID",
  3984. "in": "query"
  3985. },
  3986. {
  3987. "type": "integer",
  3988. "description": "目的地(市)ID",
  3989. "name": "descCityID",
  3990. "in": "query"
  3991. }
  3992. ],
  3993. "responses": {
  3994. "200": {
  3995. "description": "OK",
  3996. "schema": {
  3997. "$ref": "#/definitions/models.HsbyTopGoods"
  3998. }
  3999. },
  4000. "500": {
  4001. "description": "Internal Server Error",
  4002. "schema": {
  4003. "$ref": "#/definitions/app.Response"
  4004. }
  4005. }
  4006. }
  4007. }
  4008. },
  4009. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4010. "get": {
  4011. "security": [
  4012. {
  4013. "ApiKeyAuth": []
  4014. }
  4015. ],
  4016. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4017. "produces": [
  4018. "application/json"
  4019. ],
  4020. "tags": [
  4021. "定制【海商报业】"
  4022. ],
  4023. "summary": "查询游客三级市场(商城)商品信息详情",
  4024. "parameters": [
  4025. {
  4026. "type": "integer",
  4027. "description": "商品ID",
  4028. "name": "goodsID",
  4029. "in": "query",
  4030. "required": true
  4031. }
  4032. ],
  4033. "responses": {
  4034. "200": {
  4035. "description": "OK",
  4036. "schema": {
  4037. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4038. }
  4039. },
  4040. "500": {
  4041. "description": "Internal Server Error",
  4042. "schema": {
  4043. "$ref": "#/definitions/app.Response"
  4044. }
  4045. }
  4046. }
  4047. }
  4048. },
  4049. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4050. "get": {
  4051. "security": [
  4052. {
  4053. "ApiKeyAuth": []
  4054. }
  4055. ],
  4056. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4057. "produces": [
  4058. "application/json"
  4059. ],
  4060. "tags": [
  4061. "定制【海商报业】"
  4062. ],
  4063. "summary": "查询游客特卖商品列表(三级商城)",
  4064. "parameters": [
  4065. {
  4066. "type": "integer",
  4067. "description": "页码",
  4068. "name": "page",
  4069. "in": "query"
  4070. },
  4071. {
  4072. "type": "integer",
  4073. "description": "每页条数",
  4074. "name": "pagesize",
  4075. "in": "query"
  4076. },
  4077. {
  4078. "type": "string",
  4079. "description": "市场ID列表,格式:1,2,3",
  4080. "name": "marketIDs",
  4081. "in": "query",
  4082. "required": true
  4083. },
  4084. {
  4085. "type": "integer",
  4086. "description": "类别ID",
  4087. "name": "categoryID",
  4088. "in": "query"
  4089. },
  4090. {
  4091. "type": "string",
  4092. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4093. "name": "goodsIDs",
  4094. "in": "query"
  4095. }
  4096. ],
  4097. "responses": {
  4098. "200": {
  4099. "description": "OK",
  4100. "schema": {
  4101. "$ref": "#/definitions/models.HsbyMarketGoods"
  4102. }
  4103. },
  4104. "500": {
  4105. "description": "Internal Server Error",
  4106. "schema": {
  4107. "$ref": "#/definitions/app.Response"
  4108. }
  4109. }
  4110. }
  4111. }
  4112. },
  4113. "/HSBY/QueryMyCollectionOrders": {
  4114. "get": {
  4115. "security": [
  4116. {
  4117. "ApiKeyAuth": []
  4118. }
  4119. ],
  4120. "produces": [
  4121. "application/json"
  4122. ],
  4123. "tags": [
  4124. "定制【海商报业】"
  4125. ],
  4126. "summary": "我的闲置中收款信息查询",
  4127. "parameters": [
  4128. {
  4129. "type": "integer",
  4130. "description": "页码",
  4131. "name": "page",
  4132. "in": "query"
  4133. },
  4134. {
  4135. "type": "integer",
  4136. "description": "每页条数",
  4137. "name": "pagesize",
  4138. "in": "query"
  4139. },
  4140. {
  4141. "type": "string",
  4142. "description": "资金账户,格式:1,2,3",
  4143. "name": "accountIDs",
  4144. "in": "query",
  4145. "required": true
  4146. }
  4147. ],
  4148. "responses": {
  4149. "200": {
  4150. "description": "OK",
  4151. "schema": {
  4152. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4153. }
  4154. },
  4155. "500": {
  4156. "description": "Internal Server Error",
  4157. "schema": {
  4158. "$ref": "#/definitions/app.Response"
  4159. }
  4160. }
  4161. }
  4162. }
  4163. },
  4164. "/HSBY/QueryMyCouponHolds": {
  4165. "get": {
  4166. "security": [
  4167. {
  4168. "ApiKeyAuth": []
  4169. }
  4170. ],
  4171. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  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": "string",
  4189. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4190. "name": "holdStatus",
  4191. "in": "query"
  4192. }
  4193. ],
  4194. "responses": {
  4195. "200": {
  4196. "description": "OK",
  4197. "schema": {
  4198. "$ref": "#/definitions/models.MyCouponHold"
  4199. }
  4200. },
  4201. "500": {
  4202. "description": "Internal Server Error",
  4203. "schema": {
  4204. "$ref": "#/definitions/app.Response"
  4205. }
  4206. }
  4207. }
  4208. }
  4209. },
  4210. "/HSBY/QueryMyCoupons": {
  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": "string",
  4227. "description": "资金账户列表,格式:1,2,3",
  4228. "name": "accountIDs",
  4229. "in": "query",
  4230. "required": true
  4231. },
  4232. {
  4233. "type": "integer",
  4234. "description": "商品ID, 一般与sellUserID配套传入",
  4235. "name": "goodsID",
  4236. "in": "query"
  4237. },
  4238. {
  4239. "type": "integer",
  4240. "description": "卖方UserID",
  4241. "name": "sellUserID",
  4242. "in": "query"
  4243. }
  4244. ],
  4245. "responses": {
  4246. "200": {
  4247. "description": "OK",
  4248. "schema": {
  4249. "$ref": "#/definitions/models.MyCoupon"
  4250. }
  4251. },
  4252. "500": {
  4253. "description": "Internal Server Error",
  4254. "schema": {
  4255. "$ref": "#/definitions/app.Response"
  4256. }
  4257. }
  4258. }
  4259. }
  4260. },
  4261. "/HSBY/QueryMyPayOrders": {
  4262. "get": {
  4263. "security": [
  4264. {
  4265. "ApiKeyAuth": []
  4266. }
  4267. ],
  4268. "produces": [
  4269. "application/json"
  4270. ],
  4271. "tags": [
  4272. "定制【海商报业】"
  4273. ],
  4274. "summary": "获取我的订单中待付款信息",
  4275. "parameters": [
  4276. {
  4277. "type": "integer",
  4278. "description": "页码",
  4279. "name": "page",
  4280. "in": "query"
  4281. },
  4282. {
  4283. "type": "integer",
  4284. "description": "每页条数",
  4285. "name": "pagesize",
  4286. "in": "query"
  4287. },
  4288. {
  4289. "type": "string",
  4290. "description": "资金账户列表,格式:1,2,3",
  4291. "name": "accountIDs",
  4292. "in": "query",
  4293. "required": true
  4294. },
  4295. {
  4296. "type": "integer",
  4297. "description": "买方委托单号",
  4298. "name": "buyOrderID",
  4299. "in": "query"
  4300. },
  4301. {
  4302. "type": "integer",
  4303. "description": "卖方委托单号",
  4304. "name": "sellOrderID",
  4305. "in": "query"
  4306. }
  4307. ],
  4308. "responses": {
  4309. "200": {
  4310. "description": "OK",
  4311. "schema": {
  4312. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  4313. }
  4314. },
  4315. "500": {
  4316. "description": "Internal Server Error",
  4317. "schema": {
  4318. "$ref": "#/definitions/app.Response"
  4319. }
  4320. }
  4321. }
  4322. }
  4323. },
  4324. "/HSBY/QueryMyUsedCoupon": {
  4325. "get": {
  4326. "security": [
  4327. {
  4328. "ApiKeyAuth": []
  4329. }
  4330. ],
  4331. "produces": [
  4332. "application/json"
  4333. ],
  4334. "tags": [
  4335. "定制【海商报业】"
  4336. ],
  4337. "summary": "已使用优惠卷查询",
  4338. "parameters": [
  4339. {
  4340. "type": "string",
  4341. "description": "资金账户列表,格式:1,2,3",
  4342. "name": "accountIDs",
  4343. "in": "query",
  4344. "required": true
  4345. }
  4346. ],
  4347. "responses": {
  4348. "200": {
  4349. "description": "OK",
  4350. "schema": {
  4351. "$ref": "#/definitions/models.MyUsedCoupon"
  4352. }
  4353. },
  4354. "500": {
  4355. "description": "Internal Server Error",
  4356. "schema": {
  4357. "$ref": "#/definitions/app.Response"
  4358. }
  4359. }
  4360. }
  4361. }
  4362. },
  4363. "/HSBY/QueryProvincesAndCities": {
  4364. "get": {
  4365. "security": [
  4366. {
  4367. "ApiKeyAuth": []
  4368. }
  4369. ],
  4370. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  4371. "produces": [
  4372. "application/json"
  4373. ],
  4374. "tags": [
  4375. "定制【海商报业】"
  4376. ],
  4377. "summary": "查询省市信息(不包括区)",
  4378. "parameters": [
  4379. {
  4380. "type": "integer",
  4381. "description": "省ID",
  4382. "name": "provinceID",
  4383. "in": "query"
  4384. }
  4385. ],
  4386. "responses": {
  4387. "200": {
  4388. "description": "OK",
  4389. "schema": {
  4390. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  4391. }
  4392. },
  4393. "500": {
  4394. "description": "Internal Server Error",
  4395. "schema": {
  4396. "$ref": "#/definitions/app.Response"
  4397. }
  4398. }
  4399. }
  4400. }
  4401. },
  4402. "/HSBY/SetHsbyMyPackagesStatus": {
  4403. "post": {
  4404. "security": [
  4405. {
  4406. "ApiKeyAuth": []
  4407. }
  4408. ],
  4409. "produces": [
  4410. "application/json"
  4411. ],
  4412. "tags": [
  4413. "定制【海商报业】"
  4414. ],
  4415. "summary": "设置我的包裹已收货状态",
  4416. "parameters": [
  4417. {
  4418. "type": "string",
  4419. "description": "提货单号",
  4420. "name": "takeOrderID",
  4421. "in": "query",
  4422. "required": true
  4423. },
  4424. {
  4425. "type": "integer",
  4426. "description": "资金账号",
  4427. "name": "accountID",
  4428. "in": "query",
  4429. "required": true
  4430. }
  4431. ],
  4432. "responses": {
  4433. "200": {
  4434. "description": "OK",
  4435. "schema": {
  4436. "$ref": "#/definitions/app.Response"
  4437. }
  4438. },
  4439. "500": {
  4440. "description": "Internal Server Error",
  4441. "schema": {
  4442. "$ref": "#/definitions/app.Response"
  4443. }
  4444. }
  4445. }
  4446. }
  4447. },
  4448. "/Market/QueryGoodsesByLoginID": {
  4449. "get": {
  4450. "security": [
  4451. {
  4452. "ApiKeyAuth": []
  4453. }
  4454. ],
  4455. "produces": [
  4456. "application/json"
  4457. ],
  4458. "tags": [
  4459. "通用市场"
  4460. ],
  4461. "summary": "获取登录账号有权限的商品信息",
  4462. "parameters": [
  4463. {
  4464. "type": "integer",
  4465. "description": "登录账号",
  4466. "name": "loginID",
  4467. "in": "query",
  4468. "required": true
  4469. },
  4470. {
  4471. "type": "string",
  4472. "description": "市场ID列表,格式:1,2,3",
  4473. "name": "marketIDs",
  4474. "in": "query"
  4475. }
  4476. ],
  4477. "responses": {
  4478. "200": {
  4479. "description": "OK",
  4480. "schema": {
  4481. "$ref": "#/definitions/models.Goods"
  4482. }
  4483. },
  4484. "500": {
  4485. "description": "Internal Server Error",
  4486. "schema": {
  4487. "$ref": "#/definitions/app.Response"
  4488. }
  4489. }
  4490. }
  4491. }
  4492. },
  4493. "/Market/QueryMarketRun": {
  4494. "get": {
  4495. "security": [
  4496. {
  4497. "ApiKeyAuth": []
  4498. }
  4499. ],
  4500. "produces": [
  4501. "application/json"
  4502. ],
  4503. "tags": [
  4504. "通用市场"
  4505. ],
  4506. "summary": "查询市场运行信息",
  4507. "parameters": [
  4508. {
  4509. "type": "integer",
  4510. "description": "市场ID,不传返回所有",
  4511. "name": "marketID",
  4512. "in": "query"
  4513. }
  4514. ],
  4515. "responses": {
  4516. "200": {
  4517. "description": "OK",
  4518. "schema": {
  4519. "$ref": "#/definitions/models.Marketrun"
  4520. }
  4521. },
  4522. "500": {
  4523. "description": "Internal Server Error",
  4524. "schema": {
  4525. "$ref": "#/definitions/app.Response"
  4526. }
  4527. }
  4528. }
  4529. }
  4530. },
  4531. "/Market/QueryMarketsByLoginID": {
  4532. "get": {
  4533. "security": [
  4534. {
  4535. "ApiKeyAuth": []
  4536. }
  4537. ],
  4538. "produces": [
  4539. "application/json"
  4540. ],
  4541. "tags": [
  4542. "通用市场"
  4543. ],
  4544. "summary": "获取登录账号有权限的市场信息",
  4545. "parameters": [
  4546. {
  4547. "type": "integer",
  4548. "description": "登录账号",
  4549. "name": "loginID",
  4550. "in": "query",
  4551. "required": true
  4552. }
  4553. ],
  4554. "responses": {
  4555. "200": {
  4556. "description": "OK",
  4557. "schema": {
  4558. "$ref": "#/definitions/models.Market"
  4559. }
  4560. },
  4561. "500": {
  4562. "description": "Internal Server Error",
  4563. "schema": {
  4564. "$ref": "#/definitions/app.Response"
  4565. }
  4566. }
  4567. }
  4568. }
  4569. },
  4570. "/Order/QueryHisTradeDetail": {
  4571. "get": {
  4572. "security": [
  4573. {
  4574. "ApiKeyAuth": []
  4575. }
  4576. ],
  4577. "produces": [
  4578. "application/json"
  4579. ],
  4580. "tags": [
  4581. "通用单据"
  4582. ],
  4583. "summary": "历史成交单查询(合约市场)",
  4584. "parameters": [
  4585. {
  4586. "type": "string",
  4587. "description": "资金账户 - 格式:1,2,3",
  4588. "name": "accountID",
  4589. "in": "query",
  4590. "required": true
  4591. },
  4592. {
  4593. "type": "integer",
  4594. "description": "成交单号",
  4595. "name": "tradeID",
  4596. "in": "query"
  4597. },
  4598. {
  4599. "type": "integer",
  4600. "description": "委托单号",
  4601. "name": "orderID",
  4602. "in": "query"
  4603. },
  4604. {
  4605. "type": "string",
  4606. "description": "交易模式 - 格式:1,2,3",
  4607. "name": "tradeMode",
  4608. "in": "query"
  4609. },
  4610. {
  4611. "type": "integer",
  4612. "description": "委托单据类型",
  4613. "name": "buildType",
  4614. "in": "query"
  4615. },
  4616. {
  4617. "type": "string",
  4618. "description": "成交类别 - 格式:1,2,3",
  4619. "name": "tradeType",
  4620. "in": "query"
  4621. },
  4622. {
  4623. "type": "string",
  4624. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4625. "name": "startDate",
  4626. "in": "query"
  4627. },
  4628. {
  4629. "type": "string",
  4630. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4631. "name": "endDate",
  4632. "in": "query"
  4633. }
  4634. ],
  4635. "responses": {
  4636. "200": {
  4637. "description": "OK",
  4638. "schema": {
  4639. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  4640. }
  4641. },
  4642. "500": {
  4643. "description": "Internal Server Error",
  4644. "schema": {
  4645. "$ref": "#/definitions/app.Response"
  4646. }
  4647. }
  4648. }
  4649. }
  4650. },
  4651. "/Order/QueryHisTradeOrderDetail": {
  4652. "get": {
  4653. "security": [
  4654. {
  4655. "ApiKeyAuth": []
  4656. }
  4657. ],
  4658. "produces": [
  4659. "application/json"
  4660. ],
  4661. "tags": [
  4662. "通用单据"
  4663. ],
  4664. "summary": "历史委托单查询请求(合约市场)",
  4665. "parameters": [
  4666. {
  4667. "type": "string",
  4668. "description": "资金账户 - 格式:1,2,3",
  4669. "name": "accountID",
  4670. "in": "query",
  4671. "required": true
  4672. },
  4673. {
  4674. "type": "string",
  4675. "description": "交易模式 - 格式:1,2,3",
  4676. "name": "tradeMode",
  4677. "in": "query"
  4678. },
  4679. {
  4680. "type": "string",
  4681. "description": "委托状态 - 格式:1,2,3",
  4682. "name": "orderStatus",
  4683. "in": "query"
  4684. },
  4685. {
  4686. "type": "integer",
  4687. "description": "委托单号",
  4688. "name": "orderID",
  4689. "in": "query"
  4690. },
  4691. {
  4692. "type": "string",
  4693. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4694. "name": "startDate",
  4695. "in": "query"
  4696. },
  4697. {
  4698. "type": "string",
  4699. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4700. "name": "endDate",
  4701. "in": "query"
  4702. }
  4703. ],
  4704. "responses": {
  4705. "200": {
  4706. "description": "OK",
  4707. "schema": {
  4708. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  4709. }
  4710. },
  4711. "500": {
  4712. "description": "Internal Server Error",
  4713. "schema": {
  4714. "$ref": "#/definitions/app.Response"
  4715. }
  4716. }
  4717. }
  4718. }
  4719. },
  4720. "/Order/QueryTradeDetail": {
  4721. "get": {
  4722. "security": [
  4723. {
  4724. "ApiKeyAuth": []
  4725. }
  4726. ],
  4727. "produces": [
  4728. "application/json"
  4729. ],
  4730. "tags": [
  4731. "通用单据"
  4732. ],
  4733. "summary": "成交单查询(合约市场)",
  4734. "parameters": [
  4735. {
  4736. "type": "string",
  4737. "description": "资金账户 - 格式:1,2,3",
  4738. "name": "accountID",
  4739. "in": "query",
  4740. "required": true
  4741. },
  4742. {
  4743. "type": "integer",
  4744. "description": "成交单号",
  4745. "name": "tradeID",
  4746. "in": "query"
  4747. },
  4748. {
  4749. "type": "integer",
  4750. "description": "委托单号",
  4751. "name": "orderID",
  4752. "in": "query"
  4753. },
  4754. {
  4755. "type": "string",
  4756. "description": "交易模式 - 格式:1,2,3",
  4757. "name": "tradeMode",
  4758. "in": "query"
  4759. },
  4760. {
  4761. "type": "integer",
  4762. "description": "委托单据类型",
  4763. "name": "buildType",
  4764. "in": "query"
  4765. },
  4766. {
  4767. "type": "string",
  4768. "description": "成交类别 - 格式:1,2,3",
  4769. "name": "tradeType",
  4770. "in": "query"
  4771. }
  4772. ],
  4773. "responses": {
  4774. "200": {
  4775. "description": "OK",
  4776. "schema": {
  4777. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4778. }
  4779. },
  4780. "500": {
  4781. "description": "Internal Server Error",
  4782. "schema": {
  4783. "$ref": "#/definitions/app.Response"
  4784. }
  4785. }
  4786. }
  4787. }
  4788. },
  4789. "/Order/QueryTradeOrderDetail": {
  4790. "get": {
  4791. "security": [
  4792. {
  4793. "ApiKeyAuth": []
  4794. }
  4795. ],
  4796. "produces": [
  4797. "application/json"
  4798. ],
  4799. "tags": [
  4800. "通用单据"
  4801. ],
  4802. "summary": "委托单查询请求(合约市场)",
  4803. "parameters": [
  4804. {
  4805. "type": "string",
  4806. "description": "资金账户 - 格式:1,2,3",
  4807. "name": "accountID",
  4808. "in": "query",
  4809. "required": true
  4810. },
  4811. {
  4812. "type": "string",
  4813. "description": "交易模式 - 格式:1,2,3",
  4814. "name": "tradeMode",
  4815. "in": "query"
  4816. },
  4817. {
  4818. "type": "string",
  4819. "description": "委托状态 - 格式:1,2,3",
  4820. "name": "orderStatus",
  4821. "in": "query"
  4822. },
  4823. {
  4824. "type": "integer",
  4825. "description": "委托单号",
  4826. "name": "orderID",
  4827. "in": "query"
  4828. }
  4829. ],
  4830. "responses": {
  4831. "200": {
  4832. "description": "OK",
  4833. "schema": {
  4834. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  4835. }
  4836. },
  4837. "500": {
  4838. "description": "Internal Server Error",
  4839. "schema": {
  4840. "$ref": "#/definitions/app.Response"
  4841. }
  4842. }
  4843. }
  4844. }
  4845. },
  4846. "/Order/QueryTradePosition": {
  4847. "get": {
  4848. "security": [
  4849. {
  4850. "ApiKeyAuth": []
  4851. }
  4852. ],
  4853. "produces": [
  4854. "application/json"
  4855. ],
  4856. "tags": [
  4857. "通用单据"
  4858. ],
  4859. "summary": "持仓汇总查询(合约市场)",
  4860. "parameters": [
  4861. {
  4862. "type": "string",
  4863. "description": "资金账户 - 格式:1,2,3",
  4864. "name": "accountID",
  4865. "in": "query",
  4866. "required": true
  4867. },
  4868. {
  4869. "type": "string",
  4870. "description": "交易模式 - 格式:1,2,3",
  4871. "name": "tradeMode",
  4872. "in": "query"
  4873. }
  4874. ],
  4875. "responses": {
  4876. "200": {
  4877. "description": "OK",
  4878. "schema": {
  4879. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4880. }
  4881. },
  4882. "500": {
  4883. "description": "Internal Server Error",
  4884. "schema": {
  4885. "$ref": "#/definitions/app.Response"
  4886. }
  4887. }
  4888. }
  4889. }
  4890. },
  4891. "/Quote/QueryHistoryDatas": {
  4892. "get": {
  4893. "security": [
  4894. {
  4895. "ApiKeyAuth": []
  4896. }
  4897. ],
  4898. "produces": [
  4899. "application/json"
  4900. ],
  4901. "tags": [
  4902. "行情服务"
  4903. ],
  4904. "summary": "查询行情历史数据",
  4905. "parameters": [
  4906. {
  4907. "type": "integer",
  4908. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  4909. "name": "cycleType",
  4910. "in": "query",
  4911. "required": true
  4912. },
  4913. {
  4914. "type": "string",
  4915. "description": "商品代码",
  4916. "name": "goodsCode",
  4917. "in": "query",
  4918. "required": true
  4919. },
  4920. {
  4921. "type": "string",
  4922. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4923. "name": "startTime",
  4924. "in": "query"
  4925. },
  4926. {
  4927. "type": "string",
  4928. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4929. "name": "endTime",
  4930. "in": "query"
  4931. },
  4932. {
  4933. "type": "integer",
  4934. "description": "条数",
  4935. "name": "count",
  4936. "in": "query"
  4937. },
  4938. {
  4939. "type": "boolean",
  4940. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4941. "name": "isAsc",
  4942. "in": "query"
  4943. }
  4944. ],
  4945. "responses": {
  4946. "200": {
  4947. "description": "OK",
  4948. "schema": {
  4949. "$ref": "#/definitions/quote.HistoryData"
  4950. }
  4951. },
  4952. "500": {
  4953. "description": "Internal Server Error",
  4954. "schema": {
  4955. "$ref": "#/definitions/app.Response"
  4956. }
  4957. }
  4958. }
  4959. }
  4960. },
  4961. "/Quote/QueryQuoteDay": {
  4962. "get": {
  4963. "security": [
  4964. {
  4965. "ApiKeyAuth": []
  4966. }
  4967. ],
  4968. "produces": [
  4969. "application/json"
  4970. ],
  4971. "tags": [
  4972. "行情服务"
  4973. ],
  4974. "summary": "获取商品盘面信息",
  4975. "parameters": [
  4976. {
  4977. "type": "string",
  4978. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  4979. "name": "goodsCodes",
  4980. "in": "query",
  4981. "required": true
  4982. }
  4983. ],
  4984. "responses": {
  4985. "200": {
  4986. "description": "OK",
  4987. "schema": {
  4988. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  4989. }
  4990. },
  4991. "500": {
  4992. "description": "Internal Server Error",
  4993. "schema": {
  4994. "$ref": "#/definitions/app.Response"
  4995. }
  4996. }
  4997. }
  4998. }
  4999. },
  5000. "/Quote/QueryTSData": {
  5001. "get": {
  5002. "produces": [
  5003. "application/json"
  5004. ],
  5005. "tags": [
  5006. "行情服务"
  5007. ],
  5008. "summary": "分时图数据查询",
  5009. "parameters": [
  5010. {
  5011. "type": "string",
  5012. "description": "商品代码",
  5013. "name": "goodsCode",
  5014. "in": "query",
  5015. "required": true
  5016. }
  5017. ],
  5018. "responses": {
  5019. "200": {
  5020. "description": "OK",
  5021. "schema": {
  5022. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5023. }
  5024. },
  5025. "500": {
  5026. "description": "Internal Server Error",
  5027. "schema": {
  5028. "$ref": "#/definitions/app.Response"
  5029. }
  5030. }
  5031. }
  5032. }
  5033. },
  5034. "/SZDZ/QueryConvertConfig": {
  5035. "get": {
  5036. "security": [
  5037. {
  5038. "ApiKeyAuth": []
  5039. }
  5040. ],
  5041. "produces": [
  5042. "application/json"
  5043. ],
  5044. "tags": [
  5045. "定制【尚志大宗】"
  5046. ],
  5047. "summary": "查询交易系统转换设置",
  5048. "parameters": [
  5049. {
  5050. "type": "integer",
  5051. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5052. "name": "convertType",
  5053. "in": "query"
  5054. },
  5055. {
  5056. "type": "string",
  5057. "description": "外部商品代码[JD\\PD]",
  5058. "name": "outerGoodsCode",
  5059. "in": "query"
  5060. },
  5061. {
  5062. "type": "string",
  5063. "description": "内部商品ID列表[交易],格式:1,2,3",
  5064. "name": "innerGoodsIDs",
  5065. "in": "query"
  5066. }
  5067. ],
  5068. "responses": {
  5069. "200": {
  5070. "description": "OK",
  5071. "schema": {
  5072. "$ref": "#/definitions/models.Szdz3convertconfig"
  5073. }
  5074. },
  5075. "500": {
  5076. "description": "Internal Server Error",
  5077. "schema": {
  5078. "$ref": "#/definitions/app.Response"
  5079. }
  5080. }
  5081. }
  5082. }
  5083. },
  5084. "/SZDZ/QueryConvertLog": {
  5085. "get": {
  5086. "security": [
  5087. {
  5088. "ApiKeyAuth": []
  5089. }
  5090. ],
  5091. "produces": [
  5092. "application/json"
  5093. ],
  5094. "tags": [
  5095. "定制【尚志大宗】"
  5096. ],
  5097. "summary": "交易系统转换流水查询",
  5098. "parameters": [
  5099. {
  5100. "type": "string",
  5101. "description": "资金账户 - 格式:1,2,3",
  5102. "name": "accountID",
  5103. "in": "query",
  5104. "required": true
  5105. },
  5106. {
  5107. "type": "string",
  5108. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5109. "name": "startDate",
  5110. "in": "query"
  5111. },
  5112. {
  5113. "type": "string",
  5114. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5115. "name": "endDate",
  5116. "in": "query"
  5117. }
  5118. ],
  5119. "responses": {
  5120. "200": {
  5121. "description": "OK",
  5122. "schema": {
  5123. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5124. }
  5125. },
  5126. "500": {
  5127. "description": "Internal Server Error",
  5128. "schema": {
  5129. "$ref": "#/definitions/app.Response"
  5130. }
  5131. }
  5132. }
  5133. }
  5134. },
  5135. "/SZDZ/QueryGoodsPickup": {
  5136. "get": {
  5137. "security": [
  5138. {
  5139. "ApiKeyAuth": []
  5140. }
  5141. ],
  5142. "produces": [
  5143. "application/json"
  5144. ],
  5145. "tags": [
  5146. "定制【尚志大宗】"
  5147. ],
  5148. "summary": "商品提货单查询",
  5149. "parameters": [
  5150. {
  5151. "type": "string",
  5152. "description": "资金账户 - 格式:1,2,3",
  5153. "name": "accountID",
  5154. "in": "query",
  5155. "required": true
  5156. },
  5157. {
  5158. "type": "integer",
  5159. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5160. "name": "takeOrderStatus",
  5161. "in": "query"
  5162. }
  5163. ],
  5164. "responses": {
  5165. "200": {
  5166. "description": "OK",
  5167. "schema": {
  5168. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5169. }
  5170. },
  5171. "500": {
  5172. "description": "Internal Server Error",
  5173. "schema": {
  5174. "$ref": "#/definitions/app.Response"
  5175. }
  5176. }
  5177. }
  5178. }
  5179. },
  5180. "/SZDZ/QueryRecieptOrder": {
  5181. "get": {
  5182. "security": [
  5183. {
  5184. "ApiKeyAuth": []
  5185. }
  5186. ],
  5187. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5188. "produces": [
  5189. "application/json"
  5190. ],
  5191. "tags": [
  5192. "定制【尚志大宗】"
  5193. ],
  5194. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5195. "parameters": [
  5196. {
  5197. "type": "integer",
  5198. "description": "页码",
  5199. "name": "page",
  5200. "in": "query"
  5201. },
  5202. {
  5203. "type": "integer",
  5204. "description": "每页条数",
  5205. "name": "pagesize",
  5206. "in": "query"
  5207. },
  5208. {
  5209. "type": "integer",
  5210. "description": "商品ID",
  5211. "name": "goodsID",
  5212. "in": "query",
  5213. "required": true
  5214. },
  5215. {
  5216. "type": "string",
  5217. "description": "所属账户名称",
  5218. "name": "accountName",
  5219. "in": "query"
  5220. },
  5221. {
  5222. "type": "integer",
  5223. "description": "市场ID",
  5224. "name": "marketID",
  5225. "in": "query"
  5226. },
  5227. {
  5228. "type": "integer",
  5229. "description": "方向 - 0:买 1:卖",
  5230. "name": "buyorsell",
  5231. "in": "query",
  5232. "required": true
  5233. }
  5234. ],
  5235. "responses": {
  5236. "200": {
  5237. "description": "OK",
  5238. "schema": {
  5239. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5240. }
  5241. },
  5242. "500": {
  5243. "description": "Internal Server Error",
  5244. "schema": {
  5245. "$ref": "#/definitions/app.Response"
  5246. }
  5247. }
  5248. }
  5249. }
  5250. },
  5251. "/SZDZ/QuerySZDZTradePosition": {
  5252. "get": {
  5253. "security": [
  5254. {
  5255. "ApiKeyAuth": []
  5256. }
  5257. ],
  5258. "produces": [
  5259. "application/json"
  5260. ],
  5261. "tags": [
  5262. "定制【尚志大宗】"
  5263. ],
  5264. "summary": "持仓汇总查询(尚志大宗)",
  5265. "parameters": [
  5266. {
  5267. "type": "integer",
  5268. "description": "资金账户",
  5269. "name": "accountID",
  5270. "in": "query",
  5271. "required": true
  5272. }
  5273. ],
  5274. "responses": {
  5275. "200": {
  5276. "description": "OK",
  5277. "schema": {
  5278. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5279. }
  5280. },
  5281. "500": {
  5282. "description": "Internal Server Error",
  5283. "schema": {
  5284. "$ref": "#/definitions/app.Response"
  5285. }
  5286. }
  5287. }
  5288. }
  5289. },
  5290. "/SZDZ/SearchWhite": {
  5291. "get": {
  5292. "security": [
  5293. {
  5294. "ApiKeyAuth": []
  5295. }
  5296. ],
  5297. "produces": [
  5298. "application/json"
  5299. ],
  5300. "tags": [
  5301. "定制【尚志大宗】"
  5302. ],
  5303. "summary": "搜索白名单",
  5304. "parameters": [
  5305. {
  5306. "type": "integer",
  5307. "description": "用户ID",
  5308. "name": "userID",
  5309. "in": "query",
  5310. "required": true
  5311. }
  5312. ],
  5313. "responses": {
  5314. "200": {
  5315. "description": "OK",
  5316. "schema": {
  5317. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5318. }
  5319. },
  5320. "500": {
  5321. "description": "Internal Server Error",
  5322. "schema": {
  5323. "$ref": "#/definitions/app.Response"
  5324. }
  5325. }
  5326. }
  5327. }
  5328. },
  5329. "/Search/SearchGoodses": {
  5330. "get": {
  5331. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5332. "produces": [
  5333. "application/json"
  5334. ],
  5335. "tags": [
  5336. "检索服务"
  5337. ],
  5338. "summary": "检索商品信息",
  5339. "parameters": [
  5340. {
  5341. "type": "string",
  5342. "description": "检索内容",
  5343. "name": "content",
  5344. "in": "query",
  5345. "required": true
  5346. },
  5347. {
  5348. "type": "string",
  5349. "description": "交易模式,格式:1,2,3",
  5350. "name": "tradeModes",
  5351. "in": "query"
  5352. }
  5353. ],
  5354. "responses": {
  5355. "200": {
  5356. "description": "OK",
  5357. "schema": {
  5358. "$ref": "#/definitions/models.SearchGoods"
  5359. }
  5360. },
  5361. "500": {
  5362. "description": "Internal Server Error",
  5363. "schema": {
  5364. "$ref": "#/definitions/app.Response"
  5365. }
  5366. }
  5367. }
  5368. }
  5369. },
  5370. "/TaAccount/GetTaAccounts": {
  5371. "get": {
  5372. "security": [
  5373. {
  5374. "ApiKeyAuth": []
  5375. }
  5376. ],
  5377. "produces": [
  5378. "application/json"
  5379. ],
  5380. "tags": [
  5381. "资金账户"
  5382. ],
  5383. "summary": "获取资金账户信息",
  5384. "parameters": [
  5385. {
  5386. "type": "integer",
  5387. "description": "登录账户",
  5388. "name": "loginID",
  5389. "in": "query",
  5390. "required": true
  5391. },
  5392. {
  5393. "type": "integer",
  5394. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  5395. "name": "taAccountType",
  5396. "in": "query"
  5397. }
  5398. ],
  5399. "responses": {
  5400. "200": {
  5401. "description": "OK",
  5402. "schema": {
  5403. "$ref": "#/definitions/models.Taaccount"
  5404. }
  5405. },
  5406. "500": {
  5407. "description": "Internal Server Error",
  5408. "schema": {
  5409. "$ref": "#/definitions/app.Response"
  5410. }
  5411. }
  5412. }
  5413. }
  5414. },
  5415. "/TaAccount/QueryAmountLog": {
  5416. "get": {
  5417. "security": [
  5418. {
  5419. "ApiKeyAuth": []
  5420. }
  5421. ],
  5422. "produces": [
  5423. "application/json"
  5424. ],
  5425. "tags": [
  5426. "资金账户"
  5427. ],
  5428. "summary": "资金流水查询(当前)",
  5429. "parameters": [
  5430. {
  5431. "type": "integer",
  5432. "description": "页码",
  5433. "name": "page",
  5434. "in": "query"
  5435. },
  5436. {
  5437. "type": "integer",
  5438. "description": "每页条数",
  5439. "name": "pagesize",
  5440. "in": "query"
  5441. },
  5442. {
  5443. "type": "string",
  5444. "description": "资金账户 - 格式:1,2,3",
  5445. "name": "accountID",
  5446. "in": "query",
  5447. "required": true
  5448. },
  5449. {
  5450. "type": "string",
  5451. "description": "资金操作类型 - 格式:1,2,3",
  5452. "name": "OperateType",
  5453. "in": "query"
  5454. }
  5455. ],
  5456. "responses": {
  5457. "200": {
  5458. "description": "OK",
  5459. "schema": {
  5460. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  5461. }
  5462. },
  5463. "500": {
  5464. "description": "Internal Server Error",
  5465. "schema": {
  5466. "$ref": "#/definitions/app.Response"
  5467. }
  5468. }
  5469. }
  5470. }
  5471. },
  5472. "/TaAccount/QueryHisAmountLog": {
  5473. "get": {
  5474. "security": [
  5475. {
  5476. "ApiKeyAuth": []
  5477. }
  5478. ],
  5479. "produces": [
  5480. "application/json"
  5481. ],
  5482. "tags": [
  5483. "资金账户"
  5484. ],
  5485. "summary": "资金流水查询(历史)",
  5486. "parameters": [
  5487. {
  5488. "type": "integer",
  5489. "description": "页码",
  5490. "name": "page",
  5491. "in": "query"
  5492. },
  5493. {
  5494. "type": "integer",
  5495. "description": "每页条数",
  5496. "name": "pagesize",
  5497. "in": "query"
  5498. },
  5499. {
  5500. "type": "string",
  5501. "description": "资金账户 - 格式:1,2,3",
  5502. "name": "accountID",
  5503. "in": "query",
  5504. "required": true
  5505. },
  5506. {
  5507. "type": "string",
  5508. "description": "资金操作类型 - 格式:1,2,3",
  5509. "name": "OperateType",
  5510. "in": "query"
  5511. },
  5512. {
  5513. "type": "string",
  5514. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5515. "name": "startDate",
  5516. "in": "query"
  5517. },
  5518. {
  5519. "type": "string",
  5520. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5521. "name": "endDate",
  5522. "in": "query"
  5523. }
  5524. ],
  5525. "responses": {
  5526. "200": {
  5527. "description": "OK",
  5528. "schema": {
  5529. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  5530. }
  5531. },
  5532. "500": {
  5533. "description": "Internal Server Error",
  5534. "schema": {
  5535. "$ref": "#/definitions/app.Response"
  5536. }
  5537. }
  5538. }
  5539. }
  5540. },
  5541. "/Trade/QueryRecieptOrder": {
  5542. "get": {
  5543. "security": [
  5544. {
  5545. "ApiKeyAuth": []
  5546. }
  5547. ],
  5548. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5549. "produces": [
  5550. "application/json"
  5551. ],
  5552. "tags": [
  5553. "通用交易"
  5554. ],
  5555. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  5556. "parameters": [
  5557. {
  5558. "type": "integer",
  5559. "description": "页码",
  5560. "name": "page",
  5561. "in": "query"
  5562. },
  5563. {
  5564. "type": "integer",
  5565. "description": "每页条数",
  5566. "name": "pagesize",
  5567. "in": "query"
  5568. },
  5569. {
  5570. "type": "integer",
  5571. "description": "商品ID",
  5572. "name": "goodsID",
  5573. "in": "query",
  5574. "required": true
  5575. },
  5576. {
  5577. "type": "string",
  5578. "description": "所属账户名称",
  5579. "name": "accountName",
  5580. "in": "query"
  5581. },
  5582. {
  5583. "type": "integer",
  5584. "description": "市场ID",
  5585. "name": "marketID",
  5586. "in": "query"
  5587. },
  5588. {
  5589. "type": "integer",
  5590. "description": "方向 - 0:买 1:卖",
  5591. "name": "buyorsell",
  5592. "in": "query",
  5593. "required": true
  5594. }
  5595. ],
  5596. "responses": {
  5597. "200": {
  5598. "description": "OK",
  5599. "schema": {
  5600. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  5601. }
  5602. },
  5603. "500": {
  5604. "description": "Internal Server Error",
  5605. "schema": {
  5606. "$ref": "#/definitions/app.Response"
  5607. }
  5608. }
  5609. }
  5610. }
  5611. },
  5612. "/User/AddMessageBoard": {
  5613. "post": {
  5614. "security": [
  5615. {
  5616. "ApiKeyAuth": []
  5617. }
  5618. ],
  5619. "produces": [
  5620. "application/json"
  5621. ],
  5622. "tags": [
  5623. "用户信息"
  5624. ],
  5625. "summary": "添加用户留言板信息",
  5626. "parameters": [
  5627. {
  5628. "type": "integer",
  5629. "description": "用户ID",
  5630. "name": "userID",
  5631. "in": "query",
  5632. "required": true
  5633. },
  5634. {
  5635. "type": "string",
  5636. "description": "留言信息",
  5637. "name": "message",
  5638. "in": "query",
  5639. "required": true
  5640. }
  5641. ],
  5642. "responses": {
  5643. "200": {
  5644. "description": "OK",
  5645. "schema": {
  5646. "$ref": "#/definitions/app.Response"
  5647. }
  5648. },
  5649. "500": {
  5650. "description": "Internal Server Error",
  5651. "schema": {
  5652. "$ref": "#/definitions/app.Response"
  5653. }
  5654. }
  5655. }
  5656. }
  5657. },
  5658. "/User/AddUserFavoriteGoods": {
  5659. "post": {
  5660. "security": [
  5661. {
  5662. "ApiKeyAuth": []
  5663. }
  5664. ],
  5665. "produces": [
  5666. "application/json"
  5667. ],
  5668. "tags": [
  5669. "用户信息"
  5670. ],
  5671. "summary": "添加用户商品收藏信息",
  5672. "parameters": [
  5673. {
  5674. "type": "integer",
  5675. "description": "用户ID",
  5676. "name": "userID",
  5677. "in": "query",
  5678. "required": true
  5679. },
  5680. {
  5681. "type": "integer",
  5682. "description": "商品ID",
  5683. "name": "goodsID",
  5684. "in": "query",
  5685. "required": true
  5686. }
  5687. ],
  5688. "responses": {
  5689. "200": {
  5690. "description": "OK",
  5691. "schema": {
  5692. "$ref": "#/definitions/app.Response"
  5693. }
  5694. },
  5695. "500": {
  5696. "description": "Internal Server Error",
  5697. "schema": {
  5698. "$ref": "#/definitions/app.Response"
  5699. }
  5700. }
  5701. }
  5702. }
  5703. },
  5704. "/User/GetLoginID": {
  5705. "get": {
  5706. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  5707. "produces": [
  5708. "application/json"
  5709. ],
  5710. "tags": [
  5711. "用户信息"
  5712. ],
  5713. "summary": "获取登录ID",
  5714. "parameters": [
  5715. {
  5716. "type": "string",
  5717. "description": "登录代码",
  5718. "name": "username",
  5719. "in": "query",
  5720. "required": true
  5721. }
  5722. ],
  5723. "responses": {
  5724. "200": {
  5725. "description": "OK",
  5726. "schema": {
  5727. "$ref": "#/definitions/app.Response"
  5728. }
  5729. },
  5730. "500": {
  5731. "description": "Internal Server Error",
  5732. "schema": {
  5733. "$ref": "#/definitions/app.Response"
  5734. }
  5735. }
  5736. }
  5737. }
  5738. },
  5739. "/User/GetUserAccount": {
  5740. "get": {
  5741. "security": [
  5742. {
  5743. "ApiKeyAuth": []
  5744. }
  5745. ],
  5746. "produces": [
  5747. "application/json"
  5748. ],
  5749. "tags": [
  5750. "用户信息"
  5751. ],
  5752. "summary": "获取用户账号信息",
  5753. "parameters": [
  5754. {
  5755. "type": "integer",
  5756. "description": "用户ID",
  5757. "name": "userID",
  5758. "in": "query",
  5759. "required": true
  5760. }
  5761. ],
  5762. "responses": {
  5763. "200": {
  5764. "description": "OK",
  5765. "schema": {
  5766. "$ref": "#/definitions/models.Useraccount"
  5767. }
  5768. },
  5769. "500": {
  5770. "description": "Internal Server Error",
  5771. "schema": {
  5772. "$ref": "#/definitions/app.Response"
  5773. }
  5774. }
  5775. }
  5776. }
  5777. },
  5778. "/User/GetUserAuthStatus": {
  5779. "get": {
  5780. "security": [
  5781. {
  5782. "ApiKeyAuth": []
  5783. }
  5784. ],
  5785. "produces": [
  5786. "application/json"
  5787. ],
  5788. "tags": [
  5789. "用户信息"
  5790. ],
  5791. "summary": "获取用户实名认证状态",
  5792. "parameters": [
  5793. {
  5794. "type": "integer",
  5795. "description": "用户ID",
  5796. "name": "userID",
  5797. "in": "query",
  5798. "required": true
  5799. }
  5800. ],
  5801. "responses": {
  5802. "200": {
  5803. "description": "OK",
  5804. "schema": {
  5805. "$ref": "#/definitions/app.Response"
  5806. }
  5807. },
  5808. "500": {
  5809. "description": "Internal Server Error",
  5810. "schema": {
  5811. "$ref": "#/definitions/app.Response"
  5812. }
  5813. }
  5814. }
  5815. }
  5816. },
  5817. "/User/QueryMessageBoard": {
  5818. "get": {
  5819. "security": [
  5820. {
  5821. "ApiKeyAuth": []
  5822. }
  5823. ],
  5824. "produces": [
  5825. "application/json"
  5826. ],
  5827. "tags": [
  5828. "用户信息"
  5829. ],
  5830. "summary": "获取用户留言板信息",
  5831. "parameters": [
  5832. {
  5833. "type": "integer",
  5834. "description": "用户ID",
  5835. "name": "userID",
  5836. "in": "query",
  5837. "required": true
  5838. }
  5839. ],
  5840. "responses": {
  5841. "200": {
  5842. "description": "OK",
  5843. "schema": {
  5844. "$ref": "#/definitions/models.Messageboard"
  5845. }
  5846. },
  5847. "500": {
  5848. "description": "Internal Server Error",
  5849. "schema": {
  5850. "$ref": "#/definitions/app.Response"
  5851. }
  5852. }
  5853. }
  5854. }
  5855. },
  5856. "/User/QueryUserFavoriteGoodses": {
  5857. "get": {
  5858. "security": [
  5859. {
  5860. "ApiKeyAuth": []
  5861. }
  5862. ],
  5863. "produces": [
  5864. "application/json"
  5865. ],
  5866. "tags": [
  5867. "用户信息"
  5868. ],
  5869. "summary": "获取用户商品收藏信息",
  5870. "parameters": [
  5871. {
  5872. "type": "integer",
  5873. "description": "用户ID",
  5874. "name": "userID",
  5875. "in": "query",
  5876. "required": true
  5877. }
  5878. ],
  5879. "responses": {
  5880. "200": {
  5881. "description": "OK",
  5882. "schema": {
  5883. "$ref": "#/definitions/models.Userfavoritegoods"
  5884. }
  5885. },
  5886. "500": {
  5887. "description": "Internal Server Error",
  5888. "schema": {
  5889. "$ref": "#/definitions/app.Response"
  5890. }
  5891. }
  5892. }
  5893. }
  5894. },
  5895. "/User/QueryUserInfo": {
  5896. "get": {
  5897. "security": [
  5898. {
  5899. "ApiKeyAuth": []
  5900. }
  5901. ],
  5902. "produces": [
  5903. "application/json"
  5904. ],
  5905. "tags": [
  5906. "用户信息"
  5907. ],
  5908. "summary": "获取用户信息",
  5909. "parameters": [
  5910. {
  5911. "type": "integer",
  5912. "description": "用户ID",
  5913. "name": "userID",
  5914. "in": "query",
  5915. "required": true
  5916. }
  5917. ],
  5918. "responses": {
  5919. "200": {
  5920. "description": "OK",
  5921. "schema": {
  5922. "$ref": "#/definitions/models.Userinfo"
  5923. }
  5924. },
  5925. "500": {
  5926. "description": "Internal Server Error",
  5927. "schema": {
  5928. "$ref": "#/definitions/app.Response"
  5929. }
  5930. }
  5931. }
  5932. }
  5933. },
  5934. "/User/QueryUserReferNum": {
  5935. "get": {
  5936. "produces": [
  5937. "application/json"
  5938. ],
  5939. "tags": [
  5940. "用户信息"
  5941. ],
  5942. "summary": "获取用户邀请码",
  5943. "parameters": [
  5944. {
  5945. "type": "integer",
  5946. "description": "用户ID",
  5947. "name": "userID",
  5948. "in": "query",
  5949. "required": true
  5950. }
  5951. ],
  5952. "responses": {
  5953. "200": {
  5954. "description": "OK",
  5955. "schema": {
  5956. "$ref": "#/definitions/app.Response"
  5957. }
  5958. },
  5959. "500": {
  5960. "description": "Internal Server Error",
  5961. "schema": {
  5962. "$ref": "#/definitions/app.Response"
  5963. }
  5964. }
  5965. }
  5966. }
  5967. },
  5968. "/User/RemoveUserFavoriteGoods": {
  5969. "post": {
  5970. "security": [
  5971. {
  5972. "ApiKeyAuth": []
  5973. }
  5974. ],
  5975. "produces": [
  5976. "application/json"
  5977. ],
  5978. "tags": [
  5979. "用户信息"
  5980. ],
  5981. "summary": "移除用户商品收藏信息",
  5982. "parameters": [
  5983. {
  5984. "type": "integer",
  5985. "description": "用户ID",
  5986. "name": "userID",
  5987. "in": "query",
  5988. "required": true
  5989. },
  5990. {
  5991. "type": "integer",
  5992. "description": "商品ID",
  5993. "name": "goodsID",
  5994. "in": "query",
  5995. "required": true
  5996. }
  5997. ],
  5998. "responses": {
  5999. "200": {
  6000. "description": "OK",
  6001. "schema": {
  6002. "$ref": "#/definitions/app.Response"
  6003. }
  6004. },
  6005. "500": {
  6006. "description": "Internal Server Error",
  6007. "schema": {
  6008. "$ref": "#/definitions/app.Response"
  6009. }
  6010. }
  6011. }
  6012. }
  6013. },
  6014. "/User/UpdateUserAccountStatus": {
  6015. "post": {
  6016. "security": [
  6017. {
  6018. "ApiKeyAuth": []
  6019. }
  6020. ],
  6021. "produces": [
  6022. "application/json"
  6023. ],
  6024. "tags": [
  6025. "用户信息"
  6026. ],
  6027. "summary": "更新用户状态",
  6028. "parameters": [
  6029. {
  6030. "type": "integer",
  6031. "description": "用户ID",
  6032. "name": "userID",
  6033. "in": "query",
  6034. "required": true
  6035. },
  6036. {
  6037. "type": "integer",
  6038. "description": "账户状态 - 4:正常 6:注销(停用)",
  6039. "name": "accountStatus",
  6040. "in": "query",
  6041. "required": true
  6042. }
  6043. ],
  6044. "responses": {
  6045. "200": {
  6046. "description": "OK",
  6047. "schema": {
  6048. "$ref": "#/definitions/app.Response"
  6049. }
  6050. },
  6051. "500": {
  6052. "description": "Internal Server Error",
  6053. "schema": {
  6054. "$ref": "#/definitions/app.Response"
  6055. }
  6056. }
  6057. }
  6058. }
  6059. },
  6060. "/WR/GetWRCategoryInfo": {
  6061. "get": {
  6062. "produces": [
  6063. "application/json"
  6064. ],
  6065. "tags": [
  6066. "仓单服务"
  6067. ],
  6068. "summary": "获取现货分类信息",
  6069. "responses": {
  6070. "200": {
  6071. "description": "OK",
  6072. "schema": {
  6073. "$ref": "#/definitions/models.WRCategoryTree"
  6074. }
  6075. },
  6076. "500": {
  6077. "description": "Internal Server Error",
  6078. "schema": {
  6079. "$ref": "#/definitions/app.Response"
  6080. }
  6081. }
  6082. }
  6083. }
  6084. },
  6085. "/WRTrade/GetAllDeliveryGoods": {
  6086. "get": {
  6087. "security": [
  6088. {
  6089. "ApiKeyAuth": []
  6090. },
  6091. {
  6092. "ApiKeyAuth": []
  6093. }
  6094. ],
  6095. "produces": [
  6096. "application/json",
  6097. "application/json"
  6098. ],
  6099. "tags": [
  6100. "仓单贸易",
  6101. "仓单贸易"
  6102. ],
  6103. "summary": "获取带仓单分类的种类信息",
  6104. "responses": {
  6105. "200": {
  6106. "description": "OK",
  6107. "schema": {
  6108. "$ref": "#/definitions/app.Response"
  6109. }
  6110. },
  6111. "500": {
  6112. "description": "Internal Server Error",
  6113. "schema": {
  6114. "$ref": "#/definitions/app.Response"
  6115. }
  6116. }
  6117. }
  6118. }
  6119. }
  6120. },
  6121. "definitions": {
  6122. "app.Response": {
  6123. "type": "object",
  6124. "properties": {
  6125. "code": {
  6126. "type": "integer"
  6127. },
  6128. "data": {
  6129. "type": "object"
  6130. },
  6131. "msg": {
  6132. "type": "string"
  6133. },
  6134. "page": {
  6135. "description": "页码",
  6136. "type": "integer"
  6137. },
  6138. "pagesize": {
  6139. "description": "每页条数",
  6140. "type": "integer"
  6141. },
  6142. "total": {
  6143. "description": "总条数",
  6144. "type": "integer"
  6145. }
  6146. }
  6147. },
  6148. "common.QueryNoticeRsp": {
  6149. "type": "object",
  6150. "required": [
  6151. "autoid"
  6152. ],
  6153. "properties": {
  6154. "auditoruserid": {
  6155. "description": "审核人",
  6156. "type": "integer"
  6157. },
  6158. "auditremark": {
  6159. "description": "审核备注",
  6160. "type": "string"
  6161. },
  6162. "audittime": {
  6163. "description": "审核日期",
  6164. "type": "string"
  6165. },
  6166. "autoid": {
  6167. "description": "自增ID",
  6168. "type": "integer"
  6169. },
  6170. "content": {
  6171. "description": "内容",
  6172. "type": "string"
  6173. },
  6174. "createtime": {
  6175. "description": "创建时间",
  6176. "type": "string"
  6177. },
  6178. "creatorid": {
  6179. "description": "建仓人",
  6180. "type": "integer"
  6181. },
  6182. "endtime": {
  6183. "description": "结束时间",
  6184. "type": "string"
  6185. },
  6186. "istop": {
  6187. "description": "是否置顶 - 0:不置顶 1:置顶",
  6188. "type": "integer"
  6189. },
  6190. "msgiconurl": {
  6191. "description": "消息图标Url",
  6192. "type": "string"
  6193. },
  6194. "msgtype": {
  6195. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  6196. "type": "integer"
  6197. },
  6198. "publisher": {
  6199. "description": "消息发布者",
  6200. "type": "string"
  6201. },
  6202. "readed": {
  6203. "description": "是否已读",
  6204. "type": "boolean"
  6205. },
  6206. "scheduletime": {
  6207. "description": "计划发送时间",
  6208. "type": "string"
  6209. },
  6210. "sendtype": {
  6211. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  6212. "type": "integer"
  6213. },
  6214. "sentstatus": {
  6215. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  6216. "type": "integer"
  6217. },
  6218. "title": {
  6219. "description": "标题",
  6220. "type": "string"
  6221. },
  6222. "userid": {
  6223. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  6224. "type": "integer"
  6225. }
  6226. }
  6227. },
  6228. "common.QueryProvincesAndCitiesRsp": {
  6229. "type": "object",
  6230. "properties": {
  6231. "cities": {
  6232. "description": "市",
  6233. "type": "array",
  6234. "items": {
  6235. "$ref": "#/definitions/models.Division"
  6236. }
  6237. },
  6238. "province": {
  6239. "description": "省",
  6240. "$ref": "#/definitions/models.Division"
  6241. }
  6242. }
  6243. },
  6244. "common.QueryTableDefineRsp": {
  6245. "type": "object",
  6246. "required": [
  6247. "tablekey"
  6248. ],
  6249. "properties": {
  6250. "columns": {
  6251. "description": "列头信息数组",
  6252. "type": "array",
  6253. "items": {
  6254. "$ref": "#/definitions/models.Tablecolumnconfig"
  6255. }
  6256. },
  6257. "remark": {
  6258. "description": "Remark",
  6259. "type": "string"
  6260. },
  6261. "tabelmenu": {
  6262. "description": "列表菜单",
  6263. "type": "string"
  6264. },
  6265. "tablekey": {
  6266. "description": "列表Key",
  6267. "type": "string"
  6268. },
  6269. "tablename": {
  6270. "description": "列表名称",
  6271. "type": "string"
  6272. },
  6273. "tabletype": {
  6274. "description": "列表类型 - 1:管理端 2:终端",
  6275. "type": "integer"
  6276. }
  6277. }
  6278. },
  6279. "common.QueryTraderMenuRsp": {
  6280. "type": "object",
  6281. "properties": {
  6282. "OperationMenu": {
  6283. "description": "功能菜单",
  6284. "type": "array",
  6285. "items": {
  6286. "$ref": "#/definitions/models.OperationPrimaryMenu"
  6287. }
  6288. },
  6289. "QuoteMenu": {
  6290. "description": "报价牌分类菜单",
  6291. "type": "array",
  6292. "items": {
  6293. "$ref": "#/definitions/models.QuotePrimaryMenu"
  6294. }
  6295. }
  6296. }
  6297. },
  6298. "cptrade.Cptradepositioncancel": {
  6299. "type": "object",
  6300. "required": [
  6301. "cancelid"
  6302. ],
  6303. "properties": {
  6304. "accountid": {
  6305. "description": "申请人账户ID",
  6306. "type": "integer"
  6307. },
  6308. "applystatus": {
  6309. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6310. "type": "integer"
  6311. },
  6312. "applytime": {
  6313. "description": "申请时间",
  6314. "type": "string"
  6315. },
  6316. "cancelid": {
  6317. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  6318. "type": "integer"
  6319. },
  6320. "cancelqty": {
  6321. "description": "注销数量",
  6322. "type": "integer"
  6323. },
  6324. "createtime": {
  6325. "description": "创建时间",
  6326. "type": "string"
  6327. },
  6328. "creatorid": {
  6329. "description": "创建人ID",
  6330. "type": "integer"
  6331. },
  6332. "creatorname": {
  6333. "description": "创建人",
  6334. "type": "string"
  6335. },
  6336. "goodscode": {
  6337. "description": "订单商品代码",
  6338. "type": "string"
  6339. },
  6340. "goodsid": {
  6341. "description": "商品ID",
  6342. "type": "integer"
  6343. },
  6344. "goodsname": {
  6345. "description": "订单商品名称",
  6346. "type": "string"
  6347. },
  6348. "goodunit": {
  6349. "description": "报价单位",
  6350. "type": "string"
  6351. },
  6352. "handlestatus": {
  6353. "description": "处理状态",
  6354. "type": "integer"
  6355. },
  6356. "marketid": {
  6357. "description": "市场ID",
  6358. "type": "integer"
  6359. },
  6360. "marketname": {
  6361. "description": "市场名称",
  6362. "type": "string"
  6363. },
  6364. "tradedate": {
  6365. "description": "交易日(yyyyMMdd)",
  6366. "type": "string"
  6367. },
  6368. "userid": {
  6369. "description": "申请人ID",
  6370. "type": "integer"
  6371. }
  6372. }
  6373. },
  6374. "cptrade.Cptradepresaleapply": {
  6375. "type": "object",
  6376. "required": [
  6377. "applyid"
  6378. ],
  6379. "properties": {
  6380. "accountid": {
  6381. "description": "申请人账户ID",
  6382. "type": "integer"
  6383. },
  6384. "applyid": {
  6385. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  6386. "type": "integer"
  6387. },
  6388. "applyremark": {
  6389. "description": "申请备注",
  6390. "type": "string"
  6391. },
  6392. "applystatus": {
  6393. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6394. "type": "integer"
  6395. },
  6396. "applytime": {
  6397. "description": "申请时间",
  6398. "type": "string"
  6399. },
  6400. "attachmenturl": {
  6401. "description": "附件地址",
  6402. "type": "string"
  6403. },
  6404. "endtime": {
  6405. "description": "预售结束时间",
  6406. "type": "string"
  6407. },
  6408. "goodscode": {
  6409. "description": "商品代码",
  6410. "type": "string"
  6411. },
  6412. "goodsid": {
  6413. "description": "商品ID",
  6414. "type": "integer"
  6415. },
  6416. "goodsname": {
  6417. "description": "商品名称",
  6418. "type": "string"
  6419. },
  6420. "goodunit": {
  6421. "description": "报价单位",
  6422. "type": "string"
  6423. },
  6424. "handlestatus": {
  6425. "description": "处理状态",
  6426. "type": "integer"
  6427. },
  6428. "marketid": {
  6429. "description": "预售市场ID",
  6430. "type": "integer"
  6431. },
  6432. "marketname": {
  6433. "description": "预售市场名称",
  6434. "type": "string"
  6435. },
  6436. "presaleqty": {
  6437. "description": "预售数量",
  6438. "type": "integer"
  6439. },
  6440. "relatedgoodscode": {
  6441. "description": "关联交易合约代码",
  6442. "type": "string"
  6443. },
  6444. "relatedgoodsid": {
  6445. "description": "关联交易合约ID",
  6446. "type": "integer"
  6447. },
  6448. "relatedgoodsname": {
  6449. "description": "关联交易合约名称",
  6450. "type": "string"
  6451. },
  6452. "starttime": {
  6453. "description": "预售开始时间",
  6454. "type": "string"
  6455. },
  6456. "tradedate": {
  6457. "description": "交易日(yyyyMMdd)",
  6458. "type": "string"
  6459. },
  6460. "trademode": {
  6461. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  6462. "type": "integer"
  6463. },
  6464. "userid": {
  6465. "description": "申请人ID",
  6466. "type": "integer"
  6467. }
  6468. }
  6469. },
  6470. "cptrade.Cptradeusergoodsdata": {
  6471. "type": "object",
  6472. "required": [
  6473. "accountid",
  6474. "goodsid"
  6475. ],
  6476. "properties": {
  6477. "EnabledQty": {
  6478. "description": "可用量",
  6479. "type": "integer"
  6480. },
  6481. "GoodsCode": {
  6482. "description": "订单商品代码",
  6483. "type": "string"
  6484. },
  6485. "GoodsName": {
  6486. "description": "订单商品名称",
  6487. "type": "string"
  6488. },
  6489. "WRStandardCode": {
  6490. "description": "仓单标准代码",
  6491. "type": "string"
  6492. },
  6493. "WRStandardName": {
  6494. "description": "仓单标准名称",
  6495. "type": "string"
  6496. },
  6497. "accountid": {
  6498. "description": "账户ID",
  6499. "type": "integer"
  6500. },
  6501. "cancelqty": {
  6502. "description": "注销量",
  6503. "type": "integer"
  6504. },
  6505. "curpresaleqty": {
  6506. "description": "当前预售量",
  6507. "type": "integer"
  6508. },
  6509. "deliveryqty": {
  6510. "description": "交割量",
  6511. "type": "integer"
  6512. },
  6513. "freezeamount": {
  6514. "description": "冻结金额",
  6515. "type": "number"
  6516. },
  6517. "goodsid": {
  6518. "description": "商品ID",
  6519. "type": "integer"
  6520. },
  6521. "goodunit": {
  6522. "description": "报价单位",
  6523. "type": "string"
  6524. },
  6525. "hasspotfreeze": {
  6526. "description": "是否有现货冻结 - 0:否 1:有",
  6527. "type": "integer"
  6528. },
  6529. "inqty": {
  6530. "description": "转入量(总数量)",
  6531. "type": "integer"
  6532. },
  6533. "marketid": {
  6534. "description": "市场ID",
  6535. "type": "integer"
  6536. },
  6537. "presaledamount": {
  6538. "description": "已预售总金额",
  6539. "type": "integer"
  6540. },
  6541. "presaledqty": {
  6542. "description": "已预售量",
  6543. "type": "integer"
  6544. },
  6545. "userid": {
  6546. "description": "用户ID",
  6547. "type": "integer"
  6548. },
  6549. "wrstandardid": {
  6550. "description": "仓单标准ID",
  6551. "type": "integer"
  6552. }
  6553. }
  6554. },
  6555. "cptrade.QueryCPTradeMyBidRsp": {
  6556. "type": "object",
  6557. "required": [
  6558. "accountid",
  6559. "goodsid",
  6560. "marketid",
  6561. "orderid",
  6562. "orderqty",
  6563. "ordertime",
  6564. "tradeprice",
  6565. "tradeqty"
  6566. ],
  6567. "properties": {
  6568. "accountid": {
  6569. "description": "账户ID[报价币种]",
  6570. "type": "integer"
  6571. },
  6572. "goodsid": {
  6573. "description": "商品ID",
  6574. "type": "integer"
  6575. },
  6576. "goodunit": {
  6577. "description": "报价单位",
  6578. "type": "string"
  6579. },
  6580. "marketid": {
  6581. "description": "市场ID",
  6582. "type": "integer"
  6583. },
  6584. "orderid": {
  6585. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6586. "type": "integer"
  6587. },
  6588. "orderprice": {
  6589. "description": "委托价格",
  6590. "type": "number"
  6591. },
  6592. "orderqty": {
  6593. "description": "委托数量",
  6594. "type": "integer"
  6595. },
  6596. "ordertime": {
  6597. "description": "委托时间",
  6598. "type": "string"
  6599. },
  6600. "ordertotalprice": {
  6601. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  6602. "type": "number"
  6603. },
  6604. "ordertotalweight": {
  6605. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  6606. "type": "integer"
  6607. },
  6608. "totaltotalprice": {
  6609. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  6610. "type": "number"
  6611. },
  6612. "tradeprice": {
  6613. "description": "成交价格",
  6614. "type": "number"
  6615. },
  6616. "tradeqty": {
  6617. "description": "成交数量",
  6618. "type": "integer"
  6619. }
  6620. }
  6621. },
  6622. "cptrade.QueryCPTradeOrderDetailRsq": {
  6623. "type": "object",
  6624. "required": [
  6625. "accountid",
  6626. "buildtype",
  6627. "buyorsell",
  6628. "goodsid",
  6629. "marketid",
  6630. "memberuserid",
  6631. "operatetype",
  6632. "orderqty",
  6633. "ordertime",
  6634. "pricemode",
  6635. "strorderid",
  6636. "tradedate",
  6637. "validtype"
  6638. ],
  6639. "properties": {
  6640. "accountid": {
  6641. "description": "账户ID[报价币种]",
  6642. "type": "integer"
  6643. },
  6644. "buildtype": {
  6645. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  6646. "type": "integer"
  6647. },
  6648. "buyorsell": {
  6649. "description": "买卖 - 0:买 1:卖",
  6650. "type": "integer"
  6651. },
  6652. "cancelorderid": {
  6653. "description": "撤单单号(撤单时填写)",
  6654. "type": "integer"
  6655. },
  6656. "cancelqty": {
  6657. "description": "撤单数量",
  6658. "type": "integer"
  6659. },
  6660. "clientordertime": {
  6661. "description": "客户端委托时间",
  6662. "type": "string"
  6663. },
  6664. "clientticket": {
  6665. "description": "客户端流水号",
  6666. "type": "string"
  6667. },
  6668. "clienttype": {
  6669. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  6670. "type": "integer"
  6671. },
  6672. "closeexchagechargevalue": {
  6673. "description": "平仓交易所手续费设置值",
  6674. "type": "number"
  6675. },
  6676. "closefeealgorithm": {
  6677. "description": "平仓手续费收取方式 1:比率 2:固定",
  6678. "type": "integer"
  6679. },
  6680. "closefreezecharge": {
  6681. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  6682. "type": "number"
  6683. },
  6684. "closememberchargevalue": {
  6685. "description": "平仓会员手续费设置值",
  6686. "type": "number"
  6687. },
  6688. "closeqty": {
  6689. "description": "平仓数量(先建后平操作 需要记录)",
  6690. "type": "integer"
  6691. },
  6692. "closetradeqty": {
  6693. "description": "平仓成交数量(先建后平操作,需要记录)",
  6694. "type": "integer"
  6695. },
  6696. "closeunfreezecharge": {
  6697. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  6698. "type": "number"
  6699. },
  6700. "delistingtype": {
  6701. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  6702. "type": "integer"
  6703. },
  6704. "freezecharge": {
  6705. "description": "冻结手续费",
  6706. "type": "number"
  6707. },
  6708. "freezemargin": {
  6709. "description": "冻结保证金(冻结交易金额)",
  6710. "type": "number"
  6711. },
  6712. "gcaccountid": {
  6713. "description": "账户ID[合约币种]",
  6714. "type": "integer"
  6715. },
  6716. "goodsid": {
  6717. "description": "商品ID",
  6718. "type": "integer"
  6719. },
  6720. "isconfirmexercise": {
  6721. "description": "是否确认行权- 0:否 1:是",
  6722. "type": "integer"
  6723. },
  6724. "ispreexercise": {
  6725. "description": "是否预申报- 0:否 1:是",
  6726. "type": "integer"
  6727. },
  6728. "listingselecttype": {
  6729. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6730. "type": "integer"
  6731. },
  6732. "marginalgorithm": {
  6733. "description": "保证金收取方式 1:比率 2:固定",
  6734. "type": "integer"
  6735. },
  6736. "marginvalue": {
  6737. "description": "即市保证金设置值",
  6738. "type": "number"
  6739. },
  6740. "marketid": {
  6741. "description": "市场ID",
  6742. "type": "integer"
  6743. },
  6744. "marketmaxsub": {
  6745. "description": "市价最大偏移范围",
  6746. "type": "number"
  6747. },
  6748. "memberuserid": {
  6749. "description": "所属会员UserID",
  6750. "type": "integer"
  6751. },
  6752. "openexchagechargevalue": {
  6753. "description": "建仓交易所手续费设置值",
  6754. "type": "number"
  6755. },
  6756. "openfeealgorithm": {
  6757. "description": "建仓手续费收取方式 1:比率 2:固定",
  6758. "type": "integer"
  6759. },
  6760. "openfreezecharge": {
  6761. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  6762. "type": "number"
  6763. },
  6764. "openmemberchargevalue": {
  6765. "description": "建仓会员手续费设置值",
  6766. "type": "number"
  6767. },
  6768. "openqty": {
  6769. "description": "开仓数量(先建后平操作,需要记录)",
  6770. "type": "integer"
  6771. },
  6772. "opentradeqty": {
  6773. "description": "开仓成交数量(先建后平操作,需要记录)",
  6774. "type": "integer"
  6775. },
  6776. "openunfreezecharge": {
  6777. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  6778. "type": "number"
  6779. },
  6780. "operatetype": {
  6781. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  6782. "type": "integer"
  6783. },
  6784. "operatorid": {
  6785. "description": "登录账号(LoginID)",
  6786. "type": "integer"
  6787. },
  6788. "optiontype": {
  6789. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6790. "type": "integer"
  6791. },
  6792. "orderprice": {
  6793. "description": "委托价格",
  6794. "type": "number"
  6795. },
  6796. "orderqty": {
  6797. "description": "委托数量",
  6798. "type": "integer"
  6799. },
  6800. "ordersrc": {
  6801. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  6802. "type": "integer"
  6803. },
  6804. "orderstatus": {
  6805. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6806. "type": "integer"
  6807. },
  6808. "ordertime": {
  6809. "description": "委托时间",
  6810. "type": "string"
  6811. },
  6812. "preexerciseprice": {
  6813. "description": "预申报价格",
  6814. "type": "number"
  6815. },
  6816. "premium": {
  6817. "description": "权利金",
  6818. "type": "number"
  6819. },
  6820. "preorderid": {
  6821. "description": "关联预埋单号(止盈止损单时填写)",
  6822. "type": "integer"
  6823. },
  6824. "pricemode": {
  6825. "description": "取价方式 - 1:市价 2: 限价",
  6826. "type": "integer"
  6827. },
  6828. "quoteid": {
  6829. "description": "报价单ID",
  6830. "type": "integer"
  6831. },
  6832. "relatedid": {
  6833. "description": "关联单号(交割单)",
  6834. "type": "integer"
  6835. },
  6836. "retcode": {
  6837. "description": "错误代码",
  6838. "type": "integer"
  6839. },
  6840. "sessionid": {
  6841. "description": "会话ID",
  6842. "type": "integer"
  6843. },
  6844. "strorderid": {
  6845. "description": "委托单号",
  6846. "type": "string"
  6847. },
  6848. "tradedate": {
  6849. "description": "交易日(yyyyMMdd)",
  6850. "type": "string"
  6851. },
  6852. "tradeproperty": {
  6853. "description": "交易属性",
  6854. "type": "integer"
  6855. },
  6856. "tradeqty": {
  6857. "description": "成交数量",
  6858. "type": "integer"
  6859. },
  6860. "unfreezecharge": {
  6861. "description": "解冻手续费",
  6862. "type": "number"
  6863. },
  6864. "unfreezemargin": {
  6865. "description": "解冻保证金",
  6866. "type": "number"
  6867. },
  6868. "updatetime": {
  6869. "description": "更新时间",
  6870. "type": "string"
  6871. },
  6872. "uuid": {
  6873. "description": "发起端唯一id",
  6874. "type": "string"
  6875. },
  6876. "validtime": {
  6877. "description": "有效期限",
  6878. "type": "string"
  6879. },
  6880. "validtype": {
  6881. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  6882. "type": "integer"
  6883. },
  6884. "volumetype": {
  6885. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  6886. "type": "integer"
  6887. }
  6888. }
  6889. },
  6890. "cptrade.QueryMyCPTradeGoodsRsp": {
  6891. "type": "object",
  6892. "required": [
  6893. "goodscode",
  6894. "goodsid",
  6895. "goodsname",
  6896. "marketid",
  6897. "relatedgoodscode",
  6898. "relatedgoodsname"
  6899. ],
  6900. "properties": {
  6901. "accountid": {
  6902. "description": "卖方账户ID",
  6903. "type": "integer"
  6904. },
  6905. "agreeunit": {
  6906. "description": "合约单位",
  6907. "type": "number"
  6908. },
  6909. "applyid": {
  6910. "description": "关联申请ID",
  6911. "type": "integer"
  6912. },
  6913. "attachmenturl": {
  6914. "description": "附件地址",
  6915. "type": "string"
  6916. },
  6917. "createtime": {
  6918. "description": "创建时间",
  6919. "type": "string"
  6920. },
  6921. "currencyid": {
  6922. "description": "报价货币ID",
  6923. "type": "integer"
  6924. },
  6925. "decimalplace": {
  6926. "description": "报价小数位",
  6927. "type": "integer"
  6928. },
  6929. "endtime": {
  6930. "description": "预售结束时间",
  6931. "type": "string"
  6932. },
  6933. "floorprice": {
  6934. "description": "底价[大宗式竞拍]",
  6935. "type": "number"
  6936. },
  6937. "goodscode": {
  6938. "description": "商品代码(预售)",
  6939. "type": "string"
  6940. },
  6941. "goodsdetail": {
  6942. "description": "详情[大宗]",
  6943. "type": "string"
  6944. },
  6945. "goodsid": {
  6946. "description": "商品ID(自增ID SEQ_GOODS)",
  6947. "type": "integer"
  6948. },
  6949. "goodsname": {
  6950. "description": "商品名称(预售)",
  6951. "type": "string"
  6952. },
  6953. "goodunit": {
  6954. "description": "报价单位",
  6955. "type": "string"
  6956. },
  6957. "goodunitid": {
  6958. "description": "报价单位ID",
  6959. "type": "integer"
  6960. },
  6961. "marketid": {
  6962. "description": "所属市场ID",
  6963. "type": "integer"
  6964. },
  6965. "marketname": {
  6966. "description": "预售市场名称",
  6967. "type": "string"
  6968. },
  6969. "presaledamount": {
  6970. "description": "已预售总金额(预售结束时更新)",
  6971. "type": "number"
  6972. },
  6973. "presaledqty": {
  6974. "description": "已预售量(预售结束时更新)",
  6975. "type": "integer"
  6976. },
  6977. "presalemode": {
  6978. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6979. "type": "integer"
  6980. },
  6981. "presaleqty": {
  6982. "description": "预售数量",
  6983. "type": "integer"
  6984. },
  6985. "refprice": {
  6986. "description": "参考价格[一口价]",
  6987. "type": "number"
  6988. },
  6989. "relatedgoodscode": {
  6990. "description": "商品代码(订单)",
  6991. "type": "string"
  6992. },
  6993. "relatedgoodsid": {
  6994. "description": "关联交易合约ID",
  6995. "type": "integer"
  6996. },
  6997. "relatedgoodsname": {
  6998. "description": "商品名称(订单)",
  6999. "type": "string"
  7000. },
  7001. "relatedmarketid": {
  7002. "description": "关联交易合约市场ID",
  7003. "type": "integer"
  7004. },
  7005. "sellstatus": {
  7006. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7007. "type": "integer"
  7008. },
  7009. "startprice": {
  7010. "description": "起拍价[大宗式竞拍]",
  7011. "type": "number"
  7012. },
  7013. "starttime": {
  7014. "description": "预售开始时间",
  7015. "type": "string"
  7016. },
  7017. "tradedate": {
  7018. "description": "交易日(yyyyMMdd)",
  7019. "type": "string"
  7020. },
  7021. "tradeprice": {
  7022. "description": "成交价[大宗]",
  7023. "type": "number"
  7024. },
  7025. "userid": {
  7026. "description": "卖方用户ID",
  7027. "type": "integer"
  7028. }
  7029. }
  7030. },
  7031. "cptrade.QueryPresaleGoodsExRsp": {
  7032. "type": "object",
  7033. "required": [
  7034. "goodsid"
  7035. ],
  7036. "properties": {
  7037. "attachmenturl": {
  7038. "description": "附件地址",
  7039. "type": "string"
  7040. },
  7041. "createtime": {
  7042. "description": "创建时间",
  7043. "type": "string"
  7044. },
  7045. "endtime": {
  7046. "description": "预售结束时间",
  7047. "type": "string"
  7048. },
  7049. "floorprice": {
  7050. "description": "底价[大宗式竞拍]",
  7051. "type": "number"
  7052. },
  7053. "goodsdetail": {
  7054. "description": "详情[大宗]",
  7055. "type": "string"
  7056. },
  7057. "goodsid": {
  7058. "description": "商品ID(预售)",
  7059. "type": "integer"
  7060. },
  7061. "goodunit": {
  7062. "description": "报价单位",
  7063. "type": "string"
  7064. },
  7065. "marketid": {
  7066. "description": "预售市场ID - 根据预售模式选择市场",
  7067. "type": "integer"
  7068. },
  7069. "presaledamount": {
  7070. "description": "已预售总金额(预售结束时更新)",
  7071. "type": "number"
  7072. },
  7073. "presaledqty": {
  7074. "description": "已预售量(预售结束时更新)",
  7075. "type": "integer"
  7076. },
  7077. "presalemode": {
  7078. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7079. "type": "integer"
  7080. },
  7081. "presaleqty": {
  7082. "description": "预售数量",
  7083. "type": "integer"
  7084. },
  7085. "refprice": {
  7086. "description": "参考价格[一口价]",
  7087. "type": "number"
  7088. },
  7089. "relatedgoodsid": {
  7090. "description": "关联交易合约ID",
  7091. "type": "integer"
  7092. },
  7093. "relatedmarketid": {
  7094. "description": "关联交易合约市场ID",
  7095. "type": "integer"
  7096. },
  7097. "sellstatus": {
  7098. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7099. "type": "integer"
  7100. },
  7101. "startprice": {
  7102. "description": "起拍价[大宗式竞拍]",
  7103. "type": "number"
  7104. },
  7105. "starttime": {
  7106. "description": "预售开始时间",
  7107. "type": "string"
  7108. },
  7109. "tradedate": {
  7110. "description": "交易日(yyyyMMdd)",
  7111. "type": "string"
  7112. },
  7113. "tradeprice": {
  7114. "description": "成交价[大宗]",
  7115. "type": "number"
  7116. }
  7117. }
  7118. },
  7119. "delivery.QueryDeliveryRelationRsp": {
  7120. "type": "object",
  7121. "required": [
  7122. "begindate",
  7123. "enddate",
  7124. "goodsid",
  7125. "mindeliveryqty",
  7126. "xdeliveryratio"
  7127. ],
  7128. "properties": {
  7129. "begindate": {
  7130. "description": "起始日期(yyyyMMdd)",
  7131. "type": "string"
  7132. },
  7133. "buytemplateid": {
  7134. "description": "买履约计划模板ID",
  7135. "type": "integer"
  7136. },
  7137. "deliverygoodscode": {
  7138. "description": "品种代码",
  7139. "type": "string"
  7140. },
  7141. "deliverygoodsid": {
  7142. "description": "交割商品",
  7143. "type": "integer"
  7144. },
  7145. "deliverygoodsname": {
  7146. "description": "品种名称",
  7147. "type": "string"
  7148. },
  7149. "deliverymode": {
  7150. "description": "交割方式 - 1:点选式 2:申报式",
  7151. "type": "integer"
  7152. },
  7153. "deliverypricerule": {
  7154. "description": "交割价规则- 1:行情价 2:建仓价",
  7155. "type": "integer"
  7156. },
  7157. "deliverytype": {
  7158. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  7159. "type": "integer"
  7160. },
  7161. "enddate": {
  7162. "description": "结束日期(yyyyMMdd)",
  7163. "type": "string"
  7164. },
  7165. "goodscode": {
  7166. "description": "商品代码",
  7167. "type": "string"
  7168. },
  7169. "goodsid": {
  7170. "description": "交易合约ID",
  7171. "type": "integer"
  7172. },
  7173. "goodsname": {
  7174. "description": "商品名称",
  7175. "type": "string"
  7176. },
  7177. "marketid": {
  7178. "description": "市场ID",
  7179. "type": "integer"
  7180. },
  7181. "mindeliveryqty": {
  7182. "description": "最小交割系数(K)",
  7183. "type": "integer"
  7184. },
  7185. "p2deliveryprice": {
  7186. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  7187. "type": "number"
  7188. },
  7189. "p2deliveryratio": {
  7190. "description": "P2合约系数(p)",
  7191. "type": "integer"
  7192. },
  7193. "p2goodsid": {
  7194. "description": "P2合约ID",
  7195. "type": "integer"
  7196. },
  7197. "p2pricemode": {
  7198. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  7199. "type": "integer"
  7200. },
  7201. "pdeliveryprice": {
  7202. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  7203. "type": "number"
  7204. },
  7205. "pdeliveryratio": {
  7206. "description": "P合约系数(n)",
  7207. "type": "integer"
  7208. },
  7209. "pgoodsid": {
  7210. "description": "P合约ID",
  7211. "type": "integer"
  7212. },
  7213. "ppricemode": {
  7214. "description": "P合约价格方式 - 1:商品价 2:固定值",
  7215. "type": "integer"
  7216. },
  7217. "rratio": {
  7218. "description": "兑换系数(R)",
  7219. "type": "integer"
  7220. },
  7221. "rratio1": {
  7222. "description": "兑换系数(交易合约)(R1)",
  7223. "type": "integer"
  7224. },
  7225. "rratio2": {
  7226. "description": "兑换系数(仓单标准)(R2)",
  7227. "type": "integer"
  7228. },
  7229. "selltemplateid": {
  7230. "description": "卖履约计划模板ID",
  7231. "type": "integer"
  7232. },
  7233. "wrstandardid": {
  7234. "description": "仓单标准ID",
  7235. "type": "integer"
  7236. },
  7237. "xdeliveryratio": {
  7238. "description": "交易合约系数(m)",
  7239. "type": "integer"
  7240. }
  7241. }
  7242. },
  7243. "ermcp.ExposureDetailRsp": {
  7244. "type": "object",
  7245. "properties": {
  7246. "areauserid": {
  7247. "description": "机构ID",
  7248. "type": "integer"
  7249. },
  7250. "changeQty": {
  7251. "description": "套保变动量",
  7252. "type": "number"
  7253. },
  7254. "contracttype": {
  7255. "description": "现货合同类型 - 1:采购 -1:销售",
  7256. "type": "integer"
  7257. },
  7258. "convertfactor": {
  7259. "description": "标仓系数",
  7260. "type": "number"
  7261. },
  7262. "convertratio": {
  7263. "description": "套保系数",
  7264. "type": "number"
  7265. },
  7266. "createtime": {
  7267. "description": "时间",
  7268. "type": "string"
  7269. },
  7270. "enumdicname": {
  7271. "description": "现货商品单位名称",
  7272. "type": "string"
  7273. },
  7274. "logtype": {
  7275. "description": "类型 - 1:套保计划 2:现货合同",
  7276. "type": "integer"
  7277. },
  7278. "middlegoodsId": {
  7279. "description": "套保商品id",
  7280. "type": "integer"
  7281. },
  7282. "middlegoodscode": {
  7283. "description": "套保商品代码",
  7284. "type": "string"
  7285. },
  7286. "middlegoodsname": {
  7287. "description": "套保商品名称",
  7288. "type": "string"
  7289. },
  7290. "qty": {
  7291. "description": "数量",
  7292. "type": "number"
  7293. },
  7294. "relateNo": {
  7295. "description": "现货合同/套保计划编号",
  7296. "type": "string"
  7297. },
  7298. "wrstandardcode": {
  7299. "description": "现货商品代码",
  7300. "type": "string"
  7301. },
  7302. "wrstandardid": {
  7303. "description": "现货商品ID",
  7304. "type": "integer"
  7305. },
  7306. "wrstandardname": {
  7307. "description": "现货商品名称",
  7308. "type": "string"
  7309. }
  7310. }
  7311. },
  7312. "ermcp.ExposureHedgePosDetailRsp": {
  7313. "type": "object",
  7314. "properties": {
  7315. "buyorsell": {
  7316. "description": "买卖方向 0-买 1-卖",
  7317. "type": "integer"
  7318. },
  7319. "channelbuildtype": {
  7320. "description": "开平方向 1-建仓 2-平仓",
  7321. "type": "integer"
  7322. },
  7323. "goodscode": {
  7324. "description": "商品代码",
  7325. "type": "string"
  7326. },
  7327. "goodsname": {
  7328. "description": "商品名称",
  7329. "type": "string"
  7330. },
  7331. "hedgegoodsid": {
  7332. "description": "商品id",
  7333. "type": "integer"
  7334. },
  7335. "tradeqty": {
  7336. "description": "数量(成交数量)",
  7337. "type": "integer"
  7338. },
  7339. "tradetime": {
  7340. "description": "时间(成交时间)",
  7341. "type": "string"
  7342. }
  7343. }
  7344. },
  7345. "ermcp.ExposureHedgePositionRsp": {
  7346. "type": "object",
  7347. "properties": {
  7348. "accountid": {
  7349. "description": "资金账号[外部母账户]",
  7350. "type": "integer"
  7351. },
  7352. "curbuyposition": {
  7353. "description": "期末买头寸",
  7354. "type": "integer"
  7355. },
  7356. "cursellposition": {
  7357. "description": "期末卖头寸",
  7358. "type": "integer"
  7359. },
  7360. "curtdbuyposition": {
  7361. "description": "期末今日买头寸",
  7362. "type": "integer"
  7363. },
  7364. "curtdsellposition": {
  7365. "description": "期末今日卖头寸",
  7366. "type": "integer"
  7367. },
  7368. "curydbuyposition": {
  7369. "description": "期末上日买头寸",
  7370. "type": "integer"
  7371. },
  7372. "curydsellposition": {
  7373. "description": "期末上日卖头寸",
  7374. "type": "integer"
  7375. },
  7376. "decreaseqty": {
  7377. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  7378. "type": "integer"
  7379. },
  7380. "fretdbuyposition": {
  7381. "description": "冻结今日买头寸",
  7382. "type": "integer"
  7383. },
  7384. "fretdsellposition": {
  7385. "description": "冻结今日卖头寸",
  7386. "type": "integer"
  7387. },
  7388. "freydbuyposition": {
  7389. "description": "冻结上日买头寸",
  7390. "type": "integer"
  7391. },
  7392. "freydsellposition": {
  7393. "description": "冻结上日卖头寸",
  7394. "type": "integer"
  7395. },
  7396. "goodscode": {
  7397. "description": "商品代码",
  7398. "type": "string"
  7399. },
  7400. "goodsid": {
  7401. "description": "商品id",
  7402. "type": "integer"
  7403. },
  7404. "goodsname": {
  7405. "description": "商品名称",
  7406. "type": "string"
  7407. },
  7408. "hedgeaccountcode": {
  7409. "description": "对冲账号",
  7410. "type": "string"
  7411. },
  7412. "hedgegoodsid": {
  7413. "description": "对冲合约ID",
  7414. "type": "integer"
  7415. },
  7416. "increaseqty": {
  7417. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  7418. "type": "integer"
  7419. },
  7420. "marketid": {
  7421. "description": "市场ID",
  7422. "type": "integer"
  7423. },
  7424. "relateduserid": {
  7425. "description": "关联用户id",
  7426. "type": "integer"
  7427. },
  7428. "totalcurqty": {
  7429. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  7430. "type": "integer"
  7431. },
  7432. "totalydqty": {
  7433. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  7434. "type": "integer"
  7435. },
  7436. "tradedate": {
  7437. "description": "交易日(yyyyMMdd)",
  7438. "type": "string"
  7439. },
  7440. "ydbuyposition": {
  7441. "description": "期初买头寸",
  7442. "type": "integer"
  7443. },
  7444. "ydsellposition": {
  7445. "description": "期初卖头寸",
  7446. "type": "integer"
  7447. }
  7448. }
  7449. },
  7450. "ermcp.ExposureSpotDetailRsp": {
  7451. "type": "object",
  7452. "properties": {
  7453. "contracttype": {
  7454. "description": "合同类型 1-采购 -1-销售",
  7455. "type": "integer"
  7456. },
  7457. "createtime": {
  7458. "description": "创建时间",
  7459. "type": "string"
  7460. },
  7461. "enumdicname": {
  7462. "description": "现货商品单位名称",
  7463. "type": "string"
  7464. },
  7465. "logtype": {
  7466. "description": "记录类型 1-套保 2-现货合同",
  7467. "type": "integer"
  7468. },
  7469. "qty": {
  7470. "description": "数量",
  7471. "type": "number"
  7472. },
  7473. "recordname": {
  7474. "description": "类型名称",
  7475. "type": "string"
  7476. },
  7477. "relatedid": {
  7478. "description": "套保计划ID/现货合同ID",
  7479. "type": "string"
  7480. },
  7481. "relatedno": {
  7482. "description": "编号",
  7483. "type": "string"
  7484. },
  7485. "strtime": {
  7486. "description": "时间",
  7487. "type": "string"
  7488. },
  7489. "wrstandardcode": {
  7490. "description": "现货商品代码",
  7491. "type": "string"
  7492. },
  7493. "wrstandardname": {
  7494. "description": "现货商品名称",
  7495. "type": "string"
  7496. }
  7497. }
  7498. },
  7499. "ermcp.ExposureSpotRsp": {
  7500. "type": "object",
  7501. "properties": {
  7502. "areauserid": {
  7503. "description": "所属机构",
  7504. "type": "integer"
  7505. },
  7506. "decreaseqty": {
  7507. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  7508. "type": "number"
  7509. },
  7510. "increaseqty": {
  7511. "description": "增加数量=销售计划数量+采购已定价数量",
  7512. "type": "number"
  7513. },
  7514. "oritoalspotqty": {
  7515. "description": "昨日数量",
  7516. "type": "number"
  7517. },
  7518. "totalspotqty": {
  7519. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  7520. "type": "number"
  7521. },
  7522. "updatetime": {
  7523. "description": "更新时间",
  7524. "type": "string"
  7525. },
  7526. "wrstandardcode": {
  7527. "description": "现货品种代码",
  7528. "type": "string"
  7529. },
  7530. "wrstandardid": {
  7531. "description": "现货商品ID",
  7532. "type": "integer"
  7533. },
  7534. "wrstandardname": {
  7535. "description": "现货品种",
  7536. "type": "string"
  7537. }
  7538. }
  7539. },
  7540. "ermcp.HisExposureRsp": {
  7541. "type": "object",
  7542. "properties": {
  7543. "data": {
  7544. "description": "历史敞口",
  7545. "type": "array",
  7546. "items": {
  7547. "$ref": "#/definitions/models.ErmcpHisExposure"
  7548. }
  7549. },
  7550. "enumdicname": {
  7551. "description": "单位名称",
  7552. "type": "string"
  7553. },
  7554. "middlegoodscode": {
  7555. "description": "套保品种代码",
  7556. "type": "string"
  7557. },
  7558. "middlegoodsid": {
  7559. "description": "套保品种ID",
  7560. "type": "integer"
  7561. },
  7562. "middlegoodsname": {
  7563. "description": "套保品种名称",
  7564. "type": "string"
  7565. }
  7566. }
  7567. },
  7568. "ermcp.PendingAuditCntRsp": {
  7569. "type": "object",
  7570. "properties": {
  7571. "businessdjqty": {
  7572. "description": "待审核数量: 点价",
  7573. "type": "integer"
  7574. },
  7575. "businessfpqty": {
  7576. "description": "待审核数量: 发票",
  7577. "type": "integer"
  7578. },
  7579. "businessjsqty": {
  7580. "description": "待审核数量: 结算",
  7581. "type": "integer"
  7582. },
  7583. "businesskxqty": {
  7584. "description": "待审核数量: 款项",
  7585. "type": "integer"
  7586. },
  7587. "hedgeplanqty": {
  7588. "description": "待审核数量: 套保计划",
  7589. "type": "integer"
  7590. },
  7591. "spotcontractqty": {
  7592. "description": "待审核数量: 现货合同",
  7593. "type": "integer"
  7594. },
  7595. "userqty": {
  7596. "description": "待审核数量: 用户",
  7597. "type": "integer"
  7598. }
  7599. }
  7600. },
  7601. "ermcp.QryAvalidGPRsp": {
  7602. "type": "object",
  7603. "properties": {
  7604. "goodsgroupid": {
  7605. "description": "期货品种id",
  7606. "type": "integer"
  7607. },
  7608. "goodsgroupname": {
  7609. "description": "期货品种名称",
  7610. "type": "string"
  7611. },
  7612. "goodunitid": {
  7613. "description": "品种单位id",
  7614. "type": "integer"
  7615. },
  7616. "goodunitname": {
  7617. "description": "品种单位名称",
  7618. "type": "string"
  7619. },
  7620. "outergroupcode": {
  7621. "description": "期货品种代码",
  7622. "type": "string"
  7623. }
  7624. }
  7625. },
  7626. "ermcp.QryBusinessDjRsp": {
  7627. "type": "object",
  7628. "properties": {
  7629. "amount": {
  7630. "description": "点价金额=(点价价格+升贴水)*点价数量",
  7631. "type": "number"
  7632. },
  7633. "applyid": {
  7634. "description": "申请人",
  7635. "type": "string"
  7636. },
  7637. "applyname": {
  7638. "description": "申请人名称",
  7639. "type": "string"
  7640. },
  7641. "applystatus": {
  7642. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7643. "type": "integer"
  7644. },
  7645. "applytime": {
  7646. "description": "申请时间",
  7647. "type": "string"
  7648. },
  7649. "attachurl": {
  7650. "description": "附件",
  7651. "type": "string"
  7652. },
  7653. "auditname": {
  7654. "description": "审核人名称",
  7655. "type": "string"
  7656. },
  7657. "audittime": {
  7658. "description": "审核时间",
  7659. "type": "string"
  7660. },
  7661. "buyusername": {
  7662. "description": "采购方名称",
  7663. "type": "string"
  7664. },
  7665. "contractno": {
  7666. "description": "合同编号",
  7667. "type": "string"
  7668. },
  7669. "contractstatus": {
  7670. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7671. "type": "integer"
  7672. },
  7673. "contracttype": {
  7674. "description": "现货合同类型 - 1:采购 -1:销售",
  7675. "type": "integer"
  7676. },
  7677. "enumdicname": {
  7678. "description": "单位名称",
  7679. "type": "string"
  7680. },
  7681. "goodscode": {
  7682. "description": "点价合约",
  7683. "type": "string"
  7684. },
  7685. "goodsname": {
  7686. "description": "商品名称",
  7687. "type": "string"
  7688. },
  7689. "operateapplyid": {
  7690. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7691. "type": "string"
  7692. },
  7693. "operateapplytype": {
  7694. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7695. "type": "integer"
  7696. },
  7697. "pricedPrice": {
  7698. "description": "点价价格(非必填)",
  7699. "type": "number"
  7700. },
  7701. "pricedQty": {
  7702. "description": "点价数量(非必填)",
  7703. "type": "number"
  7704. },
  7705. "pricemove": {
  7706. "description": "升贴水",
  7707. "type": "number"
  7708. },
  7709. "pricetype": {
  7710. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7711. "type": "integer"
  7712. },
  7713. "relatedid": {
  7714. "description": "现货合同ID",
  7715. "type": "string"
  7716. },
  7717. "sellusername": {
  7718. "description": "销售方名字",
  7719. "type": "string"
  7720. },
  7721. "userid": {
  7722. "description": "用户ID",
  7723. "type": "integer"
  7724. }
  7725. }
  7726. },
  7727. "ermcp.QryBussinessFpRsp": {
  7728. "type": "object",
  7729. "properties": {
  7730. "applyid": {
  7731. "description": "申请人",
  7732. "type": "string"
  7733. },
  7734. "applyname": {
  7735. "description": "申请人名称",
  7736. "type": "string"
  7737. },
  7738. "applystatus": {
  7739. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7740. "type": "integer"
  7741. },
  7742. "applytime": {
  7743. "description": "申请时间",
  7744. "type": "string"
  7745. },
  7746. "attachurl": {
  7747. "description": "附件",
  7748. "type": "string"
  7749. },
  7750. "auditname": {
  7751. "description": "审核人名称",
  7752. "type": "string"
  7753. },
  7754. "audittime": {
  7755. "description": "审核时间",
  7756. "type": "string"
  7757. },
  7758. "buyusername": {
  7759. "description": "采购方名称",
  7760. "type": "string"
  7761. },
  7762. "contractno": {
  7763. "description": "合同编号",
  7764. "type": "string"
  7765. },
  7766. "contractstatus": {
  7767. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7768. "type": "integer"
  7769. },
  7770. "contracttype": {
  7771. "description": "现货合同类型 - 1:采购 -1:销售",
  7772. "type": "integer"
  7773. },
  7774. "enumdicname": {
  7775. "description": "单位名称",
  7776. "type": "string"
  7777. },
  7778. "goodscode": {
  7779. "description": "点价合约",
  7780. "type": "string"
  7781. },
  7782. "goodsname": {
  7783. "description": "商品名称",
  7784. "type": "string"
  7785. },
  7786. "invoiceAmount": {
  7787. "description": "已开收票金额(销售为开票,采购为收票)",
  7788. "type": "number"
  7789. },
  7790. "operateapplyid": {
  7791. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7792. "type": "string"
  7793. },
  7794. "operateapplytype": {
  7795. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7796. "type": "integer"
  7797. },
  7798. "pricemove": {
  7799. "description": "升贴水",
  7800. "type": "number"
  7801. },
  7802. "pricetype": {
  7803. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7804. "type": "integer"
  7805. },
  7806. "relatedid": {
  7807. "description": "现货合同ID",
  7808. "type": "string"
  7809. },
  7810. "sellusername": {
  7811. "description": "销售方名字",
  7812. "type": "string"
  7813. },
  7814. "userid": {
  7815. "description": "用户ID",
  7816. "type": "integer"
  7817. }
  7818. }
  7819. },
  7820. "ermcp.QryBussinessJsExRsp": {
  7821. "type": "object",
  7822. "properties": {
  7823. "applyid": {
  7824. "description": "申请人",
  7825. "type": "string"
  7826. },
  7827. "applyname": {
  7828. "description": "申请人名称",
  7829. "type": "string"
  7830. },
  7831. "applystatus": {
  7832. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7833. "type": "integer"
  7834. },
  7835. "applytime": {
  7836. "description": "申请时间",
  7837. "type": "string"
  7838. },
  7839. "attachurl": {
  7840. "description": "附件",
  7841. "type": "string"
  7842. },
  7843. "auditname": {
  7844. "description": "审核人名称",
  7845. "type": "string"
  7846. },
  7847. "audittime": {
  7848. "description": "审核时间",
  7849. "type": "string"
  7850. },
  7851. "buyusername": {
  7852. "description": "采购方名称",
  7853. "type": "string"
  7854. },
  7855. "contractno": {
  7856. "description": "合同编号",
  7857. "type": "string"
  7858. },
  7859. "contractstatus": {
  7860. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7861. "type": "integer"
  7862. },
  7863. "contracttype": {
  7864. "description": "现货合同类型 - 1:采购 -1:销售",
  7865. "type": "integer"
  7866. },
  7867. "enumdicname": {
  7868. "description": "单位名称",
  7869. "type": "string"
  7870. },
  7871. "goodscode": {
  7872. "description": "点价合约",
  7873. "type": "string"
  7874. },
  7875. "goodsname": {
  7876. "description": "商品名称",
  7877. "type": "string"
  7878. },
  7879. "operateapplyid": {
  7880. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7881. "type": "string"
  7882. },
  7883. "operateapplytype": {
  7884. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7885. "type": "integer"
  7886. },
  7887. "pricemove": {
  7888. "description": "升贴水",
  7889. "type": "number"
  7890. },
  7891. "pricetype": {
  7892. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7893. "type": "integer"
  7894. },
  7895. "reckontype": {
  7896. "description": "结算类型",
  7897. "type": "string"
  7898. },
  7899. "reckonvalue": {
  7900. "description": "值",
  7901. "type": "number"
  7902. },
  7903. "relatedid": {
  7904. "description": "现货合同ID",
  7905. "type": "string"
  7906. },
  7907. "sellusername": {
  7908. "description": "销售方名字",
  7909. "type": "string"
  7910. },
  7911. "userid": {
  7912. "description": "用户ID",
  7913. "type": "integer"
  7914. }
  7915. }
  7916. },
  7917. "ermcp.QryBussinessJsRsp": {
  7918. "type": "object",
  7919. "properties": {
  7920. "addmargin": {
  7921. "description": "追加保证金(非必填)",
  7922. "type": "number"
  7923. },
  7924. "applyid": {
  7925. "description": "申请人",
  7926. "type": "string"
  7927. },
  7928. "applyname": {
  7929. "description": "申请人名称",
  7930. "type": "string"
  7931. },
  7932. "applystatus": {
  7933. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7934. "type": "integer"
  7935. },
  7936. "applytime": {
  7937. "description": "申请时间",
  7938. "type": "string"
  7939. },
  7940. "attachurl": {
  7941. "description": "附件",
  7942. "type": "string"
  7943. },
  7944. "auditname": {
  7945. "description": "审核人名称",
  7946. "type": "string"
  7947. },
  7948. "audittime": {
  7949. "description": "审核时间",
  7950. "type": "string"
  7951. },
  7952. "buyusername": {
  7953. "description": "采购方名称",
  7954. "type": "string"
  7955. },
  7956. "contractno": {
  7957. "description": "合同编号",
  7958. "type": "string"
  7959. },
  7960. "contractstatus": {
  7961. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7962. "type": "integer"
  7963. },
  7964. "contracttype": {
  7965. "description": "现货合同类型 - 1:采购 -1:销售",
  7966. "type": "integer"
  7967. },
  7968. "decmargin": {
  7969. "description": "减少保证金(非必填)",
  7970. "type": "number"
  7971. },
  7972. "enumdicname": {
  7973. "description": "单位名称",
  7974. "type": "string"
  7975. },
  7976. "goodscode": {
  7977. "description": "点价合约",
  7978. "type": "string"
  7979. },
  7980. "goodsname": {
  7981. "description": "商品名称",
  7982. "type": "string"
  7983. },
  7984. "operateapplyid": {
  7985. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7986. "type": "string"
  7987. },
  7988. "operateapplytype": {
  7989. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7990. "type": "integer"
  7991. },
  7992. "pricemove": {
  7993. "description": "升贴水",
  7994. "type": "number"
  7995. },
  7996. "pricetype": {
  7997. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7998. "type": "integer"
  7999. },
  8000. "reckonadjustamount": {
  8001. "description": "结算调整金额(非必填)",
  8002. "type": "number"
  8003. },
  8004. "reckonosamount": {
  8005. "description": "结算溢短金额(非必填)",
  8006. "type": "number"
  8007. },
  8008. "reckonotheramount": {
  8009. "description": "结算其他费用(非必填)",
  8010. "type": "number"
  8011. },
  8012. "reckonrealqty": {
  8013. "description": "结算实际数量(非必填)",
  8014. "type": "number"
  8015. },
  8016. "relatedid": {
  8017. "description": "现货合同ID",
  8018. "type": "string"
  8019. },
  8020. "sellusername": {
  8021. "description": "销售方名字",
  8022. "type": "string"
  8023. },
  8024. "userid": {
  8025. "description": "用户ID",
  8026. "type": "integer"
  8027. }
  8028. }
  8029. },
  8030. "ermcp.QryBussinessKxRsp": {
  8031. "type": "object",
  8032. "properties": {
  8033. "applyid": {
  8034. "description": "申请人",
  8035. "type": "string"
  8036. },
  8037. "applyname": {
  8038. "description": "申请人名称",
  8039. "type": "string"
  8040. },
  8041. "applystatus": {
  8042. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8043. "type": "integer"
  8044. },
  8045. "applytime": {
  8046. "description": "申请时间",
  8047. "type": "string"
  8048. },
  8049. "attachurl": {
  8050. "description": "附件",
  8051. "type": "string"
  8052. },
  8053. "auditname": {
  8054. "description": "审核人名称",
  8055. "type": "string"
  8056. },
  8057. "audittime": {
  8058. "description": "审核时间",
  8059. "type": "string"
  8060. },
  8061. "buyusername": {
  8062. "description": "采购方名称",
  8063. "type": "string"
  8064. },
  8065. "contractno": {
  8066. "description": "合同编号",
  8067. "type": "string"
  8068. },
  8069. "contractstatus": {
  8070. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8071. "type": "integer"
  8072. },
  8073. "contracttype": {
  8074. "description": "现货合同类型 - 1:采购 -1:销售",
  8075. "type": "integer"
  8076. },
  8077. "deductamount": {
  8078. "description": "退款(非必填)",
  8079. "type": "number"
  8080. },
  8081. "enumdicname": {
  8082. "description": "单位名称",
  8083. "type": "string"
  8084. },
  8085. "goodscode": {
  8086. "description": "点价合约",
  8087. "type": "string"
  8088. },
  8089. "goodsname": {
  8090. "description": "商品名称",
  8091. "type": "string"
  8092. },
  8093. "kxtype": {
  8094. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  8095. "type": "integer"
  8096. },
  8097. "operateapplyid": {
  8098. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8099. "type": "string"
  8100. },
  8101. "operateapplytype": {
  8102. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8103. "type": "integer"
  8104. },
  8105. "payamount": {
  8106. "description": "收付款(非必填)",
  8107. "type": "number"
  8108. },
  8109. "pricemove": {
  8110. "description": "升贴水",
  8111. "type": "number"
  8112. },
  8113. "pricetype": {
  8114. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8115. "type": "integer"
  8116. },
  8117. "relatedid": {
  8118. "description": "现货合同ID",
  8119. "type": "string"
  8120. },
  8121. "sellusername": {
  8122. "description": "销售方名字",
  8123. "type": "string"
  8124. },
  8125. "userid": {
  8126. "description": "用户ID",
  8127. "type": "integer"
  8128. }
  8129. }
  8130. },
  8131. "ermcp.QryErmcpRsp": {
  8132. "type": "object",
  8133. "properties": {
  8134. "accountname": {
  8135. "description": "账户名称",
  8136. "type": "string"
  8137. },
  8138. "attachment": {
  8139. "description": "附件",
  8140. "type": "string"
  8141. },
  8142. "audittime": {
  8143. "description": "审核时间",
  8144. "type": "string"
  8145. },
  8146. "contracctstatus": {
  8147. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8148. "type": "integer"
  8149. },
  8150. "contractmargin": {
  8151. "description": "合同保证金",
  8152. "type": "number"
  8153. },
  8154. "contractno": {
  8155. "description": "合同编号",
  8156. "type": "string"
  8157. },
  8158. "contracttype": {
  8159. "description": "合同类型 1-采购, -1-销售",
  8160. "type": "integer"
  8161. },
  8162. "convertfactor": {
  8163. "description": "标仓系数",
  8164. "type": "number"
  8165. },
  8166. "createtime": {
  8167. "description": "创建时间",
  8168. "type": "string"
  8169. },
  8170. "daikaiamount": {
  8171. "description": "待开票额",
  8172. "type": "number"
  8173. },
  8174. "deliveryenddate": {
  8175. "description": "交割结束日",
  8176. "type": "string"
  8177. },
  8178. "deliverygoodscode": {
  8179. "description": "现货商品代码",
  8180. "type": "string"
  8181. },
  8182. "deliverygoodsid": {
  8183. "description": "现货商品ID",
  8184. "type": "integer"
  8185. },
  8186. "deliverygoodsname": {
  8187. "description": "现货商品名称",
  8188. "type": "string"
  8189. },
  8190. "deliverystartdate": {
  8191. "description": "交割开始日",
  8192. "type": "string"
  8193. },
  8194. "enddate": {
  8195. "description": "点价结束日",
  8196. "type": "string"
  8197. },
  8198. "enumdicname": {
  8199. "description": "单位名称",
  8200. "type": "string"
  8201. },
  8202. "goodscode": {
  8203. "description": "点价商品代码",
  8204. "type": "string"
  8205. },
  8206. "goodsid": {
  8207. "description": "点价商品ID",
  8208. "type": "integer"
  8209. },
  8210. "goodsname": {
  8211. "description": "点价商品名称",
  8212. "type": "string"
  8213. },
  8214. "invoiceamount": {
  8215. "description": "已开票额",
  8216. "type": "number"
  8217. },
  8218. "loanamount": {
  8219. "description": "贷款总额=已定价额+调整金额",
  8220. "type": "number"
  8221. },
  8222. "margin": {
  8223. "description": "保证金",
  8224. "type": "number"
  8225. },
  8226. "payamount": {
  8227. "description": "已收付额(收款或付款)",
  8228. "type": "number"
  8229. },
  8230. "price": {
  8231. "description": "价格",
  8232. "type": "number"
  8233. },
  8234. "pricedamount": {
  8235. "description": "已定价额",
  8236. "type": "number"
  8237. },
  8238. "pricedavg": {
  8239. "description": "已点均价",
  8240. "type": "number"
  8241. },
  8242. "pricedqty": {
  8243. "description": "已定价量",
  8244. "type": "number"
  8245. },
  8246. "pricemove": {
  8247. "description": "升贴水",
  8248. "type": "number"
  8249. },
  8250. "pricetype": {
  8251. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8252. "type": "integer"
  8253. },
  8254. "producttype": {
  8255. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8256. "type": "integer"
  8257. },
  8258. "qty": {
  8259. "description": "合同量",
  8260. "type": "number"
  8261. },
  8262. "reckonadjustamount": {
  8263. "description": "调整金额",
  8264. "type": "number"
  8265. },
  8266. "reckonedamount": {
  8267. "description": "已收付额(已确定额)",
  8268. "type": "number"
  8269. },
  8270. "reckonotheramount": {
  8271. "description": "其它费用",
  8272. "type": "number"
  8273. },
  8274. "reckonrealqty": {
  8275. "description": "已确定量",
  8276. "type": "number"
  8277. },
  8278. "remark": {
  8279. "description": "备注",
  8280. "type": "string"
  8281. },
  8282. "spotcontractid": {
  8283. "description": "合同ID",
  8284. "type": "string"
  8285. },
  8286. "spotgoodsdesc": {
  8287. "description": "商品型号(商品规格)",
  8288. "type": "string"
  8289. },
  8290. "startdate": {
  8291. "description": "点价开始日",
  8292. "type": "string"
  8293. },
  8294. "totalamount": {
  8295. "description": "合计总额",
  8296. "type": "number"
  8297. },
  8298. "unpayamount": {
  8299. "description": "待支收额(支付或收款)",
  8300. "type": "number"
  8301. },
  8302. "unpricedqty": {
  8303. "description": "未定价量",
  8304. "type": "number"
  8305. },
  8306. "unsureqty": {
  8307. "description": "未确定量",
  8308. "type": "number"
  8309. },
  8310. "userid": {
  8311. "description": "用户ID",
  8312. "type": "integer"
  8313. }
  8314. }
  8315. },
  8316. "ermcp.QryGGCovertCfgRsp": {
  8317. "type": "object",
  8318. "properties": {
  8319. "convertratio": {
  8320. "description": "折算系数",
  8321. "type": "number"
  8322. },
  8323. "destgoodsgroupid": {
  8324. "description": "目标品种ID",
  8325. "type": "integer"
  8326. },
  8327. "dstcode": {
  8328. "description": "目录品种代码",
  8329. "type": "string"
  8330. },
  8331. "dstexchangecode": {
  8332. "description": "目标期货交易所",
  8333. "type": "string"
  8334. },
  8335. "dstname": {
  8336. "description": "目标品种名称",
  8337. "type": "string"
  8338. },
  8339. "dstunitid": {
  8340. "description": "目标品种单位ID",
  8341. "type": "integer"
  8342. },
  8343. "dstunitidname": {
  8344. "description": "目标品种单位名称",
  8345. "type": "string"
  8346. },
  8347. "srccode": {
  8348. "description": "源品种代码",
  8349. "type": "string"
  8350. },
  8351. "srcexchangecode": {
  8352. "description": "源期货交易所",
  8353. "type": "string"
  8354. },
  8355. "srcgoodsgroupid": {
  8356. "description": "源品种ID",
  8357. "type": "integer"
  8358. },
  8359. "srcname": {
  8360. "description": "源品种名称",
  8361. "type": "string"
  8362. },
  8363. "srcunitid": {
  8364. "description": "源品种单位ID",
  8365. "type": "integer"
  8366. },
  8367. "srcunitidname": {
  8368. "description": "源品种单位名称",
  8369. "type": "string"
  8370. }
  8371. }
  8372. },
  8373. "ermcp.QryHedgePlanRsp": {
  8374. "type": "object",
  8375. "properties": {
  8376. "areauserid": {
  8377. "description": "用户ID",
  8378. "type": "integer"
  8379. },
  8380. "contracttype": {
  8381. "description": "计划类型 - 1:采购 -1:销售",
  8382. "type": "integer"
  8383. },
  8384. "convertfactor": {
  8385. "description": "标仓系数",
  8386. "type": "number"
  8387. },
  8388. "createtime": {
  8389. "description": "创建时间",
  8390. "type": "string"
  8391. },
  8392. "deliverygoodsid": {
  8393. "description": "现货品种ID",
  8394. "type": "integer"
  8395. },
  8396. "deliverygoodsname": {
  8397. "description": "现货品种名称",
  8398. "type": "string"
  8399. },
  8400. "hedgeplanid": {
  8401. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8402. "type": "string"
  8403. },
  8404. "hedgeplanno": {
  8405. "description": "套保计划编号(名称)",
  8406. "type": "string"
  8407. },
  8408. "hedgeplanstatus": {
  8409. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8410. "type": "integer"
  8411. },
  8412. "planqty": {
  8413. "description": "计划数量",
  8414. "type": "number"
  8415. },
  8416. "plantime": {
  8417. "description": "计划时间",
  8418. "type": "string"
  8419. },
  8420. "producttype": {
  8421. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8422. "type": "integer"
  8423. },
  8424. "remark": {
  8425. "description": "备注",
  8426. "type": "string"
  8427. },
  8428. "spotgoodsdesc": {
  8429. "description": "商品型号",
  8430. "type": "string"
  8431. },
  8432. "wrstandardid": {
  8433. "description": "现货商品ID",
  8434. "type": "integer"
  8435. },
  8436. "wrstandardname": {
  8437. "description": "现货商品名称",
  8438. "type": "string"
  8439. }
  8440. }
  8441. },
  8442. "ermcp.QryMGChangeLogRsp": {
  8443. "type": "object",
  8444. "properties": {
  8445. "aftervalue": {
  8446. "description": "变更后",
  8447. "type": "number"
  8448. },
  8449. "applyid": {
  8450. "description": "操作人",
  8451. "type": "integer"
  8452. },
  8453. "applyname": {
  8454. "description": "操作人名称",
  8455. "type": "string"
  8456. },
  8457. "applysrc": {
  8458. "description": "操作来源 - 1:管理端 2:终端",
  8459. "type": "integer"
  8460. },
  8461. "beforevalue": {
  8462. "description": "变更前",
  8463. "type": "number"
  8464. },
  8465. "changelogtype": {
  8466. "description": "变更流水类型 - 1:套保比率变更",
  8467. "type": "integer"
  8468. },
  8469. "handlestatus": {
  8470. "description": "处理状态",
  8471. "type": "integer"
  8472. },
  8473. "logdatetime": {
  8474. "description": "流水日期",
  8475. "type": "string"
  8476. },
  8477. "logid": {
  8478. "description": "流水ID",
  8479. "type": "integer"
  8480. },
  8481. "logremark": {
  8482. "description": "流水备注",
  8483. "type": "string"
  8484. },
  8485. "middlegoodsid": {
  8486. "description": "套保品种ID",
  8487. "type": "integer"
  8488. },
  8489. "tradedate": {
  8490. "description": "交易日(yyyyMMdd)",
  8491. "type": "string"
  8492. },
  8493. "updatetime": {
  8494. "description": "更新时间",
  8495. "type": "string"
  8496. }
  8497. }
  8498. },
  8499. "ermcp.QryMiddleGoodsDetailRsp": {
  8500. "type": "object",
  8501. "properties": {
  8502. "cvList": {
  8503. "description": "期货品种折算列表",
  8504. "type": "array",
  8505. "items": {
  8506. "$ref": "#/definitions/models.GoodsGroupConvert"
  8507. }
  8508. },
  8509. "mg": {
  8510. "description": "套保品种基本信息",
  8511. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8512. }
  8513. }
  8514. },
  8515. "ermcp.QryMiddleGoodsRsp": {
  8516. "type": "object",
  8517. "properties": {
  8518. "areauserid": {
  8519. "description": "机构用户ID",
  8520. "type": "integer"
  8521. },
  8522. "enumdicname": {
  8523. "description": "单位名称",
  8524. "type": "string"
  8525. },
  8526. "evaluateratio": {
  8527. "description": "估价系数",
  8528. "type": "number"
  8529. },
  8530. "goodsgroupid": {
  8531. "description": "关联期货品种ID",
  8532. "type": "integer"
  8533. },
  8534. "isvalid": {
  8535. "description": "状态 0-无效(停用) 1-有效(正常)",
  8536. "type": "integer"
  8537. },
  8538. "middlegoodscode": {
  8539. "description": "套保品种代码",
  8540. "type": "string"
  8541. },
  8542. "middlegoodsid": {
  8543. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  8544. "type": "integer"
  8545. },
  8546. "middlegoodsname": {
  8547. "description": "套保品种名称",
  8548. "type": "string"
  8549. },
  8550. "modifytime": {
  8551. "description": "修改时间",
  8552. "type": "string"
  8553. },
  8554. "needhedgeratio": {
  8555. "description": "套保比率",
  8556. "type": "number"
  8557. },
  8558. "qtydecimalplace": {
  8559. "description": "数量小数位",
  8560. "type": "integer"
  8561. },
  8562. "relatedgoodsid": {
  8563. "description": "关联交易商品ID",
  8564. "type": "integer"
  8565. },
  8566. "relatedgoodstype": {
  8567. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  8568. "type": "integer"
  8569. }
  8570. }
  8571. },
  8572. "ermcp.QryOPLogRsp": {
  8573. "type": "object",
  8574. "properties": {
  8575. "aftervalue": {
  8576. "description": "变更后",
  8577. "type": "number"
  8578. },
  8579. "applyid": {
  8580. "description": "操作人ID",
  8581. "type": "string"
  8582. },
  8583. "applyname": {
  8584. "description": "操作人名称",
  8585. "type": "string"
  8586. },
  8587. "beforevalue": {
  8588. "description": "变更前",
  8589. "type": "number"
  8590. },
  8591. "biztype": {
  8592. "description": "业务类型 - 1:套保计划 2:现货合同",
  8593. "type": "integer"
  8594. },
  8595. "contracttype": {
  8596. "description": "现货合同类型 - 1:采购 -1:销售",
  8597. "type": "integer"
  8598. },
  8599. "logvalue": {
  8600. "description": "数值",
  8601. "type": "number"
  8602. },
  8603. "operatelogtype": {
  8604. "description": "操作流水类型",
  8605. "type": "integer"
  8606. },
  8607. "operatelogtypedesc": {
  8608. "description": "操作流水类型名称",
  8609. "type": "string"
  8610. },
  8611. "relatedid": {
  8612. "description": "现货合同ID\\套保计划",
  8613. "type": "string"
  8614. },
  8615. "updatetime": {
  8616. "description": "更新时间",
  8617. "type": "string"
  8618. }
  8619. }
  8620. },
  8621. "ermcp.QryReportDaySpotDetailRsp": {
  8622. "type": "object",
  8623. "properties": {
  8624. "applyid": {
  8625. "description": "操作人",
  8626. "type": "integer"
  8627. },
  8628. "applyname": {
  8629. "description": "操作人名称",
  8630. "type": "string"
  8631. },
  8632. "biztype": {
  8633. "description": "业务类型 - 1:套保计划 2:现货合同",
  8634. "type": "integer"
  8635. },
  8636. "contracttype": {
  8637. "description": "现货合同类型 - 1:采购 -1:销售",
  8638. "type": "integer"
  8639. },
  8640. "enumdicName": {
  8641. "description": "单位名称",
  8642. "type": "string"
  8643. },
  8644. "logdatetime": {
  8645. "description": "流水日期(时间)",
  8646. "type": "string"
  8647. },
  8648. "logid": {
  8649. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8650. "type": "string"
  8651. },
  8652. "logtypename": {
  8653. "description": "合同类型(名称)",
  8654. "type": "string"
  8655. },
  8656. "logvalue": {
  8657. "description": "数值",
  8658. "type": "string"
  8659. },
  8660. "operatelogtype": {
  8661. "description": "操作流水类型 -",
  8662. "type": "integer"
  8663. },
  8664. "optypename": {
  8665. "description": "流水类型名称",
  8666. "type": "string"
  8667. },
  8668. "relatedid": {
  8669. "description": "现货合同ID\\套保计划",
  8670. "type": "string"
  8671. },
  8672. "relatedno": {
  8673. "description": "合同编号",
  8674. "type": "string"
  8675. },
  8676. "tradedate": {
  8677. "description": "交易日(yyyyMMdd)",
  8678. "type": "string"
  8679. },
  8680. "userid": {
  8681. "description": "机构ID",
  8682. "type": "integer"
  8683. },
  8684. "wrstandardcode": {
  8685. "description": "现货商品代码",
  8686. "type": "string"
  8687. },
  8688. "wrstandardid": {
  8689. "description": "现货商品ID",
  8690. "type": "integer"
  8691. },
  8692. "wrstandardname": {
  8693. "description": "现货商品名称",
  8694. "type": "string"
  8695. }
  8696. }
  8697. },
  8698. "ermcp.QryReportExposureDayRsp": {
  8699. "type": "object",
  8700. "properties": {
  8701. "areauserid": {
  8702. "description": "所属机构",
  8703. "type": "integer"
  8704. },
  8705. "buyfutureqty": {
  8706. "description": "买入期货数量",
  8707. "type": "number"
  8708. },
  8709. "buyplanqty": {
  8710. "description": "采购计划数量",
  8711. "type": "number"
  8712. },
  8713. "buypricedqty": {
  8714. "description": "采购合同已定价数量",
  8715. "type": "number"
  8716. },
  8717. "diffFutuQty": {
  8718. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  8719. "type": "number"
  8720. },
  8721. "diffSpotQty": {
  8722. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  8723. "type": "number"
  8724. },
  8725. "enumdicname": {
  8726. "description": "单位名称",
  8727. "type": "string"
  8728. },
  8729. "middlegoodscode": {
  8730. "description": "套保品种代码",
  8731. "type": "string"
  8732. },
  8733. "middlegoodshedgeratio": {
  8734. "description": "应套保比例",
  8735. "type": "number"
  8736. },
  8737. "middlegoodsid": {
  8738. "description": "套保品种ID",
  8739. "type": "integer"
  8740. },
  8741. "middlegoodsname": {
  8742. "description": "套保品种名称",
  8743. "type": "string"
  8744. },
  8745. "needhedgeexposoure": {
  8746. "description": "应套保敞口",
  8747. "type": "number"
  8748. },
  8749. "needhedgeratio": {
  8750. "description": "应套保敞口比例",
  8751. "type": "number"
  8752. },
  8753. "oriTotalFutuQty": {
  8754. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  8755. "type": "number"
  8756. },
  8757. "oriTotalSpotQty": {
  8758. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  8759. "type": "number"
  8760. },
  8761. "oribuyfutureqty": {
  8762. "description": "期初买入期货数量",
  8763. "type": "number"
  8764. },
  8765. "oribuyplanqty": {
  8766. "description": "期初采购计划数量",
  8767. "type": "number"
  8768. },
  8769. "oribuypricedqty": {
  8770. "description": "期初采购合同已定价数量",
  8771. "type": "number"
  8772. },
  8773. "orisellfutureqty": {
  8774. "description": "期初卖出期货数量",
  8775. "type": "number"
  8776. },
  8777. "orisellplanqty": {
  8778. "description": "期初销售计划数量",
  8779. "type": "number"
  8780. },
  8781. "orisellpricedqty": {
  8782. "description": "期初销售合同已定价数量",
  8783. "type": "number"
  8784. },
  8785. "reckondate": {
  8786. "description": "日照时期(yyyyMMdd)",
  8787. "type": "string"
  8788. },
  8789. "sellfutureqty": {
  8790. "description": "卖出期货数量",
  8791. "type": "number"
  8792. },
  8793. "sellplanqty": {
  8794. "description": "销售计划数量",
  8795. "type": "number"
  8796. },
  8797. "sellpricedqty": {
  8798. "description": "销售合同已定价数量",
  8799. "type": "number"
  8800. },
  8801. "totalexposure": {
  8802. "description": "总敞口",
  8803. "type": "number"
  8804. },
  8805. "totalfutureqty": {
  8806. "description": "期货数量",
  8807. "type": "number"
  8808. },
  8809. "totalhedgeratio": {
  8810. "description": "敞口比例",
  8811. "type": "number"
  8812. },
  8813. "totalneedhedgeqty": {
  8814. "description": "期货应套保量",
  8815. "type": "number"
  8816. },
  8817. "totalspotqty": {
  8818. "description": "现货数量",
  8819. "type": "number"
  8820. }
  8821. }
  8822. },
  8823. "ermcp.QryReportFinanceDayRsp": {
  8824. "type": "object",
  8825. "properties": {
  8826. "areauserid": {
  8827. "description": "所属机构",
  8828. "type": "integer"
  8829. },
  8830. "collectinvoiceamount": {
  8831. "description": "今日开票金额",
  8832. "type": "number"
  8833. },
  8834. "collectinvoicecount": {
  8835. "description": "今日开票笔数",
  8836. "type": "integer"
  8837. },
  8838. "collectmoneyamount": {
  8839. "description": "今日收款金额",
  8840. "type": "number"
  8841. },
  8842. "collectmoneycount": {
  8843. "description": "今日收款笔数",
  8844. "type": "integer"
  8845. },
  8846. "payinvoiceamount": {
  8847. "description": "今日收票金额",
  8848. "type": "number"
  8849. },
  8850. "payinvoicecount": {
  8851. "description": "今日收票笔数",
  8852. "type": "integer"
  8853. },
  8854. "paymoneyamount": {
  8855. "description": "今日付款金额",
  8856. "type": "number"
  8857. },
  8858. "paymoneycount": {
  8859. "description": "今日付款笔数",
  8860. "type": "integer"
  8861. },
  8862. "reckondate": {
  8863. "description": "日照时期(yyyyMMdd)",
  8864. "type": "string"
  8865. },
  8866. "updatetime": {
  8867. "description": "更新时间",
  8868. "type": "string"
  8869. }
  8870. }
  8871. },
  8872. "ermcp.QryReportFinanceKxRsp": {
  8873. "type": "object",
  8874. "properties": {
  8875. "applyid": {
  8876. "description": "操作人",
  8877. "type": "integer"
  8878. },
  8879. "applyname": {
  8880. "description": "操作人名称",
  8881. "type": "string"
  8882. },
  8883. "biztype": {
  8884. "description": "业务类型 - 1:套保计划 2:现货合同",
  8885. "type": "integer"
  8886. },
  8887. "contracttype": {
  8888. "description": "现货合同类型 - 1:采购 -1:销售",
  8889. "type": "integer"
  8890. },
  8891. "enumdicName": {
  8892. "description": "单位名称",
  8893. "type": "string"
  8894. },
  8895. "logdatetime": {
  8896. "description": "流水日期(时间)",
  8897. "type": "string"
  8898. },
  8899. "logid": {
  8900. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8901. "type": "string"
  8902. },
  8903. "logtypename": {
  8904. "description": "合同类型(名称)",
  8905. "type": "string"
  8906. },
  8907. "logvalue": {
  8908. "description": "数值",
  8909. "type": "string"
  8910. },
  8911. "operatelogtype": {
  8912. "description": "操作流水类型 -",
  8913. "type": "integer"
  8914. },
  8915. "optypename": {
  8916. "description": "流水类型名称",
  8917. "type": "string"
  8918. },
  8919. "relatedid": {
  8920. "description": "现货合同ID\\套保计划",
  8921. "type": "string"
  8922. },
  8923. "relatedno": {
  8924. "description": "合同编号",
  8925. "type": "string"
  8926. },
  8927. "tradedate": {
  8928. "description": "交易日(yyyyMMdd)",
  8929. "type": "string"
  8930. },
  8931. "userid": {
  8932. "description": "机构ID",
  8933. "type": "integer"
  8934. },
  8935. "wrstandardcode": {
  8936. "description": "现货商品代码",
  8937. "type": "string"
  8938. },
  8939. "wrstandardid": {
  8940. "description": "现货商品ID",
  8941. "type": "integer"
  8942. },
  8943. "wrstandardname": {
  8944. "description": "现货商品名称",
  8945. "type": "string"
  8946. }
  8947. }
  8948. },
  8949. "ermcp.QryReportFinanceMonRsp": {
  8950. "type": "object",
  8951. "properties": {
  8952. "areauserid": {
  8953. "description": "所属机构【原值】",
  8954. "type": "integer"
  8955. },
  8956. "collectinvoiceamount": {
  8957. "description": "今日开票金额【汇总】",
  8958. "type": "number"
  8959. },
  8960. "collectinvoicecount": {
  8961. "description": "今日开票笔数【汇总】",
  8962. "type": "integer"
  8963. },
  8964. "collectmoneyamount": {
  8965. "description": "今日收款金额【汇总】",
  8966. "type": "number"
  8967. },
  8968. "collectmoneycount": {
  8969. "description": "今日收款笔数 【汇总】",
  8970. "type": "integer"
  8971. },
  8972. "cycletime": {
  8973. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  8974. "type": "string"
  8975. },
  8976. "cycletype": {
  8977. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8978. "type": "integer"
  8979. },
  8980. "dayFr": {
  8981. "description": "日报表明细",
  8982. "type": "array",
  8983. "items": {
  8984. "$ref": "#/definitions/models.ErmcpReportDayFR"
  8985. }
  8986. },
  8987. "payinvoiceamount": {
  8988. "description": "今日收票金额【汇总】",
  8989. "type": "number"
  8990. },
  8991. "payinvoicecount": {
  8992. "description": "今日收票笔数【汇总】",
  8993. "type": "integer"
  8994. },
  8995. "paymoneyamount": {
  8996. "description": "今日付款金额【汇总】",
  8997. "type": "number"
  8998. },
  8999. "paymoneycount": {
  9000. "description": "今日付款笔数【汇总】",
  9001. "type": "integer"
  9002. },
  9003. "updatetime": {
  9004. "description": "更新时间",
  9005. "type": "string"
  9006. }
  9007. }
  9008. },
  9009. "ermcp.QryReportSpotDayRsp": {
  9010. "type": "object",
  9011. "properties": {
  9012. "areauserid": {
  9013. "description": "所属机构T",
  9014. "type": "integer"
  9015. },
  9016. "enumdicname": {
  9017. "description": "现货商品单位名称",
  9018. "type": "string"
  9019. },
  9020. "reckondate": {
  9021. "description": "日照时期(yyyyMMdd)",
  9022. "type": "string"
  9023. },
  9024. "todaybuyreckonqty": {
  9025. "description": "采购确定量",
  9026. "type": "number"
  9027. },
  9028. "todaysellreckonqty": {
  9029. "description": "销售确定量",
  9030. "type": "number"
  9031. },
  9032. "totalbuypricedqty": {
  9033. "description": "采购定价量 = 期末 - 期初",
  9034. "type": "number"
  9035. },
  9036. "totalsellpricedqty": {
  9037. "description": "销售定价量 = 期末 - 期初",
  9038. "type": "number"
  9039. },
  9040. "wrstandardcode": {
  9041. "description": "现货商品代码",
  9042. "type": "string"
  9043. },
  9044. "wrstandardid": {
  9045. "description": "现货商品ID",
  9046. "type": "integer"
  9047. },
  9048. "wrstandardname": {
  9049. "description": "现货商品名称",
  9050. "type": "string"
  9051. }
  9052. }
  9053. },
  9054. "ermcp.QryReportSpotMonRsp": {
  9055. "type": "object",
  9056. "properties": {
  9057. "areauserid": {
  9058. "description": "所属机构T",
  9059. "type": "integer"
  9060. },
  9061. "cycletime": {
  9062. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  9063. "type": "string"
  9064. },
  9065. "cycletype": {
  9066. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9067. "type": "integer"
  9068. },
  9069. "enumdicname": {
  9070. "description": "现货商品单位名称",
  9071. "type": "string"
  9072. },
  9073. "todaybuyreckonqty": {
  9074. "description": "采购确定量",
  9075. "type": "number"
  9076. },
  9077. "todaysellreckonqty": {
  9078. "description": "销售确定量",
  9079. "type": "number"
  9080. },
  9081. "totalbuypricedqty": {
  9082. "description": "采购定价量 = 期末 - 期初",
  9083. "type": "number"
  9084. },
  9085. "totalsellpricedqty": {
  9086. "description": "销售定价量 = 期末 - 期初",
  9087. "type": "number"
  9088. },
  9089. "wrstandardcode": {
  9090. "description": "现货商品代码",
  9091. "type": "string"
  9092. },
  9093. "wrstandardid": {
  9094. "description": "现货商品ID",
  9095. "type": "integer"
  9096. },
  9097. "wrstandardname": {
  9098. "description": "现货商品名称",
  9099. "type": "string"
  9100. }
  9101. }
  9102. },
  9103. "ermcp.QryReportSpotMonthDetailRsp": {
  9104. "type": "object",
  9105. "properties": {
  9106. "areauserid": {
  9107. "description": "所属机构T",
  9108. "type": "integer"
  9109. },
  9110. "enumdicname": {
  9111. "description": "现货商品单位名称",
  9112. "type": "string"
  9113. },
  9114. "reckondate": {
  9115. "description": "日照时期(yyyyMMdd)",
  9116. "type": "string"
  9117. },
  9118. "todaybuyreckonqty": {
  9119. "description": "采购确定量",
  9120. "type": "number"
  9121. },
  9122. "todaysellreckonqty": {
  9123. "description": "销售确定量",
  9124. "type": "number"
  9125. },
  9126. "totalbuypricedqty": {
  9127. "description": "采购定价量 = 期末 - 期初",
  9128. "type": "number"
  9129. },
  9130. "totalsellpricedqty": {
  9131. "description": "销售定价量 = 期末 - 期初",
  9132. "type": "number"
  9133. },
  9134. "wrstandardcode": {
  9135. "description": "现货商品代码",
  9136. "type": "string"
  9137. },
  9138. "wrstandardid": {
  9139. "description": "现货商品ID",
  9140. "type": "integer"
  9141. },
  9142. "wrstandardname": {
  9143. "description": "现货商品名称",
  9144. "type": "string"
  9145. }
  9146. }
  9147. },
  9148. "ermcp.QrySpotContractRsp": {
  9149. "type": "object",
  9150. "properties": {
  9151. "amount": {
  9152. "description": "金额 [1:一口价、3:暂定价]",
  9153. "type": "number"
  9154. },
  9155. "attachment": {
  9156. "description": "附件",
  9157. "type": "string"
  9158. },
  9159. "auditremark": {
  9160. "description": "审核意见",
  9161. "type": "string"
  9162. },
  9163. "audittime": {
  9164. "description": "审核时间",
  9165. "type": "string"
  9166. },
  9167. "brandname": {
  9168. "description": "品牌名称",
  9169. "type": "string"
  9170. },
  9171. "buyuserid": {
  9172. "description": "采购方ID",
  9173. "type": "integer"
  9174. },
  9175. "buyusername": {
  9176. "description": "采购方名称",
  9177. "type": "string"
  9178. },
  9179. "contracctstatus": {
  9180. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9181. "type": "integer"
  9182. },
  9183. "contractmargin": {
  9184. "description": "合同保证金",
  9185. "type": "number"
  9186. },
  9187. "contractno": {
  9188. "description": "现货合同编号",
  9189. "type": "string"
  9190. },
  9191. "contracttype": {
  9192. "description": "现货合同类型 - 1:采购 -1:销售",
  9193. "type": "integer"
  9194. },
  9195. "convertfactor": {
  9196. "description": "标仓系数",
  9197. "type": "number"
  9198. },
  9199. "createtime": {
  9200. "description": "创建时间",
  9201. "type": "string"
  9202. },
  9203. "deliveryenddate": {
  9204. "description": "交收期(结束)",
  9205. "type": "string"
  9206. },
  9207. "deliverygoodscode": {
  9208. "description": "现货品种代码",
  9209. "type": "string"
  9210. },
  9211. "deliverygoodsid": {
  9212. "description": "现货品种ID",
  9213. "type": "integer"
  9214. },
  9215. "deliverygoodsname": {
  9216. "description": "现货品种名称",
  9217. "type": "string"
  9218. },
  9219. "deliverystartdate": {
  9220. "description": "交收期(开始)",
  9221. "type": "string"
  9222. },
  9223. "enddate": {
  9224. "description": "点价结束日期 [2:点价 3:暂定价]",
  9225. "type": "string"
  9226. },
  9227. "enumdicname": {
  9228. "description": "单位名称",
  9229. "type": "string"
  9230. },
  9231. "goodscode": {
  9232. "description": "点价合约代码",
  9233. "type": "string"
  9234. },
  9235. "goodsid": {
  9236. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  9237. "type": "integer"
  9238. },
  9239. "goodsname": {
  9240. "description": "点价商品名称",
  9241. "type": "string"
  9242. },
  9243. "margin": {
  9244. "description": "当前保证金",
  9245. "type": "number"
  9246. },
  9247. "modelname": {
  9248. "description": "型号名称",
  9249. "type": "string"
  9250. },
  9251. "price": {
  9252. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  9253. "type": "number"
  9254. },
  9255. "pricemove": {
  9256. "description": "升贴水 [2:点价 3:暂定价]",
  9257. "type": "number"
  9258. },
  9259. "pricetype": {
  9260. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9261. "type": "integer"
  9262. },
  9263. "producttype": {
  9264. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9265. "type": "integer"
  9266. },
  9267. "qty": {
  9268. "description": "数量",
  9269. "type": "number"
  9270. },
  9271. "remark": {
  9272. "description": "备注",
  9273. "type": "string"
  9274. },
  9275. "selluserid": {
  9276. "description": "销售方ID",
  9277. "type": "integer"
  9278. },
  9279. "sellusername": {
  9280. "description": "销售方名称",
  9281. "type": "string"
  9282. },
  9283. "spotcontractid": {
  9284. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  9285. "type": "string"
  9286. },
  9287. "spotgoodsbrandid": {
  9288. "description": "现货品牌ID",
  9289. "type": "integer"
  9290. },
  9291. "spotgoodsdesc": {
  9292. "description": "商品型号",
  9293. "type": "string"
  9294. },
  9295. "spotgoodsmodelid": {
  9296. "description": "现货型号ID",
  9297. "type": "integer"
  9298. },
  9299. "startdate": {
  9300. "description": "点价开始日期 [2:点价 3:暂定价]",
  9301. "type": "string"
  9302. },
  9303. "userid": {
  9304. "description": "机构ID",
  9305. "type": "integer"
  9306. },
  9307. "wrstandardid": {
  9308. "description": "现货商品ID",
  9309. "type": "integer"
  9310. }
  9311. }
  9312. },
  9313. "ermcp.QryUserInfoRsp": {
  9314. "type": "object",
  9315. "properties": {
  9316. "address": {
  9317. "description": "通讯地址",
  9318. "type": "string"
  9319. },
  9320. "attachment1": {
  9321. "description": "附件1",
  9322. "type": "string"
  9323. },
  9324. "cardfrontphotourl": {
  9325. "description": "证件正面图片地址",
  9326. "type": "string"
  9327. },
  9328. "cardnum": {
  9329. "description": "证件号码",
  9330. "type": "string"
  9331. },
  9332. "cardtype": {
  9333. "description": "证件类型",
  9334. "type": "integer"
  9335. },
  9336. "cardtypename": {
  9337. "description": "证件类型名称",
  9338. "type": "string"
  9339. },
  9340. "cityid": {
  9341. "description": "市",
  9342. "type": "integer"
  9343. },
  9344. "countryid": {
  9345. "description": "国家",
  9346. "type": "integer"
  9347. },
  9348. "createtime": {
  9349. "description": "创建时间",
  9350. "type": "string"
  9351. },
  9352. "customername": {
  9353. "description": "企业名称",
  9354. "type": "string"
  9355. },
  9356. "memberuserid": {
  9357. "description": "所属机构ID",
  9358. "type": "integer"
  9359. },
  9360. "mobile": {
  9361. "description": "手机号码",
  9362. "type": "string"
  9363. },
  9364. "provinceid": {
  9365. "description": "省",
  9366. "type": "integer"
  9367. },
  9368. "remark": {
  9369. "description": "备注",
  9370. "type": "string"
  9371. },
  9372. "status": {
  9373. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9374. "type": "integer"
  9375. },
  9376. "statusdesc": {
  9377. "description": "账户状态中文描述",
  9378. "type": "string"
  9379. },
  9380. "telphone": {
  9381. "description": "联系电话",
  9382. "type": "string"
  9383. },
  9384. "userid": {
  9385. "description": "用户ID",
  9386. "type": "integer"
  9387. },
  9388. "userinfotype": {
  9389. "description": "客户类型",
  9390. "type": "string"
  9391. }
  9392. }
  9393. },
  9394. "ermcp.QryWrStandardDetailRsp": {
  9395. "type": "object",
  9396. "properties": {
  9397. "gbList": {
  9398. "description": "品牌列表",
  9399. "type": "array",
  9400. "items": {
  9401. "$ref": "#/definitions/models.GoodsBrand"
  9402. }
  9403. },
  9404. "gtList": {
  9405. "description": "型号列表",
  9406. "type": "array",
  9407. "items": {
  9408. "$ref": "#/definitions/models.GoodsTypeModel"
  9409. }
  9410. },
  9411. "wrd": {
  9412. "description": "基本信息",
  9413. "$ref": "#/definitions/models.ErmcpWrstandard"
  9414. },
  9415. "wrsList": {
  9416. "description": "套保信息列表",
  9417. "type": "array",
  9418. "items": {
  9419. "$ref": "#/definitions/models.WRSConverTDetail"
  9420. }
  9421. }
  9422. }
  9423. },
  9424. "ermcp.QryWrStandardRsp": {
  9425. "type": "object",
  9426. "properties": {
  9427. "areauserid": {
  9428. "description": "所属机构",
  9429. "type": "integer"
  9430. },
  9431. "createtime": {
  9432. "description": "创建时间",
  9433. "type": "string"
  9434. },
  9435. "creatorid": {
  9436. "description": "创建人",
  9437. "type": "integer"
  9438. },
  9439. "deliverygoodsid": {
  9440. "description": "品种ID",
  9441. "type": "integer"
  9442. },
  9443. "enumdicname": {
  9444. "description": "单位名称",
  9445. "type": "string"
  9446. },
  9447. "isvalid": {
  9448. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9449. "type": "integer"
  9450. },
  9451. "minivalue": {
  9452. "description": "最小变动值",
  9453. "type": "integer"
  9454. },
  9455. "minivaluedp": {
  9456. "description": "最小变动值小数位",
  9457. "type": "integer"
  9458. },
  9459. "realminivalue": {
  9460. "description": "实际最小变动值",
  9461. "type": "integer"
  9462. },
  9463. "realminivaluedp": {
  9464. "description": "实际最小变动值小数位",
  9465. "type": "integer"
  9466. },
  9467. "remark": {
  9468. "description": "备注",
  9469. "type": "string"
  9470. },
  9471. "unitid": {
  9472. "description": "单位ID",
  9473. "type": "integer"
  9474. },
  9475. "updatetime": {
  9476. "description": "更新时间",
  9477. "type": "string"
  9478. },
  9479. "wrstandardcode": {
  9480. "description": "现货商品代码",
  9481. "type": "string"
  9482. },
  9483. "wrstandardid": {
  9484. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9485. "type": "integer"
  9486. },
  9487. "wrstandardname": {
  9488. "description": "现货商品名称",
  9489. "type": "string"
  9490. }
  9491. }
  9492. },
  9493. "ermcp.QueryErmcpTradePositionRsp": {
  9494. "type": "object",
  9495. "properties": {
  9496. "agreeunit": {
  9497. "description": "合约单位",
  9498. "type": "number"
  9499. },
  9500. "buyorsell": {
  9501. "description": "方向 - 0:买 1:卖",
  9502. "type": "integer"
  9503. },
  9504. "curpositionqty": {
  9505. "description": "持仓(总仓数量, 期末头寸)",
  9506. "type": "integer"
  9507. },
  9508. "curtdposition": {
  9509. "description": "今仓数量(期末今日头寸)",
  9510. "type": "integer"
  9511. },
  9512. "curtdpositionenabled": {
  9513. "description": "今仓可用",
  9514. "type": "integer"
  9515. },
  9516. "decimalplace": {
  9517. "description": "报价小数位",
  9518. "type": "integer"
  9519. },
  9520. "enableqty": {
  9521. "description": "可用(总仓可用)",
  9522. "type": "integer"
  9523. },
  9524. "exexchangename": {
  9525. "description": "外部交易所名称",
  9526. "type": "string"
  9527. },
  9528. "goodscode": {
  9529. "description": "商品代码(内部)",
  9530. "type": "string"
  9531. },
  9532. "goodsid": {
  9533. "description": "商品ID(自增ID SEQ_GOODS)",
  9534. "type": "integer"
  9535. },
  9536. "goodsname": {
  9537. "description": "商品名称",
  9538. "type": "string"
  9539. },
  9540. "last": {
  9541. "description": "现价",
  9542. "type": "number"
  9543. },
  9544. "marketid": {
  9545. "description": "所属市场ID",
  9546. "type": "integer"
  9547. },
  9548. "openaverageprice": {
  9549. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  9550. "type": "number"
  9551. },
  9552. "opencost": {
  9553. "description": "开仓成本",
  9554. "type": "number"
  9555. },
  9556. "openpl": {
  9557. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9558. "type": "number"
  9559. },
  9560. "outgoodscode": {
  9561. "description": "商品代码(外部)",
  9562. "type": "string"
  9563. },
  9564. "positionaverageprice": {
  9565. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  9566. "type": "number"
  9567. },
  9568. "positioncost": {
  9569. "description": "持仓成本",
  9570. "type": "number"
  9571. },
  9572. "positionpl": {
  9573. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9574. "type": "number"
  9575. },
  9576. "positionplrate": {
  9577. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  9578. "type": "number"
  9579. },
  9580. "usedmargin": {
  9581. "description": "占用保证金",
  9582. "type": "number"
  9583. }
  9584. }
  9585. },
  9586. "ermcp.RealtimeExposurePositionRsp": {
  9587. "type": "object",
  9588. "properties": {
  9589. "agreeunit": {
  9590. "description": "合约单位",
  9591. "type": "string"
  9592. },
  9593. "areauserid": {
  9594. "description": "所属机构id",
  9595. "type": "integer"
  9596. },
  9597. "convertratio": {
  9598. "description": "期货品种系数(折算系数)",
  9599. "type": "number"
  9600. },
  9601. "curqty": {
  9602. "description": "当前持仓",
  9603. "type": "integer"
  9604. },
  9605. "diffhedgeqty": {
  9606. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  9607. "type": "number"
  9608. },
  9609. "diffqty": {
  9610. "description": "持仓变动量=当前持仓-昨日持仓",
  9611. "type": "integer"
  9612. },
  9613. "goodscode": {
  9614. "description": "商品代码",
  9615. "type": "string"
  9616. },
  9617. "goodsid": {
  9618. "description": "商品id",
  9619. "type": "integer"
  9620. },
  9621. "goodsname": {
  9622. "description": "商品名称",
  9623. "type": "string"
  9624. },
  9625. "middlegoodsid": {
  9626. "description": "套保商品id",
  9627. "type": "integer"
  9628. },
  9629. "ydqty": {
  9630. "description": "昨日持仓",
  9631. "type": "integer"
  9632. }
  9633. }
  9634. },
  9635. "ermcp.RealtimeExposureRsp": {
  9636. "type": "object",
  9637. "properties": {
  9638. "areaUserID": {
  9639. "description": "所属机构",
  9640. "type": "integer"
  9641. },
  9642. "buyFutureQty": {
  9643. "description": "买入期货数量",
  9644. "type": "number"
  9645. },
  9646. "buyPlanQty": {
  9647. "description": "采购计划数量",
  9648. "type": "number"
  9649. },
  9650. "buyPricedQty": {
  9651. "description": "采购合同已定价数量",
  9652. "type": "number"
  9653. },
  9654. "diffFutuQty": {
  9655. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9656. "type": "number"
  9657. },
  9658. "diffSpotQty": {
  9659. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9660. "type": "number"
  9661. },
  9662. "enumdicname": {
  9663. "description": "单位名称",
  9664. "type": "string"
  9665. },
  9666. "middleGoodsCode": {
  9667. "description": "套保品种代码",
  9668. "type": "string"
  9669. },
  9670. "middleGoodsHedgeRatio": {
  9671. "description": "应套保比例",
  9672. "type": "number"
  9673. },
  9674. "middleGoodsID": {
  9675. "description": "套保品种",
  9676. "type": "integer"
  9677. },
  9678. "middleGoodsName": {
  9679. "description": "套保品种名称",
  9680. "type": "string"
  9681. },
  9682. "needHedgeExposoure": {
  9683. "description": "应套保敞口",
  9684. "type": "number"
  9685. },
  9686. "needHedgeRatio": {
  9687. "description": "应套保敞口比例",
  9688. "type": "number"
  9689. },
  9690. "oriBuyFutureQty": {
  9691. "description": "期初买入期货数量",
  9692. "type": "number"
  9693. },
  9694. "oriBuyPlanQty": {
  9695. "description": "期初采购计划数量",
  9696. "type": "number"
  9697. },
  9698. "oriBuyPricedQty": {
  9699. "description": "期初采购合同已定价数量",
  9700. "type": "number"
  9701. },
  9702. "oriSellFutureQty": {
  9703. "description": "期初卖出期货数量",
  9704. "type": "number"
  9705. },
  9706. "oriSellPlanQty": {
  9707. "description": "期初销售计划数量",
  9708. "type": "number"
  9709. },
  9710. "oriSellPricedQty": {
  9711. "description": "期初销售合同已定价数量",
  9712. "type": "number"
  9713. },
  9714. "oriTotalFutuQty": {
  9715. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9716. "type": "number"
  9717. },
  9718. "oriTotalSpotQty": {
  9719. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9720. "type": "number"
  9721. },
  9722. "sellFutureQty": {
  9723. "description": "卖出期货数量",
  9724. "type": "number"
  9725. },
  9726. "sellPlanQty": {
  9727. "description": "销售计划数量",
  9728. "type": "number"
  9729. },
  9730. "sellPricedQty": {
  9731. "description": "销售合同已定价数量",
  9732. "type": "number"
  9733. },
  9734. "totalExposure": {
  9735. "description": "总敞口",
  9736. "type": "number"
  9737. },
  9738. "totalFutureQty": {
  9739. "description": "期货数量",
  9740. "type": "number"
  9741. },
  9742. "totalHedgeRatio": {
  9743. "description": "敞口比例",
  9744. "type": "number"
  9745. },
  9746. "totalNeedHedgeQty": {
  9747. "description": "期货应套保量",
  9748. "type": "number"
  9749. },
  9750. "totalSpotQty": {
  9751. "description": "现货数量",
  9752. "type": "number"
  9753. }
  9754. }
  9755. },
  9756. "erms2.QueryArbitrageStrategyRsp": {
  9757. "type": "object",
  9758. "required": [
  9759. "asapplyid"
  9760. ],
  9761. "properties": {
  9762. "applybasis": {
  9763. "description": "申请基差",
  9764. "type": "number"
  9765. },
  9766. "asapplyid": {
  9767. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9768. "type": "string"
  9769. },
  9770. "asname": {
  9771. "description": "策略名称",
  9772. "type": "string"
  9773. },
  9774. "asno": {
  9775. "description": "策略编号",
  9776. "type": "string"
  9777. },
  9778. "basischangepl": {
  9779. "description": "基差变动损益[结算更新]",
  9780. "type": "number"
  9781. },
  9782. "biztype": {
  9783. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9784. "type": "integer"
  9785. },
  9786. "closetradedate": {
  9787. "description": "完结交易日(yyyyMMdd)",
  9788. "type": "string"
  9789. },
  9790. "curbasis": {
  9791. "description": "当前基差[结算更新]",
  9792. "type": "number"
  9793. },
  9794. "deliverygoodsid": {
  9795. "description": "现货品种ID",
  9796. "type": "integer"
  9797. },
  9798. "futureavgprice": {
  9799. "description": "期货建仓均价",
  9800. "type": "number"
  9801. },
  9802. "futurecloseamount": {
  9803. "description": "期货平仓金额",
  9804. "type": "number"
  9805. },
  9806. "futurecloseqty": {
  9807. "description": "期货平仓数量",
  9808. "type": "number"
  9809. },
  9810. "futureopenamount": {
  9811. "description": "期货开仓金额",
  9812. "type": "number"
  9813. },
  9814. "futureopenqty": {
  9815. "description": "期货开仓数量",
  9816. "type": "number"
  9817. },
  9818. "futurepl": {
  9819. "description": "期货总盈亏[结算更新]",
  9820. "type": "number"
  9821. },
  9822. "futureqty": {
  9823. "description": "期货持仓数量",
  9824. "type": "number"
  9825. },
  9826. "futurequote": {
  9827. "description": "期货额度",
  9828. "type": "number"
  9829. },
  9830. "goodsgroupid": {
  9831. "description": "期货品种ID",
  9832. "type": "integer"
  9833. },
  9834. "marketid": {
  9835. "description": "市场ID",
  9836. "type": "integer"
  9837. },
  9838. "netexposure": {
  9839. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9840. "type": "number"
  9841. },
  9842. "netexposurepl": {
  9843. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9844. "type": "number"
  9845. },
  9846. "netexposurerate": {
  9847. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9848. "type": "number"
  9849. },
  9850. "openbasis": {
  9851. "description": "建仓基差",
  9852. "type": "number"
  9853. },
  9854. "pricedspotqty": {
  9855. "description": "已定价现货数量",
  9856. "type": "number"
  9857. },
  9858. "pricedspotqtynotax": {
  9859. "description": "已定价现货不含税数量",
  9860. "type": "number"
  9861. },
  9862. "remark": {
  9863. "description": "备注",
  9864. "type": "string"
  9865. },
  9866. "spotavgprice": {
  9867. "description": "现货均价",
  9868. "type": "number"
  9869. },
  9870. "spotbuyamount": {
  9871. "description": "现货采购金额",
  9872. "type": "number"
  9873. },
  9874. "spotbuyqty": {
  9875. "description": "现货采购数量",
  9876. "type": "number"
  9877. },
  9878. "spotpl": {
  9879. "description": "现货总盈亏[结算更新]",
  9880. "type": "number"
  9881. },
  9882. "spotquota": {
  9883. "description": "现货额度",
  9884. "type": "number"
  9885. },
  9886. "spotsellamount": {
  9887. "description": "现货销售金额",
  9888. "type": "number"
  9889. },
  9890. "spotsellqty": {
  9891. "description": "现货销售数量",
  9892. "type": "number"
  9893. },
  9894. "spotusedquota": {
  9895. "description": "现货占用资金",
  9896. "type": "number"
  9897. },
  9898. "strategystatus": {
  9899. "description": "策略状态 - 0:未结束 1:已结束",
  9900. "type": "integer"
  9901. },
  9902. "totalpl": {
  9903. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9904. "type": "number"
  9905. },
  9906. "tradedate": {
  9907. "description": "交易日(yyyyMMdd)",
  9908. "type": "string"
  9909. },
  9910. "updatetime": {
  9911. "description": "更新时间",
  9912. "type": "string"
  9913. },
  9914. "usedquota": {
  9915. "description": "已占用资金",
  9916. "type": "number"
  9917. },
  9918. "userid": {
  9919. "description": "所属机构",
  9920. "type": "integer"
  9921. }
  9922. }
  9923. },
  9924. "erms2.QueryInnerTradeDetailRsp": {
  9925. "type": "object",
  9926. "required": [
  9927. "asapplyid",
  9928. "buyorsell",
  9929. "goodscode",
  9930. "goodsgroupid",
  9931. "goodsgroupname",
  9932. "goodsname",
  9933. "tradeid"
  9934. ],
  9935. "properties": {
  9936. "accountid": {
  9937. "description": "账号ID",
  9938. "type": "integer"
  9939. },
  9940. "agreeunit": {
  9941. "description": "合约单位",
  9942. "type": "number"
  9943. },
  9944. "asapplyid": {
  9945. "description": "策略申请ID",
  9946. "type": "integer"
  9947. },
  9948. "asname": {
  9949. "description": "策略名称",
  9950. "type": "string"
  9951. },
  9952. "asno": {
  9953. "description": "策略编号",
  9954. "type": "string"
  9955. },
  9956. "buyorsell": {
  9957. "description": "方向 - 0:买 1:卖",
  9958. "type": "integer"
  9959. },
  9960. "channelbuildtype": {
  9961. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9962. "type": "integer"
  9963. },
  9964. "closetype": {
  9965. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9966. "type": "integer"
  9967. },
  9968. "decimalplace": {
  9969. "description": "报价小数位",
  9970. "type": "integer"
  9971. },
  9972. "detailtype": {
  9973. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9974. "type": "integer"
  9975. },
  9976. "exexchangecode": {
  9977. "description": "外部交易所代码",
  9978. "type": "string"
  9979. },
  9980. "exexchangename": {
  9981. "description": "外部交易所名称",
  9982. "type": "string"
  9983. },
  9984. "goodscode": {
  9985. "description": "商品代码(合约)",
  9986. "type": "string"
  9987. },
  9988. "goodsgroupid": {
  9989. "description": "商品组ID(品种ID)",
  9990. "type": "integer"
  9991. },
  9992. "goodsgroupname": {
  9993. "description": "商品组名称(品种)",
  9994. "type": "string"
  9995. },
  9996. "goodsid": {
  9997. "description": "商品ID",
  9998. "type": "integer"
  9999. },
  10000. "goodsname": {
  10001. "description": "商品名称(合约)",
  10002. "type": "string"
  10003. },
  10004. "goodunit": {
  10005. "description": "报价单位",
  10006. "type": "string"
  10007. },
  10008. "marketid": {
  10009. "description": "市场ID",
  10010. "type": "integer"
  10011. },
  10012. "orderid": {
  10013. "description": "委托单号",
  10014. "type": "string"
  10015. },
  10016. "outgoodscode": {
  10017. "description": "商品代码(外部)",
  10018. "type": "string"
  10019. },
  10020. "relatedouttradeid": {
  10021. "description": "关联外部成交单ID",
  10022. "type": "string"
  10023. },
  10024. "remark": {
  10025. "description": "备注",
  10026. "type": "string"
  10027. },
  10028. "spotcontractid": {
  10029. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  10030. "type": "integer"
  10031. },
  10032. "spotcontractno": {
  10033. "description": "现货合同编号",
  10034. "type": "string"
  10035. },
  10036. "tradeid": {
  10037. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10038. "type": "string"
  10039. },
  10040. "tradeprice": {
  10041. "description": "成交价格",
  10042. "type": "number"
  10043. },
  10044. "tradeqty": {
  10045. "description": "成交数量",
  10046. "type": "integer"
  10047. },
  10048. "tradetime": {
  10049. "description": "成交时间",
  10050. "type": "string"
  10051. },
  10052. "updatetime": {
  10053. "description": "更新时间",
  10054. "type": "string"
  10055. }
  10056. }
  10057. },
  10058. "erms2.QuerySpotContractRsp": {
  10059. "type": "object",
  10060. "required": [
  10061. "spotcontractid"
  10062. ],
  10063. "properties": {
  10064. "accountid": {
  10065. "description": "资金账户ID",
  10066. "type": "integer"
  10067. },
  10068. "areauserid": {
  10069. "description": "所属机构",
  10070. "type": "integer"
  10071. },
  10072. "closedate": {
  10073. "description": "终止日期",
  10074. "type": "string"
  10075. },
  10076. "closeremark": {
  10077. "description": "结束备注",
  10078. "type": "string"
  10079. },
  10080. "closetradedate": {
  10081. "description": "完结交易日(yyyyMMdd)",
  10082. "type": "string"
  10083. },
  10084. "closetype": {
  10085. "description": "终止类型 - 1:违约 2:提前终止",
  10086. "type": "integer"
  10087. },
  10088. "contractamount": {
  10089. "description": "合同金额",
  10090. "type": "number"
  10091. },
  10092. "contractattachment": {
  10093. "description": "合同附件",
  10094. "type": "string"
  10095. },
  10096. "contractno": {
  10097. "description": "现货合同编号",
  10098. "type": "string"
  10099. },
  10100. "contractqty": {
  10101. "description": "合同数量(数值) (用于计算)",
  10102. "type": "number"
  10103. },
  10104. "contractqtychar": {
  10105. "description": "合同数量\\已订价数量 (用于显示)",
  10106. "type": "string"
  10107. },
  10108. "contractstatus": {
  10109. "description": "合同状态 - 0:未结束 1:已结束",
  10110. "type": "integer"
  10111. },
  10112. "contracttype": {
  10113. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10114. "type": "integer"
  10115. },
  10116. "customeraccountid": {
  10117. "description": "客户资金账户ID",
  10118. "type": "integer"
  10119. },
  10120. "customeruserid": {
  10121. "description": "客户ID",
  10122. "type": "integer"
  10123. },
  10124. "deliverygoodsdesc": {
  10125. "description": "品种说明",
  10126. "type": "string"
  10127. },
  10128. "deliverygoodsid": {
  10129. "description": "现货品种ID",
  10130. "type": "integer"
  10131. },
  10132. "handlestatus": {
  10133. "description": "处理状态",
  10134. "type": "integer"
  10135. },
  10136. "invoiceatt": {
  10137. "description": "发票附件",
  10138. "type": "string"
  10139. },
  10140. "invoicedatetime": {
  10141. "description": "开收票更新时间",
  10142. "type": "string"
  10143. },
  10144. "invoiceopentime": {
  10145. "description": "开票时间",
  10146. "type": "string"
  10147. },
  10148. "invoiceremark": {
  10149. "description": "发票备注",
  10150. "type": "string"
  10151. },
  10152. "invoicestatus": {
  10153. "description": "开收票状态 - 0:未开票 1:已开票",
  10154. "type": "integer"
  10155. },
  10156. "lastdate": {
  10157. "description": "交货时间",
  10158. "type": "string"
  10159. },
  10160. "marketid": {
  10161. "description": "市场ID",
  10162. "type": "integer"
  10163. },
  10164. "paydatetime": {
  10165. "description": "收付款更新时间",
  10166. "type": "string"
  10167. },
  10168. "payremark": {
  10169. "description": "收付款备注",
  10170. "type": "string"
  10171. },
  10172. "paystatus": {
  10173. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10174. "type": "integer"
  10175. },
  10176. "positionqty": {
  10177. "description": "头寸数量 - 合同数量去小数部分",
  10178. "type": "integer"
  10179. },
  10180. "producttype": {
  10181. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10182. "type": "integer"
  10183. },
  10184. "relatedqty": {
  10185. "description": "已关联数量",
  10186. "type": "number"
  10187. },
  10188. "relatedstatus": {
  10189. "description": "关联完结状态 - 0:未结束 1:已结束",
  10190. "type": "integer"
  10191. },
  10192. "remark": {
  10193. "description": "备注",
  10194. "type": "string"
  10195. },
  10196. "signdate": {
  10197. "description": "签订日期",
  10198. "type": "string"
  10199. },
  10200. "spotcontractid": {
  10201. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10202. "type": "string"
  10203. },
  10204. "spotdatetime": {
  10205. "description": "收发货更新时间",
  10206. "type": "string"
  10207. },
  10208. "spotprice": {
  10209. "description": "价格",
  10210. "type": "number"
  10211. },
  10212. "spotremark": {
  10213. "description": "收发货备注",
  10214. "type": "string"
  10215. },
  10216. "spotstatus": {
  10217. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10218. "type": "integer"
  10219. },
  10220. "tradedate": {
  10221. "description": "交易日(yyyyMMdd)",
  10222. "type": "string"
  10223. },
  10224. "userid": {
  10225. "description": "业务员用户ID",
  10226. "type": "integer"
  10227. },
  10228. "warehouseid": {
  10229. "description": "仓库ID",
  10230. "type": "integer"
  10231. },
  10232. "wrfactortypeid": {
  10233. "description": "仓单要素类型ID",
  10234. "type": "integer"
  10235. },
  10236. "wrstandardid": {
  10237. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10238. "type": "integer"
  10239. }
  10240. }
  10241. },
  10242. "erms3.AddErms2ASApplyReq": {
  10243. "type": "object",
  10244. "required": [
  10245. "asapplyid"
  10246. ],
  10247. "properties": {
  10248. "applybasis": {
  10249. "description": "申请基差",
  10250. "type": "number"
  10251. },
  10252. "applystatus": {
  10253. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10254. "type": "integer"
  10255. },
  10256. "asapplyid": {
  10257. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10258. "type": "integer"
  10259. },
  10260. "asname": {
  10261. "description": "策略名称",
  10262. "type": "string"
  10263. },
  10264. "asno": {
  10265. "description": "策略编号",
  10266. "type": "string"
  10267. },
  10268. "auditid": {
  10269. "description": "审核人",
  10270. "type": "integer"
  10271. },
  10272. "auditremark": {
  10273. "description": "审核备注",
  10274. "type": "string"
  10275. },
  10276. "audittime": {
  10277. "description": "审核时间",
  10278. "type": "string"
  10279. },
  10280. "biztype": {
  10281. "description": "业务类型 - 1:正向套利 2:反向套利",
  10282. "type": "integer"
  10283. },
  10284. "createtime": {
  10285. "description": "创建时间",
  10286. "type": "string"
  10287. },
  10288. "creatorid": {
  10289. "description": "创建人",
  10290. "type": "integer"
  10291. },
  10292. "deliverygoodsid": {
  10293. "description": "现货品种ID",
  10294. "type": "integer"
  10295. },
  10296. "futurequote": {
  10297. "description": "期货额度",
  10298. "type": "number"
  10299. },
  10300. "goodsgroupid": {
  10301. "description": "期货品种ID",
  10302. "type": "integer"
  10303. },
  10304. "marketid": {
  10305. "description": "市场ID",
  10306. "type": "integer"
  10307. },
  10308. "remark": {
  10309. "description": "备注",
  10310. "type": "string"
  10311. },
  10312. "spotquota": {
  10313. "description": "现货额度",
  10314. "type": "number"
  10315. },
  10316. "tradedate": {
  10317. "description": "交易日(yyyyMMdd)",
  10318. "type": "string"
  10319. },
  10320. "userid": {
  10321. "description": "所属机构",
  10322. "type": "integer"
  10323. }
  10324. }
  10325. },
  10326. "erms3.AddErms2SpotTradeApplyReq": {
  10327. "type": "object",
  10328. "required": [
  10329. "spottradeid"
  10330. ],
  10331. "properties": {
  10332. "applyjsondetail": {
  10333. "description": "申请明细(JSON)",
  10334. "type": "string"
  10335. },
  10336. "applystatus": {
  10337. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10338. "type": "integer"
  10339. },
  10340. "areauserid": {
  10341. "description": "所属机构",
  10342. "type": "integer"
  10343. },
  10344. "auditid": {
  10345. "description": "审核人",
  10346. "type": "integer"
  10347. },
  10348. "auditremark": {
  10349. "description": "审核备注",
  10350. "type": "string"
  10351. },
  10352. "audittime": {
  10353. "description": "审核时间",
  10354. "type": "string"
  10355. },
  10356. "createtime": {
  10357. "description": "创建时间",
  10358. "type": "string"
  10359. },
  10360. "creatorid": {
  10361. "description": "创建人",
  10362. "type": "integer"
  10363. },
  10364. "deliverygoodsid": {
  10365. "description": "现货品种ID",
  10366. "type": "integer"
  10367. },
  10368. "futureaccountid": {
  10369. "description": "期货资金账户",
  10370. "type": "integer"
  10371. },
  10372. "goodsgroupid": {
  10373. "description": "期货品种",
  10374. "type": "integer"
  10375. },
  10376. "marketid": {
  10377. "description": "市场ID",
  10378. "type": "integer"
  10379. },
  10380. "remark": {
  10381. "description": "备注",
  10382. "type": "string"
  10383. },
  10384. "spotaccountid": {
  10385. "description": "现货资金账户",
  10386. "type": "integer"
  10387. },
  10388. "spottradeid": {
  10389. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10390. "type": "integer"
  10391. },
  10392. "spottradename": {
  10393. "description": "业务名称",
  10394. "type": "string"
  10395. },
  10396. "spottradeno": {
  10397. "description": "业务编号",
  10398. "type": "string"
  10399. },
  10400. "tradedate": {
  10401. "description": "交易日(yyyyMMdd)",
  10402. "type": "string"
  10403. },
  10404. "wrstandardid": {
  10405. "description": "仓单标准ID",
  10406. "type": "integer"
  10407. }
  10408. }
  10409. },
  10410. "erms3.AddSpotContractApplyReq": {
  10411. "type": "object",
  10412. "required": [
  10413. "accountid",
  10414. "areauserid",
  10415. "contractno",
  10416. "contracttype",
  10417. "customeraccountid",
  10418. "customeruserid",
  10419. "details",
  10420. "orimargin",
  10421. "signdate"
  10422. ],
  10423. "properties": {
  10424. "accountid": {
  10425. "description": "资金账户ID",
  10426. "type": "integer"
  10427. },
  10428. "areauserid": {
  10429. "description": "所属机构",
  10430. "type": "integer"
  10431. },
  10432. "contractattachment": {
  10433. "description": "合同附件",
  10434. "type": "string"
  10435. },
  10436. "contractno": {
  10437. "description": "现货合同编号",
  10438. "type": "string"
  10439. },
  10440. "contracttype": {
  10441. "description": "现货合同类型 - 1:采购 -1:销售",
  10442. "type": "integer"
  10443. },
  10444. "creatorid": {
  10445. "description": "申请人",
  10446. "type": "integer"
  10447. },
  10448. "customeraccountid": {
  10449. "description": "客户资金账户ID",
  10450. "type": "integer"
  10451. },
  10452. "customeruserid": {
  10453. "description": "客户ID",
  10454. "type": "integer"
  10455. },
  10456. "details": {
  10457. "description": "明细",
  10458. "type": "array",
  10459. "items": {
  10460. "$ref": "#/definitions/erms3.SoptContractDetail"
  10461. }
  10462. },
  10463. "orimargin": {
  10464. "description": "初始保证金",
  10465. "type": "number"
  10466. },
  10467. "remark": {
  10468. "description": "备注",
  10469. "type": "string"
  10470. },
  10471. "signdate": {
  10472. "description": "签订日期",
  10473. "type": "string"
  10474. }
  10475. }
  10476. },
  10477. "erms3.AddSpotContractApplyRsp": {
  10478. "type": "object",
  10479. "required": [
  10480. "contractno"
  10481. ],
  10482. "properties": {
  10483. "contractno": {
  10484. "description": "现货合同编号",
  10485. "type": "string"
  10486. },
  10487. "spotcontractid": {
  10488. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10489. "type": "integer"
  10490. }
  10491. }
  10492. },
  10493. "erms3.AddUserInfoApplyReq": {
  10494. "type": "object",
  10495. "required": [
  10496. "userid"
  10497. ],
  10498. "properties": {
  10499. "accountid": {
  10500. "description": "交易系统帐号Id (加密存储)",
  10501. "type": "integer"
  10502. },
  10503. "areacode": {
  10504. "description": "机构代码",
  10505. "type": "string"
  10506. },
  10507. "areaid": {
  10508. "description": "机构Id",
  10509. "type": "integer"
  10510. },
  10511. "attachment1": {
  10512. "description": "附件1",
  10513. "type": "string"
  10514. },
  10515. "attachment2": {
  10516. "description": "附件2",
  10517. "type": "string"
  10518. },
  10519. "attachment3": {
  10520. "description": "附件3",
  10521. "type": "string"
  10522. },
  10523. "attachment4": {
  10524. "description": "附件4",
  10525. "type": "string"
  10526. },
  10527. "attachment5": {
  10528. "description": "附件5",
  10529. "type": "string"
  10530. },
  10531. "auditedby": {
  10532. "description": "审核人",
  10533. "type": "string"
  10534. },
  10535. "auditime": {
  10536. "description": "审核时间",
  10537. "type": "string"
  10538. },
  10539. "bankaccount": {
  10540. "description": "银行帐号 (加密存储)",
  10541. "type": "string"
  10542. },
  10543. "bankaccountname": {
  10544. "description": "收款人名称",
  10545. "type": "string"
  10546. },
  10547. "bankcardbackphotourl": {
  10548. "description": "银行卡背面照地址",
  10549. "type": "string"
  10550. },
  10551. "bankcardfrontphotourl": {
  10552. "description": "银行卡正面照地址",
  10553. "type": "string"
  10554. },
  10555. "bankid": {
  10556. "description": "银行编码",
  10557. "type": "string"
  10558. },
  10559. "bankname": {
  10560. "description": "银行名称",
  10561. "type": "string"
  10562. },
  10563. "bankpictureurl": {
  10564. "description": "银行卡正面地址",
  10565. "type": "string"
  10566. },
  10567. "biznature": {
  10568. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10569. "type": "integer"
  10570. },
  10571. "bizscope": {
  10572. "description": "企业经营范围(企业)",
  10573. "type": "string"
  10574. },
  10575. "biztype": {
  10576. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10577. "type": "integer"
  10578. },
  10579. "brokerid": {
  10580. "description": "经纪人ID(加密存储)",
  10581. "type": "string"
  10582. },
  10583. "cardaddress": {
  10584. "description": "证件地址 (加密存储)",
  10585. "type": "string"
  10586. },
  10587. "cardbackphotourl": {
  10588. "description": "背面证件照地址",
  10589. "type": "string"
  10590. },
  10591. "cardfrontphotourl": {
  10592. "description": "正面证件照地址",
  10593. "type": "string"
  10594. },
  10595. "cardnum": {
  10596. "description": "证件号码 (加密存储)",
  10597. "type": "string"
  10598. },
  10599. "cardtype": {
  10600. "description": "证件类型",
  10601. "type": "integer"
  10602. },
  10603. "cityid": {
  10604. "description": "市",
  10605. "type": "integer"
  10606. },
  10607. "company": {
  10608. "description": "公司(个人)",
  10609. "type": "string"
  10610. },
  10611. "contactcardbackphotourl": {
  10612. "description": "联系人证件背面图片地址",
  10613. "type": "string"
  10614. },
  10615. "contactcardfrontphotourl": {
  10616. "description": "联系人证件正面图片地址",
  10617. "type": "string"
  10618. },
  10619. "contactname": {
  10620. "description": "联系人",
  10621. "type": "string"
  10622. },
  10623. "countryid": {
  10624. "description": "国家",
  10625. "type": "integer"
  10626. },
  10627. "createtime": {
  10628. "description": "开户申请时间",
  10629. "type": "string"
  10630. },
  10631. "cusbankid": {
  10632. "description": "签约类型",
  10633. "type": "string"
  10634. },
  10635. "cusbankname": {
  10636. "description": "签约类型名称",
  10637. "type": "string"
  10638. },
  10639. "customername": {
  10640. "description": "客户名称(企业名称)",
  10641. "type": "string"
  10642. },
  10643. "districtid": {
  10644. "description": "地区",
  10645. "type": "integer"
  10646. },
  10647. "email": {
  10648. "description": "Email地址(加密存储)",
  10649. "type": "string"
  10650. },
  10651. "halfbodyphotourl": {
  10652. "description": "半身照地址",
  10653. "type": "string"
  10654. },
  10655. "headurl": {
  10656. "description": "头像地址",
  10657. "type": "string"
  10658. },
  10659. "ipaddress": {
  10660. "description": "IP地址",
  10661. "type": "string"
  10662. },
  10663. "isvalidate": {
  10664. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10665. "type": "string"
  10666. },
  10667. "legalcardbackphotourl": {
  10668. "description": "法人身份证背面照地址",
  10669. "type": "string"
  10670. },
  10671. "legalcardfrontphotourl": {
  10672. "description": "法人身份证正面照地址",
  10673. "type": "string"
  10674. },
  10675. "legalpersonname": {
  10676. "description": "法人姓名(企业)",
  10677. "type": "string"
  10678. },
  10679. "logincode": {
  10680. "description": "登录帐号 (加密存储)",
  10681. "type": "string"
  10682. },
  10683. "memberareaid": {
  10684. "description": "所属会员ID",
  10685. "type": "integer"
  10686. },
  10687. "mobile2": {
  10688. "description": "手机号码[明文-尚志]",
  10689. "type": "string"
  10690. },
  10691. "mobilephone": {
  10692. "description": "手机号码 (加密存储)",
  10693. "type": "string"
  10694. },
  10695. "modifiedby": {
  10696. "description": "修改人帐号",
  10697. "type": "integer"
  10698. },
  10699. "modifiedtime": {
  10700. "description": "修改时间",
  10701. "type": "string"
  10702. },
  10703. "nickname": {
  10704. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10705. "type": "string"
  10706. },
  10707. "openmode": {
  10708. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10709. "type": "integer"
  10710. },
  10711. "otherurl": {
  10712. "description": "其它图片地址[使用分号分隔]",
  10713. "type": "string"
  10714. },
  10715. "postalcode": {
  10716. "description": "邮政编码",
  10717. "type": "string"
  10718. },
  10719. "provinceid": {
  10720. "description": "省",
  10721. "type": "integer"
  10722. },
  10723. "proxystatementurl": {
  10724. "description": "授权委托书",
  10725. "type": "string"
  10726. },
  10727. "qq": {
  10728. "description": "QQ(加密存储",
  10729. "type": "string"
  10730. },
  10731. "referral": {
  10732. "description": "推荐人编码",
  10733. "type": "string"
  10734. },
  10735. "remark": {
  10736. "description": "备注",
  10737. "type": "string"
  10738. },
  10739. "removebeforestatus": {
  10740. "description": "REMOVEBEFORESTATUS",
  10741. "type": "integer"
  10742. },
  10743. "sex": {
  10744. "description": "性别 - 0:女 1:男",
  10745. "type": "integer"
  10746. },
  10747. "signedstatus": {
  10748. "description": "账户一号签签约状态",
  10749. "type": "integer"
  10750. },
  10751. "signpdfurl": {
  10752. "description": "签约pdf文件",
  10753. "type": "string"
  10754. },
  10755. "subbranch": {
  10756. "description": "开户支行",
  10757. "type": "string"
  10758. },
  10759. "telphone": {
  10760. "description": "联系电话(加密存储)",
  10761. "type": "string"
  10762. },
  10763. "userid": {
  10764. "description": "用户ID(自增ID)",
  10765. "type": "integer"
  10766. },
  10767. "userinfotype": {
  10768. "description": "用户信息类型 - 1:个人 2:企业",
  10769. "type": "integer"
  10770. },
  10771. "username": {
  10772. "description": "用户姓名",
  10773. "type": "string"
  10774. },
  10775. "userstate": {
  10776. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10777. "type": "integer"
  10778. },
  10779. "usertype": {
  10780. "description": "用户类型 - 1:投资者 2:机构",
  10781. "type": "integer"
  10782. },
  10783. "videourl": {
  10784. "description": "视频地址",
  10785. "type": "string"
  10786. },
  10787. "wechat": {
  10788. "description": "微信号 (加密存储)",
  10789. "type": "string"
  10790. }
  10791. }
  10792. },
  10793. "erms3.CustomerInfo": {
  10794. "type": "object",
  10795. "required": [
  10796. "userid"
  10797. ],
  10798. "properties": {
  10799. "accountids": {
  10800. "description": "资金账户ID列表",
  10801. "type": "array",
  10802. "items": {
  10803. "type": "integer"
  10804. }
  10805. },
  10806. "customername": {
  10807. "description": "名称(企业名称)",
  10808. "type": "string"
  10809. },
  10810. "mobile": {
  10811. "description": "手机号码",
  10812. "type": "string"
  10813. },
  10814. "userid": {
  10815. "description": "用户ID",
  10816. "type": "integer"
  10817. }
  10818. }
  10819. },
  10820. "erms3.ModifyUserInfoApplyReq": {
  10821. "type": "object",
  10822. "required": [
  10823. "userid"
  10824. ],
  10825. "properties": {
  10826. "accountid": {
  10827. "description": "交易系统帐号Id (加密存储)",
  10828. "type": "integer"
  10829. },
  10830. "areacode": {
  10831. "description": "机构代码",
  10832. "type": "string"
  10833. },
  10834. "areaid": {
  10835. "description": "机构Id",
  10836. "type": "integer"
  10837. },
  10838. "attachment1": {
  10839. "description": "附件1",
  10840. "type": "string"
  10841. },
  10842. "attachment2": {
  10843. "description": "附件2",
  10844. "type": "string"
  10845. },
  10846. "attachment3": {
  10847. "description": "附件3",
  10848. "type": "string"
  10849. },
  10850. "attachment4": {
  10851. "description": "附件4",
  10852. "type": "string"
  10853. },
  10854. "attachment5": {
  10855. "description": "附件5",
  10856. "type": "string"
  10857. },
  10858. "auditedby": {
  10859. "description": "审核人",
  10860. "type": "string"
  10861. },
  10862. "auditime": {
  10863. "description": "审核时间",
  10864. "type": "string"
  10865. },
  10866. "bankaccount": {
  10867. "description": "银行帐号 (加密存储)",
  10868. "type": "string"
  10869. },
  10870. "bankaccountname": {
  10871. "description": "收款人名称",
  10872. "type": "string"
  10873. },
  10874. "bankcardbackphotourl": {
  10875. "description": "银行卡背面照地址",
  10876. "type": "string"
  10877. },
  10878. "bankcardfrontphotourl": {
  10879. "description": "银行卡正面照地址",
  10880. "type": "string"
  10881. },
  10882. "bankid": {
  10883. "description": "银行编码",
  10884. "type": "string"
  10885. },
  10886. "bankname": {
  10887. "description": "银行名称",
  10888. "type": "string"
  10889. },
  10890. "bankpictureurl": {
  10891. "description": "银行卡正面地址",
  10892. "type": "string"
  10893. },
  10894. "biznature": {
  10895. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10896. "type": "integer"
  10897. },
  10898. "bizscope": {
  10899. "description": "企业经营范围(企业)",
  10900. "type": "string"
  10901. },
  10902. "biztype": {
  10903. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10904. "type": "integer"
  10905. },
  10906. "brokerid": {
  10907. "description": "经纪人ID(加密存储)",
  10908. "type": "string"
  10909. },
  10910. "cardaddress": {
  10911. "description": "证件地址 (加密存储)",
  10912. "type": "string"
  10913. },
  10914. "cardbackphotourl": {
  10915. "description": "背面证件照地址",
  10916. "type": "string"
  10917. },
  10918. "cardfrontphotourl": {
  10919. "description": "正面证件照地址",
  10920. "type": "string"
  10921. },
  10922. "cardnum": {
  10923. "description": "证件号码 (加密存储)",
  10924. "type": "string"
  10925. },
  10926. "cardtype": {
  10927. "description": "证件类型",
  10928. "type": "integer"
  10929. },
  10930. "cityid": {
  10931. "description": "市",
  10932. "type": "integer"
  10933. },
  10934. "company": {
  10935. "description": "公司(个人)",
  10936. "type": "string"
  10937. },
  10938. "contactcardbackphotourl": {
  10939. "description": "联系人证件背面图片地址",
  10940. "type": "string"
  10941. },
  10942. "contactcardfrontphotourl": {
  10943. "description": "联系人证件正面图片地址",
  10944. "type": "string"
  10945. },
  10946. "contactname": {
  10947. "description": "联系人",
  10948. "type": "string"
  10949. },
  10950. "countryid": {
  10951. "description": "国家",
  10952. "type": "integer"
  10953. },
  10954. "createtime": {
  10955. "description": "开户申请时间",
  10956. "type": "string"
  10957. },
  10958. "cusbankid": {
  10959. "description": "签约类型",
  10960. "type": "string"
  10961. },
  10962. "cusbankname": {
  10963. "description": "签约类型名称",
  10964. "type": "string"
  10965. },
  10966. "customername": {
  10967. "description": "客户名称(企业名称)",
  10968. "type": "string"
  10969. },
  10970. "districtid": {
  10971. "description": "地区",
  10972. "type": "integer"
  10973. },
  10974. "email": {
  10975. "description": "Email地址(加密存储)",
  10976. "type": "string"
  10977. },
  10978. "halfbodyphotourl": {
  10979. "description": "半身照地址",
  10980. "type": "string"
  10981. },
  10982. "headurl": {
  10983. "description": "头像地址",
  10984. "type": "string"
  10985. },
  10986. "ipaddress": {
  10987. "description": "IP地址",
  10988. "type": "string"
  10989. },
  10990. "isvalidate": {
  10991. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10992. "type": "string"
  10993. },
  10994. "legalcardbackphotourl": {
  10995. "description": "法人身份证背面照地址",
  10996. "type": "string"
  10997. },
  10998. "legalcardfrontphotourl": {
  10999. "description": "法人身份证正面照地址",
  11000. "type": "string"
  11001. },
  11002. "legalpersonname": {
  11003. "description": "法人姓名(企业)",
  11004. "type": "string"
  11005. },
  11006. "logincode": {
  11007. "description": "登录帐号 (加密存储)",
  11008. "type": "string"
  11009. },
  11010. "memberareaid": {
  11011. "description": "所属会员ID",
  11012. "type": "integer"
  11013. },
  11014. "mobile2": {
  11015. "description": "手机号码[明文-尚志]",
  11016. "type": "string"
  11017. },
  11018. "mobilephone": {
  11019. "description": "手机号码 (加密存储)",
  11020. "type": "string"
  11021. },
  11022. "modifiedby": {
  11023. "description": "修改人帐号",
  11024. "type": "integer"
  11025. },
  11026. "modifiedtime": {
  11027. "description": "修改时间",
  11028. "type": "string"
  11029. },
  11030. "nickname": {
  11031. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11032. "type": "string"
  11033. },
  11034. "openmode": {
  11035. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11036. "type": "integer"
  11037. },
  11038. "otherurl": {
  11039. "description": "其它图片地址[使用分号分隔]",
  11040. "type": "string"
  11041. },
  11042. "postalcode": {
  11043. "description": "邮政编码",
  11044. "type": "string"
  11045. },
  11046. "provinceid": {
  11047. "description": "省",
  11048. "type": "integer"
  11049. },
  11050. "proxystatementurl": {
  11051. "description": "授权委托书",
  11052. "type": "string"
  11053. },
  11054. "qq": {
  11055. "description": "QQ(加密存储",
  11056. "type": "string"
  11057. },
  11058. "referral": {
  11059. "description": "推荐人编码",
  11060. "type": "string"
  11061. },
  11062. "remark": {
  11063. "description": "备注",
  11064. "type": "string"
  11065. },
  11066. "removebeforestatus": {
  11067. "description": "REMOVEBEFORESTATUS",
  11068. "type": "integer"
  11069. },
  11070. "sex": {
  11071. "description": "性别 - 0:女 1:男",
  11072. "type": "integer"
  11073. },
  11074. "signedstatus": {
  11075. "description": "账户一号签签约状态",
  11076. "type": "integer"
  11077. },
  11078. "signpdfurl": {
  11079. "description": "签约pdf文件",
  11080. "type": "string"
  11081. },
  11082. "subbranch": {
  11083. "description": "开户支行",
  11084. "type": "string"
  11085. },
  11086. "telphone": {
  11087. "description": "联系电话(加密存储)",
  11088. "type": "string"
  11089. },
  11090. "userid": {
  11091. "description": "用户ID(自增ID)",
  11092. "type": "integer"
  11093. },
  11094. "userinfotype": {
  11095. "description": "用户信息类型 - 1:个人 2:企业",
  11096. "type": "integer"
  11097. },
  11098. "username": {
  11099. "description": "用户姓名",
  11100. "type": "string"
  11101. },
  11102. "userstate": {
  11103. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11104. "type": "integer"
  11105. },
  11106. "usertype": {
  11107. "description": "用户类型 - 1:投资者 2:机构",
  11108. "type": "integer"
  11109. },
  11110. "videourl": {
  11111. "description": "视频地址",
  11112. "type": "string"
  11113. },
  11114. "wechat": {
  11115. "description": "微信号 (加密存储)",
  11116. "type": "string"
  11117. }
  11118. }
  11119. },
  11120. "erms3.QryAuditContractRsp": {
  11121. "type": "object",
  11122. "required": [
  11123. "matchcustomername",
  11124. "spotcontractid"
  11125. ],
  11126. "properties": {
  11127. "accountid": {
  11128. "description": "交易员ID",
  11129. "type": "string"
  11130. },
  11131. "applystatus": {
  11132. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11133. "type": "integer"
  11134. },
  11135. "curdeliveryqty": {
  11136. "description": "未交收量",
  11137. "type": "integer"
  11138. },
  11139. "customername": {
  11140. "description": "采购方ID",
  11141. "type": "string"
  11142. },
  11143. "deliverygoodsid": {
  11144. "description": "品种ID",
  11145. "type": "string"
  11146. },
  11147. "deliveryqty": {
  11148. "description": "交收量",
  11149. "type": "integer"
  11150. },
  11151. "enumdicname": {
  11152. "description": "单位名称",
  11153. "type": "string"
  11154. },
  11155. "matchaccountid": {
  11156. "description": "业务员ID",
  11157. "type": "string"
  11158. },
  11159. "matchcustomername": {
  11160. "description": "销售方ID",
  11161. "type": "string"
  11162. },
  11163. "pricedqty": {
  11164. "description": "定价量",
  11165. "type": "number"
  11166. },
  11167. "signdate": {
  11168. "description": "签订日期",
  11169. "type": "string"
  11170. },
  11171. "spotcontractid": {
  11172. "description": "合同ID",
  11173. "type": "string"
  11174. },
  11175. "totaldqty": {
  11176. "description": "合同量",
  11177. "type": "number"
  11178. },
  11179. "unpricedqty": {
  11180. "description": "未定价量",
  11181. "type": "number"
  11182. },
  11183. "wrstandardname": {
  11184. "description": "商品名称",
  11185. "type": "string"
  11186. }
  11187. }
  11188. },
  11189. "erms3.QryPendingBizRsp": {
  11190. "type": "object",
  11191. "properties": {
  11192. "accountid": {
  11193. "description": "现货账户",
  11194. "type": "string"
  11195. },
  11196. "areaname": {
  11197. "description": "所属部门",
  11198. "type": "string"
  11199. },
  11200. "bizid": {
  11201. "description": "业务ID",
  11202. "type": "string"
  11203. },
  11204. "bizname": {
  11205. "description": "业务名称",
  11206. "type": "string"
  11207. },
  11208. "status": {
  11209. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11210. "type": "integer"
  11211. },
  11212. "type": {
  11213. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  11214. "type": "integer"
  11215. }
  11216. }
  11217. },
  11218. "erms3.QueryBusinessInfoRsp": {
  11219. "type": "object",
  11220. "properties": {
  11221. "businessid": {
  11222. "description": "业务ID.",
  11223. "type": "integer"
  11224. },
  11225. "buyamount": {
  11226. "description": "采购额.",
  11227. "type": "number"
  11228. },
  11229. "buyqty": {
  11230. "description": "采购量.",
  11231. "type": "string"
  11232. },
  11233. "futurepl": {
  11234. "description": "期货盈亏.",
  11235. "type": "number"
  11236. },
  11237. "futureqty": {
  11238. "description": "期货敞口.",
  11239. "type": "string"
  11240. },
  11241. "goodsid": {
  11242. "description": "商品名称/商品代码.",
  11243. "type": "string"
  11244. },
  11245. "hedgingqty": {
  11246. "description": "套保量.",
  11247. "type": "string"
  11248. },
  11249. "sellamount": {
  11250. "description": "销售额.",
  11251. "type": "number"
  11252. },
  11253. "sellqty": {
  11254. "description": "销售量.",
  11255. "type": "string"
  11256. },
  11257. "spotmarketvalue": {
  11258. "description": "现货市值.",
  11259. "type": "number"
  11260. },
  11261. "spotpl": {
  11262. "description": "浮动权益.",
  11263. "type": "number"
  11264. },
  11265. "spotqty": {
  11266. "description": "现货量.",
  11267. "type": "string"
  11268. },
  11269. "statu": {
  11270. "description": "状态,0-未结束 1-已结束.",
  11271. "type": "integer"
  11272. },
  11273. "totalpl": {
  11274. "description": "总盈亏.",
  11275. "type": "number"
  11276. },
  11277. "totalqty": {
  11278. "description": "总敞口.",
  11279. "type": "string"
  11280. },
  11281. "type": {
  11282. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11283. "type": "integer"
  11284. }
  11285. }
  11286. },
  11287. "erms3.QuerySpotContractAppleFormRsp": {
  11288. "type": "object",
  11289. "properties": {
  11290. "goodses": {
  11291. "description": "合约列表",
  11292. "type": "array",
  11293. "items": {
  11294. "$ref": "#/definitions/models.GoodsIDAndName"
  11295. }
  11296. },
  11297. "oppositeusers": {
  11298. "description": "对方账号列表",
  11299. "type": "array",
  11300. "items": {
  11301. "$ref": "#/definitions/erms3.CustomerInfo"
  11302. }
  11303. },
  11304. "ouruser": {
  11305. "description": "我方账号",
  11306. "$ref": "#/definitions/erms3.CustomerInfo"
  11307. },
  11308. "warehouseinfos": {
  11309. "description": "仓库信息列表",
  11310. "type": "array",
  11311. "items": {
  11312. "$ref": "#/definitions/models.Warehouseinfo"
  11313. }
  11314. },
  11315. "wrstandards": {
  11316. "description": "仓单标准列表",
  11317. "type": "array",
  11318. "items": {
  11319. "$ref": "#/definitions/models.WRStandardInfo"
  11320. }
  11321. }
  11322. }
  11323. },
  11324. "erms3.QuerySpotContractInfoRsp": {
  11325. "type": "object",
  11326. "properties": {
  11327. "accountid": {
  11328. "description": "表示交易员ID.",
  11329. "type": "integer"
  11330. },
  11331. "curdeliveryqty": {
  11332. "description": "表示未交收量.",
  11333. "type": "number"
  11334. },
  11335. "customername": {
  11336. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11337. "type": "string"
  11338. },
  11339. "deliverygoodsid": {
  11340. "description": "表示品种ID.",
  11341. "type": "string"
  11342. },
  11343. "deliveryqty": {
  11344. "description": "表示交收量.",
  11345. "type": "number"
  11346. },
  11347. "matchaccountid": {
  11348. "description": "表示业务员ID.",
  11349. "type": "integer"
  11350. },
  11351. "matchcustomername": {
  11352. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11353. "type": "string"
  11354. },
  11355. "priceqty": {
  11356. "description": "表示定价量.",
  11357. "type": "number"
  11358. },
  11359. "relatedbizid": {
  11360. "description": "表示业务ID.",
  11361. "type": "string"
  11362. },
  11363. "signdate": {
  11364. "description": "表示签订日期.",
  11365. "type": "string"
  11366. },
  11367. "spotcontractid": {
  11368. "description": "合同ID",
  11369. "type": "string"
  11370. },
  11371. "status": {
  11372. "description": "表示状态,0-履约中 1-已完成.",
  11373. "type": "integer"
  11374. },
  11375. "totalqty": {
  11376. "description": "表示合同量.",
  11377. "type": "number"
  11378. },
  11379. "unpricedqty": {
  11380. "description": "表示未定价量.",
  11381. "type": "number"
  11382. },
  11383. "wrstandardname": {
  11384. "description": "表示商品ID.",
  11385. "type": "string"
  11386. }
  11387. }
  11388. },
  11389. "erms3.QueryUserInfoAppliesRsp": {
  11390. "type": "object",
  11391. "required": [
  11392. "userid"
  11393. ],
  11394. "properties": {
  11395. "biznature": {
  11396. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11397. "type": "integer"
  11398. },
  11399. "contactname": {
  11400. "description": "联系人",
  11401. "type": "string"
  11402. },
  11403. "createtime": {
  11404. "description": "开户申请时间",
  11405. "type": "string"
  11406. },
  11407. "userid": {
  11408. "description": "用户ID(自增ID)",
  11409. "type": "integer"
  11410. },
  11411. "userinfotype": {
  11412. "description": "用户信息类型 - 1:个人 2:企业",
  11413. "type": "integer"
  11414. },
  11415. "username": {
  11416. "description": "用户姓名",
  11417. "type": "string"
  11418. },
  11419. "userstate": {
  11420. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11421. "type": "integer"
  11422. }
  11423. }
  11424. },
  11425. "erms3.QueryUserInfosRsp": {
  11426. "type": "object",
  11427. "required": [
  11428. "userid"
  11429. ],
  11430. "properties": {
  11431. "biznature": {
  11432. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11433. "type": "integer"
  11434. },
  11435. "contactname": {
  11436. "description": "联系人",
  11437. "type": "string"
  11438. },
  11439. "customername": {
  11440. "description": "客户名称(企业名称)",
  11441. "type": "string"
  11442. },
  11443. "userid": {
  11444. "description": "用户ID",
  11445. "type": "integer"
  11446. },
  11447. "userinfotype": {
  11448. "description": "用户信息类型 - 1:个人 2:企业",
  11449. "type": "integer"
  11450. },
  11451. "userstatus": {
  11452. "description": "用户状态 - 1:正常 2:注销",
  11453. "type": "integer"
  11454. }
  11455. }
  11456. },
  11457. "erms3.SoptContractDetail": {
  11458. "type": "object",
  11459. "required": [
  11460. "deliverygoodsid",
  11461. "producttype",
  11462. "unitname",
  11463. "warehouseid",
  11464. "wrstandardid",
  11465. "wrstandardname"
  11466. ],
  11467. "properties": {
  11468. "deliverygoodsdesc": {
  11469. "description": "现货品种说明",
  11470. "type": "string"
  11471. },
  11472. "deliverygoodsid": {
  11473. "description": "现货品种ID",
  11474. "type": "integer"
  11475. },
  11476. "deliverygoodsname": {
  11477. "description": "现货品种名称",
  11478. "type": "string"
  11479. },
  11480. "pointdesc": {
  11481. "description": "点价描述",
  11482. "type": "string"
  11483. },
  11484. "producttype": {
  11485. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11486. "type": "integer"
  11487. },
  11488. "producttypename": {
  11489. "description": "产品类型名称",
  11490. "type": "string"
  11491. },
  11492. "spotPointOrderVoList": {
  11493. "description": "点价列表",
  11494. "type": "array",
  11495. "items": {
  11496. "$ref": "#/definitions/erms3.SpotPointOrder"
  11497. }
  11498. },
  11499. "spotPriceOrderList": {
  11500. "description": "定价列表",
  11501. "type": "array",
  11502. "items": {
  11503. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11504. }
  11505. },
  11506. "unitname": {
  11507. "description": "单位名称",
  11508. "type": "string"
  11509. },
  11510. "warehouseid": {
  11511. "description": "仓库ID",
  11512. "type": "integer"
  11513. },
  11514. "warehousename": {
  11515. "description": "仓库名称",
  11516. "type": "string"
  11517. },
  11518. "wrstandardid": {
  11519. "description": "交易标的ID",
  11520. "type": "integer"
  11521. },
  11522. "wrstandardname": {
  11523. "description": "交易标的名称",
  11524. "type": "string"
  11525. }
  11526. }
  11527. },
  11528. "erms3.SpotPointOrder": {
  11529. "type": "object",
  11530. "required": [
  11531. "basic",
  11532. "goodsid",
  11533. "qty"
  11534. ],
  11535. "properties": {
  11536. "basic": {
  11537. "description": "基差",
  11538. "type": "number"
  11539. },
  11540. "deliveryenddate": {
  11541. "description": "交收结束日期",
  11542. "type": "string"
  11543. },
  11544. "deliverystartdate": {
  11545. "description": "交收开始日期",
  11546. "type": "string"
  11547. },
  11548. "enddate": {
  11549. "description": "点价结束日期",
  11550. "type": "string"
  11551. },
  11552. "goodsid": {
  11553. "description": "商品ID",
  11554. "type": "integer"
  11555. },
  11556. "goodsname": {
  11557. "description": "商品名称",
  11558. "type": "string"
  11559. },
  11560. "qty": {
  11561. "description": "数量",
  11562. "type": "number"
  11563. },
  11564. "startdate": {
  11565. "description": "点价开始日期",
  11566. "type": "string"
  11567. }
  11568. }
  11569. },
  11570. "erms3.SpotPriceOrder": {
  11571. "type": "object",
  11572. "required": [
  11573. "amount",
  11574. "price",
  11575. "qty"
  11576. ],
  11577. "properties": {
  11578. "amount": {
  11579. "description": "金额",
  11580. "type": "number"
  11581. },
  11582. "deliveryenddate": {
  11583. "description": "交收结束日期",
  11584. "type": "string"
  11585. },
  11586. "deliverystartdate": {
  11587. "description": "交收开始日期",
  11588. "type": "string"
  11589. },
  11590. "price": {
  11591. "description": "价格",
  11592. "type": "number"
  11593. },
  11594. "qty": {
  11595. "description": "数量",
  11596. "type": "number"
  11597. }
  11598. }
  11599. },
  11600. "hsby.GetHsbyMyCountRsp": {
  11601. "type": "object",
  11602. "properties": {
  11603. "myCouponCount": {
  11604. "description": "我的优惠卷数量",
  11605. "type": "integer"
  11606. },
  11607. "myOrderDetailListingCount": {
  11608. "description": "我的订单求购中数量",
  11609. "type": "integer"
  11610. },
  11611. "myOrderDetailPreCount": {
  11612. "description": "我的订单抢购中数量",
  11613. "type": "integer"
  11614. },
  11615. "myPackageUnReceiveCount": {
  11616. "description": "我的包裹待收货数量",
  11617. "type": "integer"
  11618. },
  11619. "myPackageUnSendCount": {
  11620. "description": "我的包裹待发货数量",
  11621. "type": "integer"
  11622. },
  11623. "myPayOrderCount": {
  11624. "description": "我的订单待付款数量",
  11625. "type": "integer"
  11626. }
  11627. }
  11628. },
  11629. "hsby.QueryProvincesAndCitiesRsp": {
  11630. "type": "object",
  11631. "properties": {
  11632. "cities": {
  11633. "description": "市",
  11634. "type": "array",
  11635. "items": {
  11636. "$ref": "#/definitions/models.Division"
  11637. }
  11638. },
  11639. "province": {
  11640. "description": "省",
  11641. "$ref": "#/definitions/models.Division"
  11642. }
  11643. }
  11644. },
  11645. "models.Clientfixedadconfig": {
  11646. "type": "object",
  11647. "required": [
  11648. "adsort",
  11649. "adtype"
  11650. ],
  11651. "properties": {
  11652. "adsort": {
  11653. "description": "排序",
  11654. "type": "integer"
  11655. },
  11656. "adtype": {
  11657. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11658. "type": "integer"
  11659. },
  11660. "areauserid": {
  11661. "description": "所属机构ID",
  11662. "type": "integer"
  11663. },
  11664. "createdate": {
  11665. "description": "创建时间",
  11666. "type": "string"
  11667. },
  11668. "creatorid": {
  11669. "description": "创建人",
  11670. "type": "integer"
  11671. },
  11672. "imagepath": {
  11673. "description": "图片",
  11674. "type": "string"
  11675. },
  11676. "isshow": {
  11677. "description": "是否展示 - 0:不展示 1:展示",
  11678. "type": "integer"
  11679. },
  11680. "modifierid": {
  11681. "description": "操作人",
  11682. "type": "integer"
  11683. },
  11684. "recsize": {
  11685. "description": "推荐尺寸",
  11686. "type": "string"
  11687. },
  11688. "title": {
  11689. "description": "标题",
  11690. "type": "string"
  11691. },
  11692. "updatedate": {
  11693. "description": "更新时间",
  11694. "type": "string"
  11695. },
  11696. "urlcontent": {
  11697. "description": "链接(地址或商品ID)",
  11698. "type": "string"
  11699. },
  11700. "urltype": {
  11701. "description": "链接类型 - 1:直接地址 2:商品ID",
  11702. "type": "integer"
  11703. }
  11704. }
  11705. },
  11706. "models.Division": {
  11707. "type": "object",
  11708. "required": [
  11709. "autoid",
  11710. "divisioncode"
  11711. ],
  11712. "properties": {
  11713. "autoid": {
  11714. "description": "自增ID",
  11715. "type": "integer"
  11716. },
  11717. "divisioncode": {
  11718. "description": "行政代码",
  11719. "type": "string"
  11720. },
  11721. "divisionlevel": {
  11722. "description": "行政级别",
  11723. "type": "string"
  11724. },
  11725. "divisionname": {
  11726. "description": "行政名称",
  11727. "type": "string"
  11728. },
  11729. "modifierid": {
  11730. "description": "修改人",
  11731. "type": "integer"
  11732. },
  11733. "modifytime": {
  11734. "description": "修改时间",
  11735. "type": "string"
  11736. },
  11737. "parentcode": {
  11738. "description": "上级行政代码",
  11739. "type": "string"
  11740. },
  11741. "pathname": {
  11742. "description": "路径名称",
  11743. "type": "string"
  11744. },
  11745. "postcode": {
  11746. "description": "邮政编码",
  11747. "type": "string"
  11748. },
  11749. "separablename": {
  11750. "description": "可拆分的全称",
  11751. "type": "string"
  11752. },
  11753. "shortcode": {
  11754. "description": "地区简码",
  11755. "type": "string"
  11756. }
  11757. }
  11758. },
  11759. "models.Enumdicitem": {
  11760. "type": "object",
  11761. "required": [
  11762. "autoid",
  11763. "enumdiccode",
  11764. "enumdicid",
  11765. "enumitemname"
  11766. ],
  11767. "properties": {
  11768. "autoid": {
  11769. "description": "自增ID",
  11770. "type": "integer"
  11771. },
  11772. "bankmappedvalue": {
  11773. "description": "银行服务对应值",
  11774. "type": "string"
  11775. },
  11776. "enumdiccode": {
  11777. "description": "所属枚举代码",
  11778. "type": "string"
  11779. },
  11780. "enumdicid": {
  11781. "description": "所属枚举ID",
  11782. "type": "integer"
  11783. },
  11784. "enumdicname": {
  11785. "description": "枚举项名称",
  11786. "type": "string"
  11787. },
  11788. "enumitemname": {
  11789. "description": "枚举项值",
  11790. "type": "integer"
  11791. },
  11792. "enumitemstatus": {
  11793. "description": "枚举项状态 - 1.启用 2.不启用",
  11794. "type": "integer"
  11795. },
  11796. "enumitemvalue": {
  11797. "description": "通用值 - [币种通用简写]",
  11798. "type": "string"
  11799. },
  11800. "param1": {
  11801. "description": "参数1[币种:币种小数位]",
  11802. "type": "string"
  11803. },
  11804. "param2": {
  11805. "description": "参数1[币种:币种显示单位]",
  11806. "type": "string"
  11807. },
  11808. "remark": {
  11809. "description": "备注",
  11810. "type": "string"
  11811. }
  11812. }
  11813. },
  11814. "models.ErmcpHisExposure": {
  11815. "type": "object",
  11816. "properties": {
  11817. "needhedgeexposoure": {
  11818. "description": "应套保敞口",
  11819. "type": "number"
  11820. },
  11821. "reckondate": {
  11822. "description": "日照时期(yyyyMMdd)",
  11823. "type": "string"
  11824. },
  11825. "totalexposure": {
  11826. "description": "总敞口",
  11827. "type": "number"
  11828. }
  11829. }
  11830. },
  11831. "models.ErmcpMiddleGoodsModel": {
  11832. "type": "object",
  11833. "properties": {
  11834. "areauserid": {
  11835. "description": "机构用户ID",
  11836. "type": "integer"
  11837. },
  11838. "enumdicname": {
  11839. "description": "单位名称",
  11840. "type": "string"
  11841. },
  11842. "evaluateratio": {
  11843. "description": "估价系数",
  11844. "type": "number"
  11845. },
  11846. "goodsgroupid": {
  11847. "description": "关联期货品种ID",
  11848. "type": "integer"
  11849. },
  11850. "isvalid": {
  11851. "description": "状态 0-无效(停用) 1-有效(正常)",
  11852. "type": "integer"
  11853. },
  11854. "middlegoodscode": {
  11855. "description": "套保品种代码",
  11856. "type": "string"
  11857. },
  11858. "middlegoodsid": {
  11859. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  11860. "type": "integer"
  11861. },
  11862. "middlegoodsname": {
  11863. "description": "套保品种名称",
  11864. "type": "string"
  11865. },
  11866. "modifytime": {
  11867. "description": "修改时间",
  11868. "type": "string"
  11869. },
  11870. "needhedgeratio": {
  11871. "description": "套保比率",
  11872. "type": "number"
  11873. },
  11874. "qtydecimalplace": {
  11875. "description": "数量小数位",
  11876. "type": "integer"
  11877. },
  11878. "relatedgoodsid": {
  11879. "description": "关联交易商品ID",
  11880. "type": "integer"
  11881. },
  11882. "relatedgoodstype": {
  11883. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  11884. "type": "integer"
  11885. }
  11886. }
  11887. },
  11888. "models.ErmcpReportDayFR": {
  11889. "type": "object",
  11890. "properties": {
  11891. "areauserid": {
  11892. "description": "所属机构",
  11893. "type": "integer"
  11894. },
  11895. "collectinvoiceamount": {
  11896. "description": "今日开票金额",
  11897. "type": "number"
  11898. },
  11899. "collectinvoicecount": {
  11900. "description": "今日开票笔数",
  11901. "type": "integer"
  11902. },
  11903. "collectmoneyamount": {
  11904. "description": "今日收款金额",
  11905. "type": "number"
  11906. },
  11907. "collectmoneycount": {
  11908. "description": "今日收款笔数",
  11909. "type": "integer"
  11910. },
  11911. "payinvoiceamount": {
  11912. "description": "今日收票金额",
  11913. "type": "number"
  11914. },
  11915. "payinvoicecount": {
  11916. "description": "今日收票笔数",
  11917. "type": "integer"
  11918. },
  11919. "paymoneyamount": {
  11920. "description": "今日付款金额",
  11921. "type": "number"
  11922. },
  11923. "paymoneycount": {
  11924. "description": "今日付款笔数",
  11925. "type": "integer"
  11926. },
  11927. "reckondate": {
  11928. "description": "日照时期(yyyyMMdd)",
  11929. "type": "string"
  11930. },
  11931. "updatetime": {
  11932. "description": "更新时间",
  11933. "type": "string"
  11934. }
  11935. }
  11936. },
  11937. "models.ErmcpWrstandard": {
  11938. "type": "object",
  11939. "properties": {
  11940. "areauserid": {
  11941. "description": "所属机构",
  11942. "type": "integer"
  11943. },
  11944. "createtime": {
  11945. "description": "创建时间",
  11946. "type": "string"
  11947. },
  11948. "creatorid": {
  11949. "description": "创建人",
  11950. "type": "integer"
  11951. },
  11952. "deliverygoodsid": {
  11953. "description": "品种ID",
  11954. "type": "integer"
  11955. },
  11956. "enumdicname": {
  11957. "description": "单位名称",
  11958. "type": "string"
  11959. },
  11960. "isvalid": {
  11961. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  11962. "type": "integer"
  11963. },
  11964. "minivalue": {
  11965. "description": "最小变动值",
  11966. "type": "integer"
  11967. },
  11968. "minivaluedp": {
  11969. "description": "最小变动值小数位",
  11970. "type": "integer"
  11971. },
  11972. "realminivalue": {
  11973. "description": "实际最小变动值",
  11974. "type": "integer"
  11975. },
  11976. "realminivaluedp": {
  11977. "description": "实际最小变动值小数位",
  11978. "type": "integer"
  11979. },
  11980. "remark": {
  11981. "description": "备注",
  11982. "type": "string"
  11983. },
  11984. "unitid": {
  11985. "description": "单位ID",
  11986. "type": "integer"
  11987. },
  11988. "updatetime": {
  11989. "description": "更新时间",
  11990. "type": "string"
  11991. },
  11992. "wrstandardcode": {
  11993. "description": "现货商品代码",
  11994. "type": "string"
  11995. },
  11996. "wrstandardid": {
  11997. "description": "现货商品ID(SEQ_WRSTANDARD)",
  11998. "type": "integer"
  11999. },
  12000. "wrstandardname": {
  12001. "description": "现货商品名称",
  12002. "type": "string"
  12003. }
  12004. }
  12005. },
  12006. "models.Goods": {
  12007. "type": "object",
  12008. "required": [
  12009. "goodscode",
  12010. "goodsid",
  12011. "goodsname",
  12012. "marketid"
  12013. ],
  12014. "properties": {
  12015. "agreeunit": {
  12016. "description": "合约单位",
  12017. "type": "number"
  12018. },
  12019. "auditaccountid": {
  12020. "description": "审核操作员账号",
  12021. "type": "integer"
  12022. },
  12023. "audittime": {
  12024. "description": "审核时间",
  12025. "type": "string"
  12026. },
  12027. "cancelaccountid": {
  12028. "description": "注销操作员账号",
  12029. "type": "integer"
  12030. },
  12031. "canceltime": {
  12032. "description": "注销时间",
  12033. "type": "string"
  12034. },
  12035. "closepricemode": {
  12036. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12037. "type": "integer"
  12038. },
  12039. "closepriceparam": {
  12040. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  12041. "type": "number"
  12042. },
  12043. "createtime": {
  12044. "description": "创建时间",
  12045. "type": "string"
  12046. },
  12047. "creatorid": {
  12048. "description": "创建人",
  12049. "type": "integer"
  12050. },
  12051. "currencyid": {
  12052. "description": "报价货币ID",
  12053. "type": "integer"
  12054. },
  12055. "cutmode": {
  12056. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  12057. "type": "integer"
  12058. },
  12059. "decimalplace": {
  12060. "description": "报价小数位",
  12061. "type": "integer"
  12062. },
  12063. "delistingdate": {
  12064. "description": "商品退市时间(状态:退市) -- 已作废",
  12065. "type": "string"
  12066. },
  12067. "delistingmode": {
  12068. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  12069. "type": "integer"
  12070. },
  12071. "deliveryflag": {
  12072. "description": "交割标志 - 0:不可交割 1:可交割",
  12073. "type": "integer"
  12074. },
  12075. "forceclosemode": {
  12076. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  12077. "type": "integer"
  12078. },
  12079. "forceclosevalue": {
  12080. "description": "定期强平参数 [收益权]",
  12081. "type": "integer"
  12082. },
  12083. "goodscode": {
  12084. "description": "商品代码(内部)",
  12085. "type": "string"
  12086. },
  12087. "goodscurrencyid": {
  12088. "description": "合约货币ID",
  12089. "type": "integer"
  12090. },
  12091. "goodsgroupid": {
  12092. "description": "所属商品组ID",
  12093. "type": "integer"
  12094. },
  12095. "goodsid": {
  12096. "description": "商品ID(自增ID SEQ_GOODS)",
  12097. "type": "integer"
  12098. },
  12099. "goodsname": {
  12100. "description": "商品名称",
  12101. "type": "string"
  12102. },
  12103. "goodsquotetype": {
  12104. "description": "合约报价类型: 1-直接报价 2-间接报价",
  12105. "type": "integer"
  12106. },
  12107. "goodsstatus": {
  12108. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12109. "type": "integer"
  12110. },
  12111. "goodstradetype": {
  12112. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  12113. "type": "integer"
  12114. },
  12115. "goodunitid": {
  12116. "description": "报价单位ID",
  12117. "type": "integer"
  12118. },
  12119. "hasquoter": {
  12120. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  12121. "type": "integer"
  12122. },
  12123. "hqprotecttime": {
  12124. "description": "行情保护时间(秒)",
  12125. "type": "integer"
  12126. },
  12127. "innerdealmode": {
  12128. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12129. "type": "integer"
  12130. },
  12131. "isbuylimited": {
  12132. "description": "是否限制建仓量 - 0:不限制 1:限制",
  12133. "type": "integer"
  12134. },
  12135. "lasttradedate": {
  12136. "description": "最后交易日期(状态:待退市)",
  12137. "type": "string"
  12138. },
  12139. "listingdate": {
  12140. "description": "交易开始日期",
  12141. "type": "string"
  12142. },
  12143. "marketid": {
  12144. "description": "所属市场ID",
  12145. "type": "integer"
  12146. },
  12147. "modifierid": {
  12148. "description": "修改人",
  12149. "type": "integer"
  12150. },
  12151. "modifystatus": {
  12152. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  12153. "type": "integer"
  12154. },
  12155. "modifytime": {
  12156. "description": "修改时间",
  12157. "type": "string"
  12158. },
  12159. "outerdealmode": {
  12160. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12161. "type": "integer"
  12162. },
  12163. "outgoodscode": {
  12164. "description": "商品代码(外部)",
  12165. "type": "string"
  12166. },
  12167. "qtydecimalplace": {
  12168. "description": "成交量小数位",
  12169. "type": "integer"
  12170. },
  12171. "quotegear": {
  12172. "description": "行情档位(1-10)",
  12173. "type": "integer"
  12174. },
  12175. "quoteminunit": {
  12176. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12177. "type": "integer"
  12178. },
  12179. "quoteshowtype": {
  12180. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  12181. "type": "integer"
  12182. },
  12183. "quoteshowtypeinterval": {
  12184. "description": "行情报价间隔时间(秒)(成交价时为0)",
  12185. "type": "integer"
  12186. },
  12187. "remark": {
  12188. "description": "备注",
  12189. "type": "string"
  12190. }
  12191. }
  12192. },
  12193. "models.GoodsBrand": {
  12194. "type": "object",
  12195. "properties": {
  12196. "brandid": {
  12197. "description": "品牌ID",
  12198. "type": "integer"
  12199. },
  12200. "brandname": {
  12201. "description": "品牌名称",
  12202. "type": "string"
  12203. },
  12204. "isvalid": {
  12205. "description": "是否有效 - 0:无效 1:有效",
  12206. "type": "integer"
  12207. }
  12208. }
  12209. },
  12210. "models.GoodsGroupConvert": {
  12211. "type": "object",
  12212. "properties": {
  12213. "convertratio": {
  12214. "description": "折算系数",
  12215. "type": "number"
  12216. },
  12217. "dstgoodsgroupid": {
  12218. "description": "目标期货品种ID",
  12219. "type": "integer"
  12220. },
  12221. "goodsgroupname": {
  12222. "description": "期货品种名称",
  12223. "type": "string"
  12224. },
  12225. "outergroupcode": {
  12226. "description": "期货品种代码",
  12227. "type": "string"
  12228. },
  12229. "srcgoodsgroupid": {
  12230. "description": "源期货品种ID",
  12231. "type": "integer"
  12232. }
  12233. }
  12234. },
  12235. "models.GoodsIDAndName": {
  12236. "type": "object",
  12237. "required": [
  12238. "goodscode",
  12239. "goodsid",
  12240. "goodsname",
  12241. "marketid"
  12242. ],
  12243. "properties": {
  12244. "goodscode": {
  12245. "description": "商品代码(内部)",
  12246. "type": "string"
  12247. },
  12248. "goodsid": {
  12249. "description": "商品ID(自增ID SEQ_GOODS)",
  12250. "type": "integer"
  12251. },
  12252. "goodsname": {
  12253. "description": "商品名称",
  12254. "type": "string"
  12255. },
  12256. "marketid": {
  12257. "description": "所属市场ID",
  12258. "type": "integer"
  12259. }
  12260. }
  12261. },
  12262. "models.GoodsTypeModel": {
  12263. "type": "object",
  12264. "properties": {
  12265. "modelid": {
  12266. "description": "型号ID",
  12267. "type": "integer"
  12268. },
  12269. "modelname": {
  12270. "description": "型号名称",
  12271. "type": "string"
  12272. },
  12273. "updatetime": {
  12274. "description": "更新时间",
  12275. "type": "string"
  12276. }
  12277. }
  12278. },
  12279. "models.HsbyBuyMyPayOrder": {
  12280. "type": "object",
  12281. "required": [
  12282. "goodscode",
  12283. "goodsname",
  12284. "tradeid",
  12285. "trademode"
  12286. ],
  12287. "properties": {
  12288. "agreeunit": {
  12289. "description": "合约单位",
  12290. "type": "number"
  12291. },
  12292. "buyaccountid": {
  12293. "description": "买方账号ID[报价币种]",
  12294. "type": "integer"
  12295. },
  12296. "buyorderid": {
  12297. "description": "买方委托单号",
  12298. "type": "string"
  12299. },
  12300. "createtime": {
  12301. "description": "创建时间",
  12302. "type": "string"
  12303. },
  12304. "currencysign": {
  12305. "description": "货币符号",
  12306. "type": "string"
  12307. },
  12308. "decimalplace": {
  12309. "description": "报价小数位",
  12310. "type": "integer"
  12311. },
  12312. "goodscode": {
  12313. "description": "商品代码(内部)",
  12314. "type": "string"
  12315. },
  12316. "goodsid": {
  12317. "description": "商品ID",
  12318. "type": "integer"
  12319. },
  12320. "goodsname": {
  12321. "description": "商品名称",
  12322. "type": "string"
  12323. },
  12324. "marketid": {
  12325. "description": "市场ID",
  12326. "type": "integer"
  12327. },
  12328. "offamount": {
  12329. "description": "优惠金额",
  12330. "type": "number"
  12331. },
  12332. "payamount": {
  12333. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  12334. "type": "number"
  12335. },
  12336. "payflag": {
  12337. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12338. "type": "integer"
  12339. },
  12340. "paylimitedtime": {
  12341. "description": "支付期限",
  12342. "type": "string"
  12343. },
  12344. "paytime": {
  12345. "description": "付款时间",
  12346. "type": "string"
  12347. },
  12348. "picurls1": {
  12349. "description": "预售商品介绍图片[多张用逗号分隔]",
  12350. "type": "string"
  12351. },
  12352. "picurls2": {
  12353. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12354. "type": "string"
  12355. },
  12356. "sellaccountid": {
  12357. "description": "卖方账号ID[报价币种]",
  12358. "type": "integer"
  12359. },
  12360. "sellorderid": {
  12361. "description": "卖方委托单号",
  12362. "type": "string"
  12363. },
  12364. "tradeamount": {
  12365. "description": "成交金额",
  12366. "type": "number"
  12367. },
  12368. "tradecharge": {
  12369. "description": "成交手续费(买方)",
  12370. "type": "number"
  12371. },
  12372. "tradedate": {
  12373. "description": "交易日(yyyyMMdd)",
  12374. "type": "string"
  12375. },
  12376. "tradeid": {
  12377. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12378. "type": "string"
  12379. },
  12380. "trademode": {
  12381. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12382. "type": "integer"
  12383. },
  12384. "tradeprice": {
  12385. "description": "成交价格",
  12386. "type": "number"
  12387. },
  12388. "tradeqty": {
  12389. "description": "成交数量",
  12390. "type": "integer"
  12391. },
  12392. "vendorname1": {
  12393. "description": "预售商品供应商名称",
  12394. "type": "string"
  12395. },
  12396. "vendorname2": {
  12397. "description": "挂牌商品供应商名称",
  12398. "type": "string"
  12399. }
  12400. }
  12401. },
  12402. "models.HsbyBuyMyTradeDetail": {
  12403. "type": "object",
  12404. "required": [
  12405. "accountid",
  12406. "buyorsell",
  12407. "goodscode",
  12408. "goodsid",
  12409. "goodsname",
  12410. "marketid",
  12411. "orderid",
  12412. "qty",
  12413. "time",
  12414. "trademode"
  12415. ],
  12416. "properties": {
  12417. "accountid": {
  12418. "description": "账户ID[报价币种]",
  12419. "type": "integer"
  12420. },
  12421. "agreeunit": {
  12422. "description": "合约单位",
  12423. "type": "number"
  12424. },
  12425. "amount": {
  12426. "description": "金额 = 价格 * 数量 * 合约单位",
  12427. "type": "number"
  12428. },
  12429. "buyorsell": {
  12430. "description": "买卖 - 0:买 1:卖",
  12431. "type": "integer"
  12432. },
  12433. "currencysign": {
  12434. "description": "货币符号",
  12435. "type": "string"
  12436. },
  12437. "decimalplace": {
  12438. "description": "报价小数位",
  12439. "type": "integer"
  12440. },
  12441. "goodscode": {
  12442. "description": "商品代码(内部)",
  12443. "type": "string"
  12444. },
  12445. "goodsid": {
  12446. "description": "商品ID",
  12447. "type": "integer"
  12448. },
  12449. "goodsname": {
  12450. "description": "商品名称",
  12451. "type": "string"
  12452. },
  12453. "marketid": {
  12454. "description": "市场ID",
  12455. "type": "integer"
  12456. },
  12457. "orderid": {
  12458. "description": "单号(成交单号)",
  12459. "type": "string"
  12460. },
  12461. "picurls1": {
  12462. "description": "预售商品介绍图片[多张用逗号分隔]",
  12463. "type": "string"
  12464. },
  12465. "picurls2": {
  12466. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12467. "type": "string"
  12468. },
  12469. "price": {
  12470. "description": "价格",
  12471. "type": "number"
  12472. },
  12473. "qty": {
  12474. "description": "数量",
  12475. "type": "integer"
  12476. },
  12477. "time": {
  12478. "description": "时间",
  12479. "type": "string"
  12480. },
  12481. "trademode": {
  12482. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12483. "type": "integer"
  12484. },
  12485. "vendorname1": {
  12486. "description": "预售商品供应商名称",
  12487. "type": "string"
  12488. },
  12489. "vendorname2": {
  12490. "description": "挂牌商品供应商名称",
  12491. "type": "string"
  12492. }
  12493. }
  12494. },
  12495. "models.HsbyGoodsOrderDetail": {
  12496. "type": "object",
  12497. "required": [
  12498. "buyorsell",
  12499. "orderid",
  12500. "ordertime"
  12501. ],
  12502. "properties": {
  12503. "buyorsell": {
  12504. "description": "买卖 - 0:买 1:卖",
  12505. "type": "integer"
  12506. },
  12507. "currencysign": {
  12508. "description": "货币符号",
  12509. "type": "string"
  12510. },
  12511. "customername": {
  12512. "description": "客户名称(企业名称),已脱敏",
  12513. "type": "string"
  12514. },
  12515. "enableqty": {
  12516. "description": "可用数量",
  12517. "type": "integer"
  12518. },
  12519. "goodunit": {
  12520. "description": "报价单位",
  12521. "type": "string"
  12522. },
  12523. "orderid": {
  12524. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12525. "type": "string"
  12526. },
  12527. "orderprice": {
  12528. "description": "委托价格",
  12529. "type": "number"
  12530. },
  12531. "ordertime": {
  12532. "description": "委托时间",
  12533. "type": "string"
  12534. }
  12535. }
  12536. },
  12537. "models.HsbyListingGoodsDetail": {
  12538. "type": "object",
  12539. "required": [
  12540. "goodscode",
  12541. "goodsid",
  12542. "goodsname",
  12543. "marketid",
  12544. "trademode"
  12545. ],
  12546. "properties": {
  12547. "agreeunit": {
  12548. "description": "合约单位",
  12549. "type": "number"
  12550. },
  12551. "buymaxqty": {
  12552. "description": "购买上限 [71] - 0为不限",
  12553. "type": "integer"
  12554. },
  12555. "currency": {
  12556. "description": "货币",
  12557. "type": "string"
  12558. },
  12559. "currencysign": {
  12560. "description": "货币符号",
  12561. "type": "string"
  12562. },
  12563. "decimalplace": {
  12564. "description": "报价小数位",
  12565. "type": "integer"
  12566. },
  12567. "desccityid": {
  12568. "description": "目的地(市)ID",
  12569. "type": "integer"
  12570. },
  12571. "descprovinceid": {
  12572. "description": "目的地(省)ID",
  12573. "type": "integer"
  12574. },
  12575. "goodscode": {
  12576. "description": "商品代码(内部)",
  12577. "type": "string"
  12578. },
  12579. "goodsdesc": {
  12580. "description": "商品详情",
  12581. "type": "string"
  12582. },
  12583. "goodsid": {
  12584. "description": "商品ID(自增ID SEQ_GOODS)",
  12585. "type": "integer"
  12586. },
  12587. "goodsname": {
  12588. "description": "商品名称",
  12589. "type": "string"
  12590. },
  12591. "goodsprice": {
  12592. "description": "商品价格",
  12593. "type": "number"
  12594. },
  12595. "hotindex": {
  12596. "description": "景点热度",
  12597. "type": "integer"
  12598. },
  12599. "last": {
  12600. "description": "现价",
  12601. "type": "number"
  12602. },
  12603. "limitdown": {
  12604. "description": "跌停价",
  12605. "type": "number"
  12606. },
  12607. "limitup": {
  12608. "description": "涨停价",
  12609. "type": "number"
  12610. },
  12611. "lotsize": {
  12612. "description": "手数最小变动单位",
  12613. "type": "integer"
  12614. },
  12615. "marketid": {
  12616. "description": "所属市场ID",
  12617. "type": "integer"
  12618. },
  12619. "picurls": {
  12620. "description": "介绍图片[多张用逗号分隔]",
  12621. "type": "string"
  12622. },
  12623. "quoteminunit": {
  12624. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12625. "type": "integer"
  12626. },
  12627. "stepvalue": {
  12628. "description": "价格最小变动单位",
  12629. "type": "number"
  12630. },
  12631. "trademode": {
  12632. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12633. "type": "integer"
  12634. },
  12635. "vendorattr": {
  12636. "description": "供应商附件(多张,逗号分隔)",
  12637. "type": "string"
  12638. },
  12639. "vendorname": {
  12640. "description": "供应商名称",
  12641. "type": "string"
  12642. },
  12643. "vendorphone": {
  12644. "description": "供应商客服电话",
  12645. "type": "string"
  12646. },
  12647. "videourls": {
  12648. "description": "介绍视频[多张用逗号分隔]",
  12649. "type": "string"
  12650. }
  12651. }
  12652. },
  12653. "models.HsbyMarketGoods": {
  12654. "type": "object",
  12655. "required": [
  12656. "accountid",
  12657. "buyorsell",
  12658. "goodscode",
  12659. "goodsid",
  12660. "goodsname",
  12661. "marketid",
  12662. "orderid",
  12663. "trademode"
  12664. ],
  12665. "properties": {
  12666. "accountid": {
  12667. "description": "账户ID[报价币种]",
  12668. "type": "integer"
  12669. },
  12670. "agreeunit": {
  12671. "description": "合约单位",
  12672. "type": "number"
  12673. },
  12674. "buyorsell": {
  12675. "description": "买卖 - 0:买 1:卖",
  12676. "type": "integer"
  12677. },
  12678. "categoryid": {
  12679. "description": "类别ID(WRCATEGORY)",
  12680. "type": "integer"
  12681. },
  12682. "currency": {
  12683. "description": "货币",
  12684. "type": "string"
  12685. },
  12686. "currencysign": {
  12687. "description": "货币符号",
  12688. "type": "string"
  12689. },
  12690. "customername": {
  12691. "description": "卖家名称",
  12692. "type": "string"
  12693. },
  12694. "decimalplace": {
  12695. "description": "报价小数位",
  12696. "type": "integer"
  12697. },
  12698. "goodscode": {
  12699. "description": "商品代码(内部)",
  12700. "type": "string"
  12701. },
  12702. "goodsid": {
  12703. "description": "商品ID",
  12704. "type": "integer"
  12705. },
  12706. "goodsname": {
  12707. "description": "商品名称",
  12708. "type": "string"
  12709. },
  12710. "goodsprice": {
  12711. "description": "商品价格",
  12712. "type": "number"
  12713. },
  12714. "hascoupon": {
  12715. "description": "是否可用优惠卷",
  12716. "type": "boolean"
  12717. },
  12718. "hotindex": {
  12719. "description": "景点热度",
  12720. "type": "integer"
  12721. },
  12722. "marketid": {
  12723. "description": "市场ID",
  12724. "type": "integer"
  12725. },
  12726. "orderid": {
  12727. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12728. "type": "string"
  12729. },
  12730. "orderprice": {
  12731. "description": "委托价格",
  12732. "type": "number"
  12733. },
  12734. "orderstatus": {
  12735. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12736. "type": "integer"
  12737. },
  12738. "picurls": {
  12739. "description": "介绍图片[多张用逗号分隔]",
  12740. "type": "string"
  12741. },
  12742. "quoteminunit": {
  12743. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12744. "type": "integer"
  12745. },
  12746. "sellUserID": {
  12747. "description": "卖方UserID",
  12748. "type": "integer"
  12749. },
  12750. "trademode": {
  12751. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12752. "type": "integer"
  12753. },
  12754. "videourls": {
  12755. "description": "介绍视频[多张用逗号分隔]",
  12756. "type": "string"
  12757. }
  12758. }
  12759. },
  12760. "models.HsbyMarketGoodsDetail": {
  12761. "type": "object",
  12762. "required": [
  12763. "accountid",
  12764. "buyorsell",
  12765. "goodscode",
  12766. "goodsid",
  12767. "goodsname",
  12768. "marketid",
  12769. "orderid",
  12770. "orderqty",
  12771. "trademode"
  12772. ],
  12773. "properties": {
  12774. "accountid": {
  12775. "description": "账户ID[报价币种]",
  12776. "type": "integer"
  12777. },
  12778. "agreeunit": {
  12779. "description": "合约单位",
  12780. "type": "number"
  12781. },
  12782. "buymaxqty": {
  12783. "description": "购买上限 [71] - 0为不限",
  12784. "type": "integer"
  12785. },
  12786. "buyorsell": {
  12787. "description": "买卖 - 0:买 1:卖",
  12788. "type": "integer"
  12789. },
  12790. "cancelqty": {
  12791. "description": "撤单数量",
  12792. "type": "integer"
  12793. },
  12794. "categoryid": {
  12795. "description": "类别ID(WRCATEGORY)",
  12796. "type": "integer"
  12797. },
  12798. "currency": {
  12799. "description": "货币",
  12800. "type": "string"
  12801. },
  12802. "currencysign": {
  12803. "description": "货币符号",
  12804. "type": "string"
  12805. },
  12806. "customername": {
  12807. "description": "卖家名称",
  12808. "type": "string"
  12809. },
  12810. "decimalplace": {
  12811. "description": "报价小数位",
  12812. "type": "integer"
  12813. },
  12814. "goodscode": {
  12815. "description": "商品代码(内部)",
  12816. "type": "string"
  12817. },
  12818. "goodsdesc": {
  12819. "description": "商品详情",
  12820. "type": "string"
  12821. },
  12822. "goodsid": {
  12823. "description": "商品ID",
  12824. "type": "integer"
  12825. },
  12826. "goodsname": {
  12827. "description": "商品名称",
  12828. "type": "string"
  12829. },
  12830. "goodsprice": {
  12831. "description": "商品价格",
  12832. "type": "number"
  12833. },
  12834. "hotindex": {
  12835. "description": "景点热度",
  12836. "type": "integer"
  12837. },
  12838. "lotsize": {
  12839. "description": "手数最小变动单位",
  12840. "type": "integer"
  12841. },
  12842. "marketid": {
  12843. "description": "市场ID",
  12844. "type": "integer"
  12845. },
  12846. "orderid": {
  12847. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12848. "type": "string"
  12849. },
  12850. "orderprice": {
  12851. "description": "委托价格",
  12852. "type": "number"
  12853. },
  12854. "orderqty": {
  12855. "description": "委托数量",
  12856. "type": "integer"
  12857. },
  12858. "orderstatus": {
  12859. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12860. "type": "integer"
  12861. },
  12862. "picurls": {
  12863. "description": "介绍图片[多张用逗号分隔]",
  12864. "type": "string"
  12865. },
  12866. "quoteminunit": {
  12867. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12868. "type": "integer"
  12869. },
  12870. "sellUserID": {
  12871. "description": "卖方UserID",
  12872. "type": "integer"
  12873. },
  12874. "trademode": {
  12875. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12876. "type": "integer"
  12877. },
  12878. "tradeqty": {
  12879. "description": "成交数量",
  12880. "type": "integer"
  12881. },
  12882. "vendorattr": {
  12883. "description": "供应商附件(多张,逗号分隔)",
  12884. "type": "string"
  12885. },
  12886. "vendorname": {
  12887. "description": "供应商名称",
  12888. "type": "string"
  12889. },
  12890. "vendorphone": {
  12891. "description": "供应商客服电话",
  12892. "type": "string"
  12893. },
  12894. "videourls": {
  12895. "description": "介绍视频[多张用逗号分隔]",
  12896. "type": "string"
  12897. }
  12898. }
  12899. },
  12900. "models.HsbyMarketInfo": {
  12901. "type": "object",
  12902. "required": [
  12903. "marketid",
  12904. "marketstatus",
  12905. "trademode"
  12906. ],
  12907. "properties": {
  12908. "marketid": {
  12909. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  12910. "type": "integer"
  12911. },
  12912. "marketname": {
  12913. "description": "市场名称",
  12914. "type": "string"
  12915. },
  12916. "marketstatus": {
  12917. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  12918. "type": "integer"
  12919. },
  12920. "trademode": {
  12921. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12922. "type": "integer"
  12923. }
  12924. }
  12925. },
  12926. "models.HsbyMyGoods": {
  12927. "type": "object",
  12928. "required": [
  12929. "accountid",
  12930. "goodscode",
  12931. "goodsid",
  12932. "goodsname",
  12933. "marketid",
  12934. "trademode"
  12935. ],
  12936. "properties": {
  12937. "accountid": {
  12938. "description": "账号Id",
  12939. "type": "integer"
  12940. },
  12941. "agreeunit": {
  12942. "description": "合约单位",
  12943. "type": "number"
  12944. },
  12945. "buyaverageprice": {
  12946. "description": "持仓均价",
  12947. "type": "number"
  12948. },
  12949. "buycurholderamount": {
  12950. "description": "买当前持仓总金额[商品币种]",
  12951. "type": "number"
  12952. },
  12953. "buycurpositionqty": {
  12954. "description": "买当前持仓总数量",
  12955. "type": "integer"
  12956. },
  12957. "buymaxqty": {
  12958. "description": "购买上限 [71] - 0为不限",
  12959. "type": "integer"
  12960. },
  12961. "currencysign": {
  12962. "description": "货币符号",
  12963. "type": "string"
  12964. },
  12965. "decimalplace": {
  12966. "description": "报价小数位",
  12967. "type": "integer"
  12968. },
  12969. "enableqty": {
  12970. "description": "可用数量",
  12971. "type": "integer"
  12972. },
  12973. "goodscode": {
  12974. "description": "商品代码(内部)",
  12975. "type": "string"
  12976. },
  12977. "goodsid": {
  12978. "description": "商品Id",
  12979. "type": "integer"
  12980. },
  12981. "goodsname": {
  12982. "description": "商品名称",
  12983. "type": "string"
  12984. },
  12985. "goodsprice": {
  12986. "description": "商品价格",
  12987. "type": "number"
  12988. },
  12989. "goodsstatus": {
  12990. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12991. "type": "integer"
  12992. },
  12993. "last": {
  12994. "description": "现价(仅使用于挂牌点选)",
  12995. "type": "number"
  12996. },
  12997. "limitdown": {
  12998. "description": "跌停价(仅使用于挂牌点选)",
  12999. "type": "number"
  13000. },
  13001. "limitup": {
  13002. "description": "涨停价(仅使用于挂牌点选)",
  13003. "type": "number"
  13004. },
  13005. "lotsize": {
  13006. "description": "手数最小变动单位",
  13007. "type": "integer"
  13008. },
  13009. "marketid": {
  13010. "description": "所属市场ID",
  13011. "type": "integer"
  13012. },
  13013. "picurls": {
  13014. "description": "介绍图片[多张用逗号分隔]",
  13015. "type": "string"
  13016. },
  13017. "quoteminunit": {
  13018. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13019. "type": "integer"
  13020. },
  13021. "stepvalue": {
  13022. "description": "价格最小变动单位",
  13023. "type": "number"
  13024. },
  13025. "trademode": {
  13026. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13027. "type": "integer"
  13028. }
  13029. }
  13030. },
  13031. "models.HsbyMyPackage": {
  13032. "type": "object",
  13033. "required": [
  13034. "goodscode",
  13035. "goodsname",
  13036. "takeorderid",
  13037. "trademode"
  13038. ],
  13039. "properties": {
  13040. "accountid": {
  13041. "description": "账户ID",
  13042. "type": "integer"
  13043. },
  13044. "address": {
  13045. "description": "提货人详细地址",
  13046. "type": "string"
  13047. },
  13048. "agreeunit": {
  13049. "description": "合约单位",
  13050. "type": "number"
  13051. },
  13052. "amount": {
  13053. "description": "提货金额",
  13054. "type": "number"
  13055. },
  13056. "auditer": {
  13057. "description": "审核人",
  13058. "type": "integer"
  13059. },
  13060. "audittime": {
  13061. "description": "审核时间",
  13062. "type": "string"
  13063. },
  13064. "averageprice": {
  13065. "description": "均价",
  13066. "type": "number"
  13067. },
  13068. "cardnum": {
  13069. "description": "提货人证件号码",
  13070. "type": "string"
  13071. },
  13072. "cardtypeid": {
  13073. "description": "提货人证件类型",
  13074. "type": "integer"
  13075. },
  13076. "checkremark": {
  13077. "description": "审核备注",
  13078. "type": "string"
  13079. },
  13080. "currencysign": {
  13081. "description": "货币符号",
  13082. "type": "string"
  13083. },
  13084. "decimalplace": {
  13085. "description": "报价小数位",
  13086. "type": "integer"
  13087. },
  13088. "goodscode": {
  13089. "description": "商品代码(内部)",
  13090. "type": "string"
  13091. },
  13092. "goodsid": {
  13093. "description": "商品ID",
  13094. "type": "integer"
  13095. },
  13096. "goodsname": {
  13097. "description": "商品名称",
  13098. "type": "string"
  13099. },
  13100. "handlestatus": {
  13101. "description": "处理状态",
  13102. "type": "integer"
  13103. },
  13104. "marketid": {
  13105. "description": "市场ID",
  13106. "type": "integer"
  13107. },
  13108. "phonenum": {
  13109. "description": "提货人联系方式",
  13110. "type": "string"
  13111. },
  13112. "picurls": {
  13113. "description": "介绍图片[多张用逗号分隔]",
  13114. "type": "string"
  13115. },
  13116. "qty": {
  13117. "description": "提货数量",
  13118. "type": "number"
  13119. },
  13120. "recivername": {
  13121. "description": "提货人姓名",
  13122. "type": "string"
  13123. },
  13124. "reqtime": {
  13125. "description": "更新时间",
  13126. "type": "string"
  13127. },
  13128. "takemode": {
  13129. "description": "提货方式 - 2:自提 3:配送",
  13130. "type": "integer"
  13131. },
  13132. "takeorderid": {
  13133. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  13134. "type": "string"
  13135. },
  13136. "takeorderstatus": {
  13137. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  13138. "type": "integer"
  13139. },
  13140. "takeremark": {
  13141. "description": "提货备注",
  13142. "type": "string"
  13143. },
  13144. "tradedate": {
  13145. "description": "交易日(yyyyMMdd)",
  13146. "type": "string"
  13147. },
  13148. "trademode": {
  13149. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13150. "type": "integer"
  13151. },
  13152. "userid": {
  13153. "description": "用户ID",
  13154. "type": "integer"
  13155. },
  13156. "vendorname": {
  13157. "description": "供应商名称",
  13158. "type": "string"
  13159. }
  13160. }
  13161. },
  13162. "models.HsbyPreGoods": {
  13163. "type": "object",
  13164. "required": [
  13165. "goodscode",
  13166. "goodsid",
  13167. "goodsname",
  13168. "marketid",
  13169. "trademode"
  13170. ],
  13171. "properties": {
  13172. "agreeunit": {
  13173. "description": "合约单位",
  13174. "type": "number"
  13175. },
  13176. "currency": {
  13177. "description": "货币",
  13178. "type": "string"
  13179. },
  13180. "currencysign": {
  13181. "description": "货币符号",
  13182. "type": "string"
  13183. },
  13184. "decimalplace": {
  13185. "description": "报价小数位",
  13186. "type": "integer"
  13187. },
  13188. "desccityid": {
  13189. "description": "目的地(市)",
  13190. "type": "integer"
  13191. },
  13192. "descprovinceid": {
  13193. "description": "目的地(省)",
  13194. "type": "integer"
  13195. },
  13196. "enableqty": {
  13197. "description": "剩余数量",
  13198. "type": "integer"
  13199. },
  13200. "goodscode": {
  13201. "description": "商品代码(内部)",
  13202. "type": "string"
  13203. },
  13204. "goodsid": {
  13205. "description": "商品ID(自增ID SEQ_GOODS)",
  13206. "type": "integer"
  13207. },
  13208. "goodsname": {
  13209. "description": "商品名称",
  13210. "type": "string"
  13211. },
  13212. "goodsstatus": {
  13213. "description": "商品状态- 2:未上市 3:上市",
  13214. "type": "integer"
  13215. },
  13216. "lasttradedate": {
  13217. "description": "最后交易日期(状态:待退市)",
  13218. "type": "string"
  13219. },
  13220. "listingdate": {
  13221. "description": "交易开始日期",
  13222. "type": "string"
  13223. },
  13224. "marketid": {
  13225. "description": "所属市场ID",
  13226. "type": "integer"
  13227. },
  13228. "picurls": {
  13229. "description": "介绍图片[多张用逗号分隔]",
  13230. "type": "string"
  13231. },
  13232. "presaledqty": {
  13233. "description": "已预售量(预售结束时更新)",
  13234. "type": "integer"
  13235. },
  13236. "presaleqty": {
  13237. "description": "预售数量",
  13238. "type": "integer"
  13239. },
  13240. "quoteminunit": {
  13241. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13242. "type": "integer"
  13243. },
  13244. "refprice": {
  13245. "description": "参考价格[一口价]",
  13246. "type": "number"
  13247. },
  13248. "relatedgoodsid": {
  13249. "description": "关联交易合约ID",
  13250. "type": "integer"
  13251. },
  13252. "trademode": {
  13253. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13254. "type": "integer"
  13255. },
  13256. "videourls": {
  13257. "description": "介绍视频[多张用逗号分隔]",
  13258. "type": "string"
  13259. }
  13260. }
  13261. },
  13262. "models.HsbyPreGoodsDetail": {
  13263. "type": "object",
  13264. "required": [
  13265. "goodscode",
  13266. "goodsid",
  13267. "goodsname",
  13268. "marketid",
  13269. "trademode"
  13270. ],
  13271. "properties": {
  13272. "agreeunit": {
  13273. "description": "合约单位",
  13274. "type": "number"
  13275. },
  13276. "buymaxqty": {
  13277. "description": "购买上限 [71] - 0为不限",
  13278. "type": "integer"
  13279. },
  13280. "currency": {
  13281. "description": "货币",
  13282. "type": "string"
  13283. },
  13284. "currencysign": {
  13285. "description": "货币符号",
  13286. "type": "string"
  13287. },
  13288. "customername": {
  13289. "description": "发行单位",
  13290. "type": "string"
  13291. },
  13292. "decimalplace": {
  13293. "description": "报价小数位",
  13294. "type": "integer"
  13295. },
  13296. "desccityid": {
  13297. "description": "目的地(市)ID",
  13298. "type": "integer"
  13299. },
  13300. "descprovinceid": {
  13301. "description": "目的地(省)ID",
  13302. "type": "integer"
  13303. },
  13304. "enableqty": {
  13305. "description": "剩余数量",
  13306. "type": "integer"
  13307. },
  13308. "goodscode": {
  13309. "description": "商品代码(内部)",
  13310. "type": "string"
  13311. },
  13312. "goodsdesc": {
  13313. "description": "商品详情",
  13314. "type": "string"
  13315. },
  13316. "goodsid": {
  13317. "description": "商品ID(自增ID SEQ_GOODS)",
  13318. "type": "integer"
  13319. },
  13320. "goodsname": {
  13321. "description": "商品名称",
  13322. "type": "string"
  13323. },
  13324. "goodsstatus": {
  13325. "description": "商品状态- 2:未上市 3:上市",
  13326. "type": "integer"
  13327. },
  13328. "goodunit": {
  13329. "description": "报价单位",
  13330. "type": "string"
  13331. },
  13332. "lasttradedate": {
  13333. "description": "最后交易日期(状态:待退市)",
  13334. "type": "string"
  13335. },
  13336. "listingdate": {
  13337. "description": "交易开始日期",
  13338. "type": "string"
  13339. },
  13340. "lotsize": {
  13341. "description": "手数最小变动单位",
  13342. "type": "integer"
  13343. },
  13344. "marketid": {
  13345. "description": "所属市场ID",
  13346. "type": "integer"
  13347. },
  13348. "picurls": {
  13349. "description": "介绍图片[多张用逗号分隔]",
  13350. "type": "string"
  13351. },
  13352. "presaledqty": {
  13353. "description": "已预售量(预售结束时更新)",
  13354. "type": "integer"
  13355. },
  13356. "presaleqty": {
  13357. "description": "预售数量",
  13358. "type": "integer"
  13359. },
  13360. "quoteminunit": {
  13361. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13362. "type": "integer"
  13363. },
  13364. "refprice": {
  13365. "description": "参考价格[一口价]",
  13366. "type": "number"
  13367. },
  13368. "relatedgoodsid": {
  13369. "description": "关联交易合约ID",
  13370. "type": "integer"
  13371. },
  13372. "stepvalue": {
  13373. "description": "价格最小变动单位",
  13374. "type": "number"
  13375. },
  13376. "trademode": {
  13377. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13378. "type": "integer"
  13379. },
  13380. "vendorattr": {
  13381. "description": "供应商附件(多张,逗号分隔)",
  13382. "type": "string"
  13383. },
  13384. "vendorname": {
  13385. "description": "供应商名称",
  13386. "type": "string"
  13387. },
  13388. "vendorphone": {
  13389. "description": "供应商客服电话",
  13390. "type": "string"
  13391. },
  13392. "videourls": {
  13393. "description": "介绍视频[多张用逗号分隔]",
  13394. "type": "string"
  13395. }
  13396. }
  13397. },
  13398. "models.HsbySellCollectionOrder": {
  13399. "type": "object",
  13400. "required": [
  13401. "goodscode",
  13402. "goodsname",
  13403. "tradeid",
  13404. "trademode"
  13405. ],
  13406. "properties": {
  13407. "agreeunit": {
  13408. "description": "合约单位",
  13409. "type": "number"
  13410. },
  13411. "buyaccountid": {
  13412. "description": "买方账号ID[报价币种]",
  13413. "type": "integer"
  13414. },
  13415. "buyorderid": {
  13416. "description": "买方委托单号",
  13417. "type": "string"
  13418. },
  13419. "createtime": {
  13420. "description": "创建时间",
  13421. "type": "string"
  13422. },
  13423. "currencysign": {
  13424. "description": "货币符号",
  13425. "type": "string"
  13426. },
  13427. "decimalplace": {
  13428. "description": "报价小数位",
  13429. "type": "integer"
  13430. },
  13431. "goodscode": {
  13432. "description": "商品代码(内部)",
  13433. "type": "string"
  13434. },
  13435. "goodsid": {
  13436. "description": "商品ID",
  13437. "type": "integer"
  13438. },
  13439. "goodsname": {
  13440. "description": "商品名称",
  13441. "type": "string"
  13442. },
  13443. "marketid": {
  13444. "description": "市场ID",
  13445. "type": "integer"
  13446. },
  13447. "offamount": {
  13448. "description": "优惠金额",
  13449. "type": "number"
  13450. },
  13451. "payamount": {
  13452. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  13453. "type": "number"
  13454. },
  13455. "payflag": {
  13456. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13457. "type": "integer"
  13458. },
  13459. "paylimitedtime": {
  13460. "description": "支付期限",
  13461. "type": "string"
  13462. },
  13463. "paytime": {
  13464. "description": "付款时间",
  13465. "type": "string"
  13466. },
  13467. "picurls": {
  13468. "description": "商品介绍图片[多张用逗号分隔]",
  13469. "type": "string"
  13470. },
  13471. "sellaccountid": {
  13472. "description": "卖方账号ID[报价币种]",
  13473. "type": "integer"
  13474. },
  13475. "sellorderid": {
  13476. "description": "卖方委托单号",
  13477. "type": "string"
  13478. },
  13479. "tradeamount": {
  13480. "description": "成交金额",
  13481. "type": "number"
  13482. },
  13483. "tradecharge": {
  13484. "description": "成交手续费(买方)",
  13485. "type": "number"
  13486. },
  13487. "tradedate": {
  13488. "description": "交易日(yyyyMMdd)",
  13489. "type": "string"
  13490. },
  13491. "tradeid": {
  13492. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13493. "type": "string"
  13494. },
  13495. "trademode": {
  13496. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13497. "type": "integer"
  13498. },
  13499. "tradeprice": {
  13500. "description": "成交价格",
  13501. "type": "number"
  13502. },
  13503. "tradeqty": {
  13504. "description": "成交数量",
  13505. "type": "integer"
  13506. }
  13507. }
  13508. },
  13509. "models.HsbySellMyDetail": {
  13510. "type": "object",
  13511. "required": [
  13512. "accountid",
  13513. "buyorsell",
  13514. "goodscode",
  13515. "goodsid",
  13516. "goodsname",
  13517. "marketid",
  13518. "orderid",
  13519. "time",
  13520. "trademode"
  13521. ],
  13522. "properties": {
  13523. "accountid": {
  13524. "description": "账户ID[报价币种]",
  13525. "type": "integer"
  13526. },
  13527. "agreeunit": {
  13528. "description": "合约单位",
  13529. "type": "number"
  13530. },
  13531. "buyorsell": {
  13532. "description": "买卖 - 0:买 1:卖",
  13533. "type": "integer"
  13534. },
  13535. "currencysign": {
  13536. "description": "货币符号",
  13537. "type": "string"
  13538. },
  13539. "decimalplace": {
  13540. "description": "报价小数位",
  13541. "type": "integer"
  13542. },
  13543. "goodscode": {
  13544. "description": "商品代码(内部)",
  13545. "type": "string"
  13546. },
  13547. "goodsid": {
  13548. "description": "商品ID",
  13549. "type": "integer"
  13550. },
  13551. "goodsname": {
  13552. "description": "商品名称",
  13553. "type": "string"
  13554. },
  13555. "marketid": {
  13556. "description": "市场ID",
  13557. "type": "integer"
  13558. },
  13559. "orderid": {
  13560. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  13561. "type": "string"
  13562. },
  13563. "ordertype": {
  13564. "description": "单据类型:0 - 发布中, 1 - 已完成",
  13565. "type": "integer"
  13566. },
  13567. "picurls": {
  13568. "description": "介绍图片[多张用逗号分隔]",
  13569. "type": "string"
  13570. },
  13571. "price": {
  13572. "description": "价格",
  13573. "type": "number"
  13574. },
  13575. "qty": {
  13576. "description": "数量",
  13577. "type": "integer"
  13578. },
  13579. "time": {
  13580. "description": "时间",
  13581. "type": "string"
  13582. },
  13583. "trademode": {
  13584. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13585. "type": "integer"
  13586. },
  13587. "vendorname": {
  13588. "description": "供应商名称",
  13589. "type": "string"
  13590. }
  13591. }
  13592. },
  13593. "models.HsbyTopGoods": {
  13594. "type": "object",
  13595. "required": [
  13596. "goodscode",
  13597. "goodsid",
  13598. "goodsname",
  13599. "marketid",
  13600. "trademode"
  13601. ],
  13602. "properties": {
  13603. "agreeunit": {
  13604. "description": "合约单位",
  13605. "type": "number"
  13606. },
  13607. "currency": {
  13608. "description": "货币",
  13609. "type": "string"
  13610. },
  13611. "currencysign": {
  13612. "description": "货币符号",
  13613. "type": "string"
  13614. },
  13615. "decimalplace": {
  13616. "description": "报价小数位",
  13617. "type": "integer"
  13618. },
  13619. "desccityid": {
  13620. "description": "目的地(市)",
  13621. "type": "integer"
  13622. },
  13623. "descprovinceid": {
  13624. "description": "目的地(省)",
  13625. "type": "integer"
  13626. },
  13627. "goodscode": {
  13628. "description": "商品代码(内部)",
  13629. "type": "string"
  13630. },
  13631. "goodsid": {
  13632. "description": "商品ID(自增ID SEQ_GOODS)",
  13633. "type": "integer"
  13634. },
  13635. "goodsname": {
  13636. "description": "商品名称",
  13637. "type": "string"
  13638. },
  13639. "hotindex": {
  13640. "description": "景点热度",
  13641. "type": "integer"
  13642. },
  13643. "last": {
  13644. "description": "现价",
  13645. "type": "number"
  13646. },
  13647. "marketid": {
  13648. "description": "所属市场ID",
  13649. "type": "integer"
  13650. },
  13651. "picurls": {
  13652. "description": "介绍图片[多张用逗号分隔]",
  13653. "type": "string"
  13654. },
  13655. "quoteminunit": {
  13656. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13657. "type": "integer"
  13658. },
  13659. "trademode": {
  13660. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13661. "type": "integer"
  13662. },
  13663. "videourls": {
  13664. "description": "介绍视频[多张用逗号分隔]",
  13665. "type": "string"
  13666. }
  13667. }
  13668. },
  13669. "models.HybsMyBuyOrderDetail": {
  13670. "type": "object",
  13671. "required": [
  13672. "accountid",
  13673. "buyorsell",
  13674. "goodscode",
  13675. "goodsid",
  13676. "goodsname",
  13677. "marketid",
  13678. "orderid",
  13679. "orderqty",
  13680. "ordertime",
  13681. "trademode"
  13682. ],
  13683. "properties": {
  13684. "accountid": {
  13685. "description": "账户ID[报价币种]",
  13686. "type": "integer"
  13687. },
  13688. "agreeunit": {
  13689. "description": "合约单位",
  13690. "type": "number"
  13691. },
  13692. "buyorsell": {
  13693. "description": "买卖 - 0:买 1:卖",
  13694. "type": "integer"
  13695. },
  13696. "cancelqty": {
  13697. "description": "撤单数量",
  13698. "type": "integer"
  13699. },
  13700. "currencysign": {
  13701. "description": "货币符号",
  13702. "type": "string"
  13703. },
  13704. "decimalplace": {
  13705. "description": "报价小数位",
  13706. "type": "integer"
  13707. },
  13708. "goodscode": {
  13709. "description": "商品代码(内部)",
  13710. "type": "string"
  13711. },
  13712. "goodsid": {
  13713. "description": "商品ID",
  13714. "type": "integer"
  13715. },
  13716. "goodsname": {
  13717. "description": "商品名称",
  13718. "type": "string"
  13719. },
  13720. "listingselecttype": {
  13721. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13722. "type": "integer"
  13723. },
  13724. "marketid": {
  13725. "description": "市场ID",
  13726. "type": "integer"
  13727. },
  13728. "mybuystatus": {
  13729. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  13730. "type": "integer"
  13731. },
  13732. "orderamount": {
  13733. "description": "委托金额",
  13734. "type": "number"
  13735. },
  13736. "orderid": {
  13737. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13738. "type": "string"
  13739. },
  13740. "orderprice": {
  13741. "description": "委托价格",
  13742. "type": "number"
  13743. },
  13744. "orderqty": {
  13745. "description": "委托数量",
  13746. "type": "integer"
  13747. },
  13748. "orderstatus": {
  13749. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13750. "type": "integer"
  13751. },
  13752. "ordertime": {
  13753. "description": "委托时间",
  13754. "type": "string"
  13755. },
  13756. "picurls1": {
  13757. "description": "预售商品介绍图片[多张用逗号分隔]",
  13758. "type": "string"
  13759. },
  13760. "picurls2": {
  13761. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13762. "type": "string"
  13763. },
  13764. "trademode": {
  13765. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13766. "type": "integer"
  13767. },
  13768. "tradeqty": {
  13769. "description": "成交数量",
  13770. "type": "integer"
  13771. },
  13772. "vendorname1": {
  13773. "description": "预售商品供应商名称",
  13774. "type": "string"
  13775. },
  13776. "vendorname2": {
  13777. "description": "挂牌商品供应商名称",
  13778. "type": "string"
  13779. }
  13780. }
  13781. },
  13782. "models.Market": {
  13783. "type": "object",
  13784. "required": [
  13785. "marketid",
  13786. "marketstatus",
  13787. "openmethod",
  13788. "reckonpricealgorithm",
  13789. "trademode",
  13790. "tradeproperty"
  13791. ],
  13792. "properties": {
  13793. "auctionwrtype": {
  13794. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  13795. "type": "integer"
  13796. },
  13797. "canacceptquote": {
  13798. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  13799. "type": "integer"
  13800. },
  13801. "cangoodsexercise": {
  13802. "description": "[期权]是否可现货行权- 0:否 1:是",
  13803. "type": "integer"
  13804. },
  13805. "cangoodsexercisetype": {
  13806. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  13807. "type": "integer"
  13808. },
  13809. "canmanualquotestrike": {
  13810. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  13811. "type": "integer"
  13812. },
  13813. "canmutistage": {
  13814. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  13815. "type": "integer"
  13816. },
  13817. "canpreexercise": {
  13818. "description": "[期权]是否可预申报- 0:否 1:是",
  13819. "type": "integer"
  13820. },
  13821. "clearinterval": {
  13822. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  13823. "type": "integer"
  13824. },
  13825. "contracttmp": {
  13826. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  13827. "type": "string"
  13828. },
  13829. "exchareaid": {
  13830. "description": "所属交易所,可以没有",
  13831. "type": "integer"
  13832. },
  13833. "goodstype": {
  13834. "description": "商品类型 - 1:交易商品 2:仓单商品",
  13835. "type": "integer"
  13836. },
  13837. "hasrebate": {
  13838. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  13839. "type": "integer"
  13840. },
  13841. "hastradecredit": {
  13842. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  13843. "type": "integer"
  13844. },
  13845. "haswr": {
  13846. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  13847. "type": "integer"
  13848. },
  13849. "isdeductmargin": {
  13850. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  13851. "type": "integer"
  13852. },
  13853. "isrecordsource": {
  13854. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  13855. "type": "integer"
  13856. },
  13857. "isreleasemargin": {
  13858. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  13859. "type": "integer"
  13860. },
  13861. "marginformula": {
  13862. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13863. "type": "integer"
  13864. },
  13865. "marginformula2": {
  13866. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13867. "type": "integer"
  13868. },
  13869. "marketid": {
  13870. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13871. "type": "integer"
  13872. },
  13873. "marketname": {
  13874. "description": "市场名称",
  13875. "type": "string"
  13876. },
  13877. "marketserviceid": {
  13878. "description": "市场服务ID",
  13879. "type": "integer"
  13880. },
  13881. "marketstatus": {
  13882. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13883. "type": "integer"
  13884. },
  13885. "markettype": {
  13886. "description": "市场类型- 1:非交易服务 2:交易服务",
  13887. "type": "integer"
  13888. },
  13889. "matchermode": {
  13890. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  13891. "type": "integer"
  13892. },
  13893. "openmethod": {
  13894. "description": "开盘模式 - 0 自动 1手动",
  13895. "type": "integer"
  13896. },
  13897. "otcuserid": {
  13898. "description": "场外期权做市商[场外期权]",
  13899. "type": "integer"
  13900. },
  13901. "outersynctime": {
  13902. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  13903. "type": "string"
  13904. },
  13905. "pendingflag": {
  13906. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  13907. "type": "integer"
  13908. },
  13909. "pendingtime": {
  13910. "description": "待开市时间[通道交易-对冲](HH:mm)",
  13911. "type": "string"
  13912. },
  13913. "performancetempid": {
  13914. "description": "履约计划模板ID - 作废",
  13915. "type": "integer"
  13916. },
  13917. "premiumquotemode": {
  13918. "description": "权利金报价方式 - 1:自动 2:手动",
  13919. "type": "integer"
  13920. },
  13921. "rebateratio": {
  13922. "description": "返利比率[竞价式]",
  13923. "type": "number"
  13924. },
  13925. "reckonorder": {
  13926. "description": "结算顺序",
  13927. "type": "integer"
  13928. },
  13929. "reckonpricealgorithm": {
  13930. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  13931. "type": "integer"
  13932. },
  13933. "reckonpriceparam": {
  13934. "description": "结算价参数",
  13935. "type": "integer"
  13936. },
  13937. "reckontime": {
  13938. "description": "结算时间[通道交易-对冲](HH:mm)",
  13939. "type": "string"
  13940. },
  13941. "roleprioritytype": {
  13942. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  13943. "type": "integer"
  13944. },
  13945. "selllistingauditflag": {
  13946. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  13947. "type": "integer"
  13948. },
  13949. "trademarkettype": {
  13950. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  13951. "type": "integer"
  13952. },
  13953. "trademode": {
  13954. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13955. "type": "integer"
  13956. },
  13957. "tradeproperty": {
  13958. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  13959. "type": "integer"
  13960. },
  13961. "tradetype": {
  13962. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  13963. "type": "integer"
  13964. }
  13965. }
  13966. },
  13967. "models.Marketrun": {
  13968. "type": "object",
  13969. "required": [
  13970. "marketid",
  13971. "nexttradedate",
  13972. "reckonflag",
  13973. "runstatus",
  13974. "tradedate",
  13975. "tradedate2"
  13976. ],
  13977. "properties": {
  13978. "afternexttradedate": {
  13979. "description": "下下交易日",
  13980. "type": "string"
  13981. },
  13982. "clearquoteflag": {
  13983. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  13984. "type": "integer"
  13985. },
  13986. "lastreckondate": {
  13987. "description": "最新交易日(结算成功)",
  13988. "type": "string"
  13989. },
  13990. "machinedate": {
  13991. "description": "机器时间",
  13992. "type": "string"
  13993. },
  13994. "manualflag": {
  13995. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  13996. "type": "integer"
  13997. },
  13998. "marketid": {
  13999. "description": "市场ID",
  14000. "type": "integer"
  14001. },
  14002. "nexttradedate": {
  14003. "description": "下一交易日",
  14004. "type": "string"
  14005. },
  14006. "pretradedate": {
  14007. "description": "上一交易日",
  14008. "type": "string"
  14009. },
  14010. "reckonflag": {
  14011. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  14012. "type": "integer"
  14013. },
  14014. "runstatus": {
  14015. "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.今日免清算",
  14016. "type": "integer"
  14017. },
  14018. "sectionid": {
  14019. "description": "时间段号[多时段时用]",
  14020. "type": "integer"
  14021. },
  14022. "tradedate": {
  14023. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  14024. "type": "string"
  14025. },
  14026. "tradedate2": {
  14027. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  14028. "type": "string"
  14029. },
  14030. "updatetime": {
  14031. "description": "更新时间",
  14032. "type": "string"
  14033. }
  14034. }
  14035. },
  14036. "models.Messageboard": {
  14037. "type": "object",
  14038. "required": [
  14039. "messageboardid"
  14040. ],
  14041. "properties": {
  14042. "createtime": {
  14043. "description": "创建时间",
  14044. "type": "string"
  14045. },
  14046. "message": {
  14047. "description": "留言信息",
  14048. "type": "string"
  14049. },
  14050. "messageboardid": {
  14051. "description": "留言簿ID(SEQ_MessageBoard)",
  14052. "type": "integer"
  14053. },
  14054. "userid": {
  14055. "description": "用户ID",
  14056. "type": "integer"
  14057. }
  14058. }
  14059. },
  14060. "models.MyCoupon": {
  14061. "type": "object",
  14062. "required": [
  14063. "accountid",
  14064. "coupontypeid"
  14065. ],
  14066. "properties": {
  14067. "accountid": {
  14068. "description": "资金账户ID",
  14069. "type": "integer"
  14070. },
  14071. "areauserid": {
  14072. "description": "所属机构",
  14073. "type": "integer"
  14074. },
  14075. "conditionvalue": {
  14076. "description": "条件阈值(可为0)",
  14077. "type": "number"
  14078. },
  14079. "couponcategroy": {
  14080. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  14081. "type": "integer"
  14082. },
  14083. "couponname": {
  14084. "description": "优惠券名称",
  14085. "type": "string"
  14086. },
  14087. "coupontypeid": {
  14088. "description": "优惠券类型ID",
  14089. "type": "string"
  14090. },
  14091. "couponvalue": {
  14092. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14093. "type": "number"
  14094. },
  14095. "curfreezeqty": {
  14096. "description": "期末冻结数量",
  14097. "type": "integer"
  14098. },
  14099. "curqty": {
  14100. "description": "期末数量",
  14101. "type": "integer"
  14102. },
  14103. "isgeneral": {
  14104. "description": "是否通用券 - 0:否 1:是",
  14105. "type": "integer"
  14106. },
  14107. "isunusable": {
  14108. "description": "是否不可用",
  14109. "type": "boolean"
  14110. },
  14111. "limitedflag": {
  14112. "description": "是否指定商品 - 0:不限 1:限制",
  14113. "type": "integer"
  14114. },
  14115. "limitedgoodsids": {
  14116. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  14117. "type": "string"
  14118. },
  14119. "orifreezeqty": {
  14120. "description": "期初冻结数量",
  14121. "type": "integer"
  14122. },
  14123. "oriqty": {
  14124. "description": "期初数量",
  14125. "type": "integer"
  14126. },
  14127. "reasontype": {
  14128. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  14129. "type": "integer"
  14130. },
  14131. "todaydecrease": {
  14132. "description": "今日减少",
  14133. "type": "integer"
  14134. },
  14135. "todayincrease": {
  14136. "description": "今日增加",
  14137. "type": "integer"
  14138. },
  14139. "userid": {
  14140. "description": "用户ID",
  14141. "type": "integer"
  14142. },
  14143. "userscope": {
  14144. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  14145. "type": "string"
  14146. }
  14147. }
  14148. },
  14149. "models.MyCouponHold": {
  14150. "type": "object",
  14151. "required": [
  14152. "couponholdid"
  14153. ],
  14154. "properties": {
  14155. "accountid": {
  14156. "description": "资金账户ID",
  14157. "type": "integer"
  14158. },
  14159. "conditionvalue": {
  14160. "description": "条件阈值(可为0)",
  14161. "type": "number"
  14162. },
  14163. "couponcategroy": {
  14164. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  14165. "type": "integer"
  14166. },
  14167. "couponholdid": {
  14168. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  14169. "type": "string"
  14170. },
  14171. "couponname": {
  14172. "description": "优惠券名称",
  14173. "type": "string"
  14174. },
  14175. "coupontypeid": {
  14176. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  14177. "type": "string"
  14178. },
  14179. "couponvalue": {
  14180. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14181. "type": "number"
  14182. },
  14183. "createtime": {
  14184. "description": "创建时间",
  14185. "type": "string"
  14186. },
  14187. "enddate": {
  14188. "description": "结束日期",
  14189. "type": "string"
  14190. },
  14191. "giveapplyid": {
  14192. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  14193. "type": "integer"
  14194. },
  14195. "holdstatus": {
  14196. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  14197. "type": "integer"
  14198. },
  14199. "isgeneral": {
  14200. "description": "是否通用券 - 0:否 1:是",
  14201. "type": "integer"
  14202. },
  14203. "limitedflag": {
  14204. "description": "是否指定商品 - 0:不限 1:限制",
  14205. "type": "integer"
  14206. },
  14207. "limitedgoodsids": {
  14208. "description": "指定商品IDs[逗号分隔]",
  14209. "type": "string"
  14210. },
  14211. "qty": {
  14212. "description": "数量(按1平铺)",
  14213. "type": "integer"
  14214. },
  14215. "startdate": {
  14216. "description": "开始日期",
  14217. "type": "string"
  14218. },
  14219. "userid": {
  14220. "description": "用户ID",
  14221. "type": "integer"
  14222. },
  14223. "userscope": {
  14224. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  14225. "type": "string"
  14226. }
  14227. }
  14228. },
  14229. "models.MyUsedCoupon": {
  14230. "type": "object",
  14231. "required": [
  14232. "coupontypeid",
  14233. "orderid"
  14234. ],
  14235. "properties": {
  14236. "accountid": {
  14237. "description": "资金账户ID(买方)",
  14238. "type": "integer"
  14239. },
  14240. "conditionvalue": {
  14241. "description": "条件阈值(可为0)",
  14242. "type": "number"
  14243. },
  14244. "couponcategroy": {
  14245. "description": "种类 - 1:现金券 2:折扣券",
  14246. "type": "integer"
  14247. },
  14248. "couponname": {
  14249. "description": "优惠券名称",
  14250. "type": "string"
  14251. },
  14252. "coupontypeid": {
  14253. "description": "优惠券类型ID(买方)",
  14254. "type": "string"
  14255. },
  14256. "couponvalue": {
  14257. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  14258. "type": "number"
  14259. },
  14260. "createtime": {
  14261. "description": "创建时间",
  14262. "type": "string"
  14263. },
  14264. "goodsid": {
  14265. "description": "商品ID",
  14266. "type": "integer"
  14267. },
  14268. "handlestatus": {
  14269. "description": "处理状态",
  14270. "type": "integer"
  14271. },
  14272. "marketid": {
  14273. "description": "市场ID",
  14274. "type": "integer"
  14275. },
  14276. "offamount": {
  14277. "description": "优惠金额",
  14278. "type": "number"
  14279. },
  14280. "orderid": {
  14281. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14282. "type": "string"
  14283. },
  14284. "sellaccountid": {
  14285. "description": "资金账户ID(卖方)",
  14286. "type": "integer"
  14287. },
  14288. "tradeamount": {
  14289. "description": "成交金额",
  14290. "type": "number"
  14291. },
  14292. "tradeid": {
  14293. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14294. "type": "string"
  14295. },
  14296. "usedqty": {
  14297. "description": "使用数量",
  14298. "type": "integer"
  14299. }
  14300. }
  14301. },
  14302. "models.OperationPrimaryMenu": {
  14303. "type": "object",
  14304. "properties": {
  14305. "Children": {
  14306. "description": "二级功能菜单",
  14307. "type": "array",
  14308. "items": {
  14309. "$ref": "#/definitions/models.OperationSecondaryMenu"
  14310. }
  14311. },
  14312. "Key": {
  14313. "description": "菜单KEY",
  14314. "type": "string"
  14315. },
  14316. "Label": {
  14317. "description": "菜单标题",
  14318. "type": "string"
  14319. }
  14320. }
  14321. },
  14322. "models.OperationSecondaryMenu": {
  14323. "type": "object",
  14324. "properties": {
  14325. "Key": {
  14326. "description": "菜单KEY",
  14327. "type": "string"
  14328. },
  14329. "Label": {
  14330. "description": "菜单标题",
  14331. "type": "string"
  14332. },
  14333. "TabList": {
  14334. "description": "三级功能菜单",
  14335. "type": "array",
  14336. "items": {
  14337. "$ref": "#/definitions/models.OperationTabMenu"
  14338. }
  14339. }
  14340. }
  14341. },
  14342. "models.OperationTabMenu": {
  14343. "type": "object",
  14344. "properties": {
  14345. "Key": {
  14346. "description": "菜单KEY",
  14347. "type": "string"
  14348. },
  14349. "Label": {
  14350. "description": "菜单标题",
  14351. "type": "string"
  14352. }
  14353. }
  14354. },
  14355. "models.QueryErrorInfosRsp": {
  14356. "type": "object",
  14357. "required": [
  14358. "errorid"
  14359. ],
  14360. "properties": {
  14361. "description": {
  14362. "description": "异常描述",
  14363. "type": "string"
  14364. },
  14365. "errorcode": {
  14366. "description": "异常代码",
  14367. "type": "string"
  14368. },
  14369. "errorid": {
  14370. "description": "异常ID",
  14371. "type": "integer"
  14372. },
  14373. "modulecode": {
  14374. "description": "所属模块",
  14375. "type": "string"
  14376. },
  14377. "operatecode": {
  14378. "description": "所属操作",
  14379. "type": "string"
  14380. },
  14381. "rownumber": {
  14382. "description": "行号",
  14383. "type": "string"
  14384. }
  14385. }
  14386. },
  14387. "models.QueryHedgeOrderDetailRsp": {
  14388. "type": "object",
  14389. "properties": {
  14390. "accountid": {
  14391. "description": "账户ID",
  14392. "type": "integer"
  14393. },
  14394. "buyorsell": {
  14395. "description": "买卖 - 0:买 1:卖",
  14396. "type": "integer"
  14397. },
  14398. "channelbuildtype": {
  14399. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  14400. "type": "integer"
  14401. },
  14402. "channelinnerorderstatus": {
  14403. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  14404. "type": "integer"
  14405. },
  14406. "channeloperatetype": {
  14407. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  14408. "type": "integer"
  14409. },
  14410. "closetype": {
  14411. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14412. "type": "integer"
  14413. },
  14414. "curexchangerate": {
  14415. "description": "当前汇率",
  14416. "type": "number"
  14417. },
  14418. "exchangefullname": {
  14419. "description": "外部交易所全称",
  14420. "type": "string"
  14421. },
  14422. "goodscode": {
  14423. "description": "商品代码(内部)",
  14424. "type": "string"
  14425. },
  14426. "goodsid": {
  14427. "description": "商品ID",
  14428. "type": "integer"
  14429. },
  14430. "goodsname": {
  14431. "description": "商品名称",
  14432. "type": "string"
  14433. },
  14434. "marketid": {
  14435. "description": "市场ID",
  14436. "type": "integer"
  14437. },
  14438. "openfreezemargin": {
  14439. "description": "冻结保证金(冻结交易金额)",
  14440. "type": "number"
  14441. },
  14442. "orderid": {
  14443. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14444. "type": "string"
  14445. },
  14446. "orderprice": {
  14447. "description": "委托价格(账户)",
  14448. "type": "number"
  14449. },
  14450. "orderqty": {
  14451. "description": "委托数量",
  14452. "type": "integer"
  14453. },
  14454. "ordertime": {
  14455. "description": "委托时间",
  14456. "type": "string"
  14457. },
  14458. "pricemode": {
  14459. "description": "取价方式 - 1:市价 2: 限价",
  14460. "type": "integer"
  14461. },
  14462. "tradedate": {
  14463. "description": "交易日(yyyyMMdd)",
  14464. "type": "string"
  14465. },
  14466. "tradeqty": {
  14467. "description": "成交数量",
  14468. "type": "integer"
  14469. }
  14470. }
  14471. },
  14472. "models.QuotePrimaryMenu": {
  14473. "type": "object",
  14474. "properties": {
  14475. "Index": {
  14476. "description": "序号",
  14477. "type": "integer"
  14478. },
  14479. "Key": {
  14480. "description": "键名",
  14481. "type": "string"
  14482. },
  14483. "Name": {
  14484. "description": "菜单名称",
  14485. "type": "string"
  14486. },
  14487. "SubMenus": {
  14488. "description": "子菜单",
  14489. "type": "array",
  14490. "items": {
  14491. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  14492. }
  14493. },
  14494. "SubTitleType": {
  14495. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  14496. "type": "integer"
  14497. },
  14498. "TradeModes": {
  14499. "description": "包含市场交易类型",
  14500. "type": "string"
  14501. }
  14502. }
  14503. },
  14504. "models.QuoteSecondaryMenu": {
  14505. "type": "object",
  14506. "properties": {
  14507. "ExExchangeCode": {
  14508. "description": "外部交易所代码",
  14509. "type": "string"
  14510. },
  14511. "ExExchangeID": {
  14512. "description": "外部交易所ID",
  14513. "type": "integer"
  14514. },
  14515. "GoodsGroupIDs": {
  14516. "description": "商品组ID列表",
  14517. "type": "array",
  14518. "items": {
  14519. "type": "integer"
  14520. }
  14521. },
  14522. "Index": {
  14523. "description": "序号",
  14524. "type": "integer"
  14525. },
  14526. "MarketID": {
  14527. "description": "市场ID",
  14528. "type": "integer"
  14529. },
  14530. "MenuTitle": {
  14531. "description": "菜单标题(市场名称或外部交易所名称)",
  14532. "type": "string"
  14533. },
  14534. "TradeMode": {
  14535. "description": "交易模式",
  14536. "type": "integer"
  14537. }
  14538. }
  14539. },
  14540. "models.SearchGoods": {
  14541. "type": "object",
  14542. "required": [
  14543. "goodscode",
  14544. "goodsid",
  14545. "goodsname",
  14546. "marketid",
  14547. "trademode"
  14548. ],
  14549. "properties": {
  14550. "goodscode": {
  14551. "description": "商品代码(内部)",
  14552. "type": "string"
  14553. },
  14554. "goodsid": {
  14555. "description": "商品ID(自增ID SEQ_GOODS)",
  14556. "type": "integer"
  14557. },
  14558. "goodsname": {
  14559. "description": "商品名称",
  14560. "type": "string"
  14561. },
  14562. "marketid": {
  14563. "description": "所属市场ID",
  14564. "type": "integer"
  14565. },
  14566. "marketname": {
  14567. "description": "市场名称",
  14568. "type": "string"
  14569. },
  14570. "trademode": {
  14571. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14572. "type": "integer"
  14573. }
  14574. }
  14575. },
  14576. "models.Szdz2imageconfig": {
  14577. "type": "object",
  14578. "required": [
  14579. "configid"
  14580. ],
  14581. "properties": {
  14582. "configid": {
  14583. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14584. "type": "integer"
  14585. },
  14586. "imagepath": {
  14587. "description": "图片",
  14588. "type": "string"
  14589. },
  14590. "imagetype": {
  14591. "description": "类型 - 1:App首页轮播 2:我的",
  14592. "type": "integer"
  14593. },
  14594. "sort": {
  14595. "description": "排序",
  14596. "type": "integer"
  14597. },
  14598. "title": {
  14599. "description": "标题",
  14600. "type": "string"
  14601. },
  14602. "url": {
  14603. "description": "链接",
  14604. "type": "string"
  14605. }
  14606. }
  14607. },
  14608. "models.Szdz3convertconfig": {
  14609. "type": "object",
  14610. "required": [
  14611. "converttype",
  14612. "innergoodsid",
  14613. "outergoodscode"
  14614. ],
  14615. "properties": {
  14616. "canin": {
  14617. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  14618. "type": "integer"
  14619. },
  14620. "canout": {
  14621. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  14622. "type": "integer"
  14623. },
  14624. "converttype": {
  14625. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  14626. "type": "integer"
  14627. },
  14628. "createtime": {
  14629. "description": "创建时间",
  14630. "type": "string"
  14631. },
  14632. "creatorid": {
  14633. "description": "创建人",
  14634. "type": "integer"
  14635. },
  14636. "daymaxvalue": {
  14637. "description": "当日最大转入限制",
  14638. "type": "number"
  14639. },
  14640. "freezedays": {
  14641. "description": "冻结天数 [5:花生米转交易]",
  14642. "type": "integer"
  14643. },
  14644. "innergoodsid": {
  14645. "description": "内部商品ID[交易]",
  14646. "type": "integer"
  14647. },
  14648. "inratio": {
  14649. "description": "目标值",
  14650. "type": "integer"
  14651. },
  14652. "modifierid": {
  14653. "description": "修改人",
  14654. "type": "integer"
  14655. },
  14656. "modifytime": {
  14657. "description": "修改时间",
  14658. "type": "string"
  14659. },
  14660. "outergoodscode": {
  14661. "description": "外部商品代码[JD\\PD]",
  14662. "type": "string"
  14663. },
  14664. "outratio": {
  14665. "description": "源值",
  14666. "type": "integer"
  14667. },
  14668. "pddecimalplace": {
  14669. "description": "PD小数位",
  14670. "type": "integer"
  14671. },
  14672. "timemaxvalue": {
  14673. "description": "单次最大转入限制",
  14674. "type": "number"
  14675. },
  14676. "timeminvalue": {
  14677. "description": "单次最小转入限制",
  14678. "type": "number"
  14679. }
  14680. }
  14681. },
  14682. "models.Szdz3searchwhitelist": {
  14683. "type": "object",
  14684. "required": [
  14685. "userid"
  14686. ],
  14687. "properties": {
  14688. "createtime": {
  14689. "description": "创建时间",
  14690. "type": "string"
  14691. },
  14692. "creatorid": {
  14693. "description": "创建人",
  14694. "type": "integer"
  14695. },
  14696. "modifierid": {
  14697. "description": "修改人",
  14698. "type": "integer"
  14699. },
  14700. "modifytime": {
  14701. "description": "修改时间",
  14702. "type": "string"
  14703. },
  14704. "userid": {
  14705. "description": "用户ID",
  14706. "type": "integer"
  14707. }
  14708. }
  14709. },
  14710. "models.Taaccount": {
  14711. "type": "object",
  14712. "required": [
  14713. "accountid",
  14714. "userid"
  14715. ],
  14716. "properties": {
  14717. "accountflag": {
  14718. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  14719. "type": "integer"
  14720. },
  14721. "accountid": {
  14722. "description": "资金账户ID",
  14723. "type": "integer"
  14724. },
  14725. "accountname": {
  14726. "description": "账户名称",
  14727. "type": "string"
  14728. },
  14729. "balance": {
  14730. "description": "期初余额",
  14731. "type": "number"
  14732. },
  14733. "capitalbalance": {
  14734. "description": "本金余额[外部子账户实际出入金余额]",
  14735. "type": "number"
  14736. },
  14737. "changeflag": {
  14738. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  14739. "type": "integer"
  14740. },
  14741. "changetime": {
  14742. "description": "账户状态变更时间",
  14743. "type": "string"
  14744. },
  14745. "closepl": {
  14746. "description": "今日平仓盈亏",
  14747. "type": "number"
  14748. },
  14749. "creditdecrease": {
  14750. "description": "今日授信减少",
  14751. "type": "number"
  14752. },
  14753. "creditincrease": {
  14754. "description": "今日授信增加",
  14755. "type": "number"
  14756. },
  14757. "currencyid": {
  14758. "description": "货币ID",
  14759. "type": "integer"
  14760. },
  14761. "currentbalance": {
  14762. "description": "期末余额",
  14763. "type": "number"
  14764. },
  14765. "freezecharge": {
  14766. "description": "手续费冻结",
  14767. "type": "number"
  14768. },
  14769. "freezemargin": {
  14770. "description": "冻结保证金",
  14771. "type": "number"
  14772. },
  14773. "fromaccountid": {
  14774. "description": "所属上级账户",
  14775. "type": "integer"
  14776. },
  14777. "inamount": {
  14778. "description": "今日入金金额(包括三方入金)",
  14779. "type": "number"
  14780. },
  14781. "ismain": {
  14782. "description": "是否母账号 0:不是母账户 1:是母账户",
  14783. "type": "integer"
  14784. },
  14785. "ismarketaccount": {
  14786. "description": "是否机构接单账号 0:不是 1:是",
  14787. "type": "integer"
  14788. },
  14789. "isreckonaccount": {
  14790. "description": "是否机构分润账号 0:不是 1:是",
  14791. "type": "integer"
  14792. },
  14793. "mortgagecredit": {
  14794. "description": "授信金额",
  14795. "type": "number"
  14796. },
  14797. "orifreezecharge": {
  14798. "description": "期初手续费冻结",
  14799. "type": "number"
  14800. },
  14801. "orifreezemargin": {
  14802. "description": "期初冻结保证金",
  14803. "type": "number"
  14804. },
  14805. "orimortgagecredit": {
  14806. "description": "期初授信金额",
  14807. "type": "number"
  14808. },
  14809. "oriothercredit": {
  14810. "description": "期初其它授信金额",
  14811. "type": "number"
  14812. },
  14813. "oriotherfreezemargin": {
  14814. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  14815. "type": "number"
  14816. },
  14817. "orioutamountfreeze": {
  14818. "description": "期初出金冻结",
  14819. "type": "number"
  14820. },
  14821. "oriusedmargin": {
  14822. "description": "期初占用保证金",
  14823. "type": "number"
  14824. },
  14825. "othercredit": {
  14826. "description": "其它授信金额",
  14827. "type": "number"
  14828. },
  14829. "othercreditdecrease": {
  14830. "description": "今日其它授信减少",
  14831. "type": "number"
  14832. },
  14833. "othercreditincrease": {
  14834. "description": "今日其它授信增加",
  14835. "type": "number"
  14836. },
  14837. "otherfreezemargin": {
  14838. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  14839. "type": "number"
  14840. },
  14841. "otherincome": {
  14842. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  14843. "type": "number"
  14844. },
  14845. "otherpay": {
  14846. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  14847. "type": "number"
  14848. },
  14849. "outamount": {
  14850. "description": "今日出金金额(包括三方出金)",
  14851. "type": "number"
  14852. },
  14853. "outamountfreeze": {
  14854. "description": "出金冻结",
  14855. "type": "number"
  14856. },
  14857. "outthreshold": {
  14858. "description": "出金阈值",
  14859. "type": "number"
  14860. },
  14861. "parentaccountid": {
  14862. "description": "所属根账号",
  14863. "type": "integer"
  14864. },
  14865. "paycharge": {
  14866. "description": "今日手续费支出",
  14867. "type": "number"
  14868. },
  14869. "relatedaccountstatus": {
  14870. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  14871. "type": "integer"
  14872. },
  14873. "relateduserid": {
  14874. "description": "关联用户",
  14875. "type": "integer"
  14876. },
  14877. "serivcegroup": {
  14878. "description": "服务分组",
  14879. "type": "integer"
  14880. },
  14881. "signstatus": {
  14882. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  14883. "type": "integer"
  14884. },
  14885. "sublevelpath": {
  14886. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  14887. "type": "string"
  14888. },
  14889. "taaccounttype": {
  14890. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  14891. "type": "integer"
  14892. },
  14893. "thirdinamount": {
  14894. "description": "今日三方入金",
  14895. "type": "number"
  14896. },
  14897. "thirdoutamount": {
  14898. "description": "今日三方出金",
  14899. "type": "number"
  14900. },
  14901. "tradestatus": {
  14902. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  14903. "type": "integer"
  14904. },
  14905. "tradestatuschangetime": {
  14906. "description": "激活时间",
  14907. "type": "string"
  14908. },
  14909. "transferamount": {
  14910. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  14911. "type": "number"
  14912. },
  14913. "usedmargin": {
  14914. "description": "占用保证金",
  14915. "type": "number"
  14916. },
  14917. "userid": {
  14918. "description": "用户ID",
  14919. "type": "integer"
  14920. }
  14921. }
  14922. },
  14923. "models.Tablecolumnconfig": {
  14924. "type": "object",
  14925. "required": [
  14926. "autoid"
  14927. ],
  14928. "properties": {
  14929. "aligntype": {
  14930. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  14931. "type": "integer"
  14932. },
  14933. "autoid": {
  14934. "description": "AutoID",
  14935. "type": "integer"
  14936. },
  14937. "columnfield": {
  14938. "description": "列字段",
  14939. "type": "string"
  14940. },
  14941. "columntitle": {
  14942. "description": "列Title",
  14943. "type": "string"
  14944. },
  14945. "columnwidth": {
  14946. "description": "列宽",
  14947. "type": "string"
  14948. },
  14949. "formatterstring": {
  14950. "description": "格式化字符",
  14951. "type": "string"
  14952. },
  14953. "formattertype": {
  14954. "description": "格式化类型",
  14955. "type": "string"
  14956. },
  14957. "groupname": {
  14958. "description": "表头分组名称",
  14959. "type": "string"
  14960. },
  14961. "isshow": {
  14962. "description": "是否显示 - 0:不显示 1:显示",
  14963. "type": "integer"
  14964. },
  14965. "needsummary": {
  14966. "description": "是否需要汇总 - 0:不需要 1:需要",
  14967. "type": "integer"
  14968. },
  14969. "orderindex": {
  14970. "description": "顺序",
  14971. "type": "integer"
  14972. },
  14973. "remark": {
  14974. "description": "备注",
  14975. "type": "string"
  14976. },
  14977. "summarytype": {
  14978. "description": "汇总类型 - 1:加总 2:最后一个",
  14979. "type": "integer"
  14980. },
  14981. "tablekey": {
  14982. "description": "列表Key",
  14983. "type": "string"
  14984. }
  14985. }
  14986. },
  14987. "models.Useraccount": {
  14988. "type": "object",
  14989. "required": [
  14990. "userid"
  14991. ],
  14992. "properties": {
  14993. "accountname": {
  14994. "description": "账户名称(机构名称)",
  14995. "type": "string"
  14996. },
  14997. "accountstatus": {
  14998. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  14999. "type": "integer"
  15000. },
  15001. "auditremark": {
  15002. "description": "审核备注",
  15003. "type": "string"
  15004. },
  15005. "audittime": {
  15006. "description": "审核时间",
  15007. "type": "string"
  15008. },
  15009. "audituserid": {
  15010. "description": "审核人",
  15011. "type": "integer"
  15012. },
  15013. "broker": {
  15014. "description": "所属经纪人ID",
  15015. "type": "integer"
  15016. },
  15017. "canceltime": {
  15018. "description": "销户时间",
  15019. "type": "string"
  15020. },
  15021. "canceluserid": {
  15022. "description": "销户人",
  15023. "type": "integer"
  15024. },
  15025. "createtime": {
  15026. "description": "创建时间",
  15027. "type": "string"
  15028. },
  15029. "creatorid": {
  15030. "description": "创建人",
  15031. "type": "integer"
  15032. },
  15033. "hasauth": {
  15034. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  15035. "type": "integer"
  15036. },
  15037. "isanonymous": {
  15038. "description": "是否匿名下单 - 0:否 1:是",
  15039. "type": "integer"
  15040. },
  15041. "maxinvestornum": {
  15042. "description": "最大用户数(经纪会员下投资者个数)",
  15043. "type": "integer"
  15044. },
  15045. "memberuserid": {
  15046. "description": "所属会员ID",
  15047. "type": "integer"
  15048. },
  15049. "modifierid": {
  15050. "description": "修改人",
  15051. "type": "integer"
  15052. },
  15053. "modifyremark": {
  15054. "description": "变更备注",
  15055. "type": "string"
  15056. },
  15057. "modifystatus": {
  15058. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  15059. "type": "integer"
  15060. },
  15061. "modifytime": {
  15062. "description": "修改时间",
  15063. "type": "string"
  15064. },
  15065. "parentuserid": {
  15066. "description": "所属机构ID",
  15067. "type": "integer"
  15068. },
  15069. "reckonaccountid": {
  15070. "description": "默认结算资金账号ID(机构分润使用) 作废",
  15071. "type": "integer"
  15072. },
  15073. "refercount": {
  15074. "description": "推荐总人数",
  15075. "type": "integer"
  15076. },
  15077. "refereeuserid": {
  15078. "description": "推荐人ID",
  15079. "type": "integer"
  15080. },
  15081. "refernum": {
  15082. "description": "推荐码",
  15083. "type": "string"
  15084. },
  15085. "subarealevelpath": {
  15086. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  15087. "type": "string"
  15088. },
  15089. "userid": {
  15090. "description": "用户ID",
  15091. "type": "integer"
  15092. },
  15093. "usertype": {
  15094. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15095. "type": "integer"
  15096. }
  15097. }
  15098. },
  15099. "models.Userfavoritegoods": {
  15100. "type": "object",
  15101. "required": [
  15102. "goodsid"
  15103. ],
  15104. "properties": {
  15105. "goodsid": {
  15106. "description": "商品ID",
  15107. "type": "integer"
  15108. }
  15109. }
  15110. },
  15111. "models.Userinfo": {
  15112. "type": "object",
  15113. "required": [
  15114. "userid"
  15115. ],
  15116. "properties": {
  15117. "address": {
  15118. "description": "地址",
  15119. "type": "string"
  15120. },
  15121. "attachment1": {
  15122. "description": "附件1",
  15123. "type": "string"
  15124. },
  15125. "attachment2": {
  15126. "description": "附件2",
  15127. "type": "string"
  15128. },
  15129. "bankaccount": {
  15130. "description": "银行帐号 (加密存储)",
  15131. "type": "string"
  15132. },
  15133. "bankaccountname": {
  15134. "description": "收款人名称",
  15135. "type": "string"
  15136. },
  15137. "bankcardfrontphotourl": {
  15138. "description": "银行卡正面照地址",
  15139. "type": "string"
  15140. },
  15141. "bankid": {
  15142. "description": "银行编码",
  15143. "type": "string"
  15144. },
  15145. "bankname": {
  15146. "description": "银行名称",
  15147. "type": "string"
  15148. },
  15149. "biznature": {
  15150. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15151. "type": "integer"
  15152. },
  15153. "bizscope": {
  15154. "description": "企业经营范围(企业)",
  15155. "type": "string"
  15156. },
  15157. "cardbackphotourl": {
  15158. "description": "证件背面图片地址",
  15159. "type": "string"
  15160. },
  15161. "cardfrontphotourl": {
  15162. "description": "证件正面图片地址",
  15163. "type": "string"
  15164. },
  15165. "cardnum": {
  15166. "description": "证件号码(加密存储)",
  15167. "type": "string"
  15168. },
  15169. "cardtypeid": {
  15170. "description": "证件类型ID",
  15171. "type": "integer"
  15172. },
  15173. "cityid": {
  15174. "description": "市",
  15175. "type": "integer"
  15176. },
  15177. "company": {
  15178. "description": "公司(个人)",
  15179. "type": "string"
  15180. },
  15181. "contactname": {
  15182. "description": "联系人",
  15183. "type": "string"
  15184. },
  15185. "countryid": {
  15186. "description": "国家",
  15187. "type": "integer"
  15188. },
  15189. "createtime": {
  15190. "description": "创建时间",
  15191. "type": "string"
  15192. },
  15193. "creatorid": {
  15194. "description": "创建人",
  15195. "type": "integer"
  15196. },
  15197. "customername": {
  15198. "description": "客户名称(企业名称)",
  15199. "type": "string"
  15200. },
  15201. "districtid": {
  15202. "description": "地区",
  15203. "type": "integer"
  15204. },
  15205. "email": {
  15206. "description": "邮件(加密存储)",
  15207. "type": "string"
  15208. },
  15209. "fax": {
  15210. "description": "传真(加密存储)",
  15211. "type": "string"
  15212. },
  15213. "halfbodyphotourl": {
  15214. "description": "半身照地址",
  15215. "type": "string"
  15216. },
  15217. "hasencrypt": {
  15218. "description": "数据是否已加密 - 0:未加密 1:已加密",
  15219. "type": "integer"
  15220. },
  15221. "headurl": {
  15222. "description": "头像地址",
  15223. "type": "string"
  15224. },
  15225. "legalcardbackphotourl": {
  15226. "description": "法人身份证背面照地址",
  15227. "type": "string"
  15228. },
  15229. "legalcardfrontphotourl": {
  15230. "description": "法人身份证正面照地址",
  15231. "type": "string"
  15232. },
  15233. "legalpersonname": {
  15234. "description": "法人姓名(企业)",
  15235. "type": "string"
  15236. },
  15237. "mobile": {
  15238. "description": "手机号码(加密存储)",
  15239. "type": "string"
  15240. },
  15241. "mobile2": {
  15242. "description": "手机号码[明文-尚志]",
  15243. "type": "string"
  15244. },
  15245. "modifierid": {
  15246. "description": "修改人",
  15247. "type": "integer"
  15248. },
  15249. "modifiertime": {
  15250. "description": "修改时间",
  15251. "type": "string"
  15252. },
  15253. "needinvoice": {
  15254. "description": "是否需要发票 - 0:不需要 1:需要",
  15255. "type": "integer"
  15256. },
  15257. "nickname": {
  15258. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  15259. "type": "string"
  15260. },
  15261. "openmode": {
  15262. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  15263. "type": "integer"
  15264. },
  15265. "otherurl": {
  15266. "description": "其它图片地址[使用分号分隔]",
  15267. "type": "string"
  15268. },
  15269. "postalcode": {
  15270. "description": "邮政编码",
  15271. "type": "string"
  15272. },
  15273. "provinceid": {
  15274. "description": "省",
  15275. "type": "integer"
  15276. },
  15277. "qq": {
  15278. "description": "QQ(加密存储",
  15279. "type": "string"
  15280. },
  15281. "remark": {
  15282. "description": "备注",
  15283. "type": "string"
  15284. },
  15285. "sex": {
  15286. "description": "用户性别 0: 女 1: 男",
  15287. "type": "integer"
  15288. },
  15289. "signpdfurl": {
  15290. "description": "签约pdf文件",
  15291. "type": "string"
  15292. },
  15293. "telphone": {
  15294. "description": "联系电话(加密存储)",
  15295. "type": "string"
  15296. },
  15297. "userid": {
  15298. "description": "用户ID",
  15299. "type": "integer"
  15300. },
  15301. "userinfotype": {
  15302. "description": "用户信息类型 - 1:个人 2:企业",
  15303. "type": "integer"
  15304. },
  15305. "userstatus": {
  15306. "description": "用户状态 - 1:正常 2:注销",
  15307. "type": "integer"
  15308. },
  15309. "usertype": {
  15310. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15311. "type": "integer"
  15312. },
  15313. "wechat": {
  15314. "description": "微信(加密存储)",
  15315. "type": "string"
  15316. },
  15317. "wskhinfo": {
  15318. "description": "开户申请信息(JSON)",
  15319. "type": "string"
  15320. }
  15321. }
  15322. },
  15323. "models.WRCategoryTree": {
  15324. "type": "object",
  15325. "required": [
  15326. "categoryid"
  15327. ],
  15328. "properties": {
  15329. "areauserid": {
  15330. "description": "所属机构",
  15331. "type": "integer"
  15332. },
  15333. "categorydesc": {
  15334. "description": "类别描述",
  15335. "type": "string"
  15336. },
  15337. "categoryid": {
  15338. "description": "类别ID(SEQ_WRCATEGORY)",
  15339. "type": "integer"
  15340. },
  15341. "categoryname": {
  15342. "description": "类别名称",
  15343. "type": "string"
  15344. },
  15345. "iconurl": {
  15346. "description": "图标地址",
  15347. "type": "string"
  15348. },
  15349. "orderindex": {
  15350. "description": "顺序",
  15351. "type": "integer"
  15352. },
  15353. "parentcategoryid": {
  15354. "description": "父类别ID",
  15355. "type": "integer"
  15356. },
  15357. "subcategory": {
  15358. "description": "子分类",
  15359. "type": "array",
  15360. "items": {
  15361. "$ref": "#/definitions/models.WRCategoryTree"
  15362. }
  15363. }
  15364. }
  15365. },
  15366. "models.WRSConverTDetail": {
  15367. "type": "object",
  15368. "properties": {
  15369. "convertratio": {
  15370. "description": "套保系数",
  15371. "type": "number"
  15372. },
  15373. "deliverygoodsid": {
  15374. "description": "现货品种ID",
  15375. "type": "integer"
  15376. },
  15377. "middlegoodscode": {
  15378. "description": "套保品种代码",
  15379. "type": "string"
  15380. },
  15381. "middlegoodsid": {
  15382. "description": "套保品种ID",
  15383. "type": "integer"
  15384. },
  15385. "middlegoodsname": {
  15386. "description": "套保品种名称",
  15387. "type": "string"
  15388. },
  15389. "modifytime": {
  15390. "description": "修改时间",
  15391. "type": "string"
  15392. },
  15393. "wrstandardid": {
  15394. "description": "现货商品ID",
  15395. "type": "integer"
  15396. }
  15397. }
  15398. },
  15399. "models.WRStandardInfo": {
  15400. "type": "object",
  15401. "required": [
  15402. "wrstandardid"
  15403. ],
  15404. "properties": {
  15405. "createtime": {
  15406. "description": "创建时间",
  15407. "type": "string"
  15408. },
  15409. "creatorid": {
  15410. "description": "创建人",
  15411. "type": "integer"
  15412. },
  15413. "deliverygoodsid": {
  15414. "description": "品种ID",
  15415. "type": "integer"
  15416. },
  15417. "deliverygoodsname": {
  15418. "description": "交割商品名称",
  15419. "type": "string"
  15420. },
  15421. "factoryitemjson": {
  15422. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  15423. "type": "string"
  15424. },
  15425. "isvalid": {
  15426. "description": "是否有效 - 0:无效 1:有效",
  15427. "type": "integer"
  15428. },
  15429. "minivalue": {
  15430. "description": "最小变动值",
  15431. "type": "integer"
  15432. },
  15433. "minivaluedp": {
  15434. "description": "最小变动值小数位",
  15435. "type": "integer"
  15436. },
  15437. "realminivalue": {
  15438. "description": "实际最小变动值",
  15439. "type": "integer"
  15440. },
  15441. "realminivaluedp": {
  15442. "description": "实际最小变动值小数位",
  15443. "type": "integer"
  15444. },
  15445. "unitid": {
  15446. "description": "单位ID",
  15447. "type": "integer"
  15448. },
  15449. "unitname": {
  15450. "description": "单位",
  15451. "type": "string"
  15452. },
  15453. "updatetime": {
  15454. "description": "更新时间",
  15455. "type": "string"
  15456. },
  15457. "updatorid": {
  15458. "description": "更新人",
  15459. "type": "integer"
  15460. },
  15461. "wrsstatus": {
  15462. "description": "状态 - 作废 - 0:未激活 1:正常",
  15463. "type": "integer"
  15464. },
  15465. "wrstandardcode": {
  15466. "description": "仓单标准代码",
  15467. "type": "string"
  15468. },
  15469. "wrstandardid": {
  15470. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15471. "type": "integer"
  15472. },
  15473. "wrstandardname": {
  15474. "description": "仓单标准名称",
  15475. "type": "string"
  15476. }
  15477. }
  15478. },
  15479. "models.Warehouseinfo": {
  15480. "type": "object",
  15481. "required": [
  15482. "autoid",
  15483. "warehousecode"
  15484. ],
  15485. "properties": {
  15486. "address": {
  15487. "description": "详细地址",
  15488. "type": "string"
  15489. },
  15490. "areauserid": {
  15491. "description": "所属机构",
  15492. "type": "integer"
  15493. },
  15494. "autoid": {
  15495. "description": "自增ID",
  15496. "type": "integer"
  15497. },
  15498. "cityid": {
  15499. "description": "市",
  15500. "type": "integer"
  15501. },
  15502. "contactname": {
  15503. "description": "联系人",
  15504. "type": "string"
  15505. },
  15506. "contactnum": {
  15507. "description": "联系电话",
  15508. "type": "string"
  15509. },
  15510. "countryid": {
  15511. "description": "国家",
  15512. "type": "integer"
  15513. },
  15514. "createtime": {
  15515. "description": "创建时间",
  15516. "type": "string"
  15517. },
  15518. "districtid": {
  15519. "description": "区",
  15520. "type": "integer"
  15521. },
  15522. "hasvideo": {
  15523. "description": "是否有视频 - 0:无 1:有",
  15524. "type": "integer"
  15525. },
  15526. "provinceid": {
  15527. "description": "省",
  15528. "type": "integer"
  15529. },
  15530. "remark": {
  15531. "description": "审核备注",
  15532. "type": "string"
  15533. },
  15534. "videourl": {
  15535. "description": "视频地址",
  15536. "type": "string"
  15537. },
  15538. "warehousecode": {
  15539. "description": "仓库代码",
  15540. "type": "string"
  15541. },
  15542. "warehousename": {
  15543. "description": "仓库名称",
  15544. "type": "string"
  15545. },
  15546. "warehousestatus": {
  15547. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  15548. "type": "integer"
  15549. },
  15550. "warehousetype": {
  15551. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15552. "type": "integer"
  15553. }
  15554. }
  15555. },
  15556. "order.QueryHisTradeDetailRsp": {
  15557. "type": "object",
  15558. "required": [
  15559. "accountid",
  15560. "buyorsell",
  15561. "goodsid",
  15562. "histradedate",
  15563. "marketid",
  15564. "memberuserid",
  15565. "orderid",
  15566. "tradeamount",
  15567. "tradedate",
  15568. "tradeid",
  15569. "tradeprice",
  15570. "tradeqty",
  15571. "tradetime"
  15572. ],
  15573. "properties": {
  15574. "accountid": {
  15575. "description": "账户ID[报价币种]",
  15576. "type": "integer"
  15577. },
  15578. "buildtype": {
  15579. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  15580. "type": "integer"
  15581. },
  15582. "buyorsell": {
  15583. "description": "方向 - 0:买 1:卖",
  15584. "type": "integer"
  15585. },
  15586. "charge": {
  15587. "description": "手续费",
  15588. "type": "number"
  15589. },
  15590. "closecharge": {
  15591. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15592. "type": "number"
  15593. },
  15594. "closeexchagechargevalue": {
  15595. "description": "平仓交易所手续费设置值",
  15596. "type": "number"
  15597. },
  15598. "closefeealgorithm": {
  15599. "description": "平仓手续费收取方式 1:比率 2:固定",
  15600. "type": "integer"
  15601. },
  15602. "closememberchargevalue": {
  15603. "description": "平仓会员手续费设置值",
  15604. "type": "number"
  15605. },
  15606. "closepl": {
  15607. "description": "平仓盈亏",
  15608. "type": "number"
  15609. },
  15610. "closepl2": {
  15611. "description": "平仓盈亏[逐笔]",
  15612. "type": "number"
  15613. },
  15614. "closeqty": {
  15615. "description": "平仓数量(先建后平操作 需要记录)",
  15616. "type": "integer"
  15617. },
  15618. "creditamount": {
  15619. "description": "授信金额",
  15620. "type": "number"
  15621. },
  15622. "gcaccountid": {
  15623. "description": "账户ID[合约币种]",
  15624. "type": "integer"
  15625. },
  15626. "goodscode": {
  15627. "description": "商品代码",
  15628. "type": "string"
  15629. },
  15630. "goodsid": {
  15631. "description": "商品ID",
  15632. "type": "integer"
  15633. },
  15634. "goodsname": {
  15635. "description": "商品名称",
  15636. "type": "string"
  15637. },
  15638. "histradedate": {
  15639. "description": "历史交易日",
  15640. "type": "string"
  15641. },
  15642. "intclosepl": {
  15643. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  15644. "type": "integer"
  15645. },
  15646. "isconfirmexercise": {
  15647. "description": "是否确认行权- 0:否 1:是",
  15648. "type": "integer"
  15649. },
  15650. "ismain": {
  15651. "description": "是否主单 - 0:不是 1:是",
  15652. "type": "integer"
  15653. },
  15654. "ispreexercise": {
  15655. "description": "是否预申报- 0:否 1:是",
  15656. "type": "integer"
  15657. },
  15658. "isreckoned": {
  15659. "description": "是否结算 - 0:未结算 1:已结算",
  15660. "type": "integer"
  15661. },
  15662. "isvaliddata": {
  15663. "description": "是否有效 - 0:无效 1:有效",
  15664. "type": "integer"
  15665. },
  15666. "listingselecttype": {
  15667. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15668. "type": "integer"
  15669. },
  15670. "marketid": {
  15671. "description": "市场ID",
  15672. "type": "integer"
  15673. },
  15674. "marketname": {
  15675. "description": "市场名称",
  15676. "type": "string"
  15677. },
  15678. "matchaccountid": {
  15679. "description": "对手账号id",
  15680. "type": "integer"
  15681. },
  15682. "memberuserid": {
  15683. "description": "会员id 个人投资者 需要填写",
  15684. "type": "integer"
  15685. },
  15686. "opencharge": {
  15687. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15688. "type": "number"
  15689. },
  15690. "openexchagechargevalue": {
  15691. "description": "建仓交易所手续费设置值",
  15692. "type": "number"
  15693. },
  15694. "openfeealgorithm": {
  15695. "description": "建仓手续费收取方式 1:比率 2:固定",
  15696. "type": "integer"
  15697. },
  15698. "openmemberchargevalue": {
  15699. "description": "建仓会员手续费设置值",
  15700. "type": "number"
  15701. },
  15702. "openqty": {
  15703. "description": "开仓数量(先建后平操作 需要记录)",
  15704. "type": "integer"
  15705. },
  15706. "optiontype": {
  15707. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15708. "type": "integer"
  15709. },
  15710. "orderid": {
  15711. "description": "委托单号",
  15712. "type": "string"
  15713. },
  15714. "performanceplanid": {
  15715. "description": "履约计划ID[期权]",
  15716. "type": "integer"
  15717. },
  15718. "performancestatus": {
  15719. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  15720. "type": "integer"
  15721. },
  15722. "preexerciseprice": {
  15723. "description": "预申报价格",
  15724. "type": "number"
  15725. },
  15726. "premium": {
  15727. "description": "权利金 - [持仓单的权利金]",
  15728. "type": "number"
  15729. },
  15730. "relatedouttradeid": {
  15731. "description": "关联外部成交单ID",
  15732. "type": "integer"
  15733. },
  15734. "status": {
  15735. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  15736. "type": "integer"
  15737. },
  15738. "tradeamount": {
  15739. "description": "成交金额[账户币种,用于所有权]",
  15740. "type": "number"
  15741. },
  15742. "tradedate": {
  15743. "description": "交易日(yyyyMMdd)",
  15744. "type": "string"
  15745. },
  15746. "tradeid": {
  15747. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15748. "type": "string"
  15749. },
  15750. "trademode": {
  15751. "description": "交易模式",
  15752. "type": "integer"
  15753. },
  15754. "tradeprice": {
  15755. "description": "成交价格",
  15756. "type": "number"
  15757. },
  15758. "tradeproperty": {
  15759. "description": "交易属性",
  15760. "type": "integer"
  15761. },
  15762. "tradeqty": {
  15763. "description": "成交数量",
  15764. "type": "integer"
  15765. },
  15766. "tradetime": {
  15767. "description": "成交时间",
  15768. "type": "string"
  15769. },
  15770. "tradetype": {
  15771. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  15772. "type": "integer"
  15773. }
  15774. }
  15775. },
  15776. "order.QueryHisTradeOrderDetailRsp": {
  15777. "type": "object",
  15778. "required": [
  15779. "accountid",
  15780. "buildtype",
  15781. "buyorsell",
  15782. "goodsid",
  15783. "histradedate",
  15784. "marketid",
  15785. "memberuserid",
  15786. "operatetype",
  15787. "orderid",
  15788. "orderqty",
  15789. "ordertime",
  15790. "pricemode",
  15791. "tradedate",
  15792. "validtype"
  15793. ],
  15794. "properties": {
  15795. "accountid": {
  15796. "description": "账户ID[报价币种]",
  15797. "type": "integer"
  15798. },
  15799. "buildtype": {
  15800. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15801. "type": "integer"
  15802. },
  15803. "buyorsell": {
  15804. "description": "买卖 - 0:买 1:卖",
  15805. "type": "integer"
  15806. },
  15807. "cancelorderid": {
  15808. "description": "撤单单号(撤单时填写)",
  15809. "type": "string"
  15810. },
  15811. "cancelqty": {
  15812. "description": "撤单数量",
  15813. "type": "integer"
  15814. },
  15815. "clientordertime": {
  15816. "description": "客户端委托时间",
  15817. "type": "string"
  15818. },
  15819. "clientticket": {
  15820. "description": "客户端流水号",
  15821. "type": "string"
  15822. },
  15823. "clienttype": {
  15824. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15825. "type": "integer"
  15826. },
  15827. "closeexchagechargevalue": {
  15828. "description": "平仓交易所手续费设置值",
  15829. "type": "number"
  15830. },
  15831. "closefeealgorithm": {
  15832. "description": "平仓手续费收取方式 1:比率 2:固定",
  15833. "type": "integer"
  15834. },
  15835. "closefreezecharge": {
  15836. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  15837. "type": "number"
  15838. },
  15839. "closememberchargevalue": {
  15840. "description": "平仓会员手续费设置值",
  15841. "type": "number"
  15842. },
  15843. "closeqty": {
  15844. "description": "平仓数量(先建后平操作 需要记录)",
  15845. "type": "integer"
  15846. },
  15847. "closetradeqty": {
  15848. "description": "平仓成交数量(先建后平操作,需要记录)",
  15849. "type": "integer"
  15850. },
  15851. "closeunfreezecharge": {
  15852. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  15853. "type": "number"
  15854. },
  15855. "delistingtype": {
  15856. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  15857. "type": "integer"
  15858. },
  15859. "freezecharge": {
  15860. "description": "冻结手续费",
  15861. "type": "number"
  15862. },
  15863. "freezemargin": {
  15864. "description": "冻结保证金(冻结交易金额)",
  15865. "type": "number"
  15866. },
  15867. "gcaccountid": {
  15868. "description": "账户ID[合约币种]",
  15869. "type": "integer"
  15870. },
  15871. "goodscode": {
  15872. "description": "商品代码",
  15873. "type": "string"
  15874. },
  15875. "goodsid": {
  15876. "description": "商品ID",
  15877. "type": "integer"
  15878. },
  15879. "goodsname": {
  15880. "description": "商品名称",
  15881. "type": "string"
  15882. },
  15883. "histradedate": {
  15884. "description": "历史交易日",
  15885. "type": "string"
  15886. },
  15887. "isconfirmexercise": {
  15888. "description": "是否确认行权- 0:否 1:是",
  15889. "type": "integer"
  15890. },
  15891. "ispreexercise": {
  15892. "description": "是否预申报- 0:否 1:是",
  15893. "type": "integer"
  15894. },
  15895. "isvaliddata": {
  15896. "description": "是否有效 - 0:无效 1:有效",
  15897. "type": "integer"
  15898. },
  15899. "listingselecttype": {
  15900. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15901. "type": "integer"
  15902. },
  15903. "marginalgorithm": {
  15904. "description": "保证金收取方式 1:比率 2:固定",
  15905. "type": "integer"
  15906. },
  15907. "marginvalue": {
  15908. "description": "即市保证金设置值",
  15909. "type": "number"
  15910. },
  15911. "marketid": {
  15912. "description": "市场ID",
  15913. "type": "integer"
  15914. },
  15915. "marketmaxsub": {
  15916. "description": "市价最大偏移范围",
  15917. "type": "number"
  15918. },
  15919. "marketname": {
  15920. "description": "市场名称",
  15921. "type": "string"
  15922. },
  15923. "memberuserid": {
  15924. "description": "所属会员UserID",
  15925. "type": "integer"
  15926. },
  15927. "openexchagechargevalue": {
  15928. "description": "建仓交易所手续费设置值",
  15929. "type": "number"
  15930. },
  15931. "openfeealgorithm": {
  15932. "description": "建仓手续费收取方式 1:比率 2:固定",
  15933. "type": "integer"
  15934. },
  15935. "openfreezecharge": {
  15936. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15937. "type": "number"
  15938. },
  15939. "openmemberchargevalue": {
  15940. "description": "建仓会员手续费设置值",
  15941. "type": "number"
  15942. },
  15943. "openqty": {
  15944. "description": "开仓数量(先建后平操作,需要记录)",
  15945. "type": "integer"
  15946. },
  15947. "opentradeqty": {
  15948. "description": "开仓成交数量(先建后平操作,需要记录)",
  15949. "type": "integer"
  15950. },
  15951. "openunfreezecharge": {
  15952. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15953. "type": "number"
  15954. },
  15955. "operatetype": {
  15956. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15957. "type": "integer"
  15958. },
  15959. "operatorid": {
  15960. "description": "登录账号(LoginID)",
  15961. "type": "integer"
  15962. },
  15963. "optiontype": {
  15964. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15965. "type": "integer"
  15966. },
  15967. "orderid": {
  15968. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15969. "type": "string"
  15970. },
  15971. "orderprice": {
  15972. "description": "委托价格",
  15973. "type": "number"
  15974. },
  15975. "orderqty": {
  15976. "description": "委托数量",
  15977. "type": "integer"
  15978. },
  15979. "ordersrc": {
  15980. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15981. "type": "integer"
  15982. },
  15983. "orderstatus": {
  15984. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15985. "type": "integer"
  15986. },
  15987. "ordertime": {
  15988. "description": "委托时间",
  15989. "type": "string"
  15990. },
  15991. "preexerciseprice": {
  15992. "description": "预申报价格",
  15993. "type": "number"
  15994. },
  15995. "premium": {
  15996. "description": "权利金",
  15997. "type": "number"
  15998. },
  15999. "preorderid": {
  16000. "description": "关联预埋单号(止盈止损单时填写)",
  16001. "type": "string"
  16002. },
  16003. "pricemode": {
  16004. "description": "取价方式 - 1:市价 2: 限价",
  16005. "type": "integer"
  16006. },
  16007. "quoteid": {
  16008. "description": "报价单ID",
  16009. "type": "integer"
  16010. },
  16011. "relatedid": {
  16012. "description": "关联单号(交割单)",
  16013. "type": "string"
  16014. },
  16015. "retcode": {
  16016. "description": "错误代码",
  16017. "type": "integer"
  16018. },
  16019. "sessionid": {
  16020. "description": "会话ID",
  16021. "type": "integer"
  16022. },
  16023. "tradedate": {
  16024. "description": "交易日(yyyyMMdd)",
  16025. "type": "string"
  16026. },
  16027. "trademode": {
  16028. "description": "交易模式",
  16029. "type": "integer"
  16030. },
  16031. "tradeproperty": {
  16032. "description": "交易属性",
  16033. "type": "integer"
  16034. },
  16035. "tradeqty": {
  16036. "description": "成交数量",
  16037. "type": "integer"
  16038. },
  16039. "unfreezecharge": {
  16040. "description": "解冻手续费",
  16041. "type": "number"
  16042. },
  16043. "unfreezemargin": {
  16044. "description": "解冻保证金",
  16045. "type": "number"
  16046. },
  16047. "updatetime": {
  16048. "description": "更新时间",
  16049. "type": "string"
  16050. },
  16051. "uuid": {
  16052. "description": "发起端唯一id",
  16053. "type": "string"
  16054. },
  16055. "validtime": {
  16056. "description": "有效期限",
  16057. "type": "string"
  16058. },
  16059. "validtype": {
  16060. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16061. "type": "integer"
  16062. },
  16063. "volumetype": {
  16064. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16065. "type": "integer"
  16066. }
  16067. }
  16068. },
  16069. "order.QueryTradeDetailRsp": {
  16070. "type": "object",
  16071. "required": [
  16072. "accountid",
  16073. "buyorsell",
  16074. "goodsid",
  16075. "marketid",
  16076. "memberuserid",
  16077. "orderid",
  16078. "tradeamount",
  16079. "tradedate",
  16080. "tradeid",
  16081. "tradeprice",
  16082. "tradeqty",
  16083. "tradetime"
  16084. ],
  16085. "properties": {
  16086. "accountid": {
  16087. "description": "账户ID[报价币种]",
  16088. "type": "integer"
  16089. },
  16090. "buildtype": {
  16091. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16092. "type": "integer"
  16093. },
  16094. "buyorsell": {
  16095. "description": "方向 - 0:买 1:卖",
  16096. "type": "integer"
  16097. },
  16098. "charge": {
  16099. "description": "手续费",
  16100. "type": "number"
  16101. },
  16102. "closecharge": {
  16103. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16104. "type": "number"
  16105. },
  16106. "closeexchagechargevalue": {
  16107. "description": "平仓交易所手续费设置值",
  16108. "type": "number"
  16109. },
  16110. "closefeealgorithm": {
  16111. "description": "平仓手续费收取方式 1:比率 2:固定",
  16112. "type": "integer"
  16113. },
  16114. "closememberchargevalue": {
  16115. "description": "平仓会员手续费设置值",
  16116. "type": "number"
  16117. },
  16118. "closepl": {
  16119. "description": "平仓盈亏",
  16120. "type": "number"
  16121. },
  16122. "closepl2": {
  16123. "description": "平仓盈亏[逐笔]",
  16124. "type": "number"
  16125. },
  16126. "closeqty": {
  16127. "description": "平仓数量(先建后平操作 需要记录)",
  16128. "type": "integer"
  16129. },
  16130. "creditamount": {
  16131. "description": "授信金额",
  16132. "type": "number"
  16133. },
  16134. "gcaccountid": {
  16135. "description": "账户ID[合约币种]",
  16136. "type": "integer"
  16137. },
  16138. "goodscode": {
  16139. "description": "商品代码",
  16140. "type": "string"
  16141. },
  16142. "goodsid": {
  16143. "description": "商品ID",
  16144. "type": "integer"
  16145. },
  16146. "goodsname": {
  16147. "description": "商品名称",
  16148. "type": "string"
  16149. },
  16150. "intclosepl": {
  16151. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16152. "type": "integer"
  16153. },
  16154. "isconfirmexercise": {
  16155. "description": "是否确认行权- 0:否 1:是",
  16156. "type": "integer"
  16157. },
  16158. "ismain": {
  16159. "description": "是否主单 - 0:不是 1:是",
  16160. "type": "integer"
  16161. },
  16162. "ispreexercise": {
  16163. "description": "是否预申报- 0:否 1:是",
  16164. "type": "integer"
  16165. },
  16166. "isreckoned": {
  16167. "description": "是否结算 - 0:未结算 1:已结算",
  16168. "type": "integer"
  16169. },
  16170. "listingselecttype": {
  16171. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16172. "type": "integer"
  16173. },
  16174. "marketid": {
  16175. "description": "市场ID",
  16176. "type": "integer"
  16177. },
  16178. "marketname": {
  16179. "description": "市场名称",
  16180. "type": "string"
  16181. },
  16182. "matchaccountid": {
  16183. "description": "对手账号id",
  16184. "type": "integer"
  16185. },
  16186. "memberuserid": {
  16187. "description": "会员id 个人投资者 需要填写",
  16188. "type": "integer"
  16189. },
  16190. "opencharge": {
  16191. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16192. "type": "number"
  16193. },
  16194. "openexchagechargevalue": {
  16195. "description": "建仓交易所手续费设置值",
  16196. "type": "number"
  16197. },
  16198. "openfeealgorithm": {
  16199. "description": "建仓手续费收取方式 1:比率 2:固定",
  16200. "type": "integer"
  16201. },
  16202. "openmemberchargevalue": {
  16203. "description": "建仓会员手续费设置值",
  16204. "type": "number"
  16205. },
  16206. "openqty": {
  16207. "description": "开仓数量(先建后平操作 需要记录)",
  16208. "type": "integer"
  16209. },
  16210. "optiontype": {
  16211. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16212. "type": "integer"
  16213. },
  16214. "orderid": {
  16215. "description": "委托单号",
  16216. "type": "string"
  16217. },
  16218. "performanceplanid": {
  16219. "description": "履约计划ID[期权]",
  16220. "type": "integer"
  16221. },
  16222. "performancestatus": {
  16223. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16224. "type": "integer"
  16225. },
  16226. "preexerciseprice": {
  16227. "description": "预申报价格",
  16228. "type": "number"
  16229. },
  16230. "premium": {
  16231. "description": "权利金 - [持仓单的权利金]",
  16232. "type": "number"
  16233. },
  16234. "relatedouttradeid": {
  16235. "description": "关联外部成交单ID",
  16236. "type": "integer"
  16237. },
  16238. "status": {
  16239. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16240. "type": "integer"
  16241. },
  16242. "tradeamount": {
  16243. "description": "成交金额[账户币种,用于所有权]",
  16244. "type": "number"
  16245. },
  16246. "tradedate": {
  16247. "description": "交易日(yyyyMMdd)",
  16248. "type": "string"
  16249. },
  16250. "tradeid": {
  16251. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16252. "type": "string"
  16253. },
  16254. "trademode": {
  16255. "description": "交易模式",
  16256. "type": "integer"
  16257. },
  16258. "tradeprice": {
  16259. "description": "成交价格",
  16260. "type": "number"
  16261. },
  16262. "tradeproperty": {
  16263. "description": "交易属性",
  16264. "type": "integer"
  16265. },
  16266. "tradeqty": {
  16267. "description": "成交数量",
  16268. "type": "integer"
  16269. },
  16270. "tradetime": {
  16271. "description": "成交时间",
  16272. "type": "string"
  16273. },
  16274. "tradetype": {
  16275. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16276. "type": "integer"
  16277. }
  16278. }
  16279. },
  16280. "order.QueryTradeOrderDetailRsp": {
  16281. "type": "object",
  16282. "required": [
  16283. "accountid",
  16284. "buildtype",
  16285. "buyorsell",
  16286. "goodsid",
  16287. "marketid",
  16288. "operatetype",
  16289. "orderqty",
  16290. "ordertime",
  16291. "pricemode",
  16292. "tradedate",
  16293. "validtype"
  16294. ],
  16295. "properties": {
  16296. "accountid": {
  16297. "description": "账户ID[报价币种]",
  16298. "type": "integer"
  16299. },
  16300. "buildtype": {
  16301. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16302. "type": "integer"
  16303. },
  16304. "buyorsell": {
  16305. "description": "买卖 - 0:买 1:卖",
  16306. "type": "integer"
  16307. },
  16308. "cancelorderid": {
  16309. "description": "撤单单号(撤单时填写)",
  16310. "type": "string"
  16311. },
  16312. "cancelqty": {
  16313. "description": "撤单数量",
  16314. "type": "integer"
  16315. },
  16316. "clienttype": {
  16317. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16318. "type": "integer"
  16319. },
  16320. "closefreezecharge": {
  16321. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16322. "type": "number"
  16323. },
  16324. "closeqty": {
  16325. "description": "平仓数量(先建后平操作 需要记录)",
  16326. "type": "integer"
  16327. },
  16328. "closetradeqty": {
  16329. "description": "平仓成交数量(先建后平操作,需要记录)",
  16330. "type": "integer"
  16331. },
  16332. "closeunfreezecharge": {
  16333. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16334. "type": "number"
  16335. },
  16336. "delistingtype": {
  16337. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16338. "type": "integer"
  16339. },
  16340. "enableqty": {
  16341. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  16342. "type": "integer"
  16343. },
  16344. "freezecharge": {
  16345. "description": "冻结手续费",
  16346. "type": "number"
  16347. },
  16348. "freezemargin": {
  16349. "description": "冻结保证金(冻结交易金额)",
  16350. "type": "number"
  16351. },
  16352. "goodscode": {
  16353. "description": "商品代码",
  16354. "type": "string"
  16355. },
  16356. "goodsid": {
  16357. "description": "商品ID",
  16358. "type": "integer"
  16359. },
  16360. "goodsname": {
  16361. "description": "商品名称",
  16362. "type": "string"
  16363. },
  16364. "listingselecttype": {
  16365. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16366. "type": "integer"
  16367. },
  16368. "marketid": {
  16369. "description": "市场ID",
  16370. "type": "integer"
  16371. },
  16372. "marketname": {
  16373. "description": "市场名称",
  16374. "type": "string"
  16375. },
  16376. "openfreezecharge": {
  16377. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16378. "type": "number"
  16379. },
  16380. "openqty": {
  16381. "description": "开仓数量(先建后平操作,需要记录)",
  16382. "type": "integer"
  16383. },
  16384. "opentradeqty": {
  16385. "description": "开仓成交数量(先建后平操作,需要记录)",
  16386. "type": "integer"
  16387. },
  16388. "openunfreezecharge": {
  16389. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16390. "type": "number"
  16391. },
  16392. "operatetype": {
  16393. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16394. "type": "integer"
  16395. },
  16396. "operatorid": {
  16397. "description": "登录账号(LoginID)",
  16398. "type": "integer"
  16399. },
  16400. "orderid": {
  16401. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16402. "type": "string"
  16403. },
  16404. "orderprice": {
  16405. "description": "委托价格",
  16406. "type": "number"
  16407. },
  16408. "orderqty": {
  16409. "description": "委托数量",
  16410. "type": "integer"
  16411. },
  16412. "ordersrc": {
  16413. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16414. "type": "integer"
  16415. },
  16416. "orderstatus": {
  16417. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16418. "type": "integer"
  16419. },
  16420. "ordertime": {
  16421. "description": "委托时间",
  16422. "type": "string"
  16423. },
  16424. "preorderid": {
  16425. "description": "关联预埋单号(止盈止损单时填写)",
  16426. "type": "string"
  16427. },
  16428. "pricemode": {
  16429. "description": "取价方式 - 1:市价 2: 限价",
  16430. "type": "integer"
  16431. },
  16432. "relatedid": {
  16433. "description": "关联单号(交割单)",
  16434. "type": "string"
  16435. },
  16436. "tradedate": {
  16437. "description": "交易日(yyyyMMdd)",
  16438. "type": "string"
  16439. },
  16440. "trademode": {
  16441. "description": "交易模式",
  16442. "type": "integer"
  16443. },
  16444. "tradeqty": {
  16445. "description": "成交数量",
  16446. "type": "integer"
  16447. },
  16448. "unfreezecharge": {
  16449. "description": "解冻手续费",
  16450. "type": "number"
  16451. },
  16452. "unfreezemargin": {
  16453. "description": "解冻保证金",
  16454. "type": "number"
  16455. },
  16456. "validtime": {
  16457. "description": "有效期限",
  16458. "type": "string"
  16459. },
  16460. "validtype": {
  16461. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16462. "type": "integer"
  16463. },
  16464. "volumetype": {
  16465. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16466. "type": "integer"
  16467. }
  16468. }
  16469. },
  16470. "order.QueryTradePositionRsp": {
  16471. "type": "object",
  16472. "required": [
  16473. "goodsid"
  16474. ],
  16475. "properties": {
  16476. "accountid": {
  16477. "description": "资金账户",
  16478. "type": "integer"
  16479. },
  16480. "agreeunit": {
  16481. "description": "合约单位",
  16482. "type": "number"
  16483. },
  16484. "averageprice": {
  16485. "description": "持仓均价",
  16486. "type": "number"
  16487. },
  16488. "buyorsell": {
  16489. "description": "方向 - 0:买 1:卖",
  16490. "type": "integer"
  16491. },
  16492. "closetotalqty": {
  16493. "description": "平仓总数量",
  16494. "type": "integer"
  16495. },
  16496. "curholderamount": {
  16497. "description": "当前持仓总金额[商品币种]",
  16498. "type": "number"
  16499. },
  16500. "curpositionqty": {
  16501. "description": "当前持仓总数量",
  16502. "type": "integer"
  16503. },
  16504. "currencyid": {
  16505. "description": "报价货币ID",
  16506. "type": "integer"
  16507. },
  16508. "curtdposition": {
  16509. "description": "期末今日头寸",
  16510. "type": "integer"
  16511. },
  16512. "decimalplace": {
  16513. "description": "报价小数位",
  16514. "type": "integer"
  16515. },
  16516. "enableqty": {
  16517. "description": "可用量",
  16518. "type": "integer"
  16519. },
  16520. "fretdposition": {
  16521. "description": "冻结今日头寸",
  16522. "type": "integer"
  16523. },
  16524. "frozenqty": {
  16525. "description": "持仓冻结数量",
  16526. "type": "integer"
  16527. },
  16528. "goodscode": {
  16529. "description": "商品代码",
  16530. "type": "string"
  16531. },
  16532. "goodsid": {
  16533. "description": "商品Id",
  16534. "type": "integer"
  16535. },
  16536. "goodsname": {
  16537. "description": "商品名称",
  16538. "type": "string"
  16539. },
  16540. "goodunit": {
  16541. "description": "报价单位",
  16542. "type": "string"
  16543. },
  16544. "goodunitid": {
  16545. "description": "报价单位ID",
  16546. "type": "integer"
  16547. },
  16548. "holderamount": {
  16549. "description": "期初持仓总金额[商品币种]",
  16550. "type": "number"
  16551. },
  16552. "marketid": {
  16553. "description": "所属市场ID",
  16554. "type": "integer"
  16555. },
  16556. "openreqqty": {
  16557. "description": "开仓申请数量(用于比较最大持仓数量)",
  16558. "type": "integer"
  16559. },
  16560. "opentotalqty": {
  16561. "description": "开仓总数量",
  16562. "type": "integer"
  16563. },
  16564. "otherfrozenqty": {
  16565. "description": "持仓其他冻结数量(交割冻结)",
  16566. "type": "integer"
  16567. },
  16568. "positionqty": {
  16569. "description": "期初持仓数量",
  16570. "type": "integer"
  16571. },
  16572. "tnqty": {
  16573. "description": "T+N冻结总量",
  16574. "type": "integer"
  16575. },
  16576. "tnusedqty": {
  16577. "description": "T+N使用量(可以使用T+N的冻结数量)",
  16578. "type": "integer"
  16579. },
  16580. "trademode": {
  16581. "description": "交易模式",
  16582. "type": "integer"
  16583. },
  16584. "usedmargin": {
  16585. "description": "占用保证金[商品币种]",
  16586. "type": "number"
  16587. }
  16588. }
  16589. },
  16590. "quote.HistoryData": {
  16591. "type": "object",
  16592. "properties": {
  16593. "c": {
  16594. "description": "收盘价",
  16595. "type": "number"
  16596. },
  16597. "f": {
  16598. "description": "是否补充数据",
  16599. "type": "boolean"
  16600. },
  16601. "h": {
  16602. "description": "最高价",
  16603. "type": "number"
  16604. },
  16605. "hv": {
  16606. "description": "持仓量",
  16607. "type": "integer"
  16608. },
  16609. "l": {
  16610. "description": "最低价",
  16611. "type": "number"
  16612. },
  16613. "o": {
  16614. "description": "开盘价",
  16615. "type": "number"
  16616. },
  16617. "s": {
  16618. "description": "结算价,日线周期(包括)以上才有",
  16619. "type": "number"
  16620. },
  16621. "ts": {
  16622. "description": "时间",
  16623. "type": "string"
  16624. },
  16625. "tt": {
  16626. "description": "总金额",
  16627. "type": "number"
  16628. },
  16629. "tv": {
  16630. "description": "总量",
  16631. "type": "integer"
  16632. }
  16633. }
  16634. },
  16635. "quote.QueryQuoteDayRsp": {
  16636. "type": "object",
  16637. "properties": {
  16638. "ask": {
  16639. "description": "卖1",
  16640. "type": "number"
  16641. },
  16642. "ask10": {
  16643. "description": "卖10",
  16644. "type": "number"
  16645. },
  16646. "ask2": {
  16647. "description": "卖2",
  16648. "type": "number"
  16649. },
  16650. "ask3": {
  16651. "description": "卖3",
  16652. "type": "number"
  16653. },
  16654. "ask4": {
  16655. "description": "卖4",
  16656. "type": "number"
  16657. },
  16658. "ask5": {
  16659. "description": "卖5",
  16660. "type": "number"
  16661. },
  16662. "ask6": {
  16663. "description": "卖6",
  16664. "type": "number"
  16665. },
  16666. "ask7": {
  16667. "description": "卖7",
  16668. "type": "number"
  16669. },
  16670. "ask8": {
  16671. "description": "卖8",
  16672. "type": "number"
  16673. },
  16674. "ask9": {
  16675. "description": "卖9",
  16676. "type": "number"
  16677. },
  16678. "askorderid": {
  16679. "description": "卖单号1",
  16680. "type": "integer"
  16681. },
  16682. "askorderid2": {
  16683. "description": "卖单号2",
  16684. "type": "integer"
  16685. },
  16686. "askorderid3": {
  16687. "description": "卖单号3",
  16688. "type": "integer"
  16689. },
  16690. "askorderid4": {
  16691. "description": "卖单号4",
  16692. "type": "integer"
  16693. },
  16694. "askorderid5": {
  16695. "description": "卖单号5",
  16696. "type": "integer"
  16697. },
  16698. "askordervolume": {
  16699. "description": "卖单量1",
  16700. "type": "integer"
  16701. },
  16702. "askordervolume10": {
  16703. "description": "卖单量10",
  16704. "type": "integer"
  16705. },
  16706. "askordervolume2": {
  16707. "description": "卖单量2",
  16708. "type": "integer"
  16709. },
  16710. "askordervolume3": {
  16711. "description": "卖单量3",
  16712. "type": "integer"
  16713. },
  16714. "askordervolume4": {
  16715. "description": "卖单量4",
  16716. "type": "integer"
  16717. },
  16718. "askordervolume5": {
  16719. "description": "卖单量5",
  16720. "type": "integer"
  16721. },
  16722. "askordervolume6": {
  16723. "description": "卖单量6",
  16724. "type": "integer"
  16725. },
  16726. "askordervolume7": {
  16727. "description": "卖单量7",
  16728. "type": "integer"
  16729. },
  16730. "askordervolume8": {
  16731. "description": "卖单量8",
  16732. "type": "integer"
  16733. },
  16734. "askordervolume9": {
  16735. "description": "卖单量9",
  16736. "type": "integer"
  16737. },
  16738. "askqueueinfo": {
  16739. "description": "大利市卖港股用",
  16740. "type": "string"
  16741. },
  16742. "askvolume": {
  16743. "description": "卖量1",
  16744. "type": "integer"
  16745. },
  16746. "askvolume10": {
  16747. "description": "卖量10",
  16748. "type": "integer"
  16749. },
  16750. "askvolume2": {
  16751. "description": "卖量2",
  16752. "type": "integer"
  16753. },
  16754. "askvolume3": {
  16755. "description": "卖量3",
  16756. "type": "integer"
  16757. },
  16758. "askvolume4": {
  16759. "description": "卖量4",
  16760. "type": "integer"
  16761. },
  16762. "askvolume5": {
  16763. "description": "卖量5",
  16764. "type": "integer"
  16765. },
  16766. "askvolume6": {
  16767. "description": "卖量6",
  16768. "type": "integer"
  16769. },
  16770. "askvolume7": {
  16771. "description": "卖量7",
  16772. "type": "integer"
  16773. },
  16774. "askvolume8": {
  16775. "description": "卖量8",
  16776. "type": "integer"
  16777. },
  16778. "askvolume9": {
  16779. "description": "卖量9",
  16780. "type": "integer"
  16781. },
  16782. "averageprice": {
  16783. "description": "均价",
  16784. "type": "number"
  16785. },
  16786. "bid": {
  16787. "description": "买1",
  16788. "type": "number"
  16789. },
  16790. "bid10": {
  16791. "description": "买10",
  16792. "type": "number"
  16793. },
  16794. "bid2": {
  16795. "description": "买2",
  16796. "type": "number"
  16797. },
  16798. "bid3": {
  16799. "description": "买3",
  16800. "type": "number"
  16801. },
  16802. "bid4": {
  16803. "description": "买4",
  16804. "type": "number"
  16805. },
  16806. "bid5": {
  16807. "description": "买5",
  16808. "type": "number"
  16809. },
  16810. "bid6": {
  16811. "description": "买6",
  16812. "type": "number"
  16813. },
  16814. "bid7": {
  16815. "description": "买7",
  16816. "type": "number"
  16817. },
  16818. "bid8": {
  16819. "description": "买8",
  16820. "type": "number"
  16821. },
  16822. "bid9": {
  16823. "description": "买9",
  16824. "type": "number"
  16825. },
  16826. "bidorderid": {
  16827. "description": "买单号1",
  16828. "type": "integer"
  16829. },
  16830. "bidorderid2": {
  16831. "description": "买单号2",
  16832. "type": "integer"
  16833. },
  16834. "bidorderid3": {
  16835. "description": "买单号3",
  16836. "type": "integer"
  16837. },
  16838. "bidorderid4": {
  16839. "description": "买单号4",
  16840. "type": "integer"
  16841. },
  16842. "bidorderid5": {
  16843. "description": "买单号5",
  16844. "type": "integer"
  16845. },
  16846. "bidordervolume": {
  16847. "description": "买单量1",
  16848. "type": "integer"
  16849. },
  16850. "bidordervolume10": {
  16851. "description": "买单量10",
  16852. "type": "integer"
  16853. },
  16854. "bidordervolume2": {
  16855. "description": "买单量2",
  16856. "type": "integer"
  16857. },
  16858. "bidordervolume3": {
  16859. "description": "买单量3",
  16860. "type": "integer"
  16861. },
  16862. "bidordervolume4": {
  16863. "description": "买单量4",
  16864. "type": "integer"
  16865. },
  16866. "bidordervolume5": {
  16867. "description": "买单量5",
  16868. "type": "integer"
  16869. },
  16870. "bidordervolume6": {
  16871. "description": "买单量6",
  16872. "type": "integer"
  16873. },
  16874. "bidordervolume7": {
  16875. "description": "买单量7",
  16876. "type": "integer"
  16877. },
  16878. "bidordervolume8": {
  16879. "description": "买单量8",
  16880. "type": "integer"
  16881. },
  16882. "bidordervolume9": {
  16883. "description": "买单量9",
  16884. "type": "integer"
  16885. },
  16886. "bidqueueinfo": {
  16887. "description": "大利市买港股用",
  16888. "type": "string"
  16889. },
  16890. "bidvolume": {
  16891. "description": "买量1",
  16892. "type": "integer"
  16893. },
  16894. "bidvolume10": {
  16895. "description": "买量10",
  16896. "type": "integer"
  16897. },
  16898. "bidvolume2": {
  16899. "description": "买量2",
  16900. "type": "integer"
  16901. },
  16902. "bidvolume3": {
  16903. "description": "买量3",
  16904. "type": "integer"
  16905. },
  16906. "bidvolume4": {
  16907. "description": "买量4",
  16908. "type": "integer"
  16909. },
  16910. "bidvolume5": {
  16911. "description": "买量5",
  16912. "type": "integer"
  16913. },
  16914. "bidvolume6": {
  16915. "description": "买量6",
  16916. "type": "integer"
  16917. },
  16918. "bidvolume7": {
  16919. "description": "买量7",
  16920. "type": "integer"
  16921. },
  16922. "bidvolume8": {
  16923. "description": "买量8",
  16924. "type": "integer"
  16925. },
  16926. "bidvolume9": {
  16927. "description": "买量9",
  16928. "type": "integer"
  16929. },
  16930. "calloptionpremiums": {
  16931. "description": "认购期权1",
  16932. "type": "integer"
  16933. },
  16934. "calloptionpremiums2": {
  16935. "description": "认购期权2",
  16936. "type": "integer"
  16937. },
  16938. "calloptionpremiums3": {
  16939. "description": "认购期权3",
  16940. "type": "integer"
  16941. },
  16942. "calloptionpremiums4": {
  16943. "description": "认购期权4",
  16944. "type": "integer"
  16945. },
  16946. "calloptionpremiums5": {
  16947. "description": "认购期权5",
  16948. "type": "integer"
  16949. },
  16950. "cleartime": {
  16951. "description": "清盘时间",
  16952. "type": "integer"
  16953. },
  16954. "exchangecode": {
  16955. "description": "交易所代码",
  16956. "type": "integer"
  16957. },
  16958. "exchangedate": {
  16959. "description": "交易日",
  16960. "type": "integer"
  16961. },
  16962. "goodscode": {
  16963. "description": "商品代码",
  16964. "type": "string"
  16965. },
  16966. "grepmarketprice": {
  16967. "description": "暗盘价 港股专用",
  16968. "type": "number"
  16969. },
  16970. "highest": {
  16971. "description": "最高价",
  16972. "type": "number"
  16973. },
  16974. "holdincrement": {
  16975. "description": "单笔持仓",
  16976. "type": "integer"
  16977. },
  16978. "holdvolume": {
  16979. "description": "持仓",
  16980. "type": "integer"
  16981. },
  16982. "iep": {
  16983. "description": "平衡价 港股专用",
  16984. "type": "number"
  16985. },
  16986. "iev": {
  16987. "description": "平衡量 港股专用",
  16988. "type": "number"
  16989. },
  16990. "inventory": {
  16991. "description": "库存",
  16992. "type": "integer"
  16993. },
  16994. "iscleared": {
  16995. "description": "是否清盘标志",
  16996. "type": "integer"
  16997. },
  16998. "issettled": {
  16999. "description": "是否结算标志",
  17000. "type": "integer"
  17001. },
  17002. "last": {
  17003. "description": "最新价",
  17004. "type": "number"
  17005. },
  17006. "lastlot": {
  17007. "description": "最新成交手数",
  17008. "type": "integer"
  17009. },
  17010. "lasttime": {
  17011. "description": "行情时间(只有现价变化行情时间才变化)",
  17012. "type": "string"
  17013. },
  17014. "lastturnover": {
  17015. "description": "最新成交金额",
  17016. "type": "number"
  17017. },
  17018. "lastvolume": {
  17019. "description": "最新成交量",
  17020. "type": "integer"
  17021. },
  17022. "limitdown": {
  17023. "description": "跌停价",
  17024. "type": "number"
  17025. },
  17026. "limitup": {
  17027. "description": "涨停价",
  17028. "type": "number"
  17029. },
  17030. "lowest": {
  17031. "description": "最低价",
  17032. "type": "number"
  17033. },
  17034. "nontotalholdervolume": {
  17035. "description": "非交易持仓量",
  17036. "type": "integer"
  17037. },
  17038. "nontotallot": {
  17039. "description": "非交易总手数",
  17040. "type": "integer"
  17041. },
  17042. "nontotalturnover": {
  17043. "description": "非交易总金额",
  17044. "type": "integer"
  17045. },
  17046. "nontotalvolume": {
  17047. "description": "非交易总量",
  17048. "type": "integer"
  17049. },
  17050. "opened": {
  17051. "description": "开盘价",
  17052. "type": "number"
  17053. },
  17054. "opentime": {
  17055. "description": "开盘时间",
  17056. "type": "string"
  17057. },
  17058. "orderid": {
  17059. "description": "序号",
  17060. "type": "integer"
  17061. },
  17062. "preclose": {
  17063. "description": "昨收",
  17064. "type": "number"
  17065. },
  17066. "preholdvolume": {
  17067. "description": "昨持仓",
  17068. "type": "integer"
  17069. },
  17070. "presettle": {
  17071. "description": "昨结价",
  17072. "type": "number"
  17073. },
  17074. "publictradetype": {
  17075. "description": "公共交易标志类型 港股专用",
  17076. "type": "string"
  17077. },
  17078. "putoptionpremiums": {
  17079. "description": "认沽期权1",
  17080. "type": "integer"
  17081. },
  17082. "putoptionpremiums2": {
  17083. "description": "认沽期权2",
  17084. "type": "integer"
  17085. },
  17086. "putoptionpremiums3": {
  17087. "description": "认沽期权3",
  17088. "type": "integer"
  17089. },
  17090. "putoptionpremiums4": {
  17091. "description": "认沽期权4",
  17092. "type": "integer"
  17093. },
  17094. "putoptionpremiums5": {
  17095. "description": "认沽期权5",
  17096. "type": "integer"
  17097. },
  17098. "settle": {
  17099. "description": "结算价",
  17100. "type": "number"
  17101. },
  17102. "strikeprice": {
  17103. "description": "发行价",
  17104. "type": "number"
  17105. },
  17106. "totalaskvolume": {
  17107. "description": "内盘",
  17108. "type": "integer"
  17109. },
  17110. "totalbidvolume": {
  17111. "description": "外盘",
  17112. "type": "integer"
  17113. },
  17114. "totallot": {
  17115. "description": "总手数",
  17116. "type": "integer"
  17117. },
  17118. "totalturnover": {
  17119. "description": "总金额",
  17120. "type": "number"
  17121. },
  17122. "totalvolume": {
  17123. "description": "总量",
  17124. "type": "integer"
  17125. },
  17126. "utclasttime": {
  17127. "description": "utc的行情时间",
  17128. "type": "string"
  17129. }
  17130. }
  17131. },
  17132. "quote.QueryTSDataRsp": {
  17133. "type": "object",
  17134. "properties": {
  17135. "decimalPlace": {
  17136. "description": "小数位",
  17137. "type": "integer"
  17138. },
  17139. "endTime": {
  17140. "description": "结束时间",
  17141. "type": "string"
  17142. },
  17143. "goodsCode": {
  17144. "description": "商品代码",
  17145. "type": "string"
  17146. },
  17147. "historyDatas": {
  17148. "description": "历史数据",
  17149. "type": "array",
  17150. "items": {
  17151. "$ref": "#/definitions/quote.HistoryData"
  17152. }
  17153. },
  17154. "outGoodsCode": {
  17155. "description": "外部商品代码",
  17156. "type": "string"
  17157. },
  17158. "preSettle": {
  17159. "description": "昨结",
  17160. "type": "number"
  17161. },
  17162. "startTime": {
  17163. "description": "开始时间",
  17164. "type": "string"
  17165. },
  17166. "tradeDate": {
  17167. "description": "交易日",
  17168. "type": "string"
  17169. }
  17170. }
  17171. },
  17172. "szdz.QueryConvertLogRsp": {
  17173. "type": "object",
  17174. "required": [
  17175. "logid"
  17176. ],
  17177. "properties": {
  17178. "accountid": {
  17179. "description": "资金账户ID",
  17180. "type": "integer"
  17181. },
  17182. "clientticket": {
  17183. "description": "客户端流水号",
  17184. "type": "string"
  17185. },
  17186. "converttype": {
  17187. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  17188. "type": "integer"
  17189. },
  17190. "createtime": {
  17191. "description": "记账时间",
  17192. "type": "string"
  17193. },
  17194. "daymaxvalue": {
  17195. "description": "配置当日最大转入限制",
  17196. "type": "number"
  17197. },
  17198. "daymaxvalue2": {
  17199. "description": "配置当日最大转入限制(转入)",
  17200. "type": "number"
  17201. },
  17202. "goodscode": {
  17203. "description": "商品代码",
  17204. "type": "string"
  17205. },
  17206. "goodsname": {
  17207. "description": "商品名称",
  17208. "type": "string"
  17209. },
  17210. "handlestatus": {
  17211. "description": "处理状态",
  17212. "type": "integer"
  17213. },
  17214. "innergoodsid": {
  17215. "description": "内部商品ID",
  17216. "type": "integer"
  17217. },
  17218. "inratio": {
  17219. "description": "配置转入比值",
  17220. "type": "integer"
  17221. },
  17222. "invalue": {
  17223. "description": "目标值",
  17224. "type": "number"
  17225. },
  17226. "logid": {
  17227. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17228. "type": "integer"
  17229. },
  17230. "mobile": {
  17231. "description": "手机号码(加密存储)",
  17232. "type": "string"
  17233. },
  17234. "outergoodscode": {
  17235. "description": "外部商品代码[JD\\PD]",
  17236. "type": "string"
  17237. },
  17238. "outratio": {
  17239. "description": "配置转出比值",
  17240. "type": "integer"
  17241. },
  17242. "outvalue": {
  17243. "description": "源值",
  17244. "type": "number"
  17245. },
  17246. "pddecimalplace": {
  17247. "description": "PD小数位",
  17248. "type": "integer"
  17249. },
  17250. "qty": {
  17251. "description": "数量",
  17252. "type": "string"
  17253. },
  17254. "remark": {
  17255. "description": "备注",
  17256. "type": "string"
  17257. },
  17258. "sessionid": {
  17259. "description": "会话ID",
  17260. "type": "integer"
  17261. },
  17262. "timemaxvalue": {
  17263. "description": "配置单次最大转入限制",
  17264. "type": "number"
  17265. },
  17266. "timemaxvalue2": {
  17267. "description": "配置单次最大转入限制(转入)",
  17268. "type": "number"
  17269. },
  17270. "timeminvalue": {
  17271. "description": "配置单次最小数量限制",
  17272. "type": "number"
  17273. },
  17274. "timeminvalue2": {
  17275. "description": "配置单次最小数量限制(转入)",
  17276. "type": "number"
  17277. },
  17278. "tradedate": {
  17279. "description": "交易日(yyyyMMdd)",
  17280. "type": "string"
  17281. },
  17282. "userid": {
  17283. "description": "用户ID",
  17284. "type": "integer"
  17285. }
  17286. }
  17287. },
  17288. "szdz.QueryGoodsPickupRsp": {
  17289. "type": "object",
  17290. "required": [
  17291. "takeorderid"
  17292. ],
  17293. "properties": {
  17294. "accountid": {
  17295. "description": "账户ID",
  17296. "type": "integer"
  17297. },
  17298. "address": {
  17299. "description": "提货人详细地址",
  17300. "type": "string"
  17301. },
  17302. "auditer": {
  17303. "description": "审核人",
  17304. "type": "integer"
  17305. },
  17306. "audittime": {
  17307. "description": "审核时间",
  17308. "type": "string"
  17309. },
  17310. "cardnum": {
  17311. "description": "提货人证件号码",
  17312. "type": "string"
  17313. },
  17314. "cardtypeid": {
  17315. "description": "提货人证件类型",
  17316. "type": "integer"
  17317. },
  17318. "checkremark": {
  17319. "description": "审核备注",
  17320. "type": "string"
  17321. },
  17322. "goodscode": {
  17323. "description": "商品代码",
  17324. "type": "string"
  17325. },
  17326. "goodsid": {
  17327. "description": "商品ID",
  17328. "type": "integer"
  17329. },
  17330. "goodsname": {
  17331. "description": "商品名称",
  17332. "type": "string"
  17333. },
  17334. "handlestatus": {
  17335. "description": "处理状态",
  17336. "type": "integer"
  17337. },
  17338. "marketid": {
  17339. "description": "市场ID",
  17340. "type": "integer"
  17341. },
  17342. "phonenum": {
  17343. "description": "提货人联系方式",
  17344. "type": "string"
  17345. },
  17346. "qty": {
  17347. "description": "提货数量",
  17348. "type": "number"
  17349. },
  17350. "recivername": {
  17351. "description": "提货人姓名",
  17352. "type": "string"
  17353. },
  17354. "reqtime": {
  17355. "description": "更新时间",
  17356. "type": "string"
  17357. },
  17358. "takemode": {
  17359. "description": "提货方式 - 2:自提 3:配送",
  17360. "type": "integer"
  17361. },
  17362. "takeorderid": {
  17363. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  17364. "type": "string"
  17365. },
  17366. "takeorderstatus": {
  17367. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  17368. "type": "integer"
  17369. },
  17370. "takeremark": {
  17371. "description": "提货备注",
  17372. "type": "string"
  17373. },
  17374. "tradedate": {
  17375. "description": "交易日(yyyyMMdd)",
  17376. "type": "string"
  17377. },
  17378. "userid": {
  17379. "description": "用户ID",
  17380. "type": "integer"
  17381. }
  17382. }
  17383. },
  17384. "szdz.QueryRecieptOrderRsp": {
  17385. "type": "object",
  17386. "required": [
  17387. "ordertime"
  17388. ],
  17389. "properties": {
  17390. "accountName": {
  17391. "description": "所属账号名称(已脱敏)",
  17392. "type": "string"
  17393. },
  17394. "accountid": {
  17395. "description": "资金账号",
  17396. "type": "integer"
  17397. },
  17398. "buyorsell": {
  17399. "description": "方向 - 0:买 1:卖",
  17400. "type": "integer"
  17401. },
  17402. "enableqty": {
  17403. "description": "可摘数量",
  17404. "type": "integer"
  17405. },
  17406. "goodscode": {
  17407. "description": "商品代码",
  17408. "type": "string"
  17409. },
  17410. "goodsid": {
  17411. "description": "商品ID",
  17412. "type": "integer"
  17413. },
  17414. "goodsname": {
  17415. "description": "商品名称",
  17416. "type": "string"
  17417. },
  17418. "orderid": {
  17419. "description": "委托单号",
  17420. "type": "string"
  17421. },
  17422. "orderprice": {
  17423. "description": "委托价格",
  17424. "type": "number"
  17425. },
  17426. "ordertime": {
  17427. "description": "委托时间",
  17428. "type": "string"
  17429. },
  17430. "tradedate": {
  17431. "description": "交易日(yyyyMMdd)",
  17432. "type": "string"
  17433. }
  17434. }
  17435. },
  17436. "szdz.QuerySZDZTradePositionRsp": {
  17437. "type": "object",
  17438. "properties": {
  17439. "accountid": {
  17440. "description": "账号Id",
  17441. "type": "integer"
  17442. },
  17443. "agreeunit": {
  17444. "description": "合约单位",
  17445. "type": "number"
  17446. },
  17447. "averageprice": {
  17448. "description": "持仓均价",
  17449. "type": "number"
  17450. },
  17451. "buyorsell": {
  17452. "description": "方向 - 0:买 1:卖",
  17453. "type": "integer"
  17454. },
  17455. "closetotalqty": {
  17456. "description": "平仓总数量",
  17457. "type": "integer"
  17458. },
  17459. "curholderamount": {
  17460. "description": "当前持仓总金额",
  17461. "type": "number"
  17462. },
  17463. "curpositionqty": {
  17464. "description": "当前持仓总数量",
  17465. "type": "integer"
  17466. },
  17467. "currencyid": {
  17468. "description": "报价货币ID",
  17469. "type": "integer"
  17470. },
  17471. "curtdposition": {
  17472. "description": "期末今日头寸",
  17473. "type": "integer"
  17474. },
  17475. "decimalplace": {
  17476. "description": "报价小数位",
  17477. "type": "integer"
  17478. },
  17479. "enableqty": {
  17480. "description": "可用量",
  17481. "type": "integer"
  17482. },
  17483. "fretdposition": {
  17484. "description": "冻结今日头寸",
  17485. "type": "integer"
  17486. },
  17487. "frozenqty": {
  17488. "description": "持仓冻结数量",
  17489. "type": "integer"
  17490. },
  17491. "goodscode": {
  17492. "description": "商品代码(内部)",
  17493. "type": "string"
  17494. },
  17495. "goodsid": {
  17496. "description": "商品Id",
  17497. "type": "integer"
  17498. },
  17499. "goodsname": {
  17500. "description": "商品名称",
  17501. "type": "string"
  17502. },
  17503. "goodunit": {
  17504. "description": "报价单位",
  17505. "type": "string"
  17506. },
  17507. "goodunitid": {
  17508. "description": "报价单位ID",
  17509. "type": "integer"
  17510. },
  17511. "holderamount": {
  17512. "description": "期初持仓总金额",
  17513. "type": "number"
  17514. },
  17515. "marketid": {
  17516. "description": "市场ID",
  17517. "type": "integer"
  17518. },
  17519. "openreqqty": {
  17520. "description": "开仓申请数量",
  17521. "type": "integer"
  17522. },
  17523. "opentotalqty": {
  17524. "description": "开仓总数量",
  17525. "type": "integer"
  17526. },
  17527. "otherfrozenqty": {
  17528. "description": "持仓其他冻结数量(交割冻结)",
  17529. "type": "integer"
  17530. },
  17531. "positionqty": {
  17532. "description": "期初持仓数量",
  17533. "type": "integer"
  17534. },
  17535. "szdz3freezqty": {
  17536. "description": "尚志大宗转换冻结总数量",
  17537. "type": "integer"
  17538. },
  17539. "tnqty": {
  17540. "description": "T+N冻结总量",
  17541. "type": "integer"
  17542. },
  17543. "tnusedqty": {
  17544. "description": "T+N使用量",
  17545. "type": "integer"
  17546. },
  17547. "trademode": {
  17548. "description": "交易模式",
  17549. "type": "integer"
  17550. },
  17551. "usedmargin": {
  17552. "description": "占用保证金",
  17553. "type": "number"
  17554. }
  17555. }
  17556. },
  17557. "taaccount.QueryAmountLogRsp": {
  17558. "type": "object",
  17559. "required": [
  17560. "accountid",
  17561. "amount",
  17562. "amountadjusttype",
  17563. "autoid",
  17564. "balance",
  17565. "createtime",
  17566. "currentbalance",
  17567. "operatetype"
  17568. ],
  17569. "properties": {
  17570. "OPERATETYPENAME": {
  17571. "description": "资金操作类型名称",
  17572. "type": "string"
  17573. },
  17574. "accountid": {
  17575. "description": "资金账户ID",
  17576. "type": "integer"
  17577. },
  17578. "agoodscode": {
  17579. "description": "竞拍商品代码",
  17580. "type": "string"
  17581. },
  17582. "agoodsname": {
  17583. "description": "竞拍商品名称",
  17584. "type": "string"
  17585. },
  17586. "amount": {
  17587. "description": "资金金额",
  17588. "type": "number"
  17589. },
  17590. "amountadjusttype": {
  17591. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  17592. "type": "integer"
  17593. },
  17594. "autoid": {
  17595. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  17596. "type": "integer"
  17597. },
  17598. "balance": {
  17599. "description": "期初余额",
  17600. "type": "number"
  17601. },
  17602. "businesscode": {
  17603. "description": "业务编号",
  17604. "type": "integer"
  17605. },
  17606. "createtime": {
  17607. "description": "发生时间",
  17608. "type": "string"
  17609. },
  17610. "currencyid": {
  17611. "description": "币种ID",
  17612. "type": "integer"
  17613. },
  17614. "currentbalance": {
  17615. "description": "期末余额(变动后金额)",
  17616. "type": "number"
  17617. },
  17618. "dgoodscode": {
  17619. "description": "交割商品代码",
  17620. "type": "string"
  17621. },
  17622. "dgoodsname": {
  17623. "description": "交割商品名称",
  17624. "type": "string"
  17625. },
  17626. "goodscode": {
  17627. "description": "商品代码",
  17628. "type": "string"
  17629. },
  17630. "goodsid": {
  17631. "description": "商品ID",
  17632. "type": "integer"
  17633. },
  17634. "goodsname": {
  17635. "description": "商品名称",
  17636. "type": "string"
  17637. },
  17638. "marketid": {
  17639. "description": "市场ID",
  17640. "type": "integer"
  17641. },
  17642. "marketname": {
  17643. "description": "市场名称",
  17644. "type": "string"
  17645. },
  17646. "moneyticket": {
  17647. "description": "资金流水号:银行端流水号",
  17648. "type": "integer"
  17649. },
  17650. "operatetype": {
  17651. "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:营销收款",
  17652. "type": "integer"
  17653. },
  17654. "relationorderid": {
  17655. "description": "关联单号",
  17656. "type": "string"
  17657. },
  17658. "remark": {
  17659. "description": "备注",
  17660. "type": "string"
  17661. },
  17662. "trademode": {
  17663. "description": "交易模式",
  17664. "type": "integer"
  17665. }
  17666. }
  17667. },
  17668. "taaccount.QueryHisAmountLogRsp": {
  17669. "type": "object",
  17670. "required": [
  17671. "accountid",
  17672. "amount",
  17673. "amountadjusttype",
  17674. "autoid",
  17675. "balance",
  17676. "createtime",
  17677. "currentbalance",
  17678. "histradedate",
  17679. "operatetype"
  17680. ],
  17681. "properties": {
  17682. "OPERATETYPENAME": {
  17683. "description": "资金操作类型名称",
  17684. "type": "string"
  17685. },
  17686. "accountid": {
  17687. "description": "资金账户ID",
  17688. "type": "integer"
  17689. },
  17690. "agoodscode": {
  17691. "description": "竞拍商品代码",
  17692. "type": "string"
  17693. },
  17694. "agoodsname": {
  17695. "description": "竞拍商品名称",
  17696. "type": "string"
  17697. },
  17698. "amount": {
  17699. "description": "资金金额",
  17700. "type": "number"
  17701. },
  17702. "amountadjusttype": {
  17703. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  17704. "type": "integer"
  17705. },
  17706. "autoid": {
  17707. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  17708. "type": "integer"
  17709. },
  17710. "balance": {
  17711. "description": "期初余额",
  17712. "type": "number"
  17713. },
  17714. "businesscode": {
  17715. "description": "业务编号",
  17716. "type": "integer"
  17717. },
  17718. "createtime": {
  17719. "description": "发生时间",
  17720. "type": "string"
  17721. },
  17722. "currencyid": {
  17723. "description": "币种ID",
  17724. "type": "integer"
  17725. },
  17726. "currentbalance": {
  17727. "description": "期末余额(变动后金额)",
  17728. "type": "number"
  17729. },
  17730. "dgoodscode": {
  17731. "description": "交割商品代码",
  17732. "type": "string"
  17733. },
  17734. "dgoodsname": {
  17735. "description": "交割商品名称",
  17736. "type": "string"
  17737. },
  17738. "goodscode": {
  17739. "description": "商品代码",
  17740. "type": "string"
  17741. },
  17742. "goodsid": {
  17743. "description": "商品ID",
  17744. "type": "integer"
  17745. },
  17746. "goodsname": {
  17747. "description": "商品名称",
  17748. "type": "string"
  17749. },
  17750. "histradedate": {
  17751. "description": "历史交易日",
  17752. "type": "string"
  17753. },
  17754. "isvaliddata": {
  17755. "description": "是否有效 - 0:无效 1:有效",
  17756. "type": "integer"
  17757. },
  17758. "marketid": {
  17759. "description": "市场ID",
  17760. "type": "integer"
  17761. },
  17762. "marketname": {
  17763. "description": "市场名称",
  17764. "type": "string"
  17765. },
  17766. "moneyticket": {
  17767. "description": "资金流水号:银行端流水号",
  17768. "type": "integer"
  17769. },
  17770. "operatetype": {
  17771. "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:营销收款",
  17772. "type": "integer"
  17773. },
  17774. "relationorderid": {
  17775. "description": "关联单号",
  17776. "type": "string"
  17777. },
  17778. "remark": {
  17779. "description": "备注",
  17780. "type": "string"
  17781. },
  17782. "trademode": {
  17783. "description": "交易模式",
  17784. "type": "integer"
  17785. }
  17786. }
  17787. },
  17788. "trade.QueryRecieptOrderRsp": {
  17789. "type": "object",
  17790. "required": [
  17791. "ordertime"
  17792. ],
  17793. "properties": {
  17794. "accountName": {
  17795. "description": "所属账号名称(已脱敏)",
  17796. "type": "string"
  17797. },
  17798. "accountid": {
  17799. "description": "资金账号",
  17800. "type": "integer"
  17801. },
  17802. "buyorsell": {
  17803. "description": "方向 - 0:买 1:卖",
  17804. "type": "integer"
  17805. },
  17806. "enableqty": {
  17807. "description": "可摘数量",
  17808. "type": "integer"
  17809. },
  17810. "goodscode": {
  17811. "description": "商品代码",
  17812. "type": "string"
  17813. },
  17814. "goodsid": {
  17815. "description": "商品ID",
  17816. "type": "integer"
  17817. },
  17818. "goodsname": {
  17819. "description": "商品名称",
  17820. "type": "string"
  17821. },
  17822. "orderid": {
  17823. "description": "委托单号",
  17824. "type": "string"
  17825. },
  17826. "orderprice": {
  17827. "description": "委托价格",
  17828. "type": "number"
  17829. },
  17830. "ordertime": {
  17831. "description": "委托时间",
  17832. "type": "string"
  17833. },
  17834. "tradedate": {
  17835. "description": "交易日(yyyyMMdd)",
  17836. "type": "string"
  17837. }
  17838. }
  17839. }
  17840. },
  17841. "securityDefinitions": {
  17842. "ApiKeyAuth": {
  17843. "type": "apiKey",
  17844. "name": "Authorization",
  17845. "in": "header"
  17846. }
  17847. }
  17848. }`
  17849. type swaggerInfo struct {
  17850. Version string
  17851. Host string
  17852. BasePath string
  17853. Schemes []string
  17854. Title string
  17855. Description string
  17856. }
  17857. // SwaggerInfo holds exported Swagger Info so clients can modify it
  17858. var SwaggerInfo = swaggerInfo{
  17859. Version: "1.0",
  17860. Host: "",
  17861. BasePath: "/api",
  17862. Schemes: []string{},
  17863. Title: "MTP2.0 查询服务 API",
  17864. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  17865. }
  17866. type s struct{}
  17867. func (s *s) ReadDoc() string {
  17868. sInfo := SwaggerInfo
  17869. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  17870. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  17871. "marshal": func(v interface{}) string {
  17872. a, _ := json.Marshal(v)
  17873. return string(a)
  17874. },
  17875. }).Parse(doc)
  17876. if err != nil {
  17877. return doc
  17878. }
  17879. var tpl bytes.Buffer
  17880. if err := t.Execute(&tpl, sInfo); err != nil {
  17881. return doc
  17882. }
  17883. return tpl.String()
  17884. }
  17885. func init() {
  17886. swag.Register(swag.Name, &s{})
  17887. }