docs.go 592 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "responses": {
  378. "200": {
  379. "description": "OK",
  380. "schema": {
  381. "$ref": "#/definitions/models.Enumdicitem"
  382. }
  383. },
  384. "500": {
  385. "description": "Internal Server Error",
  386. "schema": {
  387. "$ref": "#/definitions/app.Response"
  388. }
  389. }
  390. }
  391. }
  392. },
  393. "/Common/GetServerTime": {
  394. "get": {
  395. "produces": [
  396. "application/json"
  397. ],
  398. "tags": [
  399. "通用服务"
  400. ],
  401. "summary": "获取服务器时间",
  402. "responses": {
  403. "200": {
  404. "description": "OK",
  405. "schema": {
  406. "$ref": "#/definitions/app.Response"
  407. }
  408. },
  409. "500": {
  410. "description": "Internal Server Error",
  411. "schema": {
  412. "$ref": "#/definitions/app.Response"
  413. }
  414. }
  415. }
  416. }
  417. },
  418. "/Common/NoticeReaded": {
  419. "post": {
  420. "security": [
  421. {
  422. "ApiKeyAuth": []
  423. }
  424. ],
  425. "produces": [
  426. "application/json"
  427. ],
  428. "tags": [
  429. "通用服务"
  430. ],
  431. "summary": "通知公告设置已读请求",
  432. "parameters": [
  433. {
  434. "type": "integer",
  435. "description": "登录账号",
  436. "name": "loginID",
  437. "in": "query",
  438. "required": true
  439. },
  440. {
  441. "type": "integer",
  442. "description": "通知公告ID",
  443. "name": "noticeID",
  444. "in": "query",
  445. "required": true
  446. }
  447. ],
  448. "responses": {
  449. "200": {
  450. "description": "OK",
  451. "schema": {
  452. "$ref": "#/definitions/app.Response"
  453. }
  454. },
  455. "500": {
  456. "description": "Internal Server Error",
  457. "schema": {
  458. "$ref": "#/definitions/app.Response"
  459. }
  460. }
  461. }
  462. }
  463. },
  464. "/Common/QueryErrorInfos": {
  465. "get": {
  466. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  467. "produces": [
  468. "application/json"
  469. ],
  470. "tags": [
  471. "通用服务"
  472. ],
  473. "summary": "获取数据库错误信息",
  474. "parameters": [
  475. {
  476. "type": "string",
  477. "description": "起始行号前索引",
  478. "name": "rowNumber",
  479. "in": "query"
  480. }
  481. ],
  482. "responses": {
  483. "200": {
  484. "description": "OK",
  485. "schema": {
  486. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  487. }
  488. },
  489. "500": {
  490. "description": "Internal Server Error",
  491. "schema": {
  492. "$ref": "#/definitions/app.Response"
  493. }
  494. }
  495. }
  496. }
  497. },
  498. "/Common/QueryImageConfigs": {
  499. "get": {
  500. "produces": [
  501. "application/json"
  502. ],
  503. "tags": [
  504. "通用服务"
  505. ],
  506. "summary": "查询轮播图配置信息",
  507. "parameters": [
  508. {
  509. "type": "integer",
  510. "description": "类型 - 1:App首页轮播 2:我的",
  511. "name": "imageType",
  512. "in": "query"
  513. }
  514. ],
  515. "responses": {
  516. "200": {
  517. "description": "OK",
  518. "schema": {
  519. "$ref": "#/definitions/models.Szdz2imageconfig"
  520. }
  521. },
  522. "500": {
  523. "description": "Internal Server Error",
  524. "schema": {
  525. "$ref": "#/definitions/app.Response"
  526. }
  527. }
  528. }
  529. }
  530. },
  531. "/Common/QueryNotice": {
  532. "get": {
  533. "security": [
  534. {
  535. "ApiKeyAuth": []
  536. }
  537. ],
  538. "produces": [
  539. "application/json"
  540. ],
  541. "tags": [
  542. "通用服务"
  543. ],
  544. "summary": "通知公告系统消息查询",
  545. "parameters": [
  546. {
  547. "type": "integer",
  548. "description": "页码",
  549. "name": "page",
  550. "in": "query"
  551. },
  552. {
  553. "type": "integer",
  554. "description": "每页条数",
  555. "name": "pagesize",
  556. "in": "query"
  557. },
  558. {
  559. "type": "integer",
  560. "description": "登录账号",
  561. "name": "loginID",
  562. "in": "query",
  563. "required": true
  564. },
  565. {
  566. "type": "integer",
  567. "description": "消息类型 - 1:公告通知 2:系统消息",
  568. "name": "msgType",
  569. "in": "query"
  570. },
  571. {
  572. "type": "boolean",
  573. "description": "是否只获取未读信息",
  574. "name": "onlyUnRead",
  575. "in": "query"
  576. }
  577. ],
  578. "responses": {
  579. "200": {
  580. "description": "OK",
  581. "schema": {
  582. "$ref": "#/definitions/common.QueryNoticeRsp"
  583. }
  584. },
  585. "500": {
  586. "description": "Internal Server Error",
  587. "schema": {
  588. "$ref": "#/definitions/app.Response"
  589. }
  590. }
  591. }
  592. }
  593. },
  594. "/Common/QueryProvincesAndCities": {
  595. "get": {
  596. "produces": [
  597. "application/json"
  598. ],
  599. "tags": [
  600. "通用服务"
  601. ],
  602. "summary": "查询省市信息(不包括区)",
  603. "parameters": [
  604. {
  605. "type": "integer",
  606. "description": "省ID",
  607. "name": "provinceID",
  608. "in": "query"
  609. }
  610. ],
  611. "responses": {
  612. "200": {
  613. "description": "OK",
  614. "schema": {
  615. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  616. }
  617. },
  618. "500": {
  619. "description": "Internal Server Error",
  620. "schema": {
  621. "$ref": "#/definitions/app.Response"
  622. }
  623. }
  624. }
  625. }
  626. },
  627. "/Common/QueryTableDefine": {
  628. "get": {
  629. "produces": [
  630. "application/json"
  631. ],
  632. "tags": [
  633. "通用服务"
  634. ],
  635. "summary": "查询交易端列表头信息",
  636. "parameters": [
  637. {
  638. "type": "string",
  639. "description": "表key",
  640. "name": "tableKey",
  641. "in": "query"
  642. },
  643. {
  644. "type": "integer",
  645. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  646. "name": "tableType",
  647. "in": "query"
  648. }
  649. ],
  650. "responses": {
  651. "200": {
  652. "description": "OK",
  653. "schema": {
  654. "$ref": "#/definitions/common.QueryTableDefineRsp"
  655. }
  656. },
  657. "500": {
  658. "description": "Internal Server Error",
  659. "schema": {
  660. "$ref": "#/definitions/app.Response"
  661. }
  662. }
  663. }
  664. }
  665. },
  666. "/Common/QueryTraderMenu": {
  667. "get": {
  668. "produces": [
  669. "application/json"
  670. ],
  671. "tags": [
  672. "通用服务"
  673. ],
  674. "summary": "查询交易端菜单",
  675. "parameters": [
  676. {
  677. "type": "integer",
  678. "description": "登录账号",
  679. "name": "loginid",
  680. "in": "query",
  681. "required": true
  682. }
  683. ],
  684. "responses": {
  685. "200": {
  686. "description": "OK",
  687. "schema": {
  688. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  689. }
  690. },
  691. "500": {
  692. "description": "Internal Server Error",
  693. "schema": {
  694. "$ref": "#/definitions/app.Response"
  695. }
  696. }
  697. }
  698. }
  699. },
  700. "/Delivery/QueryDeliveryRelation": {
  701. "get": {
  702. "security": [
  703. {
  704. "ApiKeyAuth": []
  705. }
  706. ],
  707. "produces": [
  708. "application/json"
  709. ],
  710. "tags": [
  711. "交割服务"
  712. ],
  713. "summary": "查询商品交割关系表",
  714. "parameters": [
  715. {
  716. "type": "integer",
  717. "description": "商品ID",
  718. "name": "goodsid",
  719. "in": "query"
  720. },
  721. {
  722. "type": "integer",
  723. "description": "品种ID",
  724. "name": "deliverygoodsid",
  725. "in": "query"
  726. },
  727. {
  728. "type": "integer",
  729. "description": "市场ID",
  730. "name": "marketid",
  731. "in": "query"
  732. }
  733. ],
  734. "responses": {
  735. "200": {
  736. "description": "OK",
  737. "schema": {
  738. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  739. }
  740. },
  741. "500": {
  742. "description": "Internal Server Error",
  743. "schema": {
  744. "$ref": "#/definitions/app.Response"
  745. }
  746. }
  747. }
  748. }
  749. },
  750. "/Ermcp/QryReportDayExposure": {
  751. "get": {
  752. "security": [
  753. {
  754. "ApiKeyAuth": []
  755. }
  756. ],
  757. "produces": [
  758. "application/json"
  759. ],
  760. "tags": [
  761. "企业风险管理(app)"
  762. ],
  763. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  764. "parameters": [
  765. {
  766. "type": "integer",
  767. "description": "用户ID",
  768. "name": "userid",
  769. "in": "query",
  770. "required": true
  771. },
  772. {
  773. "type": "string",
  774. "description": "交易日(格式:yyyyMMdd)",
  775. "name": "tradedate",
  776. "in": "query",
  777. "required": true
  778. }
  779. ],
  780. "responses": {
  781. "200": {
  782. "description": "OK",
  783. "schema": {
  784. "type": "array",
  785. "items": {
  786. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  787. }
  788. }
  789. },
  790. "500": {
  791. "description": "Internal Server Error",
  792. "schema": {
  793. "$ref": "#/definitions/app.Response"
  794. }
  795. }
  796. }
  797. }
  798. },
  799. "/Ermcp/QryReportDayFinance": {
  800. "get": {
  801. "security": [
  802. {
  803. "ApiKeyAuth": []
  804. }
  805. ],
  806. "produces": [
  807. "application/json"
  808. ],
  809. "tags": [
  810. "企业风险管理(app)"
  811. ],
  812. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  813. "parameters": [
  814. {
  815. "type": "integer",
  816. "description": "用户ID",
  817. "name": "userid",
  818. "in": "query",
  819. "required": true
  820. },
  821. {
  822. "type": "string",
  823. "description": "交易日(格式:yyyyMMdd)",
  824. "name": "tradedate",
  825. "in": "query",
  826. "required": true
  827. }
  828. ],
  829. "responses": {
  830. "200": {
  831. "description": "OK",
  832. "schema": {
  833. "type": "array",
  834. "items": {
  835. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  836. }
  837. }
  838. },
  839. "500": {
  840. "description": "Internal Server Error",
  841. "schema": {
  842. "$ref": "#/definitions/app.Response"
  843. }
  844. }
  845. }
  846. }
  847. },
  848. "/Ermcp/QryReportDayFinanceFp": {
  849. "get": {
  850. "security": [
  851. {
  852. "ApiKeyAuth": []
  853. }
  854. ],
  855. "produces": [
  856. "application/json"
  857. ],
  858. "tags": [
  859. "企业风险管理(app)"
  860. ],
  861. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  862. "parameters": [
  863. {
  864. "type": "integer",
  865. "description": "用户ID",
  866. "name": "userid",
  867. "in": "query",
  868. "required": true
  869. },
  870. {
  871. "type": "string",
  872. "description": "交易日(格式:yyyyMMdd)",
  873. "name": "tradedate",
  874. "in": "query",
  875. "required": true
  876. }
  877. ],
  878. "responses": {
  879. "200": {
  880. "description": "OK",
  881. "schema": {
  882. "type": "array",
  883. "items": {
  884. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  885. }
  886. }
  887. },
  888. "500": {
  889. "description": "Internal Server Error",
  890. "schema": {
  891. "$ref": "#/definitions/app.Response"
  892. }
  893. }
  894. }
  895. }
  896. },
  897. "/Ermcp/QryReportDayFinanceKx": {
  898. "get": {
  899. "security": [
  900. {
  901. "ApiKeyAuth": []
  902. }
  903. ],
  904. "produces": [
  905. "application/json"
  906. ],
  907. "tags": [
  908. "企业风险管理(app)"
  909. ],
  910. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  911. "parameters": [
  912. {
  913. "type": "integer",
  914. "description": "用户ID",
  915. "name": "userid",
  916. "in": "query",
  917. "required": true
  918. },
  919. {
  920. "type": "string",
  921. "description": "交易日(格式:yyyyMMdd)",
  922. "name": "tradedate",
  923. "in": "query",
  924. "required": true
  925. }
  926. ],
  927. "responses": {
  928. "200": {
  929. "description": "OK",
  930. "schema": {
  931. "type": "array",
  932. "items": {
  933. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  934. }
  935. }
  936. },
  937. "500": {
  938. "description": "Internal Server Error",
  939. "schema": {
  940. "$ref": "#/definitions/app.Response"
  941. }
  942. }
  943. }
  944. }
  945. },
  946. "/Ermcp/QryReportDaySpot": {
  947. "get": {
  948. "security": [
  949. {
  950. "ApiKeyAuth": []
  951. }
  952. ],
  953. "produces": [
  954. "application/json"
  955. ],
  956. "tags": [
  957. "企业风险管理(app)"
  958. ],
  959. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  960. "parameters": [
  961. {
  962. "type": "integer",
  963. "description": "用户ID",
  964. "name": "userid",
  965. "in": "query",
  966. "required": true
  967. },
  968. {
  969. "type": "string",
  970. "description": "交易日(格式:yyyyMMdd)",
  971. "name": "tradedate",
  972. "in": "query",
  973. "required": true
  974. }
  975. ],
  976. "responses": {
  977. "200": {
  978. "description": "OK",
  979. "schema": {
  980. "type": "array",
  981. "items": {
  982. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  983. }
  984. }
  985. },
  986. "500": {
  987. "description": "Internal Server Error",
  988. "schema": {
  989. "$ref": "#/definitions/app.Response"
  990. }
  991. }
  992. }
  993. }
  994. },
  995. "/Ermcp/QryReportDaySpotDetail": {
  996. "get": {
  997. "security": [
  998. {
  999. "ApiKeyAuth": []
  1000. }
  1001. ],
  1002. "produces": [
  1003. "application/json"
  1004. ],
  1005. "tags": [
  1006. "企业风险管理(app)"
  1007. ],
  1008. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1009. "parameters": [
  1010. {
  1011. "type": "integer",
  1012. "description": "用户ID",
  1013. "name": "userid",
  1014. "in": "query",
  1015. "required": true
  1016. },
  1017. {
  1018. "type": "integer",
  1019. "description": "现货商品id",
  1020. "name": "wrstandardid",
  1021. "in": "query",
  1022. "required": true
  1023. },
  1024. {
  1025. "type": "string",
  1026. "description": "交易日(格式:yyyyMMdd)",
  1027. "name": "tradedate",
  1028. "in": "query",
  1029. "required": true
  1030. }
  1031. ],
  1032. "responses": {
  1033. "200": {
  1034. "description": "OK",
  1035. "schema": {
  1036. "type": "array",
  1037. "items": {
  1038. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1039. }
  1040. }
  1041. },
  1042. "500": {
  1043. "description": "Internal Server Error",
  1044. "schema": {
  1045. "$ref": "#/definitions/app.Response"
  1046. }
  1047. }
  1048. }
  1049. }
  1050. },
  1051. "/Ermcp/QryReportMonthFinance": {
  1052. "get": {
  1053. "security": [
  1054. {
  1055. "ApiKeyAuth": []
  1056. }
  1057. ],
  1058. "produces": [
  1059. "application/json"
  1060. ],
  1061. "tags": [
  1062. "企业风险管理(app)"
  1063. ],
  1064. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1065. "parameters": [
  1066. {
  1067. "type": "integer",
  1068. "description": "用户ID",
  1069. "name": "userid",
  1070. "in": "query",
  1071. "required": true
  1072. },
  1073. {
  1074. "type": "string",
  1075. "description": "周期时间:月(格式:yyyyMM)",
  1076. "name": "cycletime",
  1077. "in": "query",
  1078. "required": true
  1079. }
  1080. ],
  1081. "responses": {
  1082. "200": {
  1083. "description": "OK",
  1084. "schema": {
  1085. "type": "array",
  1086. "items": {
  1087. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1088. }
  1089. }
  1090. },
  1091. "500": {
  1092. "description": "Internal Server Error",
  1093. "schema": {
  1094. "$ref": "#/definitions/app.Response"
  1095. }
  1096. }
  1097. }
  1098. }
  1099. },
  1100. "/Ermcp/QryReportMonthSpot": {
  1101. "get": {
  1102. "security": [
  1103. {
  1104. "ApiKeyAuth": []
  1105. }
  1106. ],
  1107. "produces": [
  1108. "application/json"
  1109. ],
  1110. "tags": [
  1111. "企业风险管理(app)"
  1112. ],
  1113. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1114. "parameters": [
  1115. {
  1116. "type": "integer",
  1117. "description": "用户ID",
  1118. "name": "userid",
  1119. "in": "query",
  1120. "required": true
  1121. },
  1122. {
  1123. "type": "string",
  1124. "description": "周期时间:月(格式:yyyyMM)",
  1125. "name": "cycletime",
  1126. "in": "query",
  1127. "required": true
  1128. }
  1129. ],
  1130. "responses": {
  1131. "200": {
  1132. "description": "OK",
  1133. "schema": {
  1134. "type": "array",
  1135. "items": {
  1136. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1137. }
  1138. }
  1139. },
  1140. "500": {
  1141. "description": "Internal Server Error",
  1142. "schema": {
  1143. "$ref": "#/definitions/app.Response"
  1144. }
  1145. }
  1146. }
  1147. }
  1148. },
  1149. "/Ermcp/QryReportMonthSpotDetail": {
  1150. "get": {
  1151. "security": [
  1152. {
  1153. "ApiKeyAuth": []
  1154. }
  1155. ],
  1156. "produces": [
  1157. "application/json"
  1158. ],
  1159. "tags": [
  1160. "企业风险管理(app)"
  1161. ],
  1162. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1163. "parameters": [
  1164. {
  1165. "type": "integer",
  1166. "description": "用户ID",
  1167. "name": "userid",
  1168. "in": "query",
  1169. "required": true
  1170. },
  1171. {
  1172. "type": "integer",
  1173. "description": "现货商品id",
  1174. "name": "wrstandardid",
  1175. "in": "query",
  1176. "required": true
  1177. },
  1178. {
  1179. "type": "string",
  1180. "description": "周期时间:月(格式:yyyyMM)",
  1181. "name": "cycletime",
  1182. "in": "query",
  1183. "required": true
  1184. }
  1185. ],
  1186. "responses": {
  1187. "200": {
  1188. "description": "OK",
  1189. "schema": {
  1190. "type": "array",
  1191. "items": {
  1192. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1193. }
  1194. }
  1195. },
  1196. "500": {
  1197. "description": "Internal Server Error",
  1198. "schema": {
  1199. "$ref": "#/definitions/app.Response"
  1200. }
  1201. }
  1202. }
  1203. }
  1204. },
  1205. "/Ermcp/QueryAvaildGoodsGroup": {
  1206. "get": {
  1207. "security": [
  1208. {
  1209. "ApiKeyAuth": []
  1210. }
  1211. ],
  1212. "produces": [
  1213. "application/json"
  1214. ],
  1215. "tags": [
  1216. "企业风险管理(app)"
  1217. ],
  1218. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1219. "parameters": [
  1220. {
  1221. "type": "integer",
  1222. "description": "所属机构ID",
  1223. "name": "userid",
  1224. "in": "query",
  1225. "required": true
  1226. }
  1227. ],
  1228. "responses": {
  1229. "200": {
  1230. "description": "OK",
  1231. "schema": {
  1232. "type": "array",
  1233. "items": {
  1234. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1235. }
  1236. }
  1237. },
  1238. "500": {
  1239. "description": "Internal Server Error",
  1240. "schema": {
  1241. "$ref": "#/definitions/app.Response"
  1242. }
  1243. }
  1244. }
  1245. }
  1246. },
  1247. "/Ermcp/QueryBusinessDj": {
  1248. "get": {
  1249. "security": [
  1250. {
  1251. "ApiKeyAuth": []
  1252. }
  1253. ],
  1254. "produces": [
  1255. "application/json"
  1256. ],
  1257. "tags": [
  1258. "企业风险管理(app)"
  1259. ],
  1260. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1261. "parameters": [
  1262. {
  1263. "type": "integer",
  1264. "description": "用户ID",
  1265. "name": "UserId",
  1266. "in": "query",
  1267. "required": true
  1268. },
  1269. {
  1270. "type": "string",
  1271. "description": "现货合同ID, 不填则查所有",
  1272. "name": "relatedid",
  1273. "in": "query"
  1274. }
  1275. ],
  1276. "responses": {
  1277. "200": {
  1278. "description": "OK",
  1279. "schema": {
  1280. "type": "array",
  1281. "items": {
  1282. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1283. }
  1284. }
  1285. },
  1286. "500": {
  1287. "description": "Internal Server Error",
  1288. "schema": {
  1289. "$ref": "#/definitions/app.Response"
  1290. }
  1291. }
  1292. }
  1293. }
  1294. },
  1295. "/Ermcp/QueryBusinessFp": {
  1296. "get": {
  1297. "security": [
  1298. {
  1299. "ApiKeyAuth": []
  1300. }
  1301. ],
  1302. "produces": [
  1303. "application/json"
  1304. ],
  1305. "tags": [
  1306. "企业风险管理(app)"
  1307. ],
  1308. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1309. "parameters": [
  1310. {
  1311. "type": "integer",
  1312. "description": "用户ID",
  1313. "name": "UserId",
  1314. "in": "query",
  1315. "required": true
  1316. },
  1317. {
  1318. "type": "string",
  1319. "description": "现货合同ID, 不填则查所有",
  1320. "name": "relatedid",
  1321. "in": "query"
  1322. }
  1323. ],
  1324. "responses": {
  1325. "200": {
  1326. "description": "OK",
  1327. "schema": {
  1328. "type": "array",
  1329. "items": {
  1330. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1331. }
  1332. }
  1333. },
  1334. "500": {
  1335. "description": "Internal Server Error",
  1336. "schema": {
  1337. "$ref": "#/definitions/app.Response"
  1338. }
  1339. }
  1340. }
  1341. }
  1342. },
  1343. "/Ermcp/QueryBusinessJs": {
  1344. "get": {
  1345. "security": [
  1346. {
  1347. "ApiKeyAuth": []
  1348. }
  1349. ],
  1350. "produces": [
  1351. "application/json"
  1352. ],
  1353. "tags": [
  1354. "企业风险管理(app)"
  1355. ],
  1356. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1357. "parameters": [
  1358. {
  1359. "type": "integer",
  1360. "description": "用户ID",
  1361. "name": "UserId",
  1362. "in": "query",
  1363. "required": true
  1364. },
  1365. {
  1366. "type": "string",
  1367. "description": "现货合同ID, 不填则查所有",
  1368. "name": "relatedid",
  1369. "in": "query"
  1370. }
  1371. ],
  1372. "responses": {
  1373. "200": {
  1374. "description": "OK",
  1375. "schema": {
  1376. "type": "array",
  1377. "items": {
  1378. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1379. }
  1380. }
  1381. },
  1382. "500": {
  1383. "description": "Internal Server Error",
  1384. "schema": {
  1385. "$ref": "#/definitions/app.Response"
  1386. }
  1387. }
  1388. }
  1389. }
  1390. },
  1391. "/Ermcp/QueryBusinessJsEx": {
  1392. "get": {
  1393. "security": [
  1394. {
  1395. "ApiKeyAuth": []
  1396. }
  1397. ],
  1398. "produces": [
  1399. "application/json"
  1400. ],
  1401. "tags": [
  1402. "企业风险管理(app)"
  1403. ],
  1404. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1405. "parameters": [
  1406. {
  1407. "type": "integer",
  1408. "description": "用户ID",
  1409. "name": "UserId",
  1410. "in": "query",
  1411. "required": true
  1412. },
  1413. {
  1414. "type": "string",
  1415. "description": "现货合同ID, 不填则查所有",
  1416. "name": "relatedid",
  1417. "in": "query"
  1418. }
  1419. ],
  1420. "responses": {
  1421. "200": {
  1422. "description": "OK",
  1423. "schema": {
  1424. "type": "array",
  1425. "items": {
  1426. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1427. }
  1428. }
  1429. },
  1430. "500": {
  1431. "description": "Internal Server Error",
  1432. "schema": {
  1433. "$ref": "#/definitions/app.Response"
  1434. }
  1435. }
  1436. }
  1437. }
  1438. },
  1439. "/Ermcp/QueryBusinessKx": {
  1440. "get": {
  1441. "security": [
  1442. {
  1443. "ApiKeyAuth": []
  1444. }
  1445. ],
  1446. "produces": [
  1447. "application/json"
  1448. ],
  1449. "tags": [
  1450. "企业风险管理(app)"
  1451. ],
  1452. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1453. "parameters": [
  1454. {
  1455. "type": "integer",
  1456. "description": "用户ID",
  1457. "name": "UserId",
  1458. "in": "query",
  1459. "required": true
  1460. },
  1461. {
  1462. "type": "string",
  1463. "description": "现货合同ID, 不填则查所有",
  1464. "name": "relatedid",
  1465. "in": "query"
  1466. }
  1467. ],
  1468. "responses": {
  1469. "200": {
  1470. "description": "OK",
  1471. "schema": {
  1472. "type": "array",
  1473. "items": {
  1474. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1475. }
  1476. }
  1477. },
  1478. "500": {
  1479. "description": "Internal Server Error",
  1480. "schema": {
  1481. "$ref": "#/definitions/app.Response"
  1482. }
  1483. }
  1484. }
  1485. }
  1486. },
  1487. "/Ermcp/QueryChangeLog": {
  1488. "get": {
  1489. "security": [
  1490. {
  1491. "ApiKeyAuth": []
  1492. }
  1493. ],
  1494. "produces": [
  1495. "application/json"
  1496. ],
  1497. "tags": [
  1498. "企业风险管理(app)"
  1499. ],
  1500. "summary": "查询变更记录",
  1501. "parameters": [
  1502. {
  1503. "type": "string",
  1504. "description": "用户ID",
  1505. "name": "RelatedId",
  1506. "in": "query",
  1507. "required": true
  1508. }
  1509. ],
  1510. "responses": {
  1511. "200": {
  1512. "description": "OK",
  1513. "schema": {
  1514. "type": "array",
  1515. "items": {
  1516. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1517. }
  1518. }
  1519. },
  1520. "500": {
  1521. "description": "Internal Server Error",
  1522. "schema": {
  1523. "$ref": "#/definitions/app.Response"
  1524. }
  1525. }
  1526. }
  1527. }
  1528. },
  1529. "/Ermcp/QueryContract": {
  1530. "get": {
  1531. "security": [
  1532. {
  1533. "ApiKeyAuth": []
  1534. }
  1535. ],
  1536. "produces": [
  1537. "application/json"
  1538. ],
  1539. "tags": [
  1540. "企业风险管理(app)"
  1541. ],
  1542. "summary": "查询合同(采购和销售)",
  1543. "parameters": [
  1544. {
  1545. "type": "integer",
  1546. "description": "用户ID",
  1547. "name": "userId",
  1548. "in": "query",
  1549. "required": true
  1550. },
  1551. {
  1552. "type": "integer",
  1553. "description": "合同类型 1-采购, -1-销售",
  1554. "name": "contracttype",
  1555. "in": "query",
  1556. "required": true
  1557. },
  1558. {
  1559. "type": "integer",
  1560. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1561. "name": "querytype",
  1562. "in": "query",
  1563. "required": true
  1564. }
  1565. ],
  1566. "responses": {
  1567. "200": {
  1568. "description": "OK",
  1569. "schema": {
  1570. "type": "array",
  1571. "items": {
  1572. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1573. }
  1574. }
  1575. },
  1576. "500": {
  1577. "description": "Internal Server Error",
  1578. "schema": {
  1579. "$ref": "#/definitions/app.Response"
  1580. }
  1581. }
  1582. }
  1583. }
  1584. },
  1585. "/Ermcp/QueryExposureDetail": {
  1586. "get": {
  1587. "security": [
  1588. {
  1589. "ApiKeyAuth": []
  1590. }
  1591. ],
  1592. "produces": [
  1593. "application/json"
  1594. ],
  1595. "tags": [
  1596. "企业风险管理(app)"
  1597. ],
  1598. "summary": "查询敞口现货明细",
  1599. "parameters": [
  1600. {
  1601. "type": "integer",
  1602. "description": "所属机构ID",
  1603. "name": "areaUserId",
  1604. "in": "query",
  1605. "required": true
  1606. },
  1607. {
  1608. "type": "integer",
  1609. "description": "套保商品",
  1610. "name": "middleGoodsId",
  1611. "in": "query",
  1612. "required": true
  1613. }
  1614. ],
  1615. "responses": {
  1616. "200": {
  1617. "description": "OK",
  1618. "schema": {
  1619. "type": "array",
  1620. "items": {
  1621. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1622. }
  1623. }
  1624. },
  1625. "500": {
  1626. "description": "Internal Server Error",
  1627. "schema": {
  1628. "$ref": "#/definitions/app.Response"
  1629. }
  1630. }
  1631. }
  1632. }
  1633. },
  1634. "/Ermcp/QueryExposureHedgePosition": {
  1635. "get": {
  1636. "security": [
  1637. {
  1638. "ApiKeyAuth": []
  1639. }
  1640. ],
  1641. "produces": [
  1642. "application/json"
  1643. ],
  1644. "tags": [
  1645. "企业风险管理(app)"
  1646. ],
  1647. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1648. "parameters": [
  1649. {
  1650. "type": "integer",
  1651. "description": "所属机构ID",
  1652. "name": "areaUserId",
  1653. "in": "query",
  1654. "required": true
  1655. }
  1656. ],
  1657. "responses": {
  1658. "200": {
  1659. "description": "OK",
  1660. "schema": {
  1661. "type": "array",
  1662. "items": {
  1663. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1664. }
  1665. }
  1666. },
  1667. "500": {
  1668. "description": "Internal Server Error",
  1669. "schema": {
  1670. "$ref": "#/definitions/app.Response"
  1671. }
  1672. }
  1673. }
  1674. }
  1675. },
  1676. "/Ermcp/QueryExposureHedgePositionDetail": {
  1677. "get": {
  1678. "security": [
  1679. {
  1680. "ApiKeyAuth": []
  1681. }
  1682. ],
  1683. "produces": [
  1684. "application/json"
  1685. ],
  1686. "tags": [
  1687. "企业风险管理(app)"
  1688. ],
  1689. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1690. "parameters": [
  1691. {
  1692. "type": "integer",
  1693. "description": "所属机构ID",
  1694. "name": "areaUserId",
  1695. "in": "query",
  1696. "required": true
  1697. },
  1698. {
  1699. "type": "integer",
  1700. "description": "商品id",
  1701. "name": "goodsId",
  1702. "in": "query",
  1703. "required": true
  1704. }
  1705. ],
  1706. "responses": {
  1707. "200": {
  1708. "description": "OK",
  1709. "schema": {
  1710. "type": "array",
  1711. "items": {
  1712. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1713. }
  1714. }
  1715. },
  1716. "500": {
  1717. "description": "Internal Server Error",
  1718. "schema": {
  1719. "$ref": "#/definitions/app.Response"
  1720. }
  1721. }
  1722. }
  1723. }
  1724. },
  1725. "/Ermcp/QueryExposureSpot": {
  1726. "get": {
  1727. "security": [
  1728. {
  1729. "ApiKeyAuth": []
  1730. }
  1731. ],
  1732. "produces": [
  1733. "application/json"
  1734. ],
  1735. "tags": [
  1736. "企业风险管理(app)"
  1737. ],
  1738. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1739. "parameters": [
  1740. {
  1741. "type": "integer",
  1742. "description": "所属机构ID",
  1743. "name": "areaUserId",
  1744. "in": "query",
  1745. "required": true
  1746. }
  1747. ],
  1748. "responses": {
  1749. "200": {
  1750. "description": "OK",
  1751. "schema": {
  1752. "type": "array",
  1753. "items": {
  1754. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1755. }
  1756. }
  1757. },
  1758. "500": {
  1759. "description": "Internal Server Error",
  1760. "schema": {
  1761. "$ref": "#/definitions/app.Response"
  1762. }
  1763. }
  1764. }
  1765. }
  1766. },
  1767. "/Ermcp/QueryExposureSpotDetail": {
  1768. "get": {
  1769. "security": [
  1770. {
  1771. "ApiKeyAuth": []
  1772. }
  1773. ],
  1774. "produces": [
  1775. "application/json"
  1776. ],
  1777. "tags": [
  1778. "企业风险管理(app)"
  1779. ],
  1780. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1781. "parameters": [
  1782. {
  1783. "type": "integer",
  1784. "description": "所属机构ID",
  1785. "name": "areaUserId",
  1786. "in": "query",
  1787. "required": true
  1788. },
  1789. {
  1790. "type": "integer",
  1791. "description": "现货品种ID",
  1792. "name": "wrstandardId",
  1793. "in": "query",
  1794. "required": true
  1795. }
  1796. ],
  1797. "responses": {
  1798. "200": {
  1799. "description": "OK",
  1800. "schema": {
  1801. "type": "array",
  1802. "items": {
  1803. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1804. }
  1805. }
  1806. },
  1807. "500": {
  1808. "description": "Internal Server Error",
  1809. "schema": {
  1810. "$ref": "#/definitions/app.Response"
  1811. }
  1812. }
  1813. }
  1814. }
  1815. },
  1816. "/Ermcp/QueryGGConvertConfig": {
  1817. "get": {
  1818. "security": [
  1819. {
  1820. "ApiKeyAuth": []
  1821. }
  1822. ],
  1823. "produces": [
  1824. "application/json"
  1825. ],
  1826. "tags": [
  1827. "企业风险管理(app)"
  1828. ],
  1829. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1830. "parameters": [
  1831. {
  1832. "type": "integer",
  1833. "description": "品种id(不填则查所有)",
  1834. "name": "goodsgroupid",
  1835. "in": "query"
  1836. }
  1837. ],
  1838. "responses": {
  1839. "200": {
  1840. "description": "OK",
  1841. "schema": {
  1842. "type": "array",
  1843. "items": {
  1844. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  1845. }
  1846. }
  1847. },
  1848. "500": {
  1849. "description": "Internal Server Error",
  1850. "schema": {
  1851. "$ref": "#/definitions/app.Response"
  1852. }
  1853. }
  1854. }
  1855. }
  1856. },
  1857. "/Ermcp/QueryHedgePlan": {
  1858. "get": {
  1859. "security": [
  1860. {
  1861. "ApiKeyAuth": []
  1862. }
  1863. ],
  1864. "produces": [
  1865. "application/json"
  1866. ],
  1867. "tags": [
  1868. "企业风险管理(app)"
  1869. ],
  1870. "summary": "查询套保计划",
  1871. "parameters": [
  1872. {
  1873. "type": "integer",
  1874. "description": "用户ID",
  1875. "name": "userId",
  1876. "in": "query",
  1877. "required": true
  1878. },
  1879. {
  1880. "type": "string",
  1881. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1882. "name": "HedgePlanStatus",
  1883. "in": "query",
  1884. "required": true
  1885. }
  1886. ],
  1887. "responses": {
  1888. "200": {
  1889. "description": "OK",
  1890. "schema": {
  1891. "type": "array",
  1892. "items": {
  1893. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1894. }
  1895. }
  1896. },
  1897. "500": {
  1898. "description": "Internal Server Error",
  1899. "schema": {
  1900. "$ref": "#/definitions/app.Response"
  1901. }
  1902. }
  1903. }
  1904. }
  1905. },
  1906. "/Ermcp/QueryHisExposure": {
  1907. "get": {
  1908. "security": [
  1909. {
  1910. "ApiKeyAuth": []
  1911. }
  1912. ],
  1913. "produces": [
  1914. "application/json"
  1915. ],
  1916. "tags": [
  1917. "企业风险管理(app)"
  1918. ],
  1919. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  1920. "parameters": [
  1921. {
  1922. "type": "integer",
  1923. "description": "所属机构ID",
  1924. "name": "areaUserId",
  1925. "in": "query",
  1926. "required": true
  1927. },
  1928. {
  1929. "type": "integer",
  1930. "description": "每个品种记录数",
  1931. "name": "lastNum",
  1932. "in": "query",
  1933. "required": true
  1934. }
  1935. ],
  1936. "responses": {
  1937. "200": {
  1938. "description": "OK",
  1939. "schema": {
  1940. "type": "array",
  1941. "items": {
  1942. "$ref": "#/definitions/ermcp.HisExposureRsp"
  1943. }
  1944. }
  1945. },
  1946. "500": {
  1947. "description": "Internal Server Error",
  1948. "schema": {
  1949. "$ref": "#/definitions/app.Response"
  1950. }
  1951. }
  1952. }
  1953. }
  1954. },
  1955. "/Ermcp/QueryMiddleGoods": {
  1956. "get": {
  1957. "security": [
  1958. {
  1959. "ApiKeyAuth": []
  1960. }
  1961. ],
  1962. "produces": [
  1963. "application/json"
  1964. ],
  1965. "tags": [
  1966. "企业风险管理(app)"
  1967. ],
  1968. "summary": "查询套保品种(菜单:套保品种)",
  1969. "parameters": [
  1970. {
  1971. "type": "integer",
  1972. "description": "所属机构ID",
  1973. "name": "userid",
  1974. "in": "query",
  1975. "required": true
  1976. },
  1977. {
  1978. "type": "integer",
  1979. "description": "状态 0-停用 1-正常",
  1980. "name": "status",
  1981. "in": "query",
  1982. "required": true
  1983. }
  1984. ],
  1985. "responses": {
  1986. "200": {
  1987. "description": "OK",
  1988. "schema": {
  1989. "type": "array",
  1990. "items": {
  1991. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  1992. }
  1993. }
  1994. },
  1995. "500": {
  1996. "description": "Internal Server Error",
  1997. "schema": {
  1998. "$ref": "#/definitions/app.Response"
  1999. }
  2000. }
  2001. }
  2002. }
  2003. },
  2004. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2005. "get": {
  2006. "security": [
  2007. {
  2008. "ApiKeyAuth": []
  2009. }
  2010. ],
  2011. "produces": [
  2012. "application/json"
  2013. ],
  2014. "tags": [
  2015. "企业风险管理(app)"
  2016. ],
  2017. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2018. "parameters": [
  2019. {
  2020. "type": "integer",
  2021. "description": "所属机构ID",
  2022. "name": "userid",
  2023. "in": "query",
  2024. "required": true
  2025. },
  2026. {
  2027. "type": "integer",
  2028. "description": "套保品种id",
  2029. "name": "middlegoodsid",
  2030. "in": "query",
  2031. "required": true
  2032. }
  2033. ],
  2034. "responses": {
  2035. "200": {
  2036. "description": "OK",
  2037. "schema": {
  2038. "type": "array",
  2039. "items": {
  2040. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2041. }
  2042. }
  2043. },
  2044. "500": {
  2045. "description": "Internal Server Error",
  2046. "schema": {
  2047. "$ref": "#/definitions/app.Response"
  2048. }
  2049. }
  2050. }
  2051. }
  2052. },
  2053. "/Ermcp/QueryMiddleGoodsDetail": {
  2054. "get": {
  2055. "security": [
  2056. {
  2057. "ApiKeyAuth": []
  2058. }
  2059. ],
  2060. "produces": [
  2061. "application/json"
  2062. ],
  2063. "tags": [
  2064. "企业风险管理(app)"
  2065. ],
  2066. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2067. "parameters": [
  2068. {
  2069. "type": "integer",
  2070. "description": "所属机构ID",
  2071. "name": "userid",
  2072. "in": "query",
  2073. "required": true
  2074. },
  2075. {
  2076. "type": "integer",
  2077. "description": "套保品种id",
  2078. "name": "middlegoodsid",
  2079. "in": "query",
  2080. "required": true
  2081. }
  2082. ],
  2083. "responses": {
  2084. "200": {
  2085. "description": "OK",
  2086. "schema": {
  2087. "type": "array",
  2088. "items": {
  2089. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2090. }
  2091. }
  2092. },
  2093. "500": {
  2094. "description": "Internal Server Error",
  2095. "schema": {
  2096. "$ref": "#/definitions/app.Response"
  2097. }
  2098. }
  2099. }
  2100. }
  2101. },
  2102. "/Ermcp/QueryRealtimeExposure": {
  2103. "get": {
  2104. "security": [
  2105. {
  2106. "ApiKeyAuth": []
  2107. }
  2108. ],
  2109. "produces": [
  2110. "application/json"
  2111. ],
  2112. "tags": [
  2113. "企业风险管理(app)"
  2114. ],
  2115. "summary": "查询实时敞口",
  2116. "parameters": [
  2117. {
  2118. "type": "integer",
  2119. "description": "所属机构ID",
  2120. "name": "AreaUserID",
  2121. "in": "query",
  2122. "required": true
  2123. }
  2124. ],
  2125. "responses": {
  2126. "200": {
  2127. "description": "OK",
  2128. "schema": {
  2129. "type": "array",
  2130. "items": {
  2131. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2132. }
  2133. }
  2134. },
  2135. "500": {
  2136. "description": "Internal Server Error",
  2137. "schema": {
  2138. "$ref": "#/definitions/app.Response"
  2139. }
  2140. }
  2141. }
  2142. }
  2143. },
  2144. "/Ermcp/QueryRealtimeExposurePosition": {
  2145. "get": {
  2146. "security": [
  2147. {
  2148. "ApiKeyAuth": []
  2149. }
  2150. ],
  2151. "produces": [
  2152. "application/json"
  2153. ],
  2154. "tags": [
  2155. "企业风险管理(app)"
  2156. ],
  2157. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2158. "parameters": [
  2159. {
  2160. "type": "integer",
  2161. "description": "所属机构ID",
  2162. "name": "areaUserId",
  2163. "in": "query",
  2164. "required": true
  2165. },
  2166. {
  2167. "type": "integer",
  2168. "description": "套保商品ID",
  2169. "name": "middleGoodsId",
  2170. "in": "query",
  2171. "required": true
  2172. }
  2173. ],
  2174. "responses": {
  2175. "200": {
  2176. "description": "OK",
  2177. "schema": {
  2178. "type": "array",
  2179. "items": {
  2180. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2181. }
  2182. }
  2183. },
  2184. "500": {
  2185. "description": "Internal Server Error",
  2186. "schema": {
  2187. "$ref": "#/definitions/app.Response"
  2188. }
  2189. }
  2190. }
  2191. }
  2192. },
  2193. "/Ermcp/QuerySpotContract": {
  2194. "get": {
  2195. "security": [
  2196. {
  2197. "ApiKeyAuth": []
  2198. }
  2199. ],
  2200. "produces": [
  2201. "application/json"
  2202. ],
  2203. "tags": [
  2204. "企业风险管理(app)"
  2205. ],
  2206. "summary": "查询现货合同(对应现货合同菜单)",
  2207. "parameters": [
  2208. {
  2209. "type": "integer",
  2210. "description": "用户ID",
  2211. "name": "userId",
  2212. "in": "query",
  2213. "required": true
  2214. },
  2215. {
  2216. "type": "integer",
  2217. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  2218. "name": "QueryType",
  2219. "in": "query",
  2220. "required": true
  2221. }
  2222. ],
  2223. "responses": {
  2224. "200": {
  2225. "description": "OK",
  2226. "schema": {
  2227. "type": "array",
  2228. "items": {
  2229. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  2230. }
  2231. }
  2232. },
  2233. "500": {
  2234. "description": "Internal Server Error",
  2235. "schema": {
  2236. "$ref": "#/definitions/app.Response"
  2237. }
  2238. }
  2239. }
  2240. }
  2241. },
  2242. "/Ermcp/QueryUserInfo": {
  2243. "get": {
  2244. "security": [
  2245. {
  2246. "ApiKeyAuth": []
  2247. }
  2248. ],
  2249. "produces": [
  2250. "application/json"
  2251. ],
  2252. "tags": [
  2253. "企业风险管理(app)"
  2254. ],
  2255. "summary": "查询客户资料",
  2256. "parameters": [
  2257. {
  2258. "type": "integer",
  2259. "description": "所属机构用户ID",
  2260. "name": "MemberUserID",
  2261. "in": "query",
  2262. "required": true
  2263. },
  2264. {
  2265. "type": "integer",
  2266. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2267. "name": "queryType",
  2268. "in": "query",
  2269. "required": true
  2270. }
  2271. ],
  2272. "responses": {
  2273. "200": {
  2274. "description": "OK",
  2275. "schema": {
  2276. "type": "array",
  2277. "items": {
  2278. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2279. }
  2280. }
  2281. },
  2282. "500": {
  2283. "description": "Internal Server Error",
  2284. "schema": {
  2285. "$ref": "#/definitions/app.Response"
  2286. }
  2287. }
  2288. }
  2289. }
  2290. },
  2291. "/Ermcp/QueryWrStandard": {
  2292. "get": {
  2293. "security": [
  2294. {
  2295. "ApiKeyAuth": []
  2296. }
  2297. ],
  2298. "produces": [
  2299. "application/json"
  2300. ],
  2301. "tags": [
  2302. "企业风险管理(app)"
  2303. ],
  2304. "summary": "查询现货商品",
  2305. "parameters": [
  2306. {
  2307. "type": "integer",
  2308. "description": "所属机构ID",
  2309. "name": "userid",
  2310. "in": "query",
  2311. "required": true
  2312. },
  2313. {
  2314. "type": "integer",
  2315. "description": "状态 0-停用 1-正常",
  2316. "name": "status",
  2317. "in": "query",
  2318. "required": true
  2319. }
  2320. ],
  2321. "responses": {
  2322. "200": {
  2323. "description": "OK",
  2324. "schema": {
  2325. "type": "array",
  2326. "items": {
  2327. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  2328. }
  2329. }
  2330. },
  2331. "500": {
  2332. "description": "Internal Server Error",
  2333. "schema": {
  2334. "$ref": "#/definitions/app.Response"
  2335. }
  2336. }
  2337. }
  2338. }
  2339. },
  2340. "/Ermcp/QueryWrStandardDetail": {
  2341. "get": {
  2342. "security": [
  2343. {
  2344. "ApiKeyAuth": []
  2345. }
  2346. ],
  2347. "produces": [
  2348. "application/json"
  2349. ],
  2350. "tags": [
  2351. "企业风险管理(app)"
  2352. ],
  2353. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  2354. "parameters": [
  2355. {
  2356. "type": "integer",
  2357. "description": "所属机构ID",
  2358. "name": "userid",
  2359. "in": "query",
  2360. "required": true
  2361. },
  2362. {
  2363. "type": "integer",
  2364. "description": "现货商品ID",
  2365. "name": "wrstandardid",
  2366. "in": "query",
  2367. "required": true
  2368. }
  2369. ],
  2370. "responses": {
  2371. "200": {
  2372. "description": "OK",
  2373. "schema": {
  2374. "type": "array",
  2375. "items": {
  2376. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  2377. }
  2378. }
  2379. },
  2380. "500": {
  2381. "description": "Internal Server Error",
  2382. "schema": {
  2383. "$ref": "#/definitions/app.Response"
  2384. }
  2385. }
  2386. }
  2387. }
  2388. },
  2389. "/Erms2/QueryArbitrageStrategy": {
  2390. "get": {
  2391. "security": [
  2392. {
  2393. "ApiKeyAuth": []
  2394. }
  2395. ],
  2396. "produces": [
  2397. "application/json"
  2398. ],
  2399. "tags": [
  2400. "风险管理"
  2401. ],
  2402. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  2403. "parameters": [
  2404. {
  2405. "type": "integer",
  2406. "description": "账户ID",
  2407. "name": "userid",
  2408. "in": "query",
  2409. "required": true
  2410. },
  2411. {
  2412. "type": "string",
  2413. "description": "商品组ID(品种ID)",
  2414. "name": "goodsgroupid",
  2415. "in": "query"
  2416. }
  2417. ],
  2418. "responses": {
  2419. "200": {
  2420. "description": "OK",
  2421. "schema": {
  2422. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  2423. }
  2424. },
  2425. "500": {
  2426. "description": "Internal Server Error",
  2427. "schema": {
  2428. "$ref": "#/definitions/app.Response"
  2429. }
  2430. }
  2431. }
  2432. }
  2433. },
  2434. "/Erms2/QueryInnerTradeDetail": {
  2435. "get": {
  2436. "security": [
  2437. {
  2438. "ApiKeyAuth": []
  2439. }
  2440. ],
  2441. "produces": [
  2442. "application/json"
  2443. ],
  2444. "tags": [
  2445. "风险管理"
  2446. ],
  2447. "summary": "查询内部成交单信息",
  2448. "parameters": [
  2449. {
  2450. "type": "integer",
  2451. "description": "资金账户",
  2452. "name": "accountid",
  2453. "in": "query",
  2454. "required": true
  2455. }
  2456. ],
  2457. "responses": {
  2458. "200": {
  2459. "description": "OK",
  2460. "schema": {
  2461. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  2462. }
  2463. },
  2464. "500": {
  2465. "description": "Internal Server Error",
  2466. "schema": {
  2467. "$ref": "#/definitions/app.Response"
  2468. }
  2469. }
  2470. }
  2471. }
  2472. },
  2473. "/Erms2/QuerySpotContract": {
  2474. "get": {
  2475. "security": [
  2476. {
  2477. "ApiKeyAuth": []
  2478. }
  2479. ],
  2480. "produces": [
  2481. "application/json"
  2482. ],
  2483. "tags": [
  2484. "风险管理"
  2485. ],
  2486. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  2487. "parameters": [
  2488. {
  2489. "type": "integer",
  2490. "description": "策略申请ID",
  2491. "name": "asapplyid",
  2492. "in": "query",
  2493. "required": true
  2494. },
  2495. {
  2496. "type": "integer",
  2497. "description": "现货合同ID",
  2498. "name": "spotcontractid",
  2499. "in": "query"
  2500. }
  2501. ],
  2502. "responses": {
  2503. "200": {
  2504. "description": "OK",
  2505. "schema": {
  2506. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  2507. }
  2508. },
  2509. "500": {
  2510. "description": "Internal Server Error",
  2511. "schema": {
  2512. "$ref": "#/definitions/app.Response"
  2513. }
  2514. }
  2515. }
  2516. }
  2517. },
  2518. "/Erms3/AddErms2ASApply": {
  2519. "post": {
  2520. "security": [
  2521. {
  2522. "ApiKeyAuth": []
  2523. }
  2524. ],
  2525. "produces": [
  2526. "application/json"
  2527. ],
  2528. "tags": [
  2529. "风险管理v3"
  2530. ],
  2531. "summary": "新增期现套利业务申请",
  2532. "parameters": [
  2533. {
  2534. "description": "申请参数",
  2535. "name": "jsonBody",
  2536. "in": "body",
  2537. "required": true,
  2538. "schema": {
  2539. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2540. }
  2541. }
  2542. ],
  2543. "responses": {
  2544. "200": {
  2545. "description": "OK",
  2546. "schema": {
  2547. "$ref": "#/definitions/app.Response"
  2548. }
  2549. },
  2550. "500": {
  2551. "description": "Internal Server Error",
  2552. "schema": {
  2553. "$ref": "#/definitions/app.Response"
  2554. }
  2555. }
  2556. }
  2557. }
  2558. },
  2559. "/Erms3/AddErms2SpotTradeApply": {
  2560. "post": {
  2561. "security": [
  2562. {
  2563. "ApiKeyAuth": []
  2564. }
  2565. ],
  2566. "produces": [
  2567. "application/json"
  2568. ],
  2569. "tags": [
  2570. "风险管理v3"
  2571. ],
  2572. "summary": "新增现货贸易业务申请",
  2573. "parameters": [
  2574. {
  2575. "description": "申请参数",
  2576. "name": "jsonBody",
  2577. "in": "body",
  2578. "required": true,
  2579. "schema": {
  2580. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2581. }
  2582. }
  2583. ],
  2584. "responses": {
  2585. "200": {
  2586. "description": "OK",
  2587. "schema": {
  2588. "$ref": "#/definitions/app.Response"
  2589. }
  2590. },
  2591. "500": {
  2592. "description": "Internal Server Error",
  2593. "schema": {
  2594. "$ref": "#/definitions/app.Response"
  2595. }
  2596. }
  2597. }
  2598. }
  2599. },
  2600. "/Erms3/AddSpotContractApply": {
  2601. "post": {
  2602. "security": [
  2603. {
  2604. "ApiKeyAuth": []
  2605. }
  2606. ],
  2607. "produces": [
  2608. "application/json"
  2609. ],
  2610. "tags": [
  2611. "风险管理v3"
  2612. ],
  2613. "summary": "新增现货合同申请",
  2614. "parameters": [
  2615. {
  2616. "description": "申请参数",
  2617. "name": "jsonBody",
  2618. "in": "body",
  2619. "required": true,
  2620. "schema": {
  2621. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2622. }
  2623. }
  2624. ],
  2625. "responses": {
  2626. "200": {
  2627. "description": "OK",
  2628. "schema": {
  2629. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2630. }
  2631. },
  2632. "500": {
  2633. "description": "Internal Server Error",
  2634. "schema": {
  2635. "$ref": "#/definitions/app.Response"
  2636. }
  2637. }
  2638. }
  2639. }
  2640. },
  2641. "/Erms3/AddUserInfoApply": {
  2642. "post": {
  2643. "security": [
  2644. {
  2645. "ApiKeyAuth": []
  2646. }
  2647. ],
  2648. "produces": [
  2649. "application/json"
  2650. ],
  2651. "tags": [
  2652. "风险管理v3"
  2653. ],
  2654. "summary": "新增客户申请",
  2655. "parameters": [
  2656. {
  2657. "description": "用户信息",
  2658. "name": "jsonBody",
  2659. "in": "body",
  2660. "required": true,
  2661. "schema": {
  2662. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2663. }
  2664. }
  2665. ],
  2666. "responses": {
  2667. "200": {
  2668. "description": "OK",
  2669. "schema": {
  2670. "$ref": "#/definitions/app.Response"
  2671. }
  2672. },
  2673. "500": {
  2674. "description": "Internal Server Error",
  2675. "schema": {
  2676. "$ref": "#/definitions/app.Response"
  2677. }
  2678. }
  2679. }
  2680. }
  2681. },
  2682. "/Erms3/ModifyUserInfoApply": {
  2683. "post": {
  2684. "security": [
  2685. {
  2686. "ApiKeyAuth": []
  2687. }
  2688. ],
  2689. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  2690. "produces": [
  2691. "application/json"
  2692. ],
  2693. "tags": [
  2694. "风险管理v3"
  2695. ],
  2696. "summary": "修改客户申请",
  2697. "parameters": [
  2698. {
  2699. "description": "用户信息",
  2700. "name": "jsonBody",
  2701. "in": "body",
  2702. "required": true,
  2703. "schema": {
  2704. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  2705. }
  2706. }
  2707. ],
  2708. "responses": {
  2709. "200": {
  2710. "description": "OK",
  2711. "schema": {
  2712. "$ref": "#/definitions/app.Response"
  2713. }
  2714. },
  2715. "500": {
  2716. "description": "Internal Server Error",
  2717. "schema": {
  2718. "$ref": "#/definitions/app.Response"
  2719. }
  2720. }
  2721. }
  2722. }
  2723. },
  2724. "/Erms3/QueryBusinessInfo": {
  2725. "get": {
  2726. "security": [
  2727. {
  2728. "ApiKeyAuth": []
  2729. }
  2730. ],
  2731. "produces": [
  2732. "application/json"
  2733. ],
  2734. "tags": [
  2735. "风险管理v3"
  2736. ],
  2737. "summary": "查询业务表单数据",
  2738. "parameters": [
  2739. {
  2740. "type": "string",
  2741. "description": "资金账号ID列表,用逗号分隔",
  2742. "name": "accountids",
  2743. "in": "query",
  2744. "required": true
  2745. },
  2746. {
  2747. "type": "integer",
  2748. "description": "状态,0为未结束 1为已结束",
  2749. "name": "status",
  2750. "in": "query",
  2751. "required": true
  2752. }
  2753. ],
  2754. "responses": {
  2755. "200": {
  2756. "description": "OK",
  2757. "schema": {
  2758. "type": "array",
  2759. "items": {
  2760. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  2761. }
  2762. }
  2763. },
  2764. "500": {
  2765. "description": "Internal Server Error",
  2766. "schema": {
  2767. "$ref": "#/definitions/app.Response"
  2768. }
  2769. }
  2770. }
  2771. }
  2772. },
  2773. "/Erms3/QueryPendingAuditContract": {
  2774. "get": {
  2775. "security": [
  2776. {
  2777. "ApiKeyAuth": []
  2778. }
  2779. ],
  2780. "produces": [
  2781. "application/json"
  2782. ],
  2783. "tags": [
  2784. "风险管理v3"
  2785. ],
  2786. "summary": "查询待审核合同",
  2787. "parameters": [
  2788. {
  2789. "type": "string",
  2790. "description": "资金账号ID列表,逗号隔开",
  2791. "name": "accountids",
  2792. "in": "query",
  2793. "required": true
  2794. },
  2795. {
  2796. "type": "integer",
  2797. "description": "合同类型 1-采购 -1-销售",
  2798. "name": "contracttype",
  2799. "in": "query",
  2800. "required": true
  2801. },
  2802. {
  2803. "type": "integer",
  2804. "description": "合同模式 1-普通 2-回购",
  2805. "name": "contractmode",
  2806. "in": "query",
  2807. "required": true
  2808. }
  2809. ],
  2810. "responses": {
  2811. "200": {
  2812. "description": "OK",
  2813. "schema": {
  2814. "type": "array",
  2815. "items": {
  2816. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  2817. }
  2818. }
  2819. },
  2820. "500": {
  2821. "description": "Internal Server Error",
  2822. "schema": {
  2823. "$ref": "#/definitions/app.Response"
  2824. }
  2825. }
  2826. }
  2827. }
  2828. },
  2829. "/Erms3/QueryPendingBusiness": {
  2830. "get": {
  2831. "security": [
  2832. {
  2833. "ApiKeyAuth": []
  2834. }
  2835. ],
  2836. "produces": [
  2837. "application/json"
  2838. ],
  2839. "tags": [
  2840. "风险管理v3"
  2841. ],
  2842. "summary": "查询待审核基差贸易业务",
  2843. "parameters": [
  2844. {
  2845. "type": "string",
  2846. "description": "资金账号ID列表,逗号隔开",
  2847. "name": "accountids",
  2848. "in": "query",
  2849. "required": true
  2850. }
  2851. ],
  2852. "responses": {
  2853. "200": {
  2854. "description": "OK",
  2855. "schema": {
  2856. "type": "array",
  2857. "items": {
  2858. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  2859. }
  2860. }
  2861. },
  2862. "500": {
  2863. "description": "Internal Server Error",
  2864. "schema": {
  2865. "$ref": "#/definitions/app.Response"
  2866. }
  2867. }
  2868. }
  2869. }
  2870. },
  2871. "/Erms3/QuerySpotContractAppleForm": {
  2872. "get": {
  2873. "security": [
  2874. {
  2875. "ApiKeyAuth": []
  2876. }
  2877. ],
  2878. "produces": [
  2879. "application/json"
  2880. ],
  2881. "tags": [
  2882. "风险管理v3"
  2883. ],
  2884. "summary": "查询合同申请表单数据",
  2885. "parameters": [
  2886. {
  2887. "type": "integer",
  2888. "description": "登录账号",
  2889. "name": "loginID",
  2890. "in": "query",
  2891. "required": true
  2892. }
  2893. ],
  2894. "responses": {
  2895. "200": {
  2896. "description": "OK",
  2897. "schema": {
  2898. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  2899. }
  2900. },
  2901. "500": {
  2902. "description": "Internal Server Error",
  2903. "schema": {
  2904. "$ref": "#/definitions/app.Response"
  2905. }
  2906. }
  2907. }
  2908. }
  2909. },
  2910. "/Erms3/QuerySpotContractDetail": {
  2911. "get": {
  2912. "security": [
  2913. {
  2914. "ApiKeyAuth": []
  2915. }
  2916. ],
  2917. "produces": [
  2918. "application/json"
  2919. ],
  2920. "tags": [
  2921. "风险管理v3"
  2922. ],
  2923. "summary": "查询合同详细信息",
  2924. "parameters": [
  2925. {
  2926. "type": "string",
  2927. "description": "资金账号ID列表,用逗号分隔",
  2928. "name": "accountids",
  2929. "in": "query",
  2930. "required": true
  2931. },
  2932. {
  2933. "type": "integer",
  2934. "description": "合同类型,1为采购合同 -1为销售合同",
  2935. "name": "contracttype",
  2936. "in": "query",
  2937. "required": true
  2938. },
  2939. {
  2940. "type": "integer",
  2941. "description": "合同模式,1为普通合同 2为回购销售合同",
  2942. "name": "contractmode",
  2943. "in": "query",
  2944. "required": true
  2945. },
  2946. {
  2947. "type": "integer",
  2948. "description": "状态,0为履约中 1为已完成",
  2949. "name": "status",
  2950. "in": "query",
  2951. "required": true
  2952. }
  2953. ],
  2954. "responses": {
  2955. "200": {
  2956. "description": "OK",
  2957. "schema": {
  2958. "type": "array",
  2959. "items": {
  2960. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  2961. }
  2962. }
  2963. },
  2964. "500": {
  2965. "description": "Internal Server Error",
  2966. "schema": {
  2967. "$ref": "#/definitions/app.Response"
  2968. }
  2969. }
  2970. }
  2971. }
  2972. },
  2973. "/Erms3/QueryUserInfoApplies": {
  2974. "get": {
  2975. "security": [
  2976. {
  2977. "ApiKeyAuth": []
  2978. }
  2979. ],
  2980. "produces": [
  2981. "application/json"
  2982. ],
  2983. "tags": [
  2984. "风险管理v3"
  2985. ],
  2986. "summary": "客户申请信息查询",
  2987. "parameters": [
  2988. {
  2989. "type": "integer",
  2990. "description": "页码",
  2991. "name": "page",
  2992. "in": "query"
  2993. },
  2994. {
  2995. "type": "integer",
  2996. "description": "每页条数",
  2997. "name": "pagesize",
  2998. "in": "query"
  2999. },
  3000. {
  3001. "type": "string",
  3002. "description": "客户名称,支持模糊查询",
  3003. "name": "userName",
  3004. "in": "query"
  3005. }
  3006. ],
  3007. "responses": {
  3008. "200": {
  3009. "description": "OK",
  3010. "schema": {
  3011. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3012. }
  3013. },
  3014. "500": {
  3015. "description": "Internal Server Error",
  3016. "schema": {
  3017. "$ref": "#/definitions/app.Response"
  3018. }
  3019. }
  3020. }
  3021. }
  3022. },
  3023. "/Erms3/QueryUserInfos": {
  3024. "get": {
  3025. "security": [
  3026. {
  3027. "ApiKeyAuth": []
  3028. }
  3029. ],
  3030. "produces": [
  3031. "application/json"
  3032. ],
  3033. "tags": [
  3034. "风险管理v3"
  3035. ],
  3036. "summary": "客户信息查询",
  3037. "parameters": [
  3038. {
  3039. "type": "integer",
  3040. "description": "页码",
  3041. "name": "page",
  3042. "in": "query"
  3043. },
  3044. {
  3045. "type": "integer",
  3046. "description": "每页条数",
  3047. "name": "pagesize",
  3048. "in": "query"
  3049. },
  3050. {
  3051. "type": "string",
  3052. "description": "客户名称,支持模糊查询",
  3053. "name": "userName",
  3054. "in": "query"
  3055. }
  3056. ],
  3057. "responses": {
  3058. "200": {
  3059. "description": "OK",
  3060. "schema": {
  3061. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3062. }
  3063. },
  3064. "500": {
  3065. "description": "Internal Server Error",
  3066. "schema": {
  3067. "$ref": "#/definitions/app.Response"
  3068. }
  3069. }
  3070. }
  3071. }
  3072. },
  3073. "/HSBY/GetHsbyMyCount": {
  3074. "get": {
  3075. "security": [
  3076. {
  3077. "ApiKeyAuth": []
  3078. }
  3079. ],
  3080. "description": "说明: 不包括已完成的数量。",
  3081. "produces": [
  3082. "application/json"
  3083. ],
  3084. "tags": [
  3085. "定制【海商报业】"
  3086. ],
  3087. "summary": "获取我的订单与包裹数量",
  3088. "parameters": [
  3089. {
  3090. "type": "string",
  3091. "description": "资金账户列表,格式:1,2,3",
  3092. "name": "accountIDs",
  3093. "in": "query",
  3094. "required": true
  3095. }
  3096. ],
  3097. "responses": {
  3098. "200": {
  3099. "description": "OK",
  3100. "schema": {
  3101. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3102. }
  3103. },
  3104. "500": {
  3105. "description": "Internal Server Error",
  3106. "schema": {
  3107. "$ref": "#/definitions/app.Response"
  3108. }
  3109. }
  3110. }
  3111. }
  3112. },
  3113. "/HSBY/QueryClientFixedADConfigs": {
  3114. "get": {
  3115. "security": [
  3116. {
  3117. "ApiKeyAuth": []
  3118. }
  3119. ],
  3120. "produces": [
  3121. "application/json"
  3122. ],
  3123. "tags": [
  3124. "定制【海商报业】"
  3125. ],
  3126. "summary": "获取终端固定广告配置",
  3127. "responses": {
  3128. "200": {
  3129. "description": "OK",
  3130. "schema": {
  3131. "$ref": "#/definitions/models.Clientfixedadconfig"
  3132. }
  3133. },
  3134. "500": {
  3135. "description": "Internal Server Error",
  3136. "schema": {
  3137. "$ref": "#/definitions/app.Response"
  3138. }
  3139. }
  3140. }
  3141. }
  3142. },
  3143. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  3144. "get": {
  3145. "security": [
  3146. {
  3147. "ApiKeyAuth": []
  3148. }
  3149. ],
  3150. "produces": [
  3151. "application/json"
  3152. ],
  3153. "tags": [
  3154. "定制【海商报业】"
  3155. ],
  3156. "summary": "查询\"我的订单 - 已完成\"单据信息",
  3157. "parameters": [
  3158. {
  3159. "type": "integer",
  3160. "description": "页码",
  3161. "name": "page",
  3162. "in": "query"
  3163. },
  3164. {
  3165. "type": "integer",
  3166. "description": "每页条数",
  3167. "name": "pagesize",
  3168. "in": "query"
  3169. },
  3170. {
  3171. "type": "string",
  3172. "description": "资金账户列表,格式:1,2,3",
  3173. "name": "accountIDs",
  3174. "in": "query",
  3175. "required": true
  3176. }
  3177. ],
  3178. "responses": {
  3179. "200": {
  3180. "description": "OK",
  3181. "schema": {
  3182. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  3183. }
  3184. },
  3185. "500": {
  3186. "description": "Internal Server Error",
  3187. "schema": {
  3188. "$ref": "#/definitions/app.Response"
  3189. }
  3190. }
  3191. }
  3192. }
  3193. },
  3194. "/HSBY/QueryHsbyGoodsOrderDetails": {
  3195. "get": {
  3196. "security": [
  3197. {
  3198. "ApiKeyAuth": []
  3199. }
  3200. ],
  3201. "description": "说明:查询结果已按委托价格和委托时间排序",
  3202. "produces": [
  3203. "application/json"
  3204. ],
  3205. "tags": [
  3206. "定制【海商报业】"
  3207. ],
  3208. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  3209. "parameters": [
  3210. {
  3211. "type": "integer",
  3212. "description": "商品ID",
  3213. "name": "goodsID",
  3214. "in": "query",
  3215. "required": true
  3216. },
  3217. {
  3218. "type": "string",
  3219. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  3220. "name": "accountIDs",
  3221. "in": "query"
  3222. },
  3223. {
  3224. "type": "integer",
  3225. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  3226. "name": "buyOrSell",
  3227. "in": "query"
  3228. },
  3229. {
  3230. "type": "number",
  3231. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  3232. "name": "price",
  3233. "in": "query"
  3234. },
  3235. {
  3236. "type": "integer",
  3237. "description": "档位,不传则默认为3档",
  3238. "name": "speed",
  3239. "in": "query"
  3240. }
  3241. ],
  3242. "responses": {
  3243. "200": {
  3244. "description": "OK",
  3245. "schema": {
  3246. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  3247. }
  3248. },
  3249. "500": {
  3250. "description": "Internal Server Error",
  3251. "schema": {
  3252. "$ref": "#/definitions/app.Response"
  3253. }
  3254. }
  3255. }
  3256. }
  3257. },
  3258. "/HSBY/QueryHsbyListingGoodsDetail": {
  3259. "get": {
  3260. "security": [
  3261. {
  3262. "ApiKeyAuth": []
  3263. }
  3264. ],
  3265. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  3266. "produces": [
  3267. "application/json"
  3268. ],
  3269. "tags": [
  3270. "定制【海商报业】"
  3271. ],
  3272. "summary": "查询二级市场(挂牌点选)商品信息详情",
  3273. "parameters": [
  3274. {
  3275. "type": "integer",
  3276. "description": "商品ID",
  3277. "name": "goodsID",
  3278. "in": "query",
  3279. "required": true
  3280. },
  3281. {
  3282. "type": "integer",
  3283. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  3284. "name": "accountID",
  3285. "in": "query"
  3286. }
  3287. ],
  3288. "responses": {
  3289. "200": {
  3290. "description": "OK",
  3291. "schema": {
  3292. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  3293. }
  3294. },
  3295. "500": {
  3296. "description": "Internal Server Error",
  3297. "schema": {
  3298. "$ref": "#/definitions/app.Response"
  3299. }
  3300. }
  3301. }
  3302. }
  3303. },
  3304. "/HSBY/QueryHsbyMarketGoodsDetail": {
  3305. "get": {
  3306. "security": [
  3307. {
  3308. "ApiKeyAuth": []
  3309. }
  3310. ],
  3311. "produces": [
  3312. "application/json"
  3313. ],
  3314. "tags": [
  3315. "定制【海商报业】"
  3316. ],
  3317. "summary": "查询三级市场(商城)商品信息详情",
  3318. "parameters": [
  3319. {
  3320. "type": "integer",
  3321. "description": "委托单号",
  3322. "name": "orderID",
  3323. "in": "query",
  3324. "required": true
  3325. },
  3326. {
  3327. "type": "integer",
  3328. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  3329. "name": "accountID",
  3330. "in": "query"
  3331. }
  3332. ],
  3333. "responses": {
  3334. "200": {
  3335. "description": "OK",
  3336. "schema": {
  3337. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3338. }
  3339. },
  3340. "500": {
  3341. "description": "Internal Server Error",
  3342. "schema": {
  3343. "$ref": "#/definitions/app.Response"
  3344. }
  3345. }
  3346. }
  3347. }
  3348. },
  3349. "/HSBY/QueryHsbyMarketGoodses": {
  3350. "get": {
  3351. "security": [
  3352. {
  3353. "ApiKeyAuth": []
  3354. }
  3355. ],
  3356. "produces": [
  3357. "application/json"
  3358. ],
  3359. "tags": [
  3360. "定制【海商报业】"
  3361. ],
  3362. "summary": "查询特卖商品列表(三级商城)",
  3363. "parameters": [
  3364. {
  3365. "type": "integer",
  3366. "description": "页码",
  3367. "name": "page",
  3368. "in": "query"
  3369. },
  3370. {
  3371. "type": "integer",
  3372. "description": "每页条数",
  3373. "name": "pagesize",
  3374. "in": "query"
  3375. },
  3376. {
  3377. "type": "string",
  3378. "description": "市场ID列表,格式:1,2,3",
  3379. "name": "marketIDs",
  3380. "in": "query",
  3381. "required": true
  3382. },
  3383. {
  3384. "type": "integer",
  3385. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  3386. "name": "accountID",
  3387. "in": "query",
  3388. "required": true
  3389. },
  3390. {
  3391. "type": "integer",
  3392. "description": "类别ID",
  3393. "name": "categoryID",
  3394. "in": "query"
  3395. },
  3396. {
  3397. "type": "string",
  3398. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3399. "name": "goodsIDs",
  3400. "in": "query"
  3401. },
  3402. {
  3403. "type": "integer",
  3404. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  3405. "name": "couponTypeID",
  3406. "in": "query"
  3407. }
  3408. ],
  3409. "responses": {
  3410. "200": {
  3411. "description": "OK",
  3412. "schema": {
  3413. "$ref": "#/definitions/models.HsbyMarketGoods"
  3414. }
  3415. },
  3416. "500": {
  3417. "description": "Internal Server Error",
  3418. "schema": {
  3419. "$ref": "#/definitions/app.Response"
  3420. }
  3421. }
  3422. }
  3423. }
  3424. },
  3425. "/HSBY/QueryHsbyMarkets": {
  3426. "get": {
  3427. "security": [
  3428. {
  3429. "ApiKeyAuth": []
  3430. }
  3431. ],
  3432. "produces": [
  3433. "application/json"
  3434. ],
  3435. "tags": [
  3436. "定制【海商报业】"
  3437. ],
  3438. "summary": "查询海商报业相关市场信息",
  3439. "responses": {
  3440. "200": {
  3441. "description": "OK",
  3442. "schema": {
  3443. "$ref": "#/definitions/models.HsbyMarketInfo"
  3444. }
  3445. },
  3446. "500": {
  3447. "description": "Internal Server Error",
  3448. "schema": {
  3449. "$ref": "#/definitions/app.Response"
  3450. }
  3451. }
  3452. }
  3453. }
  3454. },
  3455. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  3456. "get": {
  3457. "security": [
  3458. {
  3459. "ApiKeyAuth": []
  3460. }
  3461. ],
  3462. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  3463. "produces": [
  3464. "application/json"
  3465. ],
  3466. "tags": [
  3467. "定制【海商报业】"
  3468. ],
  3469. "summary": "查询“我的订单”信息",
  3470. "parameters": [
  3471. {
  3472. "type": "string",
  3473. "description": "资金账户列表,格式:1,2,3",
  3474. "name": "accountIDs",
  3475. "in": "query",
  3476. "required": true
  3477. }
  3478. ],
  3479. "responses": {
  3480. "200": {
  3481. "description": "OK",
  3482. "schema": {
  3483. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  3484. }
  3485. },
  3486. "500": {
  3487. "description": "Internal Server Error",
  3488. "schema": {
  3489. "$ref": "#/definitions/app.Response"
  3490. }
  3491. }
  3492. }
  3493. }
  3494. },
  3495. "/HSBY/QueryHsbyMyGoods": {
  3496. "get": {
  3497. "security": [
  3498. {
  3499. "ApiKeyAuth": []
  3500. }
  3501. ],
  3502. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  3503. "produces": [
  3504. "application/json"
  3505. ],
  3506. "tags": [
  3507. "定制【海商报业】"
  3508. ],
  3509. "summary": "查询“我的商品”信息",
  3510. "parameters": [
  3511. {
  3512. "type": "string",
  3513. "description": "资金账户列表,格式:1,2,3",
  3514. "name": "accountIDs",
  3515. "in": "query",
  3516. "required": true
  3517. }
  3518. ],
  3519. "responses": {
  3520. "200": {
  3521. "description": "OK",
  3522. "schema": {
  3523. "$ref": "#/definitions/models.HsbyMyGoods"
  3524. }
  3525. },
  3526. "500": {
  3527. "description": "Internal Server Error",
  3528. "schema": {
  3529. "$ref": "#/definitions/app.Response"
  3530. }
  3531. }
  3532. }
  3533. }
  3534. },
  3535. "/HSBY/QueryHsbyMyPackages": {
  3536. "get": {
  3537. "security": [
  3538. {
  3539. "ApiKeyAuth": []
  3540. }
  3541. ],
  3542. "produces": [
  3543. "application/json"
  3544. ],
  3545. "tags": [
  3546. "定制【海商报业】"
  3547. ],
  3548. "summary": "查询我的包裹信息",
  3549. "parameters": [
  3550. {
  3551. "type": "string",
  3552. "description": "资金账户列表,格式:1,2,3",
  3553. "name": "accountIDs",
  3554. "in": "query",
  3555. "required": true
  3556. },
  3557. {
  3558. "type": "integer",
  3559. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3560. "name": "takeOrderStatus",
  3561. "in": "query"
  3562. }
  3563. ],
  3564. "responses": {
  3565. "200": {
  3566. "description": "OK",
  3567. "schema": {
  3568. "$ref": "#/definitions/models.HsbyMyPackage"
  3569. }
  3570. },
  3571. "500": {
  3572. "description": "Internal Server Error",
  3573. "schema": {
  3574. "$ref": "#/definitions/app.Response"
  3575. }
  3576. }
  3577. }
  3578. }
  3579. },
  3580. "/HSBY/QueryHsbyPreGoodsDetail": {
  3581. "get": {
  3582. "security": [
  3583. {
  3584. "ApiKeyAuth": []
  3585. }
  3586. ],
  3587. "produces": [
  3588. "application/json"
  3589. ],
  3590. "tags": [
  3591. "定制【海商报业】"
  3592. ],
  3593. "summary": "查询一级市场(预售)商品信息详情",
  3594. "parameters": [
  3595. {
  3596. "type": "integer",
  3597. "description": "商品ID",
  3598. "name": "goodsID",
  3599. "in": "query",
  3600. "required": true
  3601. },
  3602. {
  3603. "type": "integer",
  3604. "description": "资金账户,主要用于获取预售商品购买上限",
  3605. "name": "accountID",
  3606. "in": "query"
  3607. }
  3608. ],
  3609. "responses": {
  3610. "200": {
  3611. "description": "OK",
  3612. "schema": {
  3613. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3614. }
  3615. },
  3616. "500": {
  3617. "description": "Internal Server Error",
  3618. "schema": {
  3619. "$ref": "#/definitions/app.Response"
  3620. }
  3621. }
  3622. }
  3623. }
  3624. },
  3625. "/HSBY/QueryHsbyPreGoodses": {
  3626. "get": {
  3627. "security": [
  3628. {
  3629. "ApiKeyAuth": []
  3630. }
  3631. ],
  3632. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  3633. "produces": [
  3634. "application/json"
  3635. ],
  3636. "tags": [
  3637. "定制【海商报业】"
  3638. ],
  3639. "summary": "查询新品上市商品列表(一级市场预售)",
  3640. "parameters": [
  3641. {
  3642. "type": "integer",
  3643. "description": "页码",
  3644. "name": "page",
  3645. "in": "query"
  3646. },
  3647. {
  3648. "type": "integer",
  3649. "description": "每页条数",
  3650. "name": "pagesize",
  3651. "in": "query"
  3652. },
  3653. {
  3654. "type": "string",
  3655. "description": "市场ID列表,格式:1,2,3",
  3656. "name": "marketIDs",
  3657. "in": "query",
  3658. "required": true
  3659. },
  3660. {
  3661. "type": "integer",
  3662. "description": "目的地(省)ID",
  3663. "name": "descProvinceID",
  3664. "in": "query"
  3665. },
  3666. {
  3667. "type": "integer",
  3668. "description": "目的地(市)ID",
  3669. "name": "descCityID",
  3670. "in": "query"
  3671. }
  3672. ],
  3673. "responses": {
  3674. "200": {
  3675. "description": "OK",
  3676. "schema": {
  3677. "$ref": "#/definitions/models.HsbyPreGoods"
  3678. }
  3679. },
  3680. "500": {
  3681. "description": "Internal Server Error",
  3682. "schema": {
  3683. "$ref": "#/definitions/app.Response"
  3684. }
  3685. }
  3686. }
  3687. }
  3688. },
  3689. "/HSBY/QueryHsbySellMyDetails": {
  3690. "get": {
  3691. "security": [
  3692. {
  3693. "ApiKeyAuth": []
  3694. }
  3695. ],
  3696. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3697. "produces": [
  3698. "application/json"
  3699. ],
  3700. "tags": [
  3701. "定制【海商报业】"
  3702. ],
  3703. "summary": "查询\"我的闲置\"单据信息",
  3704. "parameters": [
  3705. {
  3706. "type": "integer",
  3707. "description": "页码",
  3708. "name": "page",
  3709. "in": "query"
  3710. },
  3711. {
  3712. "type": "integer",
  3713. "description": "每页条数",
  3714. "name": "pagesize",
  3715. "in": "query"
  3716. },
  3717. {
  3718. "type": "string",
  3719. "description": "资金账户列表,格式:1,2,3",
  3720. "name": "accountIDs",
  3721. "in": "query",
  3722. "required": true
  3723. },
  3724. {
  3725. "type": "integer",
  3726. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3727. "name": "orderType",
  3728. "in": "query"
  3729. }
  3730. ],
  3731. "responses": {
  3732. "200": {
  3733. "description": "OK",
  3734. "schema": {
  3735. "$ref": "#/definitions/models.HsbySellMyDetail"
  3736. }
  3737. },
  3738. "500": {
  3739. "description": "Internal Server Error",
  3740. "schema": {
  3741. "$ref": "#/definitions/app.Response"
  3742. }
  3743. }
  3744. }
  3745. }
  3746. },
  3747. "/HSBY/QueryHsbyTopGoodses": {
  3748. "get": {
  3749. "security": [
  3750. {
  3751. "ApiKeyAuth": []
  3752. }
  3753. ],
  3754. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  3755. "produces": [
  3756. "application/json"
  3757. ],
  3758. "tags": [
  3759. "定制【海商报业】"
  3760. ],
  3761. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  3762. "parameters": [
  3763. {
  3764. "type": "integer",
  3765. "description": "页码",
  3766. "name": "page",
  3767. "in": "query"
  3768. },
  3769. {
  3770. "type": "integer",
  3771. "description": "每页条数",
  3772. "name": "pagesize",
  3773. "in": "query"
  3774. },
  3775. {
  3776. "type": "string",
  3777. "description": "市场ID列表,格式:1,2,3",
  3778. "name": "marketIDs",
  3779. "in": "query",
  3780. "required": true
  3781. },
  3782. {
  3783. "type": "integer",
  3784. "description": "目的地(省)ID",
  3785. "name": "descProvinceID",
  3786. "in": "query"
  3787. },
  3788. {
  3789. "type": "integer",
  3790. "description": "目的地(市)ID",
  3791. "name": "descCityID",
  3792. "in": "query"
  3793. }
  3794. ],
  3795. "responses": {
  3796. "200": {
  3797. "description": "OK",
  3798. "schema": {
  3799. "$ref": "#/definitions/models.HsbyTopGoods"
  3800. }
  3801. },
  3802. "500": {
  3803. "description": "Internal Server Error",
  3804. "schema": {
  3805. "$ref": "#/definitions/app.Response"
  3806. }
  3807. }
  3808. }
  3809. }
  3810. },
  3811. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  3812. "get": {
  3813. "security": [
  3814. {
  3815. "ApiKeyAuth": []
  3816. }
  3817. ],
  3818. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  3819. "produces": [
  3820. "application/json"
  3821. ],
  3822. "tags": [
  3823. "定制【海商报业】"
  3824. ],
  3825. "summary": "查询游客三级市场(商城)商品信息详情",
  3826. "parameters": [
  3827. {
  3828. "type": "integer",
  3829. "description": "商品ID",
  3830. "name": "goodsID",
  3831. "in": "query",
  3832. "required": true
  3833. }
  3834. ],
  3835. "responses": {
  3836. "200": {
  3837. "description": "OK",
  3838. "schema": {
  3839. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3840. }
  3841. },
  3842. "500": {
  3843. "description": "Internal Server Error",
  3844. "schema": {
  3845. "$ref": "#/definitions/app.Response"
  3846. }
  3847. }
  3848. }
  3849. }
  3850. },
  3851. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  3852. "get": {
  3853. "security": [
  3854. {
  3855. "ApiKeyAuth": []
  3856. }
  3857. ],
  3858. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  3859. "produces": [
  3860. "application/json"
  3861. ],
  3862. "tags": [
  3863. "定制【海商报业】"
  3864. ],
  3865. "summary": "查询游客特卖商品列表(三级商城)",
  3866. "parameters": [
  3867. {
  3868. "type": "integer",
  3869. "description": "页码",
  3870. "name": "page",
  3871. "in": "query"
  3872. },
  3873. {
  3874. "type": "integer",
  3875. "description": "每页条数",
  3876. "name": "pagesize",
  3877. "in": "query"
  3878. },
  3879. {
  3880. "type": "string",
  3881. "description": "市场ID列表,格式:1,2,3",
  3882. "name": "marketIDs",
  3883. "in": "query",
  3884. "required": true
  3885. },
  3886. {
  3887. "type": "integer",
  3888. "description": "类别ID",
  3889. "name": "categoryID",
  3890. "in": "query"
  3891. },
  3892. {
  3893. "type": "string",
  3894. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3895. "name": "goodsIDs",
  3896. "in": "query"
  3897. }
  3898. ],
  3899. "responses": {
  3900. "200": {
  3901. "description": "OK",
  3902. "schema": {
  3903. "$ref": "#/definitions/models.HsbyMarketGoods"
  3904. }
  3905. },
  3906. "500": {
  3907. "description": "Internal Server Error",
  3908. "schema": {
  3909. "$ref": "#/definitions/app.Response"
  3910. }
  3911. }
  3912. }
  3913. }
  3914. },
  3915. "/HSBY/QueryMyCollectionOrders": {
  3916. "get": {
  3917. "security": [
  3918. {
  3919. "ApiKeyAuth": []
  3920. }
  3921. ],
  3922. "produces": [
  3923. "application/json"
  3924. ],
  3925. "tags": [
  3926. "定制【海商报业】"
  3927. ],
  3928. "summary": "我的闲置中收款信息查询",
  3929. "parameters": [
  3930. {
  3931. "type": "integer",
  3932. "description": "页码",
  3933. "name": "page",
  3934. "in": "query"
  3935. },
  3936. {
  3937. "type": "integer",
  3938. "description": "每页条数",
  3939. "name": "pagesize",
  3940. "in": "query"
  3941. },
  3942. {
  3943. "type": "string",
  3944. "description": "资金账户,格式:1,2,3",
  3945. "name": "accountIDs",
  3946. "in": "query",
  3947. "required": true
  3948. }
  3949. ],
  3950. "responses": {
  3951. "200": {
  3952. "description": "OK",
  3953. "schema": {
  3954. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  3955. }
  3956. },
  3957. "500": {
  3958. "description": "Internal Server Error",
  3959. "schema": {
  3960. "$ref": "#/definitions/app.Response"
  3961. }
  3962. }
  3963. }
  3964. }
  3965. },
  3966. "/HSBY/QueryMyCouponHolds": {
  3967. "get": {
  3968. "security": [
  3969. {
  3970. "ApiKeyAuth": []
  3971. }
  3972. ],
  3973. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  3974. "produces": [
  3975. "application/json"
  3976. ],
  3977. "tags": [
  3978. "定制【海商报业】"
  3979. ],
  3980. "summary": "我的优惠卷持仓查询",
  3981. "parameters": [
  3982. {
  3983. "type": "string",
  3984. "description": "资金账户列表,格式:1,2,3",
  3985. "name": "accountIDs",
  3986. "in": "query",
  3987. "required": true
  3988. },
  3989. {
  3990. "type": "string",
  3991. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  3992. "name": "holdStatus",
  3993. "in": "query"
  3994. }
  3995. ],
  3996. "responses": {
  3997. "200": {
  3998. "description": "OK",
  3999. "schema": {
  4000. "$ref": "#/definitions/models.MyCouponHold"
  4001. }
  4002. },
  4003. "500": {
  4004. "description": "Internal Server Error",
  4005. "schema": {
  4006. "$ref": "#/definitions/app.Response"
  4007. }
  4008. }
  4009. }
  4010. }
  4011. },
  4012. "/HSBY/QueryMyCoupons": {
  4013. "get": {
  4014. "security": [
  4015. {
  4016. "ApiKeyAuth": []
  4017. }
  4018. ],
  4019. "produces": [
  4020. "application/json"
  4021. ],
  4022. "tags": [
  4023. "定制【海商报业】"
  4024. ],
  4025. "summary": "我的优惠卷查询",
  4026. "parameters": [
  4027. {
  4028. "type": "string",
  4029. "description": "资金账户列表,格式:1,2,3",
  4030. "name": "accountIDs",
  4031. "in": "query",
  4032. "required": true
  4033. },
  4034. {
  4035. "type": "integer",
  4036. "description": "商品ID, 一般与sellUserID配套传入",
  4037. "name": "goodsID",
  4038. "in": "query"
  4039. },
  4040. {
  4041. "type": "integer",
  4042. "description": "卖方UserID",
  4043. "name": "sellUserID",
  4044. "in": "query"
  4045. }
  4046. ],
  4047. "responses": {
  4048. "200": {
  4049. "description": "OK",
  4050. "schema": {
  4051. "$ref": "#/definitions/models.MyCoupon"
  4052. }
  4053. },
  4054. "500": {
  4055. "description": "Internal Server Error",
  4056. "schema": {
  4057. "$ref": "#/definitions/app.Response"
  4058. }
  4059. }
  4060. }
  4061. }
  4062. },
  4063. "/HSBY/QueryMyPayOrders": {
  4064. "get": {
  4065. "security": [
  4066. {
  4067. "ApiKeyAuth": []
  4068. }
  4069. ],
  4070. "produces": [
  4071. "application/json"
  4072. ],
  4073. "tags": [
  4074. "定制【海商报业】"
  4075. ],
  4076. "summary": "获取我的订单中待付款信息",
  4077. "parameters": [
  4078. {
  4079. "type": "integer",
  4080. "description": "页码",
  4081. "name": "page",
  4082. "in": "query"
  4083. },
  4084. {
  4085. "type": "integer",
  4086. "description": "每页条数",
  4087. "name": "pagesize",
  4088. "in": "query"
  4089. },
  4090. {
  4091. "type": "string",
  4092. "description": "资金账户列表,格式:1,2,3",
  4093. "name": "accountIDs",
  4094. "in": "query",
  4095. "required": true
  4096. },
  4097. {
  4098. "type": "integer",
  4099. "description": "买方委托单号",
  4100. "name": "buyOrderID",
  4101. "in": "query"
  4102. },
  4103. {
  4104. "type": "integer",
  4105. "description": "卖方委托单号",
  4106. "name": "sellOrderID",
  4107. "in": "query"
  4108. }
  4109. ],
  4110. "responses": {
  4111. "200": {
  4112. "description": "OK",
  4113. "schema": {
  4114. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  4115. }
  4116. },
  4117. "500": {
  4118. "description": "Internal Server Error",
  4119. "schema": {
  4120. "$ref": "#/definitions/app.Response"
  4121. }
  4122. }
  4123. }
  4124. }
  4125. },
  4126. "/HSBY/QueryMyUsedCoupon": {
  4127. "get": {
  4128. "security": [
  4129. {
  4130. "ApiKeyAuth": []
  4131. }
  4132. ],
  4133. "produces": [
  4134. "application/json"
  4135. ],
  4136. "tags": [
  4137. "定制【海商报业】"
  4138. ],
  4139. "summary": "已使用优惠卷查询",
  4140. "parameters": [
  4141. {
  4142. "type": "string",
  4143. "description": "资金账户列表,格式:1,2,3",
  4144. "name": "accountIDs",
  4145. "in": "query",
  4146. "required": true
  4147. }
  4148. ],
  4149. "responses": {
  4150. "200": {
  4151. "description": "OK",
  4152. "schema": {
  4153. "$ref": "#/definitions/models.MyUsedCoupon"
  4154. }
  4155. },
  4156. "500": {
  4157. "description": "Internal Server Error",
  4158. "schema": {
  4159. "$ref": "#/definitions/app.Response"
  4160. }
  4161. }
  4162. }
  4163. }
  4164. },
  4165. "/HSBY/QueryProvincesAndCities": {
  4166. "get": {
  4167. "security": [
  4168. {
  4169. "ApiKeyAuth": []
  4170. }
  4171. ],
  4172. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  4173. "produces": [
  4174. "application/json"
  4175. ],
  4176. "tags": [
  4177. "定制【海商报业】"
  4178. ],
  4179. "summary": "查询省市信息(不包括区)",
  4180. "parameters": [
  4181. {
  4182. "type": "integer",
  4183. "description": "省ID",
  4184. "name": "provinceID",
  4185. "in": "query"
  4186. }
  4187. ],
  4188. "responses": {
  4189. "200": {
  4190. "description": "OK",
  4191. "schema": {
  4192. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  4193. }
  4194. },
  4195. "500": {
  4196. "description": "Internal Server Error",
  4197. "schema": {
  4198. "$ref": "#/definitions/app.Response"
  4199. }
  4200. }
  4201. }
  4202. }
  4203. },
  4204. "/HSBY/SetHsbyMyPackagesStatus": {
  4205. "post": {
  4206. "security": [
  4207. {
  4208. "ApiKeyAuth": []
  4209. }
  4210. ],
  4211. "produces": [
  4212. "application/json"
  4213. ],
  4214. "tags": [
  4215. "定制【海商报业】"
  4216. ],
  4217. "summary": "设置我的包裹已收货状态",
  4218. "parameters": [
  4219. {
  4220. "type": "string",
  4221. "description": "提货单号",
  4222. "name": "takeOrderID",
  4223. "in": "query",
  4224. "required": true
  4225. },
  4226. {
  4227. "type": "integer",
  4228. "description": "资金账号",
  4229. "name": "accountID",
  4230. "in": "query",
  4231. "required": true
  4232. }
  4233. ],
  4234. "responses": {
  4235. "200": {
  4236. "description": "OK",
  4237. "schema": {
  4238. "$ref": "#/definitions/app.Response"
  4239. }
  4240. },
  4241. "500": {
  4242. "description": "Internal Server Error",
  4243. "schema": {
  4244. "$ref": "#/definitions/app.Response"
  4245. }
  4246. }
  4247. }
  4248. }
  4249. },
  4250. "/Market/QueryGoodsesByLoginID": {
  4251. "get": {
  4252. "security": [
  4253. {
  4254. "ApiKeyAuth": []
  4255. }
  4256. ],
  4257. "produces": [
  4258. "application/json"
  4259. ],
  4260. "tags": [
  4261. "通用市场"
  4262. ],
  4263. "summary": "获取登录账号有权限的商品信息",
  4264. "parameters": [
  4265. {
  4266. "type": "integer",
  4267. "description": "登录账号",
  4268. "name": "loginID",
  4269. "in": "query",
  4270. "required": true
  4271. },
  4272. {
  4273. "type": "string",
  4274. "description": "市场ID列表,格式:1,2,3",
  4275. "name": "marketIDs",
  4276. "in": "query"
  4277. }
  4278. ],
  4279. "responses": {
  4280. "200": {
  4281. "description": "OK",
  4282. "schema": {
  4283. "$ref": "#/definitions/models.Goods"
  4284. }
  4285. },
  4286. "500": {
  4287. "description": "Internal Server Error",
  4288. "schema": {
  4289. "$ref": "#/definitions/app.Response"
  4290. }
  4291. }
  4292. }
  4293. }
  4294. },
  4295. "/Market/QueryMarketRun": {
  4296. "get": {
  4297. "security": [
  4298. {
  4299. "ApiKeyAuth": []
  4300. }
  4301. ],
  4302. "produces": [
  4303. "application/json"
  4304. ],
  4305. "tags": [
  4306. "通用市场"
  4307. ],
  4308. "summary": "查询市场运行信息",
  4309. "parameters": [
  4310. {
  4311. "type": "integer",
  4312. "description": "市场ID,不传返回所有",
  4313. "name": "marketID",
  4314. "in": "query"
  4315. }
  4316. ],
  4317. "responses": {
  4318. "200": {
  4319. "description": "OK",
  4320. "schema": {
  4321. "$ref": "#/definitions/models.Marketrun"
  4322. }
  4323. },
  4324. "500": {
  4325. "description": "Internal Server Error",
  4326. "schema": {
  4327. "$ref": "#/definitions/app.Response"
  4328. }
  4329. }
  4330. }
  4331. }
  4332. },
  4333. "/Market/QueryMarketsByLoginID": {
  4334. "get": {
  4335. "security": [
  4336. {
  4337. "ApiKeyAuth": []
  4338. }
  4339. ],
  4340. "produces": [
  4341. "application/json"
  4342. ],
  4343. "tags": [
  4344. "通用市场"
  4345. ],
  4346. "summary": "获取登录账号有权限的市场信息",
  4347. "parameters": [
  4348. {
  4349. "type": "integer",
  4350. "description": "登录账号",
  4351. "name": "loginID",
  4352. "in": "query",
  4353. "required": true
  4354. }
  4355. ],
  4356. "responses": {
  4357. "200": {
  4358. "description": "OK",
  4359. "schema": {
  4360. "$ref": "#/definitions/models.Market"
  4361. }
  4362. },
  4363. "500": {
  4364. "description": "Internal Server Error",
  4365. "schema": {
  4366. "$ref": "#/definitions/app.Response"
  4367. }
  4368. }
  4369. }
  4370. }
  4371. },
  4372. "/Order/QueryHisTradeDetail": {
  4373. "get": {
  4374. "security": [
  4375. {
  4376. "ApiKeyAuth": []
  4377. }
  4378. ],
  4379. "produces": [
  4380. "application/json"
  4381. ],
  4382. "tags": [
  4383. "通用单据"
  4384. ],
  4385. "summary": "历史成交单查询(合约市场)",
  4386. "parameters": [
  4387. {
  4388. "type": "string",
  4389. "description": "资金账户 - 格式:1,2,3",
  4390. "name": "accountID",
  4391. "in": "query",
  4392. "required": true
  4393. },
  4394. {
  4395. "type": "integer",
  4396. "description": "成交单号",
  4397. "name": "tradeID",
  4398. "in": "query"
  4399. },
  4400. {
  4401. "type": "integer",
  4402. "description": "委托单号",
  4403. "name": "orderID",
  4404. "in": "query"
  4405. },
  4406. {
  4407. "type": "string",
  4408. "description": "交易模式 - 格式:1,2,3",
  4409. "name": "tradeMode",
  4410. "in": "query"
  4411. },
  4412. {
  4413. "type": "integer",
  4414. "description": "委托单据类型",
  4415. "name": "buildType",
  4416. "in": "query"
  4417. },
  4418. {
  4419. "type": "string",
  4420. "description": "成交类别 - 格式:1,2,3",
  4421. "name": "tradeType",
  4422. "in": "query"
  4423. },
  4424. {
  4425. "type": "string",
  4426. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4427. "name": "startDate",
  4428. "in": "query"
  4429. },
  4430. {
  4431. "type": "string",
  4432. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4433. "name": "endDate",
  4434. "in": "query"
  4435. }
  4436. ],
  4437. "responses": {
  4438. "200": {
  4439. "description": "OK",
  4440. "schema": {
  4441. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  4442. }
  4443. },
  4444. "500": {
  4445. "description": "Internal Server Error",
  4446. "schema": {
  4447. "$ref": "#/definitions/app.Response"
  4448. }
  4449. }
  4450. }
  4451. }
  4452. },
  4453. "/Order/QueryHisTradeOrderDetail": {
  4454. "get": {
  4455. "security": [
  4456. {
  4457. "ApiKeyAuth": []
  4458. }
  4459. ],
  4460. "produces": [
  4461. "application/json"
  4462. ],
  4463. "tags": [
  4464. "通用单据"
  4465. ],
  4466. "summary": "历史委托单查询请求(合约市场)",
  4467. "parameters": [
  4468. {
  4469. "type": "string",
  4470. "description": "资金账户 - 格式:1,2,3",
  4471. "name": "accountID",
  4472. "in": "query",
  4473. "required": true
  4474. },
  4475. {
  4476. "type": "string",
  4477. "description": "交易模式 - 格式:1,2,3",
  4478. "name": "tradeMode",
  4479. "in": "query"
  4480. },
  4481. {
  4482. "type": "string",
  4483. "description": "委托状态 - 格式:1,2,3",
  4484. "name": "orderStatus",
  4485. "in": "query"
  4486. },
  4487. {
  4488. "type": "integer",
  4489. "description": "委托单号",
  4490. "name": "orderID",
  4491. "in": "query"
  4492. },
  4493. {
  4494. "type": "string",
  4495. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4496. "name": "startDate",
  4497. "in": "query"
  4498. },
  4499. {
  4500. "type": "string",
  4501. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4502. "name": "endDate",
  4503. "in": "query"
  4504. }
  4505. ],
  4506. "responses": {
  4507. "200": {
  4508. "description": "OK",
  4509. "schema": {
  4510. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  4511. }
  4512. },
  4513. "500": {
  4514. "description": "Internal Server Error",
  4515. "schema": {
  4516. "$ref": "#/definitions/app.Response"
  4517. }
  4518. }
  4519. }
  4520. }
  4521. },
  4522. "/Order/QueryTradeDetail": {
  4523. "get": {
  4524. "security": [
  4525. {
  4526. "ApiKeyAuth": []
  4527. }
  4528. ],
  4529. "produces": [
  4530. "application/json"
  4531. ],
  4532. "tags": [
  4533. "通用单据"
  4534. ],
  4535. "summary": "成交单查询(合约市场)",
  4536. "parameters": [
  4537. {
  4538. "type": "string",
  4539. "description": "资金账户 - 格式:1,2,3",
  4540. "name": "accountID",
  4541. "in": "query",
  4542. "required": true
  4543. },
  4544. {
  4545. "type": "integer",
  4546. "description": "成交单号",
  4547. "name": "tradeID",
  4548. "in": "query"
  4549. },
  4550. {
  4551. "type": "integer",
  4552. "description": "委托单号",
  4553. "name": "orderID",
  4554. "in": "query"
  4555. },
  4556. {
  4557. "type": "string",
  4558. "description": "交易模式 - 格式:1,2,3",
  4559. "name": "tradeMode",
  4560. "in": "query"
  4561. },
  4562. {
  4563. "type": "integer",
  4564. "description": "委托单据类型",
  4565. "name": "buildType",
  4566. "in": "query"
  4567. },
  4568. {
  4569. "type": "string",
  4570. "description": "成交类别 - 格式:1,2,3",
  4571. "name": "tradeType",
  4572. "in": "query"
  4573. }
  4574. ],
  4575. "responses": {
  4576. "200": {
  4577. "description": "OK",
  4578. "schema": {
  4579. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4580. }
  4581. },
  4582. "500": {
  4583. "description": "Internal Server Error",
  4584. "schema": {
  4585. "$ref": "#/definitions/app.Response"
  4586. }
  4587. }
  4588. }
  4589. }
  4590. },
  4591. "/Order/QueryTradeOrderDetail": {
  4592. "get": {
  4593. "security": [
  4594. {
  4595. "ApiKeyAuth": []
  4596. }
  4597. ],
  4598. "produces": [
  4599. "application/json"
  4600. ],
  4601. "tags": [
  4602. "通用单据"
  4603. ],
  4604. "summary": "委托单查询请求(合约市场)",
  4605. "parameters": [
  4606. {
  4607. "type": "string",
  4608. "description": "资金账户 - 格式:1,2,3",
  4609. "name": "accountID",
  4610. "in": "query",
  4611. "required": true
  4612. },
  4613. {
  4614. "type": "string",
  4615. "description": "交易模式 - 格式:1,2,3",
  4616. "name": "tradeMode",
  4617. "in": "query"
  4618. },
  4619. {
  4620. "type": "string",
  4621. "description": "委托状态 - 格式:1,2,3",
  4622. "name": "orderStatus",
  4623. "in": "query"
  4624. },
  4625. {
  4626. "type": "integer",
  4627. "description": "委托单号",
  4628. "name": "orderID",
  4629. "in": "query"
  4630. }
  4631. ],
  4632. "responses": {
  4633. "200": {
  4634. "description": "OK",
  4635. "schema": {
  4636. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  4637. }
  4638. },
  4639. "500": {
  4640. "description": "Internal Server Error",
  4641. "schema": {
  4642. "$ref": "#/definitions/app.Response"
  4643. }
  4644. }
  4645. }
  4646. }
  4647. },
  4648. "/Order/QueryTradePosition": {
  4649. "get": {
  4650. "security": [
  4651. {
  4652. "ApiKeyAuth": []
  4653. }
  4654. ],
  4655. "produces": [
  4656. "application/json"
  4657. ],
  4658. "tags": [
  4659. "通用单据"
  4660. ],
  4661. "summary": "持仓汇总查询(合约市场)",
  4662. "parameters": [
  4663. {
  4664. "type": "string",
  4665. "description": "资金账户 - 格式:1,2,3",
  4666. "name": "accountID",
  4667. "in": "query",
  4668. "required": true
  4669. },
  4670. {
  4671. "type": "string",
  4672. "description": "交易模式 - 格式:1,2,3",
  4673. "name": "tradeMode",
  4674. "in": "query"
  4675. }
  4676. ],
  4677. "responses": {
  4678. "200": {
  4679. "description": "OK",
  4680. "schema": {
  4681. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4682. }
  4683. },
  4684. "500": {
  4685. "description": "Internal Server Error",
  4686. "schema": {
  4687. "$ref": "#/definitions/app.Response"
  4688. }
  4689. }
  4690. }
  4691. }
  4692. },
  4693. "/Quote/QueryHistoryDatas": {
  4694. "get": {
  4695. "security": [
  4696. {
  4697. "ApiKeyAuth": []
  4698. }
  4699. ],
  4700. "produces": [
  4701. "application/json"
  4702. ],
  4703. "tags": [
  4704. "行情服务"
  4705. ],
  4706. "summary": "查询行情历史数据",
  4707. "parameters": [
  4708. {
  4709. "type": "integer",
  4710. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  4711. "name": "cycleType",
  4712. "in": "query",
  4713. "required": true
  4714. },
  4715. {
  4716. "type": "string",
  4717. "description": "商品代码",
  4718. "name": "goodsCode",
  4719. "in": "query",
  4720. "required": true
  4721. },
  4722. {
  4723. "type": "string",
  4724. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4725. "name": "startTime",
  4726. "in": "query"
  4727. },
  4728. {
  4729. "type": "string",
  4730. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4731. "name": "endTime",
  4732. "in": "query"
  4733. },
  4734. {
  4735. "type": "integer",
  4736. "description": "条数",
  4737. "name": "count",
  4738. "in": "query"
  4739. },
  4740. {
  4741. "type": "boolean",
  4742. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4743. "name": "isAsc",
  4744. "in": "query"
  4745. }
  4746. ],
  4747. "responses": {
  4748. "200": {
  4749. "description": "OK",
  4750. "schema": {
  4751. "$ref": "#/definitions/quote.HistoryData"
  4752. }
  4753. },
  4754. "500": {
  4755. "description": "Internal Server Error",
  4756. "schema": {
  4757. "$ref": "#/definitions/app.Response"
  4758. }
  4759. }
  4760. }
  4761. }
  4762. },
  4763. "/Quote/QueryTSData": {
  4764. "get": {
  4765. "produces": [
  4766. "application/json"
  4767. ],
  4768. "tags": [
  4769. "行情服务"
  4770. ],
  4771. "summary": "分时图数据查询",
  4772. "parameters": [
  4773. {
  4774. "type": "string",
  4775. "description": "商品代码",
  4776. "name": "GoodsCode",
  4777. "in": "query",
  4778. "required": true
  4779. }
  4780. ],
  4781. "responses": {
  4782. "200": {
  4783. "description": "OK",
  4784. "schema": {
  4785. "$ref": "#/definitions/quote.QueryTSDataRsp"
  4786. }
  4787. },
  4788. "500": {
  4789. "description": "Internal Server Error",
  4790. "schema": {
  4791. "$ref": "#/definitions/app.Response"
  4792. }
  4793. }
  4794. }
  4795. }
  4796. },
  4797. "/SZDZ/QueryConvertConfig": {
  4798. "get": {
  4799. "security": [
  4800. {
  4801. "ApiKeyAuth": []
  4802. }
  4803. ],
  4804. "produces": [
  4805. "application/json"
  4806. ],
  4807. "tags": [
  4808. "定制【尚志大宗】"
  4809. ],
  4810. "summary": "查询交易系统转换设置",
  4811. "parameters": [
  4812. {
  4813. "type": "integer",
  4814. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  4815. "name": "convertType",
  4816. "in": "query"
  4817. },
  4818. {
  4819. "type": "string",
  4820. "description": "外部商品代码[JD\\PD]",
  4821. "name": "outerGoodsCode",
  4822. "in": "query"
  4823. },
  4824. {
  4825. "type": "string",
  4826. "description": "内部商品ID列表[交易],格式:1,2,3",
  4827. "name": "innerGoodsIDs",
  4828. "in": "query"
  4829. }
  4830. ],
  4831. "responses": {
  4832. "200": {
  4833. "description": "OK",
  4834. "schema": {
  4835. "$ref": "#/definitions/models.Szdz3convertconfig"
  4836. }
  4837. },
  4838. "500": {
  4839. "description": "Internal Server Error",
  4840. "schema": {
  4841. "$ref": "#/definitions/app.Response"
  4842. }
  4843. }
  4844. }
  4845. }
  4846. },
  4847. "/SZDZ/QueryConvertLog": {
  4848. "get": {
  4849. "security": [
  4850. {
  4851. "ApiKeyAuth": []
  4852. }
  4853. ],
  4854. "produces": [
  4855. "application/json"
  4856. ],
  4857. "tags": [
  4858. "定制【尚志大宗】"
  4859. ],
  4860. "summary": "交易系统转换流水查询",
  4861. "parameters": [
  4862. {
  4863. "type": "string",
  4864. "description": "资金账户 - 格式:1,2,3",
  4865. "name": "accountID",
  4866. "in": "query",
  4867. "required": true
  4868. },
  4869. {
  4870. "type": "string",
  4871. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4872. "name": "startDate",
  4873. "in": "query"
  4874. },
  4875. {
  4876. "type": "string",
  4877. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4878. "name": "endDate",
  4879. "in": "query"
  4880. }
  4881. ],
  4882. "responses": {
  4883. "200": {
  4884. "description": "OK",
  4885. "schema": {
  4886. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  4887. }
  4888. },
  4889. "500": {
  4890. "description": "Internal Server Error",
  4891. "schema": {
  4892. "$ref": "#/definitions/app.Response"
  4893. }
  4894. }
  4895. }
  4896. }
  4897. },
  4898. "/SZDZ/QueryGoodsPickup": {
  4899. "get": {
  4900. "security": [
  4901. {
  4902. "ApiKeyAuth": []
  4903. }
  4904. ],
  4905. "produces": [
  4906. "application/json"
  4907. ],
  4908. "tags": [
  4909. "定制【尚志大宗】"
  4910. ],
  4911. "summary": "商品提货单查询",
  4912. "parameters": [
  4913. {
  4914. "type": "string",
  4915. "description": "资金账户 - 格式:1,2,3",
  4916. "name": "accountID",
  4917. "in": "query",
  4918. "required": true
  4919. },
  4920. {
  4921. "type": "integer",
  4922. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4923. "name": "takeOrderStatus",
  4924. "in": "query"
  4925. }
  4926. ],
  4927. "responses": {
  4928. "200": {
  4929. "description": "OK",
  4930. "schema": {
  4931. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  4932. }
  4933. },
  4934. "500": {
  4935. "description": "Internal Server Error",
  4936. "schema": {
  4937. "$ref": "#/definitions/app.Response"
  4938. }
  4939. }
  4940. }
  4941. }
  4942. },
  4943. "/SZDZ/QueryRecieptOrder": {
  4944. "get": {
  4945. "security": [
  4946. {
  4947. "ApiKeyAuth": []
  4948. }
  4949. ],
  4950. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4951. "produces": [
  4952. "application/json"
  4953. ],
  4954. "tags": [
  4955. "定制【尚志大宗】"
  4956. ],
  4957. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  4958. "parameters": [
  4959. {
  4960. "type": "integer",
  4961. "description": "页码",
  4962. "name": "page",
  4963. "in": "query"
  4964. },
  4965. {
  4966. "type": "integer",
  4967. "description": "每页条数",
  4968. "name": "pagesize",
  4969. "in": "query"
  4970. },
  4971. {
  4972. "type": "integer",
  4973. "description": "商品ID",
  4974. "name": "goodsID",
  4975. "in": "query",
  4976. "required": true
  4977. },
  4978. {
  4979. "type": "string",
  4980. "description": "所属账户名称",
  4981. "name": "accountName",
  4982. "in": "query"
  4983. },
  4984. {
  4985. "type": "integer",
  4986. "description": "市场ID",
  4987. "name": "marketID",
  4988. "in": "query"
  4989. },
  4990. {
  4991. "type": "integer",
  4992. "description": "方向 - 0:买 1:卖",
  4993. "name": "buyorsell",
  4994. "in": "query",
  4995. "required": true
  4996. }
  4997. ],
  4998. "responses": {
  4999. "200": {
  5000. "description": "OK",
  5001. "schema": {
  5002. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5003. }
  5004. },
  5005. "500": {
  5006. "description": "Internal Server Error",
  5007. "schema": {
  5008. "$ref": "#/definitions/app.Response"
  5009. }
  5010. }
  5011. }
  5012. }
  5013. },
  5014. "/SZDZ/QuerySZDZTradePosition": {
  5015. "get": {
  5016. "security": [
  5017. {
  5018. "ApiKeyAuth": []
  5019. }
  5020. ],
  5021. "produces": [
  5022. "application/json"
  5023. ],
  5024. "tags": [
  5025. "定制【尚志大宗】"
  5026. ],
  5027. "summary": "持仓汇总查询(尚志大宗)",
  5028. "parameters": [
  5029. {
  5030. "type": "integer",
  5031. "description": "资金账户",
  5032. "name": "accountID",
  5033. "in": "query",
  5034. "required": true
  5035. }
  5036. ],
  5037. "responses": {
  5038. "200": {
  5039. "description": "OK",
  5040. "schema": {
  5041. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5042. }
  5043. },
  5044. "500": {
  5045. "description": "Internal Server Error",
  5046. "schema": {
  5047. "$ref": "#/definitions/app.Response"
  5048. }
  5049. }
  5050. }
  5051. }
  5052. },
  5053. "/SZDZ/SearchWhite": {
  5054. "get": {
  5055. "security": [
  5056. {
  5057. "ApiKeyAuth": []
  5058. }
  5059. ],
  5060. "produces": [
  5061. "application/json"
  5062. ],
  5063. "tags": [
  5064. "定制【尚志大宗】"
  5065. ],
  5066. "summary": "搜索白名单",
  5067. "parameters": [
  5068. {
  5069. "type": "integer",
  5070. "description": "用户ID",
  5071. "name": "userID",
  5072. "in": "query",
  5073. "required": true
  5074. }
  5075. ],
  5076. "responses": {
  5077. "200": {
  5078. "description": "OK",
  5079. "schema": {
  5080. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5081. }
  5082. },
  5083. "500": {
  5084. "description": "Internal Server Error",
  5085. "schema": {
  5086. "$ref": "#/definitions/app.Response"
  5087. }
  5088. }
  5089. }
  5090. }
  5091. },
  5092. "/Search/SearchGoodses": {
  5093. "get": {
  5094. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5095. "produces": [
  5096. "application/json"
  5097. ],
  5098. "tags": [
  5099. "检索服务"
  5100. ],
  5101. "summary": "检索商品信息",
  5102. "parameters": [
  5103. {
  5104. "type": "string",
  5105. "description": "检索内容",
  5106. "name": "content",
  5107. "in": "query",
  5108. "required": true
  5109. },
  5110. {
  5111. "type": "string",
  5112. "description": "交易模式,格式:1,2,3",
  5113. "name": "tradeModes",
  5114. "in": "query"
  5115. }
  5116. ],
  5117. "responses": {
  5118. "200": {
  5119. "description": "OK",
  5120. "schema": {
  5121. "$ref": "#/definitions/models.SearchGoods"
  5122. }
  5123. },
  5124. "500": {
  5125. "description": "Internal Server Error",
  5126. "schema": {
  5127. "$ref": "#/definitions/app.Response"
  5128. }
  5129. }
  5130. }
  5131. }
  5132. },
  5133. "/TaAccount/QueryAmountLog": {
  5134. "get": {
  5135. "security": [
  5136. {
  5137. "ApiKeyAuth": []
  5138. }
  5139. ],
  5140. "produces": [
  5141. "application/json"
  5142. ],
  5143. "tags": [
  5144. "资金账户"
  5145. ],
  5146. "summary": "资金流水查询(当前)",
  5147. "parameters": [
  5148. {
  5149. "type": "integer",
  5150. "description": "页码",
  5151. "name": "page",
  5152. "in": "query"
  5153. },
  5154. {
  5155. "type": "integer",
  5156. "description": "每页条数",
  5157. "name": "pagesize",
  5158. "in": "query"
  5159. },
  5160. {
  5161. "type": "string",
  5162. "description": "资金账户 - 格式:1,2,3",
  5163. "name": "accountID",
  5164. "in": "query",
  5165. "required": true
  5166. },
  5167. {
  5168. "type": "string",
  5169. "description": "资金操作类型 - 格式:1,2,3",
  5170. "name": "OperateType",
  5171. "in": "query"
  5172. }
  5173. ],
  5174. "responses": {
  5175. "200": {
  5176. "description": "OK",
  5177. "schema": {
  5178. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  5179. }
  5180. },
  5181. "500": {
  5182. "description": "Internal Server Error",
  5183. "schema": {
  5184. "$ref": "#/definitions/app.Response"
  5185. }
  5186. }
  5187. }
  5188. }
  5189. },
  5190. "/TaAccount/QueryHisAmountLog": {
  5191. "get": {
  5192. "security": [
  5193. {
  5194. "ApiKeyAuth": []
  5195. }
  5196. ],
  5197. "produces": [
  5198. "application/json"
  5199. ],
  5200. "tags": [
  5201. "资金账户"
  5202. ],
  5203. "summary": "资金流水查询(历史)",
  5204. "parameters": [
  5205. {
  5206. "type": "integer",
  5207. "description": "页码",
  5208. "name": "page",
  5209. "in": "query"
  5210. },
  5211. {
  5212. "type": "integer",
  5213. "description": "每页条数",
  5214. "name": "pagesize",
  5215. "in": "query"
  5216. },
  5217. {
  5218. "type": "string",
  5219. "description": "资金账户 - 格式:1,2,3",
  5220. "name": "accountID",
  5221. "in": "query",
  5222. "required": true
  5223. },
  5224. {
  5225. "type": "string",
  5226. "description": "资金操作类型 - 格式:1,2,3",
  5227. "name": "OperateType",
  5228. "in": "query"
  5229. },
  5230. {
  5231. "type": "string",
  5232. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5233. "name": "startDate",
  5234. "in": "query"
  5235. },
  5236. {
  5237. "type": "string",
  5238. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5239. "name": "endDate",
  5240. "in": "query"
  5241. }
  5242. ],
  5243. "responses": {
  5244. "200": {
  5245. "description": "OK",
  5246. "schema": {
  5247. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  5248. }
  5249. },
  5250. "500": {
  5251. "description": "Internal Server Error",
  5252. "schema": {
  5253. "$ref": "#/definitions/app.Response"
  5254. }
  5255. }
  5256. }
  5257. }
  5258. },
  5259. "/Trade/QueryRecieptOrder": {
  5260. "get": {
  5261. "security": [
  5262. {
  5263. "ApiKeyAuth": []
  5264. }
  5265. ],
  5266. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5267. "produces": [
  5268. "application/json"
  5269. ],
  5270. "tags": [
  5271. "通用交易"
  5272. ],
  5273. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  5274. "parameters": [
  5275. {
  5276. "type": "integer",
  5277. "description": "页码",
  5278. "name": "page",
  5279. "in": "query"
  5280. },
  5281. {
  5282. "type": "integer",
  5283. "description": "每页条数",
  5284. "name": "pagesize",
  5285. "in": "query"
  5286. },
  5287. {
  5288. "type": "integer",
  5289. "description": "商品ID",
  5290. "name": "goodsID",
  5291. "in": "query",
  5292. "required": true
  5293. },
  5294. {
  5295. "type": "string",
  5296. "description": "所属账户名称",
  5297. "name": "accountName",
  5298. "in": "query"
  5299. },
  5300. {
  5301. "type": "integer",
  5302. "description": "市场ID",
  5303. "name": "marketID",
  5304. "in": "query"
  5305. },
  5306. {
  5307. "type": "integer",
  5308. "description": "方向 - 0:买 1:卖",
  5309. "name": "buyorsell",
  5310. "in": "query",
  5311. "required": true
  5312. }
  5313. ],
  5314. "responses": {
  5315. "200": {
  5316. "description": "OK",
  5317. "schema": {
  5318. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  5319. }
  5320. },
  5321. "500": {
  5322. "description": "Internal Server Error",
  5323. "schema": {
  5324. "$ref": "#/definitions/app.Response"
  5325. }
  5326. }
  5327. }
  5328. }
  5329. },
  5330. "/User/AddMessageBoard": {
  5331. "post": {
  5332. "security": [
  5333. {
  5334. "ApiKeyAuth": []
  5335. }
  5336. ],
  5337. "produces": [
  5338. "application/json"
  5339. ],
  5340. "tags": [
  5341. "用户信息"
  5342. ],
  5343. "summary": "添加用户留言板信息",
  5344. "parameters": [
  5345. {
  5346. "type": "integer",
  5347. "description": "用户ID",
  5348. "name": "userID",
  5349. "in": "query",
  5350. "required": true
  5351. },
  5352. {
  5353. "type": "string",
  5354. "description": "留言信息",
  5355. "name": "message",
  5356. "in": "query",
  5357. "required": true
  5358. }
  5359. ],
  5360. "responses": {
  5361. "200": {
  5362. "description": "OK",
  5363. "schema": {
  5364. "$ref": "#/definitions/app.Response"
  5365. }
  5366. },
  5367. "500": {
  5368. "description": "Internal Server Error",
  5369. "schema": {
  5370. "$ref": "#/definitions/app.Response"
  5371. }
  5372. }
  5373. }
  5374. }
  5375. },
  5376. "/User/AddUserFavoriteGoods": {
  5377. "post": {
  5378. "security": [
  5379. {
  5380. "ApiKeyAuth": []
  5381. }
  5382. ],
  5383. "produces": [
  5384. "application/json"
  5385. ],
  5386. "tags": [
  5387. "用户信息"
  5388. ],
  5389. "summary": "添加用户商品收藏信息",
  5390. "parameters": [
  5391. {
  5392. "type": "integer",
  5393. "description": "用户ID",
  5394. "name": "userID",
  5395. "in": "query",
  5396. "required": true
  5397. },
  5398. {
  5399. "type": "integer",
  5400. "description": "商品ID",
  5401. "name": "goodsID",
  5402. "in": "query",
  5403. "required": true
  5404. }
  5405. ],
  5406. "responses": {
  5407. "200": {
  5408. "description": "OK",
  5409. "schema": {
  5410. "$ref": "#/definitions/app.Response"
  5411. }
  5412. },
  5413. "500": {
  5414. "description": "Internal Server Error",
  5415. "schema": {
  5416. "$ref": "#/definitions/app.Response"
  5417. }
  5418. }
  5419. }
  5420. }
  5421. },
  5422. "/User/GetLoginID": {
  5423. "get": {
  5424. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  5425. "produces": [
  5426. "application/json"
  5427. ],
  5428. "tags": [
  5429. "用户信息"
  5430. ],
  5431. "summary": "获取登录ID",
  5432. "parameters": [
  5433. {
  5434. "type": "string",
  5435. "description": "登录代码",
  5436. "name": "username",
  5437. "in": "query",
  5438. "required": true
  5439. }
  5440. ],
  5441. "responses": {
  5442. "200": {
  5443. "description": "OK",
  5444. "schema": {
  5445. "$ref": "#/definitions/app.Response"
  5446. }
  5447. },
  5448. "500": {
  5449. "description": "Internal Server Error",
  5450. "schema": {
  5451. "$ref": "#/definitions/app.Response"
  5452. }
  5453. }
  5454. }
  5455. }
  5456. },
  5457. "/User/GetUserAccount": {
  5458. "get": {
  5459. "security": [
  5460. {
  5461. "ApiKeyAuth": []
  5462. }
  5463. ],
  5464. "produces": [
  5465. "application/json"
  5466. ],
  5467. "tags": [
  5468. "用户信息"
  5469. ],
  5470. "summary": "获取用户账号信息",
  5471. "parameters": [
  5472. {
  5473. "type": "integer",
  5474. "description": "用户ID",
  5475. "name": "userID",
  5476. "in": "query",
  5477. "required": true
  5478. }
  5479. ],
  5480. "responses": {
  5481. "200": {
  5482. "description": "OK",
  5483. "schema": {
  5484. "$ref": "#/definitions/models.Useraccount"
  5485. }
  5486. },
  5487. "500": {
  5488. "description": "Internal Server Error",
  5489. "schema": {
  5490. "$ref": "#/definitions/app.Response"
  5491. }
  5492. }
  5493. }
  5494. }
  5495. },
  5496. "/User/GetUserAuthStatus": {
  5497. "get": {
  5498. "security": [
  5499. {
  5500. "ApiKeyAuth": []
  5501. }
  5502. ],
  5503. "produces": [
  5504. "application/json"
  5505. ],
  5506. "tags": [
  5507. "用户信息"
  5508. ],
  5509. "summary": "获取用户实名认证状态",
  5510. "parameters": [
  5511. {
  5512. "type": "integer",
  5513. "description": "用户ID",
  5514. "name": "userID",
  5515. "in": "query",
  5516. "required": true
  5517. }
  5518. ],
  5519. "responses": {
  5520. "200": {
  5521. "description": "OK",
  5522. "schema": {
  5523. "$ref": "#/definitions/app.Response"
  5524. }
  5525. },
  5526. "500": {
  5527. "description": "Internal Server Error",
  5528. "schema": {
  5529. "$ref": "#/definitions/app.Response"
  5530. }
  5531. }
  5532. }
  5533. }
  5534. },
  5535. "/User/QueryMessageBoard": {
  5536. "get": {
  5537. "security": [
  5538. {
  5539. "ApiKeyAuth": []
  5540. }
  5541. ],
  5542. "produces": [
  5543. "application/json"
  5544. ],
  5545. "tags": [
  5546. "用户信息"
  5547. ],
  5548. "summary": "获取用户留言板信息",
  5549. "parameters": [
  5550. {
  5551. "type": "integer",
  5552. "description": "用户ID",
  5553. "name": "userID",
  5554. "in": "query",
  5555. "required": true
  5556. }
  5557. ],
  5558. "responses": {
  5559. "200": {
  5560. "description": "OK",
  5561. "schema": {
  5562. "$ref": "#/definitions/models.Messageboard"
  5563. }
  5564. },
  5565. "500": {
  5566. "description": "Internal Server Error",
  5567. "schema": {
  5568. "$ref": "#/definitions/app.Response"
  5569. }
  5570. }
  5571. }
  5572. }
  5573. },
  5574. "/User/QueryUserFavoriteGoodses": {
  5575. "get": {
  5576. "security": [
  5577. {
  5578. "ApiKeyAuth": []
  5579. }
  5580. ],
  5581. "produces": [
  5582. "application/json"
  5583. ],
  5584. "tags": [
  5585. "用户信息"
  5586. ],
  5587. "summary": "获取用户商品收藏信息",
  5588. "parameters": [
  5589. {
  5590. "type": "integer",
  5591. "description": "用户ID",
  5592. "name": "userID",
  5593. "in": "query",
  5594. "required": true
  5595. }
  5596. ],
  5597. "responses": {
  5598. "200": {
  5599. "description": "OK",
  5600. "schema": {
  5601. "$ref": "#/definitions/models.Userfavoritegoods"
  5602. }
  5603. },
  5604. "500": {
  5605. "description": "Internal Server Error",
  5606. "schema": {
  5607. "$ref": "#/definitions/app.Response"
  5608. }
  5609. }
  5610. }
  5611. }
  5612. },
  5613. "/User/QueryUserInfo": {
  5614. "get": {
  5615. "security": [
  5616. {
  5617. "ApiKeyAuth": []
  5618. }
  5619. ],
  5620. "produces": [
  5621. "application/json"
  5622. ],
  5623. "tags": [
  5624. "用户信息"
  5625. ],
  5626. "summary": "获取用户信息",
  5627. "parameters": [
  5628. {
  5629. "type": "integer",
  5630. "description": "用户ID",
  5631. "name": "userID",
  5632. "in": "query",
  5633. "required": true
  5634. }
  5635. ],
  5636. "responses": {
  5637. "200": {
  5638. "description": "OK",
  5639. "schema": {
  5640. "$ref": "#/definitions/models.Userinfo"
  5641. }
  5642. },
  5643. "500": {
  5644. "description": "Internal Server Error",
  5645. "schema": {
  5646. "$ref": "#/definitions/app.Response"
  5647. }
  5648. }
  5649. }
  5650. }
  5651. },
  5652. "/User/QueryUserReferNum": {
  5653. "get": {
  5654. "produces": [
  5655. "application/json"
  5656. ],
  5657. "tags": [
  5658. "用户信息"
  5659. ],
  5660. "summary": "获取用户邀请码",
  5661. "parameters": [
  5662. {
  5663. "type": "integer",
  5664. "description": "用户ID",
  5665. "name": "userID",
  5666. "in": "query",
  5667. "required": true
  5668. }
  5669. ],
  5670. "responses": {
  5671. "200": {
  5672. "description": "OK",
  5673. "schema": {
  5674. "$ref": "#/definitions/app.Response"
  5675. }
  5676. },
  5677. "500": {
  5678. "description": "Internal Server Error",
  5679. "schema": {
  5680. "$ref": "#/definitions/app.Response"
  5681. }
  5682. }
  5683. }
  5684. }
  5685. },
  5686. "/User/RemoveUserFavoriteGoods": {
  5687. "post": {
  5688. "security": [
  5689. {
  5690. "ApiKeyAuth": []
  5691. }
  5692. ],
  5693. "produces": [
  5694. "application/json"
  5695. ],
  5696. "tags": [
  5697. "用户信息"
  5698. ],
  5699. "summary": "移除用户商品收藏信息",
  5700. "parameters": [
  5701. {
  5702. "type": "integer",
  5703. "description": "用户ID",
  5704. "name": "userID",
  5705. "in": "query",
  5706. "required": true
  5707. },
  5708. {
  5709. "type": "integer",
  5710. "description": "商品ID",
  5711. "name": "goodsID",
  5712. "in": "query",
  5713. "required": true
  5714. }
  5715. ],
  5716. "responses": {
  5717. "200": {
  5718. "description": "OK",
  5719. "schema": {
  5720. "$ref": "#/definitions/app.Response"
  5721. }
  5722. },
  5723. "500": {
  5724. "description": "Internal Server Error",
  5725. "schema": {
  5726. "$ref": "#/definitions/app.Response"
  5727. }
  5728. }
  5729. }
  5730. }
  5731. },
  5732. "/User/UpdateUserAccountStatus": {
  5733. "post": {
  5734. "security": [
  5735. {
  5736. "ApiKeyAuth": []
  5737. }
  5738. ],
  5739. "produces": [
  5740. "application/json"
  5741. ],
  5742. "tags": [
  5743. "用户信息"
  5744. ],
  5745. "summary": "更新用户状态",
  5746. "parameters": [
  5747. {
  5748. "type": "integer",
  5749. "description": "用户ID",
  5750. "name": "userID",
  5751. "in": "query",
  5752. "required": true
  5753. },
  5754. {
  5755. "type": "integer",
  5756. "description": "账户状态 - 4:正常 6:注销(停用)",
  5757. "name": "accountStatus",
  5758. "in": "query",
  5759. "required": true
  5760. }
  5761. ],
  5762. "responses": {
  5763. "200": {
  5764. "description": "OK",
  5765. "schema": {
  5766. "$ref": "#/definitions/app.Response"
  5767. }
  5768. },
  5769. "500": {
  5770. "description": "Internal Server Error",
  5771. "schema": {
  5772. "$ref": "#/definitions/app.Response"
  5773. }
  5774. }
  5775. }
  5776. }
  5777. },
  5778. "/WR/GetWRCategoryInfo": {
  5779. "get": {
  5780. "produces": [
  5781. "application/json"
  5782. ],
  5783. "tags": [
  5784. "仓单服务"
  5785. ],
  5786. "summary": "获取现货分类信息",
  5787. "responses": {
  5788. "200": {
  5789. "description": "OK",
  5790. "schema": {
  5791. "$ref": "#/definitions/models.WRCategoryTree"
  5792. }
  5793. },
  5794. "500": {
  5795. "description": "Internal Server Error",
  5796. "schema": {
  5797. "$ref": "#/definitions/app.Response"
  5798. }
  5799. }
  5800. }
  5801. }
  5802. },
  5803. "/WRTrade/GetAllDeliveryGoods": {
  5804. "get": {
  5805. "security": [
  5806. {
  5807. "ApiKeyAuth": []
  5808. },
  5809. {
  5810. "ApiKeyAuth": []
  5811. }
  5812. ],
  5813. "produces": [
  5814. "application/json",
  5815. "application/json"
  5816. ],
  5817. "tags": [
  5818. "仓单贸易",
  5819. "仓单贸易"
  5820. ],
  5821. "summary": "获取带仓单分类的种类信息",
  5822. "responses": {
  5823. "200": {
  5824. "description": "OK",
  5825. "schema": {
  5826. "$ref": "#/definitions/app.Response"
  5827. }
  5828. },
  5829. "500": {
  5830. "description": "Internal Server Error",
  5831. "schema": {
  5832. "$ref": "#/definitions/app.Response"
  5833. }
  5834. }
  5835. }
  5836. }
  5837. }
  5838. },
  5839. "definitions": {
  5840. "app.Response": {
  5841. "type": "object",
  5842. "properties": {
  5843. "code": {
  5844. "type": "integer"
  5845. },
  5846. "data": {
  5847. "type": "object"
  5848. },
  5849. "msg": {
  5850. "type": "string"
  5851. },
  5852. "page": {
  5853. "description": "页码",
  5854. "type": "integer"
  5855. },
  5856. "pagesize": {
  5857. "description": "每页条数",
  5858. "type": "integer"
  5859. },
  5860. "total": {
  5861. "description": "总条数",
  5862. "type": "integer"
  5863. }
  5864. }
  5865. },
  5866. "common.QueryNoticeRsp": {
  5867. "type": "object",
  5868. "required": [
  5869. "autoid"
  5870. ],
  5871. "properties": {
  5872. "auditoruserid": {
  5873. "description": "审核人",
  5874. "type": "integer"
  5875. },
  5876. "auditremark": {
  5877. "description": "审核备注",
  5878. "type": "string"
  5879. },
  5880. "audittime": {
  5881. "description": "审核日期",
  5882. "type": "string"
  5883. },
  5884. "autoid": {
  5885. "description": "自增ID",
  5886. "type": "integer"
  5887. },
  5888. "content": {
  5889. "description": "内容",
  5890. "type": "string"
  5891. },
  5892. "createtime": {
  5893. "description": "创建时间",
  5894. "type": "string"
  5895. },
  5896. "creatorid": {
  5897. "description": "建仓人",
  5898. "type": "integer"
  5899. },
  5900. "endtime": {
  5901. "description": "结束时间",
  5902. "type": "string"
  5903. },
  5904. "istop": {
  5905. "description": "是否置顶 - 0:不置顶 1:置顶",
  5906. "type": "integer"
  5907. },
  5908. "msgiconurl": {
  5909. "description": "消息图标Url",
  5910. "type": "string"
  5911. },
  5912. "msgtype": {
  5913. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  5914. "type": "integer"
  5915. },
  5916. "publisher": {
  5917. "description": "消息发布者",
  5918. "type": "string"
  5919. },
  5920. "readed": {
  5921. "description": "是否已读",
  5922. "type": "boolean"
  5923. },
  5924. "scheduletime": {
  5925. "description": "计划发送时间",
  5926. "type": "string"
  5927. },
  5928. "sendtype": {
  5929. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  5930. "type": "integer"
  5931. },
  5932. "sentstatus": {
  5933. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  5934. "type": "integer"
  5935. },
  5936. "title": {
  5937. "description": "标题",
  5938. "type": "string"
  5939. },
  5940. "userid": {
  5941. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  5942. "type": "integer"
  5943. }
  5944. }
  5945. },
  5946. "common.QueryProvincesAndCitiesRsp": {
  5947. "type": "object",
  5948. "properties": {
  5949. "cities": {
  5950. "description": "市",
  5951. "type": "array",
  5952. "items": {
  5953. "$ref": "#/definitions/models.Division"
  5954. }
  5955. },
  5956. "province": {
  5957. "description": "省",
  5958. "type": "object",
  5959. "$ref": "#/definitions/models.Division"
  5960. }
  5961. }
  5962. },
  5963. "common.QueryTableDefineRsp": {
  5964. "type": "object",
  5965. "required": [
  5966. "tablekey"
  5967. ],
  5968. "properties": {
  5969. "columns": {
  5970. "description": "列头信息数组",
  5971. "type": "array",
  5972. "items": {
  5973. "$ref": "#/definitions/models.Tablecolumnconfig"
  5974. }
  5975. },
  5976. "remark": {
  5977. "description": "Remark",
  5978. "type": "string"
  5979. },
  5980. "tabelmenu": {
  5981. "description": "列表菜单",
  5982. "type": "string"
  5983. },
  5984. "tablekey": {
  5985. "description": "列表Key",
  5986. "type": "string"
  5987. },
  5988. "tablename": {
  5989. "description": "列表名称",
  5990. "type": "string"
  5991. },
  5992. "tabletype": {
  5993. "description": "列表类型 - 1:管理端 2:终端",
  5994. "type": "integer"
  5995. }
  5996. }
  5997. },
  5998. "common.QueryTraderMenuRsp": {
  5999. "type": "object",
  6000. "properties": {
  6001. "OperationMenu": {
  6002. "description": "功能菜单",
  6003. "type": "array",
  6004. "items": {
  6005. "$ref": "#/definitions/models.OperationPrimaryMenu"
  6006. }
  6007. },
  6008. "QuoteMenu": {
  6009. "description": "报价牌分类菜单",
  6010. "type": "array",
  6011. "items": {
  6012. "$ref": "#/definitions/models.QuotePrimaryMenu"
  6013. }
  6014. }
  6015. }
  6016. },
  6017. "cptrade.Cptradepositioncancel": {
  6018. "type": "object",
  6019. "required": [
  6020. "cancelid"
  6021. ],
  6022. "properties": {
  6023. "accountid": {
  6024. "description": "申请人账户ID",
  6025. "type": "integer"
  6026. },
  6027. "applystatus": {
  6028. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6029. "type": "integer"
  6030. },
  6031. "applytime": {
  6032. "description": "申请时间",
  6033. "type": "string"
  6034. },
  6035. "cancelid": {
  6036. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  6037. "type": "integer"
  6038. },
  6039. "cancelqty": {
  6040. "description": "注销数量",
  6041. "type": "integer"
  6042. },
  6043. "createtime": {
  6044. "description": "创建时间",
  6045. "type": "string"
  6046. },
  6047. "creatorid": {
  6048. "description": "创建人ID",
  6049. "type": "integer"
  6050. },
  6051. "creatorname": {
  6052. "description": "创建人",
  6053. "type": "string"
  6054. },
  6055. "goodscode": {
  6056. "description": "订单商品代码",
  6057. "type": "string"
  6058. },
  6059. "goodsid": {
  6060. "description": "商品ID",
  6061. "type": "integer"
  6062. },
  6063. "goodsname": {
  6064. "description": "订单商品名称",
  6065. "type": "string"
  6066. },
  6067. "goodunit": {
  6068. "description": "报价单位",
  6069. "type": "string"
  6070. },
  6071. "handlestatus": {
  6072. "description": "处理状态",
  6073. "type": "integer"
  6074. },
  6075. "marketid": {
  6076. "description": "市场ID",
  6077. "type": "integer"
  6078. },
  6079. "marketname": {
  6080. "description": "市场名称",
  6081. "type": "string"
  6082. },
  6083. "tradedate": {
  6084. "description": "交易日(yyyyMMdd)",
  6085. "type": "string"
  6086. },
  6087. "userid": {
  6088. "description": "申请人ID",
  6089. "type": "integer"
  6090. }
  6091. }
  6092. },
  6093. "cptrade.Cptradepresaleapply": {
  6094. "type": "object",
  6095. "required": [
  6096. "applyid"
  6097. ],
  6098. "properties": {
  6099. "accountid": {
  6100. "description": "申请人账户ID",
  6101. "type": "integer"
  6102. },
  6103. "applyid": {
  6104. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  6105. "type": "integer"
  6106. },
  6107. "applyremark": {
  6108. "description": "申请备注",
  6109. "type": "string"
  6110. },
  6111. "applystatus": {
  6112. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6113. "type": "integer"
  6114. },
  6115. "applytime": {
  6116. "description": "申请时间",
  6117. "type": "string"
  6118. },
  6119. "attachmenturl": {
  6120. "description": "附件地址",
  6121. "type": "string"
  6122. },
  6123. "endtime": {
  6124. "description": "预售结束时间",
  6125. "type": "string"
  6126. },
  6127. "goodscode": {
  6128. "description": "商品代码",
  6129. "type": "string"
  6130. },
  6131. "goodsid": {
  6132. "description": "商品ID",
  6133. "type": "integer"
  6134. },
  6135. "goodsname": {
  6136. "description": "商品名称",
  6137. "type": "string"
  6138. },
  6139. "goodunit": {
  6140. "description": "报价单位",
  6141. "type": "string"
  6142. },
  6143. "handlestatus": {
  6144. "description": "处理状态",
  6145. "type": "integer"
  6146. },
  6147. "marketid": {
  6148. "description": "预售市场ID",
  6149. "type": "integer"
  6150. },
  6151. "marketname": {
  6152. "description": "预售市场名称",
  6153. "type": "string"
  6154. },
  6155. "presaleqty": {
  6156. "description": "预售数量",
  6157. "type": "integer"
  6158. },
  6159. "relatedgoodscode": {
  6160. "description": "关联交易合约代码",
  6161. "type": "string"
  6162. },
  6163. "relatedgoodsid": {
  6164. "description": "关联交易合约ID",
  6165. "type": "integer"
  6166. },
  6167. "relatedgoodsname": {
  6168. "description": "关联交易合约名称",
  6169. "type": "string"
  6170. },
  6171. "starttime": {
  6172. "description": "预售开始时间",
  6173. "type": "string"
  6174. },
  6175. "tradedate": {
  6176. "description": "交易日(yyyyMMdd)",
  6177. "type": "string"
  6178. },
  6179. "trademode": {
  6180. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  6181. "type": "integer"
  6182. },
  6183. "userid": {
  6184. "description": "申请人ID",
  6185. "type": "integer"
  6186. }
  6187. }
  6188. },
  6189. "cptrade.Cptradeusergoodsdata": {
  6190. "type": "object",
  6191. "required": [
  6192. "accountid",
  6193. "goodsid"
  6194. ],
  6195. "properties": {
  6196. "EnabledQty": {
  6197. "description": "可用量",
  6198. "type": "integer"
  6199. },
  6200. "GoodsCode": {
  6201. "description": "订单商品代码",
  6202. "type": "string"
  6203. },
  6204. "GoodsName": {
  6205. "description": "订单商品名称",
  6206. "type": "string"
  6207. },
  6208. "WRStandardCode": {
  6209. "description": "仓单标准代码",
  6210. "type": "string"
  6211. },
  6212. "WRStandardName": {
  6213. "description": "仓单标准名称",
  6214. "type": "string"
  6215. },
  6216. "accountid": {
  6217. "description": "账户ID",
  6218. "type": "integer"
  6219. },
  6220. "cancelqty": {
  6221. "description": "注销量",
  6222. "type": "integer"
  6223. },
  6224. "curpresaleqty": {
  6225. "description": "当前预售量",
  6226. "type": "integer"
  6227. },
  6228. "deliveryqty": {
  6229. "description": "交割量",
  6230. "type": "integer"
  6231. },
  6232. "freezeamount": {
  6233. "description": "冻结金额",
  6234. "type": "number"
  6235. },
  6236. "goodsid": {
  6237. "description": "商品ID",
  6238. "type": "integer"
  6239. },
  6240. "goodunit": {
  6241. "description": "报价单位",
  6242. "type": "string"
  6243. },
  6244. "hasspotfreeze": {
  6245. "description": "是否有现货冻结 - 0:否 1:有",
  6246. "type": "integer"
  6247. },
  6248. "inqty": {
  6249. "description": "转入量(总数量)",
  6250. "type": "integer"
  6251. },
  6252. "marketid": {
  6253. "description": "市场ID",
  6254. "type": "integer"
  6255. },
  6256. "presaledamount": {
  6257. "description": "已预售总金额",
  6258. "type": "integer"
  6259. },
  6260. "presaledqty": {
  6261. "description": "已预售量",
  6262. "type": "integer"
  6263. },
  6264. "userid": {
  6265. "description": "用户ID",
  6266. "type": "integer"
  6267. },
  6268. "wrstandardid": {
  6269. "description": "仓单标准ID",
  6270. "type": "integer"
  6271. }
  6272. }
  6273. },
  6274. "cptrade.QueryCPTradeMyBidRsp": {
  6275. "type": "object",
  6276. "required": [
  6277. "accountid",
  6278. "goodsid",
  6279. "marketid",
  6280. "orderid",
  6281. "orderqty",
  6282. "ordertime",
  6283. "tradeprice",
  6284. "tradeqty"
  6285. ],
  6286. "properties": {
  6287. "accountid": {
  6288. "description": "账户ID[报价币种]",
  6289. "type": "integer"
  6290. },
  6291. "goodsid": {
  6292. "description": "商品ID",
  6293. "type": "integer"
  6294. },
  6295. "goodunit": {
  6296. "description": "报价单位",
  6297. "type": "string"
  6298. },
  6299. "marketid": {
  6300. "description": "市场ID",
  6301. "type": "integer"
  6302. },
  6303. "orderid": {
  6304. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6305. "type": "integer"
  6306. },
  6307. "orderprice": {
  6308. "description": "委托价格",
  6309. "type": "number"
  6310. },
  6311. "orderqty": {
  6312. "description": "委托数量",
  6313. "type": "integer"
  6314. },
  6315. "ordertime": {
  6316. "description": "委托时间",
  6317. "type": "string"
  6318. },
  6319. "ordertotalprice": {
  6320. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  6321. "type": "number"
  6322. },
  6323. "ordertotalweight": {
  6324. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  6325. "type": "integer"
  6326. },
  6327. "totaltotalprice": {
  6328. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  6329. "type": "number"
  6330. },
  6331. "tradeprice": {
  6332. "description": "成交价格",
  6333. "type": "number"
  6334. },
  6335. "tradeqty": {
  6336. "description": "成交数量",
  6337. "type": "integer"
  6338. }
  6339. }
  6340. },
  6341. "cptrade.QueryCPTradeOrderDetailRsq": {
  6342. "type": "object",
  6343. "required": [
  6344. "accountid",
  6345. "buildtype",
  6346. "buyorsell",
  6347. "goodsid",
  6348. "marketid",
  6349. "memberuserid",
  6350. "operatetype",
  6351. "orderqty",
  6352. "ordertime",
  6353. "pricemode",
  6354. "strorderid",
  6355. "tradedate",
  6356. "validtype"
  6357. ],
  6358. "properties": {
  6359. "accountid": {
  6360. "description": "账户ID[报价币种]",
  6361. "type": "integer"
  6362. },
  6363. "buildtype": {
  6364. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  6365. "type": "integer"
  6366. },
  6367. "buyorsell": {
  6368. "description": "买卖 - 0:买 1:卖",
  6369. "type": "integer"
  6370. },
  6371. "cancelorderid": {
  6372. "description": "撤单单号(撤单时填写)",
  6373. "type": "integer"
  6374. },
  6375. "cancelqty": {
  6376. "description": "撤单数量",
  6377. "type": "integer"
  6378. },
  6379. "clientordertime": {
  6380. "description": "客户端委托时间",
  6381. "type": "string"
  6382. },
  6383. "clientticket": {
  6384. "description": "客户端流水号",
  6385. "type": "string"
  6386. },
  6387. "clienttype": {
  6388. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  6389. "type": "integer"
  6390. },
  6391. "closeexchagechargevalue": {
  6392. "description": "平仓交易所手续费设置值",
  6393. "type": "number"
  6394. },
  6395. "closefeealgorithm": {
  6396. "description": "平仓手续费收取方式 1:比率 2:固定",
  6397. "type": "integer"
  6398. },
  6399. "closefreezecharge": {
  6400. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  6401. "type": "number"
  6402. },
  6403. "closememberchargevalue": {
  6404. "description": "平仓会员手续费设置值",
  6405. "type": "number"
  6406. },
  6407. "closeqty": {
  6408. "description": "平仓数量(先建后平操作 需要记录)",
  6409. "type": "integer"
  6410. },
  6411. "closetradeqty": {
  6412. "description": "平仓成交数量(先建后平操作,需要记录)",
  6413. "type": "integer"
  6414. },
  6415. "closeunfreezecharge": {
  6416. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  6417. "type": "number"
  6418. },
  6419. "delistingtype": {
  6420. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  6421. "type": "integer"
  6422. },
  6423. "freezecharge": {
  6424. "description": "冻结手续费",
  6425. "type": "number"
  6426. },
  6427. "freezemargin": {
  6428. "description": "冻结保证金(冻结交易金额)",
  6429. "type": "number"
  6430. },
  6431. "gcaccountid": {
  6432. "description": "账户ID[合约币种]",
  6433. "type": "integer"
  6434. },
  6435. "goodsid": {
  6436. "description": "商品ID",
  6437. "type": "integer"
  6438. },
  6439. "isconfirmexercise": {
  6440. "description": "是否确认行权- 0:否 1:是",
  6441. "type": "integer"
  6442. },
  6443. "ispreexercise": {
  6444. "description": "是否预申报- 0:否 1:是",
  6445. "type": "integer"
  6446. },
  6447. "listingselecttype": {
  6448. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6449. "type": "integer"
  6450. },
  6451. "marginalgorithm": {
  6452. "description": "保证金收取方式 1:比率 2:固定",
  6453. "type": "integer"
  6454. },
  6455. "marginvalue": {
  6456. "description": "即市保证金设置值",
  6457. "type": "number"
  6458. },
  6459. "marketid": {
  6460. "description": "市场ID",
  6461. "type": "integer"
  6462. },
  6463. "marketmaxsub": {
  6464. "description": "市价最大偏移范围",
  6465. "type": "number"
  6466. },
  6467. "memberuserid": {
  6468. "description": "所属会员UserID",
  6469. "type": "integer"
  6470. },
  6471. "openexchagechargevalue": {
  6472. "description": "建仓交易所手续费设置值",
  6473. "type": "number"
  6474. },
  6475. "openfeealgorithm": {
  6476. "description": "建仓手续费收取方式 1:比率 2:固定",
  6477. "type": "integer"
  6478. },
  6479. "openfreezecharge": {
  6480. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  6481. "type": "number"
  6482. },
  6483. "openmemberchargevalue": {
  6484. "description": "建仓会员手续费设置值",
  6485. "type": "number"
  6486. },
  6487. "openqty": {
  6488. "description": "开仓数量(先建后平操作,需要记录)",
  6489. "type": "integer"
  6490. },
  6491. "opentradeqty": {
  6492. "description": "开仓成交数量(先建后平操作,需要记录)",
  6493. "type": "integer"
  6494. },
  6495. "openunfreezecharge": {
  6496. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  6497. "type": "number"
  6498. },
  6499. "operatetype": {
  6500. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  6501. "type": "integer"
  6502. },
  6503. "operatorid": {
  6504. "description": "登录账号(LoginID)",
  6505. "type": "integer"
  6506. },
  6507. "optiontype": {
  6508. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6509. "type": "integer"
  6510. },
  6511. "orderprice": {
  6512. "description": "委托价格",
  6513. "type": "number"
  6514. },
  6515. "orderqty": {
  6516. "description": "委托数量",
  6517. "type": "integer"
  6518. },
  6519. "ordersrc": {
  6520. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  6521. "type": "integer"
  6522. },
  6523. "orderstatus": {
  6524. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6525. "type": "integer"
  6526. },
  6527. "ordertime": {
  6528. "description": "委托时间",
  6529. "type": "string"
  6530. },
  6531. "preexerciseprice": {
  6532. "description": "预申报价格",
  6533. "type": "number"
  6534. },
  6535. "premium": {
  6536. "description": "权利金",
  6537. "type": "number"
  6538. },
  6539. "preorderid": {
  6540. "description": "关联预埋单号(止盈止损单时填写)",
  6541. "type": "integer"
  6542. },
  6543. "pricemode": {
  6544. "description": "取价方式 - 1:市价 2: 限价",
  6545. "type": "integer"
  6546. },
  6547. "quoteid": {
  6548. "description": "报价单ID",
  6549. "type": "integer"
  6550. },
  6551. "relatedid": {
  6552. "description": "关联单号(交割单)",
  6553. "type": "integer"
  6554. },
  6555. "retcode": {
  6556. "description": "错误代码",
  6557. "type": "integer"
  6558. },
  6559. "sessionid": {
  6560. "description": "会话ID",
  6561. "type": "integer"
  6562. },
  6563. "strorderid": {
  6564. "description": "委托单号",
  6565. "type": "string"
  6566. },
  6567. "tradedate": {
  6568. "description": "交易日(yyyyMMdd)",
  6569. "type": "string"
  6570. },
  6571. "tradeproperty": {
  6572. "description": "交易属性",
  6573. "type": "integer"
  6574. },
  6575. "tradeqty": {
  6576. "description": "成交数量",
  6577. "type": "integer"
  6578. },
  6579. "unfreezecharge": {
  6580. "description": "解冻手续费",
  6581. "type": "number"
  6582. },
  6583. "unfreezemargin": {
  6584. "description": "解冻保证金",
  6585. "type": "number"
  6586. },
  6587. "updatetime": {
  6588. "description": "更新时间",
  6589. "type": "string"
  6590. },
  6591. "uuid": {
  6592. "description": "发起端唯一id",
  6593. "type": "string"
  6594. },
  6595. "validtime": {
  6596. "description": "有效期限",
  6597. "type": "string"
  6598. },
  6599. "validtype": {
  6600. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  6601. "type": "integer"
  6602. },
  6603. "volumetype": {
  6604. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  6605. "type": "integer"
  6606. }
  6607. }
  6608. },
  6609. "cptrade.QueryMyCPTradeGoodsRsp": {
  6610. "type": "object",
  6611. "required": [
  6612. "goodscode",
  6613. "goodsid",
  6614. "goodsname",
  6615. "marketid",
  6616. "relatedgoodscode",
  6617. "relatedgoodsname"
  6618. ],
  6619. "properties": {
  6620. "accountid": {
  6621. "description": "卖方账户ID",
  6622. "type": "integer"
  6623. },
  6624. "agreeunit": {
  6625. "description": "合约单位",
  6626. "type": "number"
  6627. },
  6628. "applyid": {
  6629. "description": "关联申请ID",
  6630. "type": "integer"
  6631. },
  6632. "attachmenturl": {
  6633. "description": "附件地址",
  6634. "type": "string"
  6635. },
  6636. "createtime": {
  6637. "description": "创建时间",
  6638. "type": "string"
  6639. },
  6640. "currencyid": {
  6641. "description": "报价货币ID",
  6642. "type": "integer"
  6643. },
  6644. "decimalplace": {
  6645. "description": "报价小数位",
  6646. "type": "integer"
  6647. },
  6648. "endtime": {
  6649. "description": "预售结束时间",
  6650. "type": "string"
  6651. },
  6652. "floorprice": {
  6653. "description": "底价[大宗式竞拍]",
  6654. "type": "number"
  6655. },
  6656. "goodscode": {
  6657. "description": "商品代码(预售)",
  6658. "type": "string"
  6659. },
  6660. "goodsdetail": {
  6661. "description": "详情[大宗]",
  6662. "type": "string"
  6663. },
  6664. "goodsid": {
  6665. "description": "商品ID(自增ID SEQ_GOODS)",
  6666. "type": "integer"
  6667. },
  6668. "goodsname": {
  6669. "description": "商品名称(预售)",
  6670. "type": "string"
  6671. },
  6672. "goodunit": {
  6673. "description": "报价单位",
  6674. "type": "string"
  6675. },
  6676. "goodunitid": {
  6677. "description": "报价单位ID",
  6678. "type": "integer"
  6679. },
  6680. "marketid": {
  6681. "description": "所属市场ID",
  6682. "type": "integer"
  6683. },
  6684. "marketname": {
  6685. "description": "预售市场名称",
  6686. "type": "string"
  6687. },
  6688. "presaledamount": {
  6689. "description": "已预售总金额(预售结束时更新)",
  6690. "type": "number"
  6691. },
  6692. "presaledqty": {
  6693. "description": "已预售量(预售结束时更新)",
  6694. "type": "integer"
  6695. },
  6696. "presalemode": {
  6697. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6698. "type": "integer"
  6699. },
  6700. "presaleqty": {
  6701. "description": "预售数量",
  6702. "type": "integer"
  6703. },
  6704. "refprice": {
  6705. "description": "参考价格[一口价]",
  6706. "type": "number"
  6707. },
  6708. "relatedgoodscode": {
  6709. "description": "商品代码(订单)",
  6710. "type": "string"
  6711. },
  6712. "relatedgoodsid": {
  6713. "description": "关联交易合约ID",
  6714. "type": "integer"
  6715. },
  6716. "relatedgoodsname": {
  6717. "description": "商品名称(订单)",
  6718. "type": "string"
  6719. },
  6720. "relatedmarketid": {
  6721. "description": "关联交易合约市场ID",
  6722. "type": "integer"
  6723. },
  6724. "sellstatus": {
  6725. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6726. "type": "integer"
  6727. },
  6728. "startprice": {
  6729. "description": "起拍价[大宗式竞拍]",
  6730. "type": "number"
  6731. },
  6732. "starttime": {
  6733. "description": "预售开始时间",
  6734. "type": "string"
  6735. },
  6736. "tradedate": {
  6737. "description": "交易日(yyyyMMdd)",
  6738. "type": "string"
  6739. },
  6740. "tradeprice": {
  6741. "description": "成交价[大宗]",
  6742. "type": "number"
  6743. },
  6744. "userid": {
  6745. "description": "卖方用户ID",
  6746. "type": "integer"
  6747. }
  6748. }
  6749. },
  6750. "cptrade.QueryPresaleGoodsExRsp": {
  6751. "type": "object",
  6752. "required": [
  6753. "goodsid"
  6754. ],
  6755. "properties": {
  6756. "attachmenturl": {
  6757. "description": "附件地址",
  6758. "type": "string"
  6759. },
  6760. "createtime": {
  6761. "description": "创建时间",
  6762. "type": "string"
  6763. },
  6764. "endtime": {
  6765. "description": "预售结束时间",
  6766. "type": "string"
  6767. },
  6768. "floorprice": {
  6769. "description": "底价[大宗式竞拍]",
  6770. "type": "number"
  6771. },
  6772. "goodsdetail": {
  6773. "description": "详情[大宗]",
  6774. "type": "string"
  6775. },
  6776. "goodsid": {
  6777. "description": "商品ID(预售)",
  6778. "type": "integer"
  6779. },
  6780. "goodunit": {
  6781. "description": "报价单位",
  6782. "type": "string"
  6783. },
  6784. "marketid": {
  6785. "description": "预售市场ID - 根据预售模式选择市场",
  6786. "type": "integer"
  6787. },
  6788. "presaledamount": {
  6789. "description": "已预售总金额(预售结束时更新)",
  6790. "type": "number"
  6791. },
  6792. "presaledqty": {
  6793. "description": "已预售量(预售结束时更新)",
  6794. "type": "integer"
  6795. },
  6796. "presalemode": {
  6797. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6798. "type": "integer"
  6799. },
  6800. "presaleqty": {
  6801. "description": "预售数量",
  6802. "type": "integer"
  6803. },
  6804. "refprice": {
  6805. "description": "参考价格[一口价]",
  6806. "type": "number"
  6807. },
  6808. "relatedgoodsid": {
  6809. "description": "关联交易合约ID",
  6810. "type": "integer"
  6811. },
  6812. "relatedmarketid": {
  6813. "description": "关联交易合约市场ID",
  6814. "type": "integer"
  6815. },
  6816. "sellstatus": {
  6817. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6818. "type": "integer"
  6819. },
  6820. "startprice": {
  6821. "description": "起拍价[大宗式竞拍]",
  6822. "type": "number"
  6823. },
  6824. "starttime": {
  6825. "description": "预售开始时间",
  6826. "type": "string"
  6827. },
  6828. "tradedate": {
  6829. "description": "交易日(yyyyMMdd)",
  6830. "type": "string"
  6831. },
  6832. "tradeprice": {
  6833. "description": "成交价[大宗]",
  6834. "type": "number"
  6835. }
  6836. }
  6837. },
  6838. "delivery.QueryDeliveryRelationRsp": {
  6839. "type": "object",
  6840. "required": [
  6841. "begindate",
  6842. "enddate",
  6843. "goodsid",
  6844. "mindeliveryqty",
  6845. "xdeliveryratio"
  6846. ],
  6847. "properties": {
  6848. "begindate": {
  6849. "description": "起始日期(yyyyMMdd)",
  6850. "type": "string"
  6851. },
  6852. "buytemplateid": {
  6853. "description": "买履约计划模板ID",
  6854. "type": "integer"
  6855. },
  6856. "deliverygoodscode": {
  6857. "description": "品种代码",
  6858. "type": "string"
  6859. },
  6860. "deliverygoodsid": {
  6861. "description": "交割商品",
  6862. "type": "integer"
  6863. },
  6864. "deliverygoodsname": {
  6865. "description": "品种名称",
  6866. "type": "string"
  6867. },
  6868. "deliverymode": {
  6869. "description": "交割方式 - 1:点选式 2:申报式",
  6870. "type": "integer"
  6871. },
  6872. "deliverypricerule": {
  6873. "description": "交割价规则- 1:行情价 2:建仓价",
  6874. "type": "integer"
  6875. },
  6876. "deliverytype": {
  6877. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  6878. "type": "integer"
  6879. },
  6880. "enddate": {
  6881. "description": "结束日期(yyyyMMdd)",
  6882. "type": "string"
  6883. },
  6884. "goodscode": {
  6885. "description": "商品代码",
  6886. "type": "string"
  6887. },
  6888. "goodsid": {
  6889. "description": "交易合约ID",
  6890. "type": "integer"
  6891. },
  6892. "goodsname": {
  6893. "description": "商品名称",
  6894. "type": "string"
  6895. },
  6896. "marketid": {
  6897. "description": "市场ID",
  6898. "type": "integer"
  6899. },
  6900. "mindeliveryqty": {
  6901. "description": "最小交割系数(K)",
  6902. "type": "integer"
  6903. },
  6904. "p2deliveryprice": {
  6905. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  6906. "type": "number"
  6907. },
  6908. "p2deliveryratio": {
  6909. "description": "P2合约系数(p)",
  6910. "type": "integer"
  6911. },
  6912. "p2goodsid": {
  6913. "description": "P2合约ID",
  6914. "type": "integer"
  6915. },
  6916. "p2pricemode": {
  6917. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  6918. "type": "integer"
  6919. },
  6920. "pdeliveryprice": {
  6921. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  6922. "type": "number"
  6923. },
  6924. "pdeliveryratio": {
  6925. "description": "P合约系数(n)",
  6926. "type": "integer"
  6927. },
  6928. "pgoodsid": {
  6929. "description": "P合约ID",
  6930. "type": "integer"
  6931. },
  6932. "ppricemode": {
  6933. "description": "P合约价格方式 - 1:商品价 2:固定值",
  6934. "type": "integer"
  6935. },
  6936. "rratio": {
  6937. "description": "兑换系数(R)",
  6938. "type": "integer"
  6939. },
  6940. "rratio1": {
  6941. "description": "兑换系数(交易合约)(R1)",
  6942. "type": "integer"
  6943. },
  6944. "rratio2": {
  6945. "description": "兑换系数(仓单标准)(R2)",
  6946. "type": "integer"
  6947. },
  6948. "selltemplateid": {
  6949. "description": "卖履约计划模板ID",
  6950. "type": "integer"
  6951. },
  6952. "wrstandardid": {
  6953. "description": "仓单标准ID",
  6954. "type": "integer"
  6955. },
  6956. "xdeliveryratio": {
  6957. "description": "交易合约系数(m)",
  6958. "type": "integer"
  6959. }
  6960. }
  6961. },
  6962. "ermcp.ExposureDetailRsp": {
  6963. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  6964. },
  6965. "ermcp.ExposureHedgePosDetailRsp": {
  6966. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  6967. },
  6968. "ermcp.ExposureHedgePositionRsp": {
  6969. "$ref": "#/definitions/models.ErmcpHedgePosition"
  6970. },
  6971. "ermcp.ExposureSpotDetailRsp": {
  6972. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  6973. },
  6974. "ermcp.ExposureSpotRsp": {
  6975. "$ref": "#/definitions/models.AreaSpotModel"
  6976. },
  6977. "ermcp.HisExposureRsp": {
  6978. "$ref": "#/definitions/models.ErmcpHisExposureS"
  6979. },
  6980. "ermcp.QryAvalidGPRsp": {
  6981. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  6982. },
  6983. "ermcp.QryBusinessDjRsp": {
  6984. "type": "object",
  6985. "properties": {
  6986. "amount": {
  6987. "description": "点价金额=(点价价格+升贴水)*点价数量",
  6988. "type": "number"
  6989. },
  6990. "applyid": {
  6991. "description": "申请人",
  6992. "type": "string"
  6993. },
  6994. "applyname": {
  6995. "description": "申请人名称",
  6996. "type": "string"
  6997. },
  6998. "applystatus": {
  6999. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7000. "type": "integer"
  7001. },
  7002. "applytime": {
  7003. "description": "申请时间",
  7004. "type": "string"
  7005. },
  7006. "auditname": {
  7007. "description": "审核人名称",
  7008. "type": "string"
  7009. },
  7010. "audittime": {
  7011. "description": "审核时间",
  7012. "type": "string"
  7013. },
  7014. "buyusername": {
  7015. "description": "采购方名称",
  7016. "type": "string"
  7017. },
  7018. "contractno": {
  7019. "description": "合同编号",
  7020. "type": "string"
  7021. },
  7022. "contractstatus": {
  7023. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7024. "type": "integer"
  7025. },
  7026. "contracttype": {
  7027. "description": "现货合同类型 - 1:采购 -1:销售",
  7028. "type": "integer"
  7029. },
  7030. "enumdicname": {
  7031. "description": "单位名称",
  7032. "type": "string"
  7033. },
  7034. "goodscode": {
  7035. "description": "点价合约",
  7036. "type": "string"
  7037. },
  7038. "goodsname": {
  7039. "description": "商品名称",
  7040. "type": "string"
  7041. },
  7042. "operateapplyid": {
  7043. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7044. "type": "string"
  7045. },
  7046. "operateapplytype": {
  7047. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7048. "type": "integer"
  7049. },
  7050. "pricedPrice": {
  7051. "description": "点价价格(非必填)",
  7052. "type": "number"
  7053. },
  7054. "pricedQty": {
  7055. "description": "点价数量(非必填)",
  7056. "type": "number"
  7057. },
  7058. "pricemove": {
  7059. "description": "升贴水",
  7060. "type": "number"
  7061. },
  7062. "pricetype": {
  7063. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7064. "type": "integer"
  7065. },
  7066. "relatedid": {
  7067. "description": "现货合同ID",
  7068. "type": "string"
  7069. },
  7070. "sellusername": {
  7071. "description": "销售方名字",
  7072. "type": "string"
  7073. },
  7074. "userid": {
  7075. "description": "用户ID",
  7076. "type": "integer"
  7077. }
  7078. }
  7079. },
  7080. "ermcp.QryBussinessFpRsp": {
  7081. "type": "object",
  7082. "properties": {
  7083. "applyid": {
  7084. "description": "申请人",
  7085. "type": "string"
  7086. },
  7087. "applyname": {
  7088. "description": "申请人名称",
  7089. "type": "string"
  7090. },
  7091. "applystatus": {
  7092. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7093. "type": "integer"
  7094. },
  7095. "applytime": {
  7096. "description": "申请时间",
  7097. "type": "string"
  7098. },
  7099. "auditname": {
  7100. "description": "审核人名称",
  7101. "type": "string"
  7102. },
  7103. "audittime": {
  7104. "description": "审核时间",
  7105. "type": "string"
  7106. },
  7107. "buyusername": {
  7108. "description": "采购方名称",
  7109. "type": "string"
  7110. },
  7111. "contractno": {
  7112. "description": "合同编号",
  7113. "type": "string"
  7114. },
  7115. "contractstatus": {
  7116. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7117. "type": "integer"
  7118. },
  7119. "contracttype": {
  7120. "description": "现货合同类型 - 1:采购 -1:销售",
  7121. "type": "integer"
  7122. },
  7123. "enumdicname": {
  7124. "description": "单位名称",
  7125. "type": "string"
  7126. },
  7127. "goodscode": {
  7128. "description": "点价合约",
  7129. "type": "string"
  7130. },
  7131. "goodsname": {
  7132. "description": "商品名称",
  7133. "type": "string"
  7134. },
  7135. "invoiceAmount": {
  7136. "description": "已开收票金额(销售为开票,采购为收票)",
  7137. "type": "number"
  7138. },
  7139. "operateapplyid": {
  7140. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7141. "type": "string"
  7142. },
  7143. "operateapplytype": {
  7144. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7145. "type": "integer"
  7146. },
  7147. "pricemove": {
  7148. "description": "升贴水",
  7149. "type": "number"
  7150. },
  7151. "pricetype": {
  7152. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7153. "type": "integer"
  7154. },
  7155. "relatedid": {
  7156. "description": "现货合同ID",
  7157. "type": "string"
  7158. },
  7159. "sellusername": {
  7160. "description": "销售方名字",
  7161. "type": "string"
  7162. },
  7163. "userid": {
  7164. "description": "用户ID",
  7165. "type": "integer"
  7166. }
  7167. }
  7168. },
  7169. "ermcp.QryBussinessJsExRsp": {
  7170. "type": "object",
  7171. "properties": {
  7172. "applyid": {
  7173. "description": "申请人",
  7174. "type": "string"
  7175. },
  7176. "applyname": {
  7177. "description": "申请人名称",
  7178. "type": "string"
  7179. },
  7180. "applystatus": {
  7181. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7182. "type": "integer"
  7183. },
  7184. "applytime": {
  7185. "description": "申请时间",
  7186. "type": "string"
  7187. },
  7188. "auditname": {
  7189. "description": "审核人名称",
  7190. "type": "string"
  7191. },
  7192. "audittime": {
  7193. "description": "审核时间",
  7194. "type": "string"
  7195. },
  7196. "buyusername": {
  7197. "description": "采购方名称",
  7198. "type": "string"
  7199. },
  7200. "contractno": {
  7201. "description": "合同编号",
  7202. "type": "string"
  7203. },
  7204. "contractstatus": {
  7205. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7206. "type": "integer"
  7207. },
  7208. "contracttype": {
  7209. "description": "现货合同类型 - 1:采购 -1:销售",
  7210. "type": "integer"
  7211. },
  7212. "enumdicname": {
  7213. "description": "单位名称",
  7214. "type": "string"
  7215. },
  7216. "goodscode": {
  7217. "description": "点价合约",
  7218. "type": "string"
  7219. },
  7220. "goodsname": {
  7221. "description": "商品名称",
  7222. "type": "string"
  7223. },
  7224. "operateapplyid": {
  7225. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7226. "type": "string"
  7227. },
  7228. "operateapplytype": {
  7229. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7230. "type": "integer"
  7231. },
  7232. "pricemove": {
  7233. "description": "升贴水",
  7234. "type": "number"
  7235. },
  7236. "pricetype": {
  7237. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7238. "type": "integer"
  7239. },
  7240. "reckontype": {
  7241. "description": "结算类型",
  7242. "type": "string"
  7243. },
  7244. "reckonvalue": {
  7245. "description": "值",
  7246. "type": "number"
  7247. },
  7248. "relatedid": {
  7249. "description": "现货合同ID",
  7250. "type": "string"
  7251. },
  7252. "sellusername": {
  7253. "description": "销售方名字",
  7254. "type": "string"
  7255. },
  7256. "userid": {
  7257. "description": "用户ID",
  7258. "type": "integer"
  7259. }
  7260. }
  7261. },
  7262. "ermcp.QryBussinessJsRsp": {
  7263. "type": "object",
  7264. "properties": {
  7265. "addmargin": {
  7266. "description": "追加保证金(非必填)",
  7267. "type": "number"
  7268. },
  7269. "applyid": {
  7270. "description": "申请人",
  7271. "type": "string"
  7272. },
  7273. "applyname": {
  7274. "description": "申请人名称",
  7275. "type": "string"
  7276. },
  7277. "applystatus": {
  7278. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7279. "type": "integer"
  7280. },
  7281. "applytime": {
  7282. "description": "申请时间",
  7283. "type": "string"
  7284. },
  7285. "auditname": {
  7286. "description": "审核人名称",
  7287. "type": "string"
  7288. },
  7289. "audittime": {
  7290. "description": "审核时间",
  7291. "type": "string"
  7292. },
  7293. "buyusername": {
  7294. "description": "采购方名称",
  7295. "type": "string"
  7296. },
  7297. "contractno": {
  7298. "description": "合同编号",
  7299. "type": "string"
  7300. },
  7301. "contractstatus": {
  7302. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7303. "type": "integer"
  7304. },
  7305. "contracttype": {
  7306. "description": "现货合同类型 - 1:采购 -1:销售",
  7307. "type": "integer"
  7308. },
  7309. "decmargin": {
  7310. "description": "减少保证金(非必填)",
  7311. "type": "number"
  7312. },
  7313. "enumdicname": {
  7314. "description": "单位名称",
  7315. "type": "string"
  7316. },
  7317. "goodscode": {
  7318. "description": "点价合约",
  7319. "type": "string"
  7320. },
  7321. "goodsname": {
  7322. "description": "商品名称",
  7323. "type": "string"
  7324. },
  7325. "operateapplyid": {
  7326. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7327. "type": "string"
  7328. },
  7329. "operateapplytype": {
  7330. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7331. "type": "integer"
  7332. },
  7333. "pricemove": {
  7334. "description": "升贴水",
  7335. "type": "number"
  7336. },
  7337. "pricetype": {
  7338. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7339. "type": "integer"
  7340. },
  7341. "reckonadjustamount": {
  7342. "description": "结算调整金额(非必填)",
  7343. "type": "number"
  7344. },
  7345. "reckonosamount": {
  7346. "description": "结算溢短金额(非必填)",
  7347. "type": "number"
  7348. },
  7349. "reckonotheramount": {
  7350. "description": "结算其他费用(非必填)",
  7351. "type": "number"
  7352. },
  7353. "reckonrealqty": {
  7354. "description": "结算实际数量(非必填)",
  7355. "type": "number"
  7356. },
  7357. "relatedid": {
  7358. "description": "现货合同ID",
  7359. "type": "string"
  7360. },
  7361. "sellusername": {
  7362. "description": "销售方名字",
  7363. "type": "string"
  7364. },
  7365. "userid": {
  7366. "description": "用户ID",
  7367. "type": "integer"
  7368. }
  7369. }
  7370. },
  7371. "ermcp.QryBussinessKxRsp": {
  7372. "type": "object",
  7373. "properties": {
  7374. "applyid": {
  7375. "description": "申请人",
  7376. "type": "string"
  7377. },
  7378. "applyname": {
  7379. "description": "申请人名称",
  7380. "type": "string"
  7381. },
  7382. "applystatus": {
  7383. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7384. "type": "integer"
  7385. },
  7386. "applytime": {
  7387. "description": "申请时间",
  7388. "type": "string"
  7389. },
  7390. "auditname": {
  7391. "description": "审核人名称",
  7392. "type": "string"
  7393. },
  7394. "audittime": {
  7395. "description": "审核时间",
  7396. "type": "string"
  7397. },
  7398. "buyusername": {
  7399. "description": "采购方名称",
  7400. "type": "string"
  7401. },
  7402. "contractno": {
  7403. "description": "合同编号",
  7404. "type": "string"
  7405. },
  7406. "contractstatus": {
  7407. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7408. "type": "integer"
  7409. },
  7410. "contracttype": {
  7411. "description": "现货合同类型 - 1:采购 -1:销售",
  7412. "type": "integer"
  7413. },
  7414. "deductamount": {
  7415. "description": "退款(非必填)",
  7416. "type": "number"
  7417. },
  7418. "enumdicname": {
  7419. "description": "单位名称",
  7420. "type": "string"
  7421. },
  7422. "goodscode": {
  7423. "description": "点价合约",
  7424. "type": "string"
  7425. },
  7426. "goodsname": {
  7427. "description": "商品名称",
  7428. "type": "string"
  7429. },
  7430. "kxtype": {
  7431. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  7432. "type": "integer"
  7433. },
  7434. "operateapplyid": {
  7435. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7436. "type": "string"
  7437. },
  7438. "operateapplytype": {
  7439. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7440. "type": "integer"
  7441. },
  7442. "payamount": {
  7443. "description": "收付款(非必填)",
  7444. "type": "number"
  7445. },
  7446. "pricemove": {
  7447. "description": "升贴水",
  7448. "type": "number"
  7449. },
  7450. "pricetype": {
  7451. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7452. "type": "integer"
  7453. },
  7454. "relatedid": {
  7455. "description": "现货合同ID",
  7456. "type": "string"
  7457. },
  7458. "sellusername": {
  7459. "description": "销售方名字",
  7460. "type": "string"
  7461. },
  7462. "userid": {
  7463. "description": "用户ID",
  7464. "type": "integer"
  7465. }
  7466. }
  7467. },
  7468. "ermcp.QryErmcpRsp": {
  7469. "$ref": "#/definitions/models.ErmcpModel"
  7470. },
  7471. "ermcp.QryGGCovertCfgRsp": {
  7472. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  7473. },
  7474. "ermcp.QryHedgePlanRsp": {
  7475. "$ref": "#/definitions/models.ErmcpHedgePlan"
  7476. },
  7477. "ermcp.QryMGChangeLogRsp": {
  7478. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  7479. },
  7480. "ermcp.QryMiddleGoodsDetailRsp": {
  7481. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  7482. },
  7483. "ermcp.QryMiddleGoodsRsp": {
  7484. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  7485. },
  7486. "ermcp.QryOPLogRsp": {
  7487. "$ref": "#/definitions/models.ErmcpOPLogModel"
  7488. },
  7489. "ermcp.QryReportDaySpotDetailRsp": {
  7490. "$ref": "#/definitions/models.ErmcpReportOPLog"
  7491. },
  7492. "ermcp.QryReportExposureDayRsp": {
  7493. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  7494. },
  7495. "ermcp.QryReportFinanceDayRsp": {
  7496. "$ref": "#/definitions/models.ErmcpReportDayFR"
  7497. },
  7498. "ermcp.QryReportFinanceKxRsp": {
  7499. "$ref": "#/definitions/models.ErmcpReportOPLog"
  7500. },
  7501. "ermcp.QryReportFinanceMonRsp": {
  7502. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  7503. },
  7504. "ermcp.QryReportSpotDayRsp": {
  7505. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  7506. },
  7507. "ermcp.QryReportSpotMonRsp": {
  7508. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  7509. },
  7510. "ermcp.QryReportSpotMonthDetailRsp": {
  7511. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  7512. },
  7513. "ermcp.QrySpotContractRsp": {
  7514. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  7515. },
  7516. "ermcp.QryUserInfoRsp": {
  7517. "$ref": "#/definitions/models.ErmcpUserModel"
  7518. },
  7519. "ermcp.QryWrStandardDetailRsp": {
  7520. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  7521. },
  7522. "ermcp.QryWrStandardRsp": {
  7523. "$ref": "#/definitions/models.ErmcpWrstandard"
  7524. },
  7525. "ermcp.RealtimeExposurePositionRsp": {
  7526. "$ref": "#/definitions/models.ErmcpExposurePostion"
  7527. },
  7528. "ermcp.RealtimeExposureRsp": {
  7529. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  7530. },
  7531. "erms2.QueryArbitrageStrategyRsp": {
  7532. "type": "object",
  7533. "required": [
  7534. "asapplyid"
  7535. ],
  7536. "properties": {
  7537. "applybasis": {
  7538. "description": "申请基差",
  7539. "type": "number"
  7540. },
  7541. "asapplyid": {
  7542. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  7543. "type": "string"
  7544. },
  7545. "asname": {
  7546. "description": "策略名称",
  7547. "type": "string"
  7548. },
  7549. "asno": {
  7550. "description": "策略编号",
  7551. "type": "string"
  7552. },
  7553. "basischangepl": {
  7554. "description": "基差变动损益[结算更新]",
  7555. "type": "number"
  7556. },
  7557. "biztype": {
  7558. "description": "业务类型 - 1:正向套利 -1:反向套利",
  7559. "type": "integer"
  7560. },
  7561. "closetradedate": {
  7562. "description": "完结交易日(yyyyMMdd)",
  7563. "type": "string"
  7564. },
  7565. "curbasis": {
  7566. "description": "当前基差[结算更新]",
  7567. "type": "number"
  7568. },
  7569. "deliverygoodsid": {
  7570. "description": "现货品种ID",
  7571. "type": "integer"
  7572. },
  7573. "futureavgprice": {
  7574. "description": "期货建仓均价",
  7575. "type": "number"
  7576. },
  7577. "futurecloseamount": {
  7578. "description": "期货平仓金额",
  7579. "type": "number"
  7580. },
  7581. "futurecloseqty": {
  7582. "description": "期货平仓数量",
  7583. "type": "number"
  7584. },
  7585. "futureopenamount": {
  7586. "description": "期货开仓金额",
  7587. "type": "number"
  7588. },
  7589. "futureopenqty": {
  7590. "description": "期货开仓数量",
  7591. "type": "number"
  7592. },
  7593. "futurepl": {
  7594. "description": "期货总盈亏[结算更新]",
  7595. "type": "number"
  7596. },
  7597. "futureqty": {
  7598. "description": "期货持仓数量",
  7599. "type": "number"
  7600. },
  7601. "futurequote": {
  7602. "description": "期货额度",
  7603. "type": "number"
  7604. },
  7605. "goodsgroupid": {
  7606. "description": "期货品种ID",
  7607. "type": "integer"
  7608. },
  7609. "marketid": {
  7610. "description": "市场ID",
  7611. "type": "integer"
  7612. },
  7613. "netexposure": {
  7614. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  7615. "type": "number"
  7616. },
  7617. "netexposurepl": {
  7618. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  7619. "type": "number"
  7620. },
  7621. "netexposurerate": {
  7622. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  7623. "type": "number"
  7624. },
  7625. "openbasis": {
  7626. "description": "建仓基差",
  7627. "type": "number"
  7628. },
  7629. "pricedspotqty": {
  7630. "description": "已定价现货数量",
  7631. "type": "number"
  7632. },
  7633. "pricedspotqtynotax": {
  7634. "description": "已定价现货不含税数量",
  7635. "type": "number"
  7636. },
  7637. "remark": {
  7638. "description": "备注",
  7639. "type": "string"
  7640. },
  7641. "spotavgprice": {
  7642. "description": "现货均价",
  7643. "type": "number"
  7644. },
  7645. "spotbuyamount": {
  7646. "description": "现货采购金额",
  7647. "type": "number"
  7648. },
  7649. "spotbuyqty": {
  7650. "description": "现货采购数量",
  7651. "type": "number"
  7652. },
  7653. "spotpl": {
  7654. "description": "现货总盈亏[结算更新]",
  7655. "type": "number"
  7656. },
  7657. "spotquota": {
  7658. "description": "现货额度",
  7659. "type": "number"
  7660. },
  7661. "spotsellamount": {
  7662. "description": "现货销售金额",
  7663. "type": "number"
  7664. },
  7665. "spotsellqty": {
  7666. "description": "现货销售数量",
  7667. "type": "number"
  7668. },
  7669. "spotusedquota": {
  7670. "description": "现货占用资金",
  7671. "type": "number"
  7672. },
  7673. "strategystatus": {
  7674. "description": "策略状态 - 0:未结束 1:已结束",
  7675. "type": "integer"
  7676. },
  7677. "totalpl": {
  7678. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  7679. "type": "number"
  7680. },
  7681. "tradedate": {
  7682. "description": "交易日(yyyyMMdd)",
  7683. "type": "string"
  7684. },
  7685. "updatetime": {
  7686. "description": "更新时间",
  7687. "type": "string"
  7688. },
  7689. "usedquota": {
  7690. "description": "已占用资金",
  7691. "type": "number"
  7692. },
  7693. "userid": {
  7694. "description": "所属机构",
  7695. "type": "integer"
  7696. }
  7697. }
  7698. },
  7699. "erms2.QueryInnerTradeDetailRsp": {
  7700. "type": "object",
  7701. "required": [
  7702. "asapplyid",
  7703. "buyorsell",
  7704. "goodscode",
  7705. "goodsgroupid",
  7706. "goodsgroupname",
  7707. "goodsname",
  7708. "tradeid"
  7709. ],
  7710. "properties": {
  7711. "accountid": {
  7712. "description": "账号ID",
  7713. "type": "integer"
  7714. },
  7715. "agreeunit": {
  7716. "description": "合约单位",
  7717. "type": "number"
  7718. },
  7719. "asapplyid": {
  7720. "description": "策略申请ID",
  7721. "type": "integer"
  7722. },
  7723. "asname": {
  7724. "description": "策略名称",
  7725. "type": "string"
  7726. },
  7727. "asno": {
  7728. "description": "策略编号",
  7729. "type": "string"
  7730. },
  7731. "buyorsell": {
  7732. "description": "方向 - 0:买 1:卖",
  7733. "type": "integer"
  7734. },
  7735. "channelbuildtype": {
  7736. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  7737. "type": "integer"
  7738. },
  7739. "closetype": {
  7740. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  7741. "type": "integer"
  7742. },
  7743. "decimalplace": {
  7744. "description": "报价小数位",
  7745. "type": "integer"
  7746. },
  7747. "detailtype": {
  7748. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  7749. "type": "integer"
  7750. },
  7751. "exexchangecode": {
  7752. "description": "外部交易所代码",
  7753. "type": "string"
  7754. },
  7755. "exexchangename": {
  7756. "description": "外部交易所名称",
  7757. "type": "string"
  7758. },
  7759. "goodscode": {
  7760. "description": "商品代码(合约)",
  7761. "type": "string"
  7762. },
  7763. "goodsgroupid": {
  7764. "description": "商品组ID(品种ID)",
  7765. "type": "integer"
  7766. },
  7767. "goodsgroupname": {
  7768. "description": "商品组名称(品种)",
  7769. "type": "string"
  7770. },
  7771. "goodsid": {
  7772. "description": "商品ID",
  7773. "type": "integer"
  7774. },
  7775. "goodsname": {
  7776. "description": "商品名称(合约)",
  7777. "type": "string"
  7778. },
  7779. "goodunit": {
  7780. "description": "报价单位",
  7781. "type": "string"
  7782. },
  7783. "marketid": {
  7784. "description": "市场ID",
  7785. "type": "integer"
  7786. },
  7787. "orderid": {
  7788. "description": "委托单号",
  7789. "type": "string"
  7790. },
  7791. "outgoodscode": {
  7792. "description": "商品代码(外部)",
  7793. "type": "string"
  7794. },
  7795. "relatedouttradeid": {
  7796. "description": "关联外部成交单ID",
  7797. "type": "string"
  7798. },
  7799. "remark": {
  7800. "description": "备注",
  7801. "type": "string"
  7802. },
  7803. "spotcontractid": {
  7804. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  7805. "type": "integer"
  7806. },
  7807. "spotcontractno": {
  7808. "description": "现货合同编号",
  7809. "type": "string"
  7810. },
  7811. "tradeid": {
  7812. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7813. "type": "string"
  7814. },
  7815. "tradeprice": {
  7816. "description": "成交价格",
  7817. "type": "number"
  7818. },
  7819. "tradeqty": {
  7820. "description": "成交数量",
  7821. "type": "integer"
  7822. },
  7823. "tradetime": {
  7824. "description": "成交时间",
  7825. "type": "string"
  7826. },
  7827. "updatetime": {
  7828. "description": "更新时间",
  7829. "type": "string"
  7830. }
  7831. }
  7832. },
  7833. "erms2.QuerySpotContractRsp": {
  7834. "type": "object",
  7835. "required": [
  7836. "spotcontractid"
  7837. ],
  7838. "properties": {
  7839. "accountid": {
  7840. "description": "资金账户ID",
  7841. "type": "integer"
  7842. },
  7843. "areauserid": {
  7844. "description": "所属机构",
  7845. "type": "integer"
  7846. },
  7847. "closedate": {
  7848. "description": "终止日期",
  7849. "type": "string"
  7850. },
  7851. "closeremark": {
  7852. "description": "结束备注",
  7853. "type": "string"
  7854. },
  7855. "closetradedate": {
  7856. "description": "完结交易日(yyyyMMdd)",
  7857. "type": "string"
  7858. },
  7859. "closetype": {
  7860. "description": "终止类型 - 1:违约 2:提前终止",
  7861. "type": "integer"
  7862. },
  7863. "contractamount": {
  7864. "description": "合同金额",
  7865. "type": "number"
  7866. },
  7867. "contractattachment": {
  7868. "description": "合同附件",
  7869. "type": "string"
  7870. },
  7871. "contractno": {
  7872. "description": "现货合同编号",
  7873. "type": "string"
  7874. },
  7875. "contractqty": {
  7876. "description": "合同数量(数值) (用于计算)",
  7877. "type": "number"
  7878. },
  7879. "contractqtychar": {
  7880. "description": "合同数量\\已订价数量 (用于显示)",
  7881. "type": "string"
  7882. },
  7883. "contractstatus": {
  7884. "description": "合同状态 - 0:未结束 1:已结束",
  7885. "type": "integer"
  7886. },
  7887. "contracttype": {
  7888. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  7889. "type": "integer"
  7890. },
  7891. "customeraccountid": {
  7892. "description": "客户资金账户ID",
  7893. "type": "integer"
  7894. },
  7895. "customeruserid": {
  7896. "description": "客户ID",
  7897. "type": "integer"
  7898. },
  7899. "deliverygoodsdesc": {
  7900. "description": "品种说明",
  7901. "type": "string"
  7902. },
  7903. "deliverygoodsid": {
  7904. "description": "现货品种ID",
  7905. "type": "integer"
  7906. },
  7907. "handlestatus": {
  7908. "description": "处理状态",
  7909. "type": "integer"
  7910. },
  7911. "invoiceatt": {
  7912. "description": "发票附件",
  7913. "type": "string"
  7914. },
  7915. "invoicedatetime": {
  7916. "description": "开收票更新时间",
  7917. "type": "string"
  7918. },
  7919. "invoiceopentime": {
  7920. "description": "开票时间",
  7921. "type": "string"
  7922. },
  7923. "invoiceremark": {
  7924. "description": "发票备注",
  7925. "type": "string"
  7926. },
  7927. "invoicestatus": {
  7928. "description": "开收票状态 - 0:未开票 1:已开票",
  7929. "type": "integer"
  7930. },
  7931. "lastdate": {
  7932. "description": "交货时间",
  7933. "type": "string"
  7934. },
  7935. "marketid": {
  7936. "description": "市场ID",
  7937. "type": "integer"
  7938. },
  7939. "paydatetime": {
  7940. "description": "收付款更新时间",
  7941. "type": "string"
  7942. },
  7943. "payremark": {
  7944. "description": "收付款备注",
  7945. "type": "string"
  7946. },
  7947. "paystatus": {
  7948. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  7949. "type": "integer"
  7950. },
  7951. "positionqty": {
  7952. "description": "头寸数量 - 合同数量去小数部分",
  7953. "type": "integer"
  7954. },
  7955. "producttype": {
  7956. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7957. "type": "integer"
  7958. },
  7959. "relatedqty": {
  7960. "description": "已关联数量",
  7961. "type": "number"
  7962. },
  7963. "relatedstatus": {
  7964. "description": "关联完结状态 - 0:未结束 1:已结束",
  7965. "type": "integer"
  7966. },
  7967. "remark": {
  7968. "description": "备注",
  7969. "type": "string"
  7970. },
  7971. "signdate": {
  7972. "description": "签订日期",
  7973. "type": "string"
  7974. },
  7975. "spotcontractid": {
  7976. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  7977. "type": "string"
  7978. },
  7979. "spotdatetime": {
  7980. "description": "收发货更新时间",
  7981. "type": "string"
  7982. },
  7983. "spotprice": {
  7984. "description": "价格",
  7985. "type": "number"
  7986. },
  7987. "spotremark": {
  7988. "description": "收发货备注",
  7989. "type": "string"
  7990. },
  7991. "spotstatus": {
  7992. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  7993. "type": "integer"
  7994. },
  7995. "tradedate": {
  7996. "description": "交易日(yyyyMMdd)",
  7997. "type": "string"
  7998. },
  7999. "userid": {
  8000. "description": "业务员用户ID",
  8001. "type": "integer"
  8002. },
  8003. "warehouseid": {
  8004. "description": "仓库ID",
  8005. "type": "integer"
  8006. },
  8007. "wrfactortypeid": {
  8008. "description": "仓单要素类型ID",
  8009. "type": "integer"
  8010. },
  8011. "wrstandardid": {
  8012. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  8013. "type": "integer"
  8014. }
  8015. }
  8016. },
  8017. "erms3.AddErms2ASApplyReq": {
  8018. "type": "object",
  8019. "required": [
  8020. "asapplyid"
  8021. ],
  8022. "properties": {
  8023. "applybasis": {
  8024. "description": "申请基差",
  8025. "type": "number"
  8026. },
  8027. "applystatus": {
  8028. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  8029. "type": "integer"
  8030. },
  8031. "asapplyid": {
  8032. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  8033. "type": "integer"
  8034. },
  8035. "asname": {
  8036. "description": "策略名称",
  8037. "type": "string"
  8038. },
  8039. "asno": {
  8040. "description": "策略编号",
  8041. "type": "string"
  8042. },
  8043. "auditid": {
  8044. "description": "审核人",
  8045. "type": "integer"
  8046. },
  8047. "auditremark": {
  8048. "description": "审核备注",
  8049. "type": "string"
  8050. },
  8051. "audittime": {
  8052. "description": "审核时间",
  8053. "type": "string"
  8054. },
  8055. "biztype": {
  8056. "description": "业务类型 - 1:正向套利 2:反向套利",
  8057. "type": "integer"
  8058. },
  8059. "createtime": {
  8060. "description": "创建时间",
  8061. "type": "string"
  8062. },
  8063. "creatorid": {
  8064. "description": "创建人",
  8065. "type": "integer"
  8066. },
  8067. "deliverygoodsid": {
  8068. "description": "现货品种ID",
  8069. "type": "integer"
  8070. },
  8071. "futurequote": {
  8072. "description": "期货额度",
  8073. "type": "number"
  8074. },
  8075. "goodsgroupid": {
  8076. "description": "期货品种ID",
  8077. "type": "integer"
  8078. },
  8079. "marketid": {
  8080. "description": "市场ID",
  8081. "type": "integer"
  8082. },
  8083. "remark": {
  8084. "description": "备注",
  8085. "type": "string"
  8086. },
  8087. "spotquota": {
  8088. "description": "现货额度",
  8089. "type": "number"
  8090. },
  8091. "tradedate": {
  8092. "description": "交易日(yyyyMMdd)",
  8093. "type": "string"
  8094. },
  8095. "userid": {
  8096. "description": "所属机构",
  8097. "type": "integer"
  8098. }
  8099. }
  8100. },
  8101. "erms3.AddErms2SpotTradeApplyReq": {
  8102. "type": "object",
  8103. "required": [
  8104. "spottradeid"
  8105. ],
  8106. "properties": {
  8107. "applyjsondetail": {
  8108. "description": "申请明细(JSON)",
  8109. "type": "string"
  8110. },
  8111. "applystatus": {
  8112. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  8113. "type": "integer"
  8114. },
  8115. "areauserid": {
  8116. "description": "所属机构",
  8117. "type": "integer"
  8118. },
  8119. "auditid": {
  8120. "description": "审核人",
  8121. "type": "integer"
  8122. },
  8123. "auditremark": {
  8124. "description": "审核备注",
  8125. "type": "string"
  8126. },
  8127. "audittime": {
  8128. "description": "审核时间",
  8129. "type": "string"
  8130. },
  8131. "createtime": {
  8132. "description": "创建时间",
  8133. "type": "string"
  8134. },
  8135. "creatorid": {
  8136. "description": "创建人",
  8137. "type": "integer"
  8138. },
  8139. "deliverygoodsid": {
  8140. "description": "现货品种ID",
  8141. "type": "integer"
  8142. },
  8143. "futureaccountid": {
  8144. "description": "期货资金账户",
  8145. "type": "integer"
  8146. },
  8147. "goodsgroupid": {
  8148. "description": "期货品种",
  8149. "type": "integer"
  8150. },
  8151. "marketid": {
  8152. "description": "市场ID",
  8153. "type": "integer"
  8154. },
  8155. "remark": {
  8156. "description": "备注",
  8157. "type": "string"
  8158. },
  8159. "spotaccountid": {
  8160. "description": "现货资金账户",
  8161. "type": "integer"
  8162. },
  8163. "spottradeid": {
  8164. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  8165. "type": "integer"
  8166. },
  8167. "spottradename": {
  8168. "description": "业务名称",
  8169. "type": "string"
  8170. },
  8171. "spottradeno": {
  8172. "description": "业务编号",
  8173. "type": "string"
  8174. },
  8175. "tradedate": {
  8176. "description": "交易日(yyyyMMdd)",
  8177. "type": "string"
  8178. },
  8179. "wrstandardid": {
  8180. "description": "仓单标准ID",
  8181. "type": "integer"
  8182. }
  8183. }
  8184. },
  8185. "erms3.AddSpotContractApplyReq": {
  8186. "type": "object",
  8187. "required": [
  8188. "accountid",
  8189. "areauserid",
  8190. "contractno",
  8191. "contracttype",
  8192. "customeraccountid",
  8193. "customeruserid",
  8194. "details",
  8195. "orimargin",
  8196. "signdate"
  8197. ],
  8198. "properties": {
  8199. "accountid": {
  8200. "description": "资金账户ID",
  8201. "type": "integer"
  8202. },
  8203. "areauserid": {
  8204. "description": "所属机构",
  8205. "type": "integer"
  8206. },
  8207. "contractattachment": {
  8208. "description": "合同附件",
  8209. "type": "string"
  8210. },
  8211. "contractno": {
  8212. "description": "现货合同编号",
  8213. "type": "string"
  8214. },
  8215. "contracttype": {
  8216. "description": "现货合同类型 - 1:采购 -1:销售",
  8217. "type": "integer"
  8218. },
  8219. "creatorid": {
  8220. "description": "申请人",
  8221. "type": "integer"
  8222. },
  8223. "customeraccountid": {
  8224. "description": "客户资金账户ID",
  8225. "type": "integer"
  8226. },
  8227. "customeruserid": {
  8228. "description": "客户ID",
  8229. "type": "integer"
  8230. },
  8231. "details": {
  8232. "description": "明细",
  8233. "type": "array",
  8234. "items": {
  8235. "$ref": "#/definitions/erms3.SoptContractDetail"
  8236. }
  8237. },
  8238. "orimargin": {
  8239. "description": "初始保证金",
  8240. "type": "number"
  8241. },
  8242. "remark": {
  8243. "description": "备注",
  8244. "type": "string"
  8245. },
  8246. "signdate": {
  8247. "description": "签订日期",
  8248. "type": "string"
  8249. }
  8250. }
  8251. },
  8252. "erms3.AddSpotContractApplyRsp": {
  8253. "type": "object",
  8254. "required": [
  8255. "contractno"
  8256. ],
  8257. "properties": {
  8258. "contractno": {
  8259. "description": "现货合同编号",
  8260. "type": "string"
  8261. },
  8262. "spotcontractid": {
  8263. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  8264. "type": "integer"
  8265. }
  8266. }
  8267. },
  8268. "erms3.AddUserInfoApplyReq": {
  8269. "type": "object",
  8270. "required": [
  8271. "userid"
  8272. ],
  8273. "properties": {
  8274. "accountid": {
  8275. "description": "交易系统帐号Id (加密存储)",
  8276. "type": "integer"
  8277. },
  8278. "areacode": {
  8279. "description": "机构代码",
  8280. "type": "string"
  8281. },
  8282. "areaid": {
  8283. "description": "机构Id",
  8284. "type": "integer"
  8285. },
  8286. "attachment1": {
  8287. "description": "附件1",
  8288. "type": "string"
  8289. },
  8290. "attachment2": {
  8291. "description": "附件2",
  8292. "type": "string"
  8293. },
  8294. "attachment3": {
  8295. "description": "附件3",
  8296. "type": "string"
  8297. },
  8298. "attachment4": {
  8299. "description": "附件4",
  8300. "type": "string"
  8301. },
  8302. "attachment5": {
  8303. "description": "附件5",
  8304. "type": "string"
  8305. },
  8306. "auditedby": {
  8307. "description": "审核人",
  8308. "type": "string"
  8309. },
  8310. "auditime": {
  8311. "description": "审核时间",
  8312. "type": "string"
  8313. },
  8314. "bankaccount": {
  8315. "description": "银行帐号 (加密存储)",
  8316. "type": "string"
  8317. },
  8318. "bankaccountname": {
  8319. "description": "收款人名称",
  8320. "type": "string"
  8321. },
  8322. "bankcardbackphotourl": {
  8323. "description": "银行卡背面照地址",
  8324. "type": "string"
  8325. },
  8326. "bankcardfrontphotourl": {
  8327. "description": "银行卡正面照地址",
  8328. "type": "string"
  8329. },
  8330. "bankid": {
  8331. "description": "银行编码",
  8332. "type": "string"
  8333. },
  8334. "bankname": {
  8335. "description": "银行名称",
  8336. "type": "string"
  8337. },
  8338. "bankpictureurl": {
  8339. "description": "银行卡正面地址",
  8340. "type": "string"
  8341. },
  8342. "biznature": {
  8343. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8344. "type": "integer"
  8345. },
  8346. "bizscope": {
  8347. "description": "企业经营范围(企业)",
  8348. "type": "string"
  8349. },
  8350. "biztype": {
  8351. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  8352. "type": "integer"
  8353. },
  8354. "brokerid": {
  8355. "description": "经纪人ID(加密存储)",
  8356. "type": "string"
  8357. },
  8358. "cardaddress": {
  8359. "description": "证件地址 (加密存储)",
  8360. "type": "string"
  8361. },
  8362. "cardbackphotourl": {
  8363. "description": "背面证件照地址",
  8364. "type": "string"
  8365. },
  8366. "cardfrontphotourl": {
  8367. "description": "正面证件照地址",
  8368. "type": "string"
  8369. },
  8370. "cardnum": {
  8371. "description": "证件号码 (加密存储)",
  8372. "type": "string"
  8373. },
  8374. "cardtype": {
  8375. "description": "证件类型",
  8376. "type": "integer"
  8377. },
  8378. "cityid": {
  8379. "description": "市",
  8380. "type": "integer"
  8381. },
  8382. "company": {
  8383. "description": "公司(个人)",
  8384. "type": "string"
  8385. },
  8386. "contactcardbackphotourl": {
  8387. "description": "联系人证件背面图片地址",
  8388. "type": "string"
  8389. },
  8390. "contactcardfrontphotourl": {
  8391. "description": "联系人证件正面图片地址",
  8392. "type": "string"
  8393. },
  8394. "contactname": {
  8395. "description": "联系人",
  8396. "type": "string"
  8397. },
  8398. "countryid": {
  8399. "description": "国家",
  8400. "type": "integer"
  8401. },
  8402. "createtime": {
  8403. "description": "开户申请时间",
  8404. "type": "string"
  8405. },
  8406. "cusbankid": {
  8407. "description": "签约类型",
  8408. "type": "string"
  8409. },
  8410. "cusbankname": {
  8411. "description": "签约类型名称",
  8412. "type": "string"
  8413. },
  8414. "customername": {
  8415. "description": "客户名称(企业名称)",
  8416. "type": "string"
  8417. },
  8418. "districtid": {
  8419. "description": "地区",
  8420. "type": "integer"
  8421. },
  8422. "email": {
  8423. "description": "Email地址(加密存储)",
  8424. "type": "string"
  8425. },
  8426. "halfbodyphotourl": {
  8427. "description": "半身照地址",
  8428. "type": "string"
  8429. },
  8430. "headurl": {
  8431. "description": "头像地址",
  8432. "type": "string"
  8433. },
  8434. "ipaddress": {
  8435. "description": "IP地址",
  8436. "type": "string"
  8437. },
  8438. "isvalidate": {
  8439. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  8440. "type": "string"
  8441. },
  8442. "legalcardbackphotourl": {
  8443. "description": "法人身份证背面照地址",
  8444. "type": "string"
  8445. },
  8446. "legalcardfrontphotourl": {
  8447. "description": "法人身份证正面照地址",
  8448. "type": "string"
  8449. },
  8450. "legalpersonname": {
  8451. "description": "法人姓名(企业)",
  8452. "type": "string"
  8453. },
  8454. "logincode": {
  8455. "description": "登录帐号 (加密存储)",
  8456. "type": "string"
  8457. },
  8458. "memberareaid": {
  8459. "description": "所属会员ID",
  8460. "type": "integer"
  8461. },
  8462. "mobile2": {
  8463. "description": "手机号码[明文-尚志]",
  8464. "type": "string"
  8465. },
  8466. "mobilephone": {
  8467. "description": "手机号码 (加密存储)",
  8468. "type": "string"
  8469. },
  8470. "modifiedby": {
  8471. "description": "修改人帐号",
  8472. "type": "integer"
  8473. },
  8474. "modifiedtime": {
  8475. "description": "修改时间",
  8476. "type": "string"
  8477. },
  8478. "nickname": {
  8479. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  8480. "type": "string"
  8481. },
  8482. "openmode": {
  8483. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  8484. "type": "integer"
  8485. },
  8486. "otherurl": {
  8487. "description": "其它图片地址[使用分号分隔]",
  8488. "type": "string"
  8489. },
  8490. "postalcode": {
  8491. "description": "邮政编码",
  8492. "type": "string"
  8493. },
  8494. "provinceid": {
  8495. "description": "省",
  8496. "type": "integer"
  8497. },
  8498. "proxystatementurl": {
  8499. "description": "授权委托书",
  8500. "type": "string"
  8501. },
  8502. "qq": {
  8503. "description": "QQ(加密存储",
  8504. "type": "string"
  8505. },
  8506. "referral": {
  8507. "description": "推荐人编码",
  8508. "type": "string"
  8509. },
  8510. "remark": {
  8511. "description": "备注",
  8512. "type": "string"
  8513. },
  8514. "removebeforestatus": {
  8515. "description": "REMOVEBEFORESTATUS",
  8516. "type": "integer"
  8517. },
  8518. "sex": {
  8519. "description": "性别 - 0:女 1:男",
  8520. "type": "integer"
  8521. },
  8522. "signedstatus": {
  8523. "description": "账户一号签签约状态",
  8524. "type": "integer"
  8525. },
  8526. "signpdfurl": {
  8527. "description": "签约pdf文件",
  8528. "type": "string"
  8529. },
  8530. "subbranch": {
  8531. "description": "开户支行",
  8532. "type": "string"
  8533. },
  8534. "telphone": {
  8535. "description": "联系电话(加密存储)",
  8536. "type": "string"
  8537. },
  8538. "userid": {
  8539. "description": "用户ID(自增ID)",
  8540. "type": "integer"
  8541. },
  8542. "userinfotype": {
  8543. "description": "用户信息类型 - 1:个人 2:企业",
  8544. "type": "integer"
  8545. },
  8546. "username": {
  8547. "description": "用户姓名",
  8548. "type": "string"
  8549. },
  8550. "userstate": {
  8551. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  8552. "type": "integer"
  8553. },
  8554. "usertype": {
  8555. "description": "用户类型 - 1:投资者 2:机构",
  8556. "type": "integer"
  8557. },
  8558. "videourl": {
  8559. "description": "视频地址",
  8560. "type": "string"
  8561. },
  8562. "wechat": {
  8563. "description": "微信号 (加密存储)",
  8564. "type": "string"
  8565. }
  8566. }
  8567. },
  8568. "erms3.CustomerInfo": {
  8569. "type": "object",
  8570. "required": [
  8571. "userid"
  8572. ],
  8573. "properties": {
  8574. "accountids": {
  8575. "description": "资金账户ID列表",
  8576. "type": "array",
  8577. "items": {
  8578. "type": "integer"
  8579. }
  8580. },
  8581. "customername": {
  8582. "description": "名称(企业名称)",
  8583. "type": "string"
  8584. },
  8585. "mobile": {
  8586. "description": "手机号码",
  8587. "type": "string"
  8588. },
  8589. "userid": {
  8590. "description": "用户ID",
  8591. "type": "integer"
  8592. }
  8593. }
  8594. },
  8595. "erms3.ModifyUserInfoApplyReq": {
  8596. "type": "object",
  8597. "required": [
  8598. "userid"
  8599. ],
  8600. "properties": {
  8601. "accountid": {
  8602. "description": "交易系统帐号Id (加密存储)",
  8603. "type": "integer"
  8604. },
  8605. "areacode": {
  8606. "description": "机构代码",
  8607. "type": "string"
  8608. },
  8609. "areaid": {
  8610. "description": "机构Id",
  8611. "type": "integer"
  8612. },
  8613. "attachment1": {
  8614. "description": "附件1",
  8615. "type": "string"
  8616. },
  8617. "attachment2": {
  8618. "description": "附件2",
  8619. "type": "string"
  8620. },
  8621. "attachment3": {
  8622. "description": "附件3",
  8623. "type": "string"
  8624. },
  8625. "attachment4": {
  8626. "description": "附件4",
  8627. "type": "string"
  8628. },
  8629. "attachment5": {
  8630. "description": "附件5",
  8631. "type": "string"
  8632. },
  8633. "auditedby": {
  8634. "description": "审核人",
  8635. "type": "string"
  8636. },
  8637. "auditime": {
  8638. "description": "审核时间",
  8639. "type": "string"
  8640. },
  8641. "bankaccount": {
  8642. "description": "银行帐号 (加密存储)",
  8643. "type": "string"
  8644. },
  8645. "bankaccountname": {
  8646. "description": "收款人名称",
  8647. "type": "string"
  8648. },
  8649. "bankcardbackphotourl": {
  8650. "description": "银行卡背面照地址",
  8651. "type": "string"
  8652. },
  8653. "bankcardfrontphotourl": {
  8654. "description": "银行卡正面照地址",
  8655. "type": "string"
  8656. },
  8657. "bankid": {
  8658. "description": "银行编码",
  8659. "type": "string"
  8660. },
  8661. "bankname": {
  8662. "description": "银行名称",
  8663. "type": "string"
  8664. },
  8665. "bankpictureurl": {
  8666. "description": "银行卡正面地址",
  8667. "type": "string"
  8668. },
  8669. "biznature": {
  8670. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8671. "type": "integer"
  8672. },
  8673. "bizscope": {
  8674. "description": "企业经营范围(企业)",
  8675. "type": "string"
  8676. },
  8677. "biztype": {
  8678. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  8679. "type": "integer"
  8680. },
  8681. "brokerid": {
  8682. "description": "经纪人ID(加密存储)",
  8683. "type": "string"
  8684. },
  8685. "cardaddress": {
  8686. "description": "证件地址 (加密存储)",
  8687. "type": "string"
  8688. },
  8689. "cardbackphotourl": {
  8690. "description": "背面证件照地址",
  8691. "type": "string"
  8692. },
  8693. "cardfrontphotourl": {
  8694. "description": "正面证件照地址",
  8695. "type": "string"
  8696. },
  8697. "cardnum": {
  8698. "description": "证件号码 (加密存储)",
  8699. "type": "string"
  8700. },
  8701. "cardtype": {
  8702. "description": "证件类型",
  8703. "type": "integer"
  8704. },
  8705. "cityid": {
  8706. "description": "市",
  8707. "type": "integer"
  8708. },
  8709. "company": {
  8710. "description": "公司(个人)",
  8711. "type": "string"
  8712. },
  8713. "contactcardbackphotourl": {
  8714. "description": "联系人证件背面图片地址",
  8715. "type": "string"
  8716. },
  8717. "contactcardfrontphotourl": {
  8718. "description": "联系人证件正面图片地址",
  8719. "type": "string"
  8720. },
  8721. "contactname": {
  8722. "description": "联系人",
  8723. "type": "string"
  8724. },
  8725. "countryid": {
  8726. "description": "国家",
  8727. "type": "integer"
  8728. },
  8729. "createtime": {
  8730. "description": "开户申请时间",
  8731. "type": "string"
  8732. },
  8733. "cusbankid": {
  8734. "description": "签约类型",
  8735. "type": "string"
  8736. },
  8737. "cusbankname": {
  8738. "description": "签约类型名称",
  8739. "type": "string"
  8740. },
  8741. "customername": {
  8742. "description": "客户名称(企业名称)",
  8743. "type": "string"
  8744. },
  8745. "districtid": {
  8746. "description": "地区",
  8747. "type": "integer"
  8748. },
  8749. "email": {
  8750. "description": "Email地址(加密存储)",
  8751. "type": "string"
  8752. },
  8753. "halfbodyphotourl": {
  8754. "description": "半身照地址",
  8755. "type": "string"
  8756. },
  8757. "headurl": {
  8758. "description": "头像地址",
  8759. "type": "string"
  8760. },
  8761. "ipaddress": {
  8762. "description": "IP地址",
  8763. "type": "string"
  8764. },
  8765. "isvalidate": {
  8766. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  8767. "type": "string"
  8768. },
  8769. "legalcardbackphotourl": {
  8770. "description": "法人身份证背面照地址",
  8771. "type": "string"
  8772. },
  8773. "legalcardfrontphotourl": {
  8774. "description": "法人身份证正面照地址",
  8775. "type": "string"
  8776. },
  8777. "legalpersonname": {
  8778. "description": "法人姓名(企业)",
  8779. "type": "string"
  8780. },
  8781. "logincode": {
  8782. "description": "登录帐号 (加密存储)",
  8783. "type": "string"
  8784. },
  8785. "memberareaid": {
  8786. "description": "所属会员ID",
  8787. "type": "integer"
  8788. },
  8789. "mobile2": {
  8790. "description": "手机号码[明文-尚志]",
  8791. "type": "string"
  8792. },
  8793. "mobilephone": {
  8794. "description": "手机号码 (加密存储)",
  8795. "type": "string"
  8796. },
  8797. "modifiedby": {
  8798. "description": "修改人帐号",
  8799. "type": "integer"
  8800. },
  8801. "modifiedtime": {
  8802. "description": "修改时间",
  8803. "type": "string"
  8804. },
  8805. "nickname": {
  8806. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  8807. "type": "string"
  8808. },
  8809. "openmode": {
  8810. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  8811. "type": "integer"
  8812. },
  8813. "otherurl": {
  8814. "description": "其它图片地址[使用分号分隔]",
  8815. "type": "string"
  8816. },
  8817. "postalcode": {
  8818. "description": "邮政编码",
  8819. "type": "string"
  8820. },
  8821. "provinceid": {
  8822. "description": "省",
  8823. "type": "integer"
  8824. },
  8825. "proxystatementurl": {
  8826. "description": "授权委托书",
  8827. "type": "string"
  8828. },
  8829. "qq": {
  8830. "description": "QQ(加密存储",
  8831. "type": "string"
  8832. },
  8833. "referral": {
  8834. "description": "推荐人编码",
  8835. "type": "string"
  8836. },
  8837. "remark": {
  8838. "description": "备注",
  8839. "type": "string"
  8840. },
  8841. "removebeforestatus": {
  8842. "description": "REMOVEBEFORESTATUS",
  8843. "type": "integer"
  8844. },
  8845. "sex": {
  8846. "description": "性别 - 0:女 1:男",
  8847. "type": "integer"
  8848. },
  8849. "signedstatus": {
  8850. "description": "账户一号签签约状态",
  8851. "type": "integer"
  8852. },
  8853. "signpdfurl": {
  8854. "description": "签约pdf文件",
  8855. "type": "string"
  8856. },
  8857. "subbranch": {
  8858. "description": "开户支行",
  8859. "type": "string"
  8860. },
  8861. "telphone": {
  8862. "description": "联系电话(加密存储)",
  8863. "type": "string"
  8864. },
  8865. "userid": {
  8866. "description": "用户ID(自增ID)",
  8867. "type": "integer"
  8868. },
  8869. "userinfotype": {
  8870. "description": "用户信息类型 - 1:个人 2:企业",
  8871. "type": "integer"
  8872. },
  8873. "username": {
  8874. "description": "用户姓名",
  8875. "type": "string"
  8876. },
  8877. "userstate": {
  8878. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  8879. "type": "integer"
  8880. },
  8881. "usertype": {
  8882. "description": "用户类型 - 1:投资者 2:机构",
  8883. "type": "integer"
  8884. },
  8885. "videourl": {
  8886. "description": "视频地址",
  8887. "type": "string"
  8888. },
  8889. "wechat": {
  8890. "description": "微信号 (加密存储)",
  8891. "type": "string"
  8892. }
  8893. }
  8894. },
  8895. "erms3.QryAuditContractRsp": {
  8896. "type": "object",
  8897. "required": [
  8898. "matchcustomername",
  8899. "spotcontractid"
  8900. ],
  8901. "properties": {
  8902. "accountid": {
  8903. "description": "交易员ID",
  8904. "type": "string"
  8905. },
  8906. "applystatus": {
  8907. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  8908. "type": "integer"
  8909. },
  8910. "curdeliveryqty": {
  8911. "description": "未交收量",
  8912. "type": "integer"
  8913. },
  8914. "customername": {
  8915. "description": "采购方ID",
  8916. "type": "string"
  8917. },
  8918. "deliverygoodsid": {
  8919. "description": "品种ID",
  8920. "type": "string"
  8921. },
  8922. "deliveryqty": {
  8923. "description": "交收量",
  8924. "type": "integer"
  8925. },
  8926. "enumdicname": {
  8927. "description": "单位名称",
  8928. "type": "string"
  8929. },
  8930. "matchaccountid": {
  8931. "description": "业务员ID",
  8932. "type": "string"
  8933. },
  8934. "matchcustomername": {
  8935. "description": "销售方ID",
  8936. "type": "string"
  8937. },
  8938. "pricedqty": {
  8939. "description": "定价量",
  8940. "type": "number"
  8941. },
  8942. "signdate": {
  8943. "description": "签订日期",
  8944. "type": "string"
  8945. },
  8946. "spotcontractid": {
  8947. "description": "合同ID",
  8948. "type": "string"
  8949. },
  8950. "totaldqty": {
  8951. "description": "合同量",
  8952. "type": "number"
  8953. },
  8954. "unpricedqty": {
  8955. "description": "未定价量",
  8956. "type": "number"
  8957. },
  8958. "wrstandardname": {
  8959. "description": "商品名称",
  8960. "type": "string"
  8961. }
  8962. }
  8963. },
  8964. "erms3.QryPendingBizRsp": {
  8965. "$ref": "#/definitions/models.PendingAuditBizModel"
  8966. },
  8967. "erms3.QueryBusinessInfoRsp": {
  8968. "type": "object",
  8969. "properties": {
  8970. "businessid": {
  8971. "description": "业务ID.",
  8972. "type": "integer"
  8973. },
  8974. "buyamount": {
  8975. "description": "采购额.",
  8976. "type": "number"
  8977. },
  8978. "buyqty": {
  8979. "description": "采购量.",
  8980. "type": "string"
  8981. },
  8982. "futurepl": {
  8983. "description": "期货盈亏.",
  8984. "type": "number"
  8985. },
  8986. "futureqty": {
  8987. "description": "期货敞口.",
  8988. "type": "string"
  8989. },
  8990. "goodsid": {
  8991. "description": "商品名称/商品代码.",
  8992. "type": "string"
  8993. },
  8994. "hedgingqty": {
  8995. "description": "套保量.",
  8996. "type": "string"
  8997. },
  8998. "sellamount": {
  8999. "description": "销售额.",
  9000. "type": "number"
  9001. },
  9002. "sellqty": {
  9003. "description": "销售量.",
  9004. "type": "string"
  9005. },
  9006. "spotmarketvalue": {
  9007. "description": "现货市值.",
  9008. "type": "number"
  9009. },
  9010. "spotpl": {
  9011. "description": "浮动权益.",
  9012. "type": "number"
  9013. },
  9014. "spotqty": {
  9015. "description": "现货量.",
  9016. "type": "string"
  9017. },
  9018. "statu": {
  9019. "description": "状态,0-未结束 1-已结束.",
  9020. "type": "integer"
  9021. },
  9022. "totalpl": {
  9023. "description": "总盈亏.",
  9024. "type": "number"
  9025. },
  9026. "totalqty": {
  9027. "description": "总敞口.",
  9028. "type": "string"
  9029. },
  9030. "type": {
  9031. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  9032. "type": "integer"
  9033. }
  9034. }
  9035. },
  9036. "erms3.QuerySpotContractAppleFormRsp": {
  9037. "type": "object",
  9038. "properties": {
  9039. "goodses": {
  9040. "description": "合约列表",
  9041. "type": "array",
  9042. "items": {
  9043. "$ref": "#/definitions/models.GoodsIDAndName"
  9044. }
  9045. },
  9046. "oppositeusers": {
  9047. "description": "对方账号列表",
  9048. "type": "array",
  9049. "items": {
  9050. "$ref": "#/definitions/erms3.CustomerInfo"
  9051. }
  9052. },
  9053. "ouruser": {
  9054. "description": "我方账号",
  9055. "type": "object",
  9056. "$ref": "#/definitions/erms3.CustomerInfo"
  9057. },
  9058. "warehouseinfos": {
  9059. "description": "仓库信息列表",
  9060. "type": "array",
  9061. "items": {
  9062. "$ref": "#/definitions/models.Warehouseinfo"
  9063. }
  9064. },
  9065. "wrstandards": {
  9066. "description": "仓单标准列表",
  9067. "type": "array",
  9068. "items": {
  9069. "$ref": "#/definitions/models.WRStandardInfo"
  9070. }
  9071. }
  9072. }
  9073. },
  9074. "erms3.QuerySpotContractInfoRsp": {
  9075. "type": "object",
  9076. "properties": {
  9077. "accountid": {
  9078. "description": "表示交易员ID.",
  9079. "type": "integer"
  9080. },
  9081. "curdeliveryqty": {
  9082. "description": "表示未交收量.",
  9083. "type": "number"
  9084. },
  9085. "customername": {
  9086. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  9087. "type": "string"
  9088. },
  9089. "deliverygoodsid": {
  9090. "description": "表示品种ID.",
  9091. "type": "string"
  9092. },
  9093. "deliveryqty": {
  9094. "description": "表示交收量.",
  9095. "type": "number"
  9096. },
  9097. "matchaccountid": {
  9098. "description": "表示业务员ID.",
  9099. "type": "integer"
  9100. },
  9101. "matchcustomername": {
  9102. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  9103. "type": "string"
  9104. },
  9105. "priceqty": {
  9106. "description": "表示定价量.",
  9107. "type": "number"
  9108. },
  9109. "relatedbizid": {
  9110. "description": "表示业务ID.",
  9111. "type": "string"
  9112. },
  9113. "signdate": {
  9114. "description": "表示签订日期.",
  9115. "type": "string"
  9116. },
  9117. "spotcontractid": {
  9118. "description": "合同ID",
  9119. "type": "string"
  9120. },
  9121. "status": {
  9122. "description": "表示状态,0-履约中 1-已完成.",
  9123. "type": "integer"
  9124. },
  9125. "totalqty": {
  9126. "description": "表示合同量.",
  9127. "type": "number"
  9128. },
  9129. "unpricedqty": {
  9130. "description": "表示未定价量.",
  9131. "type": "number"
  9132. },
  9133. "wrstandardname": {
  9134. "description": "表示商品ID.",
  9135. "type": "string"
  9136. }
  9137. }
  9138. },
  9139. "erms3.QueryUserInfoAppliesRsp": {
  9140. "type": "object",
  9141. "required": [
  9142. "userid"
  9143. ],
  9144. "properties": {
  9145. "biznature": {
  9146. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9147. "type": "integer"
  9148. },
  9149. "contactname": {
  9150. "description": "联系人",
  9151. "type": "string"
  9152. },
  9153. "createtime": {
  9154. "description": "开户申请时间",
  9155. "type": "string"
  9156. },
  9157. "userid": {
  9158. "description": "用户ID(自增ID)",
  9159. "type": "integer"
  9160. },
  9161. "userinfotype": {
  9162. "description": "用户信息类型 - 1:个人 2:企业",
  9163. "type": "integer"
  9164. },
  9165. "username": {
  9166. "description": "用户姓名",
  9167. "type": "string"
  9168. },
  9169. "userstate": {
  9170. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9171. "type": "integer"
  9172. }
  9173. }
  9174. },
  9175. "erms3.QueryUserInfosRsp": {
  9176. "type": "object",
  9177. "required": [
  9178. "userid"
  9179. ],
  9180. "properties": {
  9181. "biznature": {
  9182. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9183. "type": "integer"
  9184. },
  9185. "contactname": {
  9186. "description": "联系人",
  9187. "type": "string"
  9188. },
  9189. "customername": {
  9190. "description": "客户名称(企业名称)",
  9191. "type": "string"
  9192. },
  9193. "userid": {
  9194. "description": "用户ID",
  9195. "type": "integer"
  9196. },
  9197. "userinfotype": {
  9198. "description": "用户信息类型 - 1:个人 2:企业",
  9199. "type": "integer"
  9200. },
  9201. "userstatus": {
  9202. "description": "用户状态 - 1:正常 2:注销",
  9203. "type": "integer"
  9204. }
  9205. }
  9206. },
  9207. "erms3.SoptContractDetail": {
  9208. "type": "object",
  9209. "required": [
  9210. "deliverygoodsid",
  9211. "producttype",
  9212. "unitname",
  9213. "warehouseid",
  9214. "wrstandardid",
  9215. "wrstandardname"
  9216. ],
  9217. "properties": {
  9218. "deliverygoodsdesc": {
  9219. "description": "现货品种说明",
  9220. "type": "string"
  9221. },
  9222. "deliverygoodsid": {
  9223. "description": "现货品种ID",
  9224. "type": "integer"
  9225. },
  9226. "deliverygoodsname": {
  9227. "description": "现货品种名称",
  9228. "type": "string"
  9229. },
  9230. "pointdesc": {
  9231. "description": "点价描述",
  9232. "type": "string"
  9233. },
  9234. "producttype": {
  9235. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  9236. "type": "integer"
  9237. },
  9238. "producttypename": {
  9239. "description": "产品类型名称",
  9240. "type": "string"
  9241. },
  9242. "spotPointOrderVoList": {
  9243. "description": "点价列表",
  9244. "type": "array",
  9245. "items": {
  9246. "$ref": "#/definitions/erms3.SpotPointOrder"
  9247. }
  9248. },
  9249. "spotPriceOrderList": {
  9250. "description": "定价列表",
  9251. "type": "array",
  9252. "items": {
  9253. "$ref": "#/definitions/erms3.SpotPriceOrder"
  9254. }
  9255. },
  9256. "unitname": {
  9257. "description": "单位名称",
  9258. "type": "string"
  9259. },
  9260. "warehouseid": {
  9261. "description": "仓库ID",
  9262. "type": "integer"
  9263. },
  9264. "warehousename": {
  9265. "description": "仓库名称",
  9266. "type": "string"
  9267. },
  9268. "wrstandardid": {
  9269. "description": "交易标的ID",
  9270. "type": "integer"
  9271. },
  9272. "wrstandardname": {
  9273. "description": "交易标的名称",
  9274. "type": "string"
  9275. }
  9276. }
  9277. },
  9278. "erms3.SpotPointOrder": {
  9279. "type": "object",
  9280. "required": [
  9281. "basic",
  9282. "goodsid",
  9283. "qty"
  9284. ],
  9285. "properties": {
  9286. "basic": {
  9287. "description": "基差",
  9288. "type": "number"
  9289. },
  9290. "deliveryenddate": {
  9291. "description": "交收结束日期",
  9292. "type": "string"
  9293. },
  9294. "deliverystartdate": {
  9295. "description": "交收开始日期",
  9296. "type": "string"
  9297. },
  9298. "enddate": {
  9299. "description": "点价结束日期",
  9300. "type": "string"
  9301. },
  9302. "goodsid": {
  9303. "description": "商品ID",
  9304. "type": "integer"
  9305. },
  9306. "goodsname": {
  9307. "description": "商品名称",
  9308. "type": "string"
  9309. },
  9310. "qty": {
  9311. "description": "数量",
  9312. "type": "number"
  9313. },
  9314. "startdate": {
  9315. "description": "点价开始日期",
  9316. "type": "string"
  9317. }
  9318. }
  9319. },
  9320. "erms3.SpotPriceOrder": {
  9321. "type": "object",
  9322. "required": [
  9323. "amount",
  9324. "price",
  9325. "qty"
  9326. ],
  9327. "properties": {
  9328. "amount": {
  9329. "description": "金额",
  9330. "type": "number"
  9331. },
  9332. "deliveryenddate": {
  9333. "description": "交收结束日期",
  9334. "type": "string"
  9335. },
  9336. "deliverystartdate": {
  9337. "description": "交收开始日期",
  9338. "type": "string"
  9339. },
  9340. "price": {
  9341. "description": "价格",
  9342. "type": "number"
  9343. },
  9344. "qty": {
  9345. "description": "数量",
  9346. "type": "number"
  9347. }
  9348. }
  9349. },
  9350. "hsby.GetHsbyMyCountRsp": {
  9351. "type": "object",
  9352. "properties": {
  9353. "myCouponCount": {
  9354. "description": "我的优惠卷数量",
  9355. "type": "integer"
  9356. },
  9357. "myOrderDetailListingCount": {
  9358. "description": "我的订单求购中数量",
  9359. "type": "integer"
  9360. },
  9361. "myOrderDetailPreCount": {
  9362. "description": "我的订单抢购中数量",
  9363. "type": "integer"
  9364. },
  9365. "myPackageUnReceiveCount": {
  9366. "description": "我的包裹待收货数量",
  9367. "type": "integer"
  9368. },
  9369. "myPackageUnSendCount": {
  9370. "description": "我的包裹待发货数量",
  9371. "type": "integer"
  9372. },
  9373. "myPayOrderCount": {
  9374. "description": "我的订单待付款数量",
  9375. "type": "integer"
  9376. }
  9377. }
  9378. },
  9379. "hsby.QueryProvincesAndCitiesRsp": {
  9380. "type": "object",
  9381. "properties": {
  9382. "cities": {
  9383. "description": "市",
  9384. "type": "array",
  9385. "items": {
  9386. "$ref": "#/definitions/models.Division"
  9387. }
  9388. },
  9389. "province": {
  9390. "description": "省",
  9391. "type": "object",
  9392. "$ref": "#/definitions/models.Division"
  9393. }
  9394. }
  9395. },
  9396. "models.AreaSpotModel": {
  9397. "type": "object",
  9398. "properties": {
  9399. "areauserid": {
  9400. "description": "所属机构",
  9401. "type": "integer"
  9402. },
  9403. "decreaseqty": {
  9404. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  9405. "type": "number"
  9406. },
  9407. "increaseqty": {
  9408. "description": "增加数量=销售计划数量+采购已定价数量",
  9409. "type": "number"
  9410. },
  9411. "oritoalspotqty": {
  9412. "description": "昨日数量",
  9413. "type": "number"
  9414. },
  9415. "totalspotqty": {
  9416. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  9417. "type": "number"
  9418. },
  9419. "updatetime": {
  9420. "description": "更新时间",
  9421. "type": "string"
  9422. },
  9423. "wrstandardcode": {
  9424. "description": "现货品种代码",
  9425. "type": "string"
  9426. },
  9427. "wrstandardid": {
  9428. "description": "现货商品ID",
  9429. "type": "integer"
  9430. },
  9431. "wrstandardname": {
  9432. "description": "现货品种",
  9433. "type": "string"
  9434. }
  9435. }
  9436. },
  9437. "models.Clientfixedadconfig": {
  9438. "type": "object",
  9439. "required": [
  9440. "adsort",
  9441. "adtype"
  9442. ],
  9443. "properties": {
  9444. "adsort": {
  9445. "description": "排序",
  9446. "type": "integer"
  9447. },
  9448. "adtype": {
  9449. "description": "广告位类型 - 1:新品抢购(HSBY)",
  9450. "type": "integer"
  9451. },
  9452. "areauserid": {
  9453. "description": "所属机构ID",
  9454. "type": "integer"
  9455. },
  9456. "createdate": {
  9457. "description": "创建时间",
  9458. "type": "string"
  9459. },
  9460. "creatorid": {
  9461. "description": "创建人",
  9462. "type": "integer"
  9463. },
  9464. "imagepath": {
  9465. "description": "图片",
  9466. "type": "string"
  9467. },
  9468. "isshow": {
  9469. "description": "是否展示 - 0:不展示 1:展示",
  9470. "type": "integer"
  9471. },
  9472. "modifierid": {
  9473. "description": "操作人",
  9474. "type": "integer"
  9475. },
  9476. "recsize": {
  9477. "description": "推荐尺寸",
  9478. "type": "string"
  9479. },
  9480. "title": {
  9481. "description": "标题",
  9482. "type": "string"
  9483. },
  9484. "updatedate": {
  9485. "description": "更新时间",
  9486. "type": "string"
  9487. },
  9488. "urlcontent": {
  9489. "description": "链接(地址或商品ID)",
  9490. "type": "string"
  9491. },
  9492. "urltype": {
  9493. "description": "链接类型 - 1:直接地址 2:商品ID",
  9494. "type": "integer"
  9495. }
  9496. }
  9497. },
  9498. "models.Division": {
  9499. "type": "object",
  9500. "required": [
  9501. "autoid",
  9502. "divisioncode"
  9503. ],
  9504. "properties": {
  9505. "autoid": {
  9506. "description": "自增ID",
  9507. "type": "integer"
  9508. },
  9509. "divisioncode": {
  9510. "description": "行政代码",
  9511. "type": "string"
  9512. },
  9513. "divisionlevel": {
  9514. "description": "行政级别",
  9515. "type": "string"
  9516. },
  9517. "divisionname": {
  9518. "description": "行政名称",
  9519. "type": "string"
  9520. },
  9521. "modifierid": {
  9522. "description": "修改人",
  9523. "type": "integer"
  9524. },
  9525. "modifytime": {
  9526. "description": "修改时间",
  9527. "type": "string"
  9528. },
  9529. "parentcode": {
  9530. "description": "上级行政代码",
  9531. "type": "string"
  9532. },
  9533. "pathname": {
  9534. "description": "路径名称",
  9535. "type": "string"
  9536. },
  9537. "postcode": {
  9538. "description": "邮政编码",
  9539. "type": "string"
  9540. },
  9541. "separablename": {
  9542. "description": "可拆分的全称",
  9543. "type": "string"
  9544. },
  9545. "shortcode": {
  9546. "description": "地区简码",
  9547. "type": "string"
  9548. }
  9549. }
  9550. },
  9551. "models.Enumdicitem": {
  9552. "type": "object",
  9553. "required": [
  9554. "autoid",
  9555. "enumdiccode",
  9556. "enumdicid",
  9557. "enumitemname"
  9558. ],
  9559. "properties": {
  9560. "autoid": {
  9561. "description": "自增ID",
  9562. "type": "integer"
  9563. },
  9564. "bankmappedvalue": {
  9565. "description": "银行服务对应值",
  9566. "type": "string"
  9567. },
  9568. "enumdiccode": {
  9569. "description": "所属枚举代码",
  9570. "type": "string"
  9571. },
  9572. "enumdicid": {
  9573. "description": "所属枚举ID",
  9574. "type": "integer"
  9575. },
  9576. "enumdicname": {
  9577. "description": "枚举项名称",
  9578. "type": "string"
  9579. },
  9580. "enumitemname": {
  9581. "description": "枚举项值",
  9582. "type": "integer"
  9583. },
  9584. "enumitemstatus": {
  9585. "description": "枚举项状态 - 1.启用 2.不启用",
  9586. "type": "integer"
  9587. },
  9588. "enumitemvalue": {
  9589. "description": "通用值 - [币种通用简写]",
  9590. "type": "string"
  9591. },
  9592. "param1": {
  9593. "description": "参数1[币种:币种小数位]",
  9594. "type": "string"
  9595. },
  9596. "param2": {
  9597. "description": "参数1[币种:币种显示单位]",
  9598. "type": "string"
  9599. },
  9600. "remark": {
  9601. "description": "备注",
  9602. "type": "string"
  9603. }
  9604. }
  9605. },
  9606. "models.ErmcpAreaSpotDetailModel": {
  9607. "type": "object",
  9608. "properties": {
  9609. "contracttype": {
  9610. "description": "合同类型 1-采购 -1-销售",
  9611. "type": "integer"
  9612. },
  9613. "createtime": {
  9614. "description": "创建时间",
  9615. "type": "string"
  9616. },
  9617. "enumdicname": {
  9618. "description": "现货商品单位名称",
  9619. "type": "string"
  9620. },
  9621. "logtype": {
  9622. "description": "记录类型 1-套保 2-现货合同",
  9623. "type": "integer"
  9624. },
  9625. "qty": {
  9626. "description": "数量",
  9627. "type": "number"
  9628. },
  9629. "recordname": {
  9630. "description": "类型名称",
  9631. "type": "string"
  9632. },
  9633. "relatedid": {
  9634. "description": "套保计划ID/现货合同ID",
  9635. "type": "string"
  9636. },
  9637. "relatedno": {
  9638. "description": "编号",
  9639. "type": "string"
  9640. },
  9641. "strtime": {
  9642. "description": "时间",
  9643. "type": "string"
  9644. },
  9645. "wrstandardcode": {
  9646. "description": "现货商品代码",
  9647. "type": "string"
  9648. },
  9649. "wrstandardname": {
  9650. "description": "现货商品名称",
  9651. "type": "string"
  9652. }
  9653. }
  9654. },
  9655. "models.ErmcpAvalidGoodsGroupModel": {
  9656. "type": "object",
  9657. "properties": {
  9658. "goodsgroupid": {
  9659. "description": "期货品种id",
  9660. "type": "integer"
  9661. },
  9662. "goodsgroupname": {
  9663. "description": "期货品种名称",
  9664. "type": "string"
  9665. },
  9666. "goodunitid": {
  9667. "description": "品种单位id",
  9668. "type": "integer"
  9669. },
  9670. "goodunitname": {
  9671. "description": "品种单位名称",
  9672. "type": "string"
  9673. },
  9674. "outergroupcode": {
  9675. "description": "期货品种代码",
  9676. "type": "string"
  9677. }
  9678. }
  9679. },
  9680. "models.ErmcpExposureDetailModel": {
  9681. "type": "object",
  9682. "properties": {
  9683. "areauserid": {
  9684. "description": "机构ID",
  9685. "type": "integer"
  9686. },
  9687. "changeQty": {
  9688. "description": "套保变动量",
  9689. "type": "number"
  9690. },
  9691. "contracttype": {
  9692. "description": "现货合同类型 - 1:采购 -1:销售",
  9693. "type": "integer"
  9694. },
  9695. "convertfactor": {
  9696. "description": "标仓系数",
  9697. "type": "number"
  9698. },
  9699. "convertratio": {
  9700. "description": "套保系数",
  9701. "type": "number"
  9702. },
  9703. "createtime": {
  9704. "description": "时间",
  9705. "type": "string"
  9706. },
  9707. "enumdicname": {
  9708. "description": "现货商品单位名称",
  9709. "type": "string"
  9710. },
  9711. "logtype": {
  9712. "description": "类型 - 1:套保计划 2:现货合同",
  9713. "type": "integer"
  9714. },
  9715. "middlegoodsId": {
  9716. "description": "套保商品id",
  9717. "type": "integer"
  9718. },
  9719. "middlegoodscode": {
  9720. "description": "套保商品代码",
  9721. "type": "string"
  9722. },
  9723. "middlegoodsname": {
  9724. "description": "套保商品名称",
  9725. "type": "string"
  9726. },
  9727. "qty": {
  9728. "description": "数量",
  9729. "type": "number"
  9730. },
  9731. "relateNo": {
  9732. "description": "现货合同/套保计划编号",
  9733. "type": "string"
  9734. },
  9735. "wrstandardcode": {
  9736. "description": "现货商品代码",
  9737. "type": "string"
  9738. },
  9739. "wrstandardid": {
  9740. "description": "现货商品ID",
  9741. "type": "integer"
  9742. },
  9743. "wrstandardname": {
  9744. "description": "现货商品名称",
  9745. "type": "string"
  9746. }
  9747. }
  9748. },
  9749. "models.ErmcpExposurePostion": {
  9750. "type": "object",
  9751. "properties": {
  9752. "agreeunit": {
  9753. "description": "合约单位",
  9754. "type": "string"
  9755. },
  9756. "areauserid": {
  9757. "description": "所属机构id",
  9758. "type": "integer"
  9759. },
  9760. "convertratio": {
  9761. "description": "期货品种系数(折算系数)",
  9762. "type": "number"
  9763. },
  9764. "curqty": {
  9765. "description": "当前持仓",
  9766. "type": "integer"
  9767. },
  9768. "diffhedgeqty": {
  9769. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  9770. "type": "number"
  9771. },
  9772. "diffqty": {
  9773. "description": "持仓变动量=当前持仓-昨日持仓",
  9774. "type": "integer"
  9775. },
  9776. "goodscode": {
  9777. "description": "商品代码",
  9778. "type": "string"
  9779. },
  9780. "goodsid": {
  9781. "description": "商品id",
  9782. "type": "integer"
  9783. },
  9784. "goodsname": {
  9785. "description": "商品名称",
  9786. "type": "string"
  9787. },
  9788. "middlegoodsid": {
  9789. "description": "套保商品id",
  9790. "type": "integer"
  9791. },
  9792. "ydqty": {
  9793. "description": "昨日持仓",
  9794. "type": "integer"
  9795. }
  9796. }
  9797. },
  9798. "models.ErmcpGGConvertCfg": {
  9799. "type": "object",
  9800. "properties": {
  9801. "convertratio": {
  9802. "description": "折算系数",
  9803. "type": "number"
  9804. },
  9805. "destgoodsgroupid": {
  9806. "description": "目标品种ID",
  9807. "type": "integer"
  9808. },
  9809. "dstcode": {
  9810. "description": "目录品种代码",
  9811. "type": "string"
  9812. },
  9813. "dstname": {
  9814. "description": "目标品种名称",
  9815. "type": "string"
  9816. },
  9817. "dstunitid": {
  9818. "description": "目标品种单位ID",
  9819. "type": "integer"
  9820. },
  9821. "dstunitidname": {
  9822. "description": "目标品种单位名称",
  9823. "type": "string"
  9824. },
  9825. "srccode": {
  9826. "description": "源品种代码",
  9827. "type": "string"
  9828. },
  9829. "srcgoodsgroupid": {
  9830. "description": "源品种ID",
  9831. "type": "integer"
  9832. },
  9833. "srcname": {
  9834. "description": "源品种名称",
  9835. "type": "string"
  9836. },
  9837. "srcunitid": {
  9838. "description": "源品种单位ID",
  9839. "type": "integer"
  9840. },
  9841. "srcunitidname": {
  9842. "description": "源品种单位名称",
  9843. "type": "string"
  9844. }
  9845. }
  9846. },
  9847. "models.ErmcpHedgePlan": {
  9848. "type": "object",
  9849. "properties": {
  9850. "areauserid": {
  9851. "description": "用户ID",
  9852. "type": "integer"
  9853. },
  9854. "contracttype": {
  9855. "description": "计划类型 - 1:采购 -1:销售",
  9856. "type": "integer"
  9857. },
  9858. "convertfactor": {
  9859. "description": "标仓系数",
  9860. "type": "number"
  9861. },
  9862. "createtime": {
  9863. "description": "创建时间",
  9864. "type": "string"
  9865. },
  9866. "deliverygoodsid": {
  9867. "description": "现货品种ID",
  9868. "type": "integer"
  9869. },
  9870. "deliverygoodsname": {
  9871. "description": "现货品种名称",
  9872. "type": "string"
  9873. },
  9874. "hedgeplanid": {
  9875. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  9876. "type": "string"
  9877. },
  9878. "hedgeplanno": {
  9879. "description": "套保计划编号(名称)",
  9880. "type": "string"
  9881. },
  9882. "hedgeplanstatus": {
  9883. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9884. "type": "integer"
  9885. },
  9886. "planqty": {
  9887. "description": "计划数量",
  9888. "type": "number"
  9889. },
  9890. "plantime": {
  9891. "description": "计划时间",
  9892. "type": "string"
  9893. },
  9894. "producttype": {
  9895. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9896. "type": "integer"
  9897. },
  9898. "remark": {
  9899. "description": "备注",
  9900. "type": "string"
  9901. },
  9902. "spotgoodsdesc": {
  9903. "description": "商品型号",
  9904. "type": "string"
  9905. },
  9906. "wrstandardid": {
  9907. "description": "现货商品ID",
  9908. "type": "integer"
  9909. },
  9910. "wrstandardname": {
  9911. "description": "现货商品名称",
  9912. "type": "string"
  9913. }
  9914. }
  9915. },
  9916. "models.ErmcpHedgePosition": {
  9917. "type": "object",
  9918. "properties": {
  9919. "accountid": {
  9920. "description": "资金账号[外部母账户]",
  9921. "type": "integer"
  9922. },
  9923. "curbuyposition": {
  9924. "description": "期末买头寸",
  9925. "type": "integer"
  9926. },
  9927. "cursellposition": {
  9928. "description": "期末卖头寸",
  9929. "type": "integer"
  9930. },
  9931. "curtdbuyposition": {
  9932. "description": "期末今日买头寸",
  9933. "type": "integer"
  9934. },
  9935. "curtdsellposition": {
  9936. "description": "期末今日卖头寸",
  9937. "type": "integer"
  9938. },
  9939. "curydbuyposition": {
  9940. "description": "期末上日买头寸",
  9941. "type": "integer"
  9942. },
  9943. "curydsellposition": {
  9944. "description": "期末上日卖头寸",
  9945. "type": "integer"
  9946. },
  9947. "decreaseqty": {
  9948. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  9949. "type": "integer"
  9950. },
  9951. "fretdbuyposition": {
  9952. "description": "冻结今日买头寸",
  9953. "type": "integer"
  9954. },
  9955. "fretdsellposition": {
  9956. "description": "冻结今日卖头寸",
  9957. "type": "integer"
  9958. },
  9959. "freydbuyposition": {
  9960. "description": "冻结上日买头寸",
  9961. "type": "integer"
  9962. },
  9963. "freydsellposition": {
  9964. "description": "冻结上日卖头寸",
  9965. "type": "integer"
  9966. },
  9967. "goodscode": {
  9968. "description": "商品代码",
  9969. "type": "string"
  9970. },
  9971. "goodsid": {
  9972. "description": "商品id",
  9973. "type": "integer"
  9974. },
  9975. "goodsname": {
  9976. "description": "商品名称",
  9977. "type": "string"
  9978. },
  9979. "hedgeaccountcode": {
  9980. "description": "对冲账号",
  9981. "type": "string"
  9982. },
  9983. "hedgegoodsid": {
  9984. "description": "对冲合约ID",
  9985. "type": "integer"
  9986. },
  9987. "increaseqty": {
  9988. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  9989. "type": "integer"
  9990. },
  9991. "marketid": {
  9992. "description": "市场ID",
  9993. "type": "integer"
  9994. },
  9995. "relateduserid": {
  9996. "description": "关联用户id",
  9997. "type": "integer"
  9998. },
  9999. "totalcurqty": {
  10000. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  10001. "type": "integer"
  10002. },
  10003. "totalydqty": {
  10004. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  10005. "type": "integer"
  10006. },
  10007. "tradedate": {
  10008. "description": "交易日(yyyyMMdd)",
  10009. "type": "string"
  10010. },
  10011. "ydbuyposition": {
  10012. "description": "期初买头寸",
  10013. "type": "integer"
  10014. },
  10015. "ydsellposition": {
  10016. "description": "期初卖头寸",
  10017. "type": "integer"
  10018. }
  10019. }
  10020. },
  10021. "models.ErmcpHedgePositionDetail": {
  10022. "type": "object",
  10023. "properties": {
  10024. "buyorsell": {
  10025. "description": "买卖方向 0-买 1-卖",
  10026. "type": "integer"
  10027. },
  10028. "channelbuildtype": {
  10029. "description": "开平方向 1-建仓 2-平仓",
  10030. "type": "integer"
  10031. },
  10032. "goodscode": {
  10033. "description": "商品代码",
  10034. "type": "string"
  10035. },
  10036. "goodsname": {
  10037. "description": "商品名称",
  10038. "type": "string"
  10039. },
  10040. "hedgegoodsid": {
  10041. "description": "商品id",
  10042. "type": "integer"
  10043. },
  10044. "tradeqty": {
  10045. "description": "数量(成交数量)",
  10046. "type": "integer"
  10047. },
  10048. "tradetime": {
  10049. "description": "时间(成交时间)",
  10050. "type": "string"
  10051. }
  10052. }
  10053. },
  10054. "models.ErmcpHisExposure": {
  10055. "type": "object",
  10056. "properties": {
  10057. "needhedgeexposoure": {
  10058. "description": "应套保敞口",
  10059. "type": "number"
  10060. },
  10061. "reckondate": {
  10062. "description": "日照时期(yyyyMMdd)",
  10063. "type": "string"
  10064. },
  10065. "totalexposure": {
  10066. "description": "总敞口",
  10067. "type": "number"
  10068. }
  10069. }
  10070. },
  10071. "models.ErmcpHisExposureS": {
  10072. "type": "object",
  10073. "properties": {
  10074. "data": {
  10075. "description": "历史敞口",
  10076. "type": "array",
  10077. "items": {
  10078. "$ref": "#/definitions/models.ErmcpHisExposure"
  10079. }
  10080. },
  10081. "enumdicname": {
  10082. "description": "单位名称",
  10083. "type": "string"
  10084. },
  10085. "middlegoodscode": {
  10086. "description": "套保品种代码",
  10087. "type": "string"
  10088. },
  10089. "middlegoodsid": {
  10090. "description": "套保品种ID",
  10091. "type": "integer"
  10092. },
  10093. "middlegoodsname": {
  10094. "description": "套保品种名称",
  10095. "type": "string"
  10096. }
  10097. }
  10098. },
  10099. "models.ErmcpMiddleGoodsChangeLog": {
  10100. "type": "object",
  10101. "properties": {
  10102. "aftervalue": {
  10103. "description": "变更后",
  10104. "type": "number"
  10105. },
  10106. "applyid": {
  10107. "description": "操作人",
  10108. "type": "integer"
  10109. },
  10110. "applyname": {
  10111. "description": "操作人名称",
  10112. "type": "string"
  10113. },
  10114. "applysrc": {
  10115. "description": "操作来源 - 1:管理端 2:终端",
  10116. "type": "integer"
  10117. },
  10118. "beforevalue": {
  10119. "description": "变更前",
  10120. "type": "number"
  10121. },
  10122. "changelogtype": {
  10123. "description": "变更流水类型 - 1:套保比率变更",
  10124. "type": "integer"
  10125. },
  10126. "handlestatus": {
  10127. "description": "处理状态",
  10128. "type": "integer"
  10129. },
  10130. "logdatetime": {
  10131. "description": "流水日期",
  10132. "type": "string"
  10133. },
  10134. "logid": {
  10135. "description": "流水ID",
  10136. "type": "integer"
  10137. },
  10138. "logremark": {
  10139. "description": "流水备注",
  10140. "type": "string"
  10141. },
  10142. "middlegoodsid": {
  10143. "description": "套保品种ID",
  10144. "type": "integer"
  10145. },
  10146. "tradedate": {
  10147. "description": "交易日(yyyyMMdd)",
  10148. "type": "string"
  10149. },
  10150. "updatetime": {
  10151. "description": "更新时间",
  10152. "type": "string"
  10153. }
  10154. }
  10155. },
  10156. "models.ErmcpMiddleGoodsDetail": {
  10157. "type": "object",
  10158. "properties": {
  10159. "cvList": {
  10160. "description": "期货品种折算列表",
  10161. "type": "array",
  10162. "items": {
  10163. "$ref": "#/definitions/models.GoodsGroupConvert"
  10164. }
  10165. },
  10166. "mg": {
  10167. "description": "套保品种基本信息",
  10168. "type": "object",
  10169. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  10170. }
  10171. }
  10172. },
  10173. "models.ErmcpMiddleGoodsModel": {
  10174. "type": "object",
  10175. "properties": {
  10176. "areauserid": {
  10177. "description": "机构用户ID",
  10178. "type": "integer"
  10179. },
  10180. "enumdicname": {
  10181. "description": "单位名称",
  10182. "type": "string"
  10183. },
  10184. "evaluateratio": {
  10185. "description": "估价系数",
  10186. "type": "number"
  10187. },
  10188. "goodsgroupid": {
  10189. "description": "关联期货品种ID",
  10190. "type": "integer"
  10191. },
  10192. "isvalid": {
  10193. "description": "状态 0-无效(停用) 1-有效(正常)",
  10194. "type": "integer"
  10195. },
  10196. "middlegoodscode": {
  10197. "description": "套保品种代码",
  10198. "type": "string"
  10199. },
  10200. "middlegoodsid": {
  10201. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  10202. "type": "integer"
  10203. },
  10204. "middlegoodsname": {
  10205. "description": "套保品种名称",
  10206. "type": "string"
  10207. },
  10208. "modifytime": {
  10209. "description": "修改时间",
  10210. "type": "string"
  10211. },
  10212. "needhedgeratio": {
  10213. "description": "套保比率",
  10214. "type": "number"
  10215. },
  10216. "qtydecimalplace": {
  10217. "description": "数量小数位",
  10218. "type": "integer"
  10219. },
  10220. "relatedgoodsid": {
  10221. "description": "关联交易商品ID",
  10222. "type": "integer"
  10223. },
  10224. "relatedgoodstype": {
  10225. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  10226. "type": "integer"
  10227. }
  10228. }
  10229. },
  10230. "models.ErmcpModel": {
  10231. "type": "object",
  10232. "properties": {
  10233. "accountname": {
  10234. "description": "账户名称",
  10235. "type": "string"
  10236. },
  10237. "attachment": {
  10238. "description": "附件",
  10239. "type": "string"
  10240. },
  10241. "audittime": {
  10242. "description": "审核时间",
  10243. "type": "string"
  10244. },
  10245. "contracctstatus": {
  10246. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10247. "type": "integer"
  10248. },
  10249. "contractmargin": {
  10250. "description": "合同保证金",
  10251. "type": "number"
  10252. },
  10253. "contractno": {
  10254. "description": "合同编号",
  10255. "type": "string"
  10256. },
  10257. "contracttype": {
  10258. "description": "合同类型 1-采购, -1-销售",
  10259. "type": "integer"
  10260. },
  10261. "convertfactor": {
  10262. "description": "标仓系数",
  10263. "type": "number"
  10264. },
  10265. "createtime": {
  10266. "description": "创建时间",
  10267. "type": "string"
  10268. },
  10269. "daikaiamount": {
  10270. "description": "待开票额",
  10271. "type": "number"
  10272. },
  10273. "deliveryenddate": {
  10274. "description": "交割结束日",
  10275. "type": "string"
  10276. },
  10277. "deliverygoodscode": {
  10278. "description": "现货商品代码",
  10279. "type": "string"
  10280. },
  10281. "deliverygoodsid": {
  10282. "description": "现货商品ID",
  10283. "type": "integer"
  10284. },
  10285. "deliverygoodsname": {
  10286. "description": "现货商品名称",
  10287. "type": "string"
  10288. },
  10289. "deliverystartdate": {
  10290. "description": "交割开始日",
  10291. "type": "string"
  10292. },
  10293. "enddate": {
  10294. "description": "点价结束日",
  10295. "type": "string"
  10296. },
  10297. "enumdicname": {
  10298. "description": "单位名称",
  10299. "type": "string"
  10300. },
  10301. "goodscode": {
  10302. "description": "点价商品代码",
  10303. "type": "string"
  10304. },
  10305. "goodsid": {
  10306. "description": "点价商品ID",
  10307. "type": "integer"
  10308. },
  10309. "goodsname": {
  10310. "description": "点价商品名称",
  10311. "type": "string"
  10312. },
  10313. "invoiceamount": {
  10314. "description": "已开票额",
  10315. "type": "number"
  10316. },
  10317. "loanamount": {
  10318. "description": "贷款总额=已定价额+调整金额",
  10319. "type": "number"
  10320. },
  10321. "margin": {
  10322. "description": "保证金",
  10323. "type": "number"
  10324. },
  10325. "payamount": {
  10326. "description": "已收付额(收款或付款)",
  10327. "type": "number"
  10328. },
  10329. "price": {
  10330. "description": "价格",
  10331. "type": "number"
  10332. },
  10333. "pricedamount": {
  10334. "description": "已定价额",
  10335. "type": "number"
  10336. },
  10337. "pricedavg": {
  10338. "description": "已点均价",
  10339. "type": "number"
  10340. },
  10341. "pricedqty": {
  10342. "description": "已定价量",
  10343. "type": "number"
  10344. },
  10345. "pricemove": {
  10346. "description": "升贴水",
  10347. "type": "number"
  10348. },
  10349. "pricetype": {
  10350. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10351. "type": "integer"
  10352. },
  10353. "producttype": {
  10354. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10355. "type": "integer"
  10356. },
  10357. "qty": {
  10358. "description": "合同量",
  10359. "type": "number"
  10360. },
  10361. "reckonadjustamount": {
  10362. "description": "调整金额",
  10363. "type": "number"
  10364. },
  10365. "reckonedamount": {
  10366. "description": "已收付额(已确定额)",
  10367. "type": "number"
  10368. },
  10369. "reckonotheramount": {
  10370. "description": "其它费用",
  10371. "type": "number"
  10372. },
  10373. "reckonrealqty": {
  10374. "description": "已确定量",
  10375. "type": "number"
  10376. },
  10377. "remark": {
  10378. "description": "备注",
  10379. "type": "string"
  10380. },
  10381. "spotcontractid": {
  10382. "description": "合同ID",
  10383. "type": "string"
  10384. },
  10385. "spotgoodsdesc": {
  10386. "description": "商品型号(商品规格)",
  10387. "type": "string"
  10388. },
  10389. "startdate": {
  10390. "description": "点价开始日",
  10391. "type": "string"
  10392. },
  10393. "totalamount": {
  10394. "description": "合计总额",
  10395. "type": "number"
  10396. },
  10397. "unpayamount": {
  10398. "description": "待支收额(支付或收款)",
  10399. "type": "number"
  10400. },
  10401. "unpricedqty": {
  10402. "description": "未定价量",
  10403. "type": "number"
  10404. },
  10405. "unsureqty": {
  10406. "description": "未确定量",
  10407. "type": "number"
  10408. },
  10409. "userid": {
  10410. "description": "用户ID",
  10411. "type": "integer"
  10412. }
  10413. }
  10414. },
  10415. "models.ErmcpOPLogModel": {
  10416. "type": "object",
  10417. "properties": {
  10418. "aftervalue": {
  10419. "description": "变更后",
  10420. "type": "number"
  10421. },
  10422. "applyid": {
  10423. "description": "操作人ID",
  10424. "type": "string"
  10425. },
  10426. "applyname": {
  10427. "description": "操作人名称",
  10428. "type": "string"
  10429. },
  10430. "beforevalue": {
  10431. "description": "变更前",
  10432. "type": "number"
  10433. },
  10434. "biztype": {
  10435. "description": "业务类型 - 1:套保计划 2:现货合同",
  10436. "type": "integer"
  10437. },
  10438. "contracttype": {
  10439. "description": "现货合同类型 - 1:采购 -1:销售",
  10440. "type": "integer"
  10441. },
  10442. "logvalue": {
  10443. "description": "数值",
  10444. "type": "number"
  10445. },
  10446. "operatelogtype": {
  10447. "description": "操作流水类型",
  10448. "type": "integer"
  10449. },
  10450. "operatelogtypedesc": {
  10451. "description": "操作流水类型名称",
  10452. "type": "string"
  10453. },
  10454. "relatedid": {
  10455. "description": "现货合同ID\\套保计划",
  10456. "type": "string"
  10457. },
  10458. "updatetime": {
  10459. "description": "更新时间",
  10460. "type": "string"
  10461. }
  10462. }
  10463. },
  10464. "models.ErmcpRealExposureModel": {
  10465. "type": "object",
  10466. "properties": {
  10467. "areaUserID": {
  10468. "description": "所属机构",
  10469. "type": "integer"
  10470. },
  10471. "buyFutureQty": {
  10472. "description": "买入期货数量",
  10473. "type": "number"
  10474. },
  10475. "buyPlanQty": {
  10476. "description": "采购计划数量",
  10477. "type": "number"
  10478. },
  10479. "buyPricedQty": {
  10480. "description": "采购合同已定价数量",
  10481. "type": "number"
  10482. },
  10483. "diffFutuQty": {
  10484. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  10485. "type": "number"
  10486. },
  10487. "diffSpotQty": {
  10488. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  10489. "type": "number"
  10490. },
  10491. "enumdicname": {
  10492. "description": "单位名称",
  10493. "type": "string"
  10494. },
  10495. "middleGoodsCode": {
  10496. "description": "套保品种代码",
  10497. "type": "string"
  10498. },
  10499. "middleGoodsHedgeRatio": {
  10500. "description": "应套保比例",
  10501. "type": "number"
  10502. },
  10503. "middleGoodsID": {
  10504. "description": "套保品种",
  10505. "type": "integer"
  10506. },
  10507. "middleGoodsName": {
  10508. "description": "套保品种名称",
  10509. "type": "string"
  10510. },
  10511. "needHedgeExposoure": {
  10512. "description": "应套保敞口",
  10513. "type": "number"
  10514. },
  10515. "needHedgeRatio": {
  10516. "description": "应套保敞口比例",
  10517. "type": "number"
  10518. },
  10519. "oriBuyFutureQty": {
  10520. "description": "期初买入期货数量",
  10521. "type": "number"
  10522. },
  10523. "oriBuyPlanQty": {
  10524. "description": "期初采购计划数量",
  10525. "type": "number"
  10526. },
  10527. "oriBuyPricedQty": {
  10528. "description": "期初采购合同已定价数量",
  10529. "type": "number"
  10530. },
  10531. "oriSellFutureQty": {
  10532. "description": "期初卖出期货数量",
  10533. "type": "number"
  10534. },
  10535. "oriSellPlanQty": {
  10536. "description": "期初销售计划数量",
  10537. "type": "number"
  10538. },
  10539. "oriSellPricedQty": {
  10540. "description": "期初销售合同已定价数量",
  10541. "type": "number"
  10542. },
  10543. "oriTotalFutuQty": {
  10544. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  10545. "type": "number"
  10546. },
  10547. "oriTotalSpotQty": {
  10548. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  10549. "type": "number"
  10550. },
  10551. "sellFutureQty": {
  10552. "description": "卖出期货数量",
  10553. "type": "number"
  10554. },
  10555. "sellPlanQty": {
  10556. "description": "销售计划数量",
  10557. "type": "number"
  10558. },
  10559. "sellPricedQty": {
  10560. "description": "销售合同已定价数量",
  10561. "type": "number"
  10562. },
  10563. "totalExposure": {
  10564. "description": "总敞口",
  10565. "type": "number"
  10566. },
  10567. "totalFutureQty": {
  10568. "description": "期货数量",
  10569. "type": "number"
  10570. },
  10571. "totalHedgeRatio": {
  10572. "description": "敞口比例",
  10573. "type": "number"
  10574. },
  10575. "totalNeedHedgeQty": {
  10576. "description": "期货应套保量",
  10577. "type": "number"
  10578. },
  10579. "totalSpotQty": {
  10580. "description": "现货数量",
  10581. "type": "number"
  10582. }
  10583. }
  10584. },
  10585. "models.ErmcpReportDayExposure": {
  10586. "type": "object",
  10587. "properties": {
  10588. "areauserid": {
  10589. "description": "所属机构",
  10590. "type": "integer"
  10591. },
  10592. "buyfutureqty": {
  10593. "description": "买入期货数量",
  10594. "type": "number"
  10595. },
  10596. "buyplanqty": {
  10597. "description": "采购计划数量",
  10598. "type": "number"
  10599. },
  10600. "buypricedqty": {
  10601. "description": "采购合同已定价数量",
  10602. "type": "number"
  10603. },
  10604. "diffFutuQty": {
  10605. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  10606. "type": "number"
  10607. },
  10608. "diffSpotQty": {
  10609. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  10610. "type": "number"
  10611. },
  10612. "enumdicname": {
  10613. "description": "单位名称",
  10614. "type": "string"
  10615. },
  10616. "middlegoodscode": {
  10617. "description": "套保品种代码",
  10618. "type": "string"
  10619. },
  10620. "middlegoodshedgeratio": {
  10621. "description": "应套保比例",
  10622. "type": "number"
  10623. },
  10624. "middlegoodsid": {
  10625. "description": "套保品种ID",
  10626. "type": "integer"
  10627. },
  10628. "middlegoodsname": {
  10629. "description": "套保品种名称",
  10630. "type": "string"
  10631. },
  10632. "needhedgeexposoure": {
  10633. "description": "应套保敞口",
  10634. "type": "number"
  10635. },
  10636. "needhedgeratio": {
  10637. "description": "应套保敞口比例",
  10638. "type": "number"
  10639. },
  10640. "oriTotalFutuQty": {
  10641. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  10642. "type": "number"
  10643. },
  10644. "oriTotalSpotQty": {
  10645. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  10646. "type": "number"
  10647. },
  10648. "oribuyfutureqty": {
  10649. "description": "期初买入期货数量",
  10650. "type": "number"
  10651. },
  10652. "oribuyplanqty": {
  10653. "description": "期初采购计划数量",
  10654. "type": "number"
  10655. },
  10656. "oribuypricedqty": {
  10657. "description": "期初采购合同已定价数量",
  10658. "type": "number"
  10659. },
  10660. "orisellfutureqty": {
  10661. "description": "期初卖出期货数量",
  10662. "type": "number"
  10663. },
  10664. "orisellplanqty": {
  10665. "description": "期初销售计划数量",
  10666. "type": "number"
  10667. },
  10668. "orisellpricedqty": {
  10669. "description": "期初销售合同已定价数量",
  10670. "type": "number"
  10671. },
  10672. "reckondate": {
  10673. "description": "日照时期(yyyyMMdd)",
  10674. "type": "string"
  10675. },
  10676. "sellfutureqty": {
  10677. "description": "卖出期货数量",
  10678. "type": "number"
  10679. },
  10680. "sellplanqty": {
  10681. "description": "销售计划数量",
  10682. "type": "number"
  10683. },
  10684. "sellpricedqty": {
  10685. "description": "销售合同已定价数量",
  10686. "type": "number"
  10687. },
  10688. "totalexposure": {
  10689. "description": "总敞口",
  10690. "type": "number"
  10691. },
  10692. "totalfutureqty": {
  10693. "description": "期货数量",
  10694. "type": "number"
  10695. },
  10696. "totalhedgeratio": {
  10697. "description": "敞口比例",
  10698. "type": "number"
  10699. },
  10700. "totalneedhedgeqty": {
  10701. "description": "期货应套保量",
  10702. "type": "number"
  10703. },
  10704. "totalspotqty": {
  10705. "description": "现货数量",
  10706. "type": "number"
  10707. }
  10708. }
  10709. },
  10710. "models.ErmcpReportDayFR": {
  10711. "type": "object",
  10712. "properties": {
  10713. "areauserid": {
  10714. "description": "所属机构",
  10715. "type": "integer"
  10716. },
  10717. "collectinvoiceamount": {
  10718. "description": "今日开票金额",
  10719. "type": "number"
  10720. },
  10721. "collectinvoicecount": {
  10722. "description": "今日开票笔数",
  10723. "type": "integer"
  10724. },
  10725. "collectmoneyamount": {
  10726. "description": "今日收款金额",
  10727. "type": "number"
  10728. },
  10729. "collectmoneycount": {
  10730. "description": "今日收款笔数",
  10731. "type": "integer"
  10732. },
  10733. "payinvoiceamount": {
  10734. "description": "今日收票金额",
  10735. "type": "number"
  10736. },
  10737. "payinvoicecount": {
  10738. "description": "今日收票笔数",
  10739. "type": "integer"
  10740. },
  10741. "paymoneyamount": {
  10742. "description": "今日付款金额",
  10743. "type": "number"
  10744. },
  10745. "paymoneycount": {
  10746. "description": "今日付款笔数",
  10747. "type": "integer"
  10748. },
  10749. "reckondate": {
  10750. "description": "日照时期(yyyyMMdd)",
  10751. "type": "string"
  10752. },
  10753. "updatetime": {
  10754. "description": "更新时间",
  10755. "type": "string"
  10756. }
  10757. }
  10758. },
  10759. "models.ErmcpReportDaySpot": {
  10760. "type": "object",
  10761. "properties": {
  10762. "areauserid": {
  10763. "description": "所属机构T",
  10764. "type": "integer"
  10765. },
  10766. "enumdicname": {
  10767. "description": "现货商品单位名称",
  10768. "type": "string"
  10769. },
  10770. "reckondate": {
  10771. "description": "日照时期(yyyyMMdd)",
  10772. "type": "string"
  10773. },
  10774. "todaybuyreckonqty": {
  10775. "description": "采购确定量",
  10776. "type": "number"
  10777. },
  10778. "todaysellreckonqty": {
  10779. "description": "销售确定量",
  10780. "type": "number"
  10781. },
  10782. "totalbuypricedqty": {
  10783. "description": "采购定价量 = 期末 - 期初",
  10784. "type": "number"
  10785. },
  10786. "totalsellpricedqty": {
  10787. "description": "销售定价量 = 期末 - 期初",
  10788. "type": "number"
  10789. },
  10790. "wrstandardcode": {
  10791. "description": "现货商品代码",
  10792. "type": "string"
  10793. },
  10794. "wrstandardid": {
  10795. "description": "现货商品ID",
  10796. "type": "integer"
  10797. },
  10798. "wrstandardname": {
  10799. "description": "现货商品名称",
  10800. "type": "string"
  10801. }
  10802. }
  10803. },
  10804. "models.ErmcpReportMonSpot": {
  10805. "type": "object",
  10806. "properties": {
  10807. "areauserid": {
  10808. "description": "所属机构T",
  10809. "type": "integer"
  10810. },
  10811. "cycletime": {
  10812. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  10813. "type": "string"
  10814. },
  10815. "cycletype": {
  10816. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10817. "type": "integer"
  10818. },
  10819. "enumdicname": {
  10820. "description": "现货商品单位名称",
  10821. "type": "string"
  10822. },
  10823. "todaybuyreckonqty": {
  10824. "description": "采购确定量",
  10825. "type": "number"
  10826. },
  10827. "todaysellreckonqty": {
  10828. "description": "销售确定量",
  10829. "type": "number"
  10830. },
  10831. "totalbuypricedqty": {
  10832. "description": "采购定价量 = 期末 - 期初",
  10833. "type": "number"
  10834. },
  10835. "totalsellpricedqty": {
  10836. "description": "销售定价量 = 期末 - 期初",
  10837. "type": "number"
  10838. },
  10839. "wrstandardcode": {
  10840. "description": "现货商品代码",
  10841. "type": "string"
  10842. },
  10843. "wrstandardid": {
  10844. "description": "现货商品ID",
  10845. "type": "integer"
  10846. },
  10847. "wrstandardname": {
  10848. "description": "现货商品名称",
  10849. "type": "string"
  10850. }
  10851. }
  10852. },
  10853. "models.ErmcpReportMonthFR": {
  10854. "type": "object",
  10855. "properties": {
  10856. "areauserid": {
  10857. "description": "所属机构【原值】",
  10858. "type": "integer"
  10859. },
  10860. "collectinvoiceamount": {
  10861. "description": "今日开票金额【汇总】",
  10862. "type": "number"
  10863. },
  10864. "collectinvoicecount": {
  10865. "description": "今日开票笔数【汇总】",
  10866. "type": "integer"
  10867. },
  10868. "collectmoneyamount": {
  10869. "description": "今日收款金额【汇总】",
  10870. "type": "number"
  10871. },
  10872. "collectmoneycount": {
  10873. "description": "今日收款笔数 【汇总】",
  10874. "type": "integer"
  10875. },
  10876. "cycletime": {
  10877. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  10878. "type": "string"
  10879. },
  10880. "cycletype": {
  10881. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10882. "type": "integer"
  10883. },
  10884. "dayFr": {
  10885. "description": "日报表明细",
  10886. "type": "array",
  10887. "items": {
  10888. "$ref": "#/definitions/models.ErmcpReportDayFR"
  10889. }
  10890. },
  10891. "payinvoiceamount": {
  10892. "description": "今日收票金额【汇总】",
  10893. "type": "number"
  10894. },
  10895. "payinvoicecount": {
  10896. "description": "今日收票笔数【汇总】",
  10897. "type": "integer"
  10898. },
  10899. "paymoneyamount": {
  10900. "description": "今日付款金额【汇总】",
  10901. "type": "number"
  10902. },
  10903. "paymoneycount": {
  10904. "description": "今日付款笔数【汇总】",
  10905. "type": "integer"
  10906. },
  10907. "updatetime": {
  10908. "description": "更新时间",
  10909. "type": "string"
  10910. }
  10911. }
  10912. },
  10913. "models.ErmcpReportOPLog": {
  10914. "type": "object",
  10915. "properties": {
  10916. "applyid": {
  10917. "description": "操作人",
  10918. "type": "integer"
  10919. },
  10920. "applyname": {
  10921. "description": "操作人名称",
  10922. "type": "string"
  10923. },
  10924. "biztype": {
  10925. "description": "业务类型 - 1:套保计划 2:现货合同",
  10926. "type": "integer"
  10927. },
  10928. "contracttype": {
  10929. "description": "现货合同类型 - 1:采购 -1:销售",
  10930. "type": "integer"
  10931. },
  10932. "enumdicName": {
  10933. "description": "单位名称",
  10934. "type": "string"
  10935. },
  10936. "logdatetime": {
  10937. "description": "流水日期(时间)",
  10938. "type": "string"
  10939. },
  10940. "logid": {
  10941. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  10942. "type": "string"
  10943. },
  10944. "logtypename": {
  10945. "description": "合同类型(名称)",
  10946. "type": "string"
  10947. },
  10948. "logvalue": {
  10949. "description": "数值",
  10950. "type": "string"
  10951. },
  10952. "operatelogtype": {
  10953. "description": "操作流水类型 -",
  10954. "type": "integer"
  10955. },
  10956. "optypename": {
  10957. "description": "流水类型名称",
  10958. "type": "string"
  10959. },
  10960. "relatedid": {
  10961. "description": "现货合同ID\\套保计划",
  10962. "type": "string"
  10963. },
  10964. "relatedno": {
  10965. "description": "合同编号",
  10966. "type": "string"
  10967. },
  10968. "tradedate": {
  10969. "description": "交易日(yyyyMMdd)",
  10970. "type": "string"
  10971. },
  10972. "userid": {
  10973. "description": "机构ID",
  10974. "type": "integer"
  10975. },
  10976. "wrstandardcode": {
  10977. "description": "现货商品代码",
  10978. "type": "string"
  10979. },
  10980. "wrstandardid": {
  10981. "description": "现货商品ID",
  10982. "type": "integer"
  10983. },
  10984. "wrstandardname": {
  10985. "description": "现货商品名称",
  10986. "type": "string"
  10987. }
  10988. }
  10989. },
  10990. "models.ErmcpSpotContractModel": {
  10991. "type": "object",
  10992. "properties": {
  10993. "amount": {
  10994. "description": "金额 [1:一口价、3:暂定价]",
  10995. "type": "number"
  10996. },
  10997. "attachment": {
  10998. "description": "附件",
  10999. "type": "string"
  11000. },
  11001. "auditremark": {
  11002. "description": "审核意见",
  11003. "type": "string"
  11004. },
  11005. "audittime": {
  11006. "description": "审核时间",
  11007. "type": "string"
  11008. },
  11009. "brandname": {
  11010. "description": "品牌名称",
  11011. "type": "string"
  11012. },
  11013. "buyuserid": {
  11014. "description": "采购方ID",
  11015. "type": "integer"
  11016. },
  11017. "buyusername": {
  11018. "description": "采购方名称",
  11019. "type": "string"
  11020. },
  11021. "contracctstatus": {
  11022. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11023. "type": "integer"
  11024. },
  11025. "contractmargin": {
  11026. "description": "合同保证金",
  11027. "type": "number"
  11028. },
  11029. "contractno": {
  11030. "description": "现货合同编号",
  11031. "type": "string"
  11032. },
  11033. "contracttype": {
  11034. "description": "现货合同类型 - 1:采购 -1:销售",
  11035. "type": "integer"
  11036. },
  11037. "convertfactor": {
  11038. "description": "标仓系数",
  11039. "type": "number"
  11040. },
  11041. "createtime": {
  11042. "description": "创建时间",
  11043. "type": "string"
  11044. },
  11045. "deliveryenddate": {
  11046. "description": "交收期(结束)",
  11047. "type": "string"
  11048. },
  11049. "deliverygoodscode": {
  11050. "description": "现货品种代码",
  11051. "type": "string"
  11052. },
  11053. "deliverygoodsid": {
  11054. "description": "现货品种ID",
  11055. "type": "integer"
  11056. },
  11057. "deliverygoodsname": {
  11058. "description": "现货品种名称",
  11059. "type": "string"
  11060. },
  11061. "deliverystartdate": {
  11062. "description": "交收期(开始)",
  11063. "type": "string"
  11064. },
  11065. "enddate": {
  11066. "description": "点价结束日期 [2:点价 3:暂定价]",
  11067. "type": "string"
  11068. },
  11069. "enumdicname": {
  11070. "description": "单位名称",
  11071. "type": "string"
  11072. },
  11073. "goodscode": {
  11074. "description": "点价合约代码",
  11075. "type": "string"
  11076. },
  11077. "goodsid": {
  11078. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  11079. "type": "integer"
  11080. },
  11081. "goodsname": {
  11082. "description": "点价商品名称",
  11083. "type": "string"
  11084. },
  11085. "margin": {
  11086. "description": "当前保证金",
  11087. "type": "number"
  11088. },
  11089. "modelname": {
  11090. "description": "型号名称",
  11091. "type": "string"
  11092. },
  11093. "price": {
  11094. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  11095. "type": "number"
  11096. },
  11097. "pricemove": {
  11098. "description": "升贴水 [2:点价 3:暂定价]",
  11099. "type": "number"
  11100. },
  11101. "pricetype": {
  11102. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11103. "type": "integer"
  11104. },
  11105. "producttype": {
  11106. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11107. "type": "integer"
  11108. },
  11109. "qty": {
  11110. "description": "数量",
  11111. "type": "number"
  11112. },
  11113. "remark": {
  11114. "description": "备注",
  11115. "type": "string"
  11116. },
  11117. "selluserid": {
  11118. "description": "销售方ID",
  11119. "type": "integer"
  11120. },
  11121. "sellusername": {
  11122. "description": "销售方名称",
  11123. "type": "string"
  11124. },
  11125. "spotcontractid": {
  11126. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  11127. "type": "string"
  11128. },
  11129. "spotgoodsbrandid": {
  11130. "description": "现货品牌ID",
  11131. "type": "integer"
  11132. },
  11133. "spotgoodsdesc": {
  11134. "description": "商品型号",
  11135. "type": "string"
  11136. },
  11137. "spotgoodsmodelid": {
  11138. "description": "现货型号ID",
  11139. "type": "integer"
  11140. },
  11141. "startdate": {
  11142. "description": "点价开始日期 [2:点价 3:暂定价]",
  11143. "type": "string"
  11144. },
  11145. "userid": {
  11146. "description": "机构ID",
  11147. "type": "integer"
  11148. },
  11149. "wrstandardid": {
  11150. "description": "现货商品ID",
  11151. "type": "integer"
  11152. }
  11153. }
  11154. },
  11155. "models.ErmcpUserModel": {
  11156. "type": "object",
  11157. "properties": {
  11158. "address": {
  11159. "description": "通讯地址",
  11160. "type": "string"
  11161. },
  11162. "attachment1": {
  11163. "description": "附件1",
  11164. "type": "string"
  11165. },
  11166. "cardfrontphotourl": {
  11167. "description": "证件正面图片地址",
  11168. "type": "string"
  11169. },
  11170. "cardnum": {
  11171. "description": "证件号码",
  11172. "type": "string"
  11173. },
  11174. "cardtype": {
  11175. "description": "证件类型",
  11176. "type": "integer"
  11177. },
  11178. "cardtypename": {
  11179. "description": "证件类型名称",
  11180. "type": "string"
  11181. },
  11182. "cityid": {
  11183. "description": "市",
  11184. "type": "integer"
  11185. },
  11186. "countryid": {
  11187. "description": "国家",
  11188. "type": "integer"
  11189. },
  11190. "createtime": {
  11191. "description": "创建时间",
  11192. "type": "string"
  11193. },
  11194. "customername": {
  11195. "description": "企业名称",
  11196. "type": "string"
  11197. },
  11198. "memberuserid": {
  11199. "description": "所属机构ID",
  11200. "type": "integer"
  11201. },
  11202. "mobile": {
  11203. "description": "手机号码",
  11204. "type": "string"
  11205. },
  11206. "provinceid": {
  11207. "description": "省",
  11208. "type": "integer"
  11209. },
  11210. "remark": {
  11211. "description": "备注",
  11212. "type": "string"
  11213. },
  11214. "status": {
  11215. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  11216. "type": "integer"
  11217. },
  11218. "statusdesc": {
  11219. "description": "账户状态中文描述",
  11220. "type": "string"
  11221. },
  11222. "telphone": {
  11223. "description": "联系电话",
  11224. "type": "string"
  11225. },
  11226. "userid": {
  11227. "description": "用户ID",
  11228. "type": "integer"
  11229. },
  11230. "userinfotype": {
  11231. "description": "客户类型",
  11232. "type": "string"
  11233. }
  11234. }
  11235. },
  11236. "models.ErmcpWrstandDetail": {
  11237. "type": "object",
  11238. "properties": {
  11239. "gbList": {
  11240. "description": "品牌列表",
  11241. "type": "array",
  11242. "items": {
  11243. "$ref": "#/definitions/models.GoodsBrand"
  11244. }
  11245. },
  11246. "gtList": {
  11247. "description": "型号列表",
  11248. "type": "array",
  11249. "items": {
  11250. "$ref": "#/definitions/models.GoodsTypeModel"
  11251. }
  11252. },
  11253. "wrd": {
  11254. "description": "基本信息",
  11255. "type": "object",
  11256. "$ref": "#/definitions/models.ErmcpWrstandard"
  11257. },
  11258. "wrsList": {
  11259. "description": "套保信息列表",
  11260. "type": "array",
  11261. "items": {
  11262. "$ref": "#/definitions/models.WRSConverTDetail"
  11263. }
  11264. }
  11265. }
  11266. },
  11267. "models.ErmcpWrstandard": {
  11268. "type": "object",
  11269. "properties": {
  11270. "areauserid": {
  11271. "description": "所属机构",
  11272. "type": "integer"
  11273. },
  11274. "createtime": {
  11275. "description": "创建时间",
  11276. "type": "string"
  11277. },
  11278. "creatorid": {
  11279. "description": "创建人",
  11280. "type": "integer"
  11281. },
  11282. "deliverygoodsid": {
  11283. "description": "品种ID",
  11284. "type": "integer"
  11285. },
  11286. "enumdicname": {
  11287. "description": "单位名称",
  11288. "type": "string"
  11289. },
  11290. "isvalid": {
  11291. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  11292. "type": "integer"
  11293. },
  11294. "minivalue": {
  11295. "description": "最小变动值",
  11296. "type": "integer"
  11297. },
  11298. "minivaluedp": {
  11299. "description": "最小变动值小数位",
  11300. "type": "integer"
  11301. },
  11302. "realminivalue": {
  11303. "description": "实际最小变动值",
  11304. "type": "integer"
  11305. },
  11306. "realminivaluedp": {
  11307. "description": "实际最小变动值小数位",
  11308. "type": "integer"
  11309. },
  11310. "remark": {
  11311. "description": "备注",
  11312. "type": "string"
  11313. },
  11314. "unitid": {
  11315. "description": "单位ID",
  11316. "type": "integer"
  11317. },
  11318. "updatetime": {
  11319. "description": "更新时间",
  11320. "type": "string"
  11321. },
  11322. "wrstandardcode": {
  11323. "description": "现货商品代码",
  11324. "type": "string"
  11325. },
  11326. "wrstandardid": {
  11327. "description": "现货商品ID(SEQ_WRSTANDARD)",
  11328. "type": "integer"
  11329. },
  11330. "wrstandardname": {
  11331. "description": "现货商品名称",
  11332. "type": "string"
  11333. }
  11334. }
  11335. },
  11336. "models.Goods": {
  11337. "type": "object",
  11338. "required": [
  11339. "goodscode",
  11340. "goodsid",
  11341. "goodsname",
  11342. "marketid"
  11343. ],
  11344. "properties": {
  11345. "agreeunit": {
  11346. "description": "合约单位",
  11347. "type": "number"
  11348. },
  11349. "auditaccountid": {
  11350. "description": "审核操作员账号",
  11351. "type": "integer"
  11352. },
  11353. "audittime": {
  11354. "description": "审核时间",
  11355. "type": "string"
  11356. },
  11357. "cancelaccountid": {
  11358. "description": "注销操作员账号",
  11359. "type": "integer"
  11360. },
  11361. "canceltime": {
  11362. "description": "注销时间",
  11363. "type": "string"
  11364. },
  11365. "closepricemode": {
  11366. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  11367. "type": "integer"
  11368. },
  11369. "closepriceparam": {
  11370. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  11371. "type": "number"
  11372. },
  11373. "createtime": {
  11374. "description": "创建时间",
  11375. "type": "string"
  11376. },
  11377. "creatorid": {
  11378. "description": "创建人",
  11379. "type": "integer"
  11380. },
  11381. "currencyid": {
  11382. "description": "报价货币ID",
  11383. "type": "integer"
  11384. },
  11385. "cutmode": {
  11386. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  11387. "type": "integer"
  11388. },
  11389. "decimalplace": {
  11390. "description": "报价小数位",
  11391. "type": "integer"
  11392. },
  11393. "delistingdate": {
  11394. "description": "商品退市时间(状态:退市) -- 已作废",
  11395. "type": "string"
  11396. },
  11397. "delistingmode": {
  11398. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  11399. "type": "integer"
  11400. },
  11401. "deliveryflag": {
  11402. "description": "交割标志 - 0:不可交割 1:可交割",
  11403. "type": "integer"
  11404. },
  11405. "forceclosemode": {
  11406. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  11407. "type": "integer"
  11408. },
  11409. "forceclosevalue": {
  11410. "description": "定期强平参数 [收益权]",
  11411. "type": "integer"
  11412. },
  11413. "goodscode": {
  11414. "description": "商品代码(内部)",
  11415. "type": "string"
  11416. },
  11417. "goodscurrencyid": {
  11418. "description": "合约货币ID",
  11419. "type": "integer"
  11420. },
  11421. "goodsgroupid": {
  11422. "description": "所属商品组ID",
  11423. "type": "integer"
  11424. },
  11425. "goodsid": {
  11426. "description": "商品ID(自增ID SEQ_GOODS)",
  11427. "type": "integer"
  11428. },
  11429. "goodsname": {
  11430. "description": "商品名称",
  11431. "type": "string"
  11432. },
  11433. "goodsquotetype": {
  11434. "description": "合约报价类型: 1-直接报价 2-间接报价",
  11435. "type": "integer"
  11436. },
  11437. "goodsstatus": {
  11438. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  11439. "type": "integer"
  11440. },
  11441. "goodstradetype": {
  11442. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  11443. "type": "integer"
  11444. },
  11445. "goodunitid": {
  11446. "description": "报价单位ID",
  11447. "type": "integer"
  11448. },
  11449. "hasquoter": {
  11450. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  11451. "type": "integer"
  11452. },
  11453. "hqprotecttime": {
  11454. "description": "行情保护时间(秒)",
  11455. "type": "integer"
  11456. },
  11457. "innerdealmode": {
  11458. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  11459. "type": "integer"
  11460. },
  11461. "isbuylimited": {
  11462. "description": "是否限制建仓量 - 0:不限制 1:限制",
  11463. "type": "integer"
  11464. },
  11465. "lasttradedate": {
  11466. "description": "最后交易日期(状态:待退市)",
  11467. "type": "string"
  11468. },
  11469. "listingdate": {
  11470. "description": "交易开始日期",
  11471. "type": "string"
  11472. },
  11473. "marketid": {
  11474. "description": "所属市场ID",
  11475. "type": "integer"
  11476. },
  11477. "modifierid": {
  11478. "description": "修改人",
  11479. "type": "integer"
  11480. },
  11481. "modifystatus": {
  11482. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  11483. "type": "integer"
  11484. },
  11485. "modifytime": {
  11486. "description": "修改时间",
  11487. "type": "string"
  11488. },
  11489. "outerdealmode": {
  11490. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  11491. "type": "integer"
  11492. },
  11493. "outgoodscode": {
  11494. "description": "商品代码(外部)",
  11495. "type": "string"
  11496. },
  11497. "qtydecimalplace": {
  11498. "description": "成交量小数位",
  11499. "type": "integer"
  11500. },
  11501. "quotegear": {
  11502. "description": "行情档位(1-10)",
  11503. "type": "integer"
  11504. },
  11505. "quoteminunit": {
  11506. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11507. "type": "integer"
  11508. },
  11509. "quoteshowtype": {
  11510. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  11511. "type": "integer"
  11512. },
  11513. "quoteshowtypeinterval": {
  11514. "description": "行情报价间隔时间(秒)(成交价时为0)",
  11515. "type": "integer"
  11516. },
  11517. "remark": {
  11518. "description": "备注",
  11519. "type": "string"
  11520. }
  11521. }
  11522. },
  11523. "models.GoodsBrand": {
  11524. "type": "object",
  11525. "properties": {
  11526. "brandid": {
  11527. "description": "品牌ID",
  11528. "type": "integer"
  11529. },
  11530. "brandname": {
  11531. "description": "品牌名称",
  11532. "type": "string"
  11533. },
  11534. "isvalid": {
  11535. "description": "是否有效 - 0:无效 1:有效",
  11536. "type": "integer"
  11537. }
  11538. }
  11539. },
  11540. "models.GoodsGroupConvert": {
  11541. "type": "object",
  11542. "properties": {
  11543. "convertratio": {
  11544. "description": "折算系数",
  11545. "type": "number"
  11546. },
  11547. "dstgoodsgroupid": {
  11548. "description": "目标期货品种ID",
  11549. "type": "integer"
  11550. },
  11551. "goodsgroupname": {
  11552. "description": "期货品种名称",
  11553. "type": "string"
  11554. },
  11555. "outergroupcode": {
  11556. "description": "期货品种代码",
  11557. "type": "string"
  11558. },
  11559. "srcgoodsgroupid": {
  11560. "description": "源期货品种ID",
  11561. "type": "integer"
  11562. }
  11563. }
  11564. },
  11565. "models.GoodsIDAndName": {
  11566. "type": "object",
  11567. "required": [
  11568. "goodscode",
  11569. "goodsid",
  11570. "goodsname",
  11571. "marketid"
  11572. ],
  11573. "properties": {
  11574. "goodscode": {
  11575. "description": "商品代码(内部)",
  11576. "type": "string"
  11577. },
  11578. "goodsid": {
  11579. "description": "商品ID(自增ID SEQ_GOODS)",
  11580. "type": "integer"
  11581. },
  11582. "goodsname": {
  11583. "description": "商品名称",
  11584. "type": "string"
  11585. },
  11586. "marketid": {
  11587. "description": "所属市场ID",
  11588. "type": "integer"
  11589. }
  11590. }
  11591. },
  11592. "models.GoodsTypeModel": {
  11593. "type": "object",
  11594. "properties": {
  11595. "modelid": {
  11596. "description": "型号ID",
  11597. "type": "integer"
  11598. },
  11599. "modelname": {
  11600. "description": "型号名称",
  11601. "type": "string"
  11602. },
  11603. "updatetime": {
  11604. "description": "更新时间",
  11605. "type": "string"
  11606. }
  11607. }
  11608. },
  11609. "models.HsbyBuyMyPayOrder": {
  11610. "type": "object",
  11611. "required": [
  11612. "goodscode",
  11613. "goodsname",
  11614. "tradeid",
  11615. "trademode"
  11616. ],
  11617. "properties": {
  11618. "agreeunit": {
  11619. "description": "合约单位",
  11620. "type": "number"
  11621. },
  11622. "buyaccountid": {
  11623. "description": "买方账号ID[报价币种]",
  11624. "type": "integer"
  11625. },
  11626. "buyorderid": {
  11627. "description": "买方委托单号",
  11628. "type": "string"
  11629. },
  11630. "createtime": {
  11631. "description": "创建时间",
  11632. "type": "string"
  11633. },
  11634. "currencysign": {
  11635. "description": "货币符号",
  11636. "type": "string"
  11637. },
  11638. "decimalplace": {
  11639. "description": "报价小数位",
  11640. "type": "integer"
  11641. },
  11642. "goodscode": {
  11643. "description": "商品代码(内部)",
  11644. "type": "string"
  11645. },
  11646. "goodsid": {
  11647. "description": "商品ID",
  11648. "type": "integer"
  11649. },
  11650. "goodsname": {
  11651. "description": "商品名称",
  11652. "type": "string"
  11653. },
  11654. "marketid": {
  11655. "description": "市场ID",
  11656. "type": "integer"
  11657. },
  11658. "offamount": {
  11659. "description": "优惠金额",
  11660. "type": "number"
  11661. },
  11662. "payamount": {
  11663. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  11664. "type": "number"
  11665. },
  11666. "payflag": {
  11667. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11668. "type": "integer"
  11669. },
  11670. "paylimitedtime": {
  11671. "description": "支付期限",
  11672. "type": "string"
  11673. },
  11674. "paytime": {
  11675. "description": "付款时间",
  11676. "type": "string"
  11677. },
  11678. "picurls1": {
  11679. "description": "预售商品介绍图片[多张用逗号分隔]",
  11680. "type": "string"
  11681. },
  11682. "picurls2": {
  11683. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  11684. "type": "string"
  11685. },
  11686. "sellaccountid": {
  11687. "description": "卖方账号ID[报价币种]",
  11688. "type": "integer"
  11689. },
  11690. "sellorderid": {
  11691. "description": "卖方委托单号",
  11692. "type": "string"
  11693. },
  11694. "tradeamount": {
  11695. "description": "成交金额",
  11696. "type": "number"
  11697. },
  11698. "tradecharge": {
  11699. "description": "成交手续费(买方)",
  11700. "type": "number"
  11701. },
  11702. "tradedate": {
  11703. "description": "交易日(yyyyMMdd)",
  11704. "type": "string"
  11705. },
  11706. "tradeid": {
  11707. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11708. "type": "string"
  11709. },
  11710. "trademode": {
  11711. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11712. "type": "integer"
  11713. },
  11714. "tradeprice": {
  11715. "description": "成交价格",
  11716. "type": "number"
  11717. },
  11718. "tradeqty": {
  11719. "description": "成交数量",
  11720. "type": "integer"
  11721. },
  11722. "vendorname1": {
  11723. "description": "预售商品供应商名称",
  11724. "type": "string"
  11725. },
  11726. "vendorname2": {
  11727. "description": "挂牌商品供应商名称",
  11728. "type": "string"
  11729. }
  11730. }
  11731. },
  11732. "models.HsbyBuyMyTradeDetail": {
  11733. "type": "object",
  11734. "required": [
  11735. "accountid",
  11736. "buyorsell",
  11737. "goodscode",
  11738. "goodsid",
  11739. "goodsname",
  11740. "marketid",
  11741. "orderid",
  11742. "qty",
  11743. "time",
  11744. "trademode"
  11745. ],
  11746. "properties": {
  11747. "accountid": {
  11748. "description": "账户ID[报价币种]",
  11749. "type": "integer"
  11750. },
  11751. "agreeunit": {
  11752. "description": "合约单位",
  11753. "type": "number"
  11754. },
  11755. "amount": {
  11756. "description": "金额 = 价格 * 数量 * 合约单位",
  11757. "type": "number"
  11758. },
  11759. "buyorsell": {
  11760. "description": "买卖 - 0:买 1:卖",
  11761. "type": "integer"
  11762. },
  11763. "currencysign": {
  11764. "description": "货币符号",
  11765. "type": "string"
  11766. },
  11767. "decimalplace": {
  11768. "description": "报价小数位",
  11769. "type": "integer"
  11770. },
  11771. "goodscode": {
  11772. "description": "商品代码(内部)",
  11773. "type": "string"
  11774. },
  11775. "goodsid": {
  11776. "description": "商品ID",
  11777. "type": "integer"
  11778. },
  11779. "goodsname": {
  11780. "description": "商品名称",
  11781. "type": "string"
  11782. },
  11783. "marketid": {
  11784. "description": "市场ID",
  11785. "type": "integer"
  11786. },
  11787. "orderid": {
  11788. "description": "单号(成交单号)",
  11789. "type": "string"
  11790. },
  11791. "picurls1": {
  11792. "description": "预售商品介绍图片[多张用逗号分隔]",
  11793. "type": "string"
  11794. },
  11795. "picurls2": {
  11796. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  11797. "type": "string"
  11798. },
  11799. "price": {
  11800. "description": "价格",
  11801. "type": "number"
  11802. },
  11803. "qty": {
  11804. "description": "数量",
  11805. "type": "integer"
  11806. },
  11807. "time": {
  11808. "description": "时间",
  11809. "type": "string"
  11810. },
  11811. "trademode": {
  11812. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11813. "type": "integer"
  11814. },
  11815. "vendorname1": {
  11816. "description": "预售商品供应商名称",
  11817. "type": "string"
  11818. },
  11819. "vendorname2": {
  11820. "description": "挂牌商品供应商名称",
  11821. "type": "string"
  11822. }
  11823. }
  11824. },
  11825. "models.HsbyGoodsOrderDetail": {
  11826. "type": "object",
  11827. "required": [
  11828. "buyorsell",
  11829. "orderid",
  11830. "ordertime"
  11831. ],
  11832. "properties": {
  11833. "buyorsell": {
  11834. "description": "买卖 - 0:买 1:卖",
  11835. "type": "integer"
  11836. },
  11837. "currencysign": {
  11838. "description": "货币符号",
  11839. "type": "string"
  11840. },
  11841. "customername": {
  11842. "description": "客户名称(企业名称),已脱敏",
  11843. "type": "string"
  11844. },
  11845. "enableqty": {
  11846. "description": "可用数量",
  11847. "type": "integer"
  11848. },
  11849. "goodunit": {
  11850. "description": "报价单位",
  11851. "type": "string"
  11852. },
  11853. "orderid": {
  11854. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11855. "type": "string"
  11856. },
  11857. "orderprice": {
  11858. "description": "委托价格",
  11859. "type": "number"
  11860. },
  11861. "ordertime": {
  11862. "description": "委托时间",
  11863. "type": "string"
  11864. }
  11865. }
  11866. },
  11867. "models.HsbyListingGoodsDetail": {
  11868. "type": "object",
  11869. "required": [
  11870. "goodscode",
  11871. "goodsid",
  11872. "goodsname",
  11873. "marketid",
  11874. "trademode"
  11875. ],
  11876. "properties": {
  11877. "agreeunit": {
  11878. "description": "合约单位",
  11879. "type": "number"
  11880. },
  11881. "buymaxqty": {
  11882. "description": "购买上限 [71] - 0为不限",
  11883. "type": "integer"
  11884. },
  11885. "currency": {
  11886. "description": "货币",
  11887. "type": "string"
  11888. },
  11889. "currencysign": {
  11890. "description": "货币符号",
  11891. "type": "string"
  11892. },
  11893. "decimalplace": {
  11894. "description": "报价小数位",
  11895. "type": "integer"
  11896. },
  11897. "desccityid": {
  11898. "description": "目的地(市)ID",
  11899. "type": "integer"
  11900. },
  11901. "descprovinceid": {
  11902. "description": "目的地(省)ID",
  11903. "type": "integer"
  11904. },
  11905. "goodscode": {
  11906. "description": "商品代码(内部)",
  11907. "type": "string"
  11908. },
  11909. "goodsdesc": {
  11910. "description": "商品详情",
  11911. "type": "string"
  11912. },
  11913. "goodsid": {
  11914. "description": "商品ID(自增ID SEQ_GOODS)",
  11915. "type": "integer"
  11916. },
  11917. "goodsname": {
  11918. "description": "商品名称",
  11919. "type": "string"
  11920. },
  11921. "goodsprice": {
  11922. "description": "商品价格",
  11923. "type": "number"
  11924. },
  11925. "hotindex": {
  11926. "description": "景点热度",
  11927. "type": "integer"
  11928. },
  11929. "last": {
  11930. "description": "现价",
  11931. "type": "number"
  11932. },
  11933. "limitdown": {
  11934. "description": "跌停价",
  11935. "type": "number"
  11936. },
  11937. "limitup": {
  11938. "description": "涨停价",
  11939. "type": "number"
  11940. },
  11941. "lotsize": {
  11942. "description": "手数最小变动单位",
  11943. "type": "integer"
  11944. },
  11945. "marketid": {
  11946. "description": "所属市场ID",
  11947. "type": "integer"
  11948. },
  11949. "picurls": {
  11950. "description": "介绍图片[多张用逗号分隔]",
  11951. "type": "string"
  11952. },
  11953. "quoteminunit": {
  11954. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11955. "type": "integer"
  11956. },
  11957. "stepvalue": {
  11958. "description": "价格最小变动单位",
  11959. "type": "number"
  11960. },
  11961. "trademode": {
  11962. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11963. "type": "integer"
  11964. },
  11965. "vendorattr": {
  11966. "description": "供应商附件(多张,逗号分隔)",
  11967. "type": "string"
  11968. },
  11969. "vendorname": {
  11970. "description": "供应商名称",
  11971. "type": "string"
  11972. },
  11973. "vendorphone": {
  11974. "description": "供应商客服电话",
  11975. "type": "string"
  11976. },
  11977. "videourls": {
  11978. "description": "介绍视频[多张用逗号分隔]",
  11979. "type": "string"
  11980. }
  11981. }
  11982. },
  11983. "models.HsbyMarketGoods": {
  11984. "type": "object",
  11985. "required": [
  11986. "accountid",
  11987. "buyorsell",
  11988. "goodscode",
  11989. "goodsid",
  11990. "goodsname",
  11991. "marketid",
  11992. "orderid",
  11993. "trademode"
  11994. ],
  11995. "properties": {
  11996. "accountid": {
  11997. "description": "账户ID[报价币种]",
  11998. "type": "integer"
  11999. },
  12000. "agreeunit": {
  12001. "description": "合约单位",
  12002. "type": "number"
  12003. },
  12004. "buyorsell": {
  12005. "description": "买卖 - 0:买 1:卖",
  12006. "type": "integer"
  12007. },
  12008. "categoryid": {
  12009. "description": "类别ID(WRCATEGORY)",
  12010. "type": "integer"
  12011. },
  12012. "currency": {
  12013. "description": "货币",
  12014. "type": "string"
  12015. },
  12016. "currencysign": {
  12017. "description": "货币符号",
  12018. "type": "string"
  12019. },
  12020. "customername": {
  12021. "description": "卖家名称",
  12022. "type": "string"
  12023. },
  12024. "decimalplace": {
  12025. "description": "报价小数位",
  12026. "type": "integer"
  12027. },
  12028. "goodscode": {
  12029. "description": "商品代码(内部)",
  12030. "type": "string"
  12031. },
  12032. "goodsid": {
  12033. "description": "商品ID",
  12034. "type": "integer"
  12035. },
  12036. "goodsname": {
  12037. "description": "商品名称",
  12038. "type": "string"
  12039. },
  12040. "goodsprice": {
  12041. "description": "商品价格",
  12042. "type": "number"
  12043. },
  12044. "hascoupon": {
  12045. "description": "是否可用优惠卷",
  12046. "type": "boolean"
  12047. },
  12048. "hotindex": {
  12049. "description": "景点热度",
  12050. "type": "integer"
  12051. },
  12052. "marketid": {
  12053. "description": "市场ID",
  12054. "type": "integer"
  12055. },
  12056. "orderid": {
  12057. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12058. "type": "string"
  12059. },
  12060. "orderprice": {
  12061. "description": "委托价格",
  12062. "type": "number"
  12063. },
  12064. "orderstatus": {
  12065. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12066. "type": "integer"
  12067. },
  12068. "picurls": {
  12069. "description": "介绍图片[多张用逗号分隔]",
  12070. "type": "string"
  12071. },
  12072. "quoteminunit": {
  12073. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12074. "type": "integer"
  12075. },
  12076. "sellUserID": {
  12077. "description": "卖方UserID",
  12078. "type": "integer"
  12079. },
  12080. "trademode": {
  12081. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12082. "type": "integer"
  12083. },
  12084. "videourls": {
  12085. "description": "介绍视频[多张用逗号分隔]",
  12086. "type": "string"
  12087. }
  12088. }
  12089. },
  12090. "models.HsbyMarketGoodsDetail": {
  12091. "type": "object",
  12092. "required": [
  12093. "accountid",
  12094. "buyorsell",
  12095. "goodscode",
  12096. "goodsid",
  12097. "goodsname",
  12098. "marketid",
  12099. "orderid",
  12100. "orderqty",
  12101. "trademode"
  12102. ],
  12103. "properties": {
  12104. "accountid": {
  12105. "description": "账户ID[报价币种]",
  12106. "type": "integer"
  12107. },
  12108. "agreeunit": {
  12109. "description": "合约单位",
  12110. "type": "number"
  12111. },
  12112. "buymaxqty": {
  12113. "description": "购买上限 [71] - 0为不限",
  12114. "type": "integer"
  12115. },
  12116. "buyorsell": {
  12117. "description": "买卖 - 0:买 1:卖",
  12118. "type": "integer"
  12119. },
  12120. "cancelqty": {
  12121. "description": "撤单数量",
  12122. "type": "integer"
  12123. },
  12124. "categoryid": {
  12125. "description": "类别ID(WRCATEGORY)",
  12126. "type": "integer"
  12127. },
  12128. "currency": {
  12129. "description": "货币",
  12130. "type": "string"
  12131. },
  12132. "currencysign": {
  12133. "description": "货币符号",
  12134. "type": "string"
  12135. },
  12136. "customername": {
  12137. "description": "卖家名称",
  12138. "type": "string"
  12139. },
  12140. "decimalplace": {
  12141. "description": "报价小数位",
  12142. "type": "integer"
  12143. },
  12144. "goodscode": {
  12145. "description": "商品代码(内部)",
  12146. "type": "string"
  12147. },
  12148. "goodsdesc": {
  12149. "description": "商品详情",
  12150. "type": "string"
  12151. },
  12152. "goodsid": {
  12153. "description": "商品ID",
  12154. "type": "integer"
  12155. },
  12156. "goodsname": {
  12157. "description": "商品名称",
  12158. "type": "string"
  12159. },
  12160. "goodsprice": {
  12161. "description": "商品价格",
  12162. "type": "number"
  12163. },
  12164. "hotindex": {
  12165. "description": "景点热度",
  12166. "type": "integer"
  12167. },
  12168. "lotsize": {
  12169. "description": "手数最小变动单位",
  12170. "type": "integer"
  12171. },
  12172. "marketid": {
  12173. "description": "市场ID",
  12174. "type": "integer"
  12175. },
  12176. "orderid": {
  12177. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12178. "type": "string"
  12179. },
  12180. "orderprice": {
  12181. "description": "委托价格",
  12182. "type": "number"
  12183. },
  12184. "orderqty": {
  12185. "description": "委托数量",
  12186. "type": "integer"
  12187. },
  12188. "orderstatus": {
  12189. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12190. "type": "integer"
  12191. },
  12192. "picurls": {
  12193. "description": "介绍图片[多张用逗号分隔]",
  12194. "type": "string"
  12195. },
  12196. "quoteminunit": {
  12197. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12198. "type": "integer"
  12199. },
  12200. "sellUserID": {
  12201. "description": "卖方UserID",
  12202. "type": "integer"
  12203. },
  12204. "trademode": {
  12205. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12206. "type": "integer"
  12207. },
  12208. "tradeqty": {
  12209. "description": "成交数量",
  12210. "type": "integer"
  12211. },
  12212. "vendorattr": {
  12213. "description": "供应商附件(多张,逗号分隔)",
  12214. "type": "string"
  12215. },
  12216. "vendorname": {
  12217. "description": "供应商名称",
  12218. "type": "string"
  12219. },
  12220. "vendorphone": {
  12221. "description": "供应商客服电话",
  12222. "type": "string"
  12223. },
  12224. "videourls": {
  12225. "description": "介绍视频[多张用逗号分隔]",
  12226. "type": "string"
  12227. }
  12228. }
  12229. },
  12230. "models.HsbyMarketInfo": {
  12231. "type": "object",
  12232. "required": [
  12233. "marketid",
  12234. "marketstatus",
  12235. "trademode"
  12236. ],
  12237. "properties": {
  12238. "marketid": {
  12239. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  12240. "type": "integer"
  12241. },
  12242. "marketname": {
  12243. "description": "市场名称",
  12244. "type": "string"
  12245. },
  12246. "marketstatus": {
  12247. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  12248. "type": "integer"
  12249. },
  12250. "trademode": {
  12251. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12252. "type": "integer"
  12253. }
  12254. }
  12255. },
  12256. "models.HsbyMyGoods": {
  12257. "type": "object",
  12258. "required": [
  12259. "accountid",
  12260. "goodscode",
  12261. "goodsid",
  12262. "goodsname",
  12263. "marketid",
  12264. "trademode"
  12265. ],
  12266. "properties": {
  12267. "accountid": {
  12268. "description": "账号Id",
  12269. "type": "integer"
  12270. },
  12271. "agreeunit": {
  12272. "description": "合约单位",
  12273. "type": "number"
  12274. },
  12275. "buyaverageprice": {
  12276. "description": "持仓均价",
  12277. "type": "number"
  12278. },
  12279. "buycurholderamount": {
  12280. "description": "买当前持仓总金额[商品币种]",
  12281. "type": "number"
  12282. },
  12283. "buycurpositionqty": {
  12284. "description": "买当前持仓总数量",
  12285. "type": "integer"
  12286. },
  12287. "buymaxqty": {
  12288. "description": "购买上限 [71] - 0为不限",
  12289. "type": "integer"
  12290. },
  12291. "currencysign": {
  12292. "description": "货币符号",
  12293. "type": "string"
  12294. },
  12295. "decimalplace": {
  12296. "description": "报价小数位",
  12297. "type": "integer"
  12298. },
  12299. "enableqty": {
  12300. "description": "可用数量",
  12301. "type": "integer"
  12302. },
  12303. "goodscode": {
  12304. "description": "商品代码(内部)",
  12305. "type": "string"
  12306. },
  12307. "goodsid": {
  12308. "description": "商品Id",
  12309. "type": "integer"
  12310. },
  12311. "goodsname": {
  12312. "description": "商品名称",
  12313. "type": "string"
  12314. },
  12315. "goodsprice": {
  12316. "description": "商品价格",
  12317. "type": "number"
  12318. },
  12319. "goodsstatus": {
  12320. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12321. "type": "integer"
  12322. },
  12323. "last": {
  12324. "description": "现价(仅使用于挂牌点选)",
  12325. "type": "number"
  12326. },
  12327. "limitdown": {
  12328. "description": "跌停价(仅使用于挂牌点选)",
  12329. "type": "number"
  12330. },
  12331. "limitup": {
  12332. "description": "涨停价(仅使用于挂牌点选)",
  12333. "type": "number"
  12334. },
  12335. "lotsize": {
  12336. "description": "手数最小变动单位",
  12337. "type": "integer"
  12338. },
  12339. "marketid": {
  12340. "description": "所属市场ID",
  12341. "type": "integer"
  12342. },
  12343. "picurls": {
  12344. "description": "介绍图片[多张用逗号分隔]",
  12345. "type": "string"
  12346. },
  12347. "quoteminunit": {
  12348. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12349. "type": "integer"
  12350. },
  12351. "stepvalue": {
  12352. "description": "价格最小变动单位",
  12353. "type": "number"
  12354. },
  12355. "trademode": {
  12356. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12357. "type": "integer"
  12358. }
  12359. }
  12360. },
  12361. "models.HsbyMyPackage": {
  12362. "type": "object",
  12363. "required": [
  12364. "goodscode",
  12365. "goodsname",
  12366. "takeorderid",
  12367. "trademode"
  12368. ],
  12369. "properties": {
  12370. "accountid": {
  12371. "description": "账户ID",
  12372. "type": "integer"
  12373. },
  12374. "address": {
  12375. "description": "提货人详细地址",
  12376. "type": "string"
  12377. },
  12378. "agreeunit": {
  12379. "description": "合约单位",
  12380. "type": "number"
  12381. },
  12382. "amount": {
  12383. "description": "提货金额",
  12384. "type": "number"
  12385. },
  12386. "auditer": {
  12387. "description": "审核人",
  12388. "type": "integer"
  12389. },
  12390. "audittime": {
  12391. "description": "审核时间",
  12392. "type": "string"
  12393. },
  12394. "averageprice": {
  12395. "description": "均价",
  12396. "type": "number"
  12397. },
  12398. "cardnum": {
  12399. "description": "提货人证件号码",
  12400. "type": "string"
  12401. },
  12402. "cardtypeid": {
  12403. "description": "提货人证件类型",
  12404. "type": "integer"
  12405. },
  12406. "checkremark": {
  12407. "description": "审核备注",
  12408. "type": "string"
  12409. },
  12410. "currencysign": {
  12411. "description": "货币符号",
  12412. "type": "string"
  12413. },
  12414. "decimalplace": {
  12415. "description": "报价小数位",
  12416. "type": "integer"
  12417. },
  12418. "goodscode": {
  12419. "description": "商品代码(内部)",
  12420. "type": "string"
  12421. },
  12422. "goodsid": {
  12423. "description": "商品ID",
  12424. "type": "integer"
  12425. },
  12426. "goodsname": {
  12427. "description": "商品名称",
  12428. "type": "string"
  12429. },
  12430. "handlestatus": {
  12431. "description": "处理状态",
  12432. "type": "integer"
  12433. },
  12434. "marketid": {
  12435. "description": "市场ID",
  12436. "type": "integer"
  12437. },
  12438. "phonenum": {
  12439. "description": "提货人联系方式",
  12440. "type": "string"
  12441. },
  12442. "picurls": {
  12443. "description": "介绍图片[多张用逗号分隔]",
  12444. "type": "string"
  12445. },
  12446. "qty": {
  12447. "description": "提货数量",
  12448. "type": "number"
  12449. },
  12450. "recivername": {
  12451. "description": "提货人姓名",
  12452. "type": "string"
  12453. },
  12454. "reqtime": {
  12455. "description": "更新时间",
  12456. "type": "string"
  12457. },
  12458. "takemode": {
  12459. "description": "提货方式 - 2:自提 3:配送",
  12460. "type": "integer"
  12461. },
  12462. "takeorderid": {
  12463. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  12464. "type": "string"
  12465. },
  12466. "takeorderstatus": {
  12467. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  12468. "type": "integer"
  12469. },
  12470. "takeremark": {
  12471. "description": "提货备注",
  12472. "type": "string"
  12473. },
  12474. "tradedate": {
  12475. "description": "交易日(yyyyMMdd)",
  12476. "type": "string"
  12477. },
  12478. "trademode": {
  12479. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12480. "type": "integer"
  12481. },
  12482. "userid": {
  12483. "description": "用户ID",
  12484. "type": "integer"
  12485. },
  12486. "vendorname": {
  12487. "description": "供应商名称",
  12488. "type": "string"
  12489. }
  12490. }
  12491. },
  12492. "models.HsbyPreGoods": {
  12493. "type": "object",
  12494. "required": [
  12495. "goodscode",
  12496. "goodsid",
  12497. "goodsname",
  12498. "marketid",
  12499. "trademode"
  12500. ],
  12501. "properties": {
  12502. "agreeunit": {
  12503. "description": "合约单位",
  12504. "type": "number"
  12505. },
  12506. "currency": {
  12507. "description": "货币",
  12508. "type": "string"
  12509. },
  12510. "currencysign": {
  12511. "description": "货币符号",
  12512. "type": "string"
  12513. },
  12514. "decimalplace": {
  12515. "description": "报价小数位",
  12516. "type": "integer"
  12517. },
  12518. "enableqty": {
  12519. "description": "剩余数量",
  12520. "type": "integer"
  12521. },
  12522. "goodscode": {
  12523. "description": "商品代码(内部)",
  12524. "type": "string"
  12525. },
  12526. "goodsid": {
  12527. "description": "商品ID(自增ID SEQ_GOODS)",
  12528. "type": "integer"
  12529. },
  12530. "goodsname": {
  12531. "description": "商品名称",
  12532. "type": "string"
  12533. },
  12534. "goodsstatus": {
  12535. "description": "商品状态- 2:未上市 3:上市",
  12536. "type": "integer"
  12537. },
  12538. "lasttradedate": {
  12539. "description": "最后交易日期(状态:待退市)",
  12540. "type": "string"
  12541. },
  12542. "listingdate": {
  12543. "description": "交易开始日期",
  12544. "type": "string"
  12545. },
  12546. "marketid": {
  12547. "description": "所属市场ID",
  12548. "type": "integer"
  12549. },
  12550. "picurls": {
  12551. "description": "介绍图片[多张用逗号分隔]",
  12552. "type": "string"
  12553. },
  12554. "presaledqty": {
  12555. "description": "已预售量(预售结束时更新)",
  12556. "type": "integer"
  12557. },
  12558. "presaleqty": {
  12559. "description": "预售数量",
  12560. "type": "integer"
  12561. },
  12562. "quoteminunit": {
  12563. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12564. "type": "integer"
  12565. },
  12566. "refprice": {
  12567. "description": "参考价格[一口价]",
  12568. "type": "number"
  12569. },
  12570. "relatedgoodsid": {
  12571. "description": "关联交易合约ID",
  12572. "type": "integer"
  12573. },
  12574. "trademode": {
  12575. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12576. "type": "integer"
  12577. },
  12578. "videourls": {
  12579. "description": "介绍视频[多张用逗号分隔]",
  12580. "type": "string"
  12581. }
  12582. }
  12583. },
  12584. "models.HsbyPreGoodsDetail": {
  12585. "type": "object",
  12586. "required": [
  12587. "goodscode",
  12588. "goodsid",
  12589. "goodsname",
  12590. "marketid",
  12591. "trademode"
  12592. ],
  12593. "properties": {
  12594. "agreeunit": {
  12595. "description": "合约单位",
  12596. "type": "number"
  12597. },
  12598. "buymaxqty": {
  12599. "description": "购买上限 [71] - 0为不限",
  12600. "type": "integer"
  12601. },
  12602. "currency": {
  12603. "description": "货币",
  12604. "type": "string"
  12605. },
  12606. "currencysign": {
  12607. "description": "货币符号",
  12608. "type": "string"
  12609. },
  12610. "customername": {
  12611. "description": "发行单位",
  12612. "type": "string"
  12613. },
  12614. "decimalplace": {
  12615. "description": "报价小数位",
  12616. "type": "integer"
  12617. },
  12618. "desccityid": {
  12619. "description": "目的地(市)ID",
  12620. "type": "integer"
  12621. },
  12622. "descprovinceid": {
  12623. "description": "目的地(省)ID",
  12624. "type": "integer"
  12625. },
  12626. "enableqty": {
  12627. "description": "剩余数量",
  12628. "type": "integer"
  12629. },
  12630. "goodscode": {
  12631. "description": "商品代码(内部)",
  12632. "type": "string"
  12633. },
  12634. "goodsdesc": {
  12635. "description": "商品详情",
  12636. "type": "string"
  12637. },
  12638. "goodsid": {
  12639. "description": "商品ID(自增ID SEQ_GOODS)",
  12640. "type": "integer"
  12641. },
  12642. "goodsname": {
  12643. "description": "商品名称",
  12644. "type": "string"
  12645. },
  12646. "goodsstatus": {
  12647. "description": "商品状态- 2:未上市 3:上市",
  12648. "type": "integer"
  12649. },
  12650. "goodunit": {
  12651. "description": "报价单位",
  12652. "type": "string"
  12653. },
  12654. "lasttradedate": {
  12655. "description": "最后交易日期(状态:待退市)",
  12656. "type": "string"
  12657. },
  12658. "listingdate": {
  12659. "description": "交易开始日期",
  12660. "type": "string"
  12661. },
  12662. "lotsize": {
  12663. "description": "手数最小变动单位",
  12664. "type": "integer"
  12665. },
  12666. "marketid": {
  12667. "description": "所属市场ID",
  12668. "type": "integer"
  12669. },
  12670. "picurls": {
  12671. "description": "介绍图片[多张用逗号分隔]",
  12672. "type": "string"
  12673. },
  12674. "presaledqty": {
  12675. "description": "已预售量(预售结束时更新)",
  12676. "type": "integer"
  12677. },
  12678. "presaleqty": {
  12679. "description": "预售数量",
  12680. "type": "integer"
  12681. },
  12682. "quoteminunit": {
  12683. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12684. "type": "integer"
  12685. },
  12686. "refprice": {
  12687. "description": "参考价格[一口价]",
  12688. "type": "number"
  12689. },
  12690. "relatedgoodsid": {
  12691. "description": "关联交易合约ID",
  12692. "type": "integer"
  12693. },
  12694. "stepvalue": {
  12695. "description": "价格最小变动单位",
  12696. "type": "number"
  12697. },
  12698. "trademode": {
  12699. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12700. "type": "integer"
  12701. },
  12702. "vendorattr": {
  12703. "description": "供应商附件(多张,逗号分隔)",
  12704. "type": "string"
  12705. },
  12706. "vendorname": {
  12707. "description": "供应商名称",
  12708. "type": "string"
  12709. },
  12710. "vendorphone": {
  12711. "description": "供应商客服电话",
  12712. "type": "string"
  12713. },
  12714. "videourls": {
  12715. "description": "介绍视频[多张用逗号分隔]",
  12716. "type": "string"
  12717. }
  12718. }
  12719. },
  12720. "models.HsbySellCollectionOrder": {
  12721. "type": "object",
  12722. "required": [
  12723. "goodscode",
  12724. "goodsname",
  12725. "tradeid",
  12726. "trademode"
  12727. ],
  12728. "properties": {
  12729. "agreeunit": {
  12730. "description": "合约单位",
  12731. "type": "number"
  12732. },
  12733. "buyaccountid": {
  12734. "description": "买方账号ID[报价币种]",
  12735. "type": "integer"
  12736. },
  12737. "buyorderid": {
  12738. "description": "买方委托单号",
  12739. "type": "string"
  12740. },
  12741. "createtime": {
  12742. "description": "创建时间",
  12743. "type": "string"
  12744. },
  12745. "currencysign": {
  12746. "description": "货币符号",
  12747. "type": "string"
  12748. },
  12749. "decimalplace": {
  12750. "description": "报价小数位",
  12751. "type": "integer"
  12752. },
  12753. "goodscode": {
  12754. "description": "商品代码(内部)",
  12755. "type": "string"
  12756. },
  12757. "goodsid": {
  12758. "description": "商品ID",
  12759. "type": "integer"
  12760. },
  12761. "goodsname": {
  12762. "description": "商品名称",
  12763. "type": "string"
  12764. },
  12765. "marketid": {
  12766. "description": "市场ID",
  12767. "type": "integer"
  12768. },
  12769. "offamount": {
  12770. "description": "优惠金额",
  12771. "type": "number"
  12772. },
  12773. "payamount": {
  12774. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  12775. "type": "number"
  12776. },
  12777. "payflag": {
  12778. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12779. "type": "integer"
  12780. },
  12781. "paylimitedtime": {
  12782. "description": "支付期限",
  12783. "type": "string"
  12784. },
  12785. "paytime": {
  12786. "description": "付款时间",
  12787. "type": "string"
  12788. },
  12789. "picurls": {
  12790. "description": "商品介绍图片[多张用逗号分隔]",
  12791. "type": "string"
  12792. },
  12793. "sellaccountid": {
  12794. "description": "卖方账号ID[报价币种]",
  12795. "type": "integer"
  12796. },
  12797. "sellorderid": {
  12798. "description": "卖方委托单号",
  12799. "type": "string"
  12800. },
  12801. "tradeamount": {
  12802. "description": "成交金额",
  12803. "type": "number"
  12804. },
  12805. "tradecharge": {
  12806. "description": "成交手续费(买方)",
  12807. "type": "number"
  12808. },
  12809. "tradedate": {
  12810. "description": "交易日(yyyyMMdd)",
  12811. "type": "string"
  12812. },
  12813. "tradeid": {
  12814. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12815. "type": "string"
  12816. },
  12817. "trademode": {
  12818. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12819. "type": "integer"
  12820. },
  12821. "tradeprice": {
  12822. "description": "成交价格",
  12823. "type": "number"
  12824. },
  12825. "tradeqty": {
  12826. "description": "成交数量",
  12827. "type": "integer"
  12828. }
  12829. }
  12830. },
  12831. "models.HsbySellMyDetail": {
  12832. "type": "object",
  12833. "required": [
  12834. "accountid",
  12835. "buyorsell",
  12836. "goodscode",
  12837. "goodsid",
  12838. "goodsname",
  12839. "marketid",
  12840. "orderid",
  12841. "time",
  12842. "trademode"
  12843. ],
  12844. "properties": {
  12845. "accountid": {
  12846. "description": "账户ID[报价币种]",
  12847. "type": "integer"
  12848. },
  12849. "agreeunit": {
  12850. "description": "合约单位",
  12851. "type": "number"
  12852. },
  12853. "buyorsell": {
  12854. "description": "买卖 - 0:买 1:卖",
  12855. "type": "integer"
  12856. },
  12857. "currencysign": {
  12858. "description": "货币符号",
  12859. "type": "string"
  12860. },
  12861. "decimalplace": {
  12862. "description": "报价小数位",
  12863. "type": "integer"
  12864. },
  12865. "goodscode": {
  12866. "description": "商品代码(内部)",
  12867. "type": "string"
  12868. },
  12869. "goodsid": {
  12870. "description": "商品ID",
  12871. "type": "integer"
  12872. },
  12873. "goodsname": {
  12874. "description": "商品名称",
  12875. "type": "string"
  12876. },
  12877. "marketid": {
  12878. "description": "市场ID",
  12879. "type": "integer"
  12880. },
  12881. "orderid": {
  12882. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  12883. "type": "string"
  12884. },
  12885. "ordertype": {
  12886. "description": "单据类型:0 - 发布中, 1 - 已完成",
  12887. "type": "integer"
  12888. },
  12889. "picurls": {
  12890. "description": "介绍图片[多张用逗号分隔]",
  12891. "type": "string"
  12892. },
  12893. "price": {
  12894. "description": "价格",
  12895. "type": "number"
  12896. },
  12897. "qty": {
  12898. "description": "数量",
  12899. "type": "integer"
  12900. },
  12901. "time": {
  12902. "description": "时间",
  12903. "type": "string"
  12904. },
  12905. "trademode": {
  12906. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12907. "type": "integer"
  12908. },
  12909. "vendorname": {
  12910. "description": "供应商名称",
  12911. "type": "string"
  12912. }
  12913. }
  12914. },
  12915. "models.HsbyTopGoods": {
  12916. "type": "object",
  12917. "required": [
  12918. "goodscode",
  12919. "goodsid",
  12920. "goodsname",
  12921. "marketid",
  12922. "trademode"
  12923. ],
  12924. "properties": {
  12925. "agreeunit": {
  12926. "description": "合约单位",
  12927. "type": "number"
  12928. },
  12929. "currency": {
  12930. "description": "货币",
  12931. "type": "string"
  12932. },
  12933. "currencysign": {
  12934. "description": "货币符号",
  12935. "type": "string"
  12936. },
  12937. "decimalplace": {
  12938. "description": "报价小数位",
  12939. "type": "integer"
  12940. },
  12941. "goodscode": {
  12942. "description": "商品代码(内部)",
  12943. "type": "string"
  12944. },
  12945. "goodsid": {
  12946. "description": "商品ID(自增ID SEQ_GOODS)",
  12947. "type": "integer"
  12948. },
  12949. "goodsname": {
  12950. "description": "商品名称",
  12951. "type": "string"
  12952. },
  12953. "hotindex": {
  12954. "description": "景点热度",
  12955. "type": "integer"
  12956. },
  12957. "last": {
  12958. "description": "现价",
  12959. "type": "number"
  12960. },
  12961. "marketid": {
  12962. "description": "所属市场ID",
  12963. "type": "integer"
  12964. },
  12965. "picurls": {
  12966. "description": "介绍图片[多张用逗号分隔]",
  12967. "type": "string"
  12968. },
  12969. "quoteminunit": {
  12970. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12971. "type": "integer"
  12972. },
  12973. "trademode": {
  12974. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12975. "type": "integer"
  12976. },
  12977. "videourls": {
  12978. "description": "介绍视频[多张用逗号分隔]",
  12979. "type": "string"
  12980. }
  12981. }
  12982. },
  12983. "models.HybsMyBuyOrderDetail": {
  12984. "type": "object",
  12985. "required": [
  12986. "accountid",
  12987. "buyorsell",
  12988. "goodscode",
  12989. "goodsid",
  12990. "goodsname",
  12991. "marketid",
  12992. "orderid",
  12993. "orderqty",
  12994. "ordertime",
  12995. "trademode"
  12996. ],
  12997. "properties": {
  12998. "accountid": {
  12999. "description": "账户ID[报价币种]",
  13000. "type": "integer"
  13001. },
  13002. "agreeunit": {
  13003. "description": "合约单位",
  13004. "type": "number"
  13005. },
  13006. "buyorsell": {
  13007. "description": "买卖 - 0:买 1:卖",
  13008. "type": "integer"
  13009. },
  13010. "cancelqty": {
  13011. "description": "撤单数量",
  13012. "type": "integer"
  13013. },
  13014. "currencysign": {
  13015. "description": "货币符号",
  13016. "type": "string"
  13017. },
  13018. "decimalplace": {
  13019. "description": "报价小数位",
  13020. "type": "integer"
  13021. },
  13022. "goodscode": {
  13023. "description": "商品代码(内部)",
  13024. "type": "string"
  13025. },
  13026. "goodsid": {
  13027. "description": "商品ID",
  13028. "type": "integer"
  13029. },
  13030. "goodsname": {
  13031. "description": "商品名称",
  13032. "type": "string"
  13033. },
  13034. "listingselecttype": {
  13035. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13036. "type": "integer"
  13037. },
  13038. "marketid": {
  13039. "description": "市场ID",
  13040. "type": "integer"
  13041. },
  13042. "mybuystatus": {
  13043. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  13044. "type": "integer"
  13045. },
  13046. "orderamount": {
  13047. "description": "委托金额",
  13048. "type": "number"
  13049. },
  13050. "orderid": {
  13051. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13052. "type": "string"
  13053. },
  13054. "orderprice": {
  13055. "description": "委托价格",
  13056. "type": "number"
  13057. },
  13058. "orderqty": {
  13059. "description": "委托数量",
  13060. "type": "integer"
  13061. },
  13062. "orderstatus": {
  13063. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13064. "type": "integer"
  13065. },
  13066. "ordertime": {
  13067. "description": "委托时间",
  13068. "type": "string"
  13069. },
  13070. "picurls1": {
  13071. "description": "预售商品介绍图片[多张用逗号分隔]",
  13072. "type": "string"
  13073. },
  13074. "picurls2": {
  13075. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13076. "type": "string"
  13077. },
  13078. "trademode": {
  13079. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13080. "type": "integer"
  13081. },
  13082. "tradeqty": {
  13083. "description": "成交数量",
  13084. "type": "integer"
  13085. },
  13086. "vendorname1": {
  13087. "description": "预售商品供应商名称",
  13088. "type": "string"
  13089. },
  13090. "vendorname2": {
  13091. "description": "挂牌商品供应商名称",
  13092. "type": "string"
  13093. }
  13094. }
  13095. },
  13096. "models.Market": {
  13097. "type": "object",
  13098. "required": [
  13099. "marketid",
  13100. "marketstatus",
  13101. "openmethod",
  13102. "reckonpricealgorithm",
  13103. "trademode",
  13104. "tradeproperty"
  13105. ],
  13106. "properties": {
  13107. "auctionwrtype": {
  13108. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  13109. "type": "integer"
  13110. },
  13111. "canacceptquote": {
  13112. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  13113. "type": "integer"
  13114. },
  13115. "cangoodsexercise": {
  13116. "description": "[期权]是否可现货行权- 0:否 1:是",
  13117. "type": "integer"
  13118. },
  13119. "cangoodsexercisetype": {
  13120. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  13121. "type": "integer"
  13122. },
  13123. "canmanualquotestrike": {
  13124. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  13125. "type": "integer"
  13126. },
  13127. "canmutistage": {
  13128. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  13129. "type": "integer"
  13130. },
  13131. "canpreexercise": {
  13132. "description": "[期权]是否可预申报- 0:否 1:是",
  13133. "type": "integer"
  13134. },
  13135. "clearinterval": {
  13136. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  13137. "type": "integer"
  13138. },
  13139. "contracttmp": {
  13140. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  13141. "type": "string"
  13142. },
  13143. "exchareaid": {
  13144. "description": "所属交易所,可以没有",
  13145. "type": "integer"
  13146. },
  13147. "goodstype": {
  13148. "description": "商品类型 - 1:交易商品 2:仓单商品",
  13149. "type": "integer"
  13150. },
  13151. "hasrebate": {
  13152. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  13153. "type": "integer"
  13154. },
  13155. "hastradecredit": {
  13156. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  13157. "type": "integer"
  13158. },
  13159. "haswr": {
  13160. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  13161. "type": "integer"
  13162. },
  13163. "isdeductmargin": {
  13164. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  13165. "type": "integer"
  13166. },
  13167. "isrecordsource": {
  13168. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  13169. "type": "integer"
  13170. },
  13171. "isreleasemargin": {
  13172. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  13173. "type": "integer"
  13174. },
  13175. "marginformula": {
  13176. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13177. "type": "integer"
  13178. },
  13179. "marginformula2": {
  13180. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13181. "type": "integer"
  13182. },
  13183. "marketid": {
  13184. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13185. "type": "integer"
  13186. },
  13187. "marketname": {
  13188. "description": "市场名称",
  13189. "type": "string"
  13190. },
  13191. "marketserviceid": {
  13192. "description": "市场服务ID",
  13193. "type": "integer"
  13194. },
  13195. "marketstatus": {
  13196. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13197. "type": "integer"
  13198. },
  13199. "markettype": {
  13200. "description": "市场类型- 1:非交易服务 2:交易服务",
  13201. "type": "integer"
  13202. },
  13203. "matchermode": {
  13204. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  13205. "type": "integer"
  13206. },
  13207. "openmethod": {
  13208. "description": "开盘模式 - 0 自动 1手动",
  13209. "type": "integer"
  13210. },
  13211. "otcuserid": {
  13212. "description": "场外期权做市商[场外期权]",
  13213. "type": "integer"
  13214. },
  13215. "outersynctime": {
  13216. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  13217. "type": "string"
  13218. },
  13219. "pendingflag": {
  13220. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  13221. "type": "integer"
  13222. },
  13223. "pendingtime": {
  13224. "description": "待开市时间[通道交易-对冲](HH:mm)",
  13225. "type": "string"
  13226. },
  13227. "performancetempid": {
  13228. "description": "履约计划模板ID - 作废",
  13229. "type": "integer"
  13230. },
  13231. "premiumquotemode": {
  13232. "description": "权利金报价方式 - 1:自动 2:手动",
  13233. "type": "integer"
  13234. },
  13235. "rebateratio": {
  13236. "description": "返利比率[竞价式]",
  13237. "type": "number"
  13238. },
  13239. "reckonorder": {
  13240. "description": "结算顺序",
  13241. "type": "integer"
  13242. },
  13243. "reckonpricealgorithm": {
  13244. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  13245. "type": "integer"
  13246. },
  13247. "reckonpriceparam": {
  13248. "description": "结算价参数",
  13249. "type": "integer"
  13250. },
  13251. "reckontime": {
  13252. "description": "结算时间[通道交易-对冲](HH:mm)",
  13253. "type": "string"
  13254. },
  13255. "roleprioritytype": {
  13256. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  13257. "type": "integer"
  13258. },
  13259. "selllistingauditflag": {
  13260. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  13261. "type": "integer"
  13262. },
  13263. "trademarkettype": {
  13264. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  13265. "type": "integer"
  13266. },
  13267. "trademode": {
  13268. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13269. "type": "integer"
  13270. },
  13271. "tradeproperty": {
  13272. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  13273. "type": "integer"
  13274. },
  13275. "tradetype": {
  13276. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  13277. "type": "integer"
  13278. }
  13279. }
  13280. },
  13281. "models.Marketrun": {
  13282. "type": "object",
  13283. "required": [
  13284. "marketid",
  13285. "nexttradedate",
  13286. "reckonflag",
  13287. "runstatus",
  13288. "tradedate",
  13289. "tradedate2"
  13290. ],
  13291. "properties": {
  13292. "afternexttradedate": {
  13293. "description": "下下交易日",
  13294. "type": "string"
  13295. },
  13296. "clearquoteflag": {
  13297. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  13298. "type": "integer"
  13299. },
  13300. "lastreckondate": {
  13301. "description": "最新交易日(结算成功)",
  13302. "type": "string"
  13303. },
  13304. "machinedate": {
  13305. "description": "机器时间",
  13306. "type": "string"
  13307. },
  13308. "manualflag": {
  13309. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  13310. "type": "integer"
  13311. },
  13312. "marketid": {
  13313. "description": "市场ID",
  13314. "type": "integer"
  13315. },
  13316. "nexttradedate": {
  13317. "description": "下一交易日",
  13318. "type": "string"
  13319. },
  13320. "pretradedate": {
  13321. "description": "上一交易日",
  13322. "type": "string"
  13323. },
  13324. "reckonflag": {
  13325. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  13326. "type": "integer"
  13327. },
  13328. "runstatus": {
  13329. "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.今日免清算",
  13330. "type": "integer"
  13331. },
  13332. "sectionid": {
  13333. "description": "时间段号[多时段时用]",
  13334. "type": "integer"
  13335. },
  13336. "tradedate": {
  13337. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  13338. "type": "string"
  13339. },
  13340. "tradedate2": {
  13341. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  13342. "type": "string"
  13343. },
  13344. "updatetime": {
  13345. "description": "更新时间",
  13346. "type": "string"
  13347. }
  13348. }
  13349. },
  13350. "models.Messageboard": {
  13351. "type": "object",
  13352. "required": [
  13353. "messageboardid"
  13354. ],
  13355. "properties": {
  13356. "createtime": {
  13357. "description": "创建时间",
  13358. "type": "string"
  13359. },
  13360. "message": {
  13361. "description": "留言信息",
  13362. "type": "string"
  13363. },
  13364. "messageboardid": {
  13365. "description": "留言簿ID(SEQ_MessageBoard)",
  13366. "type": "integer"
  13367. },
  13368. "userid": {
  13369. "description": "用户ID",
  13370. "type": "integer"
  13371. }
  13372. }
  13373. },
  13374. "models.MyCoupon": {
  13375. "type": "object",
  13376. "required": [
  13377. "accountid",
  13378. "coupontypeid"
  13379. ],
  13380. "properties": {
  13381. "accountid": {
  13382. "description": "资金账户ID",
  13383. "type": "integer"
  13384. },
  13385. "areauserid": {
  13386. "description": "所属机构",
  13387. "type": "integer"
  13388. },
  13389. "conditionvalue": {
  13390. "description": "条件阈值(可为0)",
  13391. "type": "number"
  13392. },
  13393. "couponcategroy": {
  13394. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  13395. "type": "integer"
  13396. },
  13397. "couponname": {
  13398. "description": "优惠券名称",
  13399. "type": "string"
  13400. },
  13401. "coupontypeid": {
  13402. "description": "优惠券类型ID",
  13403. "type": "string"
  13404. },
  13405. "couponvalue": {
  13406. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  13407. "type": "number"
  13408. },
  13409. "curfreezeqty": {
  13410. "description": "期末冻结数量",
  13411. "type": "integer"
  13412. },
  13413. "curqty": {
  13414. "description": "期末数量",
  13415. "type": "integer"
  13416. },
  13417. "isgeneral": {
  13418. "description": "是否通用券 - 0:否 1:是",
  13419. "type": "integer"
  13420. },
  13421. "isunusable": {
  13422. "description": "是否不可用",
  13423. "type": "boolean"
  13424. },
  13425. "limitedflag": {
  13426. "description": "是否指定商品 - 0:不限 1:限制",
  13427. "type": "integer"
  13428. },
  13429. "limitedgoodsids": {
  13430. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  13431. "type": "string"
  13432. },
  13433. "orifreezeqty": {
  13434. "description": "期初冻结数量",
  13435. "type": "integer"
  13436. },
  13437. "oriqty": {
  13438. "description": "期初数量",
  13439. "type": "integer"
  13440. },
  13441. "reasontype": {
  13442. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  13443. "type": "integer"
  13444. },
  13445. "todaydecrease": {
  13446. "description": "今日减少",
  13447. "type": "integer"
  13448. },
  13449. "todayincrease": {
  13450. "description": "今日增加",
  13451. "type": "integer"
  13452. },
  13453. "userid": {
  13454. "description": "用户ID",
  13455. "type": "integer"
  13456. },
  13457. "userscope": {
  13458. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  13459. "type": "string"
  13460. }
  13461. }
  13462. },
  13463. "models.MyCouponHold": {
  13464. "type": "object",
  13465. "required": [
  13466. "couponholdid"
  13467. ],
  13468. "properties": {
  13469. "accountid": {
  13470. "description": "资金账户ID",
  13471. "type": "integer"
  13472. },
  13473. "conditionvalue": {
  13474. "description": "条件阈值(可为0)",
  13475. "type": "number"
  13476. },
  13477. "couponcategroy": {
  13478. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  13479. "type": "integer"
  13480. },
  13481. "couponholdid": {
  13482. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  13483. "type": "string"
  13484. },
  13485. "couponname": {
  13486. "description": "优惠券名称",
  13487. "type": "string"
  13488. },
  13489. "coupontypeid": {
  13490. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  13491. "type": "string"
  13492. },
  13493. "couponvalue": {
  13494. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  13495. "type": "number"
  13496. },
  13497. "createtime": {
  13498. "description": "创建时间",
  13499. "type": "string"
  13500. },
  13501. "enddate": {
  13502. "description": "结束日期",
  13503. "type": "string"
  13504. },
  13505. "giveapplyid": {
  13506. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  13507. "type": "integer"
  13508. },
  13509. "holdstatus": {
  13510. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  13511. "type": "integer"
  13512. },
  13513. "isgeneral": {
  13514. "description": "是否通用券 - 0:否 1:是",
  13515. "type": "integer"
  13516. },
  13517. "limitedflag": {
  13518. "description": "是否指定商品 - 0:不限 1:限制",
  13519. "type": "integer"
  13520. },
  13521. "limitedgoodsids": {
  13522. "description": "指定商品IDs[逗号分隔]",
  13523. "type": "string"
  13524. },
  13525. "qty": {
  13526. "description": "数量(按1平铺)",
  13527. "type": "integer"
  13528. },
  13529. "startdate": {
  13530. "description": "开始日期",
  13531. "type": "string"
  13532. },
  13533. "userid": {
  13534. "description": "用户ID",
  13535. "type": "integer"
  13536. },
  13537. "userscope": {
  13538. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  13539. "type": "string"
  13540. }
  13541. }
  13542. },
  13543. "models.MyUsedCoupon": {
  13544. "type": "object",
  13545. "required": [
  13546. "coupontypeid",
  13547. "orderid"
  13548. ],
  13549. "properties": {
  13550. "accountid": {
  13551. "description": "资金账户ID(买方)",
  13552. "type": "integer"
  13553. },
  13554. "conditionvalue": {
  13555. "description": "条件阈值(可为0)",
  13556. "type": "number"
  13557. },
  13558. "couponcategroy": {
  13559. "description": "种类 - 1:现金券 2:折扣券",
  13560. "type": "integer"
  13561. },
  13562. "couponname": {
  13563. "description": "优惠券名称",
  13564. "type": "string"
  13565. },
  13566. "coupontypeid": {
  13567. "description": "优惠券类型ID(买方)",
  13568. "type": "string"
  13569. },
  13570. "couponvalue": {
  13571. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  13572. "type": "number"
  13573. },
  13574. "createtime": {
  13575. "description": "创建时间",
  13576. "type": "string"
  13577. },
  13578. "goodsid": {
  13579. "description": "商品ID",
  13580. "type": "integer"
  13581. },
  13582. "handlestatus": {
  13583. "description": "处理状态",
  13584. "type": "integer"
  13585. },
  13586. "marketid": {
  13587. "description": "市场ID",
  13588. "type": "integer"
  13589. },
  13590. "offamount": {
  13591. "description": "优惠金额",
  13592. "type": "number"
  13593. },
  13594. "orderid": {
  13595. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13596. "type": "string"
  13597. },
  13598. "sellaccountid": {
  13599. "description": "资金账户ID(卖方)",
  13600. "type": "integer"
  13601. },
  13602. "tradeamount": {
  13603. "description": "成交金额",
  13604. "type": "number"
  13605. },
  13606. "tradeid": {
  13607. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13608. "type": "string"
  13609. },
  13610. "usedqty": {
  13611. "description": "使用数量",
  13612. "type": "integer"
  13613. }
  13614. }
  13615. },
  13616. "models.OperationPrimaryMenu": {
  13617. "type": "object",
  13618. "properties": {
  13619. "Children": {
  13620. "description": "二级功能菜单",
  13621. "type": "array",
  13622. "items": {
  13623. "$ref": "#/definitions/models.OperationSecondaryMenu"
  13624. }
  13625. },
  13626. "Key": {
  13627. "description": "菜单KEY",
  13628. "type": "string"
  13629. },
  13630. "Label": {
  13631. "description": "菜单标题",
  13632. "type": "string"
  13633. }
  13634. }
  13635. },
  13636. "models.OperationSecondaryMenu": {
  13637. "type": "object",
  13638. "properties": {
  13639. "Key": {
  13640. "description": "菜单KEY",
  13641. "type": "string"
  13642. },
  13643. "Label": {
  13644. "description": "菜单标题",
  13645. "type": "string"
  13646. },
  13647. "TabList": {
  13648. "description": "三级功能菜单",
  13649. "type": "array",
  13650. "items": {
  13651. "$ref": "#/definitions/models.OperationTabMenu"
  13652. }
  13653. }
  13654. }
  13655. },
  13656. "models.OperationTabMenu": {
  13657. "type": "object",
  13658. "properties": {
  13659. "Key": {
  13660. "description": "菜单KEY",
  13661. "type": "string"
  13662. },
  13663. "Label": {
  13664. "description": "菜单标题",
  13665. "type": "string"
  13666. }
  13667. }
  13668. },
  13669. "models.PendingAuditBizModel": {
  13670. "type": "object",
  13671. "properties": {
  13672. "accountid": {
  13673. "description": "现货账户",
  13674. "type": "string"
  13675. },
  13676. "areaname": {
  13677. "description": "所属部门",
  13678. "type": "string"
  13679. },
  13680. "bizid": {
  13681. "description": "业务ID",
  13682. "type": "string"
  13683. },
  13684. "bizname": {
  13685. "description": "业务名称",
  13686. "type": "string"
  13687. },
  13688. "status": {
  13689. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13690. "type": "integer"
  13691. },
  13692. "type": {
  13693. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  13694. "type": "integer"
  13695. }
  13696. }
  13697. },
  13698. "models.QueryErrorInfosRsp": {
  13699. "type": "object",
  13700. "required": [
  13701. "errorid"
  13702. ],
  13703. "properties": {
  13704. "description": {
  13705. "description": "异常描述",
  13706. "type": "string"
  13707. },
  13708. "errorcode": {
  13709. "description": "异常代码",
  13710. "type": "string"
  13711. },
  13712. "errorid": {
  13713. "description": "异常ID",
  13714. "type": "integer"
  13715. },
  13716. "modulecode": {
  13717. "description": "所属模块",
  13718. "type": "string"
  13719. },
  13720. "operatecode": {
  13721. "description": "所属操作",
  13722. "type": "string"
  13723. },
  13724. "rownumber": {
  13725. "description": "行号",
  13726. "type": "string"
  13727. }
  13728. }
  13729. },
  13730. "models.QuotePrimaryMenu": {
  13731. "type": "object",
  13732. "properties": {
  13733. "Index": {
  13734. "description": "序号",
  13735. "type": "integer"
  13736. },
  13737. "Key": {
  13738. "description": "键名",
  13739. "type": "string"
  13740. },
  13741. "Name": {
  13742. "description": "菜单名称",
  13743. "type": "string"
  13744. },
  13745. "SubMenus": {
  13746. "description": "子菜单",
  13747. "type": "array",
  13748. "items": {
  13749. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  13750. }
  13751. },
  13752. "SubTitleType": {
  13753. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  13754. "type": "integer"
  13755. },
  13756. "TradeModes": {
  13757. "description": "包含市场交易类型",
  13758. "type": "string"
  13759. }
  13760. }
  13761. },
  13762. "models.QuoteSecondaryMenu": {
  13763. "type": "object",
  13764. "properties": {
  13765. "ExExchangeCode": {
  13766. "description": "外部交易所代码",
  13767. "type": "string"
  13768. },
  13769. "ExExchangeID": {
  13770. "description": "外部交易所ID",
  13771. "type": "integer"
  13772. },
  13773. "GoodsGroupIDs": {
  13774. "description": "商品组ID列表",
  13775. "type": "array",
  13776. "items": {
  13777. "type": "integer"
  13778. }
  13779. },
  13780. "Index": {
  13781. "description": "序号",
  13782. "type": "integer"
  13783. },
  13784. "MarketID": {
  13785. "description": "市场ID",
  13786. "type": "integer"
  13787. },
  13788. "MenuTitle": {
  13789. "description": "菜单标题(市场名称或外部交易所名称)",
  13790. "type": "string"
  13791. },
  13792. "TradeMode": {
  13793. "description": "交易模式",
  13794. "type": "integer"
  13795. }
  13796. }
  13797. },
  13798. "models.SearchGoods": {
  13799. "type": "object",
  13800. "required": [
  13801. "goodscode",
  13802. "goodsid",
  13803. "goodsname",
  13804. "marketid",
  13805. "trademode"
  13806. ],
  13807. "properties": {
  13808. "goodscode": {
  13809. "description": "商品代码(内部)",
  13810. "type": "string"
  13811. },
  13812. "goodsid": {
  13813. "description": "商品ID(自增ID SEQ_GOODS)",
  13814. "type": "integer"
  13815. },
  13816. "goodsname": {
  13817. "description": "商品名称",
  13818. "type": "string"
  13819. },
  13820. "marketid": {
  13821. "description": "所属市场ID",
  13822. "type": "integer"
  13823. },
  13824. "marketname": {
  13825. "description": "市场名称",
  13826. "type": "string"
  13827. },
  13828. "trademode": {
  13829. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13830. "type": "integer"
  13831. }
  13832. }
  13833. },
  13834. "models.Szdz2imageconfig": {
  13835. "type": "object",
  13836. "required": [
  13837. "configid"
  13838. ],
  13839. "properties": {
  13840. "configid": {
  13841. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  13842. "type": "integer"
  13843. },
  13844. "imagepath": {
  13845. "description": "图片",
  13846. "type": "string"
  13847. },
  13848. "imagetype": {
  13849. "description": "类型 - 1:App首页轮播 2:我的",
  13850. "type": "integer"
  13851. },
  13852. "sort": {
  13853. "description": "排序",
  13854. "type": "integer"
  13855. },
  13856. "title": {
  13857. "description": "标题",
  13858. "type": "string"
  13859. },
  13860. "url": {
  13861. "description": "链接",
  13862. "type": "string"
  13863. }
  13864. }
  13865. },
  13866. "models.Szdz3convertconfig": {
  13867. "type": "object",
  13868. "required": [
  13869. "converttype",
  13870. "innergoodsid",
  13871. "outergoodscode"
  13872. ],
  13873. "properties": {
  13874. "canin": {
  13875. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  13876. "type": "integer"
  13877. },
  13878. "canout": {
  13879. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  13880. "type": "integer"
  13881. },
  13882. "converttype": {
  13883. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  13884. "type": "integer"
  13885. },
  13886. "createtime": {
  13887. "description": "创建时间",
  13888. "type": "string"
  13889. },
  13890. "creatorid": {
  13891. "description": "创建人",
  13892. "type": "integer"
  13893. },
  13894. "daymaxvalue": {
  13895. "description": "当日最大转入限制",
  13896. "type": "number"
  13897. },
  13898. "freezedays": {
  13899. "description": "冻结天数 [5:花生米转交易]",
  13900. "type": "integer"
  13901. },
  13902. "innergoodsid": {
  13903. "description": "内部商品ID[交易]",
  13904. "type": "integer"
  13905. },
  13906. "inratio": {
  13907. "description": "目标值",
  13908. "type": "integer"
  13909. },
  13910. "modifierid": {
  13911. "description": "修改人",
  13912. "type": "integer"
  13913. },
  13914. "modifytime": {
  13915. "description": "修改时间",
  13916. "type": "string"
  13917. },
  13918. "outergoodscode": {
  13919. "description": "外部商品代码[JD\\PD]",
  13920. "type": "string"
  13921. },
  13922. "outratio": {
  13923. "description": "源值",
  13924. "type": "integer"
  13925. },
  13926. "pddecimalplace": {
  13927. "description": "PD小数位",
  13928. "type": "integer"
  13929. },
  13930. "timemaxvalue": {
  13931. "description": "单次最大转入限制",
  13932. "type": "number"
  13933. },
  13934. "timeminvalue": {
  13935. "description": "单次最小转入限制",
  13936. "type": "number"
  13937. }
  13938. }
  13939. },
  13940. "models.Szdz3searchwhitelist": {
  13941. "type": "object",
  13942. "required": [
  13943. "userid"
  13944. ],
  13945. "properties": {
  13946. "createtime": {
  13947. "description": "创建时间",
  13948. "type": "string"
  13949. },
  13950. "creatorid": {
  13951. "description": "创建人",
  13952. "type": "integer"
  13953. },
  13954. "modifierid": {
  13955. "description": "修改人",
  13956. "type": "integer"
  13957. },
  13958. "modifytime": {
  13959. "description": "修改时间",
  13960. "type": "string"
  13961. },
  13962. "userid": {
  13963. "description": "用户ID",
  13964. "type": "integer"
  13965. }
  13966. }
  13967. },
  13968. "models.Tablecolumnconfig": {
  13969. "type": "object",
  13970. "required": [
  13971. "autoid"
  13972. ],
  13973. "properties": {
  13974. "aligntype": {
  13975. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  13976. "type": "integer"
  13977. },
  13978. "autoid": {
  13979. "description": "AutoID",
  13980. "type": "integer"
  13981. },
  13982. "columnfield": {
  13983. "description": "列字段",
  13984. "type": "string"
  13985. },
  13986. "columntitle": {
  13987. "description": "列Title",
  13988. "type": "string"
  13989. },
  13990. "columnwidth": {
  13991. "description": "列宽",
  13992. "type": "string"
  13993. },
  13994. "formatterstring": {
  13995. "description": "格式化字符",
  13996. "type": "string"
  13997. },
  13998. "formattertype": {
  13999. "description": "格式化类型",
  14000. "type": "string"
  14001. },
  14002. "groupname": {
  14003. "description": "表头分组名称",
  14004. "type": "string"
  14005. },
  14006. "isshow": {
  14007. "description": "是否显示 - 0:不显示 1:显示",
  14008. "type": "integer"
  14009. },
  14010. "needsummary": {
  14011. "description": "是否需要汇总 - 0:不需要 1:需要",
  14012. "type": "integer"
  14013. },
  14014. "orderindex": {
  14015. "description": "顺序",
  14016. "type": "integer"
  14017. },
  14018. "remark": {
  14019. "description": "备注",
  14020. "type": "string"
  14021. },
  14022. "summarytype": {
  14023. "description": "汇总类型 - 1:加总 2:最后一个",
  14024. "type": "integer"
  14025. },
  14026. "tablekey": {
  14027. "description": "列表Key",
  14028. "type": "string"
  14029. }
  14030. }
  14031. },
  14032. "models.Useraccount": {
  14033. "type": "object",
  14034. "required": [
  14035. "userid"
  14036. ],
  14037. "properties": {
  14038. "accountname": {
  14039. "description": "账户名称(机构名称)",
  14040. "type": "string"
  14041. },
  14042. "accountstatus": {
  14043. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  14044. "type": "integer"
  14045. },
  14046. "auditremark": {
  14047. "description": "审核备注",
  14048. "type": "string"
  14049. },
  14050. "audittime": {
  14051. "description": "审核时间",
  14052. "type": "string"
  14053. },
  14054. "audituserid": {
  14055. "description": "审核人",
  14056. "type": "integer"
  14057. },
  14058. "broker": {
  14059. "description": "所属经纪人ID",
  14060. "type": "integer"
  14061. },
  14062. "canceltime": {
  14063. "description": "销户时间",
  14064. "type": "string"
  14065. },
  14066. "canceluserid": {
  14067. "description": "销户人",
  14068. "type": "integer"
  14069. },
  14070. "createtime": {
  14071. "description": "创建时间",
  14072. "type": "string"
  14073. },
  14074. "creatorid": {
  14075. "description": "创建人",
  14076. "type": "integer"
  14077. },
  14078. "hasauth": {
  14079. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  14080. "type": "integer"
  14081. },
  14082. "isanonymous": {
  14083. "description": "是否匿名下单 - 0:否 1:是",
  14084. "type": "integer"
  14085. },
  14086. "maxinvestornum": {
  14087. "description": "最大用户数(经纪会员下投资者个数)",
  14088. "type": "integer"
  14089. },
  14090. "memberuserid": {
  14091. "description": "所属会员ID",
  14092. "type": "integer"
  14093. },
  14094. "modifierid": {
  14095. "description": "修改人",
  14096. "type": "integer"
  14097. },
  14098. "modifyremark": {
  14099. "description": "变更备注",
  14100. "type": "string"
  14101. },
  14102. "modifystatus": {
  14103. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  14104. "type": "integer"
  14105. },
  14106. "modifytime": {
  14107. "description": "修改时间",
  14108. "type": "string"
  14109. },
  14110. "parentuserid": {
  14111. "description": "所属机构ID",
  14112. "type": "integer"
  14113. },
  14114. "reckonaccountid": {
  14115. "description": "默认结算资金账号ID(机构分润使用) 作废",
  14116. "type": "integer"
  14117. },
  14118. "refercount": {
  14119. "description": "推荐总人数",
  14120. "type": "integer"
  14121. },
  14122. "refereeuserid": {
  14123. "description": "推荐人ID",
  14124. "type": "integer"
  14125. },
  14126. "refernum": {
  14127. "description": "推荐码",
  14128. "type": "string"
  14129. },
  14130. "subarealevelpath": {
  14131. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  14132. "type": "string"
  14133. },
  14134. "userid": {
  14135. "description": "用户ID",
  14136. "type": "integer"
  14137. },
  14138. "usertype": {
  14139. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  14140. "type": "integer"
  14141. }
  14142. }
  14143. },
  14144. "models.Userfavoritegoods": {
  14145. "type": "object",
  14146. "required": [
  14147. "goodsid"
  14148. ],
  14149. "properties": {
  14150. "goodsid": {
  14151. "description": "商品ID",
  14152. "type": "integer"
  14153. }
  14154. }
  14155. },
  14156. "models.Userinfo": {
  14157. "type": "object",
  14158. "required": [
  14159. "userid"
  14160. ],
  14161. "properties": {
  14162. "address": {
  14163. "description": "地址",
  14164. "type": "string"
  14165. },
  14166. "attachment1": {
  14167. "description": "附件1",
  14168. "type": "string"
  14169. },
  14170. "attachment2": {
  14171. "description": "附件2",
  14172. "type": "string"
  14173. },
  14174. "bankaccount": {
  14175. "description": "银行帐号 (加密存储)",
  14176. "type": "string"
  14177. },
  14178. "bankaccountname": {
  14179. "description": "收款人名称",
  14180. "type": "string"
  14181. },
  14182. "bankcardfrontphotourl": {
  14183. "description": "银行卡正面照地址",
  14184. "type": "string"
  14185. },
  14186. "bankid": {
  14187. "description": "银行编码",
  14188. "type": "string"
  14189. },
  14190. "bankname": {
  14191. "description": "银行名称",
  14192. "type": "string"
  14193. },
  14194. "biznature": {
  14195. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14196. "type": "integer"
  14197. },
  14198. "bizscope": {
  14199. "description": "企业经营范围(企业)",
  14200. "type": "string"
  14201. },
  14202. "cardbackphotourl": {
  14203. "description": "证件背面图片地址",
  14204. "type": "string"
  14205. },
  14206. "cardfrontphotourl": {
  14207. "description": "证件正面图片地址",
  14208. "type": "string"
  14209. },
  14210. "cardnum": {
  14211. "description": "证件号码(加密存储)",
  14212. "type": "string"
  14213. },
  14214. "cardtypeid": {
  14215. "description": "证件类型ID",
  14216. "type": "integer"
  14217. },
  14218. "cityid": {
  14219. "description": "市",
  14220. "type": "integer"
  14221. },
  14222. "company": {
  14223. "description": "公司(个人)",
  14224. "type": "string"
  14225. },
  14226. "contactname": {
  14227. "description": "联系人",
  14228. "type": "string"
  14229. },
  14230. "countryid": {
  14231. "description": "国家",
  14232. "type": "integer"
  14233. },
  14234. "createtime": {
  14235. "description": "创建时间",
  14236. "type": "string"
  14237. },
  14238. "creatorid": {
  14239. "description": "创建人",
  14240. "type": "integer"
  14241. },
  14242. "customername": {
  14243. "description": "客户名称(企业名称)",
  14244. "type": "string"
  14245. },
  14246. "districtid": {
  14247. "description": "地区",
  14248. "type": "integer"
  14249. },
  14250. "email": {
  14251. "description": "邮件(加密存储)",
  14252. "type": "string"
  14253. },
  14254. "fax": {
  14255. "description": "传真(加密存储)",
  14256. "type": "string"
  14257. },
  14258. "halfbodyphotourl": {
  14259. "description": "半身照地址",
  14260. "type": "string"
  14261. },
  14262. "hasencrypt": {
  14263. "description": "数据是否已加密 - 0:未加密 1:已加密",
  14264. "type": "integer"
  14265. },
  14266. "headurl": {
  14267. "description": "头像地址",
  14268. "type": "string"
  14269. },
  14270. "legalcardbackphotourl": {
  14271. "description": "法人身份证背面照地址",
  14272. "type": "string"
  14273. },
  14274. "legalcardfrontphotourl": {
  14275. "description": "法人身份证正面照地址",
  14276. "type": "string"
  14277. },
  14278. "legalpersonname": {
  14279. "description": "法人姓名(企业)",
  14280. "type": "string"
  14281. },
  14282. "mobile": {
  14283. "description": "手机号码(加密存储)",
  14284. "type": "string"
  14285. },
  14286. "mobile2": {
  14287. "description": "手机号码[明文-尚志]",
  14288. "type": "string"
  14289. },
  14290. "modifierid": {
  14291. "description": "修改人",
  14292. "type": "integer"
  14293. },
  14294. "modifiertime": {
  14295. "description": "修改时间",
  14296. "type": "string"
  14297. },
  14298. "needinvoice": {
  14299. "description": "是否需要发票 - 0:不需要 1:需要",
  14300. "type": "integer"
  14301. },
  14302. "nickname": {
  14303. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  14304. "type": "string"
  14305. },
  14306. "openmode": {
  14307. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  14308. "type": "integer"
  14309. },
  14310. "otherurl": {
  14311. "description": "其它图片地址[使用分号分隔]",
  14312. "type": "string"
  14313. },
  14314. "postalcode": {
  14315. "description": "邮政编码",
  14316. "type": "string"
  14317. },
  14318. "provinceid": {
  14319. "description": "省",
  14320. "type": "integer"
  14321. },
  14322. "qq": {
  14323. "description": "QQ(加密存储",
  14324. "type": "string"
  14325. },
  14326. "remark": {
  14327. "description": "备注",
  14328. "type": "string"
  14329. },
  14330. "sex": {
  14331. "description": "用户性别 0: 女 1: 男",
  14332. "type": "integer"
  14333. },
  14334. "signpdfurl": {
  14335. "description": "签约pdf文件",
  14336. "type": "string"
  14337. },
  14338. "telphone": {
  14339. "description": "联系电话(加密存储)",
  14340. "type": "string"
  14341. },
  14342. "userid": {
  14343. "description": "用户ID",
  14344. "type": "integer"
  14345. },
  14346. "userinfotype": {
  14347. "description": "用户信息类型 - 1:个人 2:企业",
  14348. "type": "integer"
  14349. },
  14350. "userstatus": {
  14351. "description": "用户状态 - 1:正常 2:注销",
  14352. "type": "integer"
  14353. },
  14354. "usertype": {
  14355. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  14356. "type": "integer"
  14357. },
  14358. "wechat": {
  14359. "description": "微信(加密存储)",
  14360. "type": "string"
  14361. },
  14362. "wskhinfo": {
  14363. "description": "开户申请信息(JSON)",
  14364. "type": "string"
  14365. }
  14366. }
  14367. },
  14368. "models.WRCategoryTree": {
  14369. "type": "object",
  14370. "required": [
  14371. "categoryid"
  14372. ],
  14373. "properties": {
  14374. "areauserid": {
  14375. "description": "所属机构",
  14376. "type": "integer"
  14377. },
  14378. "categorydesc": {
  14379. "description": "类别描述",
  14380. "type": "string"
  14381. },
  14382. "categoryid": {
  14383. "description": "类别ID(SEQ_WRCATEGORY)",
  14384. "type": "integer"
  14385. },
  14386. "categoryname": {
  14387. "description": "类别名称",
  14388. "type": "string"
  14389. },
  14390. "iconurl": {
  14391. "description": "图标地址",
  14392. "type": "string"
  14393. },
  14394. "orderindex": {
  14395. "description": "顺序",
  14396. "type": "integer"
  14397. },
  14398. "parentcategoryid": {
  14399. "description": "父类别ID",
  14400. "type": "integer"
  14401. },
  14402. "subcategory": {
  14403. "description": "子分类",
  14404. "type": "array",
  14405. "items": {
  14406. "$ref": "#/definitions/models.WRCategoryTree"
  14407. }
  14408. }
  14409. }
  14410. },
  14411. "models.WRSConverTDetail": {
  14412. "type": "object",
  14413. "properties": {
  14414. "convertratio": {
  14415. "description": "套保系数",
  14416. "type": "number"
  14417. },
  14418. "deliverygoodsid": {
  14419. "description": "现货品种ID",
  14420. "type": "integer"
  14421. },
  14422. "middlegoodscode": {
  14423. "description": "套保品种代码",
  14424. "type": "string"
  14425. },
  14426. "middlegoodsid": {
  14427. "description": "套保品种ID",
  14428. "type": "integer"
  14429. },
  14430. "middlegoodsname": {
  14431. "description": "套保品种名称",
  14432. "type": "string"
  14433. },
  14434. "modifytime": {
  14435. "description": "修改时间",
  14436. "type": "string"
  14437. },
  14438. "wrstandardid": {
  14439. "description": "现货商品ID",
  14440. "type": "integer"
  14441. }
  14442. }
  14443. },
  14444. "models.WRStandardInfo": {
  14445. "type": "object",
  14446. "required": [
  14447. "wrstandardid"
  14448. ],
  14449. "properties": {
  14450. "createtime": {
  14451. "description": "创建时间",
  14452. "type": "string"
  14453. },
  14454. "creatorid": {
  14455. "description": "创建人",
  14456. "type": "integer"
  14457. },
  14458. "deliverygoodsid": {
  14459. "description": "品种ID",
  14460. "type": "integer"
  14461. },
  14462. "deliverygoodsname": {
  14463. "description": "交割商品名称",
  14464. "type": "string"
  14465. },
  14466. "factoryitemjson": {
  14467. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  14468. "type": "string"
  14469. },
  14470. "isvalid": {
  14471. "description": "是否有效 - 0:无效 1:有效",
  14472. "type": "integer"
  14473. },
  14474. "minivalue": {
  14475. "description": "最小变动值",
  14476. "type": "integer"
  14477. },
  14478. "minivaluedp": {
  14479. "description": "最小变动值小数位",
  14480. "type": "integer"
  14481. },
  14482. "realminivalue": {
  14483. "description": "实际最小变动值",
  14484. "type": "integer"
  14485. },
  14486. "realminivaluedp": {
  14487. "description": "实际最小变动值小数位",
  14488. "type": "integer"
  14489. },
  14490. "unitid": {
  14491. "description": "单位ID",
  14492. "type": "integer"
  14493. },
  14494. "unitname": {
  14495. "description": "单位",
  14496. "type": "string"
  14497. },
  14498. "updatetime": {
  14499. "description": "更新时间",
  14500. "type": "string"
  14501. },
  14502. "updatorid": {
  14503. "description": "更新人",
  14504. "type": "integer"
  14505. },
  14506. "wrsstatus": {
  14507. "description": "状态 - 作废 - 0:未激活 1:正常",
  14508. "type": "integer"
  14509. },
  14510. "wrstandardcode": {
  14511. "description": "仓单标准代码",
  14512. "type": "string"
  14513. },
  14514. "wrstandardid": {
  14515. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  14516. "type": "integer"
  14517. },
  14518. "wrstandardname": {
  14519. "description": "仓单标准名称",
  14520. "type": "string"
  14521. }
  14522. }
  14523. },
  14524. "models.Warehouseinfo": {
  14525. "type": "object",
  14526. "required": [
  14527. "autoid",
  14528. "warehousecode"
  14529. ],
  14530. "properties": {
  14531. "address": {
  14532. "description": "详细地址",
  14533. "type": "string"
  14534. },
  14535. "areauserid": {
  14536. "description": "所属机构",
  14537. "type": "integer"
  14538. },
  14539. "autoid": {
  14540. "description": "自增ID",
  14541. "type": "integer"
  14542. },
  14543. "cityid": {
  14544. "description": "市",
  14545. "type": "integer"
  14546. },
  14547. "contactname": {
  14548. "description": "联系人",
  14549. "type": "string"
  14550. },
  14551. "contactnum": {
  14552. "description": "联系电话",
  14553. "type": "string"
  14554. },
  14555. "countryid": {
  14556. "description": "国家",
  14557. "type": "integer"
  14558. },
  14559. "createtime": {
  14560. "description": "创建时间",
  14561. "type": "string"
  14562. },
  14563. "districtid": {
  14564. "description": "区",
  14565. "type": "integer"
  14566. },
  14567. "hasvideo": {
  14568. "description": "是否有视频 - 0:无 1:有",
  14569. "type": "integer"
  14570. },
  14571. "provinceid": {
  14572. "description": "省",
  14573. "type": "integer"
  14574. },
  14575. "remark": {
  14576. "description": "审核备注",
  14577. "type": "string"
  14578. },
  14579. "videourl": {
  14580. "description": "视频地址",
  14581. "type": "string"
  14582. },
  14583. "warehousecode": {
  14584. "description": "仓库代码",
  14585. "type": "string"
  14586. },
  14587. "warehousename": {
  14588. "description": "仓库名称",
  14589. "type": "string"
  14590. },
  14591. "warehousestatus": {
  14592. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  14593. "type": "integer"
  14594. },
  14595. "warehousetype": {
  14596. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14597. "type": "integer"
  14598. }
  14599. }
  14600. },
  14601. "order.QueryHisTradeDetailRsp": {
  14602. "type": "object",
  14603. "required": [
  14604. "accountid",
  14605. "buyorsell",
  14606. "goodsid",
  14607. "histradedate",
  14608. "marketid",
  14609. "memberuserid",
  14610. "orderid",
  14611. "tradeamount",
  14612. "tradedate",
  14613. "tradeid",
  14614. "tradeprice",
  14615. "tradeqty",
  14616. "tradetime"
  14617. ],
  14618. "properties": {
  14619. "accountid": {
  14620. "description": "账户ID[报价币种]",
  14621. "type": "integer"
  14622. },
  14623. "buildtype": {
  14624. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  14625. "type": "integer"
  14626. },
  14627. "buyorsell": {
  14628. "description": "方向 - 0:买 1:卖",
  14629. "type": "integer"
  14630. },
  14631. "charge": {
  14632. "description": "手续费",
  14633. "type": "number"
  14634. },
  14635. "closecharge": {
  14636. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  14637. "type": "number"
  14638. },
  14639. "closeexchagechargevalue": {
  14640. "description": "平仓交易所手续费设置值",
  14641. "type": "number"
  14642. },
  14643. "closefeealgorithm": {
  14644. "description": "平仓手续费收取方式 1:比率 2:固定",
  14645. "type": "integer"
  14646. },
  14647. "closememberchargevalue": {
  14648. "description": "平仓会员手续费设置值",
  14649. "type": "number"
  14650. },
  14651. "closepl": {
  14652. "description": "平仓盈亏",
  14653. "type": "number"
  14654. },
  14655. "closepl2": {
  14656. "description": "平仓盈亏[逐笔]",
  14657. "type": "number"
  14658. },
  14659. "closeqty": {
  14660. "description": "平仓数量(先建后平操作 需要记录)",
  14661. "type": "integer"
  14662. },
  14663. "creditamount": {
  14664. "description": "授信金额",
  14665. "type": "number"
  14666. },
  14667. "gcaccountid": {
  14668. "description": "账户ID[合约币种]",
  14669. "type": "integer"
  14670. },
  14671. "goodscode": {
  14672. "description": "商品代码",
  14673. "type": "string"
  14674. },
  14675. "goodsid": {
  14676. "description": "商品ID",
  14677. "type": "integer"
  14678. },
  14679. "goodsname": {
  14680. "description": "商品名称",
  14681. "type": "string"
  14682. },
  14683. "histradedate": {
  14684. "description": "历史交易日",
  14685. "type": "string"
  14686. },
  14687. "intclosepl": {
  14688. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  14689. "type": "integer"
  14690. },
  14691. "isconfirmexercise": {
  14692. "description": "是否确认行权- 0:否 1:是",
  14693. "type": "integer"
  14694. },
  14695. "ismain": {
  14696. "description": "是否主单 - 0:不是 1:是",
  14697. "type": "integer"
  14698. },
  14699. "ispreexercise": {
  14700. "description": "是否预申报- 0:否 1:是",
  14701. "type": "integer"
  14702. },
  14703. "isreckoned": {
  14704. "description": "是否结算 - 0:未结算 1:已结算",
  14705. "type": "integer"
  14706. },
  14707. "isvaliddata": {
  14708. "description": "是否有效 - 0:无效 1:有效",
  14709. "type": "integer"
  14710. },
  14711. "listingselecttype": {
  14712. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14713. "type": "integer"
  14714. },
  14715. "marketid": {
  14716. "description": "市场ID",
  14717. "type": "integer"
  14718. },
  14719. "marketname": {
  14720. "description": "市场名称",
  14721. "type": "string"
  14722. },
  14723. "matchaccountid": {
  14724. "description": "对手账号id",
  14725. "type": "integer"
  14726. },
  14727. "memberuserid": {
  14728. "description": "会员id 个人投资者 需要填写",
  14729. "type": "integer"
  14730. },
  14731. "opencharge": {
  14732. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  14733. "type": "number"
  14734. },
  14735. "openexchagechargevalue": {
  14736. "description": "建仓交易所手续费设置值",
  14737. "type": "number"
  14738. },
  14739. "openfeealgorithm": {
  14740. "description": "建仓手续费收取方式 1:比率 2:固定",
  14741. "type": "integer"
  14742. },
  14743. "openmemberchargevalue": {
  14744. "description": "建仓会员手续费设置值",
  14745. "type": "number"
  14746. },
  14747. "openqty": {
  14748. "description": "开仓数量(先建后平操作 需要记录)",
  14749. "type": "integer"
  14750. },
  14751. "optiontype": {
  14752. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14753. "type": "integer"
  14754. },
  14755. "orderid": {
  14756. "description": "委托单号",
  14757. "type": "string"
  14758. },
  14759. "performanceplanid": {
  14760. "description": "履约计划ID[期权]",
  14761. "type": "integer"
  14762. },
  14763. "performancestatus": {
  14764. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  14765. "type": "integer"
  14766. },
  14767. "preexerciseprice": {
  14768. "description": "预申报价格",
  14769. "type": "number"
  14770. },
  14771. "premium": {
  14772. "description": "权利金 - [持仓单的权利金]",
  14773. "type": "number"
  14774. },
  14775. "relatedouttradeid": {
  14776. "description": "关联外部成交单ID",
  14777. "type": "integer"
  14778. },
  14779. "status": {
  14780. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  14781. "type": "integer"
  14782. },
  14783. "tradeamount": {
  14784. "description": "成交金额[账户币种,用于所有权]",
  14785. "type": "number"
  14786. },
  14787. "tradedate": {
  14788. "description": "交易日(yyyyMMdd)",
  14789. "type": "string"
  14790. },
  14791. "tradeid": {
  14792. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14793. "type": "string"
  14794. },
  14795. "trademode": {
  14796. "description": "交易模式",
  14797. "type": "integer"
  14798. },
  14799. "tradeprice": {
  14800. "description": "成交价格",
  14801. "type": "number"
  14802. },
  14803. "tradeproperty": {
  14804. "description": "交易属性",
  14805. "type": "integer"
  14806. },
  14807. "tradeqty": {
  14808. "description": "成交数量",
  14809. "type": "integer"
  14810. },
  14811. "tradetime": {
  14812. "description": "成交时间",
  14813. "type": "string"
  14814. },
  14815. "tradetype": {
  14816. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  14817. "type": "integer"
  14818. }
  14819. }
  14820. },
  14821. "order.QueryHisTradeOrderDetailRsp": {
  14822. "type": "object",
  14823. "required": [
  14824. "accountid",
  14825. "buildtype",
  14826. "buyorsell",
  14827. "goodsid",
  14828. "histradedate",
  14829. "marketid",
  14830. "memberuserid",
  14831. "operatetype",
  14832. "orderid",
  14833. "orderqty",
  14834. "ordertime",
  14835. "pricemode",
  14836. "tradedate",
  14837. "validtype"
  14838. ],
  14839. "properties": {
  14840. "accountid": {
  14841. "description": "账户ID[报价币种]",
  14842. "type": "integer"
  14843. },
  14844. "buildtype": {
  14845. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14846. "type": "integer"
  14847. },
  14848. "buyorsell": {
  14849. "description": "买卖 - 0:买 1:卖",
  14850. "type": "integer"
  14851. },
  14852. "cancelorderid": {
  14853. "description": "撤单单号(撤单时填写)",
  14854. "type": "string"
  14855. },
  14856. "cancelqty": {
  14857. "description": "撤单数量",
  14858. "type": "integer"
  14859. },
  14860. "clientordertime": {
  14861. "description": "客户端委托时间",
  14862. "type": "string"
  14863. },
  14864. "clientticket": {
  14865. "description": "客户端流水号",
  14866. "type": "string"
  14867. },
  14868. "clienttype": {
  14869. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14870. "type": "integer"
  14871. },
  14872. "closeexchagechargevalue": {
  14873. "description": "平仓交易所手续费设置值",
  14874. "type": "number"
  14875. },
  14876. "closefeealgorithm": {
  14877. "description": "平仓手续费收取方式 1:比率 2:固定",
  14878. "type": "integer"
  14879. },
  14880. "closefreezecharge": {
  14881. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14882. "type": "number"
  14883. },
  14884. "closememberchargevalue": {
  14885. "description": "平仓会员手续费设置值",
  14886. "type": "number"
  14887. },
  14888. "closeqty": {
  14889. "description": "平仓数量(先建后平操作 需要记录)",
  14890. "type": "integer"
  14891. },
  14892. "closetradeqty": {
  14893. "description": "平仓成交数量(先建后平操作,需要记录)",
  14894. "type": "integer"
  14895. },
  14896. "closeunfreezecharge": {
  14897. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14898. "type": "number"
  14899. },
  14900. "delistingtype": {
  14901. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14902. "type": "integer"
  14903. },
  14904. "freezecharge": {
  14905. "description": "冻结手续费",
  14906. "type": "number"
  14907. },
  14908. "freezemargin": {
  14909. "description": "冻结保证金(冻结交易金额)",
  14910. "type": "number"
  14911. },
  14912. "gcaccountid": {
  14913. "description": "账户ID[合约币种]",
  14914. "type": "integer"
  14915. },
  14916. "goodscode": {
  14917. "description": "商品代码",
  14918. "type": "string"
  14919. },
  14920. "goodsid": {
  14921. "description": "商品ID",
  14922. "type": "integer"
  14923. },
  14924. "goodsname": {
  14925. "description": "商品名称",
  14926. "type": "string"
  14927. },
  14928. "histradedate": {
  14929. "description": "历史交易日",
  14930. "type": "string"
  14931. },
  14932. "isconfirmexercise": {
  14933. "description": "是否确认行权- 0:否 1:是",
  14934. "type": "integer"
  14935. },
  14936. "ispreexercise": {
  14937. "description": "是否预申报- 0:否 1:是",
  14938. "type": "integer"
  14939. },
  14940. "isvaliddata": {
  14941. "description": "是否有效 - 0:无效 1:有效",
  14942. "type": "integer"
  14943. },
  14944. "listingselecttype": {
  14945. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14946. "type": "integer"
  14947. },
  14948. "marginalgorithm": {
  14949. "description": "保证金收取方式 1:比率 2:固定",
  14950. "type": "integer"
  14951. },
  14952. "marginvalue": {
  14953. "description": "即市保证金设置值",
  14954. "type": "number"
  14955. },
  14956. "marketid": {
  14957. "description": "市场ID",
  14958. "type": "integer"
  14959. },
  14960. "marketmaxsub": {
  14961. "description": "市价最大偏移范围",
  14962. "type": "number"
  14963. },
  14964. "marketname": {
  14965. "description": "市场名称",
  14966. "type": "string"
  14967. },
  14968. "memberuserid": {
  14969. "description": "所属会员UserID",
  14970. "type": "integer"
  14971. },
  14972. "openexchagechargevalue": {
  14973. "description": "建仓交易所手续费设置值",
  14974. "type": "number"
  14975. },
  14976. "openfeealgorithm": {
  14977. "description": "建仓手续费收取方式 1:比率 2:固定",
  14978. "type": "integer"
  14979. },
  14980. "openfreezecharge": {
  14981. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14982. "type": "number"
  14983. },
  14984. "openmemberchargevalue": {
  14985. "description": "建仓会员手续费设置值",
  14986. "type": "number"
  14987. },
  14988. "openqty": {
  14989. "description": "开仓数量(先建后平操作,需要记录)",
  14990. "type": "integer"
  14991. },
  14992. "opentradeqty": {
  14993. "description": "开仓成交数量(先建后平操作,需要记录)",
  14994. "type": "integer"
  14995. },
  14996. "openunfreezecharge": {
  14997. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  14998. "type": "number"
  14999. },
  15000. "operatetype": {
  15001. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15002. "type": "integer"
  15003. },
  15004. "operatorid": {
  15005. "description": "登录账号(LoginID)",
  15006. "type": "integer"
  15007. },
  15008. "optiontype": {
  15009. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15010. "type": "integer"
  15011. },
  15012. "orderid": {
  15013. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15014. "type": "string"
  15015. },
  15016. "orderprice": {
  15017. "description": "委托价格",
  15018. "type": "number"
  15019. },
  15020. "orderqty": {
  15021. "description": "委托数量",
  15022. "type": "integer"
  15023. },
  15024. "ordersrc": {
  15025. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15026. "type": "integer"
  15027. },
  15028. "orderstatus": {
  15029. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15030. "type": "integer"
  15031. },
  15032. "ordertime": {
  15033. "description": "委托时间",
  15034. "type": "string"
  15035. },
  15036. "preexerciseprice": {
  15037. "description": "预申报价格",
  15038. "type": "number"
  15039. },
  15040. "premium": {
  15041. "description": "权利金",
  15042. "type": "number"
  15043. },
  15044. "preorderid": {
  15045. "description": "关联预埋单号(止盈止损单时填写)",
  15046. "type": "string"
  15047. },
  15048. "pricemode": {
  15049. "description": "取价方式 - 1:市价 2: 限价",
  15050. "type": "integer"
  15051. },
  15052. "quoteid": {
  15053. "description": "报价单ID",
  15054. "type": "integer"
  15055. },
  15056. "relatedid": {
  15057. "description": "关联单号(交割单)",
  15058. "type": "string"
  15059. },
  15060. "retcode": {
  15061. "description": "错误代码",
  15062. "type": "integer"
  15063. },
  15064. "sessionid": {
  15065. "description": "会话ID",
  15066. "type": "integer"
  15067. },
  15068. "tradedate": {
  15069. "description": "交易日(yyyyMMdd)",
  15070. "type": "string"
  15071. },
  15072. "trademode": {
  15073. "description": "交易模式",
  15074. "type": "integer"
  15075. },
  15076. "tradeproperty": {
  15077. "description": "交易属性",
  15078. "type": "integer"
  15079. },
  15080. "tradeqty": {
  15081. "description": "成交数量",
  15082. "type": "integer"
  15083. },
  15084. "unfreezecharge": {
  15085. "description": "解冻手续费",
  15086. "type": "number"
  15087. },
  15088. "unfreezemargin": {
  15089. "description": "解冻保证金",
  15090. "type": "number"
  15091. },
  15092. "updatetime": {
  15093. "description": "更新时间",
  15094. "type": "string"
  15095. },
  15096. "uuid": {
  15097. "description": "发起端唯一id",
  15098. "type": "string"
  15099. },
  15100. "validtime": {
  15101. "description": "有效期限",
  15102. "type": "string"
  15103. },
  15104. "validtype": {
  15105. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15106. "type": "integer"
  15107. },
  15108. "volumetype": {
  15109. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15110. "type": "integer"
  15111. }
  15112. }
  15113. },
  15114. "order.QueryTradeDetailRsp": {
  15115. "type": "object",
  15116. "required": [
  15117. "accountid",
  15118. "buyorsell",
  15119. "goodsid",
  15120. "marketid",
  15121. "memberuserid",
  15122. "orderid",
  15123. "tradeamount",
  15124. "tradedate",
  15125. "tradeid",
  15126. "tradeprice",
  15127. "tradeqty",
  15128. "tradetime"
  15129. ],
  15130. "properties": {
  15131. "accountid": {
  15132. "description": "账户ID[报价币种]",
  15133. "type": "integer"
  15134. },
  15135. "buildtype": {
  15136. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  15137. "type": "integer"
  15138. },
  15139. "buyorsell": {
  15140. "description": "方向 - 0:买 1:卖",
  15141. "type": "integer"
  15142. },
  15143. "charge": {
  15144. "description": "手续费",
  15145. "type": "number"
  15146. },
  15147. "closecharge": {
  15148. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15149. "type": "number"
  15150. },
  15151. "closeexchagechargevalue": {
  15152. "description": "平仓交易所手续费设置值",
  15153. "type": "number"
  15154. },
  15155. "closefeealgorithm": {
  15156. "description": "平仓手续费收取方式 1:比率 2:固定",
  15157. "type": "integer"
  15158. },
  15159. "closememberchargevalue": {
  15160. "description": "平仓会员手续费设置值",
  15161. "type": "number"
  15162. },
  15163. "closepl": {
  15164. "description": "平仓盈亏",
  15165. "type": "number"
  15166. },
  15167. "closepl2": {
  15168. "description": "平仓盈亏[逐笔]",
  15169. "type": "number"
  15170. },
  15171. "closeqty": {
  15172. "description": "平仓数量(先建后平操作 需要记录)",
  15173. "type": "integer"
  15174. },
  15175. "creditamount": {
  15176. "description": "授信金额",
  15177. "type": "number"
  15178. },
  15179. "gcaccountid": {
  15180. "description": "账户ID[合约币种]",
  15181. "type": "integer"
  15182. },
  15183. "goodscode": {
  15184. "description": "商品代码",
  15185. "type": "string"
  15186. },
  15187. "goodsid": {
  15188. "description": "商品ID",
  15189. "type": "integer"
  15190. },
  15191. "goodsname": {
  15192. "description": "商品名称",
  15193. "type": "string"
  15194. },
  15195. "intclosepl": {
  15196. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  15197. "type": "integer"
  15198. },
  15199. "isconfirmexercise": {
  15200. "description": "是否确认行权- 0:否 1:是",
  15201. "type": "integer"
  15202. },
  15203. "ismain": {
  15204. "description": "是否主单 - 0:不是 1:是",
  15205. "type": "integer"
  15206. },
  15207. "ispreexercise": {
  15208. "description": "是否预申报- 0:否 1:是",
  15209. "type": "integer"
  15210. },
  15211. "isreckoned": {
  15212. "description": "是否结算 - 0:未结算 1:已结算",
  15213. "type": "integer"
  15214. },
  15215. "listingselecttype": {
  15216. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15217. "type": "integer"
  15218. },
  15219. "marketid": {
  15220. "description": "市场ID",
  15221. "type": "integer"
  15222. },
  15223. "marketname": {
  15224. "description": "市场名称",
  15225. "type": "string"
  15226. },
  15227. "matchaccountid": {
  15228. "description": "对手账号id",
  15229. "type": "integer"
  15230. },
  15231. "memberuserid": {
  15232. "description": "会员id 个人投资者 需要填写",
  15233. "type": "integer"
  15234. },
  15235. "opencharge": {
  15236. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15237. "type": "number"
  15238. },
  15239. "openexchagechargevalue": {
  15240. "description": "建仓交易所手续费设置值",
  15241. "type": "number"
  15242. },
  15243. "openfeealgorithm": {
  15244. "description": "建仓手续费收取方式 1:比率 2:固定",
  15245. "type": "integer"
  15246. },
  15247. "openmemberchargevalue": {
  15248. "description": "建仓会员手续费设置值",
  15249. "type": "number"
  15250. },
  15251. "openqty": {
  15252. "description": "开仓数量(先建后平操作 需要记录)",
  15253. "type": "integer"
  15254. },
  15255. "optiontype": {
  15256. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15257. "type": "integer"
  15258. },
  15259. "orderid": {
  15260. "description": "委托单号",
  15261. "type": "string"
  15262. },
  15263. "performanceplanid": {
  15264. "description": "履约计划ID[期权]",
  15265. "type": "integer"
  15266. },
  15267. "performancestatus": {
  15268. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  15269. "type": "integer"
  15270. },
  15271. "preexerciseprice": {
  15272. "description": "预申报价格",
  15273. "type": "number"
  15274. },
  15275. "premium": {
  15276. "description": "权利金 - [持仓单的权利金]",
  15277. "type": "number"
  15278. },
  15279. "relatedouttradeid": {
  15280. "description": "关联外部成交单ID",
  15281. "type": "integer"
  15282. },
  15283. "status": {
  15284. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  15285. "type": "integer"
  15286. },
  15287. "tradeamount": {
  15288. "description": "成交金额[账户币种,用于所有权]",
  15289. "type": "number"
  15290. },
  15291. "tradedate": {
  15292. "description": "交易日(yyyyMMdd)",
  15293. "type": "string"
  15294. },
  15295. "tradeid": {
  15296. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15297. "type": "string"
  15298. },
  15299. "trademode": {
  15300. "description": "交易模式",
  15301. "type": "integer"
  15302. },
  15303. "tradeprice": {
  15304. "description": "成交价格",
  15305. "type": "number"
  15306. },
  15307. "tradeproperty": {
  15308. "description": "交易属性",
  15309. "type": "integer"
  15310. },
  15311. "tradeqty": {
  15312. "description": "成交数量",
  15313. "type": "integer"
  15314. },
  15315. "tradetime": {
  15316. "description": "成交时间",
  15317. "type": "string"
  15318. },
  15319. "tradetype": {
  15320. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  15321. "type": "integer"
  15322. }
  15323. }
  15324. },
  15325. "order.QueryTradeOrderDetailRsp": {
  15326. "type": "object",
  15327. "required": [
  15328. "accountid",
  15329. "buildtype",
  15330. "buyorsell",
  15331. "goodsid",
  15332. "marketid",
  15333. "operatetype",
  15334. "orderqty",
  15335. "ordertime",
  15336. "pricemode",
  15337. "tradedate",
  15338. "validtype"
  15339. ],
  15340. "properties": {
  15341. "accountid": {
  15342. "description": "账户ID[报价币种]",
  15343. "type": "integer"
  15344. },
  15345. "buildtype": {
  15346. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15347. "type": "integer"
  15348. },
  15349. "buyorsell": {
  15350. "description": "买卖 - 0:买 1:卖",
  15351. "type": "integer"
  15352. },
  15353. "cancelorderid": {
  15354. "description": "撤单单号(撤单时填写)",
  15355. "type": "string"
  15356. },
  15357. "cancelqty": {
  15358. "description": "撤单数量",
  15359. "type": "integer"
  15360. },
  15361. "clienttype": {
  15362. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15363. "type": "integer"
  15364. },
  15365. "closefreezecharge": {
  15366. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  15367. "type": "number"
  15368. },
  15369. "closeqty": {
  15370. "description": "平仓数量(先建后平操作 需要记录)",
  15371. "type": "integer"
  15372. },
  15373. "closetradeqty": {
  15374. "description": "平仓成交数量(先建后平操作,需要记录)",
  15375. "type": "integer"
  15376. },
  15377. "closeunfreezecharge": {
  15378. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  15379. "type": "number"
  15380. },
  15381. "delistingtype": {
  15382. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  15383. "type": "integer"
  15384. },
  15385. "enableqty": {
  15386. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  15387. "type": "integer"
  15388. },
  15389. "freezecharge": {
  15390. "description": "冻结手续费",
  15391. "type": "number"
  15392. },
  15393. "freezemargin": {
  15394. "description": "冻结保证金(冻结交易金额)",
  15395. "type": "number"
  15396. },
  15397. "goodscode": {
  15398. "description": "商品代码",
  15399. "type": "string"
  15400. },
  15401. "goodsid": {
  15402. "description": "商品ID",
  15403. "type": "integer"
  15404. },
  15405. "goodsname": {
  15406. "description": "商品名称",
  15407. "type": "string"
  15408. },
  15409. "listingselecttype": {
  15410. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15411. "type": "integer"
  15412. },
  15413. "marketid": {
  15414. "description": "市场ID",
  15415. "type": "integer"
  15416. },
  15417. "marketname": {
  15418. "description": "市场名称",
  15419. "type": "string"
  15420. },
  15421. "openfreezecharge": {
  15422. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15423. "type": "number"
  15424. },
  15425. "openqty": {
  15426. "description": "开仓数量(先建后平操作,需要记录)",
  15427. "type": "integer"
  15428. },
  15429. "opentradeqty": {
  15430. "description": "开仓成交数量(先建后平操作,需要记录)",
  15431. "type": "integer"
  15432. },
  15433. "openunfreezecharge": {
  15434. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15435. "type": "number"
  15436. },
  15437. "operatetype": {
  15438. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15439. "type": "integer"
  15440. },
  15441. "operatorid": {
  15442. "description": "登录账号(LoginID)",
  15443. "type": "integer"
  15444. },
  15445. "orderid": {
  15446. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15447. "type": "string"
  15448. },
  15449. "orderprice": {
  15450. "description": "委托价格",
  15451. "type": "number"
  15452. },
  15453. "orderqty": {
  15454. "description": "委托数量",
  15455. "type": "integer"
  15456. },
  15457. "ordersrc": {
  15458. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15459. "type": "integer"
  15460. },
  15461. "orderstatus": {
  15462. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15463. "type": "integer"
  15464. },
  15465. "ordertime": {
  15466. "description": "委托时间",
  15467. "type": "string"
  15468. },
  15469. "preorderid": {
  15470. "description": "关联预埋单号(止盈止损单时填写)",
  15471. "type": "string"
  15472. },
  15473. "pricemode": {
  15474. "description": "取价方式 - 1:市价 2: 限价",
  15475. "type": "integer"
  15476. },
  15477. "relatedid": {
  15478. "description": "关联单号(交割单)",
  15479. "type": "string"
  15480. },
  15481. "tradedate": {
  15482. "description": "交易日(yyyyMMdd)",
  15483. "type": "string"
  15484. },
  15485. "trademode": {
  15486. "description": "交易模式",
  15487. "type": "integer"
  15488. },
  15489. "tradeqty": {
  15490. "description": "成交数量",
  15491. "type": "integer"
  15492. },
  15493. "unfreezecharge": {
  15494. "description": "解冻手续费",
  15495. "type": "number"
  15496. },
  15497. "unfreezemargin": {
  15498. "description": "解冻保证金",
  15499. "type": "number"
  15500. },
  15501. "validtime": {
  15502. "description": "有效期限",
  15503. "type": "string"
  15504. },
  15505. "validtype": {
  15506. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15507. "type": "integer"
  15508. },
  15509. "volumetype": {
  15510. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15511. "type": "integer"
  15512. }
  15513. }
  15514. },
  15515. "order.QueryTradePositionRsp": {
  15516. "type": "object",
  15517. "required": [
  15518. "goodsid"
  15519. ],
  15520. "properties": {
  15521. "accountid": {
  15522. "description": "资金账户",
  15523. "type": "integer"
  15524. },
  15525. "agreeunit": {
  15526. "description": "合约单位",
  15527. "type": "number"
  15528. },
  15529. "averageprice": {
  15530. "description": "持仓均价",
  15531. "type": "number"
  15532. },
  15533. "buyorsell": {
  15534. "description": "方向 - 0:买 1:卖",
  15535. "type": "integer"
  15536. },
  15537. "closetotalqty": {
  15538. "description": "平仓总数量",
  15539. "type": "integer"
  15540. },
  15541. "curholderamount": {
  15542. "description": "当前持仓总金额[商品币种]",
  15543. "type": "number"
  15544. },
  15545. "curpositionqty": {
  15546. "description": "当前持仓总数量",
  15547. "type": "integer"
  15548. },
  15549. "currencyid": {
  15550. "description": "报价货币ID",
  15551. "type": "integer"
  15552. },
  15553. "curtdposition": {
  15554. "description": "期末今日头寸",
  15555. "type": "integer"
  15556. },
  15557. "decimalplace": {
  15558. "description": "报价小数位",
  15559. "type": "integer"
  15560. },
  15561. "enableqty": {
  15562. "description": "可用量",
  15563. "type": "integer"
  15564. },
  15565. "fretdposition": {
  15566. "description": "冻结今日头寸",
  15567. "type": "integer"
  15568. },
  15569. "frozenqty": {
  15570. "description": "持仓冻结数量",
  15571. "type": "integer"
  15572. },
  15573. "goodscode": {
  15574. "description": "商品代码",
  15575. "type": "string"
  15576. },
  15577. "goodsid": {
  15578. "description": "商品Id",
  15579. "type": "integer"
  15580. },
  15581. "goodsname": {
  15582. "description": "商品名称",
  15583. "type": "string"
  15584. },
  15585. "goodunit": {
  15586. "description": "报价单位",
  15587. "type": "string"
  15588. },
  15589. "goodunitid": {
  15590. "description": "报价单位ID",
  15591. "type": "integer"
  15592. },
  15593. "holderamount": {
  15594. "description": "期初持仓总金额[商品币种]",
  15595. "type": "number"
  15596. },
  15597. "marketid": {
  15598. "description": "所属市场ID",
  15599. "type": "integer"
  15600. },
  15601. "openreqqty": {
  15602. "description": "开仓申请数量(用于比较最大持仓数量)",
  15603. "type": "integer"
  15604. },
  15605. "opentotalqty": {
  15606. "description": "开仓总数量",
  15607. "type": "integer"
  15608. },
  15609. "otherfrozenqty": {
  15610. "description": "持仓其他冻结数量(交割冻结)",
  15611. "type": "integer"
  15612. },
  15613. "positionqty": {
  15614. "description": "期初持仓数量",
  15615. "type": "integer"
  15616. },
  15617. "tnqty": {
  15618. "description": "T+N冻结总量",
  15619. "type": "integer"
  15620. },
  15621. "tnusedqty": {
  15622. "description": "T+N使用量(可以使用T+N的冻结数量)",
  15623. "type": "integer"
  15624. },
  15625. "trademode": {
  15626. "description": "交易模式",
  15627. "type": "integer"
  15628. },
  15629. "usedmargin": {
  15630. "description": "占用保证金[商品币种]",
  15631. "type": "number"
  15632. }
  15633. }
  15634. },
  15635. "quote.HistoryData": {
  15636. "type": "object",
  15637. "properties": {
  15638. "c": {
  15639. "description": "收盘价",
  15640. "type": "number"
  15641. },
  15642. "h": {
  15643. "description": "最高价",
  15644. "type": "number"
  15645. },
  15646. "hv": {
  15647. "description": "持仓量",
  15648. "type": "integer"
  15649. },
  15650. "l": {
  15651. "description": "最低价",
  15652. "type": "number"
  15653. },
  15654. "o": {
  15655. "description": "开盘价",
  15656. "type": "number"
  15657. },
  15658. "s": {
  15659. "description": "结算价,日线周期(包括)以上才有",
  15660. "type": "number"
  15661. },
  15662. "ts": {
  15663. "description": "时间",
  15664. "type": "string"
  15665. },
  15666. "tt": {
  15667. "description": "总金额",
  15668. "type": "number"
  15669. },
  15670. "tv": {
  15671. "description": "总量",
  15672. "type": "integer"
  15673. }
  15674. }
  15675. },
  15676. "quote.QueryTSDataRsp": {
  15677. "type": "object",
  15678. "properties": {
  15679. "decimalPlace": {
  15680. "description": "小数位",
  15681. "type": "integer"
  15682. },
  15683. "endTime": {
  15684. "description": "结束时间",
  15685. "type": "string"
  15686. },
  15687. "goodsCode": {
  15688. "description": "商品代码",
  15689. "type": "string"
  15690. },
  15691. "historyDatas": {
  15692. "description": "历史数据",
  15693. "type": "array",
  15694. "items": {
  15695. "$ref": "#/definitions/quote.HistoryData"
  15696. }
  15697. },
  15698. "preSettle": {
  15699. "description": "昨结",
  15700. "type": "number"
  15701. },
  15702. "startTime": {
  15703. "description": "开始时间",
  15704. "type": "string"
  15705. },
  15706. "tradeDate": {
  15707. "description": "交易日",
  15708. "type": "string"
  15709. }
  15710. }
  15711. },
  15712. "szdz.QueryConvertLogRsp": {
  15713. "type": "object",
  15714. "required": [
  15715. "logid"
  15716. ],
  15717. "properties": {
  15718. "accountid": {
  15719. "description": "资金账户ID",
  15720. "type": "integer"
  15721. },
  15722. "clientticket": {
  15723. "description": "客户端流水号",
  15724. "type": "string"
  15725. },
  15726. "converttype": {
  15727. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  15728. "type": "integer"
  15729. },
  15730. "createtime": {
  15731. "description": "记账时间",
  15732. "type": "string"
  15733. },
  15734. "daymaxvalue": {
  15735. "description": "配置当日最大转入限制",
  15736. "type": "number"
  15737. },
  15738. "daymaxvalue2": {
  15739. "description": "配置当日最大转入限制(转入)",
  15740. "type": "number"
  15741. },
  15742. "goodscode": {
  15743. "description": "商品代码",
  15744. "type": "string"
  15745. },
  15746. "goodsname": {
  15747. "description": "商品名称",
  15748. "type": "string"
  15749. },
  15750. "handlestatus": {
  15751. "description": "处理状态",
  15752. "type": "integer"
  15753. },
  15754. "innergoodsid": {
  15755. "description": "内部商品ID",
  15756. "type": "integer"
  15757. },
  15758. "inratio": {
  15759. "description": "配置转入比值",
  15760. "type": "integer"
  15761. },
  15762. "invalue": {
  15763. "description": "目标值",
  15764. "type": "number"
  15765. },
  15766. "logid": {
  15767. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15768. "type": "integer"
  15769. },
  15770. "mobile": {
  15771. "description": "手机号码(加密存储)",
  15772. "type": "string"
  15773. },
  15774. "outergoodscode": {
  15775. "description": "外部商品代码[JD\\PD]",
  15776. "type": "string"
  15777. },
  15778. "outratio": {
  15779. "description": "配置转出比值",
  15780. "type": "integer"
  15781. },
  15782. "outvalue": {
  15783. "description": "源值",
  15784. "type": "number"
  15785. },
  15786. "pddecimalplace": {
  15787. "description": "PD小数位",
  15788. "type": "integer"
  15789. },
  15790. "qty": {
  15791. "description": "数量",
  15792. "type": "string"
  15793. },
  15794. "remark": {
  15795. "description": "备注",
  15796. "type": "string"
  15797. },
  15798. "sessionid": {
  15799. "description": "会话ID",
  15800. "type": "integer"
  15801. },
  15802. "timemaxvalue": {
  15803. "description": "配置单次最大转入限制",
  15804. "type": "number"
  15805. },
  15806. "timemaxvalue2": {
  15807. "description": "配置单次最大转入限制(转入)",
  15808. "type": "number"
  15809. },
  15810. "timeminvalue": {
  15811. "description": "配置单次最小数量限制",
  15812. "type": "number"
  15813. },
  15814. "timeminvalue2": {
  15815. "description": "配置单次最小数量限制(转入)",
  15816. "type": "number"
  15817. },
  15818. "tradedate": {
  15819. "description": "交易日(yyyyMMdd)",
  15820. "type": "string"
  15821. },
  15822. "userid": {
  15823. "description": "用户ID",
  15824. "type": "integer"
  15825. }
  15826. }
  15827. },
  15828. "szdz.QueryGoodsPickupRsp": {
  15829. "type": "object",
  15830. "required": [
  15831. "takeorderid"
  15832. ],
  15833. "properties": {
  15834. "accountid": {
  15835. "description": "账户ID",
  15836. "type": "integer"
  15837. },
  15838. "address": {
  15839. "description": "提货人详细地址",
  15840. "type": "string"
  15841. },
  15842. "auditer": {
  15843. "description": "审核人",
  15844. "type": "integer"
  15845. },
  15846. "audittime": {
  15847. "description": "审核时间",
  15848. "type": "string"
  15849. },
  15850. "cardnum": {
  15851. "description": "提货人证件号码",
  15852. "type": "string"
  15853. },
  15854. "cardtypeid": {
  15855. "description": "提货人证件类型",
  15856. "type": "integer"
  15857. },
  15858. "checkremark": {
  15859. "description": "审核备注",
  15860. "type": "string"
  15861. },
  15862. "goodscode": {
  15863. "description": "商品代码",
  15864. "type": "string"
  15865. },
  15866. "goodsid": {
  15867. "description": "商品ID",
  15868. "type": "integer"
  15869. },
  15870. "goodsname": {
  15871. "description": "商品名称",
  15872. "type": "string"
  15873. },
  15874. "handlestatus": {
  15875. "description": "处理状态",
  15876. "type": "integer"
  15877. },
  15878. "marketid": {
  15879. "description": "市场ID",
  15880. "type": "integer"
  15881. },
  15882. "phonenum": {
  15883. "description": "提货人联系方式",
  15884. "type": "string"
  15885. },
  15886. "qty": {
  15887. "description": "提货数量",
  15888. "type": "number"
  15889. },
  15890. "recivername": {
  15891. "description": "提货人姓名",
  15892. "type": "string"
  15893. },
  15894. "reqtime": {
  15895. "description": "更新时间",
  15896. "type": "string"
  15897. },
  15898. "takemode": {
  15899. "description": "提货方式 - 2:自提 3:配送",
  15900. "type": "integer"
  15901. },
  15902. "takeorderid": {
  15903. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  15904. "type": "string"
  15905. },
  15906. "takeorderstatus": {
  15907. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  15908. "type": "integer"
  15909. },
  15910. "takeremark": {
  15911. "description": "提货备注",
  15912. "type": "string"
  15913. },
  15914. "tradedate": {
  15915. "description": "交易日(yyyyMMdd)",
  15916. "type": "string"
  15917. },
  15918. "userid": {
  15919. "description": "用户ID",
  15920. "type": "integer"
  15921. }
  15922. }
  15923. },
  15924. "szdz.QueryRecieptOrderRsp": {
  15925. "type": "object",
  15926. "required": [
  15927. "ordertime"
  15928. ],
  15929. "properties": {
  15930. "accountName": {
  15931. "description": "所属账号名称(已脱敏)",
  15932. "type": "string"
  15933. },
  15934. "accountid": {
  15935. "description": "资金账号",
  15936. "type": "integer"
  15937. },
  15938. "buyorsell": {
  15939. "description": "方向 - 0:买 1:卖",
  15940. "type": "integer"
  15941. },
  15942. "enableqty": {
  15943. "description": "可摘数量",
  15944. "type": "integer"
  15945. },
  15946. "goodscode": {
  15947. "description": "商品代码",
  15948. "type": "string"
  15949. },
  15950. "goodsid": {
  15951. "description": "商品ID",
  15952. "type": "integer"
  15953. },
  15954. "goodsname": {
  15955. "description": "商品名称",
  15956. "type": "string"
  15957. },
  15958. "orderid": {
  15959. "description": "委托单号",
  15960. "type": "string"
  15961. },
  15962. "orderprice": {
  15963. "description": "委托价格",
  15964. "type": "number"
  15965. },
  15966. "ordertime": {
  15967. "description": "委托时间",
  15968. "type": "string"
  15969. },
  15970. "tradedate": {
  15971. "description": "交易日(yyyyMMdd)",
  15972. "type": "string"
  15973. }
  15974. }
  15975. },
  15976. "szdz.QuerySZDZTradePositionRsp": {
  15977. "type": "object",
  15978. "properties": {
  15979. "accountid": {
  15980. "description": "账号Id",
  15981. "type": "integer"
  15982. },
  15983. "agreeunit": {
  15984. "description": "合约单位",
  15985. "type": "number"
  15986. },
  15987. "averageprice": {
  15988. "description": "持仓均价",
  15989. "type": "number"
  15990. },
  15991. "buyorsell": {
  15992. "description": "方向 - 0:买 1:卖",
  15993. "type": "integer"
  15994. },
  15995. "closetotalqty": {
  15996. "description": "平仓总数量",
  15997. "type": "integer"
  15998. },
  15999. "curholderamount": {
  16000. "description": "当前持仓总金额",
  16001. "type": "number"
  16002. },
  16003. "curpositionqty": {
  16004. "description": "当前持仓总数量",
  16005. "type": "integer"
  16006. },
  16007. "currencyid": {
  16008. "description": "报价货币ID",
  16009. "type": "integer"
  16010. },
  16011. "curtdposition": {
  16012. "description": "期末今日头寸",
  16013. "type": "integer"
  16014. },
  16015. "decimalplace": {
  16016. "description": "报价小数位",
  16017. "type": "integer"
  16018. },
  16019. "enableqty": {
  16020. "description": "可用量",
  16021. "type": "integer"
  16022. },
  16023. "fretdposition": {
  16024. "description": "冻结今日头寸",
  16025. "type": "integer"
  16026. },
  16027. "frozenqty": {
  16028. "description": "持仓冻结数量",
  16029. "type": "integer"
  16030. },
  16031. "goodscode": {
  16032. "description": "商品代码(内部)",
  16033. "type": "string"
  16034. },
  16035. "goodsid": {
  16036. "description": "商品Id",
  16037. "type": "integer"
  16038. },
  16039. "goodsname": {
  16040. "description": "商品名称",
  16041. "type": "string"
  16042. },
  16043. "goodunit": {
  16044. "description": "报价单位",
  16045. "type": "string"
  16046. },
  16047. "goodunitid": {
  16048. "description": "报价单位ID",
  16049. "type": "integer"
  16050. },
  16051. "holderamount": {
  16052. "description": "期初持仓总金额",
  16053. "type": "number"
  16054. },
  16055. "marketid": {
  16056. "description": "市场ID",
  16057. "type": "integer"
  16058. },
  16059. "openreqqty": {
  16060. "description": "开仓申请数量",
  16061. "type": "integer"
  16062. },
  16063. "opentotalqty": {
  16064. "description": "开仓总数量",
  16065. "type": "integer"
  16066. },
  16067. "otherfrozenqty": {
  16068. "description": "持仓其他冻结数量(交割冻结)",
  16069. "type": "integer"
  16070. },
  16071. "positionqty": {
  16072. "description": "期初持仓数量",
  16073. "type": "integer"
  16074. },
  16075. "szdz3freezqty": {
  16076. "description": "尚志大宗转换冻结总数量",
  16077. "type": "integer"
  16078. },
  16079. "tnqty": {
  16080. "description": "T+N冻结总量",
  16081. "type": "integer"
  16082. },
  16083. "tnusedqty": {
  16084. "description": "T+N使用量",
  16085. "type": "integer"
  16086. },
  16087. "trademode": {
  16088. "description": "交易模式",
  16089. "type": "integer"
  16090. },
  16091. "usedmargin": {
  16092. "description": "占用保证金",
  16093. "type": "number"
  16094. }
  16095. }
  16096. },
  16097. "taaccount.QueryAmountLogRsp": {
  16098. "type": "object",
  16099. "required": [
  16100. "accountid",
  16101. "amount",
  16102. "amountadjusttype",
  16103. "autoid",
  16104. "balance",
  16105. "createtime",
  16106. "currentbalance",
  16107. "operatetype"
  16108. ],
  16109. "properties": {
  16110. "OPERATETYPENAME": {
  16111. "description": "资金操作类型名称",
  16112. "type": "string"
  16113. },
  16114. "accountid": {
  16115. "description": "资金账户ID",
  16116. "type": "integer"
  16117. },
  16118. "agoodscode": {
  16119. "description": "竞拍商品代码",
  16120. "type": "string"
  16121. },
  16122. "agoodsname": {
  16123. "description": "竞拍商品名称",
  16124. "type": "string"
  16125. },
  16126. "amount": {
  16127. "description": "资金金额",
  16128. "type": "number"
  16129. },
  16130. "amountadjusttype": {
  16131. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  16132. "type": "integer"
  16133. },
  16134. "autoid": {
  16135. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  16136. "type": "integer"
  16137. },
  16138. "balance": {
  16139. "description": "期初余额",
  16140. "type": "number"
  16141. },
  16142. "businesscode": {
  16143. "description": "业务编号",
  16144. "type": "integer"
  16145. },
  16146. "createtime": {
  16147. "description": "发生时间",
  16148. "type": "string"
  16149. },
  16150. "currencyid": {
  16151. "description": "币种ID",
  16152. "type": "integer"
  16153. },
  16154. "currentbalance": {
  16155. "description": "期末余额(变动后金额)",
  16156. "type": "number"
  16157. },
  16158. "dgoodscode": {
  16159. "description": "交割商品代码",
  16160. "type": "string"
  16161. },
  16162. "dgoodsname": {
  16163. "description": "交割商品名称",
  16164. "type": "string"
  16165. },
  16166. "goodscode": {
  16167. "description": "商品代码",
  16168. "type": "string"
  16169. },
  16170. "goodsid": {
  16171. "description": "商品ID",
  16172. "type": "integer"
  16173. },
  16174. "goodsname": {
  16175. "description": "商品名称",
  16176. "type": "string"
  16177. },
  16178. "marketid": {
  16179. "description": "市场ID",
  16180. "type": "integer"
  16181. },
  16182. "marketname": {
  16183. "description": "市场名称",
  16184. "type": "string"
  16185. },
  16186. "moneyticket": {
  16187. "description": "资金流水号:银行端流水号",
  16188. "type": "integer"
  16189. },
  16190. "operatetype": {
  16191. "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:营销收款",
  16192. "type": "integer"
  16193. },
  16194. "relationorderid": {
  16195. "description": "关联单号",
  16196. "type": "string"
  16197. },
  16198. "remark": {
  16199. "description": "备注",
  16200. "type": "string"
  16201. },
  16202. "trademode": {
  16203. "description": "交易模式",
  16204. "type": "integer"
  16205. }
  16206. }
  16207. },
  16208. "taaccount.QueryHisAmountLogRsp": {
  16209. "type": "object",
  16210. "required": [
  16211. "accountid",
  16212. "amount",
  16213. "amountadjusttype",
  16214. "autoid",
  16215. "balance",
  16216. "createtime",
  16217. "currentbalance",
  16218. "histradedate",
  16219. "operatetype"
  16220. ],
  16221. "properties": {
  16222. "OPERATETYPENAME": {
  16223. "description": "资金操作类型名称",
  16224. "type": "string"
  16225. },
  16226. "accountid": {
  16227. "description": "资金账户ID",
  16228. "type": "integer"
  16229. },
  16230. "agoodscode": {
  16231. "description": "竞拍商品代码",
  16232. "type": "string"
  16233. },
  16234. "agoodsname": {
  16235. "description": "竞拍商品名称",
  16236. "type": "string"
  16237. },
  16238. "amount": {
  16239. "description": "资金金额",
  16240. "type": "number"
  16241. },
  16242. "amountadjusttype": {
  16243. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  16244. "type": "integer"
  16245. },
  16246. "autoid": {
  16247. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  16248. "type": "integer"
  16249. },
  16250. "balance": {
  16251. "description": "期初余额",
  16252. "type": "number"
  16253. },
  16254. "businesscode": {
  16255. "description": "业务编号",
  16256. "type": "integer"
  16257. },
  16258. "createtime": {
  16259. "description": "发生时间",
  16260. "type": "string"
  16261. },
  16262. "currencyid": {
  16263. "description": "币种ID",
  16264. "type": "integer"
  16265. },
  16266. "currentbalance": {
  16267. "description": "期末余额(变动后金额)",
  16268. "type": "number"
  16269. },
  16270. "dgoodscode": {
  16271. "description": "交割商品代码",
  16272. "type": "string"
  16273. },
  16274. "dgoodsname": {
  16275. "description": "交割商品名称",
  16276. "type": "string"
  16277. },
  16278. "goodscode": {
  16279. "description": "商品代码",
  16280. "type": "string"
  16281. },
  16282. "goodsid": {
  16283. "description": "商品ID",
  16284. "type": "integer"
  16285. },
  16286. "goodsname": {
  16287. "description": "商品名称",
  16288. "type": "string"
  16289. },
  16290. "histradedate": {
  16291. "description": "历史交易日",
  16292. "type": "string"
  16293. },
  16294. "isvaliddata": {
  16295. "description": "是否有效 - 0:无效 1:有效",
  16296. "type": "integer"
  16297. },
  16298. "marketid": {
  16299. "description": "市场ID",
  16300. "type": "integer"
  16301. },
  16302. "marketname": {
  16303. "description": "市场名称",
  16304. "type": "string"
  16305. },
  16306. "moneyticket": {
  16307. "description": "资金流水号:银行端流水号",
  16308. "type": "integer"
  16309. },
  16310. "operatetype": {
  16311. "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:营销收款",
  16312. "type": "integer"
  16313. },
  16314. "relationorderid": {
  16315. "description": "关联单号",
  16316. "type": "string"
  16317. },
  16318. "remark": {
  16319. "description": "备注",
  16320. "type": "string"
  16321. },
  16322. "trademode": {
  16323. "description": "交易模式",
  16324. "type": "integer"
  16325. }
  16326. }
  16327. },
  16328. "trade.QueryRecieptOrderRsp": {
  16329. "type": "object",
  16330. "required": [
  16331. "ordertime"
  16332. ],
  16333. "properties": {
  16334. "accountName": {
  16335. "description": "所属账号名称(已脱敏)",
  16336. "type": "string"
  16337. },
  16338. "accountid": {
  16339. "description": "资金账号",
  16340. "type": "integer"
  16341. },
  16342. "buyorsell": {
  16343. "description": "方向 - 0:买 1:卖",
  16344. "type": "integer"
  16345. },
  16346. "enableqty": {
  16347. "description": "可摘数量",
  16348. "type": "integer"
  16349. },
  16350. "goodscode": {
  16351. "description": "商品代码",
  16352. "type": "string"
  16353. },
  16354. "goodsid": {
  16355. "description": "商品ID",
  16356. "type": "integer"
  16357. },
  16358. "goodsname": {
  16359. "description": "商品名称",
  16360. "type": "string"
  16361. },
  16362. "orderid": {
  16363. "description": "委托单号",
  16364. "type": "string"
  16365. },
  16366. "orderprice": {
  16367. "description": "委托价格",
  16368. "type": "number"
  16369. },
  16370. "ordertime": {
  16371. "description": "委托时间",
  16372. "type": "string"
  16373. },
  16374. "tradedate": {
  16375. "description": "交易日(yyyyMMdd)",
  16376. "type": "string"
  16377. }
  16378. }
  16379. }
  16380. },
  16381. "securityDefinitions": {
  16382. "ApiKeyAuth": {
  16383. "type": "apiKey",
  16384. "name": "Authorization",
  16385. "in": "header"
  16386. }
  16387. }
  16388. }`
  16389. type swaggerInfo struct {
  16390. Version string
  16391. Host string
  16392. BasePath string
  16393. Schemes []string
  16394. Title string
  16395. Description string
  16396. }
  16397. // SwaggerInfo holds exported Swagger Info so clients can modify it
  16398. var SwaggerInfo = swaggerInfo{
  16399. Version: "1.0",
  16400. Host: "",
  16401. BasePath: "/api",
  16402. Schemes: []string{},
  16403. Title: "MTP2.0 查询服务 API",
  16404. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  16405. }
  16406. type s struct{}
  16407. func (s *s) ReadDoc() string {
  16408. sInfo := SwaggerInfo
  16409. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  16410. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  16411. "marshal": func(v interface{}) string {
  16412. a, _ := json.Marshal(v)
  16413. return string(a)
  16414. },
  16415. }).Parse(doc)
  16416. if err != nil {
  16417. return doc
  16418. }
  16419. var tpl bytes.Buffer
  16420. if err := t.Execute(&tpl, sInfo); err != nil {
  16421. return doc
  16422. }
  16423. return tpl.String()
  16424. }
  16425. func init() {
  16426. swag.Register(swag.Name, &s{})
  16427. }