docs.go 554 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "produces": [
  370. "application/json"
  371. ],
  372. "tags": [
  373. "通用服务"
  374. ],
  375. "summary": "获取所有枚举信息",
  376. "responses": {
  377. "200": {
  378. "description": "OK",
  379. "schema": {
  380. "$ref": "#/definitions/models.Enumdicitem"
  381. }
  382. },
  383. "500": {
  384. "description": "Internal Server Error",
  385. "schema": {
  386. "$ref": "#/definitions/app.Response"
  387. }
  388. }
  389. }
  390. }
  391. },
  392. "/Common/GetServerTime": {
  393. "get": {
  394. "produces": [
  395. "application/json"
  396. ],
  397. "tags": [
  398. "通用服务"
  399. ],
  400. "summary": "获取服务器时间",
  401. "responses": {
  402. "200": {
  403. "description": "OK",
  404. "schema": {
  405. "$ref": "#/definitions/app.Response"
  406. }
  407. },
  408. "500": {
  409. "description": "Internal Server Error",
  410. "schema": {
  411. "$ref": "#/definitions/app.Response"
  412. }
  413. }
  414. }
  415. }
  416. },
  417. "/Common/NoticeReaded": {
  418. "post": {
  419. "security": [
  420. {
  421. "ApiKeyAuth": []
  422. }
  423. ],
  424. "produces": [
  425. "application/json"
  426. ],
  427. "tags": [
  428. "通用服务"
  429. ],
  430. "summary": "通知公告设置已读请求",
  431. "parameters": [
  432. {
  433. "type": "integer",
  434. "description": "登录账号",
  435. "name": "loginID",
  436. "in": "query",
  437. "required": true
  438. },
  439. {
  440. "type": "integer",
  441. "description": "通知公告ID",
  442. "name": "noticeID",
  443. "in": "query",
  444. "required": true
  445. }
  446. ],
  447. "responses": {
  448. "200": {
  449. "description": "OK",
  450. "schema": {
  451. "$ref": "#/definitions/app.Response"
  452. }
  453. },
  454. "500": {
  455. "description": "Internal Server Error",
  456. "schema": {
  457. "$ref": "#/definitions/app.Response"
  458. }
  459. }
  460. }
  461. }
  462. },
  463. "/Common/QueryImageConfigs": {
  464. "get": {
  465. "produces": [
  466. "application/json"
  467. ],
  468. "tags": [
  469. "通用服务"
  470. ],
  471. "summary": "查询轮播图配置信息",
  472. "parameters": [
  473. {
  474. "type": "integer",
  475. "description": "类型 - 1:App首页轮播 2:我的",
  476. "name": "imageType",
  477. "in": "query"
  478. }
  479. ],
  480. "responses": {
  481. "200": {
  482. "description": "OK",
  483. "schema": {
  484. "$ref": "#/definitions/models.Szdz2imageconfig"
  485. }
  486. },
  487. "500": {
  488. "description": "Internal Server Error",
  489. "schema": {
  490. "$ref": "#/definitions/app.Response"
  491. }
  492. }
  493. }
  494. }
  495. },
  496. "/Common/QueryNotice": {
  497. "get": {
  498. "security": [
  499. {
  500. "ApiKeyAuth": []
  501. }
  502. ],
  503. "produces": [
  504. "application/json"
  505. ],
  506. "tags": [
  507. "通用服务"
  508. ],
  509. "summary": "通知公告系统消息查询",
  510. "parameters": [
  511. {
  512. "type": "integer",
  513. "description": "页码",
  514. "name": "page",
  515. "in": "query"
  516. },
  517. {
  518. "type": "integer",
  519. "description": "每页条数",
  520. "name": "pagesize",
  521. "in": "query"
  522. },
  523. {
  524. "type": "integer",
  525. "description": "登录账号",
  526. "name": "loginID",
  527. "in": "query",
  528. "required": true
  529. },
  530. {
  531. "type": "integer",
  532. "description": "消息类型 - 1:公告通知 2:系统消息",
  533. "name": "msgType",
  534. "in": "query"
  535. },
  536. {
  537. "type": "boolean",
  538. "description": "是否只获取未读信息",
  539. "name": "onlyUnRead",
  540. "in": "query"
  541. }
  542. ],
  543. "responses": {
  544. "200": {
  545. "description": "OK",
  546. "schema": {
  547. "$ref": "#/definitions/common.QueryNoticeRsp"
  548. }
  549. },
  550. "500": {
  551. "description": "Internal Server Error",
  552. "schema": {
  553. "$ref": "#/definitions/app.Response"
  554. }
  555. }
  556. }
  557. }
  558. },
  559. "/Common/QueryProvincesAndCities": {
  560. "get": {
  561. "produces": [
  562. "application/json"
  563. ],
  564. "tags": [
  565. "通用服务"
  566. ],
  567. "summary": "查询省市信息(不包括区)",
  568. "parameters": [
  569. {
  570. "type": "integer",
  571. "description": "省ID",
  572. "name": "provinceID",
  573. "in": "query"
  574. }
  575. ],
  576. "responses": {
  577. "200": {
  578. "description": "OK",
  579. "schema": {
  580. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  581. }
  582. },
  583. "500": {
  584. "description": "Internal Server Error",
  585. "schema": {
  586. "$ref": "#/definitions/app.Response"
  587. }
  588. }
  589. }
  590. }
  591. },
  592. "/Common/QueryTableDefine": {
  593. "get": {
  594. "produces": [
  595. "application/json"
  596. ],
  597. "tags": [
  598. "通用服务"
  599. ],
  600. "summary": "查询交易端列表头信息",
  601. "parameters": [
  602. {
  603. "type": "string",
  604. "description": "表key",
  605. "name": "tableKey",
  606. "in": "query"
  607. },
  608. {
  609. "type": "integer",
  610. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  611. "name": "tableType",
  612. "in": "query"
  613. }
  614. ],
  615. "responses": {
  616. "200": {
  617. "description": "OK",
  618. "schema": {
  619. "$ref": "#/definitions/common.QueryTableDefineRsp"
  620. }
  621. },
  622. "500": {
  623. "description": "Internal Server Error",
  624. "schema": {
  625. "$ref": "#/definitions/app.Response"
  626. }
  627. }
  628. }
  629. }
  630. },
  631. "/Common/QueryTraderMenu": {
  632. "get": {
  633. "produces": [
  634. "application/json"
  635. ],
  636. "tags": [
  637. "通用服务"
  638. ],
  639. "summary": "查询交易端菜单",
  640. "parameters": [
  641. {
  642. "type": "integer",
  643. "description": "登录账号",
  644. "name": "loginid",
  645. "in": "query",
  646. "required": true
  647. }
  648. ],
  649. "responses": {
  650. "200": {
  651. "description": "OK",
  652. "schema": {
  653. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  654. }
  655. },
  656. "500": {
  657. "description": "Internal Server Error",
  658. "schema": {
  659. "$ref": "#/definitions/app.Response"
  660. }
  661. }
  662. }
  663. }
  664. },
  665. "/Delivery/QueryDeliveryRelation": {
  666. "get": {
  667. "security": [
  668. {
  669. "ApiKeyAuth": []
  670. }
  671. ],
  672. "produces": [
  673. "application/json"
  674. ],
  675. "tags": [
  676. "交割服务"
  677. ],
  678. "summary": "查询商品交割关系表",
  679. "parameters": [
  680. {
  681. "type": "integer",
  682. "description": "商品ID",
  683. "name": "goodsid",
  684. "in": "query"
  685. },
  686. {
  687. "type": "integer",
  688. "description": "品种ID",
  689. "name": "deliverygoodsid",
  690. "in": "query"
  691. },
  692. {
  693. "type": "integer",
  694. "description": "市场ID",
  695. "name": "marketid",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Ermcp/QueryAvaildGoodsGroup": {
  716. "get": {
  717. "security": [
  718. {
  719. "ApiKeyAuth": []
  720. }
  721. ],
  722. "produces": [
  723. "application/json"
  724. ],
  725. "tags": [
  726. "企业风险管理(app)"
  727. ],
  728. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  729. "parameters": [
  730. {
  731. "type": "integer",
  732. "description": "所属机构ID",
  733. "name": "userid",
  734. "in": "query",
  735. "required": true
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "OK",
  741. "schema": {
  742. "type": "array",
  743. "items": {
  744. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  745. }
  746. }
  747. },
  748. "500": {
  749. "description": "Internal Server Error",
  750. "schema": {
  751. "$ref": "#/definitions/app.Response"
  752. }
  753. }
  754. }
  755. }
  756. },
  757. "/Ermcp/QueryBusinessDj": {
  758. "get": {
  759. "security": [
  760. {
  761. "ApiKeyAuth": []
  762. }
  763. ],
  764. "produces": [
  765. "application/json"
  766. ],
  767. "tags": [
  768. "企业风险管理(app)"
  769. ],
  770. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  771. "parameters": [
  772. {
  773. "type": "integer",
  774. "description": "用户ID",
  775. "name": "UserId",
  776. "in": "query",
  777. "required": true
  778. },
  779. {
  780. "type": "string",
  781. "description": "现货合同ID, 不填则查所有",
  782. "name": "relatedid",
  783. "in": "query"
  784. }
  785. ],
  786. "responses": {
  787. "200": {
  788. "description": "OK",
  789. "schema": {
  790. "type": "array",
  791. "items": {
  792. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  793. }
  794. }
  795. },
  796. "500": {
  797. "description": "Internal Server Error",
  798. "schema": {
  799. "$ref": "#/definitions/app.Response"
  800. }
  801. }
  802. }
  803. }
  804. },
  805. "/Ermcp/QueryBusinessFp": {
  806. "get": {
  807. "security": [
  808. {
  809. "ApiKeyAuth": []
  810. }
  811. ],
  812. "produces": [
  813. "application/json"
  814. ],
  815. "tags": [
  816. "企业风险管理(app)"
  817. ],
  818. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  819. "parameters": [
  820. {
  821. "type": "integer",
  822. "description": "用户ID",
  823. "name": "UserId",
  824. "in": "query",
  825. "required": true
  826. },
  827. {
  828. "type": "string",
  829. "description": "现货合同ID, 不填则查所有",
  830. "name": "relatedid",
  831. "in": "query"
  832. }
  833. ],
  834. "responses": {
  835. "200": {
  836. "description": "OK",
  837. "schema": {
  838. "type": "array",
  839. "items": {
  840. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  841. }
  842. }
  843. },
  844. "500": {
  845. "description": "Internal Server Error",
  846. "schema": {
  847. "$ref": "#/definitions/app.Response"
  848. }
  849. }
  850. }
  851. }
  852. },
  853. "/Ermcp/QueryBusinessJs": {
  854. "get": {
  855. "security": [
  856. {
  857. "ApiKeyAuth": []
  858. }
  859. ],
  860. "produces": [
  861. "application/json"
  862. ],
  863. "tags": [
  864. "企业风险管理(app)"
  865. ],
  866. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  867. "parameters": [
  868. {
  869. "type": "integer",
  870. "description": "用户ID",
  871. "name": "UserId",
  872. "in": "query",
  873. "required": true
  874. },
  875. {
  876. "type": "string",
  877. "description": "现货合同ID, 不填则查所有",
  878. "name": "relatedid",
  879. "in": "query"
  880. }
  881. ],
  882. "responses": {
  883. "200": {
  884. "description": "OK",
  885. "schema": {
  886. "type": "array",
  887. "items": {
  888. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  889. }
  890. }
  891. },
  892. "500": {
  893. "description": "Internal Server Error",
  894. "schema": {
  895. "$ref": "#/definitions/app.Response"
  896. }
  897. }
  898. }
  899. }
  900. },
  901. "/Ermcp/QueryBusinessKx": {
  902. "get": {
  903. "security": [
  904. {
  905. "ApiKeyAuth": []
  906. }
  907. ],
  908. "produces": [
  909. "application/json"
  910. ],
  911. "tags": [
  912. "企业风险管理(app)"
  913. ],
  914. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  915. "parameters": [
  916. {
  917. "type": "integer",
  918. "description": "用户ID",
  919. "name": "UserId",
  920. "in": "query",
  921. "required": true
  922. },
  923. {
  924. "type": "string",
  925. "description": "现货合同ID, 不填则查所有",
  926. "name": "relatedid",
  927. "in": "query"
  928. }
  929. ],
  930. "responses": {
  931. "200": {
  932. "description": "OK",
  933. "schema": {
  934. "type": "array",
  935. "items": {
  936. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  937. }
  938. }
  939. },
  940. "500": {
  941. "description": "Internal Server Error",
  942. "schema": {
  943. "$ref": "#/definitions/app.Response"
  944. }
  945. }
  946. }
  947. }
  948. },
  949. "/Ermcp/QueryChangeLog": {
  950. "get": {
  951. "security": [
  952. {
  953. "ApiKeyAuth": []
  954. }
  955. ],
  956. "produces": [
  957. "application/json"
  958. ],
  959. "tags": [
  960. "企业风险管理(app)"
  961. ],
  962. "summary": "查询变更记录",
  963. "parameters": [
  964. {
  965. "type": "string",
  966. "description": "用户ID",
  967. "name": "RelatedId",
  968. "in": "query",
  969. "required": true
  970. }
  971. ],
  972. "responses": {
  973. "200": {
  974. "description": "OK",
  975. "schema": {
  976. "type": "array",
  977. "items": {
  978. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  979. }
  980. }
  981. },
  982. "500": {
  983. "description": "Internal Server Error",
  984. "schema": {
  985. "$ref": "#/definitions/app.Response"
  986. }
  987. }
  988. }
  989. }
  990. },
  991. "/Ermcp/QueryContract": {
  992. "get": {
  993. "security": [
  994. {
  995. "ApiKeyAuth": []
  996. }
  997. ],
  998. "produces": [
  999. "application/json"
  1000. ],
  1001. "tags": [
  1002. "企业风险管理(app)"
  1003. ],
  1004. "summary": "查询合同(采购和销售)",
  1005. "parameters": [
  1006. {
  1007. "type": "integer",
  1008. "description": "用户ID",
  1009. "name": "userId",
  1010. "in": "query",
  1011. "required": true
  1012. },
  1013. {
  1014. "type": "integer",
  1015. "description": "合同类型 1-采购, -1-销售",
  1016. "name": "contracttype",
  1017. "in": "query",
  1018. "required": true
  1019. },
  1020. {
  1021. "type": "integer",
  1022. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1023. "name": "querytype",
  1024. "in": "query",
  1025. "required": true
  1026. }
  1027. ],
  1028. "responses": {
  1029. "200": {
  1030. "description": "OK",
  1031. "schema": {
  1032. "type": "array",
  1033. "items": {
  1034. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1035. }
  1036. }
  1037. },
  1038. "500": {
  1039. "description": "Internal Server Error",
  1040. "schema": {
  1041. "$ref": "#/definitions/app.Response"
  1042. }
  1043. }
  1044. }
  1045. }
  1046. },
  1047. "/Ermcp/QueryExposureDetail": {
  1048. "get": {
  1049. "security": [
  1050. {
  1051. "ApiKeyAuth": []
  1052. }
  1053. ],
  1054. "produces": [
  1055. "application/json"
  1056. ],
  1057. "tags": [
  1058. "企业风险管理(app)"
  1059. ],
  1060. "summary": "查询敞口现货明细",
  1061. "parameters": [
  1062. {
  1063. "type": "integer",
  1064. "description": "所属机构ID",
  1065. "name": "areaUserId",
  1066. "in": "query",
  1067. "required": true
  1068. },
  1069. {
  1070. "type": "integer",
  1071. "description": "套保商品",
  1072. "name": "middleGoodsId",
  1073. "in": "query",
  1074. "required": true
  1075. }
  1076. ],
  1077. "responses": {
  1078. "200": {
  1079. "description": "OK",
  1080. "schema": {
  1081. "type": "array",
  1082. "items": {
  1083. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1084. }
  1085. }
  1086. },
  1087. "500": {
  1088. "description": "Internal Server Error",
  1089. "schema": {
  1090. "$ref": "#/definitions/app.Response"
  1091. }
  1092. }
  1093. }
  1094. }
  1095. },
  1096. "/Ermcp/QueryExposureHedgePosition": {
  1097. "get": {
  1098. "security": [
  1099. {
  1100. "ApiKeyAuth": []
  1101. }
  1102. ],
  1103. "produces": [
  1104. "application/json"
  1105. ],
  1106. "tags": [
  1107. "企业风险管理(app)"
  1108. ],
  1109. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1110. "parameters": [
  1111. {
  1112. "type": "integer",
  1113. "description": "所属机构ID",
  1114. "name": "areaUserId",
  1115. "in": "query",
  1116. "required": true
  1117. }
  1118. ],
  1119. "responses": {
  1120. "200": {
  1121. "description": "OK",
  1122. "schema": {
  1123. "type": "array",
  1124. "items": {
  1125. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1126. }
  1127. }
  1128. },
  1129. "500": {
  1130. "description": "Internal Server Error",
  1131. "schema": {
  1132. "$ref": "#/definitions/app.Response"
  1133. }
  1134. }
  1135. }
  1136. }
  1137. },
  1138. "/Ermcp/QueryExposureHedgePositionDetail": {
  1139. "get": {
  1140. "security": [
  1141. {
  1142. "ApiKeyAuth": []
  1143. }
  1144. ],
  1145. "produces": [
  1146. "application/json"
  1147. ],
  1148. "tags": [
  1149. "企业风险管理(app)"
  1150. ],
  1151. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1152. "parameters": [
  1153. {
  1154. "type": "integer",
  1155. "description": "所属机构ID",
  1156. "name": "areaUserId",
  1157. "in": "query",
  1158. "required": true
  1159. },
  1160. {
  1161. "type": "integer",
  1162. "description": "商品id",
  1163. "name": "goodsId",
  1164. "in": "query",
  1165. "required": true
  1166. }
  1167. ],
  1168. "responses": {
  1169. "200": {
  1170. "description": "OK",
  1171. "schema": {
  1172. "type": "array",
  1173. "items": {
  1174. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1175. }
  1176. }
  1177. },
  1178. "500": {
  1179. "description": "Internal Server Error",
  1180. "schema": {
  1181. "$ref": "#/definitions/app.Response"
  1182. }
  1183. }
  1184. }
  1185. }
  1186. },
  1187. "/Ermcp/QueryExposureSpot": {
  1188. "get": {
  1189. "security": [
  1190. {
  1191. "ApiKeyAuth": []
  1192. }
  1193. ],
  1194. "produces": [
  1195. "application/json"
  1196. ],
  1197. "tags": [
  1198. "企业风险管理(app)"
  1199. ],
  1200. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1201. "parameters": [
  1202. {
  1203. "type": "integer",
  1204. "description": "所属机构ID",
  1205. "name": "areaUserId",
  1206. "in": "query",
  1207. "required": true
  1208. }
  1209. ],
  1210. "responses": {
  1211. "200": {
  1212. "description": "OK",
  1213. "schema": {
  1214. "type": "array",
  1215. "items": {
  1216. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1217. }
  1218. }
  1219. },
  1220. "500": {
  1221. "description": "Internal Server Error",
  1222. "schema": {
  1223. "$ref": "#/definitions/app.Response"
  1224. }
  1225. }
  1226. }
  1227. }
  1228. },
  1229. "/Ermcp/QueryExposureSpotDetail": {
  1230. "get": {
  1231. "security": [
  1232. {
  1233. "ApiKeyAuth": []
  1234. }
  1235. ],
  1236. "produces": [
  1237. "application/json"
  1238. ],
  1239. "tags": [
  1240. "企业风险管理(app)"
  1241. ],
  1242. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1243. "parameters": [
  1244. {
  1245. "type": "integer",
  1246. "description": "所属机构ID",
  1247. "name": "areaUserId",
  1248. "in": "query",
  1249. "required": true
  1250. },
  1251. {
  1252. "type": "integer",
  1253. "description": "现货品种ID",
  1254. "name": "wrstandardId",
  1255. "in": "query",
  1256. "required": true
  1257. }
  1258. ],
  1259. "responses": {
  1260. "200": {
  1261. "description": "OK",
  1262. "schema": {
  1263. "type": "array",
  1264. "items": {
  1265. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1266. }
  1267. }
  1268. },
  1269. "500": {
  1270. "description": "Internal Server Error",
  1271. "schema": {
  1272. "$ref": "#/definitions/app.Response"
  1273. }
  1274. }
  1275. }
  1276. }
  1277. },
  1278. "/Ermcp/QueryGGConvertConfig": {
  1279. "get": {
  1280. "security": [
  1281. {
  1282. "ApiKeyAuth": []
  1283. }
  1284. ],
  1285. "produces": [
  1286. "application/json"
  1287. ],
  1288. "tags": [
  1289. "企业风险管理(app)"
  1290. ],
  1291. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1292. "parameters": [
  1293. {
  1294. "type": "integer",
  1295. "description": "品种id(不填则查所有)",
  1296. "name": "goodsgroupid",
  1297. "in": "query"
  1298. }
  1299. ],
  1300. "responses": {
  1301. "200": {
  1302. "description": "OK",
  1303. "schema": {
  1304. "type": "array",
  1305. "items": {
  1306. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  1307. }
  1308. }
  1309. },
  1310. "500": {
  1311. "description": "Internal Server Error",
  1312. "schema": {
  1313. "$ref": "#/definitions/app.Response"
  1314. }
  1315. }
  1316. }
  1317. }
  1318. },
  1319. "/Ermcp/QueryHedgePlan": {
  1320. "get": {
  1321. "security": [
  1322. {
  1323. "ApiKeyAuth": []
  1324. }
  1325. ],
  1326. "produces": [
  1327. "application/json"
  1328. ],
  1329. "tags": [
  1330. "企业风险管理(app)"
  1331. ],
  1332. "summary": "查询套保计划",
  1333. "parameters": [
  1334. {
  1335. "type": "integer",
  1336. "description": "用户ID",
  1337. "name": "userId",
  1338. "in": "query",
  1339. "required": true
  1340. },
  1341. {
  1342. "type": "string",
  1343. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1344. "name": "HedgePlanStatus",
  1345. "in": "query",
  1346. "required": true
  1347. }
  1348. ],
  1349. "responses": {
  1350. "200": {
  1351. "description": "OK",
  1352. "schema": {
  1353. "type": "array",
  1354. "items": {
  1355. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1356. }
  1357. }
  1358. },
  1359. "500": {
  1360. "description": "Internal Server Error",
  1361. "schema": {
  1362. "$ref": "#/definitions/app.Response"
  1363. }
  1364. }
  1365. }
  1366. }
  1367. },
  1368. "/Ermcp/QueryHisExposure": {
  1369. "get": {
  1370. "security": [
  1371. {
  1372. "ApiKeyAuth": []
  1373. }
  1374. ],
  1375. "produces": [
  1376. "application/json"
  1377. ],
  1378. "tags": [
  1379. "企业风险管理(app)"
  1380. ],
  1381. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  1382. "parameters": [
  1383. {
  1384. "type": "integer",
  1385. "description": "所属机构ID",
  1386. "name": "areaUserId",
  1387. "in": "query",
  1388. "required": true
  1389. },
  1390. {
  1391. "type": "integer",
  1392. "description": "最近多少条记录, -1:为查全部",
  1393. "name": "lastNum",
  1394. "in": "query",
  1395. "required": true
  1396. }
  1397. ],
  1398. "responses": {
  1399. "200": {
  1400. "description": "OK",
  1401. "schema": {
  1402. "type": "array",
  1403. "items": {
  1404. "$ref": "#/definitions/ermcp.HisExposureRsp"
  1405. }
  1406. }
  1407. },
  1408. "500": {
  1409. "description": "Internal Server Error",
  1410. "schema": {
  1411. "$ref": "#/definitions/app.Response"
  1412. }
  1413. }
  1414. }
  1415. }
  1416. },
  1417. "/Ermcp/QueryMiddleGoods": {
  1418. "get": {
  1419. "security": [
  1420. {
  1421. "ApiKeyAuth": []
  1422. }
  1423. ],
  1424. "produces": [
  1425. "application/json"
  1426. ],
  1427. "tags": [
  1428. "企业风险管理(app)"
  1429. ],
  1430. "summary": "查询套保品种(菜单:套保品种)",
  1431. "parameters": [
  1432. {
  1433. "type": "integer",
  1434. "description": "所属机构ID",
  1435. "name": "userid",
  1436. "in": "query",
  1437. "required": true
  1438. },
  1439. {
  1440. "type": "integer",
  1441. "description": "状态 0-停用 1-正常",
  1442. "name": "status",
  1443. "in": "query",
  1444. "required": true
  1445. }
  1446. ],
  1447. "responses": {
  1448. "200": {
  1449. "description": "OK",
  1450. "schema": {
  1451. "type": "array",
  1452. "items": {
  1453. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  1454. }
  1455. }
  1456. },
  1457. "500": {
  1458. "description": "Internal Server Error",
  1459. "schema": {
  1460. "$ref": "#/definitions/app.Response"
  1461. }
  1462. }
  1463. }
  1464. }
  1465. },
  1466. "/Ermcp/QueryMiddleGoodsChangeLog": {
  1467. "get": {
  1468. "security": [
  1469. {
  1470. "ApiKeyAuth": []
  1471. }
  1472. ],
  1473. "produces": [
  1474. "application/json"
  1475. ],
  1476. "tags": [
  1477. "企业风险管理(app)"
  1478. ],
  1479. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  1480. "parameters": [
  1481. {
  1482. "type": "integer",
  1483. "description": "所属机构ID",
  1484. "name": "userid",
  1485. "in": "query",
  1486. "required": true
  1487. },
  1488. {
  1489. "type": "integer",
  1490. "description": "套保品种id",
  1491. "name": "middlegoodsid",
  1492. "in": "query",
  1493. "required": true
  1494. }
  1495. ],
  1496. "responses": {
  1497. "200": {
  1498. "description": "OK",
  1499. "schema": {
  1500. "type": "array",
  1501. "items": {
  1502. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  1503. }
  1504. }
  1505. },
  1506. "500": {
  1507. "description": "Internal Server Error",
  1508. "schema": {
  1509. "$ref": "#/definitions/app.Response"
  1510. }
  1511. }
  1512. }
  1513. }
  1514. },
  1515. "/Ermcp/QueryMiddleGoodsDetail": {
  1516. "get": {
  1517. "security": [
  1518. {
  1519. "ApiKeyAuth": []
  1520. }
  1521. ],
  1522. "produces": [
  1523. "application/json"
  1524. ],
  1525. "tags": [
  1526. "企业风险管理(app)"
  1527. ],
  1528. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  1529. "parameters": [
  1530. {
  1531. "type": "integer",
  1532. "description": "所属机构ID",
  1533. "name": "userid",
  1534. "in": "query",
  1535. "required": true
  1536. },
  1537. {
  1538. "type": "integer",
  1539. "description": "套保品种id",
  1540. "name": "middlegoodsid",
  1541. "in": "query",
  1542. "required": true
  1543. }
  1544. ],
  1545. "responses": {
  1546. "200": {
  1547. "description": "OK",
  1548. "schema": {
  1549. "type": "array",
  1550. "items": {
  1551. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  1552. }
  1553. }
  1554. },
  1555. "500": {
  1556. "description": "Internal Server Error",
  1557. "schema": {
  1558. "$ref": "#/definitions/app.Response"
  1559. }
  1560. }
  1561. }
  1562. }
  1563. },
  1564. "/Ermcp/QueryRealtimeExposure": {
  1565. "get": {
  1566. "security": [
  1567. {
  1568. "ApiKeyAuth": []
  1569. }
  1570. ],
  1571. "produces": [
  1572. "application/json"
  1573. ],
  1574. "tags": [
  1575. "企业风险管理(app)"
  1576. ],
  1577. "summary": "查询实时敞口",
  1578. "parameters": [
  1579. {
  1580. "type": "integer",
  1581. "description": "所属机构ID",
  1582. "name": "AreaUserID",
  1583. "in": "query",
  1584. "required": true
  1585. }
  1586. ],
  1587. "responses": {
  1588. "200": {
  1589. "description": "OK",
  1590. "schema": {
  1591. "type": "array",
  1592. "items": {
  1593. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  1594. }
  1595. }
  1596. },
  1597. "500": {
  1598. "description": "Internal Server Error",
  1599. "schema": {
  1600. "$ref": "#/definitions/app.Response"
  1601. }
  1602. }
  1603. }
  1604. }
  1605. },
  1606. "/Ermcp/QueryRealtimeExposurePosition": {
  1607. "get": {
  1608. "security": [
  1609. {
  1610. "ApiKeyAuth": []
  1611. }
  1612. ],
  1613. "produces": [
  1614. "application/json"
  1615. ],
  1616. "tags": [
  1617. "企业风险管理(app)"
  1618. ],
  1619. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  1620. "parameters": [
  1621. {
  1622. "type": "integer",
  1623. "description": "所属机构ID",
  1624. "name": "areaUserId",
  1625. "in": "query",
  1626. "required": true
  1627. },
  1628. {
  1629. "type": "integer",
  1630. "description": "套保商品ID",
  1631. "name": "middleGoodsId",
  1632. "in": "query",
  1633. "required": true
  1634. }
  1635. ],
  1636. "responses": {
  1637. "200": {
  1638. "description": "OK",
  1639. "schema": {
  1640. "type": "array",
  1641. "items": {
  1642. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  1643. }
  1644. }
  1645. },
  1646. "500": {
  1647. "description": "Internal Server Error",
  1648. "schema": {
  1649. "$ref": "#/definitions/app.Response"
  1650. }
  1651. }
  1652. }
  1653. }
  1654. },
  1655. "/Ermcp/QuerySpotContract": {
  1656. "get": {
  1657. "security": [
  1658. {
  1659. "ApiKeyAuth": []
  1660. }
  1661. ],
  1662. "produces": [
  1663. "application/json"
  1664. ],
  1665. "tags": [
  1666. "企业风险管理(app)"
  1667. ],
  1668. "summary": "查询现货合同(对应现货合同菜单)",
  1669. "parameters": [
  1670. {
  1671. "type": "integer",
  1672. "description": "用户ID",
  1673. "name": "userId",
  1674. "in": "query",
  1675. "required": true
  1676. },
  1677. {
  1678. "type": "integer",
  1679. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  1680. "name": "QueryType",
  1681. "in": "query",
  1682. "required": true
  1683. }
  1684. ],
  1685. "responses": {
  1686. "200": {
  1687. "description": "OK",
  1688. "schema": {
  1689. "type": "array",
  1690. "items": {
  1691. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  1692. }
  1693. }
  1694. },
  1695. "500": {
  1696. "description": "Internal Server Error",
  1697. "schema": {
  1698. "$ref": "#/definitions/app.Response"
  1699. }
  1700. }
  1701. }
  1702. }
  1703. },
  1704. "/Ermcp/QueryUserInfo": {
  1705. "get": {
  1706. "security": [
  1707. {
  1708. "ApiKeyAuth": []
  1709. }
  1710. ],
  1711. "produces": [
  1712. "application/json"
  1713. ],
  1714. "tags": [
  1715. "企业风险管理(app)"
  1716. ],
  1717. "summary": "查询客户资料",
  1718. "parameters": [
  1719. {
  1720. "type": "integer",
  1721. "description": "所属机构用户ID",
  1722. "name": "MemberUserID",
  1723. "in": "query",
  1724. "required": true
  1725. },
  1726. {
  1727. "type": "integer",
  1728. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  1729. "name": "queryType",
  1730. "in": "query",
  1731. "required": true
  1732. }
  1733. ],
  1734. "responses": {
  1735. "200": {
  1736. "description": "OK",
  1737. "schema": {
  1738. "type": "array",
  1739. "items": {
  1740. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1741. }
  1742. }
  1743. },
  1744. "500": {
  1745. "description": "Internal Server Error",
  1746. "schema": {
  1747. "$ref": "#/definitions/app.Response"
  1748. }
  1749. }
  1750. }
  1751. }
  1752. },
  1753. "/Ermcp/QueryWrStandard": {
  1754. "get": {
  1755. "security": [
  1756. {
  1757. "ApiKeyAuth": []
  1758. }
  1759. ],
  1760. "produces": [
  1761. "application/json"
  1762. ],
  1763. "tags": [
  1764. "企业风险管理(app)"
  1765. ],
  1766. "summary": "查询现货商品",
  1767. "parameters": [
  1768. {
  1769. "type": "integer",
  1770. "description": "所属机构ID",
  1771. "name": "userid",
  1772. "in": "query",
  1773. "required": true
  1774. },
  1775. {
  1776. "type": "integer",
  1777. "description": "状态 0-停用 1-正常",
  1778. "name": "status",
  1779. "in": "query",
  1780. "required": true
  1781. }
  1782. ],
  1783. "responses": {
  1784. "200": {
  1785. "description": "OK",
  1786. "schema": {
  1787. "type": "array",
  1788. "items": {
  1789. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  1790. }
  1791. }
  1792. },
  1793. "500": {
  1794. "description": "Internal Server Error",
  1795. "schema": {
  1796. "$ref": "#/definitions/app.Response"
  1797. }
  1798. }
  1799. }
  1800. }
  1801. },
  1802. "/Ermcp/QueryWrStandardDetail": {
  1803. "get": {
  1804. "security": [
  1805. {
  1806. "ApiKeyAuth": []
  1807. }
  1808. ],
  1809. "produces": [
  1810. "application/json"
  1811. ],
  1812. "tags": [
  1813. "企业风险管理(app)"
  1814. ],
  1815. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  1816. "parameters": [
  1817. {
  1818. "type": "integer",
  1819. "description": "所属机构ID",
  1820. "name": "userid",
  1821. "in": "query",
  1822. "required": true
  1823. },
  1824. {
  1825. "type": "integer",
  1826. "description": "现货商品ID",
  1827. "name": "wrstandardid",
  1828. "in": "query",
  1829. "required": true
  1830. }
  1831. ],
  1832. "responses": {
  1833. "200": {
  1834. "description": "OK",
  1835. "schema": {
  1836. "type": "array",
  1837. "items": {
  1838. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  1839. }
  1840. }
  1841. },
  1842. "500": {
  1843. "description": "Internal Server Error",
  1844. "schema": {
  1845. "$ref": "#/definitions/app.Response"
  1846. }
  1847. }
  1848. }
  1849. }
  1850. },
  1851. "/Erms2/QueryArbitrageStrategy": {
  1852. "get": {
  1853. "security": [
  1854. {
  1855. "ApiKeyAuth": []
  1856. }
  1857. ],
  1858. "produces": [
  1859. "application/json"
  1860. ],
  1861. "tags": [
  1862. "风险管理"
  1863. ],
  1864. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1865. "parameters": [
  1866. {
  1867. "type": "integer",
  1868. "description": "账户ID",
  1869. "name": "userid",
  1870. "in": "query",
  1871. "required": true
  1872. },
  1873. {
  1874. "type": "string",
  1875. "description": "商品组ID(品种ID)",
  1876. "name": "goodsgroupid",
  1877. "in": "query"
  1878. }
  1879. ],
  1880. "responses": {
  1881. "200": {
  1882. "description": "OK",
  1883. "schema": {
  1884. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1885. }
  1886. },
  1887. "500": {
  1888. "description": "Internal Server Error",
  1889. "schema": {
  1890. "$ref": "#/definitions/app.Response"
  1891. }
  1892. }
  1893. }
  1894. }
  1895. },
  1896. "/Erms2/QueryInnerTradeDetail": {
  1897. "get": {
  1898. "security": [
  1899. {
  1900. "ApiKeyAuth": []
  1901. }
  1902. ],
  1903. "produces": [
  1904. "application/json"
  1905. ],
  1906. "tags": [
  1907. "风险管理"
  1908. ],
  1909. "summary": "查询内部成交单信息",
  1910. "parameters": [
  1911. {
  1912. "type": "integer",
  1913. "description": "资金账户",
  1914. "name": "accountid",
  1915. "in": "query",
  1916. "required": true
  1917. }
  1918. ],
  1919. "responses": {
  1920. "200": {
  1921. "description": "OK",
  1922. "schema": {
  1923. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1924. }
  1925. },
  1926. "500": {
  1927. "description": "Internal Server Error",
  1928. "schema": {
  1929. "$ref": "#/definitions/app.Response"
  1930. }
  1931. }
  1932. }
  1933. }
  1934. },
  1935. "/Erms2/QuerySpotContract": {
  1936. "get": {
  1937. "security": [
  1938. {
  1939. "ApiKeyAuth": []
  1940. }
  1941. ],
  1942. "produces": [
  1943. "application/json"
  1944. ],
  1945. "tags": [
  1946. "风险管理"
  1947. ],
  1948. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1949. "parameters": [
  1950. {
  1951. "type": "integer",
  1952. "description": "策略申请ID",
  1953. "name": "asapplyid",
  1954. "in": "query",
  1955. "required": true
  1956. },
  1957. {
  1958. "type": "integer",
  1959. "description": "现货合同ID",
  1960. "name": "spotcontractid",
  1961. "in": "query"
  1962. }
  1963. ],
  1964. "responses": {
  1965. "200": {
  1966. "description": "OK",
  1967. "schema": {
  1968. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1969. }
  1970. },
  1971. "500": {
  1972. "description": "Internal Server Error",
  1973. "schema": {
  1974. "$ref": "#/definitions/app.Response"
  1975. }
  1976. }
  1977. }
  1978. }
  1979. },
  1980. "/Erms3/AddErms2ASApply": {
  1981. "post": {
  1982. "security": [
  1983. {
  1984. "ApiKeyAuth": []
  1985. }
  1986. ],
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "风险管理v3"
  1992. ],
  1993. "summary": "新增期现套利业务申请",
  1994. "parameters": [
  1995. {
  1996. "description": "申请参数",
  1997. "name": "jsonBody",
  1998. "in": "body",
  1999. "required": true,
  2000. "schema": {
  2001. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2002. }
  2003. }
  2004. ],
  2005. "responses": {
  2006. "200": {
  2007. "description": "OK",
  2008. "schema": {
  2009. "$ref": "#/definitions/app.Response"
  2010. }
  2011. },
  2012. "500": {
  2013. "description": "Internal Server Error",
  2014. "schema": {
  2015. "$ref": "#/definitions/app.Response"
  2016. }
  2017. }
  2018. }
  2019. }
  2020. },
  2021. "/Erms3/AddErms2SpotTradeApply": {
  2022. "post": {
  2023. "security": [
  2024. {
  2025. "ApiKeyAuth": []
  2026. }
  2027. ],
  2028. "produces": [
  2029. "application/json"
  2030. ],
  2031. "tags": [
  2032. "风险管理v3"
  2033. ],
  2034. "summary": "新增现货贸易业务申请",
  2035. "parameters": [
  2036. {
  2037. "description": "申请参数",
  2038. "name": "jsonBody",
  2039. "in": "body",
  2040. "required": true,
  2041. "schema": {
  2042. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2043. }
  2044. }
  2045. ],
  2046. "responses": {
  2047. "200": {
  2048. "description": "OK",
  2049. "schema": {
  2050. "$ref": "#/definitions/app.Response"
  2051. }
  2052. },
  2053. "500": {
  2054. "description": "Internal Server Error",
  2055. "schema": {
  2056. "$ref": "#/definitions/app.Response"
  2057. }
  2058. }
  2059. }
  2060. }
  2061. },
  2062. "/Erms3/AddSpotContractApply": {
  2063. "post": {
  2064. "security": [
  2065. {
  2066. "ApiKeyAuth": []
  2067. }
  2068. ],
  2069. "produces": [
  2070. "application/json"
  2071. ],
  2072. "tags": [
  2073. "风险管理v3"
  2074. ],
  2075. "summary": "新增现货合同申请",
  2076. "parameters": [
  2077. {
  2078. "description": "申请参数",
  2079. "name": "jsonBody",
  2080. "in": "body",
  2081. "required": true,
  2082. "schema": {
  2083. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2084. }
  2085. }
  2086. ],
  2087. "responses": {
  2088. "200": {
  2089. "description": "OK",
  2090. "schema": {
  2091. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2092. }
  2093. },
  2094. "500": {
  2095. "description": "Internal Server Error",
  2096. "schema": {
  2097. "$ref": "#/definitions/app.Response"
  2098. }
  2099. }
  2100. }
  2101. }
  2102. },
  2103. "/Erms3/AddUserInfoApply": {
  2104. "post": {
  2105. "security": [
  2106. {
  2107. "ApiKeyAuth": []
  2108. }
  2109. ],
  2110. "produces": [
  2111. "application/json"
  2112. ],
  2113. "tags": [
  2114. "风险管理v3"
  2115. ],
  2116. "summary": "新增客户申请",
  2117. "parameters": [
  2118. {
  2119. "description": "用户信息",
  2120. "name": "jsonBody",
  2121. "in": "body",
  2122. "required": true,
  2123. "schema": {
  2124. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2125. }
  2126. }
  2127. ],
  2128. "responses": {
  2129. "200": {
  2130. "description": "OK",
  2131. "schema": {
  2132. "$ref": "#/definitions/app.Response"
  2133. }
  2134. },
  2135. "500": {
  2136. "description": "Internal Server Error",
  2137. "schema": {
  2138. "$ref": "#/definitions/app.Response"
  2139. }
  2140. }
  2141. }
  2142. }
  2143. },
  2144. "/Erms3/ModifyUserInfoApply": {
  2145. "post": {
  2146. "security": [
  2147. {
  2148. "ApiKeyAuth": []
  2149. }
  2150. ],
  2151. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  2152. "produces": [
  2153. "application/json"
  2154. ],
  2155. "tags": [
  2156. "风险管理v3"
  2157. ],
  2158. "summary": "修改客户申请",
  2159. "parameters": [
  2160. {
  2161. "description": "用户信息",
  2162. "name": "jsonBody",
  2163. "in": "body",
  2164. "required": true,
  2165. "schema": {
  2166. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  2167. }
  2168. }
  2169. ],
  2170. "responses": {
  2171. "200": {
  2172. "description": "OK",
  2173. "schema": {
  2174. "$ref": "#/definitions/app.Response"
  2175. }
  2176. },
  2177. "500": {
  2178. "description": "Internal Server Error",
  2179. "schema": {
  2180. "$ref": "#/definitions/app.Response"
  2181. }
  2182. }
  2183. }
  2184. }
  2185. },
  2186. "/Erms3/QueryBusinessInfo": {
  2187. "get": {
  2188. "security": [
  2189. {
  2190. "ApiKeyAuth": []
  2191. }
  2192. ],
  2193. "produces": [
  2194. "application/json"
  2195. ],
  2196. "tags": [
  2197. "风险管理v3"
  2198. ],
  2199. "summary": "查询业务表单数据",
  2200. "parameters": [
  2201. {
  2202. "type": "string",
  2203. "description": "资金账号ID列表,用逗号分隔",
  2204. "name": "accountids",
  2205. "in": "query",
  2206. "required": true
  2207. },
  2208. {
  2209. "type": "integer",
  2210. "description": "状态,0为未结束 1为已结束",
  2211. "name": "status",
  2212. "in": "query",
  2213. "required": true
  2214. }
  2215. ],
  2216. "responses": {
  2217. "200": {
  2218. "description": "OK",
  2219. "schema": {
  2220. "type": "array",
  2221. "items": {
  2222. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  2223. }
  2224. }
  2225. },
  2226. "500": {
  2227. "description": "Internal Server Error",
  2228. "schema": {
  2229. "$ref": "#/definitions/app.Response"
  2230. }
  2231. }
  2232. }
  2233. }
  2234. },
  2235. "/Erms3/QueryPendingAuditContract": {
  2236. "get": {
  2237. "security": [
  2238. {
  2239. "ApiKeyAuth": []
  2240. }
  2241. ],
  2242. "produces": [
  2243. "application/json"
  2244. ],
  2245. "tags": [
  2246. "风险管理v3"
  2247. ],
  2248. "summary": "查询待审核合同",
  2249. "parameters": [
  2250. {
  2251. "type": "string",
  2252. "description": "资金账号ID列表,逗号隔开",
  2253. "name": "accountids",
  2254. "in": "query",
  2255. "required": true
  2256. },
  2257. {
  2258. "type": "integer",
  2259. "description": "合同类型 1-采购 -1-销售",
  2260. "name": "contracttype",
  2261. "in": "query",
  2262. "required": true
  2263. },
  2264. {
  2265. "type": "integer",
  2266. "description": "合同模式 1-普通 2-回购",
  2267. "name": "contractmode",
  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/erms3.QryAuditContractRsp"
  2279. }
  2280. }
  2281. },
  2282. "500": {
  2283. "description": "Internal Server Error",
  2284. "schema": {
  2285. "$ref": "#/definitions/app.Response"
  2286. }
  2287. }
  2288. }
  2289. }
  2290. },
  2291. "/Erms3/QueryPendingBusiness": {
  2292. "get": {
  2293. "security": [
  2294. {
  2295. "ApiKeyAuth": []
  2296. }
  2297. ],
  2298. "produces": [
  2299. "application/json"
  2300. ],
  2301. "tags": [
  2302. "风险管理v3"
  2303. ],
  2304. "summary": "查询待审核基差贸易业务",
  2305. "parameters": [
  2306. {
  2307. "type": "string",
  2308. "description": "资金账号ID列表,逗号隔开",
  2309. "name": "accountids",
  2310. "in": "query",
  2311. "required": true
  2312. }
  2313. ],
  2314. "responses": {
  2315. "200": {
  2316. "description": "OK",
  2317. "schema": {
  2318. "type": "array",
  2319. "items": {
  2320. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  2321. }
  2322. }
  2323. },
  2324. "500": {
  2325. "description": "Internal Server Error",
  2326. "schema": {
  2327. "$ref": "#/definitions/app.Response"
  2328. }
  2329. }
  2330. }
  2331. }
  2332. },
  2333. "/Erms3/QuerySpotContractAppleForm": {
  2334. "get": {
  2335. "security": [
  2336. {
  2337. "ApiKeyAuth": []
  2338. }
  2339. ],
  2340. "produces": [
  2341. "application/json"
  2342. ],
  2343. "tags": [
  2344. "风险管理v3"
  2345. ],
  2346. "summary": "查询合同申请表单数据",
  2347. "parameters": [
  2348. {
  2349. "type": "integer",
  2350. "description": "登录账号",
  2351. "name": "loginID",
  2352. "in": "query",
  2353. "required": true
  2354. }
  2355. ],
  2356. "responses": {
  2357. "200": {
  2358. "description": "OK",
  2359. "schema": {
  2360. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  2361. }
  2362. },
  2363. "500": {
  2364. "description": "Internal Server Error",
  2365. "schema": {
  2366. "$ref": "#/definitions/app.Response"
  2367. }
  2368. }
  2369. }
  2370. }
  2371. },
  2372. "/Erms3/QuerySpotContractDetail": {
  2373. "get": {
  2374. "security": [
  2375. {
  2376. "ApiKeyAuth": []
  2377. }
  2378. ],
  2379. "produces": [
  2380. "application/json"
  2381. ],
  2382. "tags": [
  2383. "风险管理v3"
  2384. ],
  2385. "summary": "查询合同详细信息",
  2386. "parameters": [
  2387. {
  2388. "type": "string",
  2389. "description": "资金账号ID列表,用逗号分隔",
  2390. "name": "accountids",
  2391. "in": "query",
  2392. "required": true
  2393. },
  2394. {
  2395. "type": "integer",
  2396. "description": "合同类型,1为采购合同 -1为销售合同",
  2397. "name": "contracttype",
  2398. "in": "query",
  2399. "required": true
  2400. },
  2401. {
  2402. "type": "integer",
  2403. "description": "合同模式,1为普通合同 2为回购销售合同",
  2404. "name": "contractmode",
  2405. "in": "query",
  2406. "required": true
  2407. },
  2408. {
  2409. "type": "integer",
  2410. "description": "状态,0为履约中 1为已完成",
  2411. "name": "status",
  2412. "in": "query",
  2413. "required": true
  2414. }
  2415. ],
  2416. "responses": {
  2417. "200": {
  2418. "description": "OK",
  2419. "schema": {
  2420. "type": "array",
  2421. "items": {
  2422. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  2423. }
  2424. }
  2425. },
  2426. "500": {
  2427. "description": "Internal Server Error",
  2428. "schema": {
  2429. "$ref": "#/definitions/app.Response"
  2430. }
  2431. }
  2432. }
  2433. }
  2434. },
  2435. "/Erms3/QueryUserInfoApplies": {
  2436. "get": {
  2437. "security": [
  2438. {
  2439. "ApiKeyAuth": []
  2440. }
  2441. ],
  2442. "produces": [
  2443. "application/json"
  2444. ],
  2445. "tags": [
  2446. "风险管理v3"
  2447. ],
  2448. "summary": "客户申请信息查询",
  2449. "parameters": [
  2450. {
  2451. "type": "integer",
  2452. "description": "页码",
  2453. "name": "page",
  2454. "in": "query"
  2455. },
  2456. {
  2457. "type": "integer",
  2458. "description": "每页条数",
  2459. "name": "pagesize",
  2460. "in": "query"
  2461. },
  2462. {
  2463. "type": "string",
  2464. "description": "客户名称,支持模糊查询",
  2465. "name": "userName",
  2466. "in": "query"
  2467. }
  2468. ],
  2469. "responses": {
  2470. "200": {
  2471. "description": "OK",
  2472. "schema": {
  2473. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  2474. }
  2475. },
  2476. "500": {
  2477. "description": "Internal Server Error",
  2478. "schema": {
  2479. "$ref": "#/definitions/app.Response"
  2480. }
  2481. }
  2482. }
  2483. }
  2484. },
  2485. "/Erms3/QueryUserInfos": {
  2486. "get": {
  2487. "security": [
  2488. {
  2489. "ApiKeyAuth": []
  2490. }
  2491. ],
  2492. "produces": [
  2493. "application/json"
  2494. ],
  2495. "tags": [
  2496. "风险管理v3"
  2497. ],
  2498. "summary": "客户信息查询",
  2499. "parameters": [
  2500. {
  2501. "type": "integer",
  2502. "description": "页码",
  2503. "name": "page",
  2504. "in": "query"
  2505. },
  2506. {
  2507. "type": "integer",
  2508. "description": "每页条数",
  2509. "name": "pagesize",
  2510. "in": "query"
  2511. },
  2512. {
  2513. "type": "string",
  2514. "description": "客户名称,支持模糊查询",
  2515. "name": "userName",
  2516. "in": "query"
  2517. }
  2518. ],
  2519. "responses": {
  2520. "200": {
  2521. "description": "OK",
  2522. "schema": {
  2523. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  2524. }
  2525. },
  2526. "500": {
  2527. "description": "Internal Server Error",
  2528. "schema": {
  2529. "$ref": "#/definitions/app.Response"
  2530. }
  2531. }
  2532. }
  2533. }
  2534. },
  2535. "/HSBY/GetHsbyMyCount": {
  2536. "get": {
  2537. "security": [
  2538. {
  2539. "ApiKeyAuth": []
  2540. }
  2541. ],
  2542. "description": "说明: 不包括已完成的数量。",
  2543. "produces": [
  2544. "application/json"
  2545. ],
  2546. "tags": [
  2547. "定制【海商报业】"
  2548. ],
  2549. "summary": "获取我的订单与包裹数量",
  2550. "parameters": [
  2551. {
  2552. "type": "string",
  2553. "description": "资金账户列表,格式:1,2,3",
  2554. "name": "accountIDs",
  2555. "in": "query",
  2556. "required": true
  2557. }
  2558. ],
  2559. "responses": {
  2560. "200": {
  2561. "description": "OK",
  2562. "schema": {
  2563. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  2564. }
  2565. },
  2566. "500": {
  2567. "description": "Internal Server Error",
  2568. "schema": {
  2569. "$ref": "#/definitions/app.Response"
  2570. }
  2571. }
  2572. }
  2573. }
  2574. },
  2575. "/HSBY/QueryClientFixedADConfigs": {
  2576. "get": {
  2577. "security": [
  2578. {
  2579. "ApiKeyAuth": []
  2580. }
  2581. ],
  2582. "produces": [
  2583. "application/json"
  2584. ],
  2585. "tags": [
  2586. "定制【海商报业】"
  2587. ],
  2588. "summary": "获取终端固定广告配置",
  2589. "responses": {
  2590. "200": {
  2591. "description": "OK",
  2592. "schema": {
  2593. "$ref": "#/definitions/models.Clientfixedadconfig"
  2594. }
  2595. },
  2596. "500": {
  2597. "description": "Internal Server Error",
  2598. "schema": {
  2599. "$ref": "#/definitions/app.Response"
  2600. }
  2601. }
  2602. }
  2603. }
  2604. },
  2605. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  2606. "get": {
  2607. "security": [
  2608. {
  2609. "ApiKeyAuth": []
  2610. }
  2611. ],
  2612. "produces": [
  2613. "application/json"
  2614. ],
  2615. "tags": [
  2616. "定制【海商报业】"
  2617. ],
  2618. "summary": "查询\"我的订单 - 已完成\"单据信息",
  2619. "parameters": [
  2620. {
  2621. "type": "integer",
  2622. "description": "页码",
  2623. "name": "page",
  2624. "in": "query"
  2625. },
  2626. {
  2627. "type": "integer",
  2628. "description": "每页条数",
  2629. "name": "pagesize",
  2630. "in": "query"
  2631. },
  2632. {
  2633. "type": "string",
  2634. "description": "资金账户列表,格式:1,2,3",
  2635. "name": "accountIDs",
  2636. "in": "query",
  2637. "required": true
  2638. }
  2639. ],
  2640. "responses": {
  2641. "200": {
  2642. "description": "OK",
  2643. "schema": {
  2644. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  2645. }
  2646. },
  2647. "500": {
  2648. "description": "Internal Server Error",
  2649. "schema": {
  2650. "$ref": "#/definitions/app.Response"
  2651. }
  2652. }
  2653. }
  2654. }
  2655. },
  2656. "/HSBY/QueryHsbyGoodsOrderDetails": {
  2657. "get": {
  2658. "security": [
  2659. {
  2660. "ApiKeyAuth": []
  2661. }
  2662. ],
  2663. "description": "说明:查询结果已按委托价格和委托时间排序",
  2664. "produces": [
  2665. "application/json"
  2666. ],
  2667. "tags": [
  2668. "定制【海商报业】"
  2669. ],
  2670. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  2671. "parameters": [
  2672. {
  2673. "type": "integer",
  2674. "description": "商品ID",
  2675. "name": "goodsID",
  2676. "in": "query",
  2677. "required": true
  2678. },
  2679. {
  2680. "type": "string",
  2681. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  2682. "name": "accountIDs",
  2683. "in": "query"
  2684. },
  2685. {
  2686. "type": "integer",
  2687. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  2688. "name": "buyOrSell",
  2689. "in": "query"
  2690. },
  2691. {
  2692. "type": "number",
  2693. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  2694. "name": "price",
  2695. "in": "query"
  2696. },
  2697. {
  2698. "type": "integer",
  2699. "description": "档位,不传则默认为3档",
  2700. "name": "speed",
  2701. "in": "query"
  2702. }
  2703. ],
  2704. "responses": {
  2705. "200": {
  2706. "description": "OK",
  2707. "schema": {
  2708. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  2709. }
  2710. },
  2711. "500": {
  2712. "description": "Internal Server Error",
  2713. "schema": {
  2714. "$ref": "#/definitions/app.Response"
  2715. }
  2716. }
  2717. }
  2718. }
  2719. },
  2720. "/HSBY/QueryHsbyListingGoodsDetail": {
  2721. "get": {
  2722. "security": [
  2723. {
  2724. "ApiKeyAuth": []
  2725. }
  2726. ],
  2727. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  2728. "produces": [
  2729. "application/json"
  2730. ],
  2731. "tags": [
  2732. "定制【海商报业】"
  2733. ],
  2734. "summary": "查询二级市场(挂牌点选)商品信息详情",
  2735. "parameters": [
  2736. {
  2737. "type": "integer",
  2738. "description": "商品ID",
  2739. "name": "goodsID",
  2740. "in": "query",
  2741. "required": true
  2742. },
  2743. {
  2744. "type": "integer",
  2745. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  2746. "name": "accountID",
  2747. "in": "query"
  2748. }
  2749. ],
  2750. "responses": {
  2751. "200": {
  2752. "description": "OK",
  2753. "schema": {
  2754. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  2755. }
  2756. },
  2757. "500": {
  2758. "description": "Internal Server Error",
  2759. "schema": {
  2760. "$ref": "#/definitions/app.Response"
  2761. }
  2762. }
  2763. }
  2764. }
  2765. },
  2766. "/HSBY/QueryHsbyMarketGoodsDetail": {
  2767. "get": {
  2768. "security": [
  2769. {
  2770. "ApiKeyAuth": []
  2771. }
  2772. ],
  2773. "produces": [
  2774. "application/json"
  2775. ],
  2776. "tags": [
  2777. "定制【海商报业】"
  2778. ],
  2779. "summary": "查询三级市场(商城)商品信息详情",
  2780. "parameters": [
  2781. {
  2782. "type": "integer",
  2783. "description": "委托单号",
  2784. "name": "orderID",
  2785. "in": "query",
  2786. "required": true
  2787. },
  2788. {
  2789. "type": "integer",
  2790. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  2791. "name": "accountID",
  2792. "in": "query"
  2793. }
  2794. ],
  2795. "responses": {
  2796. "200": {
  2797. "description": "OK",
  2798. "schema": {
  2799. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2800. }
  2801. },
  2802. "500": {
  2803. "description": "Internal Server Error",
  2804. "schema": {
  2805. "$ref": "#/definitions/app.Response"
  2806. }
  2807. }
  2808. }
  2809. }
  2810. },
  2811. "/HSBY/QueryHsbyMarketGoodses": {
  2812. "get": {
  2813. "security": [
  2814. {
  2815. "ApiKeyAuth": []
  2816. }
  2817. ],
  2818. "produces": [
  2819. "application/json"
  2820. ],
  2821. "tags": [
  2822. "定制【海商报业】"
  2823. ],
  2824. "summary": "查询特卖商品列表(三级商城)",
  2825. "parameters": [
  2826. {
  2827. "type": "integer",
  2828. "description": "页码",
  2829. "name": "page",
  2830. "in": "query"
  2831. },
  2832. {
  2833. "type": "integer",
  2834. "description": "每页条数",
  2835. "name": "pagesize",
  2836. "in": "query"
  2837. },
  2838. {
  2839. "type": "string",
  2840. "description": "市场ID列表,格式:1,2,3",
  2841. "name": "marketIDs",
  2842. "in": "query",
  2843. "required": true
  2844. },
  2845. {
  2846. "type": "integer",
  2847. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  2848. "name": "accountID",
  2849. "in": "query",
  2850. "required": true
  2851. },
  2852. {
  2853. "type": "integer",
  2854. "description": "类别ID",
  2855. "name": "categoryID",
  2856. "in": "query"
  2857. },
  2858. {
  2859. "type": "string",
  2860. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2861. "name": "goodsIDs",
  2862. "in": "query"
  2863. },
  2864. {
  2865. "type": "integer",
  2866. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  2867. "name": "couponTypeID",
  2868. "in": "query"
  2869. }
  2870. ],
  2871. "responses": {
  2872. "200": {
  2873. "description": "OK",
  2874. "schema": {
  2875. "$ref": "#/definitions/models.HsbyMarketGoods"
  2876. }
  2877. },
  2878. "500": {
  2879. "description": "Internal Server Error",
  2880. "schema": {
  2881. "$ref": "#/definitions/app.Response"
  2882. }
  2883. }
  2884. }
  2885. }
  2886. },
  2887. "/HSBY/QueryHsbyMarkets": {
  2888. "get": {
  2889. "security": [
  2890. {
  2891. "ApiKeyAuth": []
  2892. }
  2893. ],
  2894. "produces": [
  2895. "application/json"
  2896. ],
  2897. "tags": [
  2898. "定制【海商报业】"
  2899. ],
  2900. "summary": "查询海商报业相关市场信息",
  2901. "responses": {
  2902. "200": {
  2903. "description": "OK",
  2904. "schema": {
  2905. "$ref": "#/definitions/models.HsbyMarketInfo"
  2906. }
  2907. },
  2908. "500": {
  2909. "description": "Internal Server Error",
  2910. "schema": {
  2911. "$ref": "#/definitions/app.Response"
  2912. }
  2913. }
  2914. }
  2915. }
  2916. },
  2917. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2918. "get": {
  2919. "security": [
  2920. {
  2921. "ApiKeyAuth": []
  2922. }
  2923. ],
  2924. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2925. "produces": [
  2926. "application/json"
  2927. ],
  2928. "tags": [
  2929. "定制【海商报业】"
  2930. ],
  2931. "summary": "查询“我的订单”信息",
  2932. "parameters": [
  2933. {
  2934. "type": "string",
  2935. "description": "资金账户列表,格式:1,2,3",
  2936. "name": "accountIDs",
  2937. "in": "query",
  2938. "required": true
  2939. },
  2940. {
  2941. "type": "integer",
  2942. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2943. "name": "myBuyStatus",
  2944. "in": "query"
  2945. }
  2946. ],
  2947. "responses": {
  2948. "200": {
  2949. "description": "OK",
  2950. "schema": {
  2951. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2952. }
  2953. },
  2954. "500": {
  2955. "description": "Internal Server Error",
  2956. "schema": {
  2957. "$ref": "#/definitions/app.Response"
  2958. }
  2959. }
  2960. }
  2961. }
  2962. },
  2963. "/HSBY/QueryHsbyMyGoods": {
  2964. "get": {
  2965. "security": [
  2966. {
  2967. "ApiKeyAuth": []
  2968. }
  2969. ],
  2970. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  2971. "produces": [
  2972. "application/json"
  2973. ],
  2974. "tags": [
  2975. "定制【海商报业】"
  2976. ],
  2977. "summary": "查询“我的商品”信息",
  2978. "parameters": [
  2979. {
  2980. "type": "string",
  2981. "description": "资金账户列表,格式:1,2,3",
  2982. "name": "accountIDs",
  2983. "in": "query",
  2984. "required": true
  2985. }
  2986. ],
  2987. "responses": {
  2988. "200": {
  2989. "description": "OK",
  2990. "schema": {
  2991. "$ref": "#/definitions/models.HsbyMyGoods"
  2992. }
  2993. },
  2994. "500": {
  2995. "description": "Internal Server Error",
  2996. "schema": {
  2997. "$ref": "#/definitions/app.Response"
  2998. }
  2999. }
  3000. }
  3001. }
  3002. },
  3003. "/HSBY/QueryHsbyMyPackages": {
  3004. "get": {
  3005. "security": [
  3006. {
  3007. "ApiKeyAuth": []
  3008. }
  3009. ],
  3010. "produces": [
  3011. "application/json"
  3012. ],
  3013. "tags": [
  3014. "定制【海商报业】"
  3015. ],
  3016. "summary": "查询我的包裹信息",
  3017. "parameters": [
  3018. {
  3019. "type": "string",
  3020. "description": "资金账户列表,格式:1,2,3",
  3021. "name": "accountIDs",
  3022. "in": "query",
  3023. "required": true
  3024. },
  3025. {
  3026. "type": "integer",
  3027. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3028. "name": "takeOrderStatus",
  3029. "in": "query"
  3030. }
  3031. ],
  3032. "responses": {
  3033. "200": {
  3034. "description": "OK",
  3035. "schema": {
  3036. "$ref": "#/definitions/models.HsbyMyPackage"
  3037. }
  3038. },
  3039. "500": {
  3040. "description": "Internal Server Error",
  3041. "schema": {
  3042. "$ref": "#/definitions/app.Response"
  3043. }
  3044. }
  3045. }
  3046. }
  3047. },
  3048. "/HSBY/QueryHsbyPreGoodsDetail": {
  3049. "get": {
  3050. "security": [
  3051. {
  3052. "ApiKeyAuth": []
  3053. }
  3054. ],
  3055. "produces": [
  3056. "application/json"
  3057. ],
  3058. "tags": [
  3059. "定制【海商报业】"
  3060. ],
  3061. "summary": "查询一级市场(预售)商品信息详情",
  3062. "parameters": [
  3063. {
  3064. "type": "integer",
  3065. "description": "商品ID",
  3066. "name": "goodsID",
  3067. "in": "query",
  3068. "required": true
  3069. },
  3070. {
  3071. "type": "integer",
  3072. "description": "资金账户,主要用于获取预售商品购买上限",
  3073. "name": "accountID",
  3074. "in": "query"
  3075. }
  3076. ],
  3077. "responses": {
  3078. "200": {
  3079. "description": "OK",
  3080. "schema": {
  3081. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3082. }
  3083. },
  3084. "500": {
  3085. "description": "Internal Server Error",
  3086. "schema": {
  3087. "$ref": "#/definitions/app.Response"
  3088. }
  3089. }
  3090. }
  3091. }
  3092. },
  3093. "/HSBY/QueryHsbyPreGoodses": {
  3094. "get": {
  3095. "security": [
  3096. {
  3097. "ApiKeyAuth": []
  3098. }
  3099. ],
  3100. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  3101. "produces": [
  3102. "application/json"
  3103. ],
  3104. "tags": [
  3105. "定制【海商报业】"
  3106. ],
  3107. "summary": "查询新品上市商品列表(一级市场预售)",
  3108. "parameters": [
  3109. {
  3110. "type": "integer",
  3111. "description": "页码",
  3112. "name": "page",
  3113. "in": "query"
  3114. },
  3115. {
  3116. "type": "integer",
  3117. "description": "每页条数",
  3118. "name": "pagesize",
  3119. "in": "query"
  3120. },
  3121. {
  3122. "type": "string",
  3123. "description": "市场ID列表,格式:1,2,3",
  3124. "name": "marketIDs",
  3125. "in": "query",
  3126. "required": true
  3127. },
  3128. {
  3129. "type": "integer",
  3130. "description": "目的地(省)ID",
  3131. "name": "descProvinceID",
  3132. "in": "query"
  3133. },
  3134. {
  3135. "type": "integer",
  3136. "description": "目的地(市)ID",
  3137. "name": "descCityID",
  3138. "in": "query"
  3139. }
  3140. ],
  3141. "responses": {
  3142. "200": {
  3143. "description": "OK",
  3144. "schema": {
  3145. "$ref": "#/definitions/models.HsbyPreGoods"
  3146. }
  3147. },
  3148. "500": {
  3149. "description": "Internal Server Error",
  3150. "schema": {
  3151. "$ref": "#/definitions/app.Response"
  3152. }
  3153. }
  3154. }
  3155. }
  3156. },
  3157. "/HSBY/QueryHsbySellMyDetails": {
  3158. "get": {
  3159. "security": [
  3160. {
  3161. "ApiKeyAuth": []
  3162. }
  3163. ],
  3164. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3165. "produces": [
  3166. "application/json"
  3167. ],
  3168. "tags": [
  3169. "定制【海商报业】"
  3170. ],
  3171. "summary": "查询\"我的闲置\"单据信息",
  3172. "parameters": [
  3173. {
  3174. "type": "integer",
  3175. "description": "页码",
  3176. "name": "page",
  3177. "in": "query"
  3178. },
  3179. {
  3180. "type": "integer",
  3181. "description": "每页条数",
  3182. "name": "pagesize",
  3183. "in": "query"
  3184. },
  3185. {
  3186. "type": "string",
  3187. "description": "资金账户列表,格式:1,2,3",
  3188. "name": "accountIDs",
  3189. "in": "query",
  3190. "required": true
  3191. },
  3192. {
  3193. "type": "integer",
  3194. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3195. "name": "orderType",
  3196. "in": "query"
  3197. }
  3198. ],
  3199. "responses": {
  3200. "200": {
  3201. "description": "OK",
  3202. "schema": {
  3203. "$ref": "#/definitions/models.HsbySellMyDetail"
  3204. }
  3205. },
  3206. "500": {
  3207. "description": "Internal Server Error",
  3208. "schema": {
  3209. "$ref": "#/definitions/app.Response"
  3210. }
  3211. }
  3212. }
  3213. }
  3214. },
  3215. "/HSBY/QueryHsbyTopGoodses": {
  3216. "get": {
  3217. "security": [
  3218. {
  3219. "ApiKeyAuth": []
  3220. }
  3221. ],
  3222. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  3223. "produces": [
  3224. "application/json"
  3225. ],
  3226. "tags": [
  3227. "定制【海商报业】"
  3228. ],
  3229. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  3230. "parameters": [
  3231. {
  3232. "type": "integer",
  3233. "description": "页码",
  3234. "name": "page",
  3235. "in": "query"
  3236. },
  3237. {
  3238. "type": "integer",
  3239. "description": "每页条数",
  3240. "name": "pagesize",
  3241. "in": "query"
  3242. },
  3243. {
  3244. "type": "string",
  3245. "description": "市场ID列表,格式:1,2,3",
  3246. "name": "marketIDs",
  3247. "in": "query",
  3248. "required": true
  3249. },
  3250. {
  3251. "type": "integer",
  3252. "description": "目的地(省)ID",
  3253. "name": "descProvinceID",
  3254. "in": "query"
  3255. },
  3256. {
  3257. "type": "integer",
  3258. "description": "目的地(市)ID",
  3259. "name": "descCityID",
  3260. "in": "query"
  3261. }
  3262. ],
  3263. "responses": {
  3264. "200": {
  3265. "description": "OK",
  3266. "schema": {
  3267. "$ref": "#/definitions/models.HsbyTopGoods"
  3268. }
  3269. },
  3270. "500": {
  3271. "description": "Internal Server Error",
  3272. "schema": {
  3273. "$ref": "#/definitions/app.Response"
  3274. }
  3275. }
  3276. }
  3277. }
  3278. },
  3279. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  3280. "get": {
  3281. "security": [
  3282. {
  3283. "ApiKeyAuth": []
  3284. }
  3285. ],
  3286. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  3287. "produces": [
  3288. "application/json"
  3289. ],
  3290. "tags": [
  3291. "定制【海商报业】"
  3292. ],
  3293. "summary": "查询游客三级市场(商城)商品信息详情",
  3294. "parameters": [
  3295. {
  3296. "type": "integer",
  3297. "description": "商品ID",
  3298. "name": "goodsID",
  3299. "in": "query",
  3300. "required": true
  3301. }
  3302. ],
  3303. "responses": {
  3304. "200": {
  3305. "description": "OK",
  3306. "schema": {
  3307. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3308. }
  3309. },
  3310. "500": {
  3311. "description": "Internal Server Error",
  3312. "schema": {
  3313. "$ref": "#/definitions/app.Response"
  3314. }
  3315. }
  3316. }
  3317. }
  3318. },
  3319. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  3320. "get": {
  3321. "security": [
  3322. {
  3323. "ApiKeyAuth": []
  3324. }
  3325. ],
  3326. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  3327. "produces": [
  3328. "application/json"
  3329. ],
  3330. "tags": [
  3331. "定制【海商报业】"
  3332. ],
  3333. "summary": "查询游客特卖商品列表(三级商城)",
  3334. "parameters": [
  3335. {
  3336. "type": "integer",
  3337. "description": "页码",
  3338. "name": "page",
  3339. "in": "query"
  3340. },
  3341. {
  3342. "type": "integer",
  3343. "description": "每页条数",
  3344. "name": "pagesize",
  3345. "in": "query"
  3346. },
  3347. {
  3348. "type": "string",
  3349. "description": "市场ID列表,格式:1,2,3",
  3350. "name": "marketIDs",
  3351. "in": "query",
  3352. "required": true
  3353. },
  3354. {
  3355. "type": "integer",
  3356. "description": "类别ID",
  3357. "name": "categoryID",
  3358. "in": "query"
  3359. },
  3360. {
  3361. "type": "string",
  3362. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3363. "name": "goodsIDs",
  3364. "in": "query"
  3365. }
  3366. ],
  3367. "responses": {
  3368. "200": {
  3369. "description": "OK",
  3370. "schema": {
  3371. "$ref": "#/definitions/models.HsbyMarketGoods"
  3372. }
  3373. },
  3374. "500": {
  3375. "description": "Internal Server Error",
  3376. "schema": {
  3377. "$ref": "#/definitions/app.Response"
  3378. }
  3379. }
  3380. }
  3381. }
  3382. },
  3383. "/HSBY/QueryMyCollectionOrders": {
  3384. "get": {
  3385. "security": [
  3386. {
  3387. "ApiKeyAuth": []
  3388. }
  3389. ],
  3390. "produces": [
  3391. "application/json"
  3392. ],
  3393. "tags": [
  3394. "定制【海商报业】"
  3395. ],
  3396. "summary": "我的闲置中收款信息查询",
  3397. "parameters": [
  3398. {
  3399. "type": "integer",
  3400. "description": "页码",
  3401. "name": "page",
  3402. "in": "query"
  3403. },
  3404. {
  3405. "type": "integer",
  3406. "description": "每页条数",
  3407. "name": "pagesize",
  3408. "in": "query"
  3409. },
  3410. {
  3411. "type": "string",
  3412. "description": "资金账户,格式:1,2,3",
  3413. "name": "accountIDs",
  3414. "in": "query",
  3415. "required": true
  3416. }
  3417. ],
  3418. "responses": {
  3419. "200": {
  3420. "description": "OK",
  3421. "schema": {
  3422. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  3423. }
  3424. },
  3425. "500": {
  3426. "description": "Internal Server Error",
  3427. "schema": {
  3428. "$ref": "#/definitions/app.Response"
  3429. }
  3430. }
  3431. }
  3432. }
  3433. },
  3434. "/HSBY/QueryMyCouponHolds": {
  3435. "get": {
  3436. "security": [
  3437. {
  3438. "ApiKeyAuth": []
  3439. }
  3440. ],
  3441. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  3442. "produces": [
  3443. "application/json"
  3444. ],
  3445. "tags": [
  3446. "定制【海商报业】"
  3447. ],
  3448. "summary": "我的优惠卷持仓查询",
  3449. "parameters": [
  3450. {
  3451. "type": "string",
  3452. "description": "资金账户列表,格式:1,2,3",
  3453. "name": "accountIDs",
  3454. "in": "query",
  3455. "required": true
  3456. },
  3457. {
  3458. "type": "string",
  3459. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  3460. "name": "holdStatus",
  3461. "in": "query"
  3462. }
  3463. ],
  3464. "responses": {
  3465. "200": {
  3466. "description": "OK",
  3467. "schema": {
  3468. "$ref": "#/definitions/models.MyCouponHold"
  3469. }
  3470. },
  3471. "500": {
  3472. "description": "Internal Server Error",
  3473. "schema": {
  3474. "$ref": "#/definitions/app.Response"
  3475. }
  3476. }
  3477. }
  3478. }
  3479. },
  3480. "/HSBY/QueryMyCoupons": {
  3481. "get": {
  3482. "security": [
  3483. {
  3484. "ApiKeyAuth": []
  3485. }
  3486. ],
  3487. "produces": [
  3488. "application/json"
  3489. ],
  3490. "tags": [
  3491. "定制【海商报业】"
  3492. ],
  3493. "summary": "我的优惠卷查询",
  3494. "parameters": [
  3495. {
  3496. "type": "string",
  3497. "description": "资金账户列表,格式:1,2,3",
  3498. "name": "accountIDs",
  3499. "in": "query",
  3500. "required": true
  3501. },
  3502. {
  3503. "type": "integer",
  3504. "description": "商品ID, 一般与sellUserID配套传入",
  3505. "name": "goodsID",
  3506. "in": "query"
  3507. },
  3508. {
  3509. "type": "integer",
  3510. "description": "卖方UserID",
  3511. "name": "sellUserID",
  3512. "in": "query"
  3513. }
  3514. ],
  3515. "responses": {
  3516. "200": {
  3517. "description": "OK",
  3518. "schema": {
  3519. "$ref": "#/definitions/models.MyCoupon"
  3520. }
  3521. },
  3522. "500": {
  3523. "description": "Internal Server Error",
  3524. "schema": {
  3525. "$ref": "#/definitions/app.Response"
  3526. }
  3527. }
  3528. }
  3529. }
  3530. },
  3531. "/HSBY/QueryMyPayOrders": {
  3532. "get": {
  3533. "security": [
  3534. {
  3535. "ApiKeyAuth": []
  3536. }
  3537. ],
  3538. "produces": [
  3539. "application/json"
  3540. ],
  3541. "tags": [
  3542. "定制【海商报业】"
  3543. ],
  3544. "summary": "获取我的订单中待付款信息",
  3545. "parameters": [
  3546. {
  3547. "type": "integer",
  3548. "description": "页码",
  3549. "name": "page",
  3550. "in": "query"
  3551. },
  3552. {
  3553. "type": "integer",
  3554. "description": "每页条数",
  3555. "name": "pagesize",
  3556. "in": "query"
  3557. },
  3558. {
  3559. "type": "string",
  3560. "description": "资金账户列表,格式:1,2,3",
  3561. "name": "accountIDs",
  3562. "in": "query",
  3563. "required": true
  3564. },
  3565. {
  3566. "type": "integer",
  3567. "description": "买方委托单号",
  3568. "name": "buyOrderID",
  3569. "in": "query"
  3570. },
  3571. {
  3572. "type": "integer",
  3573. "description": "卖方委托单号",
  3574. "name": "sellOrderID",
  3575. "in": "query"
  3576. }
  3577. ],
  3578. "responses": {
  3579. "200": {
  3580. "description": "OK",
  3581. "schema": {
  3582. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  3583. }
  3584. },
  3585. "500": {
  3586. "description": "Internal Server Error",
  3587. "schema": {
  3588. "$ref": "#/definitions/app.Response"
  3589. }
  3590. }
  3591. }
  3592. }
  3593. },
  3594. "/HSBY/QueryMyUsedCoupon": {
  3595. "get": {
  3596. "security": [
  3597. {
  3598. "ApiKeyAuth": []
  3599. }
  3600. ],
  3601. "produces": [
  3602. "application/json"
  3603. ],
  3604. "tags": [
  3605. "定制【海商报业】"
  3606. ],
  3607. "summary": "已使用优惠卷查询",
  3608. "parameters": [
  3609. {
  3610. "type": "string",
  3611. "description": "资金账户列表,格式:1,2,3",
  3612. "name": "accountIDs",
  3613. "in": "query",
  3614. "required": true
  3615. }
  3616. ],
  3617. "responses": {
  3618. "200": {
  3619. "description": "OK",
  3620. "schema": {
  3621. "$ref": "#/definitions/models.MyUsedCoupon"
  3622. }
  3623. },
  3624. "500": {
  3625. "description": "Internal Server Error",
  3626. "schema": {
  3627. "$ref": "#/definitions/app.Response"
  3628. }
  3629. }
  3630. }
  3631. }
  3632. },
  3633. "/HSBY/QueryProvincesAndCities": {
  3634. "get": {
  3635. "security": [
  3636. {
  3637. "ApiKeyAuth": []
  3638. }
  3639. ],
  3640. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  3641. "produces": [
  3642. "application/json"
  3643. ],
  3644. "tags": [
  3645. "定制【海商报业】"
  3646. ],
  3647. "summary": "查询省市信息(不包括区)",
  3648. "parameters": [
  3649. {
  3650. "type": "integer",
  3651. "description": "省ID",
  3652. "name": "provinceID",
  3653. "in": "query"
  3654. }
  3655. ],
  3656. "responses": {
  3657. "200": {
  3658. "description": "OK",
  3659. "schema": {
  3660. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  3661. }
  3662. },
  3663. "500": {
  3664. "description": "Internal Server Error",
  3665. "schema": {
  3666. "$ref": "#/definitions/app.Response"
  3667. }
  3668. }
  3669. }
  3670. }
  3671. },
  3672. "/HSBY/SetHsbyMyPackagesStatus": {
  3673. "post": {
  3674. "security": [
  3675. {
  3676. "ApiKeyAuth": []
  3677. }
  3678. ],
  3679. "produces": [
  3680. "application/json"
  3681. ],
  3682. "tags": [
  3683. "定制【海商报业】"
  3684. ],
  3685. "summary": "设置我的包裹已收货状态",
  3686. "parameters": [
  3687. {
  3688. "type": "string",
  3689. "description": "提货单号",
  3690. "name": "takeOrderID",
  3691. "in": "query",
  3692. "required": true
  3693. },
  3694. {
  3695. "type": "integer",
  3696. "description": "资金账号",
  3697. "name": "accountID",
  3698. "in": "query",
  3699. "required": true
  3700. }
  3701. ],
  3702. "responses": {
  3703. "200": {
  3704. "description": "OK",
  3705. "schema": {
  3706. "$ref": "#/definitions/app.Response"
  3707. }
  3708. },
  3709. "500": {
  3710. "description": "Internal Server Error",
  3711. "schema": {
  3712. "$ref": "#/definitions/app.Response"
  3713. }
  3714. }
  3715. }
  3716. }
  3717. },
  3718. "/Market/QueryGoodsesByLoginID": {
  3719. "get": {
  3720. "security": [
  3721. {
  3722. "ApiKeyAuth": []
  3723. }
  3724. ],
  3725. "produces": [
  3726. "application/json"
  3727. ],
  3728. "tags": [
  3729. "通用市场"
  3730. ],
  3731. "summary": "获取登录账号有权限的商品信息",
  3732. "parameters": [
  3733. {
  3734. "type": "integer",
  3735. "description": "登录账号",
  3736. "name": "loginID",
  3737. "in": "query",
  3738. "required": true
  3739. },
  3740. {
  3741. "type": "string",
  3742. "description": "市场ID列表,格式:1,2,3",
  3743. "name": "marketIDs",
  3744. "in": "query"
  3745. }
  3746. ],
  3747. "responses": {
  3748. "200": {
  3749. "description": "OK",
  3750. "schema": {
  3751. "$ref": "#/definitions/models.Goods"
  3752. }
  3753. },
  3754. "500": {
  3755. "description": "Internal Server Error",
  3756. "schema": {
  3757. "$ref": "#/definitions/app.Response"
  3758. }
  3759. }
  3760. }
  3761. }
  3762. },
  3763. "/Market/QueryMarketRun": {
  3764. "get": {
  3765. "security": [
  3766. {
  3767. "ApiKeyAuth": []
  3768. }
  3769. ],
  3770. "produces": [
  3771. "application/json"
  3772. ],
  3773. "tags": [
  3774. "通用市场"
  3775. ],
  3776. "summary": "查询市场运行信息",
  3777. "parameters": [
  3778. {
  3779. "type": "integer",
  3780. "description": "市场ID,不传返回所有",
  3781. "name": "marketID",
  3782. "in": "query"
  3783. }
  3784. ],
  3785. "responses": {
  3786. "200": {
  3787. "description": "OK",
  3788. "schema": {
  3789. "$ref": "#/definitions/models.Marketrun"
  3790. }
  3791. },
  3792. "500": {
  3793. "description": "Internal Server Error",
  3794. "schema": {
  3795. "$ref": "#/definitions/app.Response"
  3796. }
  3797. }
  3798. }
  3799. }
  3800. },
  3801. "/Market/QueryMarketsByLoginID": {
  3802. "get": {
  3803. "security": [
  3804. {
  3805. "ApiKeyAuth": []
  3806. }
  3807. ],
  3808. "produces": [
  3809. "application/json"
  3810. ],
  3811. "tags": [
  3812. "通用市场"
  3813. ],
  3814. "summary": "获取登录账号有权限的市场信息",
  3815. "parameters": [
  3816. {
  3817. "type": "integer",
  3818. "description": "登录账号",
  3819. "name": "loginID",
  3820. "in": "query",
  3821. "required": true
  3822. }
  3823. ],
  3824. "responses": {
  3825. "200": {
  3826. "description": "OK",
  3827. "schema": {
  3828. "$ref": "#/definitions/models.Market"
  3829. }
  3830. },
  3831. "500": {
  3832. "description": "Internal Server Error",
  3833. "schema": {
  3834. "$ref": "#/definitions/app.Response"
  3835. }
  3836. }
  3837. }
  3838. }
  3839. },
  3840. "/Order/QueryHisTradeDetail": {
  3841. "get": {
  3842. "security": [
  3843. {
  3844. "ApiKeyAuth": []
  3845. }
  3846. ],
  3847. "produces": [
  3848. "application/json"
  3849. ],
  3850. "tags": [
  3851. "通用单据"
  3852. ],
  3853. "summary": "历史成交单查询(合约市场)",
  3854. "parameters": [
  3855. {
  3856. "type": "string",
  3857. "description": "资金账户 - 格式:1,2,3",
  3858. "name": "accountID",
  3859. "in": "query",
  3860. "required": true
  3861. },
  3862. {
  3863. "type": "integer",
  3864. "description": "成交单号",
  3865. "name": "tradeID",
  3866. "in": "query"
  3867. },
  3868. {
  3869. "type": "integer",
  3870. "description": "委托单号",
  3871. "name": "orderID",
  3872. "in": "query"
  3873. },
  3874. {
  3875. "type": "string",
  3876. "description": "交易模式 - 格式:1,2,3",
  3877. "name": "tradeMode",
  3878. "in": "query"
  3879. },
  3880. {
  3881. "type": "integer",
  3882. "description": "委托单据类型",
  3883. "name": "buildType",
  3884. "in": "query"
  3885. },
  3886. {
  3887. "type": "string",
  3888. "description": "成交类别 - 格式:1,2,3",
  3889. "name": "tradeType",
  3890. "in": "query"
  3891. },
  3892. {
  3893. "type": "string",
  3894. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3895. "name": "startDate",
  3896. "in": "query"
  3897. },
  3898. {
  3899. "type": "string",
  3900. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3901. "name": "endDate",
  3902. "in": "query"
  3903. }
  3904. ],
  3905. "responses": {
  3906. "200": {
  3907. "description": "OK",
  3908. "schema": {
  3909. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  3910. }
  3911. },
  3912. "500": {
  3913. "description": "Internal Server Error",
  3914. "schema": {
  3915. "$ref": "#/definitions/app.Response"
  3916. }
  3917. }
  3918. }
  3919. }
  3920. },
  3921. "/Order/QueryHisTradeOrderDetail": {
  3922. "get": {
  3923. "security": [
  3924. {
  3925. "ApiKeyAuth": []
  3926. }
  3927. ],
  3928. "produces": [
  3929. "application/json"
  3930. ],
  3931. "tags": [
  3932. "通用单据"
  3933. ],
  3934. "summary": "历史委托单查询请求(合约市场)",
  3935. "parameters": [
  3936. {
  3937. "type": "string",
  3938. "description": "资金账户 - 格式:1,2,3",
  3939. "name": "accountID",
  3940. "in": "query",
  3941. "required": true
  3942. },
  3943. {
  3944. "type": "string",
  3945. "description": "交易模式 - 格式:1,2,3",
  3946. "name": "tradeMode",
  3947. "in": "query"
  3948. },
  3949. {
  3950. "type": "string",
  3951. "description": "委托状态 - 格式:1,2,3",
  3952. "name": "orderStatus",
  3953. "in": "query"
  3954. },
  3955. {
  3956. "type": "integer",
  3957. "description": "委托单号",
  3958. "name": "orderID",
  3959. "in": "query"
  3960. },
  3961. {
  3962. "type": "string",
  3963. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3964. "name": "startDate",
  3965. "in": "query"
  3966. },
  3967. {
  3968. "type": "string",
  3969. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3970. "name": "endDate",
  3971. "in": "query"
  3972. }
  3973. ],
  3974. "responses": {
  3975. "200": {
  3976. "description": "OK",
  3977. "schema": {
  3978. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  3979. }
  3980. },
  3981. "500": {
  3982. "description": "Internal Server Error",
  3983. "schema": {
  3984. "$ref": "#/definitions/app.Response"
  3985. }
  3986. }
  3987. }
  3988. }
  3989. },
  3990. "/Order/QueryTradeDetail": {
  3991. "get": {
  3992. "security": [
  3993. {
  3994. "ApiKeyAuth": []
  3995. }
  3996. ],
  3997. "produces": [
  3998. "application/json"
  3999. ],
  4000. "tags": [
  4001. "通用单据"
  4002. ],
  4003. "summary": "成交单查询(合约市场)",
  4004. "parameters": [
  4005. {
  4006. "type": "string",
  4007. "description": "资金账户 - 格式:1,2,3",
  4008. "name": "accountID",
  4009. "in": "query",
  4010. "required": true
  4011. },
  4012. {
  4013. "type": "integer",
  4014. "description": "成交单号",
  4015. "name": "tradeID",
  4016. "in": "query"
  4017. },
  4018. {
  4019. "type": "integer",
  4020. "description": "委托单号",
  4021. "name": "orderID",
  4022. "in": "query"
  4023. },
  4024. {
  4025. "type": "string",
  4026. "description": "交易模式 - 格式:1,2,3",
  4027. "name": "tradeMode",
  4028. "in": "query"
  4029. },
  4030. {
  4031. "type": "integer",
  4032. "description": "委托单据类型",
  4033. "name": "buildType",
  4034. "in": "query"
  4035. },
  4036. {
  4037. "type": "string",
  4038. "description": "成交类别 - 格式:1,2,3",
  4039. "name": "tradeType",
  4040. "in": "query"
  4041. }
  4042. ],
  4043. "responses": {
  4044. "200": {
  4045. "description": "OK",
  4046. "schema": {
  4047. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4048. }
  4049. },
  4050. "500": {
  4051. "description": "Internal Server Error",
  4052. "schema": {
  4053. "$ref": "#/definitions/app.Response"
  4054. }
  4055. }
  4056. }
  4057. }
  4058. },
  4059. "/Order/QueryTradeOrderDetail": {
  4060. "get": {
  4061. "security": [
  4062. {
  4063. "ApiKeyAuth": []
  4064. }
  4065. ],
  4066. "produces": [
  4067. "application/json"
  4068. ],
  4069. "tags": [
  4070. "通用单据"
  4071. ],
  4072. "summary": "委托单查询请求(合约市场)",
  4073. "parameters": [
  4074. {
  4075. "type": "string",
  4076. "description": "资金账户 - 格式:1,2,3",
  4077. "name": "accountID",
  4078. "in": "query",
  4079. "required": true
  4080. },
  4081. {
  4082. "type": "string",
  4083. "description": "交易模式 - 格式:1,2,3",
  4084. "name": "tradeMode",
  4085. "in": "query"
  4086. },
  4087. {
  4088. "type": "string",
  4089. "description": "委托状态 - 格式:1,2,3",
  4090. "name": "orderStatus",
  4091. "in": "query"
  4092. },
  4093. {
  4094. "type": "integer",
  4095. "description": "委托单号",
  4096. "name": "orderID",
  4097. "in": "query"
  4098. }
  4099. ],
  4100. "responses": {
  4101. "200": {
  4102. "description": "OK",
  4103. "schema": {
  4104. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  4105. }
  4106. },
  4107. "500": {
  4108. "description": "Internal Server Error",
  4109. "schema": {
  4110. "$ref": "#/definitions/app.Response"
  4111. }
  4112. }
  4113. }
  4114. }
  4115. },
  4116. "/Order/QueryTradePosition": {
  4117. "get": {
  4118. "security": [
  4119. {
  4120. "ApiKeyAuth": []
  4121. }
  4122. ],
  4123. "produces": [
  4124. "application/json"
  4125. ],
  4126. "tags": [
  4127. "通用单据"
  4128. ],
  4129. "summary": "持仓汇总查询(合约市场)",
  4130. "parameters": [
  4131. {
  4132. "type": "string",
  4133. "description": "资金账户 - 格式:1,2,3",
  4134. "name": "accountID",
  4135. "in": "query",
  4136. "required": true
  4137. },
  4138. {
  4139. "type": "string",
  4140. "description": "交易模式 - 格式:1,2,3",
  4141. "name": "tradeMode",
  4142. "in": "query"
  4143. }
  4144. ],
  4145. "responses": {
  4146. "200": {
  4147. "description": "OK",
  4148. "schema": {
  4149. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4150. }
  4151. },
  4152. "500": {
  4153. "description": "Internal Server Error",
  4154. "schema": {
  4155. "$ref": "#/definitions/app.Response"
  4156. }
  4157. }
  4158. }
  4159. }
  4160. },
  4161. "/Quote/QueryHistoryDatas": {
  4162. "get": {
  4163. "security": [
  4164. {
  4165. "ApiKeyAuth": []
  4166. }
  4167. ],
  4168. "produces": [
  4169. "application/json"
  4170. ],
  4171. "tags": [
  4172. "行情服务"
  4173. ],
  4174. "summary": "查询行情历史数据",
  4175. "parameters": [
  4176. {
  4177. "type": "integer",
  4178. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  4179. "name": "cycleType",
  4180. "in": "query",
  4181. "required": true
  4182. },
  4183. {
  4184. "type": "string",
  4185. "description": "商品代码",
  4186. "name": "goodsCode",
  4187. "in": "query",
  4188. "required": true
  4189. },
  4190. {
  4191. "type": "string",
  4192. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4193. "name": "startTime",
  4194. "in": "query"
  4195. },
  4196. {
  4197. "type": "string",
  4198. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4199. "name": "endTime",
  4200. "in": "query"
  4201. },
  4202. {
  4203. "type": "integer",
  4204. "description": "条数",
  4205. "name": "count",
  4206. "in": "query"
  4207. },
  4208. {
  4209. "type": "boolean",
  4210. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4211. "name": "isAsc",
  4212. "in": "query"
  4213. }
  4214. ],
  4215. "responses": {
  4216. "200": {
  4217. "description": "OK",
  4218. "schema": {
  4219. "$ref": "#/definitions/quote.HistoryData"
  4220. }
  4221. },
  4222. "500": {
  4223. "description": "Internal Server Error",
  4224. "schema": {
  4225. "$ref": "#/definitions/app.Response"
  4226. }
  4227. }
  4228. }
  4229. }
  4230. },
  4231. "/Quote/QueryTSData": {
  4232. "get": {
  4233. "produces": [
  4234. "application/json"
  4235. ],
  4236. "tags": [
  4237. "行情服务"
  4238. ],
  4239. "summary": "分时图数据查询",
  4240. "parameters": [
  4241. {
  4242. "type": "string",
  4243. "description": "商品代码",
  4244. "name": "GoodsCode",
  4245. "in": "query",
  4246. "required": true
  4247. }
  4248. ],
  4249. "responses": {
  4250. "200": {
  4251. "description": "OK",
  4252. "schema": {
  4253. "$ref": "#/definitions/quote.QueryTSDataRsp"
  4254. }
  4255. },
  4256. "500": {
  4257. "description": "Internal Server Error",
  4258. "schema": {
  4259. "$ref": "#/definitions/app.Response"
  4260. }
  4261. }
  4262. }
  4263. }
  4264. },
  4265. "/SZDZ/QueryConvertConfig": {
  4266. "get": {
  4267. "security": [
  4268. {
  4269. "ApiKeyAuth": []
  4270. }
  4271. ],
  4272. "produces": [
  4273. "application/json"
  4274. ],
  4275. "tags": [
  4276. "定制【尚志大宗】"
  4277. ],
  4278. "summary": "查询交易系统转换设置",
  4279. "parameters": [
  4280. {
  4281. "type": "integer",
  4282. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  4283. "name": "convertType",
  4284. "in": "query"
  4285. },
  4286. {
  4287. "type": "string",
  4288. "description": "外部商品代码[JD\\PD]",
  4289. "name": "outerGoodsCode",
  4290. "in": "query"
  4291. },
  4292. {
  4293. "type": "string",
  4294. "description": "内部商品ID列表[交易],格式:1,2,3",
  4295. "name": "innerGoodsIDs",
  4296. "in": "query"
  4297. }
  4298. ],
  4299. "responses": {
  4300. "200": {
  4301. "description": "OK",
  4302. "schema": {
  4303. "$ref": "#/definitions/models.Szdz3convertconfig"
  4304. }
  4305. },
  4306. "500": {
  4307. "description": "Internal Server Error",
  4308. "schema": {
  4309. "$ref": "#/definitions/app.Response"
  4310. }
  4311. }
  4312. }
  4313. }
  4314. },
  4315. "/SZDZ/QueryConvertLog": {
  4316. "get": {
  4317. "security": [
  4318. {
  4319. "ApiKeyAuth": []
  4320. }
  4321. ],
  4322. "produces": [
  4323. "application/json"
  4324. ],
  4325. "tags": [
  4326. "定制【尚志大宗】"
  4327. ],
  4328. "summary": "交易系统转换流水查询",
  4329. "parameters": [
  4330. {
  4331. "type": "string",
  4332. "description": "资金账户 - 格式:1,2,3",
  4333. "name": "accountID",
  4334. "in": "query",
  4335. "required": true
  4336. },
  4337. {
  4338. "type": "string",
  4339. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4340. "name": "startDate",
  4341. "in": "query"
  4342. },
  4343. {
  4344. "type": "string",
  4345. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4346. "name": "endDate",
  4347. "in": "query"
  4348. }
  4349. ],
  4350. "responses": {
  4351. "200": {
  4352. "description": "OK",
  4353. "schema": {
  4354. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  4355. }
  4356. },
  4357. "500": {
  4358. "description": "Internal Server Error",
  4359. "schema": {
  4360. "$ref": "#/definitions/app.Response"
  4361. }
  4362. }
  4363. }
  4364. }
  4365. },
  4366. "/SZDZ/QueryGoodsPickup": {
  4367. "get": {
  4368. "security": [
  4369. {
  4370. "ApiKeyAuth": []
  4371. }
  4372. ],
  4373. "produces": [
  4374. "application/json"
  4375. ],
  4376. "tags": [
  4377. "定制【尚志大宗】"
  4378. ],
  4379. "summary": "商品提货单查询",
  4380. "parameters": [
  4381. {
  4382. "type": "string",
  4383. "description": "资金账户 - 格式:1,2,3",
  4384. "name": "accountID",
  4385. "in": "query",
  4386. "required": true
  4387. },
  4388. {
  4389. "type": "integer",
  4390. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4391. "name": "takeOrderStatus",
  4392. "in": "query"
  4393. }
  4394. ],
  4395. "responses": {
  4396. "200": {
  4397. "description": "OK",
  4398. "schema": {
  4399. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  4400. }
  4401. },
  4402. "500": {
  4403. "description": "Internal Server Error",
  4404. "schema": {
  4405. "$ref": "#/definitions/app.Response"
  4406. }
  4407. }
  4408. }
  4409. }
  4410. },
  4411. "/SZDZ/QueryRecieptOrder": {
  4412. "get": {
  4413. "security": [
  4414. {
  4415. "ApiKeyAuth": []
  4416. }
  4417. ],
  4418. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4419. "produces": [
  4420. "application/json"
  4421. ],
  4422. "tags": [
  4423. "定制【尚志大宗】"
  4424. ],
  4425. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  4426. "parameters": [
  4427. {
  4428. "type": "integer",
  4429. "description": "页码",
  4430. "name": "page",
  4431. "in": "query"
  4432. },
  4433. {
  4434. "type": "integer",
  4435. "description": "每页条数",
  4436. "name": "pagesize",
  4437. "in": "query"
  4438. },
  4439. {
  4440. "type": "integer",
  4441. "description": "商品ID",
  4442. "name": "goodsID",
  4443. "in": "query",
  4444. "required": true
  4445. },
  4446. {
  4447. "type": "string",
  4448. "description": "所属账户名称",
  4449. "name": "accountName",
  4450. "in": "query"
  4451. },
  4452. {
  4453. "type": "integer",
  4454. "description": "市场ID",
  4455. "name": "marketID",
  4456. "in": "query"
  4457. },
  4458. {
  4459. "type": "integer",
  4460. "description": "方向 - 0:买 1:卖",
  4461. "name": "buyorsell",
  4462. "in": "query",
  4463. "required": true
  4464. }
  4465. ],
  4466. "responses": {
  4467. "200": {
  4468. "description": "OK",
  4469. "schema": {
  4470. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  4471. }
  4472. },
  4473. "500": {
  4474. "description": "Internal Server Error",
  4475. "schema": {
  4476. "$ref": "#/definitions/app.Response"
  4477. }
  4478. }
  4479. }
  4480. }
  4481. },
  4482. "/SZDZ/QuerySZDZTradePosition": {
  4483. "get": {
  4484. "security": [
  4485. {
  4486. "ApiKeyAuth": []
  4487. }
  4488. ],
  4489. "produces": [
  4490. "application/json"
  4491. ],
  4492. "tags": [
  4493. "定制【尚志大宗】"
  4494. ],
  4495. "summary": "持仓汇总查询(尚志大宗)",
  4496. "parameters": [
  4497. {
  4498. "type": "integer",
  4499. "description": "资金账户",
  4500. "name": "accountID",
  4501. "in": "query",
  4502. "required": true
  4503. }
  4504. ],
  4505. "responses": {
  4506. "200": {
  4507. "description": "OK",
  4508. "schema": {
  4509. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  4510. }
  4511. },
  4512. "500": {
  4513. "description": "Internal Server Error",
  4514. "schema": {
  4515. "$ref": "#/definitions/app.Response"
  4516. }
  4517. }
  4518. }
  4519. }
  4520. },
  4521. "/SZDZ/SearchWhite": {
  4522. "get": {
  4523. "security": [
  4524. {
  4525. "ApiKeyAuth": []
  4526. }
  4527. ],
  4528. "produces": [
  4529. "application/json"
  4530. ],
  4531. "tags": [
  4532. "定制【尚志大宗】"
  4533. ],
  4534. "summary": "搜索白名单",
  4535. "parameters": [
  4536. {
  4537. "type": "integer",
  4538. "description": "用户ID",
  4539. "name": "userID",
  4540. "in": "query",
  4541. "required": true
  4542. }
  4543. ],
  4544. "responses": {
  4545. "200": {
  4546. "description": "OK",
  4547. "schema": {
  4548. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  4549. }
  4550. },
  4551. "500": {
  4552. "description": "Internal Server Error",
  4553. "schema": {
  4554. "$ref": "#/definitions/app.Response"
  4555. }
  4556. }
  4557. }
  4558. }
  4559. },
  4560. "/Search/SearchGoodses": {
  4561. "get": {
  4562. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  4563. "produces": [
  4564. "application/json"
  4565. ],
  4566. "tags": [
  4567. "检索服务"
  4568. ],
  4569. "summary": "检索商品信息",
  4570. "parameters": [
  4571. {
  4572. "type": "string",
  4573. "description": "检索内容",
  4574. "name": "content",
  4575. "in": "query",
  4576. "required": true
  4577. },
  4578. {
  4579. "type": "string",
  4580. "description": "交易模式,格式:1,2,3",
  4581. "name": "tradeModes",
  4582. "in": "query"
  4583. }
  4584. ],
  4585. "responses": {
  4586. "200": {
  4587. "description": "OK",
  4588. "schema": {
  4589. "$ref": "#/definitions/models.SearchGoods"
  4590. }
  4591. },
  4592. "500": {
  4593. "description": "Internal Server Error",
  4594. "schema": {
  4595. "$ref": "#/definitions/app.Response"
  4596. }
  4597. }
  4598. }
  4599. }
  4600. },
  4601. "/TaAccount/QueryAmountLog": {
  4602. "get": {
  4603. "security": [
  4604. {
  4605. "ApiKeyAuth": []
  4606. }
  4607. ],
  4608. "produces": [
  4609. "application/json"
  4610. ],
  4611. "tags": [
  4612. "资金账户"
  4613. ],
  4614. "summary": "资金流水查询(当前)",
  4615. "parameters": [
  4616. {
  4617. "type": "integer",
  4618. "description": "页码",
  4619. "name": "page",
  4620. "in": "query"
  4621. },
  4622. {
  4623. "type": "integer",
  4624. "description": "每页条数",
  4625. "name": "pagesize",
  4626. "in": "query"
  4627. },
  4628. {
  4629. "type": "string",
  4630. "description": "资金账户 - 格式:1,2,3",
  4631. "name": "accountID",
  4632. "in": "query",
  4633. "required": true
  4634. },
  4635. {
  4636. "type": "string",
  4637. "description": "资金操作类型 - 格式:1,2,3",
  4638. "name": "OperateType",
  4639. "in": "query"
  4640. }
  4641. ],
  4642. "responses": {
  4643. "200": {
  4644. "description": "OK",
  4645. "schema": {
  4646. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  4647. }
  4648. },
  4649. "500": {
  4650. "description": "Internal Server Error",
  4651. "schema": {
  4652. "$ref": "#/definitions/app.Response"
  4653. }
  4654. }
  4655. }
  4656. }
  4657. },
  4658. "/TaAccount/QueryHisAmountLog": {
  4659. "get": {
  4660. "security": [
  4661. {
  4662. "ApiKeyAuth": []
  4663. }
  4664. ],
  4665. "produces": [
  4666. "application/json"
  4667. ],
  4668. "tags": [
  4669. "资金账户"
  4670. ],
  4671. "summary": "资金流水查询(历史)",
  4672. "parameters": [
  4673. {
  4674. "type": "integer",
  4675. "description": "页码",
  4676. "name": "page",
  4677. "in": "query"
  4678. },
  4679. {
  4680. "type": "integer",
  4681. "description": "每页条数",
  4682. "name": "pagesize",
  4683. "in": "query"
  4684. },
  4685. {
  4686. "type": "string",
  4687. "description": "资金账户 - 格式:1,2,3",
  4688. "name": "accountID",
  4689. "in": "query",
  4690. "required": true
  4691. },
  4692. {
  4693. "type": "string",
  4694. "description": "资金操作类型 - 格式:1,2,3",
  4695. "name": "OperateType",
  4696. "in": "query"
  4697. },
  4698. {
  4699. "type": "string",
  4700. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4701. "name": "startDate",
  4702. "in": "query"
  4703. },
  4704. {
  4705. "type": "string",
  4706. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4707. "name": "endDate",
  4708. "in": "query"
  4709. }
  4710. ],
  4711. "responses": {
  4712. "200": {
  4713. "description": "OK",
  4714. "schema": {
  4715. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  4716. }
  4717. },
  4718. "500": {
  4719. "description": "Internal Server Error",
  4720. "schema": {
  4721. "$ref": "#/definitions/app.Response"
  4722. }
  4723. }
  4724. }
  4725. }
  4726. },
  4727. "/Trade/QueryRecieptOrder": {
  4728. "get": {
  4729. "security": [
  4730. {
  4731. "ApiKeyAuth": []
  4732. }
  4733. ],
  4734. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4735. "produces": [
  4736. "application/json"
  4737. ],
  4738. "tags": [
  4739. "通用交易"
  4740. ],
  4741. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  4742. "parameters": [
  4743. {
  4744. "type": "integer",
  4745. "description": "页码",
  4746. "name": "page",
  4747. "in": "query"
  4748. },
  4749. {
  4750. "type": "integer",
  4751. "description": "每页条数",
  4752. "name": "pagesize",
  4753. "in": "query"
  4754. },
  4755. {
  4756. "type": "integer",
  4757. "description": "商品ID",
  4758. "name": "goodsID",
  4759. "in": "query",
  4760. "required": true
  4761. },
  4762. {
  4763. "type": "string",
  4764. "description": "所属账户名称",
  4765. "name": "accountName",
  4766. "in": "query"
  4767. },
  4768. {
  4769. "type": "integer",
  4770. "description": "市场ID",
  4771. "name": "marketID",
  4772. "in": "query"
  4773. },
  4774. {
  4775. "type": "integer",
  4776. "description": "方向 - 0:买 1:卖",
  4777. "name": "buyorsell",
  4778. "in": "query",
  4779. "required": true
  4780. }
  4781. ],
  4782. "responses": {
  4783. "200": {
  4784. "description": "OK",
  4785. "schema": {
  4786. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  4787. }
  4788. },
  4789. "500": {
  4790. "description": "Internal Server Error",
  4791. "schema": {
  4792. "$ref": "#/definitions/app.Response"
  4793. }
  4794. }
  4795. }
  4796. }
  4797. },
  4798. "/User/AddMessageBoard": {
  4799. "post": {
  4800. "security": [
  4801. {
  4802. "ApiKeyAuth": []
  4803. }
  4804. ],
  4805. "produces": [
  4806. "application/json"
  4807. ],
  4808. "tags": [
  4809. "用户信息"
  4810. ],
  4811. "summary": "添加用户留言板信息",
  4812. "parameters": [
  4813. {
  4814. "type": "integer",
  4815. "description": "用户ID",
  4816. "name": "userID",
  4817. "in": "query",
  4818. "required": true
  4819. },
  4820. {
  4821. "type": "string",
  4822. "description": "留言信息",
  4823. "name": "message",
  4824. "in": "query",
  4825. "required": true
  4826. }
  4827. ],
  4828. "responses": {
  4829. "200": {
  4830. "description": "OK",
  4831. "schema": {
  4832. "$ref": "#/definitions/app.Response"
  4833. }
  4834. },
  4835. "500": {
  4836. "description": "Internal Server Error",
  4837. "schema": {
  4838. "$ref": "#/definitions/app.Response"
  4839. }
  4840. }
  4841. }
  4842. }
  4843. },
  4844. "/User/AddUserFavoriteGoods": {
  4845. "post": {
  4846. "security": [
  4847. {
  4848. "ApiKeyAuth": []
  4849. }
  4850. ],
  4851. "produces": [
  4852. "application/json"
  4853. ],
  4854. "tags": [
  4855. "用户信息"
  4856. ],
  4857. "summary": "添加用户商品收藏信息",
  4858. "parameters": [
  4859. {
  4860. "type": "integer",
  4861. "description": "用户ID",
  4862. "name": "userID",
  4863. "in": "query",
  4864. "required": true
  4865. },
  4866. {
  4867. "type": "integer",
  4868. "description": "商品ID",
  4869. "name": "goodsID",
  4870. "in": "query",
  4871. "required": true
  4872. }
  4873. ],
  4874. "responses": {
  4875. "200": {
  4876. "description": "OK",
  4877. "schema": {
  4878. "$ref": "#/definitions/app.Response"
  4879. }
  4880. },
  4881. "500": {
  4882. "description": "Internal Server Error",
  4883. "schema": {
  4884. "$ref": "#/definitions/app.Response"
  4885. }
  4886. }
  4887. }
  4888. }
  4889. },
  4890. "/User/GetLoginID": {
  4891. "get": {
  4892. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  4893. "produces": [
  4894. "application/json"
  4895. ],
  4896. "tags": [
  4897. "用户信息"
  4898. ],
  4899. "summary": "获取登录ID",
  4900. "parameters": [
  4901. {
  4902. "type": "string",
  4903. "description": "登录代码",
  4904. "name": "username",
  4905. "in": "query",
  4906. "required": true
  4907. }
  4908. ],
  4909. "responses": {
  4910. "200": {
  4911. "description": "OK",
  4912. "schema": {
  4913. "$ref": "#/definitions/app.Response"
  4914. }
  4915. },
  4916. "500": {
  4917. "description": "Internal Server Error",
  4918. "schema": {
  4919. "$ref": "#/definitions/app.Response"
  4920. }
  4921. }
  4922. }
  4923. }
  4924. },
  4925. "/User/GetUserAccount": {
  4926. "get": {
  4927. "security": [
  4928. {
  4929. "ApiKeyAuth": []
  4930. }
  4931. ],
  4932. "produces": [
  4933. "application/json"
  4934. ],
  4935. "tags": [
  4936. "用户信息"
  4937. ],
  4938. "summary": "获取用户账号信息",
  4939. "parameters": [
  4940. {
  4941. "type": "integer",
  4942. "description": "用户ID",
  4943. "name": "userID",
  4944. "in": "query",
  4945. "required": true
  4946. }
  4947. ],
  4948. "responses": {
  4949. "200": {
  4950. "description": "OK",
  4951. "schema": {
  4952. "$ref": "#/definitions/models.Useraccount"
  4953. }
  4954. },
  4955. "500": {
  4956. "description": "Internal Server Error",
  4957. "schema": {
  4958. "$ref": "#/definitions/app.Response"
  4959. }
  4960. }
  4961. }
  4962. }
  4963. },
  4964. "/User/GetUserAuthStatus": {
  4965. "get": {
  4966. "security": [
  4967. {
  4968. "ApiKeyAuth": []
  4969. }
  4970. ],
  4971. "produces": [
  4972. "application/json"
  4973. ],
  4974. "tags": [
  4975. "用户信息"
  4976. ],
  4977. "summary": "获取用户实名认证状态",
  4978. "parameters": [
  4979. {
  4980. "type": "integer",
  4981. "description": "用户ID",
  4982. "name": "userID",
  4983. "in": "query",
  4984. "required": true
  4985. }
  4986. ],
  4987. "responses": {
  4988. "200": {
  4989. "description": "OK",
  4990. "schema": {
  4991. "$ref": "#/definitions/app.Response"
  4992. }
  4993. },
  4994. "500": {
  4995. "description": "Internal Server Error",
  4996. "schema": {
  4997. "$ref": "#/definitions/app.Response"
  4998. }
  4999. }
  5000. }
  5001. }
  5002. },
  5003. "/User/QueryMessageBoard": {
  5004. "get": {
  5005. "security": [
  5006. {
  5007. "ApiKeyAuth": []
  5008. }
  5009. ],
  5010. "produces": [
  5011. "application/json"
  5012. ],
  5013. "tags": [
  5014. "用户信息"
  5015. ],
  5016. "summary": "获取用户留言板信息",
  5017. "parameters": [
  5018. {
  5019. "type": "integer",
  5020. "description": "用户ID",
  5021. "name": "userID",
  5022. "in": "query",
  5023. "required": true
  5024. }
  5025. ],
  5026. "responses": {
  5027. "200": {
  5028. "description": "OK",
  5029. "schema": {
  5030. "$ref": "#/definitions/models.Messageboard"
  5031. }
  5032. },
  5033. "500": {
  5034. "description": "Internal Server Error",
  5035. "schema": {
  5036. "$ref": "#/definitions/app.Response"
  5037. }
  5038. }
  5039. }
  5040. }
  5041. },
  5042. "/User/QueryUserFavoriteGoodses": {
  5043. "get": {
  5044. "security": [
  5045. {
  5046. "ApiKeyAuth": []
  5047. }
  5048. ],
  5049. "produces": [
  5050. "application/json"
  5051. ],
  5052. "tags": [
  5053. "用户信息"
  5054. ],
  5055. "summary": "获取用户商品收藏信息",
  5056. "parameters": [
  5057. {
  5058. "type": "integer",
  5059. "description": "用户ID",
  5060. "name": "userID",
  5061. "in": "query",
  5062. "required": true
  5063. }
  5064. ],
  5065. "responses": {
  5066. "200": {
  5067. "description": "OK",
  5068. "schema": {
  5069. "$ref": "#/definitions/models.Userfavoritegoods"
  5070. }
  5071. },
  5072. "500": {
  5073. "description": "Internal Server Error",
  5074. "schema": {
  5075. "$ref": "#/definitions/app.Response"
  5076. }
  5077. }
  5078. }
  5079. }
  5080. },
  5081. "/User/QueryUserInfo": {
  5082. "get": {
  5083. "security": [
  5084. {
  5085. "ApiKeyAuth": []
  5086. }
  5087. ],
  5088. "produces": [
  5089. "application/json"
  5090. ],
  5091. "tags": [
  5092. "用户信息"
  5093. ],
  5094. "summary": "获取用户信息",
  5095. "parameters": [
  5096. {
  5097. "type": "integer",
  5098. "description": "用户ID",
  5099. "name": "userID",
  5100. "in": "query",
  5101. "required": true
  5102. }
  5103. ],
  5104. "responses": {
  5105. "200": {
  5106. "description": "OK",
  5107. "schema": {
  5108. "$ref": "#/definitions/models.Userinfo"
  5109. }
  5110. },
  5111. "500": {
  5112. "description": "Internal Server Error",
  5113. "schema": {
  5114. "$ref": "#/definitions/app.Response"
  5115. }
  5116. }
  5117. }
  5118. }
  5119. },
  5120. "/User/QueryUserReferNum": {
  5121. "get": {
  5122. "produces": [
  5123. "application/json"
  5124. ],
  5125. "tags": [
  5126. "用户信息"
  5127. ],
  5128. "summary": "获取用户邀请码",
  5129. "parameters": [
  5130. {
  5131. "type": "integer",
  5132. "description": "用户ID",
  5133. "name": "userID",
  5134. "in": "query",
  5135. "required": true
  5136. }
  5137. ],
  5138. "responses": {
  5139. "200": {
  5140. "description": "OK",
  5141. "schema": {
  5142. "$ref": "#/definitions/app.Response"
  5143. }
  5144. },
  5145. "500": {
  5146. "description": "Internal Server Error",
  5147. "schema": {
  5148. "$ref": "#/definitions/app.Response"
  5149. }
  5150. }
  5151. }
  5152. }
  5153. },
  5154. "/User/RemoveUserFavoriteGoods": {
  5155. "post": {
  5156. "security": [
  5157. {
  5158. "ApiKeyAuth": []
  5159. }
  5160. ],
  5161. "produces": [
  5162. "application/json"
  5163. ],
  5164. "tags": [
  5165. "用户信息"
  5166. ],
  5167. "summary": "移除用户商品收藏信息",
  5168. "parameters": [
  5169. {
  5170. "type": "integer",
  5171. "description": "用户ID",
  5172. "name": "userID",
  5173. "in": "query",
  5174. "required": true
  5175. },
  5176. {
  5177. "type": "integer",
  5178. "description": "商品ID",
  5179. "name": "goodsID",
  5180. "in": "query",
  5181. "required": true
  5182. }
  5183. ],
  5184. "responses": {
  5185. "200": {
  5186. "description": "OK",
  5187. "schema": {
  5188. "$ref": "#/definitions/app.Response"
  5189. }
  5190. },
  5191. "500": {
  5192. "description": "Internal Server Error",
  5193. "schema": {
  5194. "$ref": "#/definitions/app.Response"
  5195. }
  5196. }
  5197. }
  5198. }
  5199. },
  5200. "/User/UpdateUserAccountStatus": {
  5201. "post": {
  5202. "security": [
  5203. {
  5204. "ApiKeyAuth": []
  5205. }
  5206. ],
  5207. "produces": [
  5208. "application/json"
  5209. ],
  5210. "tags": [
  5211. "用户信息"
  5212. ],
  5213. "summary": "更新用户状态",
  5214. "parameters": [
  5215. {
  5216. "type": "integer",
  5217. "description": "用户ID",
  5218. "name": "userID",
  5219. "in": "query",
  5220. "required": true
  5221. },
  5222. {
  5223. "type": "string",
  5224. "description": "账户状态 - 4:正常 6:注销(停用)",
  5225. "name": "accountStatus",
  5226. "in": "query",
  5227. "required": true
  5228. }
  5229. ],
  5230. "responses": {
  5231. "200": {
  5232. "description": "OK",
  5233. "schema": {
  5234. "$ref": "#/definitions/app.Response"
  5235. }
  5236. },
  5237. "500": {
  5238. "description": "Internal Server Error",
  5239. "schema": {
  5240. "$ref": "#/definitions/app.Response"
  5241. }
  5242. }
  5243. }
  5244. }
  5245. },
  5246. "/WR/GetWRCategoryInfo": {
  5247. "get": {
  5248. "produces": [
  5249. "application/json"
  5250. ],
  5251. "tags": [
  5252. "仓单服务"
  5253. ],
  5254. "summary": "获取现货分类信息",
  5255. "responses": {
  5256. "200": {
  5257. "description": "OK",
  5258. "schema": {
  5259. "$ref": "#/definitions/models.WRCategoryTree"
  5260. }
  5261. },
  5262. "500": {
  5263. "description": "Internal Server Error",
  5264. "schema": {
  5265. "$ref": "#/definitions/app.Response"
  5266. }
  5267. }
  5268. }
  5269. }
  5270. },
  5271. "/WRTrade/GetAllDeliveryGoods": {
  5272. "get": {
  5273. "security": [
  5274. {
  5275. "ApiKeyAuth": []
  5276. },
  5277. {
  5278. "ApiKeyAuth": []
  5279. }
  5280. ],
  5281. "produces": [
  5282. "application/json",
  5283. "application/json"
  5284. ],
  5285. "tags": [
  5286. "仓单贸易",
  5287. "仓单贸易"
  5288. ],
  5289. "summary": "获取带仓单分类的种类信息",
  5290. "responses": {
  5291. "200": {
  5292. "description": "OK",
  5293. "schema": {
  5294. "$ref": "#/definitions/app.Response"
  5295. }
  5296. },
  5297. "500": {
  5298. "description": "Internal Server Error",
  5299. "schema": {
  5300. "$ref": "#/definitions/app.Response"
  5301. }
  5302. }
  5303. }
  5304. }
  5305. }
  5306. },
  5307. "definitions": {
  5308. "app.Response": {
  5309. "type": "object",
  5310. "properties": {
  5311. "code": {
  5312. "type": "integer"
  5313. },
  5314. "data": {
  5315. "type": "object"
  5316. },
  5317. "msg": {
  5318. "type": "string"
  5319. },
  5320. "page": {
  5321. "description": "页码",
  5322. "type": "integer"
  5323. },
  5324. "pagesize": {
  5325. "description": "每页条数",
  5326. "type": "integer"
  5327. },
  5328. "total": {
  5329. "description": "总条数",
  5330. "type": "integer"
  5331. }
  5332. }
  5333. },
  5334. "common.QueryNoticeRsp": {
  5335. "type": "object",
  5336. "required": [
  5337. "autoid"
  5338. ],
  5339. "properties": {
  5340. "auditoruserid": {
  5341. "description": "审核人",
  5342. "type": "integer"
  5343. },
  5344. "auditremark": {
  5345. "description": "审核备注",
  5346. "type": "string"
  5347. },
  5348. "audittime": {
  5349. "description": "审核日期",
  5350. "type": "string"
  5351. },
  5352. "autoid": {
  5353. "description": "自增ID",
  5354. "type": "integer"
  5355. },
  5356. "content": {
  5357. "description": "内容",
  5358. "type": "string"
  5359. },
  5360. "createtime": {
  5361. "description": "创建时间",
  5362. "type": "string"
  5363. },
  5364. "creatorid": {
  5365. "description": "建仓人",
  5366. "type": "integer"
  5367. },
  5368. "endtime": {
  5369. "description": "结束时间",
  5370. "type": "string"
  5371. },
  5372. "istop": {
  5373. "description": "是否置顶 - 0:不置顶 1:置顶",
  5374. "type": "integer"
  5375. },
  5376. "msgiconurl": {
  5377. "description": "消息图标Url",
  5378. "type": "string"
  5379. },
  5380. "msgtype": {
  5381. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  5382. "type": "integer"
  5383. },
  5384. "publisher": {
  5385. "description": "消息发布者",
  5386. "type": "string"
  5387. },
  5388. "readed": {
  5389. "description": "是否已读",
  5390. "type": "boolean"
  5391. },
  5392. "scheduletime": {
  5393. "description": "计划发送时间",
  5394. "type": "string"
  5395. },
  5396. "sendtype": {
  5397. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  5398. "type": "integer"
  5399. },
  5400. "sentstatus": {
  5401. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  5402. "type": "integer"
  5403. },
  5404. "title": {
  5405. "description": "标题",
  5406. "type": "string"
  5407. },
  5408. "userid": {
  5409. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  5410. "type": "integer"
  5411. }
  5412. }
  5413. },
  5414. "common.QueryProvincesAndCitiesRsp": {
  5415. "type": "object",
  5416. "properties": {
  5417. "cities": {
  5418. "description": "市",
  5419. "type": "array",
  5420. "items": {
  5421. "$ref": "#/definitions/models.Division"
  5422. }
  5423. },
  5424. "province": {
  5425. "description": "省",
  5426. "$ref": "#/definitions/models.Division"
  5427. }
  5428. }
  5429. },
  5430. "common.QueryTableDefineRsp": {
  5431. "type": "object",
  5432. "required": [
  5433. "tablekey"
  5434. ],
  5435. "properties": {
  5436. "columns": {
  5437. "description": "列头信息数组",
  5438. "type": "array",
  5439. "items": {
  5440. "$ref": "#/definitions/models.Tablecolumnconfig"
  5441. }
  5442. },
  5443. "remark": {
  5444. "description": "Remark",
  5445. "type": "string"
  5446. },
  5447. "tabelmenu": {
  5448. "description": "列表菜单",
  5449. "type": "string"
  5450. },
  5451. "tablekey": {
  5452. "description": "列表Key",
  5453. "type": "string"
  5454. },
  5455. "tablename": {
  5456. "description": "列表名称",
  5457. "type": "string"
  5458. },
  5459. "tabletype": {
  5460. "description": "列表类型 - 1:管理端 2:终端",
  5461. "type": "integer"
  5462. }
  5463. }
  5464. },
  5465. "common.QueryTraderMenuRsp": {
  5466. "type": "object",
  5467. "properties": {
  5468. "OperationMenu": {
  5469. "description": "功能菜单",
  5470. "type": "array",
  5471. "items": {
  5472. "$ref": "#/definitions/models.OperationPrimaryMenu"
  5473. }
  5474. },
  5475. "QuoteMenu": {
  5476. "description": "报价牌分类菜单",
  5477. "type": "array",
  5478. "items": {
  5479. "$ref": "#/definitions/models.QuotePrimaryMenu"
  5480. }
  5481. }
  5482. }
  5483. },
  5484. "cptrade.Cptradepositioncancel": {
  5485. "type": "object",
  5486. "required": [
  5487. "cancelid"
  5488. ],
  5489. "properties": {
  5490. "accountid": {
  5491. "description": "申请人账户ID",
  5492. "type": "integer"
  5493. },
  5494. "applystatus": {
  5495. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5496. "type": "integer"
  5497. },
  5498. "applytime": {
  5499. "description": "申请时间",
  5500. "type": "string"
  5501. },
  5502. "cancelid": {
  5503. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  5504. "type": "integer"
  5505. },
  5506. "cancelqty": {
  5507. "description": "注销数量",
  5508. "type": "integer"
  5509. },
  5510. "createtime": {
  5511. "description": "创建时间",
  5512. "type": "string"
  5513. },
  5514. "creatorid": {
  5515. "description": "创建人ID",
  5516. "type": "integer"
  5517. },
  5518. "creatorname": {
  5519. "description": "创建人",
  5520. "type": "string"
  5521. },
  5522. "goodscode": {
  5523. "description": "订单商品代码",
  5524. "type": "string"
  5525. },
  5526. "goodsid": {
  5527. "description": "商品ID",
  5528. "type": "integer"
  5529. },
  5530. "goodsname": {
  5531. "description": "订单商品名称",
  5532. "type": "string"
  5533. },
  5534. "goodunit": {
  5535. "description": "报价单位",
  5536. "type": "string"
  5537. },
  5538. "handlestatus": {
  5539. "description": "处理状态",
  5540. "type": "integer"
  5541. },
  5542. "marketid": {
  5543. "description": "市场ID",
  5544. "type": "integer"
  5545. },
  5546. "marketname": {
  5547. "description": "市场名称",
  5548. "type": "string"
  5549. },
  5550. "tradedate": {
  5551. "description": "交易日(yyyyMMdd)",
  5552. "type": "string"
  5553. },
  5554. "userid": {
  5555. "description": "申请人ID",
  5556. "type": "integer"
  5557. }
  5558. }
  5559. },
  5560. "cptrade.Cptradepresaleapply": {
  5561. "type": "object",
  5562. "required": [
  5563. "applyid"
  5564. ],
  5565. "properties": {
  5566. "accountid": {
  5567. "description": "申请人账户ID",
  5568. "type": "integer"
  5569. },
  5570. "applyid": {
  5571. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  5572. "type": "integer"
  5573. },
  5574. "applyremark": {
  5575. "description": "申请备注",
  5576. "type": "string"
  5577. },
  5578. "applystatus": {
  5579. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5580. "type": "integer"
  5581. },
  5582. "applytime": {
  5583. "description": "申请时间",
  5584. "type": "string"
  5585. },
  5586. "attachmenturl": {
  5587. "description": "附件地址",
  5588. "type": "string"
  5589. },
  5590. "endtime": {
  5591. "description": "预售结束时间",
  5592. "type": "string"
  5593. },
  5594. "goodscode": {
  5595. "description": "商品代码",
  5596. "type": "string"
  5597. },
  5598. "goodsid": {
  5599. "description": "商品ID",
  5600. "type": "integer"
  5601. },
  5602. "goodsname": {
  5603. "description": "商品名称",
  5604. "type": "string"
  5605. },
  5606. "goodunit": {
  5607. "description": "报价单位",
  5608. "type": "string"
  5609. },
  5610. "handlestatus": {
  5611. "description": "处理状态",
  5612. "type": "integer"
  5613. },
  5614. "marketid": {
  5615. "description": "预售市场ID",
  5616. "type": "integer"
  5617. },
  5618. "marketname": {
  5619. "description": "预售市场名称",
  5620. "type": "string"
  5621. },
  5622. "presaleqty": {
  5623. "description": "预售数量",
  5624. "type": "integer"
  5625. },
  5626. "relatedgoodscode": {
  5627. "description": "关联交易合约代码",
  5628. "type": "string"
  5629. },
  5630. "relatedgoodsid": {
  5631. "description": "关联交易合约ID",
  5632. "type": "integer"
  5633. },
  5634. "relatedgoodsname": {
  5635. "description": "关联交易合约名称",
  5636. "type": "string"
  5637. },
  5638. "starttime": {
  5639. "description": "预售开始时间",
  5640. "type": "string"
  5641. },
  5642. "tradedate": {
  5643. "description": "交易日(yyyyMMdd)",
  5644. "type": "string"
  5645. },
  5646. "trademode": {
  5647. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  5648. "type": "integer"
  5649. },
  5650. "userid": {
  5651. "description": "申请人ID",
  5652. "type": "integer"
  5653. }
  5654. }
  5655. },
  5656. "cptrade.Cptradeusergoodsdata": {
  5657. "type": "object",
  5658. "required": [
  5659. "accountid",
  5660. "goodsid"
  5661. ],
  5662. "properties": {
  5663. "EnabledQty": {
  5664. "description": "可用量",
  5665. "type": "integer"
  5666. },
  5667. "GoodsCode": {
  5668. "description": "订单商品代码",
  5669. "type": "string"
  5670. },
  5671. "GoodsName": {
  5672. "description": "订单商品名称",
  5673. "type": "string"
  5674. },
  5675. "WRStandardCode": {
  5676. "description": "仓单标准代码",
  5677. "type": "string"
  5678. },
  5679. "WRStandardName": {
  5680. "description": "仓单标准名称",
  5681. "type": "string"
  5682. },
  5683. "accountid": {
  5684. "description": "账户ID",
  5685. "type": "integer"
  5686. },
  5687. "cancelqty": {
  5688. "description": "注销量",
  5689. "type": "integer"
  5690. },
  5691. "curpresaleqty": {
  5692. "description": "当前预售量",
  5693. "type": "integer"
  5694. },
  5695. "deliveryqty": {
  5696. "description": "交割量",
  5697. "type": "integer"
  5698. },
  5699. "freezeamount": {
  5700. "description": "冻结金额",
  5701. "type": "number"
  5702. },
  5703. "goodsid": {
  5704. "description": "商品ID",
  5705. "type": "integer"
  5706. },
  5707. "goodunit": {
  5708. "description": "报价单位",
  5709. "type": "string"
  5710. },
  5711. "hasspotfreeze": {
  5712. "description": "是否有现货冻结 - 0:否 1:有",
  5713. "type": "integer"
  5714. },
  5715. "inqty": {
  5716. "description": "转入量(总数量)",
  5717. "type": "integer"
  5718. },
  5719. "marketid": {
  5720. "description": "市场ID",
  5721. "type": "integer"
  5722. },
  5723. "presaledamount": {
  5724. "description": "已预售总金额",
  5725. "type": "integer"
  5726. },
  5727. "presaledqty": {
  5728. "description": "已预售量",
  5729. "type": "integer"
  5730. },
  5731. "userid": {
  5732. "description": "用户ID",
  5733. "type": "integer"
  5734. },
  5735. "wrstandardid": {
  5736. "description": "仓单标准ID",
  5737. "type": "integer"
  5738. }
  5739. }
  5740. },
  5741. "cptrade.QueryCPTradeMyBidRsp": {
  5742. "type": "object",
  5743. "required": [
  5744. "accountid",
  5745. "goodsid",
  5746. "marketid",
  5747. "orderid",
  5748. "orderqty",
  5749. "ordertime",
  5750. "tradeprice",
  5751. "tradeqty"
  5752. ],
  5753. "properties": {
  5754. "accountid": {
  5755. "description": "账户ID[报价币种]",
  5756. "type": "integer"
  5757. },
  5758. "goodsid": {
  5759. "description": "商品ID",
  5760. "type": "integer"
  5761. },
  5762. "goodunit": {
  5763. "description": "报价单位",
  5764. "type": "string"
  5765. },
  5766. "marketid": {
  5767. "description": "市场ID",
  5768. "type": "integer"
  5769. },
  5770. "orderid": {
  5771. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5772. "type": "integer"
  5773. },
  5774. "orderprice": {
  5775. "description": "委托价格",
  5776. "type": "number"
  5777. },
  5778. "orderqty": {
  5779. "description": "委托数量",
  5780. "type": "integer"
  5781. },
  5782. "ordertime": {
  5783. "description": "委托时间",
  5784. "type": "string"
  5785. },
  5786. "ordertotalprice": {
  5787. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  5788. "type": "number"
  5789. },
  5790. "ordertotalweight": {
  5791. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  5792. "type": "integer"
  5793. },
  5794. "totaltotalprice": {
  5795. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  5796. "type": "number"
  5797. },
  5798. "tradeprice": {
  5799. "description": "成交价格",
  5800. "type": "number"
  5801. },
  5802. "tradeqty": {
  5803. "description": "成交数量",
  5804. "type": "integer"
  5805. }
  5806. }
  5807. },
  5808. "cptrade.QueryCPTradeOrderDetailRsq": {
  5809. "type": "object",
  5810. "required": [
  5811. "accountid",
  5812. "buildtype",
  5813. "buyorsell",
  5814. "goodsid",
  5815. "marketid",
  5816. "memberuserid",
  5817. "operatetype",
  5818. "orderqty",
  5819. "ordertime",
  5820. "pricemode",
  5821. "strorderid",
  5822. "tradedate",
  5823. "validtype"
  5824. ],
  5825. "properties": {
  5826. "accountid": {
  5827. "description": "账户ID[报价币种]",
  5828. "type": "integer"
  5829. },
  5830. "buildtype": {
  5831. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  5832. "type": "integer"
  5833. },
  5834. "buyorsell": {
  5835. "description": "买卖 - 0:买 1:卖",
  5836. "type": "integer"
  5837. },
  5838. "cancelorderid": {
  5839. "description": "撤单单号(撤单时填写)",
  5840. "type": "integer"
  5841. },
  5842. "cancelqty": {
  5843. "description": "撤单数量",
  5844. "type": "integer"
  5845. },
  5846. "clientordertime": {
  5847. "description": "客户端委托时间",
  5848. "type": "string"
  5849. },
  5850. "clientticket": {
  5851. "description": "客户端流水号",
  5852. "type": "string"
  5853. },
  5854. "clienttype": {
  5855. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  5856. "type": "integer"
  5857. },
  5858. "closeexchagechargevalue": {
  5859. "description": "平仓交易所手续费设置值",
  5860. "type": "number"
  5861. },
  5862. "closefeealgorithm": {
  5863. "description": "平仓手续费收取方式 1:比率 2:固定",
  5864. "type": "integer"
  5865. },
  5866. "closefreezecharge": {
  5867. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  5868. "type": "number"
  5869. },
  5870. "closememberchargevalue": {
  5871. "description": "平仓会员手续费设置值",
  5872. "type": "number"
  5873. },
  5874. "closeqty": {
  5875. "description": "平仓数量(先建后平操作 需要记录)",
  5876. "type": "integer"
  5877. },
  5878. "closetradeqty": {
  5879. "description": "平仓成交数量(先建后平操作,需要记录)",
  5880. "type": "integer"
  5881. },
  5882. "closeunfreezecharge": {
  5883. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  5884. "type": "number"
  5885. },
  5886. "delistingtype": {
  5887. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  5888. "type": "integer"
  5889. },
  5890. "freezecharge": {
  5891. "description": "冻结手续费",
  5892. "type": "number"
  5893. },
  5894. "freezemargin": {
  5895. "description": "冻结保证金(冻结交易金额)",
  5896. "type": "number"
  5897. },
  5898. "gcaccountid": {
  5899. "description": "账户ID[合约币种]",
  5900. "type": "integer"
  5901. },
  5902. "goodsid": {
  5903. "description": "商品ID",
  5904. "type": "integer"
  5905. },
  5906. "isconfirmexercise": {
  5907. "description": "是否确认行权- 0:否 1:是",
  5908. "type": "integer"
  5909. },
  5910. "ispreexercise": {
  5911. "description": "是否预申报- 0:否 1:是",
  5912. "type": "integer"
  5913. },
  5914. "listingselecttype": {
  5915. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5916. "type": "integer"
  5917. },
  5918. "marginalgorithm": {
  5919. "description": "保证金收取方式 1:比率 2:固定",
  5920. "type": "integer"
  5921. },
  5922. "marginvalue": {
  5923. "description": "即市保证金设置值",
  5924. "type": "number"
  5925. },
  5926. "marketid": {
  5927. "description": "市场ID",
  5928. "type": "integer"
  5929. },
  5930. "marketmaxsub": {
  5931. "description": "市价最大偏移范围",
  5932. "type": "number"
  5933. },
  5934. "memberuserid": {
  5935. "description": "所属会员UserID",
  5936. "type": "integer"
  5937. },
  5938. "openexchagechargevalue": {
  5939. "description": "建仓交易所手续费设置值",
  5940. "type": "number"
  5941. },
  5942. "openfeealgorithm": {
  5943. "description": "建仓手续费收取方式 1:比率 2:固定",
  5944. "type": "integer"
  5945. },
  5946. "openfreezecharge": {
  5947. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  5948. "type": "number"
  5949. },
  5950. "openmemberchargevalue": {
  5951. "description": "建仓会员手续费设置值",
  5952. "type": "number"
  5953. },
  5954. "openqty": {
  5955. "description": "开仓数量(先建后平操作,需要记录)",
  5956. "type": "integer"
  5957. },
  5958. "opentradeqty": {
  5959. "description": "开仓成交数量(先建后平操作,需要记录)",
  5960. "type": "integer"
  5961. },
  5962. "openunfreezecharge": {
  5963. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  5964. "type": "number"
  5965. },
  5966. "operatetype": {
  5967. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  5968. "type": "integer"
  5969. },
  5970. "operatorid": {
  5971. "description": "登录账号(LoginID)",
  5972. "type": "integer"
  5973. },
  5974. "optiontype": {
  5975. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  5976. "type": "integer"
  5977. },
  5978. "orderprice": {
  5979. "description": "委托价格",
  5980. "type": "number"
  5981. },
  5982. "orderqty": {
  5983. "description": "委托数量",
  5984. "type": "integer"
  5985. },
  5986. "ordersrc": {
  5987. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  5988. "type": "integer"
  5989. },
  5990. "orderstatus": {
  5991. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5992. "type": "integer"
  5993. },
  5994. "ordertime": {
  5995. "description": "委托时间",
  5996. "type": "string"
  5997. },
  5998. "preexerciseprice": {
  5999. "description": "预申报价格",
  6000. "type": "number"
  6001. },
  6002. "premium": {
  6003. "description": "权利金",
  6004. "type": "number"
  6005. },
  6006. "preorderid": {
  6007. "description": "关联预埋单号(止盈止损单时填写)",
  6008. "type": "integer"
  6009. },
  6010. "pricemode": {
  6011. "description": "取价方式 - 1:市价 2: 限价",
  6012. "type": "integer"
  6013. },
  6014. "quoteid": {
  6015. "description": "报价单ID",
  6016. "type": "integer"
  6017. },
  6018. "relatedid": {
  6019. "description": "关联单号(交割单)",
  6020. "type": "integer"
  6021. },
  6022. "retcode": {
  6023. "description": "错误代码",
  6024. "type": "integer"
  6025. },
  6026. "sessionid": {
  6027. "description": "会话ID",
  6028. "type": "integer"
  6029. },
  6030. "strorderid": {
  6031. "description": "委托单号",
  6032. "type": "string"
  6033. },
  6034. "tradedate": {
  6035. "description": "交易日(yyyyMMdd)",
  6036. "type": "string"
  6037. },
  6038. "tradeproperty": {
  6039. "description": "交易属性",
  6040. "type": "integer"
  6041. },
  6042. "tradeqty": {
  6043. "description": "成交数量",
  6044. "type": "integer"
  6045. },
  6046. "unfreezecharge": {
  6047. "description": "解冻手续费",
  6048. "type": "number"
  6049. },
  6050. "unfreezemargin": {
  6051. "description": "解冻保证金",
  6052. "type": "number"
  6053. },
  6054. "updatetime": {
  6055. "description": "更新时间",
  6056. "type": "string"
  6057. },
  6058. "uuid": {
  6059. "description": "发起端唯一id",
  6060. "type": "string"
  6061. },
  6062. "validtime": {
  6063. "description": "有效期限",
  6064. "type": "string"
  6065. },
  6066. "validtype": {
  6067. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  6068. "type": "integer"
  6069. },
  6070. "volumetype": {
  6071. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  6072. "type": "integer"
  6073. }
  6074. }
  6075. },
  6076. "cptrade.QueryMyCPTradeGoodsRsp": {
  6077. "type": "object",
  6078. "required": [
  6079. "goodscode",
  6080. "goodsid",
  6081. "goodsname",
  6082. "marketid",
  6083. "relatedgoodscode",
  6084. "relatedgoodsname"
  6085. ],
  6086. "properties": {
  6087. "accountid": {
  6088. "description": "卖方账户ID",
  6089. "type": "integer"
  6090. },
  6091. "agreeunit": {
  6092. "description": "合约单位",
  6093. "type": "number"
  6094. },
  6095. "applyid": {
  6096. "description": "关联申请ID",
  6097. "type": "integer"
  6098. },
  6099. "attachmenturl": {
  6100. "description": "附件地址",
  6101. "type": "string"
  6102. },
  6103. "createtime": {
  6104. "description": "创建时间",
  6105. "type": "string"
  6106. },
  6107. "currencyid": {
  6108. "description": "报价货币ID",
  6109. "type": "integer"
  6110. },
  6111. "decimalplace": {
  6112. "description": "报价小数位",
  6113. "type": "integer"
  6114. },
  6115. "endtime": {
  6116. "description": "预售结束时间",
  6117. "type": "string"
  6118. },
  6119. "floorprice": {
  6120. "description": "底价[大宗式竞拍]",
  6121. "type": "number"
  6122. },
  6123. "goodscode": {
  6124. "description": "商品代码(预售)",
  6125. "type": "string"
  6126. },
  6127. "goodsdetail": {
  6128. "description": "详情[大宗]",
  6129. "type": "string"
  6130. },
  6131. "goodsid": {
  6132. "description": "商品ID(自增ID SEQ_GOODS)",
  6133. "type": "integer"
  6134. },
  6135. "goodsname": {
  6136. "description": "商品名称(预售)",
  6137. "type": "string"
  6138. },
  6139. "goodunit": {
  6140. "description": "报价单位",
  6141. "type": "string"
  6142. },
  6143. "goodunitid": {
  6144. "description": "报价单位ID",
  6145. "type": "integer"
  6146. },
  6147. "marketid": {
  6148. "description": "所属市场ID",
  6149. "type": "integer"
  6150. },
  6151. "marketname": {
  6152. "description": "预售市场名称",
  6153. "type": "string"
  6154. },
  6155. "presaledamount": {
  6156. "description": "已预售总金额(预售结束时更新)",
  6157. "type": "number"
  6158. },
  6159. "presaledqty": {
  6160. "description": "已预售量(预售结束时更新)",
  6161. "type": "integer"
  6162. },
  6163. "presalemode": {
  6164. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6165. "type": "integer"
  6166. },
  6167. "presaleqty": {
  6168. "description": "预售数量",
  6169. "type": "integer"
  6170. },
  6171. "refprice": {
  6172. "description": "参考价格[一口价]",
  6173. "type": "number"
  6174. },
  6175. "relatedgoodscode": {
  6176. "description": "商品代码(订单)",
  6177. "type": "string"
  6178. },
  6179. "relatedgoodsid": {
  6180. "description": "关联交易合约ID",
  6181. "type": "integer"
  6182. },
  6183. "relatedgoodsname": {
  6184. "description": "商品名称(订单)",
  6185. "type": "string"
  6186. },
  6187. "relatedmarketid": {
  6188. "description": "关联交易合约市场ID",
  6189. "type": "integer"
  6190. },
  6191. "sellstatus": {
  6192. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6193. "type": "integer"
  6194. },
  6195. "startprice": {
  6196. "description": "起拍价[大宗式竞拍]",
  6197. "type": "number"
  6198. },
  6199. "starttime": {
  6200. "description": "预售开始时间",
  6201. "type": "string"
  6202. },
  6203. "tradedate": {
  6204. "description": "交易日(yyyyMMdd)",
  6205. "type": "string"
  6206. },
  6207. "tradeprice": {
  6208. "description": "成交价[大宗]",
  6209. "type": "number"
  6210. },
  6211. "userid": {
  6212. "description": "卖方用户ID",
  6213. "type": "integer"
  6214. }
  6215. }
  6216. },
  6217. "cptrade.QueryPresaleGoodsExRsp": {
  6218. "type": "object",
  6219. "required": [
  6220. "goodsid"
  6221. ],
  6222. "properties": {
  6223. "attachmenturl": {
  6224. "description": "附件地址",
  6225. "type": "string"
  6226. },
  6227. "createtime": {
  6228. "description": "创建时间",
  6229. "type": "string"
  6230. },
  6231. "endtime": {
  6232. "description": "预售结束时间",
  6233. "type": "string"
  6234. },
  6235. "floorprice": {
  6236. "description": "底价[大宗式竞拍]",
  6237. "type": "number"
  6238. },
  6239. "goodsdetail": {
  6240. "description": "详情[大宗]",
  6241. "type": "string"
  6242. },
  6243. "goodsid": {
  6244. "description": "商品ID(预售)",
  6245. "type": "integer"
  6246. },
  6247. "goodunit": {
  6248. "description": "报价单位",
  6249. "type": "string"
  6250. },
  6251. "marketid": {
  6252. "description": "预售市场ID - 根据预售模式选择市场",
  6253. "type": "integer"
  6254. },
  6255. "presaledamount": {
  6256. "description": "已预售总金额(预售结束时更新)",
  6257. "type": "number"
  6258. },
  6259. "presaledqty": {
  6260. "description": "已预售量(预售结束时更新)",
  6261. "type": "integer"
  6262. },
  6263. "presalemode": {
  6264. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6265. "type": "integer"
  6266. },
  6267. "presaleqty": {
  6268. "description": "预售数量",
  6269. "type": "integer"
  6270. },
  6271. "refprice": {
  6272. "description": "参考价格[一口价]",
  6273. "type": "number"
  6274. },
  6275. "relatedgoodsid": {
  6276. "description": "关联交易合约ID",
  6277. "type": "integer"
  6278. },
  6279. "relatedmarketid": {
  6280. "description": "关联交易合约市场ID",
  6281. "type": "integer"
  6282. },
  6283. "sellstatus": {
  6284. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6285. "type": "integer"
  6286. },
  6287. "startprice": {
  6288. "description": "起拍价[大宗式竞拍]",
  6289. "type": "number"
  6290. },
  6291. "starttime": {
  6292. "description": "预售开始时间",
  6293. "type": "string"
  6294. },
  6295. "tradedate": {
  6296. "description": "交易日(yyyyMMdd)",
  6297. "type": "string"
  6298. },
  6299. "tradeprice": {
  6300. "description": "成交价[大宗]",
  6301. "type": "number"
  6302. }
  6303. }
  6304. },
  6305. "delivery.QueryDeliveryRelationRsp": {
  6306. "type": "object",
  6307. "required": [
  6308. "begindate",
  6309. "enddate",
  6310. "goodsid",
  6311. "mindeliveryqty",
  6312. "xdeliveryratio"
  6313. ],
  6314. "properties": {
  6315. "begindate": {
  6316. "description": "起始日期(yyyyMMdd)",
  6317. "type": "string"
  6318. },
  6319. "buytemplateid": {
  6320. "description": "买履约计划模板ID",
  6321. "type": "integer"
  6322. },
  6323. "deliverygoodscode": {
  6324. "description": "品种代码",
  6325. "type": "string"
  6326. },
  6327. "deliverygoodsid": {
  6328. "description": "交割商品",
  6329. "type": "integer"
  6330. },
  6331. "deliverygoodsname": {
  6332. "description": "品种名称",
  6333. "type": "string"
  6334. },
  6335. "deliverymode": {
  6336. "description": "交割方式 - 1:点选式 2:申报式",
  6337. "type": "integer"
  6338. },
  6339. "deliverypricerule": {
  6340. "description": "交割价规则- 1:行情价 2:建仓价",
  6341. "type": "integer"
  6342. },
  6343. "deliverytype": {
  6344. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  6345. "type": "integer"
  6346. },
  6347. "enddate": {
  6348. "description": "结束日期(yyyyMMdd)",
  6349. "type": "string"
  6350. },
  6351. "goodscode": {
  6352. "description": "商品代码",
  6353. "type": "string"
  6354. },
  6355. "goodsid": {
  6356. "description": "交易合约ID",
  6357. "type": "integer"
  6358. },
  6359. "goodsname": {
  6360. "description": "商品名称",
  6361. "type": "string"
  6362. },
  6363. "marketid": {
  6364. "description": "市场ID",
  6365. "type": "integer"
  6366. },
  6367. "mindeliveryqty": {
  6368. "description": "最小交割系数(K)",
  6369. "type": "integer"
  6370. },
  6371. "p2deliveryprice": {
  6372. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  6373. "type": "number"
  6374. },
  6375. "p2deliveryratio": {
  6376. "description": "P2合约系数(p)",
  6377. "type": "integer"
  6378. },
  6379. "p2goodsid": {
  6380. "description": "P2合约ID",
  6381. "type": "integer"
  6382. },
  6383. "p2pricemode": {
  6384. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  6385. "type": "integer"
  6386. },
  6387. "pdeliveryprice": {
  6388. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  6389. "type": "number"
  6390. },
  6391. "pdeliveryratio": {
  6392. "description": "P合约系数(n)",
  6393. "type": "integer"
  6394. },
  6395. "pgoodsid": {
  6396. "description": "P合约ID",
  6397. "type": "integer"
  6398. },
  6399. "ppricemode": {
  6400. "description": "P合约价格方式 - 1:商品价 2:固定值",
  6401. "type": "integer"
  6402. },
  6403. "rratio": {
  6404. "description": "兑换系数(R)",
  6405. "type": "integer"
  6406. },
  6407. "rratio1": {
  6408. "description": "兑换系数(交易合约)(R1)",
  6409. "type": "integer"
  6410. },
  6411. "rratio2": {
  6412. "description": "兑换系数(仓单标准)(R2)",
  6413. "type": "integer"
  6414. },
  6415. "selltemplateid": {
  6416. "description": "卖履约计划模板ID",
  6417. "type": "integer"
  6418. },
  6419. "wrstandardid": {
  6420. "description": "仓单标准ID",
  6421. "type": "integer"
  6422. },
  6423. "xdeliveryratio": {
  6424. "description": "交易合约系数(m)",
  6425. "type": "integer"
  6426. }
  6427. }
  6428. },
  6429. "ermcp.ExposureDetailRsp": {
  6430. "type": "object",
  6431. "properties": {
  6432. "areauserid": {
  6433. "description": "机构ID",
  6434. "type": "integer"
  6435. },
  6436. "changeQty": {
  6437. "description": "套保变动量",
  6438. "type": "number"
  6439. },
  6440. "contracttype": {
  6441. "description": "现货合同类型 - 1:采购 -1:销售",
  6442. "type": "integer"
  6443. },
  6444. "convertfactor": {
  6445. "description": "标仓系数",
  6446. "type": "number"
  6447. },
  6448. "convertratio": {
  6449. "description": "套保系数",
  6450. "type": "number"
  6451. },
  6452. "createtime": {
  6453. "description": "时间",
  6454. "type": "string"
  6455. },
  6456. "enumdicname": {
  6457. "description": "现货商品单位名称",
  6458. "type": "string"
  6459. },
  6460. "logtype": {
  6461. "description": "类型 - 1:套保计划 2:现货合同",
  6462. "type": "integer"
  6463. },
  6464. "middlegoodsId": {
  6465. "description": "套保商品id",
  6466. "type": "integer"
  6467. },
  6468. "middlegoodscode": {
  6469. "description": "套保商品代码",
  6470. "type": "string"
  6471. },
  6472. "middlegoodsname": {
  6473. "description": "套保商品名称",
  6474. "type": "string"
  6475. },
  6476. "qty": {
  6477. "description": "数量",
  6478. "type": "number"
  6479. },
  6480. "relateNo": {
  6481. "description": "现货合同/套保计划编号",
  6482. "type": "string"
  6483. },
  6484. "wrstandardcode": {
  6485. "description": "现货商品代码",
  6486. "type": "string"
  6487. },
  6488. "wrstandardid": {
  6489. "description": "现货商品ID",
  6490. "type": "integer"
  6491. },
  6492. "wrstandardname": {
  6493. "description": "现货商品名称",
  6494. "type": "string"
  6495. }
  6496. }
  6497. },
  6498. "ermcp.ExposureHedgePosDetailRsp": {
  6499. "type": "object",
  6500. "properties": {
  6501. "buyorsell": {
  6502. "description": "买卖方向 0-买 1-卖",
  6503. "type": "integer"
  6504. },
  6505. "channelbuildtype": {
  6506. "description": "开平方向 1-建仓 2-平仓",
  6507. "type": "integer"
  6508. },
  6509. "goodscode": {
  6510. "description": "商品代码",
  6511. "type": "string"
  6512. },
  6513. "goodsname": {
  6514. "description": "商品名称",
  6515. "type": "string"
  6516. },
  6517. "hedgegoodsid": {
  6518. "description": "商品id",
  6519. "type": "integer"
  6520. },
  6521. "tradeqty": {
  6522. "description": "数量(成交数量)",
  6523. "type": "integer"
  6524. },
  6525. "tradetime": {
  6526. "description": "时间(成交时间)",
  6527. "type": "string"
  6528. }
  6529. }
  6530. },
  6531. "ermcp.ExposureHedgePositionRsp": {
  6532. "type": "object",
  6533. "properties": {
  6534. "accountid": {
  6535. "description": "资金账号[外部母账户]",
  6536. "type": "integer"
  6537. },
  6538. "curbuyposition": {
  6539. "description": "期末买头寸",
  6540. "type": "integer"
  6541. },
  6542. "cursellposition": {
  6543. "description": "期末卖头寸",
  6544. "type": "integer"
  6545. },
  6546. "curtdbuyposition": {
  6547. "description": "期末今日买头寸",
  6548. "type": "integer"
  6549. },
  6550. "curtdsellposition": {
  6551. "description": "期末今日卖头寸",
  6552. "type": "integer"
  6553. },
  6554. "curydbuyposition": {
  6555. "description": "期末上日买头寸",
  6556. "type": "integer"
  6557. },
  6558. "curydsellposition": {
  6559. "description": "期末上日卖头寸",
  6560. "type": "integer"
  6561. },
  6562. "decreaseqty": {
  6563. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  6564. "type": "integer"
  6565. },
  6566. "fretdbuyposition": {
  6567. "description": "冻结今日买头寸",
  6568. "type": "integer"
  6569. },
  6570. "fretdsellposition": {
  6571. "description": "冻结今日卖头寸",
  6572. "type": "integer"
  6573. },
  6574. "freydbuyposition": {
  6575. "description": "冻结上日买头寸",
  6576. "type": "integer"
  6577. },
  6578. "freydsellposition": {
  6579. "description": "冻结上日卖头寸",
  6580. "type": "integer"
  6581. },
  6582. "goodscode": {
  6583. "description": "商品代码",
  6584. "type": "string"
  6585. },
  6586. "goodsid": {
  6587. "description": "商品id",
  6588. "type": "integer"
  6589. },
  6590. "goodsname": {
  6591. "description": "商品名称",
  6592. "type": "string"
  6593. },
  6594. "hedgeaccountcode": {
  6595. "description": "对冲账号",
  6596. "type": "string"
  6597. },
  6598. "hedgegoodsid": {
  6599. "description": "对冲合约ID",
  6600. "type": "integer"
  6601. },
  6602. "increaseqty": {
  6603. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  6604. "type": "integer"
  6605. },
  6606. "marketid": {
  6607. "description": "市场ID",
  6608. "type": "integer"
  6609. },
  6610. "relateduserid": {
  6611. "description": "关联用户id",
  6612. "type": "integer"
  6613. },
  6614. "totalcurqty": {
  6615. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  6616. "type": "integer"
  6617. },
  6618. "totalydqty": {
  6619. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  6620. "type": "integer"
  6621. },
  6622. "tradedate": {
  6623. "description": "交易日(yyyyMMdd)",
  6624. "type": "string"
  6625. },
  6626. "ydbuyposition": {
  6627. "description": "期初买头寸",
  6628. "type": "integer"
  6629. },
  6630. "ydsellposition": {
  6631. "description": "期初卖头寸",
  6632. "type": "integer"
  6633. }
  6634. }
  6635. },
  6636. "ermcp.ExposureSpotDetailRsp": {
  6637. "type": "object",
  6638. "properties": {
  6639. "contracttype": {
  6640. "description": "合同类型 1-采购 -1-销售",
  6641. "type": "integer"
  6642. },
  6643. "enumdicname": {
  6644. "description": "现货商品单位名称",
  6645. "type": "string"
  6646. },
  6647. "logtype": {
  6648. "description": "记录类型 1-套保 2-现货合同",
  6649. "type": "integer"
  6650. },
  6651. "qty": {
  6652. "description": "数量",
  6653. "type": "number"
  6654. },
  6655. "recordname": {
  6656. "description": "类型名称",
  6657. "type": "string"
  6658. },
  6659. "relatedid": {
  6660. "description": "套保计划ID/现货合同ID",
  6661. "type": "string"
  6662. },
  6663. "relatedno": {
  6664. "description": "编号",
  6665. "type": "string"
  6666. },
  6667. "strtime": {
  6668. "description": "时间",
  6669. "type": "string"
  6670. },
  6671. "wrstandardcode": {
  6672. "description": "现货商品代码",
  6673. "type": "string"
  6674. },
  6675. "wrstandardname": {
  6676. "description": "现货商品名称",
  6677. "type": "string"
  6678. }
  6679. }
  6680. },
  6681. "ermcp.ExposureSpotRsp": {
  6682. "type": "object",
  6683. "properties": {
  6684. "areauserid": {
  6685. "description": "所属机构",
  6686. "type": "integer"
  6687. },
  6688. "decreaseqty": {
  6689. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  6690. "type": "number"
  6691. },
  6692. "increaseqty": {
  6693. "description": "增加数量=销售计划数量+采购已定价数量",
  6694. "type": "number"
  6695. },
  6696. "oritoalspotqty": {
  6697. "description": "昨日数量",
  6698. "type": "number"
  6699. },
  6700. "totalspotqty": {
  6701. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  6702. "type": "number"
  6703. },
  6704. "updatetime": {
  6705. "description": "更新时间",
  6706. "type": "string"
  6707. },
  6708. "wrstandardcode": {
  6709. "description": "现货品种代码",
  6710. "type": "string"
  6711. },
  6712. "wrstandardid": {
  6713. "description": "现货商品ID",
  6714. "type": "integer"
  6715. },
  6716. "wrstandardname": {
  6717. "description": "现货品种",
  6718. "type": "string"
  6719. }
  6720. }
  6721. },
  6722. "ermcp.HisExposureRsp": {
  6723. "type": "object",
  6724. "properties": {
  6725. "areauserid": {
  6726. "description": "所属机构",
  6727. "type": "integer"
  6728. },
  6729. "middlegoodscode": {
  6730. "description": "套保品种代码",
  6731. "type": "string"
  6732. },
  6733. "middlegoodsid": {
  6734. "description": "套保品种ID",
  6735. "type": "integer"
  6736. },
  6737. "middlegoodsname": {
  6738. "description": "套保品种名称",
  6739. "type": "string"
  6740. },
  6741. "needhedgeexposourE": {
  6742. "description": "应套保敞口",
  6743. "type": "number"
  6744. },
  6745. "needhedgeratio": {
  6746. "description": "应套保敞口比例",
  6747. "type": "number"
  6748. },
  6749. "reckondate": {
  6750. "description": "日照时期(yyyyMMdd)",
  6751. "type": "string"
  6752. },
  6753. "totalexposure": {
  6754. "description": "总敞口",
  6755. "type": "number"
  6756. },
  6757. "totalfutureqty": {
  6758. "description": "期货头寸总量",
  6759. "type": "number"
  6760. },
  6761. "totalhedgeratio": {
  6762. "description": "敞口比例",
  6763. "type": "number"
  6764. },
  6765. "totalneedhedgeqty": {
  6766. "description": "应套保总量",
  6767. "type": "number"
  6768. },
  6769. "totalspotqty": {
  6770. "description": "现货头寸总量",
  6771. "type": "number"
  6772. }
  6773. }
  6774. },
  6775. "ermcp.QryAvalidGPRsp": {
  6776. "type": "object",
  6777. "properties": {
  6778. "goodsgroupid": {
  6779. "description": "期货品种id",
  6780. "type": "integer"
  6781. },
  6782. "goodsgroupname": {
  6783. "description": "期货品种名称",
  6784. "type": "string"
  6785. },
  6786. "goodunitid": {
  6787. "description": "品种单位id",
  6788. "type": "integer"
  6789. },
  6790. "goodunitname": {
  6791. "description": "品种单位名称",
  6792. "type": "string"
  6793. },
  6794. "outergroupcode": {
  6795. "description": "期货品种代码",
  6796. "type": "string"
  6797. }
  6798. }
  6799. },
  6800. "ermcp.QryBusinessDjRsp": {
  6801. "type": "object",
  6802. "properties": {
  6803. "amount": {
  6804. "description": "点价金额=(点价价格+升贴水)*点价数量",
  6805. "type": "number"
  6806. },
  6807. "applyid": {
  6808. "description": "申请人",
  6809. "type": "string"
  6810. },
  6811. "applyname": {
  6812. "description": "申请人名称",
  6813. "type": "string"
  6814. },
  6815. "applystatus": {
  6816. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6817. "type": "integer"
  6818. },
  6819. "applytime": {
  6820. "description": "申请时间",
  6821. "type": "string"
  6822. },
  6823. "auditname": {
  6824. "description": "审核人名称",
  6825. "type": "string"
  6826. },
  6827. "audittime": {
  6828. "description": "审核时间",
  6829. "type": "string"
  6830. },
  6831. "buyusername": {
  6832. "description": "采购方名称",
  6833. "type": "string"
  6834. },
  6835. "contractno": {
  6836. "description": "合同编号",
  6837. "type": "string"
  6838. },
  6839. "contractstatus": {
  6840. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6841. "type": "integer"
  6842. },
  6843. "contracttype": {
  6844. "description": "现货合同类型 - 1:采购 -1:销售",
  6845. "type": "integer"
  6846. },
  6847. "enumdicname": {
  6848. "description": "单位名称",
  6849. "type": "string"
  6850. },
  6851. "goodscode": {
  6852. "description": "点价合约",
  6853. "type": "string"
  6854. },
  6855. "goodsname": {
  6856. "description": "商品名称",
  6857. "type": "string"
  6858. },
  6859. "operateapplyid": {
  6860. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6861. "type": "string"
  6862. },
  6863. "operateapplytype": {
  6864. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6865. "type": "integer"
  6866. },
  6867. "pricedPrice": {
  6868. "description": "点价价格(非必填)",
  6869. "type": "number"
  6870. },
  6871. "pricedQty": {
  6872. "description": "点价数量(非必填)",
  6873. "type": "number"
  6874. },
  6875. "pricemove": {
  6876. "description": "升贴水",
  6877. "type": "number"
  6878. },
  6879. "pricetype": {
  6880. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6881. "type": "integer"
  6882. },
  6883. "relatedid": {
  6884. "description": "现货合同ID",
  6885. "type": "string"
  6886. },
  6887. "sellusername": {
  6888. "description": "销售方名字",
  6889. "type": "string"
  6890. },
  6891. "userid": {
  6892. "description": "用户ID",
  6893. "type": "integer"
  6894. }
  6895. }
  6896. },
  6897. "ermcp.QryBussinessFpRsp": {
  6898. "type": "object",
  6899. "properties": {
  6900. "applyid": {
  6901. "description": "申请人",
  6902. "type": "string"
  6903. },
  6904. "applyname": {
  6905. "description": "申请人名称",
  6906. "type": "string"
  6907. },
  6908. "applystatus": {
  6909. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6910. "type": "integer"
  6911. },
  6912. "applytime": {
  6913. "description": "申请时间",
  6914. "type": "string"
  6915. },
  6916. "auditname": {
  6917. "description": "审核人名称",
  6918. "type": "string"
  6919. },
  6920. "audittime": {
  6921. "description": "审核时间",
  6922. "type": "string"
  6923. },
  6924. "buyusername": {
  6925. "description": "采购方名称",
  6926. "type": "string"
  6927. },
  6928. "contractno": {
  6929. "description": "合同编号",
  6930. "type": "string"
  6931. },
  6932. "contractstatus": {
  6933. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6934. "type": "integer"
  6935. },
  6936. "contracttype": {
  6937. "description": "现货合同类型 - 1:采购 -1:销售",
  6938. "type": "integer"
  6939. },
  6940. "enumdicname": {
  6941. "description": "单位名称",
  6942. "type": "string"
  6943. },
  6944. "goodscode": {
  6945. "description": "点价合约",
  6946. "type": "string"
  6947. },
  6948. "goodsname": {
  6949. "description": "商品名称",
  6950. "type": "string"
  6951. },
  6952. "invoiceAmount": {
  6953. "description": "已开收票金额(销售为开票,采购为收票)",
  6954. "type": "number"
  6955. },
  6956. "operateapplyid": {
  6957. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6958. "type": "string"
  6959. },
  6960. "operateapplytype": {
  6961. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6962. "type": "integer"
  6963. },
  6964. "pricemove": {
  6965. "description": "升贴水",
  6966. "type": "number"
  6967. },
  6968. "pricetype": {
  6969. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6970. "type": "integer"
  6971. },
  6972. "relatedid": {
  6973. "description": "现货合同ID",
  6974. "type": "string"
  6975. },
  6976. "sellusername": {
  6977. "description": "销售方名字",
  6978. "type": "string"
  6979. },
  6980. "userid": {
  6981. "description": "用户ID",
  6982. "type": "integer"
  6983. }
  6984. }
  6985. },
  6986. "ermcp.QryBussinessJsRsp": {
  6987. "type": "object",
  6988. "properties": {
  6989. "addmargin": {
  6990. "description": "追加保证金(非必填)",
  6991. "type": "number"
  6992. },
  6993. "applyid": {
  6994. "description": "申请人",
  6995. "type": "string"
  6996. },
  6997. "applyname": {
  6998. "description": "申请人名称",
  6999. "type": "string"
  7000. },
  7001. "applystatus": {
  7002. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7003. "type": "integer"
  7004. },
  7005. "applytime": {
  7006. "description": "申请时间",
  7007. "type": "string"
  7008. },
  7009. "auditname": {
  7010. "description": "审核人名称",
  7011. "type": "string"
  7012. },
  7013. "audittime": {
  7014. "description": "审核时间",
  7015. "type": "string"
  7016. },
  7017. "buyusername": {
  7018. "description": "采购方名称",
  7019. "type": "string"
  7020. },
  7021. "contractno": {
  7022. "description": "合同编号",
  7023. "type": "string"
  7024. },
  7025. "contractstatus": {
  7026. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7027. "type": "integer"
  7028. },
  7029. "contracttype": {
  7030. "description": "现货合同类型 - 1:采购 -1:销售",
  7031. "type": "integer"
  7032. },
  7033. "decmargin": {
  7034. "description": "减少保证金(非必填)",
  7035. "type": "number"
  7036. },
  7037. "enumdicname": {
  7038. "description": "单位名称",
  7039. "type": "string"
  7040. },
  7041. "goodscode": {
  7042. "description": "点价合约",
  7043. "type": "string"
  7044. },
  7045. "goodsname": {
  7046. "description": "商品名称",
  7047. "type": "string"
  7048. },
  7049. "operateapplyid": {
  7050. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7051. "type": "string"
  7052. },
  7053. "operateapplytype": {
  7054. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7055. "type": "integer"
  7056. },
  7057. "pricemove": {
  7058. "description": "升贴水",
  7059. "type": "number"
  7060. },
  7061. "pricetype": {
  7062. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7063. "type": "integer"
  7064. },
  7065. "reckonadjustamount": {
  7066. "description": "结算调整金额(非必填)",
  7067. "type": "number"
  7068. },
  7069. "reckonosamount": {
  7070. "description": "结算溢短金额(非必填)",
  7071. "type": "number"
  7072. },
  7073. "reckonotheramount": {
  7074. "description": "结算其他费用(非必填)",
  7075. "type": "number"
  7076. },
  7077. "reckonrealqty": {
  7078. "description": "结算实际数量(非必填)",
  7079. "type": "number"
  7080. },
  7081. "relatedid": {
  7082. "description": "现货合同ID",
  7083. "type": "string"
  7084. },
  7085. "sellusername": {
  7086. "description": "销售方名字",
  7087. "type": "string"
  7088. },
  7089. "userid": {
  7090. "description": "用户ID",
  7091. "type": "integer"
  7092. }
  7093. }
  7094. },
  7095. "ermcp.QryBussinessKxRsp": {
  7096. "type": "object",
  7097. "properties": {
  7098. "applyid": {
  7099. "description": "申请人",
  7100. "type": "string"
  7101. },
  7102. "applyname": {
  7103. "description": "申请人名称",
  7104. "type": "string"
  7105. },
  7106. "applystatus": {
  7107. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7108. "type": "integer"
  7109. },
  7110. "applytime": {
  7111. "description": "申请时间",
  7112. "type": "string"
  7113. },
  7114. "auditname": {
  7115. "description": "审核人名称",
  7116. "type": "string"
  7117. },
  7118. "audittime": {
  7119. "description": "审核时间",
  7120. "type": "string"
  7121. },
  7122. "buyusername": {
  7123. "description": "采购方名称",
  7124. "type": "string"
  7125. },
  7126. "contractno": {
  7127. "description": "合同编号",
  7128. "type": "string"
  7129. },
  7130. "contractstatus": {
  7131. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7132. "type": "integer"
  7133. },
  7134. "contracttype": {
  7135. "description": "现货合同类型 - 1:采购 -1:销售",
  7136. "type": "integer"
  7137. },
  7138. "deductamount": {
  7139. "description": "退款(非必填)",
  7140. "type": "number"
  7141. },
  7142. "enumdicname": {
  7143. "description": "单位名称",
  7144. "type": "string"
  7145. },
  7146. "goodscode": {
  7147. "description": "点价合约",
  7148. "type": "string"
  7149. },
  7150. "goodsname": {
  7151. "description": "商品名称",
  7152. "type": "string"
  7153. },
  7154. "kxtype": {
  7155. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  7156. "type": "integer"
  7157. },
  7158. "operateapplyid": {
  7159. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7160. "type": "string"
  7161. },
  7162. "operateapplytype": {
  7163. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7164. "type": "integer"
  7165. },
  7166. "payamount": {
  7167. "description": "收付款(非必填)",
  7168. "type": "number"
  7169. },
  7170. "pricemove": {
  7171. "description": "升贴水",
  7172. "type": "number"
  7173. },
  7174. "pricetype": {
  7175. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7176. "type": "integer"
  7177. },
  7178. "relatedid": {
  7179. "description": "现货合同ID",
  7180. "type": "string"
  7181. },
  7182. "sellusername": {
  7183. "description": "销售方名字",
  7184. "type": "string"
  7185. },
  7186. "userid": {
  7187. "description": "用户ID",
  7188. "type": "integer"
  7189. }
  7190. }
  7191. },
  7192. "ermcp.QryErmcpRsp": {
  7193. "type": "object",
  7194. "properties": {
  7195. "accountname": {
  7196. "description": "账户名称",
  7197. "type": "string"
  7198. },
  7199. "audittime": {
  7200. "description": "审核时间",
  7201. "type": "string"
  7202. },
  7203. "contracctstatus": {
  7204. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7205. "type": "integer"
  7206. },
  7207. "contractmargin": {
  7208. "description": "合同保证金",
  7209. "type": "number"
  7210. },
  7211. "contractno": {
  7212. "description": "合同编号",
  7213. "type": "string"
  7214. },
  7215. "contracttype": {
  7216. "description": "合同类型 1-采购, -1-销售",
  7217. "type": "integer"
  7218. },
  7219. "convertfactor": {
  7220. "description": "标仓系数",
  7221. "type": "number"
  7222. },
  7223. "daikaiamount": {
  7224. "description": "待开票额",
  7225. "type": "number"
  7226. },
  7227. "deliveryenddate": {
  7228. "description": "交割结束日",
  7229. "type": "string"
  7230. },
  7231. "deliverygoodscode": {
  7232. "description": "现货商品代码",
  7233. "type": "string"
  7234. },
  7235. "deliverygoodsid": {
  7236. "description": "现货商品ID",
  7237. "type": "integer"
  7238. },
  7239. "deliverygoodsname": {
  7240. "description": "现货商品名称",
  7241. "type": "string"
  7242. },
  7243. "deliverystartdate": {
  7244. "description": "交割开始日",
  7245. "type": "string"
  7246. },
  7247. "enddate": {
  7248. "description": "点价结束日",
  7249. "type": "string"
  7250. },
  7251. "enumdicname": {
  7252. "description": "单位名称",
  7253. "type": "string"
  7254. },
  7255. "goodscode": {
  7256. "description": "点价商品代码",
  7257. "type": "string"
  7258. },
  7259. "goodsid": {
  7260. "description": "点价商品ID",
  7261. "type": "integer"
  7262. },
  7263. "invoiceamount": {
  7264. "description": "已开票额",
  7265. "type": "number"
  7266. },
  7267. "loanamount": {
  7268. "description": "贷款总额=已定价额+调整金额",
  7269. "type": "number"
  7270. },
  7271. "margin": {
  7272. "description": "保证金",
  7273. "type": "number"
  7274. },
  7275. "payamount": {
  7276. "description": "已收付额(收款或付款)",
  7277. "type": "number"
  7278. },
  7279. "price": {
  7280. "description": "价格",
  7281. "type": "number"
  7282. },
  7283. "pricedamount": {
  7284. "description": "已定价额",
  7285. "type": "number"
  7286. },
  7287. "pricedavg": {
  7288. "description": "已点均价",
  7289. "type": "number"
  7290. },
  7291. "pricedqty": {
  7292. "description": "已定价量",
  7293. "type": "number"
  7294. },
  7295. "pricemove": {
  7296. "description": "升贴水",
  7297. "type": "number"
  7298. },
  7299. "pricetype": {
  7300. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7301. "type": "integer"
  7302. },
  7303. "producttype": {
  7304. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7305. "type": "integer"
  7306. },
  7307. "qty": {
  7308. "description": "合同量",
  7309. "type": "number"
  7310. },
  7311. "reckonadjustamount": {
  7312. "description": "调整金额",
  7313. "type": "number"
  7314. },
  7315. "reckonedamount": {
  7316. "description": "已收付额(已确定额)",
  7317. "type": "number"
  7318. },
  7319. "reckonotheramount": {
  7320. "description": "其它费用",
  7321. "type": "number"
  7322. },
  7323. "reckonrealqty": {
  7324. "description": "已确定量",
  7325. "type": "number"
  7326. },
  7327. "remark": {
  7328. "description": "备注",
  7329. "type": "string"
  7330. },
  7331. "spotcontractid": {
  7332. "description": "合同ID",
  7333. "type": "string"
  7334. },
  7335. "spotgoodsdesc": {
  7336. "description": "商品型号(商品规格)",
  7337. "type": "string"
  7338. },
  7339. "startdate": {
  7340. "description": "点价开始日",
  7341. "type": "string"
  7342. },
  7343. "totalamount": {
  7344. "description": "合计总额",
  7345. "type": "number"
  7346. },
  7347. "unpayamount": {
  7348. "description": "待支收额(支付或收款)",
  7349. "type": "number"
  7350. },
  7351. "unpricedqty": {
  7352. "description": "未定价量",
  7353. "type": "number"
  7354. },
  7355. "unsureqty": {
  7356. "description": "未确定量",
  7357. "type": "number"
  7358. },
  7359. "userid": {
  7360. "description": "用户ID",
  7361. "type": "integer"
  7362. }
  7363. }
  7364. },
  7365. "ermcp.QryGGCovertCfgRsp": {
  7366. "type": "object",
  7367. "properties": {
  7368. "convertratio": {
  7369. "description": "折算系数",
  7370. "type": "number"
  7371. },
  7372. "destgoodsgroupid": {
  7373. "description": "目标品种ID",
  7374. "type": "integer"
  7375. },
  7376. "dstcode": {
  7377. "description": "目录品种代码",
  7378. "type": "string"
  7379. },
  7380. "dstname": {
  7381. "description": "目标品种名称",
  7382. "type": "string"
  7383. },
  7384. "dstunitid": {
  7385. "description": "目标品种单位ID",
  7386. "type": "integer"
  7387. },
  7388. "dstunitidname": {
  7389. "description": "目标品种单位名称",
  7390. "type": "string"
  7391. },
  7392. "srccode": {
  7393. "description": "源品种代码",
  7394. "type": "string"
  7395. },
  7396. "srcgoodsgroupid": {
  7397. "description": "源品种ID",
  7398. "type": "integer"
  7399. },
  7400. "srcname": {
  7401. "description": "源品种名称",
  7402. "type": "string"
  7403. },
  7404. "srcunitid": {
  7405. "description": "源品种单位ID",
  7406. "type": "integer"
  7407. },
  7408. "srcunitidname": {
  7409. "description": "源品种单位名称",
  7410. "type": "string"
  7411. }
  7412. }
  7413. },
  7414. "ermcp.QryHedgePlanRsp": {
  7415. "type": "object",
  7416. "properties": {
  7417. "areauserid": {
  7418. "description": "用户ID",
  7419. "type": "integer"
  7420. },
  7421. "contracttype": {
  7422. "description": "计划类型 - 1:采购 -1:销售",
  7423. "type": "integer"
  7424. },
  7425. "convertfactor": {
  7426. "description": "标仓系数",
  7427. "type": "number"
  7428. },
  7429. "deliverygoodsid": {
  7430. "description": "现货品种ID",
  7431. "type": "integer"
  7432. },
  7433. "deliverygoodsname": {
  7434. "description": "现货品种名称",
  7435. "type": "string"
  7436. },
  7437. "hedgeplanid": {
  7438. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  7439. "type": "string"
  7440. },
  7441. "hedgeplanno": {
  7442. "description": "套保计划编号(名称)",
  7443. "type": "string"
  7444. },
  7445. "hedgeplanstatus": {
  7446. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7447. "type": "integer"
  7448. },
  7449. "planqty": {
  7450. "description": "计划数量",
  7451. "type": "number"
  7452. },
  7453. "plantime": {
  7454. "description": "计划时间",
  7455. "type": "string"
  7456. },
  7457. "producttype": {
  7458. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7459. "type": "integer"
  7460. },
  7461. "remark": {
  7462. "description": "备注",
  7463. "type": "string"
  7464. },
  7465. "spotgoodsdesc": {
  7466. "description": "商品型号",
  7467. "type": "string"
  7468. },
  7469. "wrstandardid": {
  7470. "description": "现货商品ID",
  7471. "type": "integer"
  7472. },
  7473. "wrstandardname": {
  7474. "description": "现货商品名称",
  7475. "type": "string"
  7476. }
  7477. }
  7478. },
  7479. "ermcp.QryMGChangeLogRsp": {
  7480. "type": "object",
  7481. "properties": {
  7482. "aftervalue": {
  7483. "description": "变更后",
  7484. "type": "number"
  7485. },
  7486. "applyid": {
  7487. "description": "操作人",
  7488. "type": "integer"
  7489. },
  7490. "applyname": {
  7491. "description": "操作人名称",
  7492. "type": "string"
  7493. },
  7494. "applysrc": {
  7495. "description": "操作来源 - 1:管理端 2:终端",
  7496. "type": "integer"
  7497. },
  7498. "beforevalue": {
  7499. "description": "变更前",
  7500. "type": "number"
  7501. },
  7502. "changelogtype": {
  7503. "description": "变更流水类型 - 1:套保比率变更",
  7504. "type": "integer"
  7505. },
  7506. "handlestatus": {
  7507. "description": "处理状态",
  7508. "type": "integer"
  7509. },
  7510. "logdatetime": {
  7511. "description": "流水日期",
  7512. "type": "string"
  7513. },
  7514. "logid": {
  7515. "description": "流水ID",
  7516. "type": "integer"
  7517. },
  7518. "logremark": {
  7519. "description": "流水备注",
  7520. "type": "string"
  7521. },
  7522. "middlegoodsid": {
  7523. "description": "套保品种ID",
  7524. "type": "integer"
  7525. },
  7526. "tradedate": {
  7527. "description": "交易日(yyyyMMdd)",
  7528. "type": "string"
  7529. },
  7530. "updatetime": {
  7531. "description": "更新时间",
  7532. "type": "string"
  7533. }
  7534. }
  7535. },
  7536. "ermcp.QryMiddleGoodsDetailRsp": {
  7537. "type": "object",
  7538. "properties": {
  7539. "cvList": {
  7540. "description": "期货品种折算列表",
  7541. "type": "array",
  7542. "items": {
  7543. "$ref": "#/definitions/models.GoodsGroupConvert"
  7544. }
  7545. },
  7546. "mg": {
  7547. "description": "套保品种基本信息",
  7548. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  7549. }
  7550. }
  7551. },
  7552. "ermcp.QryMiddleGoodsRsp": {
  7553. "type": "object",
  7554. "properties": {
  7555. "areauserid": {
  7556. "description": "机构用户ID",
  7557. "type": "integer"
  7558. },
  7559. "enumdicname": {
  7560. "description": "单位名称",
  7561. "type": "string"
  7562. },
  7563. "evaluateratio": {
  7564. "description": "估价系数",
  7565. "type": "number"
  7566. },
  7567. "goodsgroupid": {
  7568. "description": "关联期货品种ID",
  7569. "type": "integer"
  7570. },
  7571. "isvalid": {
  7572. "description": "状态 0-无效(停用) 1-有效(正常)",
  7573. "type": "integer"
  7574. },
  7575. "middlegoodscode": {
  7576. "description": "套保品种代码",
  7577. "type": "string"
  7578. },
  7579. "middlegoodsid": {
  7580. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  7581. "type": "integer"
  7582. },
  7583. "middlegoodsname": {
  7584. "description": "套保品种名称",
  7585. "type": "string"
  7586. },
  7587. "modifytime": {
  7588. "description": "修改时间",
  7589. "type": "string"
  7590. },
  7591. "needhedgeratio": {
  7592. "description": "套保比率",
  7593. "type": "number"
  7594. },
  7595. "qtydecimalplace": {
  7596. "description": "数量小数位",
  7597. "type": "integer"
  7598. },
  7599. "relatedgoodsid": {
  7600. "description": "关联交易商品ID",
  7601. "type": "integer"
  7602. },
  7603. "relatedgoodstype": {
  7604. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  7605. "type": "integer"
  7606. }
  7607. }
  7608. },
  7609. "ermcp.QryOPLogRsp": {
  7610. "type": "object",
  7611. "properties": {
  7612. "aftervalue": {
  7613. "description": "变更后",
  7614. "type": "number"
  7615. },
  7616. "applyid": {
  7617. "description": "操作人ID",
  7618. "type": "string"
  7619. },
  7620. "applyname": {
  7621. "description": "操作人名称",
  7622. "type": "string"
  7623. },
  7624. "beforevalue": {
  7625. "description": "变更前",
  7626. "type": "number"
  7627. },
  7628. "biztype": {
  7629. "description": "业务类型 - 1:套保计划 2:现货合同",
  7630. "type": "integer"
  7631. },
  7632. "contracttype": {
  7633. "description": "现货合同类型 - 1:采购 -1:销售",
  7634. "type": "integer"
  7635. },
  7636. "logvalue": {
  7637. "description": "数值",
  7638. "type": "number"
  7639. },
  7640. "operatelogtype": {
  7641. "description": "操作流水类型",
  7642. "type": "integer"
  7643. },
  7644. "operatelogtypedesc": {
  7645. "description": "操作流水类型名称",
  7646. "type": "string"
  7647. },
  7648. "relatedid": {
  7649. "description": "现货合同ID\\套保计划",
  7650. "type": "string"
  7651. },
  7652. "updatetime": {
  7653. "description": "更新时间",
  7654. "type": "string"
  7655. }
  7656. }
  7657. },
  7658. "ermcp.QrySpotContractRsp": {
  7659. "type": "object",
  7660. "properties": {
  7661. "amount": {
  7662. "description": "金额 [1:一口价、3:暂定价]",
  7663. "type": "number"
  7664. },
  7665. "auditremark": {
  7666. "description": "审核意见",
  7667. "type": "string"
  7668. },
  7669. "audittime": {
  7670. "description": "审核时间",
  7671. "type": "string"
  7672. },
  7673. "brandname": {
  7674. "description": "品牌名称",
  7675. "type": "string"
  7676. },
  7677. "buyuserid": {
  7678. "description": "采购方ID",
  7679. "type": "integer"
  7680. },
  7681. "buyusername": {
  7682. "description": "采购方名称",
  7683. "type": "string"
  7684. },
  7685. "contracctstatus": {
  7686. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7687. "type": "integer"
  7688. },
  7689. "contractmargin": {
  7690. "description": "合同保证金",
  7691. "type": "number"
  7692. },
  7693. "contractno": {
  7694. "description": "现货合同编号",
  7695. "type": "string"
  7696. },
  7697. "contracttype": {
  7698. "description": "现货合同类型 - 1:采购 -1:销售",
  7699. "type": "integer"
  7700. },
  7701. "convertfactor": {
  7702. "description": "标仓系数",
  7703. "type": "number"
  7704. },
  7705. "createtime": {
  7706. "description": "创建时间",
  7707. "type": "string"
  7708. },
  7709. "deliveryenddate": {
  7710. "description": "交收期(结束)",
  7711. "type": "string"
  7712. },
  7713. "deliverygoodscode": {
  7714. "description": "现货品种代码",
  7715. "type": "string"
  7716. },
  7717. "deliverygoodsid": {
  7718. "description": "现货品种ID",
  7719. "type": "integer"
  7720. },
  7721. "deliverygoodsname": {
  7722. "description": "现货品种名称",
  7723. "type": "string"
  7724. },
  7725. "deliverystartdate": {
  7726. "description": "交收期(开始)",
  7727. "type": "string"
  7728. },
  7729. "enddate": {
  7730. "description": "点价结束日期 [2:点价 3:暂定价]",
  7731. "type": "string"
  7732. },
  7733. "enumdicname": {
  7734. "description": "单位名称",
  7735. "type": "string"
  7736. },
  7737. "goodscode": {
  7738. "description": "点价合约代码",
  7739. "type": "string"
  7740. },
  7741. "goodsid": {
  7742. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  7743. "type": "integer"
  7744. },
  7745. "margin": {
  7746. "description": "当前保证金",
  7747. "type": "number"
  7748. },
  7749. "modelname": {
  7750. "description": "型号名称",
  7751. "type": "string"
  7752. },
  7753. "price": {
  7754. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  7755. "type": "number"
  7756. },
  7757. "pricemove": {
  7758. "description": "升贴水 [2:点价 3:暂定价]",
  7759. "type": "number"
  7760. },
  7761. "pricetype": {
  7762. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7763. "type": "integer"
  7764. },
  7765. "producttype": {
  7766. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7767. "type": "integer"
  7768. },
  7769. "qty": {
  7770. "description": "数量",
  7771. "type": "number"
  7772. },
  7773. "remark": {
  7774. "description": "备注",
  7775. "type": "string"
  7776. },
  7777. "selluserid": {
  7778. "description": "销售方ID",
  7779. "type": "integer"
  7780. },
  7781. "sellusername": {
  7782. "description": "销售方名称",
  7783. "type": "string"
  7784. },
  7785. "spotcontractid": {
  7786. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  7787. "type": "string"
  7788. },
  7789. "spotgoodsbrandid": {
  7790. "description": "现货品牌ID",
  7791. "type": "integer"
  7792. },
  7793. "spotgoodsdesc": {
  7794. "description": "商品型号",
  7795. "type": "string"
  7796. },
  7797. "spotgoodsmodelid": {
  7798. "description": "现货型号ID",
  7799. "type": "integer"
  7800. },
  7801. "startdate": {
  7802. "description": "点价开始日期 [2:点价 3:暂定价]",
  7803. "type": "string"
  7804. },
  7805. "userid": {
  7806. "description": "机构ID",
  7807. "type": "integer"
  7808. },
  7809. "wrstandardid": {
  7810. "description": "现货商品ID",
  7811. "type": "integer"
  7812. }
  7813. }
  7814. },
  7815. "ermcp.QryUserInfoRsp": {
  7816. "type": "object",
  7817. "properties": {
  7818. "address": {
  7819. "description": "通讯地址",
  7820. "type": "string"
  7821. },
  7822. "attachment1": {
  7823. "description": "附件1",
  7824. "type": "string"
  7825. },
  7826. "cardfrontphotourl": {
  7827. "description": "证件正面图片地址",
  7828. "type": "string"
  7829. },
  7830. "cardnum": {
  7831. "description": "证件号码",
  7832. "type": "string"
  7833. },
  7834. "cardtype": {
  7835. "description": "证件类型",
  7836. "type": "integer"
  7837. },
  7838. "cardtypename": {
  7839. "description": "证件类型名称",
  7840. "type": "string"
  7841. },
  7842. "cityid": {
  7843. "description": "市",
  7844. "type": "integer"
  7845. },
  7846. "countryid": {
  7847. "description": "国家",
  7848. "type": "integer"
  7849. },
  7850. "customername": {
  7851. "description": "企业名称",
  7852. "type": "string"
  7853. },
  7854. "memberuserid": {
  7855. "description": "所属机构ID",
  7856. "type": "integer"
  7857. },
  7858. "mobile": {
  7859. "description": "手机号码",
  7860. "type": "string"
  7861. },
  7862. "provinceid": {
  7863. "description": "省",
  7864. "type": "integer"
  7865. },
  7866. "remark": {
  7867. "description": "备注",
  7868. "type": "string"
  7869. },
  7870. "status": {
  7871. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  7872. "type": "integer"
  7873. },
  7874. "statusdesc": {
  7875. "description": "账户状态中文描述",
  7876. "type": "string"
  7877. },
  7878. "telphone": {
  7879. "description": "联系电话",
  7880. "type": "string"
  7881. },
  7882. "userid": {
  7883. "description": "用户ID",
  7884. "type": "integer"
  7885. },
  7886. "userinfotype": {
  7887. "description": "客户类型",
  7888. "type": "string"
  7889. }
  7890. }
  7891. },
  7892. "ermcp.QryWrStandardDetailRsp": {
  7893. "type": "object",
  7894. "properties": {
  7895. "gbList": {
  7896. "description": "品牌列表",
  7897. "type": "array",
  7898. "items": {
  7899. "$ref": "#/definitions/models.GoodsBrand"
  7900. }
  7901. },
  7902. "gtList": {
  7903. "description": "型号列表",
  7904. "type": "array",
  7905. "items": {
  7906. "$ref": "#/definitions/models.GoodsTypeModel"
  7907. }
  7908. },
  7909. "wrd": {
  7910. "description": "基本信息",
  7911. "$ref": "#/definitions/models.ErmcpWrstandard"
  7912. },
  7913. "wrsList": {
  7914. "description": "套保信息列表",
  7915. "type": "array",
  7916. "items": {
  7917. "$ref": "#/definitions/models.WRSConverTDetail"
  7918. }
  7919. }
  7920. }
  7921. },
  7922. "ermcp.QryWrStandardRsp": {
  7923. "type": "object",
  7924. "properties": {
  7925. "areauserid": {
  7926. "description": "所属机构",
  7927. "type": "integer"
  7928. },
  7929. "createtime": {
  7930. "description": "创建时间",
  7931. "type": "string"
  7932. },
  7933. "creatorid": {
  7934. "description": "创建人",
  7935. "type": "integer"
  7936. },
  7937. "deliverygoodsid": {
  7938. "description": "品种ID",
  7939. "type": "integer"
  7940. },
  7941. "enumdicname": {
  7942. "description": "单位名称",
  7943. "type": "string"
  7944. },
  7945. "isvalid": {
  7946. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  7947. "type": "integer"
  7948. },
  7949. "minivalue": {
  7950. "description": "最小变动值",
  7951. "type": "integer"
  7952. },
  7953. "minivaluedp": {
  7954. "description": "最小变动值小数位",
  7955. "type": "integer"
  7956. },
  7957. "realminivalue": {
  7958. "description": "实际最小变动值",
  7959. "type": "integer"
  7960. },
  7961. "realminivaluedp": {
  7962. "description": "实际最小变动值小数位",
  7963. "type": "integer"
  7964. },
  7965. "remark": {
  7966. "description": "备注",
  7967. "type": "string"
  7968. },
  7969. "unitid": {
  7970. "description": "单位ID",
  7971. "type": "integer"
  7972. },
  7973. "updatetime": {
  7974. "description": "更新时间",
  7975. "type": "string"
  7976. },
  7977. "wrstandardcode": {
  7978. "description": "现货商品代码",
  7979. "type": "string"
  7980. },
  7981. "wrstandardid": {
  7982. "description": "现货商品ID(SEQ_WRSTANDARD)",
  7983. "type": "integer"
  7984. },
  7985. "wrstandardname": {
  7986. "description": "现货商品名称",
  7987. "type": "string"
  7988. }
  7989. }
  7990. },
  7991. "ermcp.RealtimeExposurePositionRsp": {
  7992. "type": "object",
  7993. "properties": {
  7994. "areauserid": {
  7995. "description": "所属机构id",
  7996. "type": "integer"
  7997. },
  7998. "curqty": {
  7999. "description": "当前持仓",
  8000. "type": "integer"
  8001. },
  8002. "diffhedgeqty": {
  8003. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  8004. "type": "number"
  8005. },
  8006. "diffqty": {
  8007. "description": "持仓变动量=当前持仓-昨日持仓",
  8008. "type": "integer"
  8009. },
  8010. "goodscode": {
  8011. "description": "商品代码",
  8012. "type": "string"
  8013. },
  8014. "goodsid": {
  8015. "description": "商品id",
  8016. "type": "integer"
  8017. },
  8018. "goodsname": {
  8019. "description": "商品名称",
  8020. "type": "string"
  8021. },
  8022. "middlegoodsid": {
  8023. "description": "套保商品id",
  8024. "type": "integer"
  8025. },
  8026. "ydqty": {
  8027. "description": "昨日持仓",
  8028. "type": "integer"
  8029. }
  8030. }
  8031. },
  8032. "ermcp.RealtimeExposureRsp": {
  8033. "type": "object",
  8034. "properties": {
  8035. "areaUserID": {
  8036. "description": "所属机构",
  8037. "type": "integer"
  8038. },
  8039. "buyFutureQty": {
  8040. "description": "买入期货数量",
  8041. "type": "number"
  8042. },
  8043. "buyPlanQty": {
  8044. "description": "采购计划数量",
  8045. "type": "number"
  8046. },
  8047. "buyPricedQty": {
  8048. "description": "采购合同已定价数量",
  8049. "type": "number"
  8050. },
  8051. "diffFutuQty": {
  8052. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  8053. "type": "number"
  8054. },
  8055. "diffSpotQty": {
  8056. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  8057. "type": "number"
  8058. },
  8059. "middleGoodsCode": {
  8060. "description": "套保品种代码",
  8061. "type": "string"
  8062. },
  8063. "middleGoodsHedgeRatio": {
  8064. "description": "应套保比例",
  8065. "type": "number"
  8066. },
  8067. "middleGoodsID": {
  8068. "description": "套保品种",
  8069. "type": "integer"
  8070. },
  8071. "middleGoodsName": {
  8072. "description": "套保品种名称",
  8073. "type": "string"
  8074. },
  8075. "needHedgeExposoure": {
  8076. "description": "应套保敞口",
  8077. "type": "number"
  8078. },
  8079. "needHedgeRatio": {
  8080. "description": "应套保敞口比例",
  8081. "type": "number"
  8082. },
  8083. "oriBuyFutureQty": {
  8084. "description": "期初买入期货数量",
  8085. "type": "number"
  8086. },
  8087. "oriBuyPlanQty": {
  8088. "description": "期初采购计划数量",
  8089. "type": "number"
  8090. },
  8091. "oriBuyPricedQty": {
  8092. "description": "期初采购合同已定价数量",
  8093. "type": "number"
  8094. },
  8095. "oriSellFutureQty": {
  8096. "description": "期初卖出期货数量",
  8097. "type": "number"
  8098. },
  8099. "oriSellPlanQty": {
  8100. "description": "期初销售计划数量",
  8101. "type": "number"
  8102. },
  8103. "oriSellPricedQty": {
  8104. "description": "期初销售合同已定价数量",
  8105. "type": "number"
  8106. },
  8107. "oriTotalFutuQty": {
  8108. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  8109. "type": "number"
  8110. },
  8111. "oriTotalSpotQty": {
  8112. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  8113. "type": "number"
  8114. },
  8115. "sellFutureQty": {
  8116. "description": "卖出期货数量",
  8117. "type": "number"
  8118. },
  8119. "sellPlanQty": {
  8120. "description": "销售计划数量",
  8121. "type": "number"
  8122. },
  8123. "sellPricedQty": {
  8124. "description": "销售合同已定价数量",
  8125. "type": "number"
  8126. },
  8127. "totalExposure": {
  8128. "description": "总敞口",
  8129. "type": "number"
  8130. },
  8131. "totalFutureQty": {
  8132. "description": "期货数量",
  8133. "type": "number"
  8134. },
  8135. "totalHedgeRatio": {
  8136. "description": "敞口比例",
  8137. "type": "number"
  8138. },
  8139. "totalNeedHedgeQty": {
  8140. "description": "期货应套保量",
  8141. "type": "number"
  8142. },
  8143. "totalSpotQty": {
  8144. "description": "现货数量",
  8145. "type": "number"
  8146. }
  8147. }
  8148. },
  8149. "erms2.QueryArbitrageStrategyRsp": {
  8150. "type": "object",
  8151. "required": [
  8152. "asapplyid"
  8153. ],
  8154. "properties": {
  8155. "applybasis": {
  8156. "description": "申请基差",
  8157. "type": "number"
  8158. },
  8159. "asapplyid": {
  8160. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  8161. "type": "string"
  8162. },
  8163. "asname": {
  8164. "description": "策略名称",
  8165. "type": "string"
  8166. },
  8167. "asno": {
  8168. "description": "策略编号",
  8169. "type": "string"
  8170. },
  8171. "basischangepl": {
  8172. "description": "基差变动损益[结算更新]",
  8173. "type": "number"
  8174. },
  8175. "biztype": {
  8176. "description": "业务类型 - 1:正向套利 -1:反向套利",
  8177. "type": "integer"
  8178. },
  8179. "closetradedate": {
  8180. "description": "完结交易日(yyyyMMdd)",
  8181. "type": "string"
  8182. },
  8183. "curbasis": {
  8184. "description": "当前基差[结算更新]",
  8185. "type": "number"
  8186. },
  8187. "deliverygoodsid": {
  8188. "description": "现货品种ID",
  8189. "type": "integer"
  8190. },
  8191. "futureavgprice": {
  8192. "description": "期货建仓均价",
  8193. "type": "number"
  8194. },
  8195. "futurecloseamount": {
  8196. "description": "期货平仓金额",
  8197. "type": "number"
  8198. },
  8199. "futurecloseqty": {
  8200. "description": "期货平仓数量",
  8201. "type": "number"
  8202. },
  8203. "futureopenamount": {
  8204. "description": "期货开仓金额",
  8205. "type": "number"
  8206. },
  8207. "futureopenqty": {
  8208. "description": "期货开仓数量",
  8209. "type": "number"
  8210. },
  8211. "futurepl": {
  8212. "description": "期货总盈亏[结算更新]",
  8213. "type": "number"
  8214. },
  8215. "futureqty": {
  8216. "description": "期货持仓数量",
  8217. "type": "number"
  8218. },
  8219. "futurequote": {
  8220. "description": "期货额度",
  8221. "type": "number"
  8222. },
  8223. "goodsgroupid": {
  8224. "description": "期货品种ID",
  8225. "type": "integer"
  8226. },
  8227. "marketid": {
  8228. "description": "市场ID",
  8229. "type": "integer"
  8230. },
  8231. "netexposure": {
  8232. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  8233. "type": "number"
  8234. },
  8235. "netexposurepl": {
  8236. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  8237. "type": "number"
  8238. },
  8239. "netexposurerate": {
  8240. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  8241. "type": "number"
  8242. },
  8243. "openbasis": {
  8244. "description": "建仓基差",
  8245. "type": "number"
  8246. },
  8247. "pricedspotqty": {
  8248. "description": "已定价现货数量",
  8249. "type": "number"
  8250. },
  8251. "pricedspotqtynotax": {
  8252. "description": "已定价现货不含税数量",
  8253. "type": "number"
  8254. },
  8255. "remark": {
  8256. "description": "备注",
  8257. "type": "string"
  8258. },
  8259. "spotavgprice": {
  8260. "description": "现货均价",
  8261. "type": "number"
  8262. },
  8263. "spotbuyamount": {
  8264. "description": "现货采购金额",
  8265. "type": "number"
  8266. },
  8267. "spotbuyqty": {
  8268. "description": "现货采购数量",
  8269. "type": "number"
  8270. },
  8271. "spotpl": {
  8272. "description": "现货总盈亏[结算更新]",
  8273. "type": "number"
  8274. },
  8275. "spotquota": {
  8276. "description": "现货额度",
  8277. "type": "number"
  8278. },
  8279. "spotsellamount": {
  8280. "description": "现货销售金额",
  8281. "type": "number"
  8282. },
  8283. "spotsellqty": {
  8284. "description": "现货销售数量",
  8285. "type": "number"
  8286. },
  8287. "spotusedquota": {
  8288. "description": "现货占用资金",
  8289. "type": "number"
  8290. },
  8291. "strategystatus": {
  8292. "description": "策略状态 - 0:未结束 1:已结束",
  8293. "type": "integer"
  8294. },
  8295. "totalpl": {
  8296. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  8297. "type": "number"
  8298. },
  8299. "tradedate": {
  8300. "description": "交易日(yyyyMMdd)",
  8301. "type": "string"
  8302. },
  8303. "updatetime": {
  8304. "description": "更新时间",
  8305. "type": "string"
  8306. },
  8307. "usedquota": {
  8308. "description": "已占用资金",
  8309. "type": "number"
  8310. },
  8311. "userid": {
  8312. "description": "所属机构",
  8313. "type": "integer"
  8314. }
  8315. }
  8316. },
  8317. "erms2.QueryInnerTradeDetailRsp": {
  8318. "type": "object",
  8319. "required": [
  8320. "asapplyid",
  8321. "buyorsell",
  8322. "goodscode",
  8323. "goodsgroupid",
  8324. "goodsgroupname",
  8325. "goodsname",
  8326. "tradeid"
  8327. ],
  8328. "properties": {
  8329. "accountid": {
  8330. "description": "账号ID",
  8331. "type": "integer"
  8332. },
  8333. "agreeunit": {
  8334. "description": "合约单位",
  8335. "type": "number"
  8336. },
  8337. "asapplyid": {
  8338. "description": "策略申请ID",
  8339. "type": "integer"
  8340. },
  8341. "asname": {
  8342. "description": "策略名称",
  8343. "type": "string"
  8344. },
  8345. "asno": {
  8346. "description": "策略编号",
  8347. "type": "string"
  8348. },
  8349. "buyorsell": {
  8350. "description": "方向 - 0:买 1:卖",
  8351. "type": "integer"
  8352. },
  8353. "channelbuildtype": {
  8354. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  8355. "type": "integer"
  8356. },
  8357. "closetype": {
  8358. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  8359. "type": "integer"
  8360. },
  8361. "decimalplace": {
  8362. "description": "报价小数位",
  8363. "type": "integer"
  8364. },
  8365. "detailtype": {
  8366. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  8367. "type": "integer"
  8368. },
  8369. "exexchangecode": {
  8370. "description": "外部交易所代码",
  8371. "type": "string"
  8372. },
  8373. "exexchangename": {
  8374. "description": "外部交易所名称",
  8375. "type": "string"
  8376. },
  8377. "goodscode": {
  8378. "description": "商品代码(合约)",
  8379. "type": "string"
  8380. },
  8381. "goodsgroupid": {
  8382. "description": "商品组ID(品种ID)",
  8383. "type": "integer"
  8384. },
  8385. "goodsgroupname": {
  8386. "description": "商品组名称(品种)",
  8387. "type": "string"
  8388. },
  8389. "goodsid": {
  8390. "description": "商品ID",
  8391. "type": "integer"
  8392. },
  8393. "goodsname": {
  8394. "description": "商品名称(合约)",
  8395. "type": "string"
  8396. },
  8397. "goodunit": {
  8398. "description": "报价单位",
  8399. "type": "string"
  8400. },
  8401. "marketid": {
  8402. "description": "市场ID",
  8403. "type": "integer"
  8404. },
  8405. "orderid": {
  8406. "description": "委托单号",
  8407. "type": "string"
  8408. },
  8409. "outgoodscode": {
  8410. "description": "商品代码(外部)",
  8411. "type": "string"
  8412. },
  8413. "relatedouttradeid": {
  8414. "description": "关联外部成交单ID",
  8415. "type": "string"
  8416. },
  8417. "remark": {
  8418. "description": "备注",
  8419. "type": "string"
  8420. },
  8421. "spotcontractid": {
  8422. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  8423. "type": "integer"
  8424. },
  8425. "spotcontractno": {
  8426. "description": "现货合同编号",
  8427. "type": "string"
  8428. },
  8429. "tradeid": {
  8430. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8431. "type": "string"
  8432. },
  8433. "tradeprice": {
  8434. "description": "成交价格",
  8435. "type": "number"
  8436. },
  8437. "tradeqty": {
  8438. "description": "成交数量",
  8439. "type": "integer"
  8440. },
  8441. "tradetime": {
  8442. "description": "成交时间",
  8443. "type": "string"
  8444. },
  8445. "updatetime": {
  8446. "description": "更新时间",
  8447. "type": "string"
  8448. }
  8449. }
  8450. },
  8451. "erms2.QuerySpotContractRsp": {
  8452. "type": "object",
  8453. "required": [
  8454. "spotcontractid"
  8455. ],
  8456. "properties": {
  8457. "accountid": {
  8458. "description": "资金账户ID",
  8459. "type": "integer"
  8460. },
  8461. "areauserid": {
  8462. "description": "所属机构",
  8463. "type": "integer"
  8464. },
  8465. "closedate": {
  8466. "description": "终止日期",
  8467. "type": "string"
  8468. },
  8469. "closeremark": {
  8470. "description": "结束备注",
  8471. "type": "string"
  8472. },
  8473. "closetradedate": {
  8474. "description": "完结交易日(yyyyMMdd)",
  8475. "type": "string"
  8476. },
  8477. "closetype": {
  8478. "description": "终止类型 - 1:违约 2:提前终止",
  8479. "type": "integer"
  8480. },
  8481. "contractamount": {
  8482. "description": "合同金额",
  8483. "type": "number"
  8484. },
  8485. "contractattachment": {
  8486. "description": "合同附件",
  8487. "type": "string"
  8488. },
  8489. "contractno": {
  8490. "description": "现货合同编号",
  8491. "type": "string"
  8492. },
  8493. "contractqty": {
  8494. "description": "合同数量(数值) (用于计算)",
  8495. "type": "number"
  8496. },
  8497. "contractqtychar": {
  8498. "description": "合同数量\\已订价数量 (用于显示)",
  8499. "type": "string"
  8500. },
  8501. "contractstatus": {
  8502. "description": "合同状态 - 0:未结束 1:已结束",
  8503. "type": "integer"
  8504. },
  8505. "contracttype": {
  8506. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  8507. "type": "integer"
  8508. },
  8509. "customeraccountid": {
  8510. "description": "客户资金账户ID",
  8511. "type": "integer"
  8512. },
  8513. "customeruserid": {
  8514. "description": "客户ID",
  8515. "type": "integer"
  8516. },
  8517. "deliverygoodsdesc": {
  8518. "description": "品种说明",
  8519. "type": "string"
  8520. },
  8521. "deliverygoodsid": {
  8522. "description": "现货品种ID",
  8523. "type": "integer"
  8524. },
  8525. "handlestatus": {
  8526. "description": "处理状态",
  8527. "type": "integer"
  8528. },
  8529. "invoiceatt": {
  8530. "description": "发票附件",
  8531. "type": "string"
  8532. },
  8533. "invoicedatetime": {
  8534. "description": "开收票更新时间",
  8535. "type": "string"
  8536. },
  8537. "invoiceopentime": {
  8538. "description": "开票时间",
  8539. "type": "string"
  8540. },
  8541. "invoiceremark": {
  8542. "description": "发票备注",
  8543. "type": "string"
  8544. },
  8545. "invoicestatus": {
  8546. "description": "开收票状态 - 0:未开票 1:已开票",
  8547. "type": "integer"
  8548. },
  8549. "lastdate": {
  8550. "description": "交货时间",
  8551. "type": "string"
  8552. },
  8553. "marketid": {
  8554. "description": "市场ID",
  8555. "type": "integer"
  8556. },
  8557. "paydatetime": {
  8558. "description": "收付款更新时间",
  8559. "type": "string"
  8560. },
  8561. "payremark": {
  8562. "description": "收付款备注",
  8563. "type": "string"
  8564. },
  8565. "paystatus": {
  8566. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  8567. "type": "integer"
  8568. },
  8569. "positionqty": {
  8570. "description": "头寸数量 - 合同数量去小数部分",
  8571. "type": "integer"
  8572. },
  8573. "producttype": {
  8574. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8575. "type": "integer"
  8576. },
  8577. "relatedqty": {
  8578. "description": "已关联数量",
  8579. "type": "number"
  8580. },
  8581. "relatedstatus": {
  8582. "description": "关联完结状态 - 0:未结束 1:已结束",
  8583. "type": "integer"
  8584. },
  8585. "remark": {
  8586. "description": "备注",
  8587. "type": "string"
  8588. },
  8589. "signdate": {
  8590. "description": "签订日期",
  8591. "type": "string"
  8592. },
  8593. "spotcontractid": {
  8594. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  8595. "type": "string"
  8596. },
  8597. "spotdatetime": {
  8598. "description": "收发货更新时间",
  8599. "type": "string"
  8600. },
  8601. "spotprice": {
  8602. "description": "价格",
  8603. "type": "number"
  8604. },
  8605. "spotremark": {
  8606. "description": "收发货备注",
  8607. "type": "string"
  8608. },
  8609. "spotstatus": {
  8610. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  8611. "type": "integer"
  8612. },
  8613. "tradedate": {
  8614. "description": "交易日(yyyyMMdd)",
  8615. "type": "string"
  8616. },
  8617. "userid": {
  8618. "description": "业务员用户ID",
  8619. "type": "integer"
  8620. },
  8621. "warehouseid": {
  8622. "description": "仓库ID",
  8623. "type": "integer"
  8624. },
  8625. "wrfactortypeid": {
  8626. "description": "仓单要素类型ID",
  8627. "type": "integer"
  8628. },
  8629. "wrstandardid": {
  8630. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  8631. "type": "integer"
  8632. }
  8633. }
  8634. },
  8635. "erms3.AddErms2ASApplyReq": {
  8636. "type": "object",
  8637. "required": [
  8638. "asapplyid"
  8639. ],
  8640. "properties": {
  8641. "applybasis": {
  8642. "description": "申请基差",
  8643. "type": "number"
  8644. },
  8645. "applystatus": {
  8646. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  8647. "type": "integer"
  8648. },
  8649. "asapplyid": {
  8650. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  8651. "type": "integer"
  8652. },
  8653. "asname": {
  8654. "description": "策略名称",
  8655. "type": "string"
  8656. },
  8657. "asno": {
  8658. "description": "策略编号",
  8659. "type": "string"
  8660. },
  8661. "auditid": {
  8662. "description": "审核人",
  8663. "type": "integer"
  8664. },
  8665. "auditremark": {
  8666. "description": "审核备注",
  8667. "type": "string"
  8668. },
  8669. "audittime": {
  8670. "description": "审核时间",
  8671. "type": "string"
  8672. },
  8673. "biztype": {
  8674. "description": "业务类型 - 1:正向套利 2:反向套利",
  8675. "type": "integer"
  8676. },
  8677. "createtime": {
  8678. "description": "创建时间",
  8679. "type": "string"
  8680. },
  8681. "creatorid": {
  8682. "description": "创建人",
  8683. "type": "integer"
  8684. },
  8685. "deliverygoodsid": {
  8686. "description": "现货品种ID",
  8687. "type": "integer"
  8688. },
  8689. "futurequote": {
  8690. "description": "期货额度",
  8691. "type": "number"
  8692. },
  8693. "goodsgroupid": {
  8694. "description": "期货品种ID",
  8695. "type": "integer"
  8696. },
  8697. "marketid": {
  8698. "description": "市场ID",
  8699. "type": "integer"
  8700. },
  8701. "remark": {
  8702. "description": "备注",
  8703. "type": "string"
  8704. },
  8705. "spotquota": {
  8706. "description": "现货额度",
  8707. "type": "number"
  8708. },
  8709. "tradedate": {
  8710. "description": "交易日(yyyyMMdd)",
  8711. "type": "string"
  8712. },
  8713. "userid": {
  8714. "description": "所属机构",
  8715. "type": "integer"
  8716. }
  8717. }
  8718. },
  8719. "erms3.AddErms2SpotTradeApplyReq": {
  8720. "type": "object",
  8721. "required": [
  8722. "spottradeid"
  8723. ],
  8724. "properties": {
  8725. "applyjsondetail": {
  8726. "description": "申请明细(JSON)",
  8727. "type": "string"
  8728. },
  8729. "applystatus": {
  8730. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  8731. "type": "integer"
  8732. },
  8733. "areauserid": {
  8734. "description": "所属机构",
  8735. "type": "integer"
  8736. },
  8737. "auditid": {
  8738. "description": "审核人",
  8739. "type": "integer"
  8740. },
  8741. "auditremark": {
  8742. "description": "审核备注",
  8743. "type": "string"
  8744. },
  8745. "audittime": {
  8746. "description": "审核时间",
  8747. "type": "string"
  8748. },
  8749. "createtime": {
  8750. "description": "创建时间",
  8751. "type": "string"
  8752. },
  8753. "creatorid": {
  8754. "description": "创建人",
  8755. "type": "integer"
  8756. },
  8757. "deliverygoodsid": {
  8758. "description": "现货品种ID",
  8759. "type": "integer"
  8760. },
  8761. "futureaccountid": {
  8762. "description": "期货资金账户",
  8763. "type": "integer"
  8764. },
  8765. "goodsgroupid": {
  8766. "description": "期货品种",
  8767. "type": "integer"
  8768. },
  8769. "marketid": {
  8770. "description": "市场ID",
  8771. "type": "integer"
  8772. },
  8773. "remark": {
  8774. "description": "备注",
  8775. "type": "string"
  8776. },
  8777. "spotaccountid": {
  8778. "description": "现货资金账户",
  8779. "type": "integer"
  8780. },
  8781. "spottradeid": {
  8782. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  8783. "type": "integer"
  8784. },
  8785. "spottradename": {
  8786. "description": "业务名称",
  8787. "type": "string"
  8788. },
  8789. "spottradeno": {
  8790. "description": "业务编号",
  8791. "type": "string"
  8792. },
  8793. "tradedate": {
  8794. "description": "交易日(yyyyMMdd)",
  8795. "type": "string"
  8796. },
  8797. "wrstandardid": {
  8798. "description": "仓单标准ID",
  8799. "type": "integer"
  8800. }
  8801. }
  8802. },
  8803. "erms3.AddSpotContractApplyReq": {
  8804. "type": "object",
  8805. "required": [
  8806. "accountid",
  8807. "areauserid",
  8808. "contractno",
  8809. "contracttype",
  8810. "customeraccountid",
  8811. "customeruserid",
  8812. "details",
  8813. "orimargin",
  8814. "signdate"
  8815. ],
  8816. "properties": {
  8817. "accountid": {
  8818. "description": "资金账户ID",
  8819. "type": "integer"
  8820. },
  8821. "areauserid": {
  8822. "description": "所属机构",
  8823. "type": "integer"
  8824. },
  8825. "contractattachment": {
  8826. "description": "合同附件",
  8827. "type": "string"
  8828. },
  8829. "contractno": {
  8830. "description": "现货合同编号",
  8831. "type": "string"
  8832. },
  8833. "contracttype": {
  8834. "description": "现货合同类型 - 1:采购 -1:销售",
  8835. "type": "integer"
  8836. },
  8837. "creatorid": {
  8838. "description": "申请人",
  8839. "type": "integer"
  8840. },
  8841. "customeraccountid": {
  8842. "description": "客户资金账户ID",
  8843. "type": "integer"
  8844. },
  8845. "customeruserid": {
  8846. "description": "客户ID",
  8847. "type": "integer"
  8848. },
  8849. "details": {
  8850. "description": "明细",
  8851. "type": "array",
  8852. "items": {
  8853. "$ref": "#/definitions/erms3.SoptContractDetail"
  8854. }
  8855. },
  8856. "orimargin": {
  8857. "description": "初始保证金",
  8858. "type": "number"
  8859. },
  8860. "remark": {
  8861. "description": "备注",
  8862. "type": "string"
  8863. },
  8864. "signdate": {
  8865. "description": "签订日期",
  8866. "type": "string"
  8867. }
  8868. }
  8869. },
  8870. "erms3.AddSpotContractApplyRsp": {
  8871. "type": "object",
  8872. "required": [
  8873. "contractno"
  8874. ],
  8875. "properties": {
  8876. "contractno": {
  8877. "description": "现货合同编号",
  8878. "type": "string"
  8879. },
  8880. "spotcontractid": {
  8881. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  8882. "type": "integer"
  8883. }
  8884. }
  8885. },
  8886. "erms3.AddUserInfoApplyReq": {
  8887. "type": "object",
  8888. "required": [
  8889. "userid"
  8890. ],
  8891. "properties": {
  8892. "accountid": {
  8893. "description": "交易系统帐号Id (加密存储)",
  8894. "type": "integer"
  8895. },
  8896. "areacode": {
  8897. "description": "机构代码",
  8898. "type": "string"
  8899. },
  8900. "areaid": {
  8901. "description": "机构Id",
  8902. "type": "integer"
  8903. },
  8904. "attachment1": {
  8905. "description": "附件1",
  8906. "type": "string"
  8907. },
  8908. "attachment2": {
  8909. "description": "附件2",
  8910. "type": "string"
  8911. },
  8912. "attachment3": {
  8913. "description": "附件3",
  8914. "type": "string"
  8915. },
  8916. "attachment4": {
  8917. "description": "附件4",
  8918. "type": "string"
  8919. },
  8920. "attachment5": {
  8921. "description": "附件5",
  8922. "type": "string"
  8923. },
  8924. "auditedby": {
  8925. "description": "审核人",
  8926. "type": "string"
  8927. },
  8928. "auditime": {
  8929. "description": "审核时间",
  8930. "type": "string"
  8931. },
  8932. "bankaccount": {
  8933. "description": "银行帐号 (加密存储)",
  8934. "type": "string"
  8935. },
  8936. "bankaccountname": {
  8937. "description": "收款人名称",
  8938. "type": "string"
  8939. },
  8940. "bankcardbackphotourl": {
  8941. "description": "银行卡背面照地址",
  8942. "type": "string"
  8943. },
  8944. "bankcardfrontphotourl": {
  8945. "description": "银行卡正面照地址",
  8946. "type": "string"
  8947. },
  8948. "bankid": {
  8949. "description": "银行编码",
  8950. "type": "string"
  8951. },
  8952. "bankname": {
  8953. "description": "银行名称",
  8954. "type": "string"
  8955. },
  8956. "bankpictureurl": {
  8957. "description": "银行卡正面地址",
  8958. "type": "string"
  8959. },
  8960. "biznature": {
  8961. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8962. "type": "integer"
  8963. },
  8964. "bizscope": {
  8965. "description": "企业经营范围(企业)",
  8966. "type": "string"
  8967. },
  8968. "biztype": {
  8969. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  8970. "type": "integer"
  8971. },
  8972. "brokerid": {
  8973. "description": "经纪人ID(加密存储)",
  8974. "type": "string"
  8975. },
  8976. "cardaddress": {
  8977. "description": "证件地址 (加密存储)",
  8978. "type": "string"
  8979. },
  8980. "cardbackphotourl": {
  8981. "description": "背面证件照地址",
  8982. "type": "string"
  8983. },
  8984. "cardfrontphotourl": {
  8985. "description": "正面证件照地址",
  8986. "type": "string"
  8987. },
  8988. "cardnum": {
  8989. "description": "证件号码 (加密存储)",
  8990. "type": "string"
  8991. },
  8992. "cardtype": {
  8993. "description": "证件类型",
  8994. "type": "integer"
  8995. },
  8996. "cityid": {
  8997. "description": "市",
  8998. "type": "integer"
  8999. },
  9000. "company": {
  9001. "description": "公司(个人)",
  9002. "type": "string"
  9003. },
  9004. "contactcardbackphotourl": {
  9005. "description": "联系人证件背面图片地址",
  9006. "type": "string"
  9007. },
  9008. "contactcardfrontphotourl": {
  9009. "description": "联系人证件正面图片地址",
  9010. "type": "string"
  9011. },
  9012. "contactname": {
  9013. "description": "联系人",
  9014. "type": "string"
  9015. },
  9016. "countryid": {
  9017. "description": "国家",
  9018. "type": "integer"
  9019. },
  9020. "createtime": {
  9021. "description": "开户申请时间",
  9022. "type": "string"
  9023. },
  9024. "cusbankid": {
  9025. "description": "签约类型",
  9026. "type": "string"
  9027. },
  9028. "cusbankname": {
  9029. "description": "签约类型名称",
  9030. "type": "string"
  9031. },
  9032. "customername": {
  9033. "description": "客户名称(企业名称)",
  9034. "type": "string"
  9035. },
  9036. "districtid": {
  9037. "description": "地区",
  9038. "type": "integer"
  9039. },
  9040. "email": {
  9041. "description": "Email地址(加密存储)",
  9042. "type": "string"
  9043. },
  9044. "halfbodyphotourl": {
  9045. "description": "半身照地址",
  9046. "type": "string"
  9047. },
  9048. "headurl": {
  9049. "description": "头像地址",
  9050. "type": "string"
  9051. },
  9052. "ipaddress": {
  9053. "description": "IP地址",
  9054. "type": "string"
  9055. },
  9056. "isvalidate": {
  9057. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  9058. "type": "string"
  9059. },
  9060. "legalcardbackphotourl": {
  9061. "description": "法人身份证背面照地址",
  9062. "type": "string"
  9063. },
  9064. "legalcardfrontphotourl": {
  9065. "description": "法人身份证正面照地址",
  9066. "type": "string"
  9067. },
  9068. "legalpersonname": {
  9069. "description": "法人姓名(企业)",
  9070. "type": "string"
  9071. },
  9072. "logincode": {
  9073. "description": "登录帐号 (加密存储)",
  9074. "type": "string"
  9075. },
  9076. "memberareaid": {
  9077. "description": "所属会员ID",
  9078. "type": "integer"
  9079. },
  9080. "mobile2": {
  9081. "description": "手机号码[明文-尚志]",
  9082. "type": "string"
  9083. },
  9084. "mobilephone": {
  9085. "description": "手机号码 (加密存储)",
  9086. "type": "string"
  9087. },
  9088. "modifiedby": {
  9089. "description": "修改人帐号",
  9090. "type": "integer"
  9091. },
  9092. "modifiedtime": {
  9093. "description": "修改时间",
  9094. "type": "string"
  9095. },
  9096. "nickname": {
  9097. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  9098. "type": "string"
  9099. },
  9100. "openmode": {
  9101. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  9102. "type": "integer"
  9103. },
  9104. "otherurl": {
  9105. "description": "其它图片地址[使用分号分隔]",
  9106. "type": "string"
  9107. },
  9108. "postalcode": {
  9109. "description": "邮政编码",
  9110. "type": "string"
  9111. },
  9112. "provinceid": {
  9113. "description": "省",
  9114. "type": "integer"
  9115. },
  9116. "proxystatementurl": {
  9117. "description": "授权委托书",
  9118. "type": "string"
  9119. },
  9120. "qq": {
  9121. "description": "QQ(加密存储",
  9122. "type": "string"
  9123. },
  9124. "referral": {
  9125. "description": "推荐人编码",
  9126. "type": "string"
  9127. },
  9128. "remark": {
  9129. "description": "备注",
  9130. "type": "string"
  9131. },
  9132. "removebeforestatus": {
  9133. "description": "REMOVEBEFORESTATUS",
  9134. "type": "integer"
  9135. },
  9136. "sex": {
  9137. "description": "性别 - 0:女 1:男",
  9138. "type": "integer"
  9139. },
  9140. "signedstatus": {
  9141. "description": "账户一号签签约状态",
  9142. "type": "integer"
  9143. },
  9144. "signpdfurl": {
  9145. "description": "签约pdf文件",
  9146. "type": "string"
  9147. },
  9148. "subbranch": {
  9149. "description": "开户支行",
  9150. "type": "string"
  9151. },
  9152. "telphone": {
  9153. "description": "联系电话(加密存储)",
  9154. "type": "string"
  9155. },
  9156. "userid": {
  9157. "description": "用户ID(自增ID)",
  9158. "type": "integer"
  9159. },
  9160. "userinfotype": {
  9161. "description": "用户信息类型 - 1:个人 2:企业",
  9162. "type": "integer"
  9163. },
  9164. "username": {
  9165. "description": "用户姓名",
  9166. "type": "string"
  9167. },
  9168. "userstate": {
  9169. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9170. "type": "integer"
  9171. },
  9172. "usertype": {
  9173. "description": "用户类型 - 1:投资者 2:机构",
  9174. "type": "integer"
  9175. },
  9176. "videourl": {
  9177. "description": "视频地址",
  9178. "type": "string"
  9179. },
  9180. "wechat": {
  9181. "description": "微信号 (加密存储)",
  9182. "type": "string"
  9183. }
  9184. }
  9185. },
  9186. "erms3.CustomerInfo": {
  9187. "type": "object",
  9188. "required": [
  9189. "userid"
  9190. ],
  9191. "properties": {
  9192. "accountids": {
  9193. "description": "资金账户ID列表",
  9194. "type": "array",
  9195. "items": {
  9196. "type": "integer"
  9197. }
  9198. },
  9199. "customername": {
  9200. "description": "名称(企业名称)",
  9201. "type": "string"
  9202. },
  9203. "mobile": {
  9204. "description": "手机号码",
  9205. "type": "string"
  9206. },
  9207. "userid": {
  9208. "description": "用户ID",
  9209. "type": "integer"
  9210. }
  9211. }
  9212. },
  9213. "erms3.ModifyUserInfoApplyReq": {
  9214. "type": "object",
  9215. "required": [
  9216. "userid"
  9217. ],
  9218. "properties": {
  9219. "accountid": {
  9220. "description": "交易系统帐号Id (加密存储)",
  9221. "type": "integer"
  9222. },
  9223. "areacode": {
  9224. "description": "机构代码",
  9225. "type": "string"
  9226. },
  9227. "areaid": {
  9228. "description": "机构Id",
  9229. "type": "integer"
  9230. },
  9231. "attachment1": {
  9232. "description": "附件1",
  9233. "type": "string"
  9234. },
  9235. "attachment2": {
  9236. "description": "附件2",
  9237. "type": "string"
  9238. },
  9239. "attachment3": {
  9240. "description": "附件3",
  9241. "type": "string"
  9242. },
  9243. "attachment4": {
  9244. "description": "附件4",
  9245. "type": "string"
  9246. },
  9247. "attachment5": {
  9248. "description": "附件5",
  9249. "type": "string"
  9250. },
  9251. "auditedby": {
  9252. "description": "审核人",
  9253. "type": "string"
  9254. },
  9255. "auditime": {
  9256. "description": "审核时间",
  9257. "type": "string"
  9258. },
  9259. "bankaccount": {
  9260. "description": "银行帐号 (加密存储)",
  9261. "type": "string"
  9262. },
  9263. "bankaccountname": {
  9264. "description": "收款人名称",
  9265. "type": "string"
  9266. },
  9267. "bankcardbackphotourl": {
  9268. "description": "银行卡背面照地址",
  9269. "type": "string"
  9270. },
  9271. "bankcardfrontphotourl": {
  9272. "description": "银行卡正面照地址",
  9273. "type": "string"
  9274. },
  9275. "bankid": {
  9276. "description": "银行编码",
  9277. "type": "string"
  9278. },
  9279. "bankname": {
  9280. "description": "银行名称",
  9281. "type": "string"
  9282. },
  9283. "bankpictureurl": {
  9284. "description": "银行卡正面地址",
  9285. "type": "string"
  9286. },
  9287. "biznature": {
  9288. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9289. "type": "integer"
  9290. },
  9291. "bizscope": {
  9292. "description": "企业经营范围(企业)",
  9293. "type": "string"
  9294. },
  9295. "biztype": {
  9296. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  9297. "type": "integer"
  9298. },
  9299. "brokerid": {
  9300. "description": "经纪人ID(加密存储)",
  9301. "type": "string"
  9302. },
  9303. "cardaddress": {
  9304. "description": "证件地址 (加密存储)",
  9305. "type": "string"
  9306. },
  9307. "cardbackphotourl": {
  9308. "description": "背面证件照地址",
  9309. "type": "string"
  9310. },
  9311. "cardfrontphotourl": {
  9312. "description": "正面证件照地址",
  9313. "type": "string"
  9314. },
  9315. "cardnum": {
  9316. "description": "证件号码 (加密存储)",
  9317. "type": "string"
  9318. },
  9319. "cardtype": {
  9320. "description": "证件类型",
  9321. "type": "integer"
  9322. },
  9323. "cityid": {
  9324. "description": "市",
  9325. "type": "integer"
  9326. },
  9327. "company": {
  9328. "description": "公司(个人)",
  9329. "type": "string"
  9330. },
  9331. "contactcardbackphotourl": {
  9332. "description": "联系人证件背面图片地址",
  9333. "type": "string"
  9334. },
  9335. "contactcardfrontphotourl": {
  9336. "description": "联系人证件正面图片地址",
  9337. "type": "string"
  9338. },
  9339. "contactname": {
  9340. "description": "联系人",
  9341. "type": "string"
  9342. },
  9343. "countryid": {
  9344. "description": "国家",
  9345. "type": "integer"
  9346. },
  9347. "createtime": {
  9348. "description": "开户申请时间",
  9349. "type": "string"
  9350. },
  9351. "cusbankid": {
  9352. "description": "签约类型",
  9353. "type": "string"
  9354. },
  9355. "cusbankname": {
  9356. "description": "签约类型名称",
  9357. "type": "string"
  9358. },
  9359. "customername": {
  9360. "description": "客户名称(企业名称)",
  9361. "type": "string"
  9362. },
  9363. "districtid": {
  9364. "description": "地区",
  9365. "type": "integer"
  9366. },
  9367. "email": {
  9368. "description": "Email地址(加密存储)",
  9369. "type": "string"
  9370. },
  9371. "halfbodyphotourl": {
  9372. "description": "半身照地址",
  9373. "type": "string"
  9374. },
  9375. "headurl": {
  9376. "description": "头像地址",
  9377. "type": "string"
  9378. },
  9379. "ipaddress": {
  9380. "description": "IP地址",
  9381. "type": "string"
  9382. },
  9383. "isvalidate": {
  9384. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  9385. "type": "string"
  9386. },
  9387. "legalcardbackphotourl": {
  9388. "description": "法人身份证背面照地址",
  9389. "type": "string"
  9390. },
  9391. "legalcardfrontphotourl": {
  9392. "description": "法人身份证正面照地址",
  9393. "type": "string"
  9394. },
  9395. "legalpersonname": {
  9396. "description": "法人姓名(企业)",
  9397. "type": "string"
  9398. },
  9399. "logincode": {
  9400. "description": "登录帐号 (加密存储)",
  9401. "type": "string"
  9402. },
  9403. "memberareaid": {
  9404. "description": "所属会员ID",
  9405. "type": "integer"
  9406. },
  9407. "mobile2": {
  9408. "description": "手机号码[明文-尚志]",
  9409. "type": "string"
  9410. },
  9411. "mobilephone": {
  9412. "description": "手机号码 (加密存储)",
  9413. "type": "string"
  9414. },
  9415. "modifiedby": {
  9416. "description": "修改人帐号",
  9417. "type": "integer"
  9418. },
  9419. "modifiedtime": {
  9420. "description": "修改时间",
  9421. "type": "string"
  9422. },
  9423. "nickname": {
  9424. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  9425. "type": "string"
  9426. },
  9427. "openmode": {
  9428. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  9429. "type": "integer"
  9430. },
  9431. "otherurl": {
  9432. "description": "其它图片地址[使用分号分隔]",
  9433. "type": "string"
  9434. },
  9435. "postalcode": {
  9436. "description": "邮政编码",
  9437. "type": "string"
  9438. },
  9439. "provinceid": {
  9440. "description": "省",
  9441. "type": "integer"
  9442. },
  9443. "proxystatementurl": {
  9444. "description": "授权委托书",
  9445. "type": "string"
  9446. },
  9447. "qq": {
  9448. "description": "QQ(加密存储",
  9449. "type": "string"
  9450. },
  9451. "referral": {
  9452. "description": "推荐人编码",
  9453. "type": "string"
  9454. },
  9455. "remark": {
  9456. "description": "备注",
  9457. "type": "string"
  9458. },
  9459. "removebeforestatus": {
  9460. "description": "REMOVEBEFORESTATUS",
  9461. "type": "integer"
  9462. },
  9463. "sex": {
  9464. "description": "性别 - 0:女 1:男",
  9465. "type": "integer"
  9466. },
  9467. "signedstatus": {
  9468. "description": "账户一号签签约状态",
  9469. "type": "integer"
  9470. },
  9471. "signpdfurl": {
  9472. "description": "签约pdf文件",
  9473. "type": "string"
  9474. },
  9475. "subbranch": {
  9476. "description": "开户支行",
  9477. "type": "string"
  9478. },
  9479. "telphone": {
  9480. "description": "联系电话(加密存储)",
  9481. "type": "string"
  9482. },
  9483. "userid": {
  9484. "description": "用户ID(自增ID)",
  9485. "type": "integer"
  9486. },
  9487. "userinfotype": {
  9488. "description": "用户信息类型 - 1:个人 2:企业",
  9489. "type": "integer"
  9490. },
  9491. "username": {
  9492. "description": "用户姓名",
  9493. "type": "string"
  9494. },
  9495. "userstate": {
  9496. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9497. "type": "integer"
  9498. },
  9499. "usertype": {
  9500. "description": "用户类型 - 1:投资者 2:机构",
  9501. "type": "integer"
  9502. },
  9503. "videourl": {
  9504. "description": "视频地址",
  9505. "type": "string"
  9506. },
  9507. "wechat": {
  9508. "description": "微信号 (加密存储)",
  9509. "type": "string"
  9510. }
  9511. }
  9512. },
  9513. "erms3.QryAuditContractRsp": {
  9514. "type": "object",
  9515. "required": [
  9516. "matchcustomername",
  9517. "spotcontractid"
  9518. ],
  9519. "properties": {
  9520. "accountid": {
  9521. "description": "交易员ID",
  9522. "type": "string"
  9523. },
  9524. "applystatus": {
  9525. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9526. "type": "integer"
  9527. },
  9528. "curdeliveryqty": {
  9529. "description": "未交收量",
  9530. "type": "integer"
  9531. },
  9532. "customername": {
  9533. "description": "采购方ID",
  9534. "type": "string"
  9535. },
  9536. "deliverygoodsid": {
  9537. "description": "品种ID",
  9538. "type": "string"
  9539. },
  9540. "deliveryqty": {
  9541. "description": "交收量",
  9542. "type": "integer"
  9543. },
  9544. "enumdicname": {
  9545. "description": "单位名称",
  9546. "type": "string"
  9547. },
  9548. "matchaccountid": {
  9549. "description": "业务员ID",
  9550. "type": "string"
  9551. },
  9552. "matchcustomername": {
  9553. "description": "销售方ID",
  9554. "type": "string"
  9555. },
  9556. "pricedqty": {
  9557. "description": "定价量",
  9558. "type": "number"
  9559. },
  9560. "signdate": {
  9561. "description": "签订日期",
  9562. "type": "string"
  9563. },
  9564. "spotcontractid": {
  9565. "description": "合同ID",
  9566. "type": "string"
  9567. },
  9568. "totaldqty": {
  9569. "description": "合同量",
  9570. "type": "number"
  9571. },
  9572. "unpricedqty": {
  9573. "description": "未定价量",
  9574. "type": "number"
  9575. },
  9576. "wrstandardname": {
  9577. "description": "商品名称",
  9578. "type": "string"
  9579. }
  9580. }
  9581. },
  9582. "erms3.QryPendingBizRsp": {
  9583. "type": "object",
  9584. "properties": {
  9585. "accountid": {
  9586. "description": "现货账户",
  9587. "type": "string"
  9588. },
  9589. "areaname": {
  9590. "description": "所属部门",
  9591. "type": "string"
  9592. },
  9593. "bizid": {
  9594. "description": "业务ID",
  9595. "type": "string"
  9596. },
  9597. "bizname": {
  9598. "description": "业务名称",
  9599. "type": "string"
  9600. },
  9601. "status": {
  9602. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9603. "type": "integer"
  9604. },
  9605. "type": {
  9606. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  9607. "type": "integer"
  9608. }
  9609. }
  9610. },
  9611. "erms3.QueryBusinessInfoRsp": {
  9612. "type": "object",
  9613. "properties": {
  9614. "businessid": {
  9615. "description": "业务ID.",
  9616. "type": "integer"
  9617. },
  9618. "buyamount": {
  9619. "description": "采购额.",
  9620. "type": "number"
  9621. },
  9622. "buyqty": {
  9623. "description": "采购量.",
  9624. "type": "string"
  9625. },
  9626. "futurepl": {
  9627. "description": "期货盈亏.",
  9628. "type": "number"
  9629. },
  9630. "futureqty": {
  9631. "description": "期货敞口.",
  9632. "type": "string"
  9633. },
  9634. "goodsid": {
  9635. "description": "商品名称/商品代码.",
  9636. "type": "string"
  9637. },
  9638. "hedgingqty": {
  9639. "description": "套保量.",
  9640. "type": "string"
  9641. },
  9642. "sellamount": {
  9643. "description": "销售额.",
  9644. "type": "number"
  9645. },
  9646. "sellqty": {
  9647. "description": "销售量.",
  9648. "type": "string"
  9649. },
  9650. "spotmarketvalue": {
  9651. "description": "现货市值.",
  9652. "type": "number"
  9653. },
  9654. "spotpl": {
  9655. "description": "浮动权益.",
  9656. "type": "number"
  9657. },
  9658. "spotqty": {
  9659. "description": "现货量.",
  9660. "type": "string"
  9661. },
  9662. "statu": {
  9663. "description": "状态,0-未结束 1-已结束.",
  9664. "type": "integer"
  9665. },
  9666. "totalpl": {
  9667. "description": "总盈亏.",
  9668. "type": "number"
  9669. },
  9670. "totalqty": {
  9671. "description": "总敞口.",
  9672. "type": "string"
  9673. },
  9674. "type": {
  9675. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  9676. "type": "integer"
  9677. }
  9678. }
  9679. },
  9680. "erms3.QuerySpotContractAppleFormRsp": {
  9681. "type": "object",
  9682. "properties": {
  9683. "goodses": {
  9684. "description": "合约列表",
  9685. "type": "array",
  9686. "items": {
  9687. "$ref": "#/definitions/models.GoodsIDAndName"
  9688. }
  9689. },
  9690. "oppositeusers": {
  9691. "description": "对方账号列表",
  9692. "type": "array",
  9693. "items": {
  9694. "$ref": "#/definitions/erms3.CustomerInfo"
  9695. }
  9696. },
  9697. "ouruser": {
  9698. "description": "我方账号",
  9699. "$ref": "#/definitions/erms3.CustomerInfo"
  9700. },
  9701. "warehouseinfos": {
  9702. "description": "仓库信息列表",
  9703. "type": "array",
  9704. "items": {
  9705. "$ref": "#/definitions/models.Warehouseinfo"
  9706. }
  9707. },
  9708. "wrstandards": {
  9709. "description": "仓单标准列表",
  9710. "type": "array",
  9711. "items": {
  9712. "$ref": "#/definitions/models.WRStandardInfo"
  9713. }
  9714. }
  9715. }
  9716. },
  9717. "erms3.QuerySpotContractInfoRsp": {
  9718. "type": "object",
  9719. "properties": {
  9720. "accountid": {
  9721. "description": "表示交易员ID.",
  9722. "type": "integer"
  9723. },
  9724. "curdeliveryqty": {
  9725. "description": "表示未交收量.",
  9726. "type": "number"
  9727. },
  9728. "customername": {
  9729. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  9730. "type": "string"
  9731. },
  9732. "deliverygoodsid": {
  9733. "description": "表示品种ID.",
  9734. "type": "string"
  9735. },
  9736. "deliveryqty": {
  9737. "description": "表示交收量.",
  9738. "type": "number"
  9739. },
  9740. "matchaccountid": {
  9741. "description": "表示业务员ID.",
  9742. "type": "integer"
  9743. },
  9744. "matchcustomername": {
  9745. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  9746. "type": "string"
  9747. },
  9748. "priceqty": {
  9749. "description": "表示定价量.",
  9750. "type": "number"
  9751. },
  9752. "relatedbizid": {
  9753. "description": "表示业务ID.",
  9754. "type": "string"
  9755. },
  9756. "signdate": {
  9757. "description": "表示签订日期.",
  9758. "type": "string"
  9759. },
  9760. "spotcontractid": {
  9761. "description": "合同ID",
  9762. "type": "string"
  9763. },
  9764. "status": {
  9765. "description": "表示状态,0-履约中 1-已完成.",
  9766. "type": "integer"
  9767. },
  9768. "totalqty": {
  9769. "description": "表示合同量.",
  9770. "type": "number"
  9771. },
  9772. "unpricedqty": {
  9773. "description": "表示未定价量.",
  9774. "type": "number"
  9775. },
  9776. "wrstandardname": {
  9777. "description": "表示商品ID.",
  9778. "type": "string"
  9779. }
  9780. }
  9781. },
  9782. "erms3.QueryUserInfoAppliesRsp": {
  9783. "type": "object",
  9784. "required": [
  9785. "userid"
  9786. ],
  9787. "properties": {
  9788. "biznature": {
  9789. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9790. "type": "integer"
  9791. },
  9792. "contactname": {
  9793. "description": "联系人",
  9794. "type": "string"
  9795. },
  9796. "createtime": {
  9797. "description": "开户申请时间",
  9798. "type": "string"
  9799. },
  9800. "userid": {
  9801. "description": "用户ID(自增ID)",
  9802. "type": "integer"
  9803. },
  9804. "userinfotype": {
  9805. "description": "用户信息类型 - 1:个人 2:企业",
  9806. "type": "integer"
  9807. },
  9808. "username": {
  9809. "description": "用户姓名",
  9810. "type": "string"
  9811. },
  9812. "userstate": {
  9813. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9814. "type": "integer"
  9815. }
  9816. }
  9817. },
  9818. "erms3.QueryUserInfosRsp": {
  9819. "type": "object",
  9820. "required": [
  9821. "userid"
  9822. ],
  9823. "properties": {
  9824. "biznature": {
  9825. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9826. "type": "integer"
  9827. },
  9828. "contactname": {
  9829. "description": "联系人",
  9830. "type": "string"
  9831. },
  9832. "customername": {
  9833. "description": "客户名称(企业名称)",
  9834. "type": "string"
  9835. },
  9836. "userid": {
  9837. "description": "用户ID",
  9838. "type": "integer"
  9839. },
  9840. "userinfotype": {
  9841. "description": "用户信息类型 - 1:个人 2:企业",
  9842. "type": "integer"
  9843. },
  9844. "userstatus": {
  9845. "description": "用户状态 - 1:正常 2:注销",
  9846. "type": "integer"
  9847. }
  9848. }
  9849. },
  9850. "erms3.SoptContractDetail": {
  9851. "type": "object",
  9852. "required": [
  9853. "deliverygoodsid",
  9854. "producttype",
  9855. "unitname",
  9856. "warehouseid",
  9857. "wrstandardid",
  9858. "wrstandardname"
  9859. ],
  9860. "properties": {
  9861. "deliverygoodsdesc": {
  9862. "description": "现货品种说明",
  9863. "type": "string"
  9864. },
  9865. "deliverygoodsid": {
  9866. "description": "现货品种ID",
  9867. "type": "integer"
  9868. },
  9869. "deliverygoodsname": {
  9870. "description": "现货品种名称",
  9871. "type": "string"
  9872. },
  9873. "pointdesc": {
  9874. "description": "点价描述",
  9875. "type": "string"
  9876. },
  9877. "producttype": {
  9878. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  9879. "type": "integer"
  9880. },
  9881. "producttypename": {
  9882. "description": "产品类型名称",
  9883. "type": "string"
  9884. },
  9885. "spotPointOrderVoList": {
  9886. "description": "点价列表",
  9887. "type": "array",
  9888. "items": {
  9889. "$ref": "#/definitions/erms3.SpotPointOrder"
  9890. }
  9891. },
  9892. "spotPriceOrderList": {
  9893. "description": "定价列表",
  9894. "type": "array",
  9895. "items": {
  9896. "$ref": "#/definitions/erms3.SpotPriceOrder"
  9897. }
  9898. },
  9899. "unitname": {
  9900. "description": "单位名称",
  9901. "type": "string"
  9902. },
  9903. "warehouseid": {
  9904. "description": "仓库ID",
  9905. "type": "integer"
  9906. },
  9907. "warehousename": {
  9908. "description": "仓库名称",
  9909. "type": "string"
  9910. },
  9911. "wrstandardid": {
  9912. "description": "交易标的ID",
  9913. "type": "integer"
  9914. },
  9915. "wrstandardname": {
  9916. "description": "交易标的名称",
  9917. "type": "string"
  9918. }
  9919. }
  9920. },
  9921. "erms3.SpotPointOrder": {
  9922. "type": "object",
  9923. "required": [
  9924. "basic",
  9925. "goodsid",
  9926. "qty"
  9927. ],
  9928. "properties": {
  9929. "basic": {
  9930. "description": "基差",
  9931. "type": "number"
  9932. },
  9933. "deliveryenddate": {
  9934. "description": "交收结束日期",
  9935. "type": "string"
  9936. },
  9937. "deliverystartdate": {
  9938. "description": "交收开始日期",
  9939. "type": "string"
  9940. },
  9941. "enddate": {
  9942. "description": "点价结束日期",
  9943. "type": "string"
  9944. },
  9945. "goodsid": {
  9946. "description": "商品ID",
  9947. "type": "integer"
  9948. },
  9949. "goodsname": {
  9950. "description": "商品名称",
  9951. "type": "string"
  9952. },
  9953. "qty": {
  9954. "description": "数量",
  9955. "type": "number"
  9956. },
  9957. "startdate": {
  9958. "description": "点价开始日期",
  9959. "type": "string"
  9960. }
  9961. }
  9962. },
  9963. "erms3.SpotPriceOrder": {
  9964. "type": "object",
  9965. "required": [
  9966. "amount",
  9967. "price",
  9968. "qty"
  9969. ],
  9970. "properties": {
  9971. "amount": {
  9972. "description": "金额",
  9973. "type": "number"
  9974. },
  9975. "deliveryenddate": {
  9976. "description": "交收结束日期",
  9977. "type": "string"
  9978. },
  9979. "deliverystartdate": {
  9980. "description": "交收开始日期",
  9981. "type": "string"
  9982. },
  9983. "price": {
  9984. "description": "价格",
  9985. "type": "number"
  9986. },
  9987. "qty": {
  9988. "description": "数量",
  9989. "type": "number"
  9990. }
  9991. }
  9992. },
  9993. "hsby.GetHsbyMyCountRsp": {
  9994. "type": "object",
  9995. "properties": {
  9996. "myCouponCount": {
  9997. "description": "我的优惠卷数量",
  9998. "type": "integer"
  9999. },
  10000. "myOrderDetailListingCount": {
  10001. "description": "我的订单求购中数量",
  10002. "type": "integer"
  10003. },
  10004. "myOrderDetailPreCount": {
  10005. "description": "我的订单抢购中数量",
  10006. "type": "integer"
  10007. },
  10008. "myPackageUnReceiveCount": {
  10009. "description": "我的包裹待收货数量",
  10010. "type": "integer"
  10011. },
  10012. "myPackageUnSendCount": {
  10013. "description": "我的包裹待发货数量",
  10014. "type": "integer"
  10015. },
  10016. "myPayOrderCount": {
  10017. "description": "我的订单待付款数量",
  10018. "type": "integer"
  10019. }
  10020. }
  10021. },
  10022. "hsby.QueryProvincesAndCitiesRsp": {
  10023. "type": "object",
  10024. "properties": {
  10025. "cities": {
  10026. "description": "市",
  10027. "type": "array",
  10028. "items": {
  10029. "$ref": "#/definitions/models.Division"
  10030. }
  10031. },
  10032. "province": {
  10033. "description": "省",
  10034. "$ref": "#/definitions/models.Division"
  10035. }
  10036. }
  10037. },
  10038. "models.Clientfixedadconfig": {
  10039. "type": "object",
  10040. "required": [
  10041. "adsort",
  10042. "adtype"
  10043. ],
  10044. "properties": {
  10045. "adsort": {
  10046. "description": "排序",
  10047. "type": "integer"
  10048. },
  10049. "adtype": {
  10050. "description": "广告位类型 - 1:新品抢购(HSBY)",
  10051. "type": "integer"
  10052. },
  10053. "areauserid": {
  10054. "description": "所属机构ID",
  10055. "type": "integer"
  10056. },
  10057. "createdate": {
  10058. "description": "创建时间",
  10059. "type": "string"
  10060. },
  10061. "creatorid": {
  10062. "description": "创建人",
  10063. "type": "integer"
  10064. },
  10065. "imagepath": {
  10066. "description": "图片",
  10067. "type": "string"
  10068. },
  10069. "isshow": {
  10070. "description": "是否展示 - 0:不展示 1:展示",
  10071. "type": "integer"
  10072. },
  10073. "modifierid": {
  10074. "description": "操作人",
  10075. "type": "integer"
  10076. },
  10077. "recsize": {
  10078. "description": "推荐尺寸",
  10079. "type": "string"
  10080. },
  10081. "title": {
  10082. "description": "标题",
  10083. "type": "string"
  10084. },
  10085. "updatedate": {
  10086. "description": "更新时间",
  10087. "type": "string"
  10088. },
  10089. "urlcontent": {
  10090. "description": "链接(地址或商品ID)",
  10091. "type": "string"
  10092. },
  10093. "urltype": {
  10094. "description": "链接类型 - 1:直接地址 2:商品ID",
  10095. "type": "integer"
  10096. }
  10097. }
  10098. },
  10099. "models.Division": {
  10100. "type": "object",
  10101. "required": [
  10102. "autoid",
  10103. "divisioncode"
  10104. ],
  10105. "properties": {
  10106. "autoid": {
  10107. "description": "自增ID",
  10108. "type": "integer"
  10109. },
  10110. "divisioncode": {
  10111. "description": "行政代码",
  10112. "type": "string"
  10113. },
  10114. "divisionlevel": {
  10115. "description": "行政级别",
  10116. "type": "string"
  10117. },
  10118. "divisionname": {
  10119. "description": "行政名称",
  10120. "type": "string"
  10121. },
  10122. "modifierid": {
  10123. "description": "修改人",
  10124. "type": "integer"
  10125. },
  10126. "modifytime": {
  10127. "description": "修改时间",
  10128. "type": "string"
  10129. },
  10130. "parentcode": {
  10131. "description": "上级行政代码",
  10132. "type": "string"
  10133. },
  10134. "pathname": {
  10135. "description": "路径名称",
  10136. "type": "string"
  10137. },
  10138. "postcode": {
  10139. "description": "邮政编码",
  10140. "type": "string"
  10141. },
  10142. "separablename": {
  10143. "description": "可拆分的全称",
  10144. "type": "string"
  10145. },
  10146. "shortcode": {
  10147. "description": "地区简码",
  10148. "type": "string"
  10149. }
  10150. }
  10151. },
  10152. "models.Enumdicitem": {
  10153. "type": "object",
  10154. "required": [
  10155. "autoid",
  10156. "enumdiccode",
  10157. "enumdicid",
  10158. "enumitemname"
  10159. ],
  10160. "properties": {
  10161. "autoid": {
  10162. "description": "自增ID",
  10163. "type": "integer"
  10164. },
  10165. "bankmappedvalue": {
  10166. "description": "银行服务对应值",
  10167. "type": "string"
  10168. },
  10169. "enumdiccode": {
  10170. "description": "所属枚举代码",
  10171. "type": "string"
  10172. },
  10173. "enumdicid": {
  10174. "description": "所属枚举ID",
  10175. "type": "integer"
  10176. },
  10177. "enumdicname": {
  10178. "description": "枚举项名称",
  10179. "type": "string"
  10180. },
  10181. "enumitemname": {
  10182. "description": "枚举项值",
  10183. "type": "integer"
  10184. },
  10185. "enumitemstatus": {
  10186. "description": "枚举项状态 - 1.启用 2.不启用",
  10187. "type": "integer"
  10188. },
  10189. "enumitemvalue": {
  10190. "description": "通用值 - [币种通用简写]",
  10191. "type": "string"
  10192. },
  10193. "param1": {
  10194. "description": "参数1[币种:币种小数位]",
  10195. "type": "string"
  10196. },
  10197. "param2": {
  10198. "description": "参数1[币种:币种显示单位]",
  10199. "type": "string"
  10200. },
  10201. "remark": {
  10202. "description": "备注",
  10203. "type": "string"
  10204. }
  10205. }
  10206. },
  10207. "models.ErmcpMiddleGoodsModel": {
  10208. "type": "object",
  10209. "properties": {
  10210. "areauserid": {
  10211. "description": "机构用户ID",
  10212. "type": "integer"
  10213. },
  10214. "enumdicname": {
  10215. "description": "单位名称",
  10216. "type": "string"
  10217. },
  10218. "evaluateratio": {
  10219. "description": "估价系数",
  10220. "type": "number"
  10221. },
  10222. "goodsgroupid": {
  10223. "description": "关联期货品种ID",
  10224. "type": "integer"
  10225. },
  10226. "isvalid": {
  10227. "description": "状态 0-无效(停用) 1-有效(正常)",
  10228. "type": "integer"
  10229. },
  10230. "middlegoodscode": {
  10231. "description": "套保品种代码",
  10232. "type": "string"
  10233. },
  10234. "middlegoodsid": {
  10235. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  10236. "type": "integer"
  10237. },
  10238. "middlegoodsname": {
  10239. "description": "套保品种名称",
  10240. "type": "string"
  10241. },
  10242. "modifytime": {
  10243. "description": "修改时间",
  10244. "type": "string"
  10245. },
  10246. "needhedgeratio": {
  10247. "description": "套保比率",
  10248. "type": "number"
  10249. },
  10250. "qtydecimalplace": {
  10251. "description": "数量小数位",
  10252. "type": "integer"
  10253. },
  10254. "relatedgoodsid": {
  10255. "description": "关联交易商品ID",
  10256. "type": "integer"
  10257. },
  10258. "relatedgoodstype": {
  10259. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  10260. "type": "integer"
  10261. }
  10262. }
  10263. },
  10264. "models.ErmcpWrstandard": {
  10265. "type": "object",
  10266. "properties": {
  10267. "areauserid": {
  10268. "description": "所属机构",
  10269. "type": "integer"
  10270. },
  10271. "createtime": {
  10272. "description": "创建时间",
  10273. "type": "string"
  10274. },
  10275. "creatorid": {
  10276. "description": "创建人",
  10277. "type": "integer"
  10278. },
  10279. "deliverygoodsid": {
  10280. "description": "品种ID",
  10281. "type": "integer"
  10282. },
  10283. "enumdicname": {
  10284. "description": "单位名称",
  10285. "type": "string"
  10286. },
  10287. "isvalid": {
  10288. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  10289. "type": "integer"
  10290. },
  10291. "minivalue": {
  10292. "description": "最小变动值",
  10293. "type": "integer"
  10294. },
  10295. "minivaluedp": {
  10296. "description": "最小变动值小数位",
  10297. "type": "integer"
  10298. },
  10299. "realminivalue": {
  10300. "description": "实际最小变动值",
  10301. "type": "integer"
  10302. },
  10303. "realminivaluedp": {
  10304. "description": "实际最小变动值小数位",
  10305. "type": "integer"
  10306. },
  10307. "remark": {
  10308. "description": "备注",
  10309. "type": "string"
  10310. },
  10311. "unitid": {
  10312. "description": "单位ID",
  10313. "type": "integer"
  10314. },
  10315. "updatetime": {
  10316. "description": "更新时间",
  10317. "type": "string"
  10318. },
  10319. "wrstandardcode": {
  10320. "description": "现货商品代码",
  10321. "type": "string"
  10322. },
  10323. "wrstandardid": {
  10324. "description": "现货商品ID(SEQ_WRSTANDARD)",
  10325. "type": "integer"
  10326. },
  10327. "wrstandardname": {
  10328. "description": "现货商品名称",
  10329. "type": "string"
  10330. }
  10331. }
  10332. },
  10333. "models.Goods": {
  10334. "type": "object",
  10335. "required": [
  10336. "goodscode",
  10337. "goodsid",
  10338. "goodsname",
  10339. "marketid"
  10340. ],
  10341. "properties": {
  10342. "agreeunit": {
  10343. "description": "合约单位",
  10344. "type": "number"
  10345. },
  10346. "auditaccountid": {
  10347. "description": "审核操作员账号",
  10348. "type": "integer"
  10349. },
  10350. "audittime": {
  10351. "description": "审核时间",
  10352. "type": "string"
  10353. },
  10354. "cancelaccountid": {
  10355. "description": "注销操作员账号",
  10356. "type": "integer"
  10357. },
  10358. "canceltime": {
  10359. "description": "注销时间",
  10360. "type": "string"
  10361. },
  10362. "closepricemode": {
  10363. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  10364. "type": "integer"
  10365. },
  10366. "closepriceparam": {
  10367. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  10368. "type": "number"
  10369. },
  10370. "createtime": {
  10371. "description": "创建时间",
  10372. "type": "string"
  10373. },
  10374. "creatorid": {
  10375. "description": "创建人",
  10376. "type": "integer"
  10377. },
  10378. "currencyid": {
  10379. "description": "报价货币ID",
  10380. "type": "integer"
  10381. },
  10382. "cutmode": {
  10383. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  10384. "type": "integer"
  10385. },
  10386. "decimalplace": {
  10387. "description": "报价小数位",
  10388. "type": "integer"
  10389. },
  10390. "delistingdate": {
  10391. "description": "商品退市时间(状态:退市) -- 已作废",
  10392. "type": "string"
  10393. },
  10394. "delistingmode": {
  10395. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  10396. "type": "integer"
  10397. },
  10398. "deliveryflag": {
  10399. "description": "交割标志 - 0:不可交割 1:可交割",
  10400. "type": "integer"
  10401. },
  10402. "forceclosemode": {
  10403. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  10404. "type": "integer"
  10405. },
  10406. "forceclosevalue": {
  10407. "description": "定期强平参数 [收益权]",
  10408. "type": "integer"
  10409. },
  10410. "goodscode": {
  10411. "description": "商品代码(内部)",
  10412. "type": "string"
  10413. },
  10414. "goodscurrencyid": {
  10415. "description": "合约货币ID",
  10416. "type": "integer"
  10417. },
  10418. "goodsgroupid": {
  10419. "description": "所属商品组ID",
  10420. "type": "integer"
  10421. },
  10422. "goodsid": {
  10423. "description": "商品ID(自增ID SEQ_GOODS)",
  10424. "type": "integer"
  10425. },
  10426. "goodsname": {
  10427. "description": "商品名称",
  10428. "type": "string"
  10429. },
  10430. "goodsquotetype": {
  10431. "description": "合约报价类型: 1-直接报价 2-间接报价",
  10432. "type": "integer"
  10433. },
  10434. "goodsstatus": {
  10435. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  10436. "type": "integer"
  10437. },
  10438. "goodstradetype": {
  10439. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  10440. "type": "integer"
  10441. },
  10442. "goodunitid": {
  10443. "description": "报价单位ID",
  10444. "type": "integer"
  10445. },
  10446. "hasquoter": {
  10447. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  10448. "type": "integer"
  10449. },
  10450. "hqprotecttime": {
  10451. "description": "行情保护时间(秒)",
  10452. "type": "integer"
  10453. },
  10454. "innerdealmode": {
  10455. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  10456. "type": "integer"
  10457. },
  10458. "isbuylimited": {
  10459. "description": "是否限制建仓量 - 0:不限制 1:限制",
  10460. "type": "integer"
  10461. },
  10462. "lasttradedate": {
  10463. "description": "最后交易日期(状态:待退市)",
  10464. "type": "string"
  10465. },
  10466. "listingdate": {
  10467. "description": "交易开始日期",
  10468. "type": "string"
  10469. },
  10470. "marketid": {
  10471. "description": "所属市场ID",
  10472. "type": "integer"
  10473. },
  10474. "modifierid": {
  10475. "description": "修改人",
  10476. "type": "integer"
  10477. },
  10478. "modifystatus": {
  10479. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  10480. "type": "integer"
  10481. },
  10482. "modifytime": {
  10483. "description": "修改时间",
  10484. "type": "string"
  10485. },
  10486. "outerdealmode": {
  10487. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  10488. "type": "integer"
  10489. },
  10490. "outgoodscode": {
  10491. "description": "商品代码(外部)",
  10492. "type": "string"
  10493. },
  10494. "qtydecimalplace": {
  10495. "description": "成交量小数位",
  10496. "type": "integer"
  10497. },
  10498. "quotegear": {
  10499. "description": "行情档位(1-10)",
  10500. "type": "integer"
  10501. },
  10502. "quoteminunit": {
  10503. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10504. "type": "integer"
  10505. },
  10506. "quoteshowtype": {
  10507. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  10508. "type": "integer"
  10509. },
  10510. "quoteshowtypeinterval": {
  10511. "description": "行情报价间隔时间(秒)(成交价时为0)",
  10512. "type": "integer"
  10513. },
  10514. "remark": {
  10515. "description": "备注",
  10516. "type": "string"
  10517. }
  10518. }
  10519. },
  10520. "models.GoodsBrand": {
  10521. "type": "object",
  10522. "properties": {
  10523. "brandid": {
  10524. "description": "品牌ID",
  10525. "type": "integer"
  10526. },
  10527. "brandname": {
  10528. "description": "品牌名称",
  10529. "type": "string"
  10530. },
  10531. "isvalid": {
  10532. "description": "是否有效 - 0:无效 1:有效",
  10533. "type": "integer"
  10534. }
  10535. }
  10536. },
  10537. "models.GoodsGroupConvert": {
  10538. "type": "object",
  10539. "properties": {
  10540. "convertratio": {
  10541. "description": "折算系数",
  10542. "type": "number"
  10543. },
  10544. "dstgoodsgroupid": {
  10545. "description": "目标期货品种ID",
  10546. "type": "integer"
  10547. },
  10548. "goodsgroupname": {
  10549. "description": "期货品种名称",
  10550. "type": "string"
  10551. },
  10552. "outergroupcode": {
  10553. "description": "期货品种代码",
  10554. "type": "string"
  10555. },
  10556. "srcgoodsgroupid": {
  10557. "description": "源期货品种ID",
  10558. "type": "integer"
  10559. }
  10560. }
  10561. },
  10562. "models.GoodsIDAndName": {
  10563. "type": "object",
  10564. "required": [
  10565. "goodscode",
  10566. "goodsid",
  10567. "goodsname",
  10568. "marketid"
  10569. ],
  10570. "properties": {
  10571. "goodscode": {
  10572. "description": "商品代码(内部)",
  10573. "type": "string"
  10574. },
  10575. "goodsid": {
  10576. "description": "商品ID(自增ID SEQ_GOODS)",
  10577. "type": "integer"
  10578. },
  10579. "goodsname": {
  10580. "description": "商品名称",
  10581. "type": "string"
  10582. },
  10583. "marketid": {
  10584. "description": "所属市场ID",
  10585. "type": "integer"
  10586. }
  10587. }
  10588. },
  10589. "models.GoodsTypeModel": {
  10590. "type": "object",
  10591. "properties": {
  10592. "modelid": {
  10593. "description": "型号ID",
  10594. "type": "integer"
  10595. },
  10596. "modelname": {
  10597. "description": "型号名称",
  10598. "type": "string"
  10599. },
  10600. "updatetime": {
  10601. "description": "更新时间",
  10602. "type": "string"
  10603. }
  10604. }
  10605. },
  10606. "models.HsbyBuyMyPayOrder": {
  10607. "type": "object",
  10608. "required": [
  10609. "goodscode",
  10610. "goodsname",
  10611. "tradeid",
  10612. "trademode"
  10613. ],
  10614. "properties": {
  10615. "agreeunit": {
  10616. "description": "合约单位",
  10617. "type": "number"
  10618. },
  10619. "buyaccountid": {
  10620. "description": "买方账号ID[报价币种]",
  10621. "type": "integer"
  10622. },
  10623. "buyorderid": {
  10624. "description": "买方委托单号",
  10625. "type": "string"
  10626. },
  10627. "createtime": {
  10628. "description": "创建时间",
  10629. "type": "string"
  10630. },
  10631. "currencysign": {
  10632. "description": "货币符号",
  10633. "type": "string"
  10634. },
  10635. "decimalplace": {
  10636. "description": "报价小数位",
  10637. "type": "integer"
  10638. },
  10639. "goodscode": {
  10640. "description": "商品代码(内部)",
  10641. "type": "string"
  10642. },
  10643. "goodsid": {
  10644. "description": "商品ID",
  10645. "type": "integer"
  10646. },
  10647. "goodsname": {
  10648. "description": "商品名称",
  10649. "type": "string"
  10650. },
  10651. "marketid": {
  10652. "description": "市场ID",
  10653. "type": "integer"
  10654. },
  10655. "offamount": {
  10656. "description": "优惠金额",
  10657. "type": "number"
  10658. },
  10659. "payamount": {
  10660. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  10661. "type": "number"
  10662. },
  10663. "payflag": {
  10664. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  10665. "type": "integer"
  10666. },
  10667. "paylimitedtime": {
  10668. "description": "支付期限",
  10669. "type": "string"
  10670. },
  10671. "paytime": {
  10672. "description": "付款时间",
  10673. "type": "string"
  10674. },
  10675. "picurls1": {
  10676. "description": "预售商品介绍图片[多张用逗号分隔]",
  10677. "type": "string"
  10678. },
  10679. "picurls2": {
  10680. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  10681. "type": "string"
  10682. },
  10683. "sellaccountid": {
  10684. "description": "卖方账号ID[报价币种]",
  10685. "type": "integer"
  10686. },
  10687. "sellorderid": {
  10688. "description": "卖方委托单号",
  10689. "type": "string"
  10690. },
  10691. "tradeamount": {
  10692. "description": "成交金额",
  10693. "type": "number"
  10694. },
  10695. "tradecharge": {
  10696. "description": "成交手续费(买方)",
  10697. "type": "number"
  10698. },
  10699. "tradedate": {
  10700. "description": "交易日(yyyyMMdd)",
  10701. "type": "string"
  10702. },
  10703. "tradeid": {
  10704. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10705. "type": "string"
  10706. },
  10707. "trademode": {
  10708. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10709. "type": "integer"
  10710. },
  10711. "tradeprice": {
  10712. "description": "成交价格",
  10713. "type": "number"
  10714. },
  10715. "tradeqty": {
  10716. "description": "成交数量",
  10717. "type": "integer"
  10718. },
  10719. "vendorname1": {
  10720. "description": "预售商品供应商名称",
  10721. "type": "string"
  10722. },
  10723. "vendorname2": {
  10724. "description": "挂牌商品供应商名称",
  10725. "type": "string"
  10726. }
  10727. }
  10728. },
  10729. "models.HsbyBuyMyTradeDetail": {
  10730. "type": "object",
  10731. "required": [
  10732. "accountid",
  10733. "buyorsell",
  10734. "goodscode",
  10735. "goodsid",
  10736. "goodsname",
  10737. "marketid",
  10738. "orderid",
  10739. "qty",
  10740. "time",
  10741. "trademode"
  10742. ],
  10743. "properties": {
  10744. "accountid": {
  10745. "description": "账户ID[报价币种]",
  10746. "type": "integer"
  10747. },
  10748. "agreeunit": {
  10749. "description": "合约单位",
  10750. "type": "number"
  10751. },
  10752. "amount": {
  10753. "description": "金额 = 价格 * 数量 * 合约单位",
  10754. "type": "number"
  10755. },
  10756. "buyorsell": {
  10757. "description": "买卖 - 0:买 1:卖",
  10758. "type": "integer"
  10759. },
  10760. "currencysign": {
  10761. "description": "货币符号",
  10762. "type": "string"
  10763. },
  10764. "decimalplace": {
  10765. "description": "报价小数位",
  10766. "type": "integer"
  10767. },
  10768. "goodscode": {
  10769. "description": "商品代码(内部)",
  10770. "type": "string"
  10771. },
  10772. "goodsid": {
  10773. "description": "商品ID",
  10774. "type": "integer"
  10775. },
  10776. "goodsname": {
  10777. "description": "商品名称",
  10778. "type": "string"
  10779. },
  10780. "marketid": {
  10781. "description": "市场ID",
  10782. "type": "integer"
  10783. },
  10784. "orderid": {
  10785. "description": "单号(成交单号)",
  10786. "type": "string"
  10787. },
  10788. "picurls1": {
  10789. "description": "预售商品介绍图片[多张用逗号分隔]",
  10790. "type": "string"
  10791. },
  10792. "picurls2": {
  10793. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  10794. "type": "string"
  10795. },
  10796. "price": {
  10797. "description": "价格",
  10798. "type": "number"
  10799. },
  10800. "qty": {
  10801. "description": "数量",
  10802. "type": "integer"
  10803. },
  10804. "time": {
  10805. "description": "时间",
  10806. "type": "string"
  10807. },
  10808. "trademode": {
  10809. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10810. "type": "integer"
  10811. },
  10812. "vendorname1": {
  10813. "description": "预售商品供应商名称",
  10814. "type": "string"
  10815. },
  10816. "vendorname2": {
  10817. "description": "挂牌商品供应商名称",
  10818. "type": "string"
  10819. }
  10820. }
  10821. },
  10822. "models.HsbyGoodsOrderDetail": {
  10823. "type": "object",
  10824. "required": [
  10825. "buyorsell",
  10826. "orderid",
  10827. "ordertime"
  10828. ],
  10829. "properties": {
  10830. "buyorsell": {
  10831. "description": "买卖 - 0:买 1:卖",
  10832. "type": "integer"
  10833. },
  10834. "currencysign": {
  10835. "description": "货币符号",
  10836. "type": "string"
  10837. },
  10838. "customername": {
  10839. "description": "客户名称(企业名称),已脱敏",
  10840. "type": "string"
  10841. },
  10842. "enableqty": {
  10843. "description": "可用数量",
  10844. "type": "integer"
  10845. },
  10846. "goodunit": {
  10847. "description": "报价单位",
  10848. "type": "string"
  10849. },
  10850. "orderid": {
  10851. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10852. "type": "string"
  10853. },
  10854. "orderprice": {
  10855. "description": "委托价格",
  10856. "type": "number"
  10857. },
  10858. "ordertime": {
  10859. "description": "委托时间",
  10860. "type": "string"
  10861. }
  10862. }
  10863. },
  10864. "models.HsbyListingGoodsDetail": {
  10865. "type": "object",
  10866. "required": [
  10867. "goodscode",
  10868. "goodsid",
  10869. "goodsname",
  10870. "marketid",
  10871. "trademode"
  10872. ],
  10873. "properties": {
  10874. "agreeunit": {
  10875. "description": "合约单位",
  10876. "type": "number"
  10877. },
  10878. "buymaxqty": {
  10879. "description": "购买上限 [71] - 0为不限",
  10880. "type": "integer"
  10881. },
  10882. "currency": {
  10883. "description": "货币",
  10884. "type": "string"
  10885. },
  10886. "currencysign": {
  10887. "description": "货币符号",
  10888. "type": "string"
  10889. },
  10890. "decimalplace": {
  10891. "description": "报价小数位",
  10892. "type": "integer"
  10893. },
  10894. "desccityid": {
  10895. "description": "目的地(市)ID",
  10896. "type": "integer"
  10897. },
  10898. "descprovinceid": {
  10899. "description": "目的地(省)ID",
  10900. "type": "integer"
  10901. },
  10902. "goodscode": {
  10903. "description": "商品代码(内部)",
  10904. "type": "string"
  10905. },
  10906. "goodsdesc": {
  10907. "description": "商品详情",
  10908. "type": "string"
  10909. },
  10910. "goodsid": {
  10911. "description": "商品ID(自增ID SEQ_GOODS)",
  10912. "type": "integer"
  10913. },
  10914. "goodsname": {
  10915. "description": "商品名称",
  10916. "type": "string"
  10917. },
  10918. "goodsprice": {
  10919. "description": "商品价格",
  10920. "type": "number"
  10921. },
  10922. "hotindex": {
  10923. "description": "景点热度",
  10924. "type": "integer"
  10925. },
  10926. "last": {
  10927. "description": "现价",
  10928. "type": "number"
  10929. },
  10930. "limitdown": {
  10931. "description": "跌停价",
  10932. "type": "number"
  10933. },
  10934. "limitup": {
  10935. "description": "涨停价",
  10936. "type": "number"
  10937. },
  10938. "lotsize": {
  10939. "description": "手数最小变动单位",
  10940. "type": "integer"
  10941. },
  10942. "marketid": {
  10943. "description": "所属市场ID",
  10944. "type": "integer"
  10945. },
  10946. "picurls": {
  10947. "description": "介绍图片[多张用逗号分隔]",
  10948. "type": "string"
  10949. },
  10950. "quoteminunit": {
  10951. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10952. "type": "integer"
  10953. },
  10954. "stepvalue": {
  10955. "description": "价格最小变动单位",
  10956. "type": "number"
  10957. },
  10958. "trademode": {
  10959. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10960. "type": "integer"
  10961. },
  10962. "vendorattr": {
  10963. "description": "供应商附件(多张,逗号分隔)",
  10964. "type": "string"
  10965. },
  10966. "vendorname": {
  10967. "description": "供应商名称",
  10968. "type": "string"
  10969. },
  10970. "vendorphone": {
  10971. "description": "供应商客服电话",
  10972. "type": "string"
  10973. },
  10974. "videourls": {
  10975. "description": "介绍视频[多张用逗号分隔]",
  10976. "type": "string"
  10977. }
  10978. }
  10979. },
  10980. "models.HsbyMarketGoods": {
  10981. "type": "object",
  10982. "required": [
  10983. "accountid",
  10984. "buyorsell",
  10985. "goodscode",
  10986. "goodsid",
  10987. "goodsname",
  10988. "marketid",
  10989. "orderid",
  10990. "trademode"
  10991. ],
  10992. "properties": {
  10993. "accountid": {
  10994. "description": "账户ID[报价币种]",
  10995. "type": "integer"
  10996. },
  10997. "agreeunit": {
  10998. "description": "合约单位",
  10999. "type": "number"
  11000. },
  11001. "buyorsell": {
  11002. "description": "买卖 - 0:买 1:卖",
  11003. "type": "integer"
  11004. },
  11005. "categoryid": {
  11006. "description": "类别ID(WRCATEGORY)",
  11007. "type": "integer"
  11008. },
  11009. "currency": {
  11010. "description": "货币",
  11011. "type": "string"
  11012. },
  11013. "currencysign": {
  11014. "description": "货币符号",
  11015. "type": "string"
  11016. },
  11017. "customername": {
  11018. "description": "卖家名称",
  11019. "type": "string"
  11020. },
  11021. "decimalplace": {
  11022. "description": "报价小数位",
  11023. "type": "integer"
  11024. },
  11025. "goodscode": {
  11026. "description": "商品代码(内部)",
  11027. "type": "string"
  11028. },
  11029. "goodsid": {
  11030. "description": "商品ID",
  11031. "type": "integer"
  11032. },
  11033. "goodsname": {
  11034. "description": "商品名称",
  11035. "type": "string"
  11036. },
  11037. "goodsprice": {
  11038. "description": "商品价格",
  11039. "type": "number"
  11040. },
  11041. "hascoupon": {
  11042. "description": "是否可用优惠卷",
  11043. "type": "boolean"
  11044. },
  11045. "hotindex": {
  11046. "description": "景点热度",
  11047. "type": "integer"
  11048. },
  11049. "marketid": {
  11050. "description": "市场ID",
  11051. "type": "integer"
  11052. },
  11053. "orderid": {
  11054. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11055. "type": "string"
  11056. },
  11057. "orderprice": {
  11058. "description": "委托价格",
  11059. "type": "number"
  11060. },
  11061. "orderstatus": {
  11062. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11063. "type": "integer"
  11064. },
  11065. "picurls": {
  11066. "description": "介绍图片[多张用逗号分隔]",
  11067. "type": "string"
  11068. },
  11069. "quoteminunit": {
  11070. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11071. "type": "integer"
  11072. },
  11073. "sellUserID": {
  11074. "description": "卖方UserID",
  11075. "type": "integer"
  11076. },
  11077. "trademode": {
  11078. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11079. "type": "integer"
  11080. },
  11081. "videourls": {
  11082. "description": "介绍视频[多张用逗号分隔]",
  11083. "type": "string"
  11084. }
  11085. }
  11086. },
  11087. "models.HsbyMarketGoodsDetail": {
  11088. "type": "object",
  11089. "required": [
  11090. "accountid",
  11091. "buyorsell",
  11092. "goodscode",
  11093. "goodsid",
  11094. "goodsname",
  11095. "marketid",
  11096. "orderid",
  11097. "orderqty",
  11098. "trademode"
  11099. ],
  11100. "properties": {
  11101. "accountid": {
  11102. "description": "账户ID[报价币种]",
  11103. "type": "integer"
  11104. },
  11105. "agreeunit": {
  11106. "description": "合约单位",
  11107. "type": "number"
  11108. },
  11109. "buymaxqty": {
  11110. "description": "购买上限 [71] - 0为不限",
  11111. "type": "integer"
  11112. },
  11113. "buyorsell": {
  11114. "description": "买卖 - 0:买 1:卖",
  11115. "type": "integer"
  11116. },
  11117. "cancelqty": {
  11118. "description": "撤单数量",
  11119. "type": "integer"
  11120. },
  11121. "categoryid": {
  11122. "description": "类别ID(WRCATEGORY)",
  11123. "type": "integer"
  11124. },
  11125. "currency": {
  11126. "description": "货币",
  11127. "type": "string"
  11128. },
  11129. "currencysign": {
  11130. "description": "货币符号",
  11131. "type": "string"
  11132. },
  11133. "customername": {
  11134. "description": "卖家名称",
  11135. "type": "string"
  11136. },
  11137. "decimalplace": {
  11138. "description": "报价小数位",
  11139. "type": "integer"
  11140. },
  11141. "goodscode": {
  11142. "description": "商品代码(内部)",
  11143. "type": "string"
  11144. },
  11145. "goodsdesc": {
  11146. "description": "商品详情",
  11147. "type": "string"
  11148. },
  11149. "goodsid": {
  11150. "description": "商品ID",
  11151. "type": "integer"
  11152. },
  11153. "goodsname": {
  11154. "description": "商品名称",
  11155. "type": "string"
  11156. },
  11157. "goodsprice": {
  11158. "description": "商品价格",
  11159. "type": "number"
  11160. },
  11161. "hotindex": {
  11162. "description": "景点热度",
  11163. "type": "integer"
  11164. },
  11165. "lotsize": {
  11166. "description": "手数最小变动单位",
  11167. "type": "integer"
  11168. },
  11169. "marketid": {
  11170. "description": "市场ID",
  11171. "type": "integer"
  11172. },
  11173. "orderid": {
  11174. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11175. "type": "string"
  11176. },
  11177. "orderprice": {
  11178. "description": "委托价格",
  11179. "type": "number"
  11180. },
  11181. "orderqty": {
  11182. "description": "委托数量",
  11183. "type": "integer"
  11184. },
  11185. "orderstatus": {
  11186. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11187. "type": "integer"
  11188. },
  11189. "picurls": {
  11190. "description": "介绍图片[多张用逗号分隔]",
  11191. "type": "string"
  11192. },
  11193. "quoteminunit": {
  11194. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11195. "type": "integer"
  11196. },
  11197. "sellUserID": {
  11198. "description": "卖方UserID",
  11199. "type": "integer"
  11200. },
  11201. "trademode": {
  11202. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11203. "type": "integer"
  11204. },
  11205. "tradeqty": {
  11206. "description": "成交数量",
  11207. "type": "integer"
  11208. },
  11209. "vendorattr": {
  11210. "description": "供应商附件(多张,逗号分隔)",
  11211. "type": "string"
  11212. },
  11213. "vendorname": {
  11214. "description": "供应商名称",
  11215. "type": "string"
  11216. },
  11217. "vendorphone": {
  11218. "description": "供应商客服电话",
  11219. "type": "string"
  11220. },
  11221. "videourls": {
  11222. "description": "介绍视频[多张用逗号分隔]",
  11223. "type": "string"
  11224. }
  11225. }
  11226. },
  11227. "models.HsbyMarketInfo": {
  11228. "type": "object",
  11229. "required": [
  11230. "marketid",
  11231. "marketstatus",
  11232. "trademode"
  11233. ],
  11234. "properties": {
  11235. "marketid": {
  11236. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  11237. "type": "integer"
  11238. },
  11239. "marketname": {
  11240. "description": "市场名称",
  11241. "type": "string"
  11242. },
  11243. "marketstatus": {
  11244. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  11245. "type": "integer"
  11246. },
  11247. "trademode": {
  11248. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11249. "type": "integer"
  11250. }
  11251. }
  11252. },
  11253. "models.HsbyMyGoods": {
  11254. "type": "object",
  11255. "required": [
  11256. "accountid",
  11257. "goodscode",
  11258. "goodsid",
  11259. "goodsname",
  11260. "marketid",
  11261. "trademode"
  11262. ],
  11263. "properties": {
  11264. "accountid": {
  11265. "description": "账号Id",
  11266. "type": "integer"
  11267. },
  11268. "agreeunit": {
  11269. "description": "合约单位",
  11270. "type": "number"
  11271. },
  11272. "buyaverageprice": {
  11273. "description": "持仓均价",
  11274. "type": "number"
  11275. },
  11276. "buycurholderamount": {
  11277. "description": "买当前持仓总金额[商品币种]",
  11278. "type": "number"
  11279. },
  11280. "buycurpositionqty": {
  11281. "description": "买当前持仓总数量",
  11282. "type": "integer"
  11283. },
  11284. "buymaxqty": {
  11285. "description": "购买上限 [71] - 0为不限",
  11286. "type": "integer"
  11287. },
  11288. "currencysign": {
  11289. "description": "货币符号",
  11290. "type": "string"
  11291. },
  11292. "decimalplace": {
  11293. "description": "报价小数位",
  11294. "type": "integer"
  11295. },
  11296. "enableqty": {
  11297. "description": "可用数量",
  11298. "type": "integer"
  11299. },
  11300. "goodscode": {
  11301. "description": "商品代码(内部)",
  11302. "type": "string"
  11303. },
  11304. "goodsid": {
  11305. "description": "商品Id",
  11306. "type": "integer"
  11307. },
  11308. "goodsname": {
  11309. "description": "商品名称",
  11310. "type": "string"
  11311. },
  11312. "goodsprice": {
  11313. "description": "商品价格",
  11314. "type": "number"
  11315. },
  11316. "goodsstatus": {
  11317. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  11318. "type": "integer"
  11319. },
  11320. "last": {
  11321. "description": "现价(仅使用于挂牌点选)",
  11322. "type": "number"
  11323. },
  11324. "limitdown": {
  11325. "description": "跌停价(仅使用于挂牌点选)",
  11326. "type": "number"
  11327. },
  11328. "limitup": {
  11329. "description": "涨停价(仅使用于挂牌点选)",
  11330. "type": "number"
  11331. },
  11332. "lotsize": {
  11333. "description": "手数最小变动单位",
  11334. "type": "integer"
  11335. },
  11336. "marketid": {
  11337. "description": "所属市场ID",
  11338. "type": "integer"
  11339. },
  11340. "picurls": {
  11341. "description": "介绍图片[多张用逗号分隔]",
  11342. "type": "string"
  11343. },
  11344. "quoteminunit": {
  11345. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11346. "type": "integer"
  11347. },
  11348. "stepvalue": {
  11349. "description": "价格最小变动单位",
  11350. "type": "number"
  11351. },
  11352. "trademode": {
  11353. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11354. "type": "integer"
  11355. }
  11356. }
  11357. },
  11358. "models.HsbyMyPackage": {
  11359. "type": "object",
  11360. "required": [
  11361. "goodscode",
  11362. "goodsname",
  11363. "takeorderid",
  11364. "trademode"
  11365. ],
  11366. "properties": {
  11367. "accountid": {
  11368. "description": "账户ID",
  11369. "type": "integer"
  11370. },
  11371. "address": {
  11372. "description": "提货人详细地址",
  11373. "type": "string"
  11374. },
  11375. "agreeunit": {
  11376. "description": "合约单位",
  11377. "type": "number"
  11378. },
  11379. "amount": {
  11380. "description": "提货金额",
  11381. "type": "number"
  11382. },
  11383. "auditer": {
  11384. "description": "审核人",
  11385. "type": "integer"
  11386. },
  11387. "audittime": {
  11388. "description": "审核时间",
  11389. "type": "string"
  11390. },
  11391. "averageprice": {
  11392. "description": "均价",
  11393. "type": "number"
  11394. },
  11395. "cardnum": {
  11396. "description": "提货人证件号码",
  11397. "type": "string"
  11398. },
  11399. "cardtypeid": {
  11400. "description": "提货人证件类型",
  11401. "type": "integer"
  11402. },
  11403. "checkremark": {
  11404. "description": "审核备注",
  11405. "type": "string"
  11406. },
  11407. "currencysign": {
  11408. "description": "货币符号",
  11409. "type": "string"
  11410. },
  11411. "decimalplace": {
  11412. "description": "报价小数位",
  11413. "type": "integer"
  11414. },
  11415. "goodscode": {
  11416. "description": "商品代码(内部)",
  11417. "type": "string"
  11418. },
  11419. "goodsid": {
  11420. "description": "商品ID",
  11421. "type": "integer"
  11422. },
  11423. "goodsname": {
  11424. "description": "商品名称",
  11425. "type": "string"
  11426. },
  11427. "handlestatus": {
  11428. "description": "处理状态",
  11429. "type": "integer"
  11430. },
  11431. "marketid": {
  11432. "description": "市场ID",
  11433. "type": "integer"
  11434. },
  11435. "phonenum": {
  11436. "description": "提货人联系方式",
  11437. "type": "string"
  11438. },
  11439. "picurls": {
  11440. "description": "介绍图片[多张用逗号分隔]",
  11441. "type": "string"
  11442. },
  11443. "qty": {
  11444. "description": "提货数量",
  11445. "type": "number"
  11446. },
  11447. "recivername": {
  11448. "description": "提货人姓名",
  11449. "type": "string"
  11450. },
  11451. "reqtime": {
  11452. "description": "更新时间",
  11453. "type": "string"
  11454. },
  11455. "takemode": {
  11456. "description": "提货方式 - 2:自提 3:配送",
  11457. "type": "integer"
  11458. },
  11459. "takeorderid": {
  11460. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  11461. "type": "string"
  11462. },
  11463. "takeorderstatus": {
  11464. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11465. "type": "integer"
  11466. },
  11467. "takeremark": {
  11468. "description": "提货备注",
  11469. "type": "string"
  11470. },
  11471. "tradedate": {
  11472. "description": "交易日(yyyyMMdd)",
  11473. "type": "string"
  11474. },
  11475. "trademode": {
  11476. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11477. "type": "integer"
  11478. },
  11479. "userid": {
  11480. "description": "用户ID",
  11481. "type": "integer"
  11482. },
  11483. "vendorname": {
  11484. "description": "供应商名称",
  11485. "type": "string"
  11486. }
  11487. }
  11488. },
  11489. "models.HsbyPreGoods": {
  11490. "type": "object",
  11491. "required": [
  11492. "goodscode",
  11493. "goodsid",
  11494. "goodsname",
  11495. "marketid",
  11496. "trademode"
  11497. ],
  11498. "properties": {
  11499. "agreeunit": {
  11500. "description": "合约单位",
  11501. "type": "number"
  11502. },
  11503. "currency": {
  11504. "description": "货币",
  11505. "type": "string"
  11506. },
  11507. "currencysign": {
  11508. "description": "货币符号",
  11509. "type": "string"
  11510. },
  11511. "decimalplace": {
  11512. "description": "报价小数位",
  11513. "type": "integer"
  11514. },
  11515. "enableqty": {
  11516. "description": "剩余数量",
  11517. "type": "integer"
  11518. },
  11519. "goodscode": {
  11520. "description": "商品代码(内部)",
  11521. "type": "string"
  11522. },
  11523. "goodsid": {
  11524. "description": "商品ID(自增ID SEQ_GOODS)",
  11525. "type": "integer"
  11526. },
  11527. "goodsname": {
  11528. "description": "商品名称",
  11529. "type": "string"
  11530. },
  11531. "goodsstatus": {
  11532. "description": "商品状态- 2:未上市 3:上市",
  11533. "type": "integer"
  11534. },
  11535. "lasttradedate": {
  11536. "description": "最后交易日期(状态:待退市)",
  11537. "type": "string"
  11538. },
  11539. "listingdate": {
  11540. "description": "交易开始日期",
  11541. "type": "string"
  11542. },
  11543. "marketid": {
  11544. "description": "所属市场ID",
  11545. "type": "integer"
  11546. },
  11547. "picurls": {
  11548. "description": "介绍图片[多张用逗号分隔]",
  11549. "type": "string"
  11550. },
  11551. "presaledqty": {
  11552. "description": "已预售量(预售结束时更新)",
  11553. "type": "integer"
  11554. },
  11555. "presaleqty": {
  11556. "description": "预售数量",
  11557. "type": "integer"
  11558. },
  11559. "quoteminunit": {
  11560. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11561. "type": "integer"
  11562. },
  11563. "refprice": {
  11564. "description": "参考价格[一口价]",
  11565. "type": "number"
  11566. },
  11567. "relatedgoodsid": {
  11568. "description": "关联交易合约ID",
  11569. "type": "integer"
  11570. },
  11571. "trademode": {
  11572. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11573. "type": "integer"
  11574. },
  11575. "videourls": {
  11576. "description": "介绍视频[多张用逗号分隔]",
  11577. "type": "string"
  11578. }
  11579. }
  11580. },
  11581. "models.HsbyPreGoodsDetail": {
  11582. "type": "object",
  11583. "required": [
  11584. "goodscode",
  11585. "goodsid",
  11586. "goodsname",
  11587. "marketid",
  11588. "trademode"
  11589. ],
  11590. "properties": {
  11591. "agreeunit": {
  11592. "description": "合约单位",
  11593. "type": "number"
  11594. },
  11595. "buymaxqty": {
  11596. "description": "购买上限 [71] - 0为不限",
  11597. "type": "integer"
  11598. },
  11599. "currency": {
  11600. "description": "货币",
  11601. "type": "string"
  11602. },
  11603. "currencysign": {
  11604. "description": "货币符号",
  11605. "type": "string"
  11606. },
  11607. "customername": {
  11608. "description": "发行单位",
  11609. "type": "string"
  11610. },
  11611. "decimalplace": {
  11612. "description": "报价小数位",
  11613. "type": "integer"
  11614. },
  11615. "desccityid": {
  11616. "description": "目的地(市)ID",
  11617. "type": "integer"
  11618. },
  11619. "descprovinceid": {
  11620. "description": "目的地(省)ID",
  11621. "type": "integer"
  11622. },
  11623. "enableqty": {
  11624. "description": "剩余数量",
  11625. "type": "integer"
  11626. },
  11627. "goodscode": {
  11628. "description": "商品代码(内部)",
  11629. "type": "string"
  11630. },
  11631. "goodsdesc": {
  11632. "description": "商品详情",
  11633. "type": "string"
  11634. },
  11635. "goodsid": {
  11636. "description": "商品ID(自增ID SEQ_GOODS)",
  11637. "type": "integer"
  11638. },
  11639. "goodsname": {
  11640. "description": "商品名称",
  11641. "type": "string"
  11642. },
  11643. "goodsstatus": {
  11644. "description": "商品状态- 2:未上市 3:上市",
  11645. "type": "integer"
  11646. },
  11647. "goodunit": {
  11648. "description": "报价单位",
  11649. "type": "string"
  11650. },
  11651. "lasttradedate": {
  11652. "description": "最后交易日期(状态:待退市)",
  11653. "type": "string"
  11654. },
  11655. "listingdate": {
  11656. "description": "交易开始日期",
  11657. "type": "string"
  11658. },
  11659. "lotsize": {
  11660. "description": "手数最小变动单位",
  11661. "type": "integer"
  11662. },
  11663. "marketid": {
  11664. "description": "所属市场ID",
  11665. "type": "integer"
  11666. },
  11667. "picurls": {
  11668. "description": "介绍图片[多张用逗号分隔]",
  11669. "type": "string"
  11670. },
  11671. "presaledqty": {
  11672. "description": "已预售量(预售结束时更新)",
  11673. "type": "integer"
  11674. },
  11675. "presaleqty": {
  11676. "description": "预售数量",
  11677. "type": "integer"
  11678. },
  11679. "quoteminunit": {
  11680. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11681. "type": "integer"
  11682. },
  11683. "refprice": {
  11684. "description": "参考价格[一口价]",
  11685. "type": "number"
  11686. },
  11687. "relatedgoodsid": {
  11688. "description": "关联交易合约ID",
  11689. "type": "integer"
  11690. },
  11691. "stepvalue": {
  11692. "description": "价格最小变动单位",
  11693. "type": "number"
  11694. },
  11695. "trademode": {
  11696. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11697. "type": "integer"
  11698. },
  11699. "vendorattr": {
  11700. "description": "供应商附件(多张,逗号分隔)",
  11701. "type": "string"
  11702. },
  11703. "vendorname": {
  11704. "description": "供应商名称",
  11705. "type": "string"
  11706. },
  11707. "vendorphone": {
  11708. "description": "供应商客服电话",
  11709. "type": "string"
  11710. },
  11711. "videourls": {
  11712. "description": "介绍视频[多张用逗号分隔]",
  11713. "type": "string"
  11714. }
  11715. }
  11716. },
  11717. "models.HsbySellCollectionOrder": {
  11718. "type": "object",
  11719. "required": [
  11720. "goodscode",
  11721. "goodsname",
  11722. "tradeid",
  11723. "trademode"
  11724. ],
  11725. "properties": {
  11726. "agreeunit": {
  11727. "description": "合约单位",
  11728. "type": "number"
  11729. },
  11730. "buyaccountid": {
  11731. "description": "买方账号ID[报价币种]",
  11732. "type": "integer"
  11733. },
  11734. "buyorderid": {
  11735. "description": "买方委托单号",
  11736. "type": "string"
  11737. },
  11738. "createtime": {
  11739. "description": "创建时间",
  11740. "type": "string"
  11741. },
  11742. "currencysign": {
  11743. "description": "货币符号",
  11744. "type": "string"
  11745. },
  11746. "decimalplace": {
  11747. "description": "报价小数位",
  11748. "type": "integer"
  11749. },
  11750. "goodscode": {
  11751. "description": "商品代码(内部)",
  11752. "type": "string"
  11753. },
  11754. "goodsid": {
  11755. "description": "商品ID",
  11756. "type": "integer"
  11757. },
  11758. "goodsname": {
  11759. "description": "商品名称",
  11760. "type": "string"
  11761. },
  11762. "marketid": {
  11763. "description": "市场ID",
  11764. "type": "integer"
  11765. },
  11766. "offamount": {
  11767. "description": "优惠金额",
  11768. "type": "number"
  11769. },
  11770. "payamount": {
  11771. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  11772. "type": "number"
  11773. },
  11774. "payflag": {
  11775. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11776. "type": "integer"
  11777. },
  11778. "paylimitedtime": {
  11779. "description": "支付期限",
  11780. "type": "string"
  11781. },
  11782. "paytime": {
  11783. "description": "付款时间",
  11784. "type": "string"
  11785. },
  11786. "picurls": {
  11787. "description": "商品介绍图片[多张用逗号分隔]",
  11788. "type": "string"
  11789. },
  11790. "sellaccountid": {
  11791. "description": "卖方账号ID[报价币种]",
  11792. "type": "integer"
  11793. },
  11794. "sellorderid": {
  11795. "description": "卖方委托单号",
  11796. "type": "string"
  11797. },
  11798. "tradeamount": {
  11799. "description": "成交金额",
  11800. "type": "number"
  11801. },
  11802. "tradecharge": {
  11803. "description": "成交手续费(买方)",
  11804. "type": "number"
  11805. },
  11806. "tradedate": {
  11807. "description": "交易日(yyyyMMdd)",
  11808. "type": "string"
  11809. },
  11810. "tradeid": {
  11811. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11812. "type": "string"
  11813. },
  11814. "trademode": {
  11815. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11816. "type": "integer"
  11817. },
  11818. "tradeprice": {
  11819. "description": "成交价格",
  11820. "type": "number"
  11821. },
  11822. "tradeqty": {
  11823. "description": "成交数量",
  11824. "type": "integer"
  11825. }
  11826. }
  11827. },
  11828. "models.HsbySellMyDetail": {
  11829. "type": "object",
  11830. "required": [
  11831. "accountid",
  11832. "buyorsell",
  11833. "goodscode",
  11834. "goodsid",
  11835. "goodsname",
  11836. "marketid",
  11837. "orderid",
  11838. "time",
  11839. "trademode"
  11840. ],
  11841. "properties": {
  11842. "accountid": {
  11843. "description": "账户ID[报价币种]",
  11844. "type": "integer"
  11845. },
  11846. "agreeunit": {
  11847. "description": "合约单位",
  11848. "type": "number"
  11849. },
  11850. "buyorsell": {
  11851. "description": "买卖 - 0:买 1:卖",
  11852. "type": "integer"
  11853. },
  11854. "currencysign": {
  11855. "description": "货币符号",
  11856. "type": "string"
  11857. },
  11858. "decimalplace": {
  11859. "description": "报价小数位",
  11860. "type": "integer"
  11861. },
  11862. "goodscode": {
  11863. "description": "商品代码(内部)",
  11864. "type": "string"
  11865. },
  11866. "goodsid": {
  11867. "description": "商品ID",
  11868. "type": "integer"
  11869. },
  11870. "goodsname": {
  11871. "description": "商品名称",
  11872. "type": "string"
  11873. },
  11874. "marketid": {
  11875. "description": "市场ID",
  11876. "type": "integer"
  11877. },
  11878. "orderid": {
  11879. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  11880. "type": "string"
  11881. },
  11882. "ordertype": {
  11883. "description": "单据类型:0 - 发布中, 1 - 已完成",
  11884. "type": "integer"
  11885. },
  11886. "picurls": {
  11887. "description": "介绍图片[多张用逗号分隔]",
  11888. "type": "string"
  11889. },
  11890. "price": {
  11891. "description": "价格",
  11892. "type": "number"
  11893. },
  11894. "qty": {
  11895. "description": "数量",
  11896. "type": "integer"
  11897. },
  11898. "time": {
  11899. "description": "时间",
  11900. "type": "string"
  11901. },
  11902. "trademode": {
  11903. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11904. "type": "integer"
  11905. },
  11906. "vendorname": {
  11907. "description": "供应商名称",
  11908. "type": "string"
  11909. }
  11910. }
  11911. },
  11912. "models.HsbyTopGoods": {
  11913. "type": "object",
  11914. "required": [
  11915. "goodscode",
  11916. "goodsid",
  11917. "goodsname",
  11918. "marketid",
  11919. "trademode"
  11920. ],
  11921. "properties": {
  11922. "agreeunit": {
  11923. "description": "合约单位",
  11924. "type": "number"
  11925. },
  11926. "currency": {
  11927. "description": "货币",
  11928. "type": "string"
  11929. },
  11930. "currencysign": {
  11931. "description": "货币符号",
  11932. "type": "string"
  11933. },
  11934. "decimalplace": {
  11935. "description": "报价小数位",
  11936. "type": "integer"
  11937. },
  11938. "goodscode": {
  11939. "description": "商品代码(内部)",
  11940. "type": "string"
  11941. },
  11942. "goodsid": {
  11943. "description": "商品ID(自增ID SEQ_GOODS)",
  11944. "type": "integer"
  11945. },
  11946. "goodsname": {
  11947. "description": "商品名称",
  11948. "type": "string"
  11949. },
  11950. "hotindex": {
  11951. "description": "景点热度",
  11952. "type": "integer"
  11953. },
  11954. "last": {
  11955. "description": "现价",
  11956. "type": "number"
  11957. },
  11958. "marketid": {
  11959. "description": "所属市场ID",
  11960. "type": "integer"
  11961. },
  11962. "picurls": {
  11963. "description": "介绍图片[多张用逗号分隔]",
  11964. "type": "string"
  11965. },
  11966. "quoteminunit": {
  11967. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11968. "type": "integer"
  11969. },
  11970. "trademode": {
  11971. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11972. "type": "integer"
  11973. },
  11974. "videourls": {
  11975. "description": "介绍视频[多张用逗号分隔]",
  11976. "type": "string"
  11977. }
  11978. }
  11979. },
  11980. "models.HybsMyBuyOrderDetail": {
  11981. "type": "object",
  11982. "required": [
  11983. "accountid",
  11984. "buyorsell",
  11985. "goodscode",
  11986. "goodsid",
  11987. "goodsname",
  11988. "marketid",
  11989. "orderid",
  11990. "orderqty",
  11991. "ordertime",
  11992. "trademode"
  11993. ],
  11994. "properties": {
  11995. "accountid": {
  11996. "description": "账户ID[报价币种]",
  11997. "type": "integer"
  11998. },
  11999. "agreeunit": {
  12000. "description": "合约单位",
  12001. "type": "number"
  12002. },
  12003. "buyorsell": {
  12004. "description": "买卖 - 0:买 1:卖",
  12005. "type": "integer"
  12006. },
  12007. "cancelqty": {
  12008. "description": "撤单数量",
  12009. "type": "integer"
  12010. },
  12011. "currencysign": {
  12012. "description": "货币符号",
  12013. "type": "string"
  12014. },
  12015. "decimalplace": {
  12016. "description": "报价小数位",
  12017. "type": "integer"
  12018. },
  12019. "goodscode": {
  12020. "description": "商品代码(内部)",
  12021. "type": "string"
  12022. },
  12023. "goodsid": {
  12024. "description": "商品ID",
  12025. "type": "integer"
  12026. },
  12027. "goodsname": {
  12028. "description": "商品名称",
  12029. "type": "string"
  12030. },
  12031. "listingselecttype": {
  12032. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12033. "type": "integer"
  12034. },
  12035. "marketid": {
  12036. "description": "市场ID",
  12037. "type": "integer"
  12038. },
  12039. "mybuystatus": {
  12040. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  12041. "type": "integer"
  12042. },
  12043. "orderamount": {
  12044. "description": "委托金额",
  12045. "type": "number"
  12046. },
  12047. "orderid": {
  12048. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12049. "type": "string"
  12050. },
  12051. "orderprice": {
  12052. "description": "委托价格",
  12053. "type": "number"
  12054. },
  12055. "orderqty": {
  12056. "description": "委托数量",
  12057. "type": "integer"
  12058. },
  12059. "orderstatus": {
  12060. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12061. "type": "integer"
  12062. },
  12063. "ordertime": {
  12064. "description": "委托时间",
  12065. "type": "string"
  12066. },
  12067. "picurls1": {
  12068. "description": "预售商品介绍图片[多张用逗号分隔]",
  12069. "type": "string"
  12070. },
  12071. "picurls2": {
  12072. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12073. "type": "string"
  12074. },
  12075. "trademode": {
  12076. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12077. "type": "integer"
  12078. },
  12079. "tradeqty": {
  12080. "description": "成交数量",
  12081. "type": "integer"
  12082. },
  12083. "vendorname1": {
  12084. "description": "预售商品供应商名称",
  12085. "type": "string"
  12086. },
  12087. "vendorname2": {
  12088. "description": "挂牌商品供应商名称",
  12089. "type": "string"
  12090. }
  12091. }
  12092. },
  12093. "models.Market": {
  12094. "type": "object",
  12095. "required": [
  12096. "marketid",
  12097. "marketstatus",
  12098. "openmethod",
  12099. "reckonpricealgorithm",
  12100. "trademode",
  12101. "tradeproperty"
  12102. ],
  12103. "properties": {
  12104. "auctionwrtype": {
  12105. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  12106. "type": "integer"
  12107. },
  12108. "canacceptquote": {
  12109. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  12110. "type": "integer"
  12111. },
  12112. "cangoodsexercise": {
  12113. "description": "[期权]是否可现货行权- 0:否 1:是",
  12114. "type": "integer"
  12115. },
  12116. "cangoodsexercisetype": {
  12117. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  12118. "type": "integer"
  12119. },
  12120. "canmanualquotestrike": {
  12121. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  12122. "type": "integer"
  12123. },
  12124. "canmutistage": {
  12125. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  12126. "type": "integer"
  12127. },
  12128. "canpreexercise": {
  12129. "description": "[期权]是否可预申报- 0:否 1:是",
  12130. "type": "integer"
  12131. },
  12132. "clearinterval": {
  12133. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  12134. "type": "integer"
  12135. },
  12136. "contracttmp": {
  12137. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  12138. "type": "string"
  12139. },
  12140. "exchareaid": {
  12141. "description": "所属交易所,可以没有",
  12142. "type": "integer"
  12143. },
  12144. "goodstype": {
  12145. "description": "商品类型 - 1:交易商品 2:仓单商品",
  12146. "type": "integer"
  12147. },
  12148. "hasrebate": {
  12149. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  12150. "type": "integer"
  12151. },
  12152. "hastradecredit": {
  12153. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  12154. "type": "integer"
  12155. },
  12156. "haswr": {
  12157. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  12158. "type": "integer"
  12159. },
  12160. "isdeductmargin": {
  12161. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  12162. "type": "integer"
  12163. },
  12164. "isrecordsource": {
  12165. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  12166. "type": "integer"
  12167. },
  12168. "isreleasemargin": {
  12169. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  12170. "type": "integer"
  12171. },
  12172. "marginformula": {
  12173. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  12174. "type": "integer"
  12175. },
  12176. "marginformula2": {
  12177. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  12178. "type": "integer"
  12179. },
  12180. "marketid": {
  12181. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  12182. "type": "integer"
  12183. },
  12184. "marketname": {
  12185. "description": "市场名称",
  12186. "type": "string"
  12187. },
  12188. "marketserviceid": {
  12189. "description": "市场服务ID",
  12190. "type": "integer"
  12191. },
  12192. "marketstatus": {
  12193. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  12194. "type": "integer"
  12195. },
  12196. "markettype": {
  12197. "description": "市场类型- 1:非交易服务 2:交易服务",
  12198. "type": "integer"
  12199. },
  12200. "matchermode": {
  12201. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  12202. "type": "integer"
  12203. },
  12204. "openmethod": {
  12205. "description": "开盘模式 - 0 自动 1手动",
  12206. "type": "integer"
  12207. },
  12208. "otcuserid": {
  12209. "description": "场外期权做市商[场外期权]",
  12210. "type": "integer"
  12211. },
  12212. "outersynctime": {
  12213. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  12214. "type": "string"
  12215. },
  12216. "pendingflag": {
  12217. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  12218. "type": "integer"
  12219. },
  12220. "pendingtime": {
  12221. "description": "待开市时间[通道交易-对冲](HH:mm)",
  12222. "type": "string"
  12223. },
  12224. "performancetempid": {
  12225. "description": "履约计划模板ID - 作废",
  12226. "type": "integer"
  12227. },
  12228. "premiumquotemode": {
  12229. "description": "权利金报价方式 - 1:自动 2:手动",
  12230. "type": "integer"
  12231. },
  12232. "rebateratio": {
  12233. "description": "返利比率[竞价式]",
  12234. "type": "number"
  12235. },
  12236. "reckonorder": {
  12237. "description": "结算顺序",
  12238. "type": "integer"
  12239. },
  12240. "reckonpricealgorithm": {
  12241. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  12242. "type": "integer"
  12243. },
  12244. "reckonpriceparam": {
  12245. "description": "结算价参数",
  12246. "type": "integer"
  12247. },
  12248. "reckontime": {
  12249. "description": "结算时间[通道交易-对冲](HH:mm)",
  12250. "type": "string"
  12251. },
  12252. "roleprioritytype": {
  12253. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  12254. "type": "integer"
  12255. },
  12256. "selllistingauditflag": {
  12257. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  12258. "type": "integer"
  12259. },
  12260. "trademarkettype": {
  12261. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  12262. "type": "integer"
  12263. },
  12264. "trademode": {
  12265. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12266. "type": "integer"
  12267. },
  12268. "tradeproperty": {
  12269. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  12270. "type": "integer"
  12271. },
  12272. "tradetype": {
  12273. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  12274. "type": "integer"
  12275. }
  12276. }
  12277. },
  12278. "models.Marketrun": {
  12279. "type": "object",
  12280. "required": [
  12281. "marketid",
  12282. "nexttradedate",
  12283. "reckonflag",
  12284. "runstatus",
  12285. "tradedate",
  12286. "tradedate2"
  12287. ],
  12288. "properties": {
  12289. "afternexttradedate": {
  12290. "description": "下下交易日",
  12291. "type": "string"
  12292. },
  12293. "clearquoteflag": {
  12294. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  12295. "type": "integer"
  12296. },
  12297. "lastreckondate": {
  12298. "description": "最新交易日(结算成功)",
  12299. "type": "string"
  12300. },
  12301. "machinedate": {
  12302. "description": "机器时间",
  12303. "type": "string"
  12304. },
  12305. "manualflag": {
  12306. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  12307. "type": "integer"
  12308. },
  12309. "marketid": {
  12310. "description": "市场ID",
  12311. "type": "integer"
  12312. },
  12313. "nexttradedate": {
  12314. "description": "下一交易日",
  12315. "type": "string"
  12316. },
  12317. "pretradedate": {
  12318. "description": "上一交易日",
  12319. "type": "string"
  12320. },
  12321. "reckonflag": {
  12322. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  12323. "type": "integer"
  12324. },
  12325. "runstatus": {
  12326. "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.今日免清算",
  12327. "type": "integer"
  12328. },
  12329. "sectionid": {
  12330. "description": "时间段号[多时段时用]",
  12331. "type": "integer"
  12332. },
  12333. "tradedate": {
  12334. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  12335. "type": "string"
  12336. },
  12337. "tradedate2": {
  12338. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  12339. "type": "string"
  12340. },
  12341. "updatetime": {
  12342. "description": "更新时间",
  12343. "type": "string"
  12344. }
  12345. }
  12346. },
  12347. "models.Messageboard": {
  12348. "type": "object",
  12349. "required": [
  12350. "messageboardid"
  12351. ],
  12352. "properties": {
  12353. "createtime": {
  12354. "description": "创建时间",
  12355. "type": "string"
  12356. },
  12357. "message": {
  12358. "description": "留言信息",
  12359. "type": "string"
  12360. },
  12361. "messageboardid": {
  12362. "description": "留言簿ID(SEQ_MessageBoard)",
  12363. "type": "integer"
  12364. },
  12365. "userid": {
  12366. "description": "用户ID",
  12367. "type": "integer"
  12368. }
  12369. }
  12370. },
  12371. "models.MyCoupon": {
  12372. "type": "object",
  12373. "required": [
  12374. "accountid",
  12375. "coupontypeid"
  12376. ],
  12377. "properties": {
  12378. "accountid": {
  12379. "description": "资金账户ID",
  12380. "type": "integer"
  12381. },
  12382. "areauserid": {
  12383. "description": "所属机构",
  12384. "type": "integer"
  12385. },
  12386. "conditionvalue": {
  12387. "description": "条件阈值(可为0)",
  12388. "type": "number"
  12389. },
  12390. "couponcategroy": {
  12391. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  12392. "type": "integer"
  12393. },
  12394. "couponname": {
  12395. "description": "优惠券名称",
  12396. "type": "string"
  12397. },
  12398. "coupontypeid": {
  12399. "description": "优惠券类型ID",
  12400. "type": "string"
  12401. },
  12402. "couponvalue": {
  12403. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  12404. "type": "number"
  12405. },
  12406. "curfreezeqty": {
  12407. "description": "期末冻结数量",
  12408. "type": "integer"
  12409. },
  12410. "curqty": {
  12411. "description": "期末数量",
  12412. "type": "integer"
  12413. },
  12414. "isgeneral": {
  12415. "description": "是否通用券 - 0:否 1:是",
  12416. "type": "integer"
  12417. },
  12418. "isunusable": {
  12419. "description": "是否不可用",
  12420. "type": "boolean"
  12421. },
  12422. "limitedflag": {
  12423. "description": "是否指定商品 - 0:不限 1:限制",
  12424. "type": "integer"
  12425. },
  12426. "limitedgoodsids": {
  12427. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  12428. "type": "string"
  12429. },
  12430. "orifreezeqty": {
  12431. "description": "期初冻结数量",
  12432. "type": "integer"
  12433. },
  12434. "oriqty": {
  12435. "description": "期初数量",
  12436. "type": "integer"
  12437. },
  12438. "reasontype": {
  12439. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  12440. "type": "integer"
  12441. },
  12442. "todaydecrease": {
  12443. "description": "今日减少",
  12444. "type": "integer"
  12445. },
  12446. "todayincrease": {
  12447. "description": "今日增加",
  12448. "type": "integer"
  12449. },
  12450. "userid": {
  12451. "description": "用户ID",
  12452. "type": "integer"
  12453. },
  12454. "userscope": {
  12455. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  12456. "type": "string"
  12457. }
  12458. }
  12459. },
  12460. "models.MyCouponHold": {
  12461. "type": "object",
  12462. "required": [
  12463. "couponholdid"
  12464. ],
  12465. "properties": {
  12466. "accountid": {
  12467. "description": "资金账户ID",
  12468. "type": "integer"
  12469. },
  12470. "conditionvalue": {
  12471. "description": "条件阈值(可为0)",
  12472. "type": "number"
  12473. },
  12474. "couponcategroy": {
  12475. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  12476. "type": "integer"
  12477. },
  12478. "couponholdid": {
  12479. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  12480. "type": "string"
  12481. },
  12482. "couponname": {
  12483. "description": "优惠券名称",
  12484. "type": "string"
  12485. },
  12486. "coupontypeid": {
  12487. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  12488. "type": "string"
  12489. },
  12490. "couponvalue": {
  12491. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  12492. "type": "number"
  12493. },
  12494. "createtime": {
  12495. "description": "创建时间",
  12496. "type": "string"
  12497. },
  12498. "enddate": {
  12499. "description": "结束日期",
  12500. "type": "string"
  12501. },
  12502. "giveapplyid": {
  12503. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  12504. "type": "integer"
  12505. },
  12506. "holdstatus": {
  12507. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  12508. "type": "integer"
  12509. },
  12510. "isgeneral": {
  12511. "description": "是否通用券 - 0:否 1:是",
  12512. "type": "integer"
  12513. },
  12514. "limitedflag": {
  12515. "description": "是否指定商品 - 0:不限 1:限制",
  12516. "type": "integer"
  12517. },
  12518. "limitedgoodsids": {
  12519. "description": "指定商品IDs[逗号分隔]",
  12520. "type": "string"
  12521. },
  12522. "qty": {
  12523. "description": "数量(按1平铺)",
  12524. "type": "integer"
  12525. },
  12526. "startdate": {
  12527. "description": "开始日期",
  12528. "type": "string"
  12529. },
  12530. "userid": {
  12531. "description": "用户ID",
  12532. "type": "integer"
  12533. },
  12534. "userscope": {
  12535. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  12536. "type": "string"
  12537. }
  12538. }
  12539. },
  12540. "models.MyUsedCoupon": {
  12541. "type": "object",
  12542. "required": [
  12543. "coupontypeid",
  12544. "orderid"
  12545. ],
  12546. "properties": {
  12547. "accountid": {
  12548. "description": "资金账户ID(买方)",
  12549. "type": "integer"
  12550. },
  12551. "conditionvalue": {
  12552. "description": "条件阈值(可为0)",
  12553. "type": "number"
  12554. },
  12555. "couponcategroy": {
  12556. "description": "种类 - 1:现金券 2:折扣券",
  12557. "type": "integer"
  12558. },
  12559. "couponname": {
  12560. "description": "优惠券名称",
  12561. "type": "string"
  12562. },
  12563. "coupontypeid": {
  12564. "description": "优惠券类型ID(买方)",
  12565. "type": "string"
  12566. },
  12567. "couponvalue": {
  12568. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  12569. "type": "number"
  12570. },
  12571. "createtime": {
  12572. "description": "创建时间",
  12573. "type": "string"
  12574. },
  12575. "goodsid": {
  12576. "description": "商品ID",
  12577. "type": "integer"
  12578. },
  12579. "handlestatus": {
  12580. "description": "处理状态",
  12581. "type": "integer"
  12582. },
  12583. "marketid": {
  12584. "description": "市场ID",
  12585. "type": "integer"
  12586. },
  12587. "offamount": {
  12588. "description": "优惠金额",
  12589. "type": "number"
  12590. },
  12591. "orderid": {
  12592. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12593. "type": "string"
  12594. },
  12595. "sellaccountid": {
  12596. "description": "资金账户ID(卖方)",
  12597. "type": "integer"
  12598. },
  12599. "tradeamount": {
  12600. "description": "成交金额",
  12601. "type": "number"
  12602. },
  12603. "tradeid": {
  12604. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12605. "type": "string"
  12606. },
  12607. "usedqty": {
  12608. "description": "使用数量",
  12609. "type": "integer"
  12610. }
  12611. }
  12612. },
  12613. "models.OperationPrimaryMenu": {
  12614. "type": "object",
  12615. "properties": {
  12616. "Children": {
  12617. "description": "二级功能菜单",
  12618. "type": "array",
  12619. "items": {
  12620. "$ref": "#/definitions/models.OperationSecondaryMenu"
  12621. }
  12622. },
  12623. "Key": {
  12624. "description": "菜单KEY",
  12625. "type": "string"
  12626. },
  12627. "Label": {
  12628. "description": "菜单标题",
  12629. "type": "string"
  12630. }
  12631. }
  12632. },
  12633. "models.OperationSecondaryMenu": {
  12634. "type": "object",
  12635. "properties": {
  12636. "Key": {
  12637. "description": "菜单KEY",
  12638. "type": "string"
  12639. },
  12640. "Label": {
  12641. "description": "菜单标题",
  12642. "type": "string"
  12643. },
  12644. "TabList": {
  12645. "description": "三级功能菜单",
  12646. "type": "array",
  12647. "items": {
  12648. "$ref": "#/definitions/models.OperationTabMenu"
  12649. }
  12650. }
  12651. }
  12652. },
  12653. "models.OperationTabMenu": {
  12654. "type": "object",
  12655. "properties": {
  12656. "Key": {
  12657. "description": "菜单KEY",
  12658. "type": "string"
  12659. },
  12660. "Label": {
  12661. "description": "菜单标题",
  12662. "type": "string"
  12663. }
  12664. }
  12665. },
  12666. "models.QuotePrimaryMenu": {
  12667. "type": "object",
  12668. "properties": {
  12669. "Index": {
  12670. "description": "序号",
  12671. "type": "integer"
  12672. },
  12673. "Key": {
  12674. "description": "键名",
  12675. "type": "string"
  12676. },
  12677. "Name": {
  12678. "description": "菜单名称",
  12679. "type": "string"
  12680. },
  12681. "SubMenus": {
  12682. "description": "子菜单",
  12683. "type": "array",
  12684. "items": {
  12685. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  12686. }
  12687. },
  12688. "SubTitleType": {
  12689. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  12690. "type": "integer"
  12691. },
  12692. "TradeModes": {
  12693. "description": "包含市场交易类型",
  12694. "type": "string"
  12695. }
  12696. }
  12697. },
  12698. "models.QuoteSecondaryMenu": {
  12699. "type": "object",
  12700. "properties": {
  12701. "ExExchangeCode": {
  12702. "description": "外部交易所代码",
  12703. "type": "string"
  12704. },
  12705. "ExExchangeID": {
  12706. "description": "外部交易所ID",
  12707. "type": "integer"
  12708. },
  12709. "GoodsGroupIDs": {
  12710. "description": "商品组ID列表",
  12711. "type": "array",
  12712. "items": {
  12713. "type": "integer"
  12714. }
  12715. },
  12716. "Index": {
  12717. "description": "序号",
  12718. "type": "integer"
  12719. },
  12720. "MarketID": {
  12721. "description": "市场ID",
  12722. "type": "integer"
  12723. },
  12724. "MenuTitle": {
  12725. "description": "菜单标题(市场名称或外部交易所名称)",
  12726. "type": "string"
  12727. },
  12728. "TradeMode": {
  12729. "description": "交易模式",
  12730. "type": "integer"
  12731. }
  12732. }
  12733. },
  12734. "models.SearchGoods": {
  12735. "type": "object",
  12736. "required": [
  12737. "goodscode",
  12738. "goodsid",
  12739. "goodsname",
  12740. "marketid",
  12741. "trademode"
  12742. ],
  12743. "properties": {
  12744. "goodscode": {
  12745. "description": "商品代码(内部)",
  12746. "type": "string"
  12747. },
  12748. "goodsid": {
  12749. "description": "商品ID(自增ID SEQ_GOODS)",
  12750. "type": "integer"
  12751. },
  12752. "goodsname": {
  12753. "description": "商品名称",
  12754. "type": "string"
  12755. },
  12756. "marketid": {
  12757. "description": "所属市场ID",
  12758. "type": "integer"
  12759. },
  12760. "marketname": {
  12761. "description": "市场名称",
  12762. "type": "string"
  12763. },
  12764. "trademode": {
  12765. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12766. "type": "integer"
  12767. }
  12768. }
  12769. },
  12770. "models.Szdz2imageconfig": {
  12771. "type": "object",
  12772. "required": [
  12773. "configid"
  12774. ],
  12775. "properties": {
  12776. "configid": {
  12777. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  12778. "type": "integer"
  12779. },
  12780. "imagepath": {
  12781. "description": "图片",
  12782. "type": "string"
  12783. },
  12784. "imagetype": {
  12785. "description": "类型 - 1:App首页轮播 2:我的",
  12786. "type": "integer"
  12787. },
  12788. "sort": {
  12789. "description": "排序",
  12790. "type": "integer"
  12791. },
  12792. "title": {
  12793. "description": "标题",
  12794. "type": "string"
  12795. },
  12796. "url": {
  12797. "description": "链接",
  12798. "type": "string"
  12799. }
  12800. }
  12801. },
  12802. "models.Szdz3convertconfig": {
  12803. "type": "object",
  12804. "required": [
  12805. "converttype",
  12806. "innergoodsid",
  12807. "outergoodscode"
  12808. ],
  12809. "properties": {
  12810. "canin": {
  12811. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  12812. "type": "integer"
  12813. },
  12814. "canout": {
  12815. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  12816. "type": "integer"
  12817. },
  12818. "converttype": {
  12819. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  12820. "type": "integer"
  12821. },
  12822. "createtime": {
  12823. "description": "创建时间",
  12824. "type": "string"
  12825. },
  12826. "creatorid": {
  12827. "description": "创建人",
  12828. "type": "integer"
  12829. },
  12830. "daymaxvalue": {
  12831. "description": "当日最大转入限制",
  12832. "type": "number"
  12833. },
  12834. "freezedays": {
  12835. "description": "冻结天数 [5:花生米转交易]",
  12836. "type": "integer"
  12837. },
  12838. "innergoodsid": {
  12839. "description": "内部商品ID[交易]",
  12840. "type": "integer"
  12841. },
  12842. "inratio": {
  12843. "description": "目标值",
  12844. "type": "integer"
  12845. },
  12846. "modifierid": {
  12847. "description": "修改人",
  12848. "type": "integer"
  12849. },
  12850. "modifytime": {
  12851. "description": "修改时间",
  12852. "type": "string"
  12853. },
  12854. "outergoodscode": {
  12855. "description": "外部商品代码[JD\\PD]",
  12856. "type": "string"
  12857. },
  12858. "outratio": {
  12859. "description": "源值",
  12860. "type": "integer"
  12861. },
  12862. "pddecimalplace": {
  12863. "description": "PD小数位",
  12864. "type": "integer"
  12865. },
  12866. "timemaxvalue": {
  12867. "description": "单次最大转入限制",
  12868. "type": "number"
  12869. },
  12870. "timeminvalue": {
  12871. "description": "单次最小转入限制",
  12872. "type": "number"
  12873. }
  12874. }
  12875. },
  12876. "models.Szdz3searchwhitelist": {
  12877. "type": "object",
  12878. "required": [
  12879. "userid"
  12880. ],
  12881. "properties": {
  12882. "createtime": {
  12883. "description": "创建时间",
  12884. "type": "string"
  12885. },
  12886. "creatorid": {
  12887. "description": "创建人",
  12888. "type": "integer"
  12889. },
  12890. "modifierid": {
  12891. "description": "修改人",
  12892. "type": "integer"
  12893. },
  12894. "modifytime": {
  12895. "description": "修改时间",
  12896. "type": "string"
  12897. },
  12898. "userid": {
  12899. "description": "用户ID",
  12900. "type": "integer"
  12901. }
  12902. }
  12903. },
  12904. "models.Tablecolumnconfig": {
  12905. "type": "object",
  12906. "required": [
  12907. "autoid"
  12908. ],
  12909. "properties": {
  12910. "aligntype": {
  12911. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  12912. "type": "integer"
  12913. },
  12914. "autoid": {
  12915. "description": "AutoID",
  12916. "type": "integer"
  12917. },
  12918. "columnfield": {
  12919. "description": "列字段",
  12920. "type": "string"
  12921. },
  12922. "columntitle": {
  12923. "description": "列Title",
  12924. "type": "string"
  12925. },
  12926. "columnwidth": {
  12927. "description": "列宽",
  12928. "type": "string"
  12929. },
  12930. "formatterstring": {
  12931. "description": "格式化字符",
  12932. "type": "string"
  12933. },
  12934. "formattertype": {
  12935. "description": "格式化类型",
  12936. "type": "string"
  12937. },
  12938. "groupname": {
  12939. "description": "表头分组名称",
  12940. "type": "string"
  12941. },
  12942. "isshow": {
  12943. "description": "是否显示 - 0:不显示 1:显示",
  12944. "type": "integer"
  12945. },
  12946. "needsummary": {
  12947. "description": "是否需要汇总 - 0:不需要 1:需要",
  12948. "type": "integer"
  12949. },
  12950. "orderindex": {
  12951. "description": "顺序",
  12952. "type": "integer"
  12953. },
  12954. "remark": {
  12955. "description": "备注",
  12956. "type": "string"
  12957. },
  12958. "summarytype": {
  12959. "description": "汇总类型 - 1:加总 2:最后一个",
  12960. "type": "integer"
  12961. },
  12962. "tablekey": {
  12963. "description": "列表Key",
  12964. "type": "string"
  12965. }
  12966. }
  12967. },
  12968. "models.Useraccount": {
  12969. "type": "object",
  12970. "required": [
  12971. "userid"
  12972. ],
  12973. "properties": {
  12974. "accountname": {
  12975. "description": "账户名称(机构名称)",
  12976. "type": "string"
  12977. },
  12978. "accountstatus": {
  12979. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  12980. "type": "integer"
  12981. },
  12982. "auditremark": {
  12983. "description": "审核备注",
  12984. "type": "string"
  12985. },
  12986. "audittime": {
  12987. "description": "审核时间",
  12988. "type": "string"
  12989. },
  12990. "audituserid": {
  12991. "description": "审核人",
  12992. "type": "integer"
  12993. },
  12994. "broker": {
  12995. "description": "所属经纪人ID",
  12996. "type": "integer"
  12997. },
  12998. "canceltime": {
  12999. "description": "销户时间",
  13000. "type": "string"
  13001. },
  13002. "canceluserid": {
  13003. "description": "销户人",
  13004. "type": "integer"
  13005. },
  13006. "createtime": {
  13007. "description": "创建时间",
  13008. "type": "string"
  13009. },
  13010. "creatorid": {
  13011. "description": "创建人",
  13012. "type": "integer"
  13013. },
  13014. "hasauth": {
  13015. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  13016. "type": "integer"
  13017. },
  13018. "isanonymous": {
  13019. "description": "是否匿名下单 - 0:否 1:是",
  13020. "type": "integer"
  13021. },
  13022. "maxinvestornum": {
  13023. "description": "最大用户数(经纪会员下投资者个数)",
  13024. "type": "integer"
  13025. },
  13026. "memberuserid": {
  13027. "description": "所属会员ID",
  13028. "type": "integer"
  13029. },
  13030. "modifierid": {
  13031. "description": "修改人",
  13032. "type": "integer"
  13033. },
  13034. "modifyremark": {
  13035. "description": "变更备注",
  13036. "type": "string"
  13037. },
  13038. "modifystatus": {
  13039. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  13040. "type": "integer"
  13041. },
  13042. "modifytime": {
  13043. "description": "修改时间",
  13044. "type": "string"
  13045. },
  13046. "parentuserid": {
  13047. "description": "所属机构ID",
  13048. "type": "integer"
  13049. },
  13050. "reckonaccountid": {
  13051. "description": "默认结算资金账号ID(机构分润使用) 作废",
  13052. "type": "integer"
  13053. },
  13054. "refercount": {
  13055. "description": "推荐总人数",
  13056. "type": "integer"
  13057. },
  13058. "refereeuserid": {
  13059. "description": "推荐人ID",
  13060. "type": "integer"
  13061. },
  13062. "refernum": {
  13063. "description": "推荐码",
  13064. "type": "string"
  13065. },
  13066. "subarealevelpath": {
  13067. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  13068. "type": "string"
  13069. },
  13070. "userid": {
  13071. "description": "用户ID",
  13072. "type": "integer"
  13073. },
  13074. "usertype": {
  13075. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  13076. "type": "integer"
  13077. }
  13078. }
  13079. },
  13080. "models.Userfavoritegoods": {
  13081. "type": "object",
  13082. "required": [
  13083. "goodsid"
  13084. ],
  13085. "properties": {
  13086. "goodsid": {
  13087. "description": "商品ID",
  13088. "type": "integer"
  13089. }
  13090. }
  13091. },
  13092. "models.Userinfo": {
  13093. "type": "object",
  13094. "required": [
  13095. "userid"
  13096. ],
  13097. "properties": {
  13098. "address": {
  13099. "description": "地址",
  13100. "type": "string"
  13101. },
  13102. "attachment1": {
  13103. "description": "附件1",
  13104. "type": "string"
  13105. },
  13106. "attachment2": {
  13107. "description": "附件2",
  13108. "type": "string"
  13109. },
  13110. "bankaccount": {
  13111. "description": "银行帐号 (加密存储)",
  13112. "type": "string"
  13113. },
  13114. "bankaccountname": {
  13115. "description": "收款人名称",
  13116. "type": "string"
  13117. },
  13118. "bankcardfrontphotourl": {
  13119. "description": "银行卡正面照地址",
  13120. "type": "string"
  13121. },
  13122. "bankid": {
  13123. "description": "银行编码",
  13124. "type": "string"
  13125. },
  13126. "bankname": {
  13127. "description": "银行名称",
  13128. "type": "string"
  13129. },
  13130. "biznature": {
  13131. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13132. "type": "integer"
  13133. },
  13134. "bizscope": {
  13135. "description": "企业经营范围(企业)",
  13136. "type": "string"
  13137. },
  13138. "cardbackphotourl": {
  13139. "description": "证件背面图片地址",
  13140. "type": "string"
  13141. },
  13142. "cardfrontphotourl": {
  13143. "description": "证件正面图片地址",
  13144. "type": "string"
  13145. },
  13146. "cardnum": {
  13147. "description": "证件号码(加密存储)",
  13148. "type": "string"
  13149. },
  13150. "cardtypeid": {
  13151. "description": "证件类型ID",
  13152. "type": "integer"
  13153. },
  13154. "cityid": {
  13155. "description": "市",
  13156. "type": "integer"
  13157. },
  13158. "company": {
  13159. "description": "公司(个人)",
  13160. "type": "string"
  13161. },
  13162. "contactname": {
  13163. "description": "联系人",
  13164. "type": "string"
  13165. },
  13166. "countryid": {
  13167. "description": "国家",
  13168. "type": "integer"
  13169. },
  13170. "createtime": {
  13171. "description": "创建时间",
  13172. "type": "string"
  13173. },
  13174. "creatorid": {
  13175. "description": "创建人",
  13176. "type": "integer"
  13177. },
  13178. "customername": {
  13179. "description": "客户名称(企业名称)",
  13180. "type": "string"
  13181. },
  13182. "districtid": {
  13183. "description": "地区",
  13184. "type": "integer"
  13185. },
  13186. "email": {
  13187. "description": "邮件(加密存储)",
  13188. "type": "string"
  13189. },
  13190. "fax": {
  13191. "description": "传真(加密存储)",
  13192. "type": "string"
  13193. },
  13194. "halfbodyphotourl": {
  13195. "description": "半身照地址",
  13196. "type": "string"
  13197. },
  13198. "hasencrypt": {
  13199. "description": "数据是否已加密 - 0:未加密 1:已加密",
  13200. "type": "integer"
  13201. },
  13202. "headurl": {
  13203. "description": "头像地址",
  13204. "type": "string"
  13205. },
  13206. "legalcardbackphotourl": {
  13207. "description": "法人身份证背面照地址",
  13208. "type": "string"
  13209. },
  13210. "legalcardfrontphotourl": {
  13211. "description": "法人身份证正面照地址",
  13212. "type": "string"
  13213. },
  13214. "legalpersonname": {
  13215. "description": "法人姓名(企业)",
  13216. "type": "string"
  13217. },
  13218. "mobile": {
  13219. "description": "手机号码(加密存储)",
  13220. "type": "string"
  13221. },
  13222. "mobile2": {
  13223. "description": "手机号码[明文-尚志]",
  13224. "type": "string"
  13225. },
  13226. "modifierid": {
  13227. "description": "修改人",
  13228. "type": "integer"
  13229. },
  13230. "modifiertime": {
  13231. "description": "修改时间",
  13232. "type": "string"
  13233. },
  13234. "needinvoice": {
  13235. "description": "是否需要发票 - 0:不需要 1:需要",
  13236. "type": "integer"
  13237. },
  13238. "nickname": {
  13239. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  13240. "type": "string"
  13241. },
  13242. "openmode": {
  13243. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  13244. "type": "integer"
  13245. },
  13246. "otherurl": {
  13247. "description": "其它图片地址[使用分号分隔]",
  13248. "type": "string"
  13249. },
  13250. "postalcode": {
  13251. "description": "邮政编码",
  13252. "type": "string"
  13253. },
  13254. "provinceid": {
  13255. "description": "省",
  13256. "type": "integer"
  13257. },
  13258. "qq": {
  13259. "description": "QQ(加密存储",
  13260. "type": "string"
  13261. },
  13262. "remark": {
  13263. "description": "备注",
  13264. "type": "string"
  13265. },
  13266. "sex": {
  13267. "description": "用户性别 0: 女 1: 男",
  13268. "type": "integer"
  13269. },
  13270. "signpdfurl": {
  13271. "description": "签约pdf文件",
  13272. "type": "string"
  13273. },
  13274. "telphone": {
  13275. "description": "联系电话(加密存储)",
  13276. "type": "string"
  13277. },
  13278. "userid": {
  13279. "description": "用户ID",
  13280. "type": "integer"
  13281. },
  13282. "userinfotype": {
  13283. "description": "用户信息类型 - 1:个人 2:企业",
  13284. "type": "integer"
  13285. },
  13286. "userstatus": {
  13287. "description": "用户状态 - 1:正常 2:注销",
  13288. "type": "integer"
  13289. },
  13290. "usertype": {
  13291. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  13292. "type": "integer"
  13293. },
  13294. "wechat": {
  13295. "description": "微信(加密存储)",
  13296. "type": "string"
  13297. },
  13298. "wskhinfo": {
  13299. "description": "开户申请信息(JSON)",
  13300. "type": "string"
  13301. }
  13302. }
  13303. },
  13304. "models.WRCategoryTree": {
  13305. "type": "object",
  13306. "required": [
  13307. "categoryid"
  13308. ],
  13309. "properties": {
  13310. "areauserid": {
  13311. "description": "所属机构",
  13312. "type": "integer"
  13313. },
  13314. "categorydesc": {
  13315. "description": "类别描述",
  13316. "type": "string"
  13317. },
  13318. "categoryid": {
  13319. "description": "类别ID(SEQ_WRCATEGORY)",
  13320. "type": "integer"
  13321. },
  13322. "categoryname": {
  13323. "description": "类别名称",
  13324. "type": "string"
  13325. },
  13326. "iconurl": {
  13327. "description": "图标地址",
  13328. "type": "string"
  13329. },
  13330. "orderindex": {
  13331. "description": "顺序",
  13332. "type": "integer"
  13333. },
  13334. "parentcategoryid": {
  13335. "description": "父类别ID",
  13336. "type": "integer"
  13337. },
  13338. "subcategory": {
  13339. "description": "子分类",
  13340. "type": "array",
  13341. "items": {
  13342. "$ref": "#/definitions/models.WRCategoryTree"
  13343. }
  13344. }
  13345. }
  13346. },
  13347. "models.WRSConverTDetail": {
  13348. "type": "object",
  13349. "properties": {
  13350. "convertratio": {
  13351. "description": "套保系数",
  13352. "type": "number"
  13353. },
  13354. "deliverygoodsid": {
  13355. "description": "现货品种ID",
  13356. "type": "integer"
  13357. },
  13358. "middlegoodscode": {
  13359. "description": "套保品种代码",
  13360. "type": "string"
  13361. },
  13362. "middlegoodsid": {
  13363. "description": "套保品种ID",
  13364. "type": "integer"
  13365. },
  13366. "middlegoodsname": {
  13367. "description": "套保品种名称",
  13368. "type": "string"
  13369. },
  13370. "modifytime": {
  13371. "description": "修改时间",
  13372. "type": "string"
  13373. },
  13374. "wrstandardid": {
  13375. "description": "现货商品ID",
  13376. "type": "integer"
  13377. }
  13378. }
  13379. },
  13380. "models.WRStandardInfo": {
  13381. "type": "object",
  13382. "required": [
  13383. "wrstandardid"
  13384. ],
  13385. "properties": {
  13386. "createtime": {
  13387. "description": "创建时间",
  13388. "type": "string"
  13389. },
  13390. "creatorid": {
  13391. "description": "创建人",
  13392. "type": "integer"
  13393. },
  13394. "deliverygoodsid": {
  13395. "description": "品种ID",
  13396. "type": "integer"
  13397. },
  13398. "deliverygoodsname": {
  13399. "description": "交割商品名称",
  13400. "type": "string"
  13401. },
  13402. "factoryitemjson": {
  13403. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  13404. "type": "string"
  13405. },
  13406. "isvalid": {
  13407. "description": "是否有效 - 0:无效 1:有效",
  13408. "type": "integer"
  13409. },
  13410. "minivalue": {
  13411. "description": "最小变动值",
  13412. "type": "integer"
  13413. },
  13414. "minivaluedp": {
  13415. "description": "最小变动值小数位",
  13416. "type": "integer"
  13417. },
  13418. "realminivalue": {
  13419. "description": "实际最小变动值",
  13420. "type": "integer"
  13421. },
  13422. "realminivaluedp": {
  13423. "description": "实际最小变动值小数位",
  13424. "type": "integer"
  13425. },
  13426. "unitid": {
  13427. "description": "单位ID",
  13428. "type": "integer"
  13429. },
  13430. "unitname": {
  13431. "description": "单位",
  13432. "type": "string"
  13433. },
  13434. "updatetime": {
  13435. "description": "更新时间",
  13436. "type": "string"
  13437. },
  13438. "updatorid": {
  13439. "description": "更新人",
  13440. "type": "integer"
  13441. },
  13442. "wrsstatus": {
  13443. "description": "状态 - 作废 - 0:未激活 1:正常",
  13444. "type": "integer"
  13445. },
  13446. "wrstandardcode": {
  13447. "description": "仓单标准代码",
  13448. "type": "string"
  13449. },
  13450. "wrstandardid": {
  13451. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  13452. "type": "integer"
  13453. },
  13454. "wrstandardname": {
  13455. "description": "仓单标准名称",
  13456. "type": "string"
  13457. }
  13458. }
  13459. },
  13460. "models.Warehouseinfo": {
  13461. "type": "object",
  13462. "required": [
  13463. "autoid",
  13464. "warehousecode"
  13465. ],
  13466. "properties": {
  13467. "address": {
  13468. "description": "详细地址",
  13469. "type": "string"
  13470. },
  13471. "areauserid": {
  13472. "description": "所属机构",
  13473. "type": "integer"
  13474. },
  13475. "autoid": {
  13476. "description": "自增ID",
  13477. "type": "integer"
  13478. },
  13479. "cityid": {
  13480. "description": "市",
  13481. "type": "integer"
  13482. },
  13483. "contactname": {
  13484. "description": "联系人",
  13485. "type": "string"
  13486. },
  13487. "contactnum": {
  13488. "description": "联系电话",
  13489. "type": "string"
  13490. },
  13491. "countryid": {
  13492. "description": "国家",
  13493. "type": "integer"
  13494. },
  13495. "createtime": {
  13496. "description": "创建时间",
  13497. "type": "string"
  13498. },
  13499. "districtid": {
  13500. "description": "区",
  13501. "type": "integer"
  13502. },
  13503. "hasvideo": {
  13504. "description": "是否有视频 - 0:无 1:有",
  13505. "type": "integer"
  13506. },
  13507. "provinceid": {
  13508. "description": "省",
  13509. "type": "integer"
  13510. },
  13511. "remark": {
  13512. "description": "审核备注",
  13513. "type": "string"
  13514. },
  13515. "videourl": {
  13516. "description": "视频地址",
  13517. "type": "string"
  13518. },
  13519. "warehousecode": {
  13520. "description": "仓库代码",
  13521. "type": "string"
  13522. },
  13523. "warehousename": {
  13524. "description": "仓库名称",
  13525. "type": "string"
  13526. },
  13527. "warehousestatus": {
  13528. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  13529. "type": "integer"
  13530. },
  13531. "warehousetype": {
  13532. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13533. "type": "integer"
  13534. }
  13535. }
  13536. },
  13537. "order.QueryHisTradeDetailRsp": {
  13538. "type": "object",
  13539. "required": [
  13540. "accountid",
  13541. "buyorsell",
  13542. "goodsid",
  13543. "histradedate",
  13544. "marketid",
  13545. "memberuserid",
  13546. "orderid",
  13547. "tradeamount",
  13548. "tradedate",
  13549. "tradeid",
  13550. "tradeprice",
  13551. "tradeqty",
  13552. "tradetime"
  13553. ],
  13554. "properties": {
  13555. "accountid": {
  13556. "description": "账户ID[报价币种]",
  13557. "type": "integer"
  13558. },
  13559. "buildtype": {
  13560. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  13561. "type": "integer"
  13562. },
  13563. "buyorsell": {
  13564. "description": "方向 - 0:买 1:卖",
  13565. "type": "integer"
  13566. },
  13567. "charge": {
  13568. "description": "手续费",
  13569. "type": "number"
  13570. },
  13571. "closecharge": {
  13572. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13573. "type": "number"
  13574. },
  13575. "closeexchagechargevalue": {
  13576. "description": "平仓交易所手续费设置值",
  13577. "type": "number"
  13578. },
  13579. "closefeealgorithm": {
  13580. "description": "平仓手续费收取方式 1:比率 2:固定",
  13581. "type": "integer"
  13582. },
  13583. "closememberchargevalue": {
  13584. "description": "平仓会员手续费设置值",
  13585. "type": "number"
  13586. },
  13587. "closepl": {
  13588. "description": "平仓盈亏",
  13589. "type": "number"
  13590. },
  13591. "closepl2": {
  13592. "description": "平仓盈亏[逐笔]",
  13593. "type": "number"
  13594. },
  13595. "closeqty": {
  13596. "description": "平仓数量(先建后平操作 需要记录)",
  13597. "type": "integer"
  13598. },
  13599. "creditamount": {
  13600. "description": "授信金额",
  13601. "type": "number"
  13602. },
  13603. "gcaccountid": {
  13604. "description": "账户ID[合约币种]",
  13605. "type": "integer"
  13606. },
  13607. "goodscode": {
  13608. "description": "商品代码",
  13609. "type": "string"
  13610. },
  13611. "goodsid": {
  13612. "description": "商品ID",
  13613. "type": "integer"
  13614. },
  13615. "goodsname": {
  13616. "description": "商品名称",
  13617. "type": "string"
  13618. },
  13619. "histradedate": {
  13620. "description": "历史交易日",
  13621. "type": "string"
  13622. },
  13623. "intclosepl": {
  13624. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  13625. "type": "integer"
  13626. },
  13627. "isconfirmexercise": {
  13628. "description": "是否确认行权- 0:否 1:是",
  13629. "type": "integer"
  13630. },
  13631. "ismain": {
  13632. "description": "是否主单 - 0:不是 1:是",
  13633. "type": "integer"
  13634. },
  13635. "ispreexercise": {
  13636. "description": "是否预申报- 0:否 1:是",
  13637. "type": "integer"
  13638. },
  13639. "isreckoned": {
  13640. "description": "是否结算 - 0:未结算 1:已结算",
  13641. "type": "integer"
  13642. },
  13643. "isvaliddata": {
  13644. "description": "是否有效 - 0:无效 1:有效",
  13645. "type": "integer"
  13646. },
  13647. "listingselecttype": {
  13648. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13649. "type": "integer"
  13650. },
  13651. "marketid": {
  13652. "description": "市场ID",
  13653. "type": "integer"
  13654. },
  13655. "marketname": {
  13656. "description": "市场名称",
  13657. "type": "string"
  13658. },
  13659. "matchaccountid": {
  13660. "description": "对手账号id",
  13661. "type": "integer"
  13662. },
  13663. "memberuserid": {
  13664. "description": "会员id 个人投资者 需要填写",
  13665. "type": "integer"
  13666. },
  13667. "opencharge": {
  13668. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13669. "type": "number"
  13670. },
  13671. "openexchagechargevalue": {
  13672. "description": "建仓交易所手续费设置值",
  13673. "type": "number"
  13674. },
  13675. "openfeealgorithm": {
  13676. "description": "建仓手续费收取方式 1:比率 2:固定",
  13677. "type": "integer"
  13678. },
  13679. "openmemberchargevalue": {
  13680. "description": "建仓会员手续费设置值",
  13681. "type": "number"
  13682. },
  13683. "openqty": {
  13684. "description": "开仓数量(先建后平操作 需要记录)",
  13685. "type": "integer"
  13686. },
  13687. "optiontype": {
  13688. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13689. "type": "integer"
  13690. },
  13691. "orderid": {
  13692. "description": "委托单号",
  13693. "type": "string"
  13694. },
  13695. "performanceplanid": {
  13696. "description": "履约计划ID[期权]",
  13697. "type": "integer"
  13698. },
  13699. "performancestatus": {
  13700. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  13701. "type": "integer"
  13702. },
  13703. "preexerciseprice": {
  13704. "description": "预申报价格",
  13705. "type": "number"
  13706. },
  13707. "premium": {
  13708. "description": "权利金 - [持仓单的权利金]",
  13709. "type": "number"
  13710. },
  13711. "relatedouttradeid": {
  13712. "description": "关联外部成交单ID",
  13713. "type": "integer"
  13714. },
  13715. "status": {
  13716. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  13717. "type": "integer"
  13718. },
  13719. "tradeamount": {
  13720. "description": "成交金额[账户币种,用于所有权]",
  13721. "type": "number"
  13722. },
  13723. "tradedate": {
  13724. "description": "交易日(yyyyMMdd)",
  13725. "type": "string"
  13726. },
  13727. "tradeid": {
  13728. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13729. "type": "string"
  13730. },
  13731. "trademode": {
  13732. "description": "交易模式",
  13733. "type": "integer"
  13734. },
  13735. "tradeprice": {
  13736. "description": "成交价格",
  13737. "type": "number"
  13738. },
  13739. "tradeproperty": {
  13740. "description": "交易属性",
  13741. "type": "integer"
  13742. },
  13743. "tradeqty": {
  13744. "description": "成交数量",
  13745. "type": "integer"
  13746. },
  13747. "tradetime": {
  13748. "description": "成交时间",
  13749. "type": "string"
  13750. },
  13751. "tradetype": {
  13752. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  13753. "type": "integer"
  13754. }
  13755. }
  13756. },
  13757. "order.QueryHisTradeOrderDetailRsp": {
  13758. "type": "object",
  13759. "required": [
  13760. "accountid",
  13761. "buildtype",
  13762. "buyorsell",
  13763. "goodsid",
  13764. "histradedate",
  13765. "marketid",
  13766. "memberuserid",
  13767. "operatetype",
  13768. "orderid",
  13769. "orderqty",
  13770. "ordertime",
  13771. "pricemode",
  13772. "tradedate",
  13773. "validtype"
  13774. ],
  13775. "properties": {
  13776. "accountid": {
  13777. "description": "账户ID[报价币种]",
  13778. "type": "integer"
  13779. },
  13780. "buildtype": {
  13781. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13782. "type": "integer"
  13783. },
  13784. "buyorsell": {
  13785. "description": "买卖 - 0:买 1:卖",
  13786. "type": "integer"
  13787. },
  13788. "cancelorderid": {
  13789. "description": "撤单单号(撤单时填写)",
  13790. "type": "string"
  13791. },
  13792. "cancelqty": {
  13793. "description": "撤单数量",
  13794. "type": "integer"
  13795. },
  13796. "clientordertime": {
  13797. "description": "客户端委托时间",
  13798. "type": "string"
  13799. },
  13800. "clientticket": {
  13801. "description": "客户端流水号",
  13802. "type": "string"
  13803. },
  13804. "clienttype": {
  13805. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13806. "type": "integer"
  13807. },
  13808. "closeexchagechargevalue": {
  13809. "description": "平仓交易所手续费设置值",
  13810. "type": "number"
  13811. },
  13812. "closefeealgorithm": {
  13813. "description": "平仓手续费收取方式 1:比率 2:固定",
  13814. "type": "integer"
  13815. },
  13816. "closefreezecharge": {
  13817. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13818. "type": "number"
  13819. },
  13820. "closememberchargevalue": {
  13821. "description": "平仓会员手续费设置值",
  13822. "type": "number"
  13823. },
  13824. "closeqty": {
  13825. "description": "平仓数量(先建后平操作 需要记录)",
  13826. "type": "integer"
  13827. },
  13828. "closetradeqty": {
  13829. "description": "平仓成交数量(先建后平操作,需要记录)",
  13830. "type": "integer"
  13831. },
  13832. "closeunfreezecharge": {
  13833. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13834. "type": "number"
  13835. },
  13836. "delistingtype": {
  13837. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13838. "type": "integer"
  13839. },
  13840. "freezecharge": {
  13841. "description": "冻结手续费",
  13842. "type": "number"
  13843. },
  13844. "freezemargin": {
  13845. "description": "冻结保证金(冻结交易金额)",
  13846. "type": "number"
  13847. },
  13848. "gcaccountid": {
  13849. "description": "账户ID[合约币种]",
  13850. "type": "integer"
  13851. },
  13852. "goodscode": {
  13853. "description": "商品代码",
  13854. "type": "string"
  13855. },
  13856. "goodsid": {
  13857. "description": "商品ID",
  13858. "type": "integer"
  13859. },
  13860. "goodsname": {
  13861. "description": "商品名称",
  13862. "type": "string"
  13863. },
  13864. "histradedate": {
  13865. "description": "历史交易日",
  13866. "type": "string"
  13867. },
  13868. "isconfirmexercise": {
  13869. "description": "是否确认行权- 0:否 1:是",
  13870. "type": "integer"
  13871. },
  13872. "ispreexercise": {
  13873. "description": "是否预申报- 0:否 1:是",
  13874. "type": "integer"
  13875. },
  13876. "isvaliddata": {
  13877. "description": "是否有效 - 0:无效 1:有效",
  13878. "type": "integer"
  13879. },
  13880. "listingselecttype": {
  13881. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13882. "type": "integer"
  13883. },
  13884. "marginalgorithm": {
  13885. "description": "保证金收取方式 1:比率 2:固定",
  13886. "type": "integer"
  13887. },
  13888. "marginvalue": {
  13889. "description": "即市保证金设置值",
  13890. "type": "number"
  13891. },
  13892. "marketid": {
  13893. "description": "市场ID",
  13894. "type": "integer"
  13895. },
  13896. "marketmaxsub": {
  13897. "description": "市价最大偏移范围",
  13898. "type": "number"
  13899. },
  13900. "marketname": {
  13901. "description": "市场名称",
  13902. "type": "string"
  13903. },
  13904. "memberuserid": {
  13905. "description": "所属会员UserID",
  13906. "type": "integer"
  13907. },
  13908. "openexchagechargevalue": {
  13909. "description": "建仓交易所手续费设置值",
  13910. "type": "number"
  13911. },
  13912. "openfeealgorithm": {
  13913. "description": "建仓手续费收取方式 1:比率 2:固定",
  13914. "type": "integer"
  13915. },
  13916. "openfreezecharge": {
  13917. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13918. "type": "number"
  13919. },
  13920. "openmemberchargevalue": {
  13921. "description": "建仓会员手续费设置值",
  13922. "type": "number"
  13923. },
  13924. "openqty": {
  13925. "description": "开仓数量(先建后平操作,需要记录)",
  13926. "type": "integer"
  13927. },
  13928. "opentradeqty": {
  13929. "description": "开仓成交数量(先建后平操作,需要记录)",
  13930. "type": "integer"
  13931. },
  13932. "openunfreezecharge": {
  13933. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13934. "type": "number"
  13935. },
  13936. "operatetype": {
  13937. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13938. "type": "integer"
  13939. },
  13940. "operatorid": {
  13941. "description": "登录账号(LoginID)",
  13942. "type": "integer"
  13943. },
  13944. "optiontype": {
  13945. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13946. "type": "integer"
  13947. },
  13948. "orderid": {
  13949. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13950. "type": "string"
  13951. },
  13952. "orderprice": {
  13953. "description": "委托价格",
  13954. "type": "number"
  13955. },
  13956. "orderqty": {
  13957. "description": "委托数量",
  13958. "type": "integer"
  13959. },
  13960. "ordersrc": {
  13961. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13962. "type": "integer"
  13963. },
  13964. "orderstatus": {
  13965. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13966. "type": "integer"
  13967. },
  13968. "ordertime": {
  13969. "description": "委托时间",
  13970. "type": "string"
  13971. },
  13972. "preexerciseprice": {
  13973. "description": "预申报价格",
  13974. "type": "number"
  13975. },
  13976. "premium": {
  13977. "description": "权利金",
  13978. "type": "number"
  13979. },
  13980. "preorderid": {
  13981. "description": "关联预埋单号(止盈止损单时填写)",
  13982. "type": "string"
  13983. },
  13984. "pricemode": {
  13985. "description": "取价方式 - 1:市价 2: 限价",
  13986. "type": "integer"
  13987. },
  13988. "quoteid": {
  13989. "description": "报价单ID",
  13990. "type": "integer"
  13991. },
  13992. "relatedid": {
  13993. "description": "关联单号(交割单)",
  13994. "type": "string"
  13995. },
  13996. "retcode": {
  13997. "description": "错误代码",
  13998. "type": "integer"
  13999. },
  14000. "sessionid": {
  14001. "description": "会话ID",
  14002. "type": "integer"
  14003. },
  14004. "tradedate": {
  14005. "description": "交易日(yyyyMMdd)",
  14006. "type": "string"
  14007. },
  14008. "trademode": {
  14009. "description": "交易模式",
  14010. "type": "integer"
  14011. },
  14012. "tradeproperty": {
  14013. "description": "交易属性",
  14014. "type": "integer"
  14015. },
  14016. "tradeqty": {
  14017. "description": "成交数量",
  14018. "type": "integer"
  14019. },
  14020. "unfreezecharge": {
  14021. "description": "解冻手续费",
  14022. "type": "number"
  14023. },
  14024. "unfreezemargin": {
  14025. "description": "解冻保证金",
  14026. "type": "number"
  14027. },
  14028. "updatetime": {
  14029. "description": "更新时间",
  14030. "type": "string"
  14031. },
  14032. "uuid": {
  14033. "description": "发起端唯一id",
  14034. "type": "string"
  14035. },
  14036. "validtime": {
  14037. "description": "有效期限",
  14038. "type": "string"
  14039. },
  14040. "validtype": {
  14041. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14042. "type": "integer"
  14043. },
  14044. "volumetype": {
  14045. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14046. "type": "integer"
  14047. }
  14048. }
  14049. },
  14050. "order.QueryTradeDetailRsp": {
  14051. "type": "object",
  14052. "required": [
  14053. "accountid",
  14054. "buyorsell",
  14055. "goodsid",
  14056. "marketid",
  14057. "memberuserid",
  14058. "orderid",
  14059. "tradeamount",
  14060. "tradedate",
  14061. "tradeid",
  14062. "tradeprice",
  14063. "tradeqty",
  14064. "tradetime"
  14065. ],
  14066. "properties": {
  14067. "accountid": {
  14068. "description": "账户ID[报价币种]",
  14069. "type": "integer"
  14070. },
  14071. "buildtype": {
  14072. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  14073. "type": "integer"
  14074. },
  14075. "buyorsell": {
  14076. "description": "方向 - 0:买 1:卖",
  14077. "type": "integer"
  14078. },
  14079. "charge": {
  14080. "description": "手续费",
  14081. "type": "number"
  14082. },
  14083. "closecharge": {
  14084. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  14085. "type": "number"
  14086. },
  14087. "closeexchagechargevalue": {
  14088. "description": "平仓交易所手续费设置值",
  14089. "type": "number"
  14090. },
  14091. "closefeealgorithm": {
  14092. "description": "平仓手续费收取方式 1:比率 2:固定",
  14093. "type": "integer"
  14094. },
  14095. "closememberchargevalue": {
  14096. "description": "平仓会员手续费设置值",
  14097. "type": "number"
  14098. },
  14099. "closepl": {
  14100. "description": "平仓盈亏",
  14101. "type": "number"
  14102. },
  14103. "closepl2": {
  14104. "description": "平仓盈亏[逐笔]",
  14105. "type": "number"
  14106. },
  14107. "closeqty": {
  14108. "description": "平仓数量(先建后平操作 需要记录)",
  14109. "type": "integer"
  14110. },
  14111. "creditamount": {
  14112. "description": "授信金额",
  14113. "type": "number"
  14114. },
  14115. "gcaccountid": {
  14116. "description": "账户ID[合约币种]",
  14117. "type": "integer"
  14118. },
  14119. "goodscode": {
  14120. "description": "商品代码",
  14121. "type": "string"
  14122. },
  14123. "goodsid": {
  14124. "description": "商品ID",
  14125. "type": "integer"
  14126. },
  14127. "goodsname": {
  14128. "description": "商品名称",
  14129. "type": "string"
  14130. },
  14131. "intclosepl": {
  14132. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  14133. "type": "integer"
  14134. },
  14135. "isconfirmexercise": {
  14136. "description": "是否确认行权- 0:否 1:是",
  14137. "type": "integer"
  14138. },
  14139. "ismain": {
  14140. "description": "是否主单 - 0:不是 1:是",
  14141. "type": "integer"
  14142. },
  14143. "ispreexercise": {
  14144. "description": "是否预申报- 0:否 1:是",
  14145. "type": "integer"
  14146. },
  14147. "isreckoned": {
  14148. "description": "是否结算 - 0:未结算 1:已结算",
  14149. "type": "integer"
  14150. },
  14151. "listingselecttype": {
  14152. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14153. "type": "integer"
  14154. },
  14155. "marketid": {
  14156. "description": "市场ID",
  14157. "type": "integer"
  14158. },
  14159. "marketname": {
  14160. "description": "市场名称",
  14161. "type": "string"
  14162. },
  14163. "matchaccountid": {
  14164. "description": "对手账号id",
  14165. "type": "integer"
  14166. },
  14167. "memberuserid": {
  14168. "description": "会员id 个人投资者 需要填写",
  14169. "type": "integer"
  14170. },
  14171. "opencharge": {
  14172. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  14173. "type": "number"
  14174. },
  14175. "openexchagechargevalue": {
  14176. "description": "建仓交易所手续费设置值",
  14177. "type": "number"
  14178. },
  14179. "openfeealgorithm": {
  14180. "description": "建仓手续费收取方式 1:比率 2:固定",
  14181. "type": "integer"
  14182. },
  14183. "openmemberchargevalue": {
  14184. "description": "建仓会员手续费设置值",
  14185. "type": "number"
  14186. },
  14187. "openqty": {
  14188. "description": "开仓数量(先建后平操作 需要记录)",
  14189. "type": "integer"
  14190. },
  14191. "optiontype": {
  14192. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14193. "type": "integer"
  14194. },
  14195. "orderid": {
  14196. "description": "委托单号",
  14197. "type": "string"
  14198. },
  14199. "performanceplanid": {
  14200. "description": "履约计划ID[期权]",
  14201. "type": "integer"
  14202. },
  14203. "performancestatus": {
  14204. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  14205. "type": "integer"
  14206. },
  14207. "preexerciseprice": {
  14208. "description": "预申报价格",
  14209. "type": "number"
  14210. },
  14211. "premium": {
  14212. "description": "权利金 - [持仓单的权利金]",
  14213. "type": "number"
  14214. },
  14215. "relatedouttradeid": {
  14216. "description": "关联外部成交单ID",
  14217. "type": "integer"
  14218. },
  14219. "status": {
  14220. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  14221. "type": "integer"
  14222. },
  14223. "tradeamount": {
  14224. "description": "成交金额[账户币种,用于所有权]",
  14225. "type": "number"
  14226. },
  14227. "tradedate": {
  14228. "description": "交易日(yyyyMMdd)",
  14229. "type": "string"
  14230. },
  14231. "tradeid": {
  14232. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14233. "type": "string"
  14234. },
  14235. "trademode": {
  14236. "description": "交易模式",
  14237. "type": "integer"
  14238. },
  14239. "tradeprice": {
  14240. "description": "成交价格",
  14241. "type": "number"
  14242. },
  14243. "tradeproperty": {
  14244. "description": "交易属性",
  14245. "type": "integer"
  14246. },
  14247. "tradeqty": {
  14248. "description": "成交数量",
  14249. "type": "integer"
  14250. },
  14251. "tradetime": {
  14252. "description": "成交时间",
  14253. "type": "string"
  14254. },
  14255. "tradetype": {
  14256. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  14257. "type": "integer"
  14258. }
  14259. }
  14260. },
  14261. "order.QueryTradeOrderDetailRsp": {
  14262. "type": "object",
  14263. "required": [
  14264. "accountid",
  14265. "buildtype",
  14266. "buyorsell",
  14267. "goodsid",
  14268. "marketid",
  14269. "operatetype",
  14270. "orderqty",
  14271. "ordertime",
  14272. "pricemode",
  14273. "tradedate",
  14274. "validtype"
  14275. ],
  14276. "properties": {
  14277. "accountid": {
  14278. "description": "账户ID[报价币种]",
  14279. "type": "integer"
  14280. },
  14281. "buildtype": {
  14282. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14283. "type": "integer"
  14284. },
  14285. "buyorsell": {
  14286. "description": "买卖 - 0:买 1:卖",
  14287. "type": "integer"
  14288. },
  14289. "cancelorderid": {
  14290. "description": "撤单单号(撤单时填写)",
  14291. "type": "string"
  14292. },
  14293. "cancelqty": {
  14294. "description": "撤单数量",
  14295. "type": "integer"
  14296. },
  14297. "clienttype": {
  14298. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14299. "type": "integer"
  14300. },
  14301. "closefreezecharge": {
  14302. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14303. "type": "number"
  14304. },
  14305. "closeqty": {
  14306. "description": "平仓数量(先建后平操作 需要记录)",
  14307. "type": "integer"
  14308. },
  14309. "closetradeqty": {
  14310. "description": "平仓成交数量(先建后平操作,需要记录)",
  14311. "type": "integer"
  14312. },
  14313. "closeunfreezecharge": {
  14314. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14315. "type": "number"
  14316. },
  14317. "delistingtype": {
  14318. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14319. "type": "integer"
  14320. },
  14321. "enableqty": {
  14322. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  14323. "type": "integer"
  14324. },
  14325. "freezecharge": {
  14326. "description": "冻结手续费",
  14327. "type": "number"
  14328. },
  14329. "freezemargin": {
  14330. "description": "冻结保证金(冻结交易金额)",
  14331. "type": "number"
  14332. },
  14333. "goodscode": {
  14334. "description": "商品代码",
  14335. "type": "string"
  14336. },
  14337. "goodsid": {
  14338. "description": "商品ID",
  14339. "type": "integer"
  14340. },
  14341. "goodsname": {
  14342. "description": "商品名称",
  14343. "type": "string"
  14344. },
  14345. "listingselecttype": {
  14346. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14347. "type": "integer"
  14348. },
  14349. "marketid": {
  14350. "description": "市场ID",
  14351. "type": "integer"
  14352. },
  14353. "marketname": {
  14354. "description": "市场名称",
  14355. "type": "string"
  14356. },
  14357. "openfreezecharge": {
  14358. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14359. "type": "number"
  14360. },
  14361. "openqty": {
  14362. "description": "开仓数量(先建后平操作,需要记录)",
  14363. "type": "integer"
  14364. },
  14365. "opentradeqty": {
  14366. "description": "开仓成交数量(先建后平操作,需要记录)",
  14367. "type": "integer"
  14368. },
  14369. "openunfreezecharge": {
  14370. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  14371. "type": "number"
  14372. },
  14373. "operatetype": {
  14374. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  14375. "type": "integer"
  14376. },
  14377. "operatorid": {
  14378. "description": "登录账号(LoginID)",
  14379. "type": "integer"
  14380. },
  14381. "orderid": {
  14382. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14383. "type": "string"
  14384. },
  14385. "orderprice": {
  14386. "description": "委托价格",
  14387. "type": "number"
  14388. },
  14389. "orderqty": {
  14390. "description": "委托数量",
  14391. "type": "integer"
  14392. },
  14393. "ordersrc": {
  14394. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  14395. "type": "integer"
  14396. },
  14397. "orderstatus": {
  14398. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14399. "type": "integer"
  14400. },
  14401. "ordertime": {
  14402. "description": "委托时间",
  14403. "type": "string"
  14404. },
  14405. "preorderid": {
  14406. "description": "关联预埋单号(止盈止损单时填写)",
  14407. "type": "string"
  14408. },
  14409. "pricemode": {
  14410. "description": "取价方式 - 1:市价 2: 限价",
  14411. "type": "integer"
  14412. },
  14413. "relatedid": {
  14414. "description": "关联单号(交割单)",
  14415. "type": "string"
  14416. },
  14417. "tradedate": {
  14418. "description": "交易日(yyyyMMdd)",
  14419. "type": "string"
  14420. },
  14421. "trademode": {
  14422. "description": "交易模式",
  14423. "type": "integer"
  14424. },
  14425. "tradeqty": {
  14426. "description": "成交数量",
  14427. "type": "integer"
  14428. },
  14429. "unfreezecharge": {
  14430. "description": "解冻手续费",
  14431. "type": "number"
  14432. },
  14433. "unfreezemargin": {
  14434. "description": "解冻保证金",
  14435. "type": "number"
  14436. },
  14437. "validtime": {
  14438. "description": "有效期限",
  14439. "type": "string"
  14440. },
  14441. "validtype": {
  14442. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14443. "type": "integer"
  14444. },
  14445. "volumetype": {
  14446. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14447. "type": "integer"
  14448. }
  14449. }
  14450. },
  14451. "order.QueryTradePositionRsp": {
  14452. "type": "object",
  14453. "required": [
  14454. "goodsid"
  14455. ],
  14456. "properties": {
  14457. "accountid": {
  14458. "description": "资金账户",
  14459. "type": "integer"
  14460. },
  14461. "agreeunit": {
  14462. "description": "合约单位",
  14463. "type": "number"
  14464. },
  14465. "averageprice": {
  14466. "description": "持仓均价",
  14467. "type": "number"
  14468. },
  14469. "buyorsell": {
  14470. "description": "方向 - 0:买 1:卖",
  14471. "type": "integer"
  14472. },
  14473. "closetotalqty": {
  14474. "description": "平仓总数量",
  14475. "type": "integer"
  14476. },
  14477. "curholderamount": {
  14478. "description": "当前持仓总金额[商品币种]",
  14479. "type": "number"
  14480. },
  14481. "curpositionqty": {
  14482. "description": "当前持仓总数量",
  14483. "type": "integer"
  14484. },
  14485. "currencyid": {
  14486. "description": "报价货币ID",
  14487. "type": "integer"
  14488. },
  14489. "curtdposition": {
  14490. "description": "期末今日头寸",
  14491. "type": "integer"
  14492. },
  14493. "decimalplace": {
  14494. "description": "报价小数位",
  14495. "type": "integer"
  14496. },
  14497. "enableqty": {
  14498. "description": "可用量",
  14499. "type": "integer"
  14500. },
  14501. "fretdposition": {
  14502. "description": "冻结今日头寸",
  14503. "type": "integer"
  14504. },
  14505. "frozenqty": {
  14506. "description": "持仓冻结数量",
  14507. "type": "integer"
  14508. },
  14509. "goodscode": {
  14510. "description": "商品代码",
  14511. "type": "string"
  14512. },
  14513. "goodsid": {
  14514. "description": "商品Id",
  14515. "type": "integer"
  14516. },
  14517. "goodsname": {
  14518. "description": "商品名称",
  14519. "type": "string"
  14520. },
  14521. "goodunit": {
  14522. "description": "报价单位",
  14523. "type": "string"
  14524. },
  14525. "goodunitid": {
  14526. "description": "报价单位ID",
  14527. "type": "integer"
  14528. },
  14529. "holderamount": {
  14530. "description": "期初持仓总金额[商品币种]",
  14531. "type": "number"
  14532. },
  14533. "marketid": {
  14534. "description": "所属市场ID",
  14535. "type": "integer"
  14536. },
  14537. "openreqqty": {
  14538. "description": "开仓申请数量(用于比较最大持仓数量)",
  14539. "type": "integer"
  14540. },
  14541. "opentotalqty": {
  14542. "description": "开仓总数量",
  14543. "type": "integer"
  14544. },
  14545. "otherfrozenqty": {
  14546. "description": "持仓其他冻结数量(交割冻结)",
  14547. "type": "integer"
  14548. },
  14549. "positionqty": {
  14550. "description": "期初持仓数量",
  14551. "type": "integer"
  14552. },
  14553. "tnqty": {
  14554. "description": "T+N冻结总量",
  14555. "type": "integer"
  14556. },
  14557. "tnusedqty": {
  14558. "description": "T+N使用量(可以使用T+N的冻结数量)",
  14559. "type": "integer"
  14560. },
  14561. "trademode": {
  14562. "description": "交易模式",
  14563. "type": "integer"
  14564. },
  14565. "usedmargin": {
  14566. "description": "占用保证金[商品币种]",
  14567. "type": "number"
  14568. }
  14569. }
  14570. },
  14571. "quote.HistoryData": {
  14572. "type": "object",
  14573. "properties": {
  14574. "c": {
  14575. "description": "收盘价",
  14576. "type": "number"
  14577. },
  14578. "h": {
  14579. "description": "最高价",
  14580. "type": "number"
  14581. },
  14582. "hv": {
  14583. "description": "持仓量",
  14584. "type": "integer"
  14585. },
  14586. "l": {
  14587. "description": "最低价",
  14588. "type": "number"
  14589. },
  14590. "o": {
  14591. "description": "开盘价",
  14592. "type": "number"
  14593. },
  14594. "s": {
  14595. "description": "结算价,日线周期(包括)以上才有",
  14596. "type": "number"
  14597. },
  14598. "ts": {
  14599. "description": "时间",
  14600. "type": "string"
  14601. },
  14602. "tt": {
  14603. "description": "总金额",
  14604. "type": "number"
  14605. },
  14606. "tv": {
  14607. "description": "总量",
  14608. "type": "integer"
  14609. }
  14610. }
  14611. },
  14612. "quote.QueryTSDataRsp": {
  14613. "type": "object",
  14614. "properties": {
  14615. "decimalPlace": {
  14616. "description": "小数位",
  14617. "type": "integer"
  14618. },
  14619. "endTime": {
  14620. "description": "结束时间",
  14621. "type": "string"
  14622. },
  14623. "goodsCode": {
  14624. "description": "商品代码",
  14625. "type": "string"
  14626. },
  14627. "historyDatas": {
  14628. "description": "历史数据",
  14629. "type": "array",
  14630. "items": {
  14631. "$ref": "#/definitions/quote.HistoryData"
  14632. }
  14633. },
  14634. "preSettle": {
  14635. "description": "昨结",
  14636. "type": "number"
  14637. },
  14638. "startTime": {
  14639. "description": "开始时间",
  14640. "type": "string"
  14641. },
  14642. "tradeDate": {
  14643. "description": "交易日",
  14644. "type": "string"
  14645. }
  14646. }
  14647. },
  14648. "szdz.QueryConvertLogRsp": {
  14649. "type": "object",
  14650. "required": [
  14651. "logid"
  14652. ],
  14653. "properties": {
  14654. "accountid": {
  14655. "description": "资金账户ID",
  14656. "type": "integer"
  14657. },
  14658. "clientticket": {
  14659. "description": "客户端流水号",
  14660. "type": "string"
  14661. },
  14662. "converttype": {
  14663. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  14664. "type": "integer"
  14665. },
  14666. "createtime": {
  14667. "description": "记账时间",
  14668. "type": "string"
  14669. },
  14670. "daymaxvalue": {
  14671. "description": "配置当日最大转入限制",
  14672. "type": "number"
  14673. },
  14674. "daymaxvalue2": {
  14675. "description": "配置当日最大转入限制(转入)",
  14676. "type": "number"
  14677. },
  14678. "goodscode": {
  14679. "description": "商品代码",
  14680. "type": "string"
  14681. },
  14682. "goodsname": {
  14683. "description": "商品名称",
  14684. "type": "string"
  14685. },
  14686. "handlestatus": {
  14687. "description": "处理状态",
  14688. "type": "integer"
  14689. },
  14690. "innergoodsid": {
  14691. "description": "内部商品ID",
  14692. "type": "integer"
  14693. },
  14694. "inratio": {
  14695. "description": "配置转入比值",
  14696. "type": "integer"
  14697. },
  14698. "invalue": {
  14699. "description": "目标值",
  14700. "type": "number"
  14701. },
  14702. "logid": {
  14703. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14704. "type": "integer"
  14705. },
  14706. "mobile": {
  14707. "description": "手机号码(加密存储)",
  14708. "type": "string"
  14709. },
  14710. "outergoodscode": {
  14711. "description": "外部商品代码[JD\\PD]",
  14712. "type": "string"
  14713. },
  14714. "outratio": {
  14715. "description": "配置转出比值",
  14716. "type": "integer"
  14717. },
  14718. "outvalue": {
  14719. "description": "源值",
  14720. "type": "number"
  14721. },
  14722. "pddecimalplace": {
  14723. "description": "PD小数位",
  14724. "type": "integer"
  14725. },
  14726. "qty": {
  14727. "description": "数量",
  14728. "type": "string"
  14729. },
  14730. "remark": {
  14731. "description": "备注",
  14732. "type": "string"
  14733. },
  14734. "sessionid": {
  14735. "description": "会话ID",
  14736. "type": "integer"
  14737. },
  14738. "timemaxvalue": {
  14739. "description": "配置单次最大转入限制",
  14740. "type": "number"
  14741. },
  14742. "timemaxvalue2": {
  14743. "description": "配置单次最大转入限制(转入)",
  14744. "type": "number"
  14745. },
  14746. "timeminvalue": {
  14747. "description": "配置单次最小数量限制",
  14748. "type": "number"
  14749. },
  14750. "timeminvalue2": {
  14751. "description": "配置单次最小数量限制(转入)",
  14752. "type": "number"
  14753. },
  14754. "tradedate": {
  14755. "description": "交易日(yyyyMMdd)",
  14756. "type": "string"
  14757. },
  14758. "userid": {
  14759. "description": "用户ID",
  14760. "type": "integer"
  14761. }
  14762. }
  14763. },
  14764. "szdz.QueryGoodsPickupRsp": {
  14765. "type": "object",
  14766. "required": [
  14767. "takeorderid"
  14768. ],
  14769. "properties": {
  14770. "accountid": {
  14771. "description": "账户ID",
  14772. "type": "integer"
  14773. },
  14774. "address": {
  14775. "description": "提货人详细地址",
  14776. "type": "string"
  14777. },
  14778. "auditer": {
  14779. "description": "审核人",
  14780. "type": "integer"
  14781. },
  14782. "audittime": {
  14783. "description": "审核时间",
  14784. "type": "string"
  14785. },
  14786. "cardnum": {
  14787. "description": "提货人证件号码",
  14788. "type": "string"
  14789. },
  14790. "cardtypeid": {
  14791. "description": "提货人证件类型",
  14792. "type": "integer"
  14793. },
  14794. "checkremark": {
  14795. "description": "审核备注",
  14796. "type": "string"
  14797. },
  14798. "goodscode": {
  14799. "description": "商品代码",
  14800. "type": "string"
  14801. },
  14802. "goodsid": {
  14803. "description": "商品ID",
  14804. "type": "integer"
  14805. },
  14806. "goodsname": {
  14807. "description": "商品名称",
  14808. "type": "string"
  14809. },
  14810. "handlestatus": {
  14811. "description": "处理状态",
  14812. "type": "integer"
  14813. },
  14814. "marketid": {
  14815. "description": "市场ID",
  14816. "type": "integer"
  14817. },
  14818. "phonenum": {
  14819. "description": "提货人联系方式",
  14820. "type": "string"
  14821. },
  14822. "qty": {
  14823. "description": "提货数量",
  14824. "type": "number"
  14825. },
  14826. "recivername": {
  14827. "description": "提货人姓名",
  14828. "type": "string"
  14829. },
  14830. "reqtime": {
  14831. "description": "更新时间",
  14832. "type": "string"
  14833. },
  14834. "takemode": {
  14835. "description": "提货方式 - 2:自提 3:配送",
  14836. "type": "integer"
  14837. },
  14838. "takeorderid": {
  14839. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  14840. "type": "string"
  14841. },
  14842. "takeorderstatus": {
  14843. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  14844. "type": "integer"
  14845. },
  14846. "takeremark": {
  14847. "description": "提货备注",
  14848. "type": "string"
  14849. },
  14850. "tradedate": {
  14851. "description": "交易日(yyyyMMdd)",
  14852. "type": "string"
  14853. },
  14854. "userid": {
  14855. "description": "用户ID",
  14856. "type": "integer"
  14857. }
  14858. }
  14859. },
  14860. "szdz.QueryRecieptOrderRsp": {
  14861. "type": "object",
  14862. "required": [
  14863. "ordertime"
  14864. ],
  14865. "properties": {
  14866. "accountName": {
  14867. "description": "所属账号名称(已脱敏)",
  14868. "type": "string"
  14869. },
  14870. "accountid": {
  14871. "description": "资金账号",
  14872. "type": "integer"
  14873. },
  14874. "buyorsell": {
  14875. "description": "方向 - 0:买 1:卖",
  14876. "type": "integer"
  14877. },
  14878. "enableqty": {
  14879. "description": "可摘数量",
  14880. "type": "integer"
  14881. },
  14882. "goodscode": {
  14883. "description": "商品代码",
  14884. "type": "string"
  14885. },
  14886. "goodsid": {
  14887. "description": "商品ID",
  14888. "type": "integer"
  14889. },
  14890. "goodsname": {
  14891. "description": "商品名称",
  14892. "type": "string"
  14893. },
  14894. "orderid": {
  14895. "description": "委托单号",
  14896. "type": "string"
  14897. },
  14898. "orderprice": {
  14899. "description": "委托价格",
  14900. "type": "number"
  14901. },
  14902. "ordertime": {
  14903. "description": "委托时间",
  14904. "type": "string"
  14905. },
  14906. "tradedate": {
  14907. "description": "交易日(yyyyMMdd)",
  14908. "type": "string"
  14909. }
  14910. }
  14911. },
  14912. "szdz.QuerySZDZTradePositionRsp": {
  14913. "type": "object",
  14914. "properties": {
  14915. "accountid": {
  14916. "description": "账号Id",
  14917. "type": "integer"
  14918. },
  14919. "agreeunit": {
  14920. "description": "合约单位",
  14921. "type": "number"
  14922. },
  14923. "averageprice": {
  14924. "description": "持仓均价",
  14925. "type": "number"
  14926. },
  14927. "buyorsell": {
  14928. "description": "方向 - 0:买 1:卖",
  14929. "type": "integer"
  14930. },
  14931. "closetotalqty": {
  14932. "description": "平仓总数量",
  14933. "type": "integer"
  14934. },
  14935. "curholderamount": {
  14936. "description": "当前持仓总金额",
  14937. "type": "number"
  14938. },
  14939. "curpositionqty": {
  14940. "description": "当前持仓总数量",
  14941. "type": "integer"
  14942. },
  14943. "currencyid": {
  14944. "description": "报价货币ID",
  14945. "type": "integer"
  14946. },
  14947. "curtdposition": {
  14948. "description": "期末今日头寸",
  14949. "type": "integer"
  14950. },
  14951. "decimalplace": {
  14952. "description": "报价小数位",
  14953. "type": "integer"
  14954. },
  14955. "enableqty": {
  14956. "description": "可用量",
  14957. "type": "integer"
  14958. },
  14959. "fretdposition": {
  14960. "description": "冻结今日头寸",
  14961. "type": "integer"
  14962. },
  14963. "frozenqty": {
  14964. "description": "持仓冻结数量",
  14965. "type": "integer"
  14966. },
  14967. "goodscode": {
  14968. "description": "商品代码(内部)",
  14969. "type": "string"
  14970. },
  14971. "goodsid": {
  14972. "description": "商品Id",
  14973. "type": "integer"
  14974. },
  14975. "goodsname": {
  14976. "description": "商品名称",
  14977. "type": "string"
  14978. },
  14979. "goodunit": {
  14980. "description": "报价单位",
  14981. "type": "string"
  14982. },
  14983. "goodunitid": {
  14984. "description": "报价单位ID",
  14985. "type": "integer"
  14986. },
  14987. "holderamount": {
  14988. "description": "期初持仓总金额",
  14989. "type": "number"
  14990. },
  14991. "marketid": {
  14992. "description": "市场ID",
  14993. "type": "integer"
  14994. },
  14995. "openreqqty": {
  14996. "description": "开仓申请数量",
  14997. "type": "integer"
  14998. },
  14999. "opentotalqty": {
  15000. "description": "开仓总数量",
  15001. "type": "integer"
  15002. },
  15003. "otherfrozenqty": {
  15004. "description": "持仓其他冻结数量(交割冻结)",
  15005. "type": "integer"
  15006. },
  15007. "positionqty": {
  15008. "description": "期初持仓数量",
  15009. "type": "integer"
  15010. },
  15011. "szdz3freezqty": {
  15012. "description": "尚志大宗转换冻结总数量",
  15013. "type": "integer"
  15014. },
  15015. "tnqty": {
  15016. "description": "T+N冻结总量",
  15017. "type": "integer"
  15018. },
  15019. "tnusedqty": {
  15020. "description": "T+N使用量",
  15021. "type": "integer"
  15022. },
  15023. "trademode": {
  15024. "description": "交易模式",
  15025. "type": "integer"
  15026. },
  15027. "usedmargin": {
  15028. "description": "占用保证金",
  15029. "type": "number"
  15030. }
  15031. }
  15032. },
  15033. "taaccount.QueryAmountLogRsp": {
  15034. "type": "object",
  15035. "required": [
  15036. "accountid",
  15037. "amount",
  15038. "amountadjusttype",
  15039. "autoid",
  15040. "balance",
  15041. "createtime",
  15042. "currentbalance",
  15043. "operatetype"
  15044. ],
  15045. "properties": {
  15046. "OPERATETYPENAME": {
  15047. "description": "资金操作类型名称",
  15048. "type": "string"
  15049. },
  15050. "accountid": {
  15051. "description": "资金账户ID",
  15052. "type": "integer"
  15053. },
  15054. "agoodscode": {
  15055. "description": "竞拍商品代码",
  15056. "type": "string"
  15057. },
  15058. "agoodsname": {
  15059. "description": "竞拍商品名称",
  15060. "type": "string"
  15061. },
  15062. "amount": {
  15063. "description": "资金金额",
  15064. "type": "number"
  15065. },
  15066. "amountadjusttype": {
  15067. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  15068. "type": "integer"
  15069. },
  15070. "autoid": {
  15071. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  15072. "type": "integer"
  15073. },
  15074. "balance": {
  15075. "description": "期初余额",
  15076. "type": "number"
  15077. },
  15078. "businesscode": {
  15079. "description": "业务编号",
  15080. "type": "integer"
  15081. },
  15082. "createtime": {
  15083. "description": "发生时间",
  15084. "type": "string"
  15085. },
  15086. "currencyid": {
  15087. "description": "币种ID",
  15088. "type": "integer"
  15089. },
  15090. "currentbalance": {
  15091. "description": "期末余额(变动后金额)",
  15092. "type": "number"
  15093. },
  15094. "dgoodscode": {
  15095. "description": "交割商品代码",
  15096. "type": "string"
  15097. },
  15098. "dgoodsname": {
  15099. "description": "交割商品名称",
  15100. "type": "string"
  15101. },
  15102. "goodscode": {
  15103. "description": "商品代码",
  15104. "type": "string"
  15105. },
  15106. "goodsid": {
  15107. "description": "商品ID",
  15108. "type": "integer"
  15109. },
  15110. "goodsname": {
  15111. "description": "商品名称",
  15112. "type": "string"
  15113. },
  15114. "marketid": {
  15115. "description": "市场ID",
  15116. "type": "integer"
  15117. },
  15118. "marketname": {
  15119. "description": "市场名称",
  15120. "type": "string"
  15121. },
  15122. "moneyticket": {
  15123. "description": "资金流水号:银行端流水号",
  15124. "type": "integer"
  15125. },
  15126. "operatetype": {
  15127. "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:营销收款",
  15128. "type": "integer"
  15129. },
  15130. "relationorderid": {
  15131. "description": "关联单号",
  15132. "type": "string"
  15133. },
  15134. "remark": {
  15135. "description": "备注",
  15136. "type": "string"
  15137. },
  15138. "trademode": {
  15139. "description": "交易模式",
  15140. "type": "integer"
  15141. }
  15142. }
  15143. },
  15144. "taaccount.QueryHisAmountLogRsp": {
  15145. "type": "object",
  15146. "required": [
  15147. "accountid",
  15148. "amount",
  15149. "amountadjusttype",
  15150. "autoid",
  15151. "balance",
  15152. "createtime",
  15153. "currentbalance",
  15154. "histradedate",
  15155. "operatetype"
  15156. ],
  15157. "properties": {
  15158. "OPERATETYPENAME": {
  15159. "description": "资金操作类型名称",
  15160. "type": "string"
  15161. },
  15162. "accountid": {
  15163. "description": "资金账户ID",
  15164. "type": "integer"
  15165. },
  15166. "agoodscode": {
  15167. "description": "竞拍商品代码",
  15168. "type": "string"
  15169. },
  15170. "agoodsname": {
  15171. "description": "竞拍商品名称",
  15172. "type": "string"
  15173. },
  15174. "amount": {
  15175. "description": "资金金额",
  15176. "type": "number"
  15177. },
  15178. "amountadjusttype": {
  15179. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  15180. "type": "integer"
  15181. },
  15182. "autoid": {
  15183. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  15184. "type": "integer"
  15185. },
  15186. "balance": {
  15187. "description": "期初余额",
  15188. "type": "number"
  15189. },
  15190. "businesscode": {
  15191. "description": "业务编号",
  15192. "type": "integer"
  15193. },
  15194. "createtime": {
  15195. "description": "发生时间",
  15196. "type": "string"
  15197. },
  15198. "currencyid": {
  15199. "description": "币种ID",
  15200. "type": "integer"
  15201. },
  15202. "currentbalance": {
  15203. "description": "期末余额(变动后金额)",
  15204. "type": "number"
  15205. },
  15206. "dgoodscode": {
  15207. "description": "交割商品代码",
  15208. "type": "string"
  15209. },
  15210. "dgoodsname": {
  15211. "description": "交割商品名称",
  15212. "type": "string"
  15213. },
  15214. "goodscode": {
  15215. "description": "商品代码",
  15216. "type": "string"
  15217. },
  15218. "goodsid": {
  15219. "description": "商品ID",
  15220. "type": "integer"
  15221. },
  15222. "goodsname": {
  15223. "description": "商品名称",
  15224. "type": "string"
  15225. },
  15226. "histradedate": {
  15227. "description": "历史交易日",
  15228. "type": "string"
  15229. },
  15230. "isvaliddata": {
  15231. "description": "是否有效 - 0:无效 1:有效",
  15232. "type": "integer"
  15233. },
  15234. "marketid": {
  15235. "description": "市场ID",
  15236. "type": "integer"
  15237. },
  15238. "marketname": {
  15239. "description": "市场名称",
  15240. "type": "string"
  15241. },
  15242. "moneyticket": {
  15243. "description": "资金流水号:银行端流水号",
  15244. "type": "integer"
  15245. },
  15246. "operatetype": {
  15247. "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:营销收款",
  15248. "type": "integer"
  15249. },
  15250. "relationorderid": {
  15251. "description": "关联单号",
  15252. "type": "string"
  15253. },
  15254. "remark": {
  15255. "description": "备注",
  15256. "type": "string"
  15257. },
  15258. "trademode": {
  15259. "description": "交易模式",
  15260. "type": "integer"
  15261. }
  15262. }
  15263. },
  15264. "trade.QueryRecieptOrderRsp": {
  15265. "type": "object",
  15266. "required": [
  15267. "ordertime"
  15268. ],
  15269. "properties": {
  15270. "accountName": {
  15271. "description": "所属账号名称(已脱敏)",
  15272. "type": "string"
  15273. },
  15274. "accountid": {
  15275. "description": "资金账号",
  15276. "type": "integer"
  15277. },
  15278. "buyorsell": {
  15279. "description": "方向 - 0:买 1:卖",
  15280. "type": "integer"
  15281. },
  15282. "enableqty": {
  15283. "description": "可摘数量",
  15284. "type": "integer"
  15285. },
  15286. "goodscode": {
  15287. "description": "商品代码",
  15288. "type": "string"
  15289. },
  15290. "goodsid": {
  15291. "description": "商品ID",
  15292. "type": "integer"
  15293. },
  15294. "goodsname": {
  15295. "description": "商品名称",
  15296. "type": "string"
  15297. },
  15298. "orderid": {
  15299. "description": "委托单号",
  15300. "type": "string"
  15301. },
  15302. "orderprice": {
  15303. "description": "委托价格",
  15304. "type": "number"
  15305. },
  15306. "ordertime": {
  15307. "description": "委托时间",
  15308. "type": "string"
  15309. },
  15310. "tradedate": {
  15311. "description": "交易日(yyyyMMdd)",
  15312. "type": "string"
  15313. }
  15314. }
  15315. }
  15316. },
  15317. "securityDefinitions": {
  15318. "ApiKeyAuth": {
  15319. "type": "apiKey",
  15320. "name": "Authorization",
  15321. "in": "header"
  15322. }
  15323. }
  15324. }`
  15325. type swaggerInfo struct {
  15326. Version string
  15327. Host string
  15328. BasePath string
  15329. Schemes []string
  15330. Title string
  15331. Description string
  15332. }
  15333. // SwaggerInfo holds exported Swagger Info so clients can modify it
  15334. var SwaggerInfo = swaggerInfo{
  15335. Version: "1.0",
  15336. Host: "",
  15337. BasePath: "/api",
  15338. Schemes: []string{},
  15339. Title: "MTP2.0 查询服务 API",
  15340. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  15341. }
  15342. type s struct{}
  15343. func (s *s) ReadDoc() string {
  15344. sInfo := SwaggerInfo
  15345. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  15346. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  15347. "marshal": func(v interface{}) string {
  15348. a, _ := json.Marshal(v)
  15349. return string(a)
  15350. },
  15351. }).Parse(doc)
  15352. if err != nil {
  15353. return doc
  15354. }
  15355. var tpl bytes.Buffer
  15356. if err := t.Execute(&tpl, sInfo); err != nil {
  15357. return doc
  15358. }
  15359. return tpl.String()
  15360. }
  15361. func init() {
  15362. swag.Register(swag.Name, &s{})
  15363. }