docs.go 558 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "responses": {
  378. "200": {
  379. "description": "OK",
  380. "schema": {
  381. "$ref": "#/definitions/models.Enumdicitem"
  382. }
  383. },
  384. "500": {
  385. "description": "Internal Server Error",
  386. "schema": {
  387. "$ref": "#/definitions/app.Response"
  388. }
  389. }
  390. }
  391. }
  392. },
  393. "/Common/GetServerTime": {
  394. "get": {
  395. "produces": [
  396. "application/json"
  397. ],
  398. "tags": [
  399. "通用服务"
  400. ],
  401. "summary": "获取服务器时间",
  402. "responses": {
  403. "200": {
  404. "description": "OK",
  405. "schema": {
  406. "$ref": "#/definitions/app.Response"
  407. }
  408. },
  409. "500": {
  410. "description": "Internal Server Error",
  411. "schema": {
  412. "$ref": "#/definitions/app.Response"
  413. }
  414. }
  415. }
  416. }
  417. },
  418. "/Common/NoticeReaded": {
  419. "post": {
  420. "security": [
  421. {
  422. "ApiKeyAuth": []
  423. }
  424. ],
  425. "produces": [
  426. "application/json"
  427. ],
  428. "tags": [
  429. "通用服务"
  430. ],
  431. "summary": "通知公告设置已读请求",
  432. "parameters": [
  433. {
  434. "type": "integer",
  435. "description": "登录账号",
  436. "name": "loginID",
  437. "in": "query",
  438. "required": true
  439. },
  440. {
  441. "type": "integer",
  442. "description": "通知公告ID",
  443. "name": "noticeID",
  444. "in": "query",
  445. "required": true
  446. }
  447. ],
  448. "responses": {
  449. "200": {
  450. "description": "OK",
  451. "schema": {
  452. "$ref": "#/definitions/app.Response"
  453. }
  454. },
  455. "500": {
  456. "description": "Internal Server Error",
  457. "schema": {
  458. "$ref": "#/definitions/app.Response"
  459. }
  460. }
  461. }
  462. }
  463. },
  464. "/Common/QueryImageConfigs": {
  465. "get": {
  466. "produces": [
  467. "application/json"
  468. ],
  469. "tags": [
  470. "通用服务"
  471. ],
  472. "summary": "查询轮播图配置信息",
  473. "parameters": [
  474. {
  475. "type": "integer",
  476. "description": "类型 - 1:App首页轮播 2:我的",
  477. "name": "imageType",
  478. "in": "query"
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/models.Szdz2imageconfig"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryNotice": {
  498. "get": {
  499. "security": [
  500. {
  501. "ApiKeyAuth": []
  502. }
  503. ],
  504. "produces": [
  505. "application/json"
  506. ],
  507. "tags": [
  508. "通用服务"
  509. ],
  510. "summary": "通知公告系统消息查询",
  511. "parameters": [
  512. {
  513. "type": "integer",
  514. "description": "页码",
  515. "name": "page",
  516. "in": "query"
  517. },
  518. {
  519. "type": "integer",
  520. "description": "每页条数",
  521. "name": "pagesize",
  522. "in": "query"
  523. },
  524. {
  525. "type": "integer",
  526. "description": "登录账号",
  527. "name": "loginID",
  528. "in": "query",
  529. "required": true
  530. },
  531. {
  532. "type": "integer",
  533. "description": "消息类型 - 1:公告通知 2:系统消息",
  534. "name": "msgType",
  535. "in": "query"
  536. },
  537. {
  538. "type": "boolean",
  539. "description": "是否只获取未读信息",
  540. "name": "onlyUnRead",
  541. "in": "query"
  542. }
  543. ],
  544. "responses": {
  545. "200": {
  546. "description": "OK",
  547. "schema": {
  548. "$ref": "#/definitions/common.QueryNoticeRsp"
  549. }
  550. },
  551. "500": {
  552. "description": "Internal Server Error",
  553. "schema": {
  554. "$ref": "#/definitions/app.Response"
  555. }
  556. }
  557. }
  558. }
  559. },
  560. "/Common/QueryProvincesAndCities": {
  561. "get": {
  562. "produces": [
  563. "application/json"
  564. ],
  565. "tags": [
  566. "通用服务"
  567. ],
  568. "summary": "查询省市信息(不包括区)",
  569. "parameters": [
  570. {
  571. "type": "integer",
  572. "description": "省ID",
  573. "name": "provinceID",
  574. "in": "query"
  575. }
  576. ],
  577. "responses": {
  578. "200": {
  579. "description": "OK",
  580. "schema": {
  581. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  582. }
  583. },
  584. "500": {
  585. "description": "Internal Server Error",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. }
  590. }
  591. }
  592. },
  593. "/Common/QueryTableDefine": {
  594. "get": {
  595. "produces": [
  596. "application/json"
  597. ],
  598. "tags": [
  599. "通用服务"
  600. ],
  601. "summary": "查询交易端列表头信息",
  602. "parameters": [
  603. {
  604. "type": "string",
  605. "description": "表key",
  606. "name": "tableKey",
  607. "in": "query"
  608. },
  609. {
  610. "type": "integer",
  611. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  612. "name": "tableType",
  613. "in": "query"
  614. }
  615. ],
  616. "responses": {
  617. "200": {
  618. "description": "OK",
  619. "schema": {
  620. "$ref": "#/definitions/common.QueryTableDefineRsp"
  621. }
  622. },
  623. "500": {
  624. "description": "Internal Server Error",
  625. "schema": {
  626. "$ref": "#/definitions/app.Response"
  627. }
  628. }
  629. }
  630. }
  631. },
  632. "/Common/QueryTraderMenu": {
  633. "get": {
  634. "produces": [
  635. "application/json"
  636. ],
  637. "tags": [
  638. "通用服务"
  639. ],
  640. "summary": "查询交易端菜单",
  641. "parameters": [
  642. {
  643. "type": "integer",
  644. "description": "登录账号",
  645. "name": "loginid",
  646. "in": "query",
  647. "required": true
  648. }
  649. ],
  650. "responses": {
  651. "200": {
  652. "description": "OK",
  653. "schema": {
  654. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  655. }
  656. },
  657. "500": {
  658. "description": "Internal Server Error",
  659. "schema": {
  660. "$ref": "#/definitions/app.Response"
  661. }
  662. }
  663. }
  664. }
  665. },
  666. "/Delivery/QueryDeliveryRelation": {
  667. "get": {
  668. "security": [
  669. {
  670. "ApiKeyAuth": []
  671. }
  672. ],
  673. "produces": [
  674. "application/json"
  675. ],
  676. "tags": [
  677. "交割服务"
  678. ],
  679. "summary": "查询商品交割关系表",
  680. "parameters": [
  681. {
  682. "type": "integer",
  683. "description": "商品ID",
  684. "name": "goodsid",
  685. "in": "query"
  686. },
  687. {
  688. "type": "integer",
  689. "description": "品种ID",
  690. "name": "deliverygoodsid",
  691. "in": "query"
  692. },
  693. {
  694. "type": "integer",
  695. "description": "市场ID",
  696. "name": "marketid",
  697. "in": "query"
  698. }
  699. ],
  700. "responses": {
  701. "200": {
  702. "description": "OK",
  703. "schema": {
  704. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  705. }
  706. },
  707. "500": {
  708. "description": "Internal Server Error",
  709. "schema": {
  710. "$ref": "#/definitions/app.Response"
  711. }
  712. }
  713. }
  714. }
  715. },
  716. "/Ermcp/QueryAvaildGoodsGroup": {
  717. "get": {
  718. "security": [
  719. {
  720. "ApiKeyAuth": []
  721. }
  722. ],
  723. "produces": [
  724. "application/json"
  725. ],
  726. "tags": [
  727. "企业风险管理(app)"
  728. ],
  729. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  730. "parameters": [
  731. {
  732. "type": "integer",
  733. "description": "所属机构ID",
  734. "name": "userid",
  735. "in": "query",
  736. "required": true
  737. }
  738. ],
  739. "responses": {
  740. "200": {
  741. "description": "OK",
  742. "schema": {
  743. "type": "array",
  744. "items": {
  745. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  746. }
  747. }
  748. },
  749. "500": {
  750. "description": "Internal Server Error",
  751. "schema": {
  752. "$ref": "#/definitions/app.Response"
  753. }
  754. }
  755. }
  756. }
  757. },
  758. "/Ermcp/QueryBusinessDj": {
  759. "get": {
  760. "security": [
  761. {
  762. "ApiKeyAuth": []
  763. }
  764. ],
  765. "produces": [
  766. "application/json"
  767. ],
  768. "tags": [
  769. "企业风险管理(app)"
  770. ],
  771. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  772. "parameters": [
  773. {
  774. "type": "integer",
  775. "description": "用户ID",
  776. "name": "UserId",
  777. "in": "query",
  778. "required": true
  779. },
  780. {
  781. "type": "string",
  782. "description": "现货合同ID, 不填则查所有",
  783. "name": "relatedid",
  784. "in": "query"
  785. }
  786. ],
  787. "responses": {
  788. "200": {
  789. "description": "OK",
  790. "schema": {
  791. "type": "array",
  792. "items": {
  793. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  794. }
  795. }
  796. },
  797. "500": {
  798. "description": "Internal Server Error",
  799. "schema": {
  800. "$ref": "#/definitions/app.Response"
  801. }
  802. }
  803. }
  804. }
  805. },
  806. "/Ermcp/QueryBusinessFp": {
  807. "get": {
  808. "security": [
  809. {
  810. "ApiKeyAuth": []
  811. }
  812. ],
  813. "produces": [
  814. "application/json"
  815. ],
  816. "tags": [
  817. "企业风险管理(app)"
  818. ],
  819. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  820. "parameters": [
  821. {
  822. "type": "integer",
  823. "description": "用户ID",
  824. "name": "UserId",
  825. "in": "query",
  826. "required": true
  827. },
  828. {
  829. "type": "string",
  830. "description": "现货合同ID, 不填则查所有",
  831. "name": "relatedid",
  832. "in": "query"
  833. }
  834. ],
  835. "responses": {
  836. "200": {
  837. "description": "OK",
  838. "schema": {
  839. "type": "array",
  840. "items": {
  841. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  842. }
  843. }
  844. },
  845. "500": {
  846. "description": "Internal Server Error",
  847. "schema": {
  848. "$ref": "#/definitions/app.Response"
  849. }
  850. }
  851. }
  852. }
  853. },
  854. "/Ermcp/QueryBusinessJs": {
  855. "get": {
  856. "security": [
  857. {
  858. "ApiKeyAuth": []
  859. }
  860. ],
  861. "produces": [
  862. "application/json"
  863. ],
  864. "tags": [
  865. "企业风险管理(app)"
  866. ],
  867. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  868. "parameters": [
  869. {
  870. "type": "integer",
  871. "description": "用户ID",
  872. "name": "UserId",
  873. "in": "query",
  874. "required": true
  875. },
  876. {
  877. "type": "string",
  878. "description": "现货合同ID, 不填则查所有",
  879. "name": "relatedid",
  880. "in": "query"
  881. }
  882. ],
  883. "responses": {
  884. "200": {
  885. "description": "OK",
  886. "schema": {
  887. "type": "array",
  888. "items": {
  889. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  890. }
  891. }
  892. },
  893. "500": {
  894. "description": "Internal Server Error",
  895. "schema": {
  896. "$ref": "#/definitions/app.Response"
  897. }
  898. }
  899. }
  900. }
  901. },
  902. "/Ermcp/QueryBusinessJsEx": {
  903. "get": {
  904. "security": [
  905. {
  906. "ApiKeyAuth": []
  907. }
  908. ],
  909. "produces": [
  910. "application/json"
  911. ],
  912. "tags": [
  913. "企业风险管理(app)"
  914. ],
  915. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  916. "parameters": [
  917. {
  918. "type": "integer",
  919. "description": "用户ID",
  920. "name": "UserId",
  921. "in": "query",
  922. "required": true
  923. },
  924. {
  925. "type": "string",
  926. "description": "现货合同ID, 不填则查所有",
  927. "name": "relatedid",
  928. "in": "query"
  929. }
  930. ],
  931. "responses": {
  932. "200": {
  933. "description": "OK",
  934. "schema": {
  935. "type": "array",
  936. "items": {
  937. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  938. }
  939. }
  940. },
  941. "500": {
  942. "description": "Internal Server Error",
  943. "schema": {
  944. "$ref": "#/definitions/app.Response"
  945. }
  946. }
  947. }
  948. }
  949. },
  950. "/Ermcp/QueryBusinessKx": {
  951. "get": {
  952. "security": [
  953. {
  954. "ApiKeyAuth": []
  955. }
  956. ],
  957. "produces": [
  958. "application/json"
  959. ],
  960. "tags": [
  961. "企业风险管理(app)"
  962. ],
  963. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  964. "parameters": [
  965. {
  966. "type": "integer",
  967. "description": "用户ID",
  968. "name": "UserId",
  969. "in": "query",
  970. "required": true
  971. },
  972. {
  973. "type": "string",
  974. "description": "现货合同ID, 不填则查所有",
  975. "name": "relatedid",
  976. "in": "query"
  977. }
  978. ],
  979. "responses": {
  980. "200": {
  981. "description": "OK",
  982. "schema": {
  983. "type": "array",
  984. "items": {
  985. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  986. }
  987. }
  988. },
  989. "500": {
  990. "description": "Internal Server Error",
  991. "schema": {
  992. "$ref": "#/definitions/app.Response"
  993. }
  994. }
  995. }
  996. }
  997. },
  998. "/Ermcp/QueryChangeLog": {
  999. "get": {
  1000. "security": [
  1001. {
  1002. "ApiKeyAuth": []
  1003. }
  1004. ],
  1005. "produces": [
  1006. "application/json"
  1007. ],
  1008. "tags": [
  1009. "企业风险管理(app)"
  1010. ],
  1011. "summary": "查询变更记录",
  1012. "parameters": [
  1013. {
  1014. "type": "string",
  1015. "description": "用户ID",
  1016. "name": "RelatedId",
  1017. "in": "query",
  1018. "required": true
  1019. }
  1020. ],
  1021. "responses": {
  1022. "200": {
  1023. "description": "OK",
  1024. "schema": {
  1025. "type": "array",
  1026. "items": {
  1027. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1028. }
  1029. }
  1030. },
  1031. "500": {
  1032. "description": "Internal Server Error",
  1033. "schema": {
  1034. "$ref": "#/definitions/app.Response"
  1035. }
  1036. }
  1037. }
  1038. }
  1039. },
  1040. "/Ermcp/QueryContract": {
  1041. "get": {
  1042. "security": [
  1043. {
  1044. "ApiKeyAuth": []
  1045. }
  1046. ],
  1047. "produces": [
  1048. "application/json"
  1049. ],
  1050. "tags": [
  1051. "企业风险管理(app)"
  1052. ],
  1053. "summary": "查询合同(采购和销售)",
  1054. "parameters": [
  1055. {
  1056. "type": "integer",
  1057. "description": "用户ID",
  1058. "name": "userId",
  1059. "in": "query",
  1060. "required": true
  1061. },
  1062. {
  1063. "type": "integer",
  1064. "description": "合同类型 1-采购, -1-销售",
  1065. "name": "contracttype",
  1066. "in": "query",
  1067. "required": true
  1068. },
  1069. {
  1070. "type": "integer",
  1071. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1072. "name": "querytype",
  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.QryErmcpRsp"
  1084. }
  1085. }
  1086. },
  1087. "500": {
  1088. "description": "Internal Server Error",
  1089. "schema": {
  1090. "$ref": "#/definitions/app.Response"
  1091. }
  1092. }
  1093. }
  1094. }
  1095. },
  1096. "/Ermcp/QueryExposureDetail": {
  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. "type": "integer",
  1120. "description": "套保商品",
  1121. "name": "middleGoodsId",
  1122. "in": "query",
  1123. "required": true
  1124. }
  1125. ],
  1126. "responses": {
  1127. "200": {
  1128. "description": "OK",
  1129. "schema": {
  1130. "type": "array",
  1131. "items": {
  1132. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1133. }
  1134. }
  1135. },
  1136. "500": {
  1137. "description": "Internal Server Error",
  1138. "schema": {
  1139. "$ref": "#/definitions/app.Response"
  1140. }
  1141. }
  1142. }
  1143. }
  1144. },
  1145. "/Ermcp/QueryExposureHedgePosition": {
  1146. "get": {
  1147. "security": [
  1148. {
  1149. "ApiKeyAuth": []
  1150. }
  1151. ],
  1152. "produces": [
  1153. "application/json"
  1154. ],
  1155. "tags": [
  1156. "企业风险管理(app)"
  1157. ],
  1158. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1159. "parameters": [
  1160. {
  1161. "type": "integer",
  1162. "description": "所属机构ID",
  1163. "name": "areaUserId",
  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.ExposureHedgePositionRsp"
  1175. }
  1176. }
  1177. },
  1178. "500": {
  1179. "description": "Internal Server Error",
  1180. "schema": {
  1181. "$ref": "#/definitions/app.Response"
  1182. }
  1183. }
  1184. }
  1185. }
  1186. },
  1187. "/Ermcp/QueryExposureHedgePositionDetail": {
  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. "type": "integer",
  1211. "description": "商品id",
  1212. "name": "goodsId",
  1213. "in": "query",
  1214. "required": true
  1215. }
  1216. ],
  1217. "responses": {
  1218. "200": {
  1219. "description": "OK",
  1220. "schema": {
  1221. "type": "array",
  1222. "items": {
  1223. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1224. }
  1225. }
  1226. },
  1227. "500": {
  1228. "description": "Internal Server Error",
  1229. "schema": {
  1230. "$ref": "#/definitions/app.Response"
  1231. }
  1232. }
  1233. }
  1234. }
  1235. },
  1236. "/Ermcp/QueryExposureSpot": {
  1237. "get": {
  1238. "security": [
  1239. {
  1240. "ApiKeyAuth": []
  1241. }
  1242. ],
  1243. "produces": [
  1244. "application/json"
  1245. ],
  1246. "tags": [
  1247. "企业风险管理(app)"
  1248. ],
  1249. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1250. "parameters": [
  1251. {
  1252. "type": "integer",
  1253. "description": "所属机构ID",
  1254. "name": "areaUserId",
  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.ExposureSpotRsp"
  1266. }
  1267. }
  1268. },
  1269. "500": {
  1270. "description": "Internal Server Error",
  1271. "schema": {
  1272. "$ref": "#/definitions/app.Response"
  1273. }
  1274. }
  1275. }
  1276. }
  1277. },
  1278. "/Ermcp/QueryExposureSpotDetail": {
  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": "areaUserId",
  1297. "in": "query",
  1298. "required": true
  1299. },
  1300. {
  1301. "type": "integer",
  1302. "description": "现货品种ID",
  1303. "name": "wrstandardId",
  1304. "in": "query",
  1305. "required": true
  1306. }
  1307. ],
  1308. "responses": {
  1309. "200": {
  1310. "description": "OK",
  1311. "schema": {
  1312. "type": "array",
  1313. "items": {
  1314. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1315. }
  1316. }
  1317. },
  1318. "500": {
  1319. "description": "Internal Server Error",
  1320. "schema": {
  1321. "$ref": "#/definitions/app.Response"
  1322. }
  1323. }
  1324. }
  1325. }
  1326. },
  1327. "/Ermcp/QueryGGConvertConfig": {
  1328. "get": {
  1329. "security": [
  1330. {
  1331. "ApiKeyAuth": []
  1332. }
  1333. ],
  1334. "produces": [
  1335. "application/json"
  1336. ],
  1337. "tags": [
  1338. "企业风险管理(app)"
  1339. ],
  1340. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1341. "parameters": [
  1342. {
  1343. "type": "integer",
  1344. "description": "品种id(不填则查所有)",
  1345. "name": "goodsgroupid",
  1346. "in": "query"
  1347. }
  1348. ],
  1349. "responses": {
  1350. "200": {
  1351. "description": "OK",
  1352. "schema": {
  1353. "type": "array",
  1354. "items": {
  1355. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  1356. }
  1357. }
  1358. },
  1359. "500": {
  1360. "description": "Internal Server Error",
  1361. "schema": {
  1362. "$ref": "#/definitions/app.Response"
  1363. }
  1364. }
  1365. }
  1366. }
  1367. },
  1368. "/Ermcp/QueryHedgePlan": {
  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": "userId",
  1387. "in": "query",
  1388. "required": true
  1389. },
  1390. {
  1391. "type": "string",
  1392. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1393. "name": "HedgePlanStatus",
  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.QryHedgePlanRsp"
  1405. }
  1406. }
  1407. },
  1408. "500": {
  1409. "description": "Internal Server Error",
  1410. "schema": {
  1411. "$ref": "#/definitions/app.Response"
  1412. }
  1413. }
  1414. }
  1415. }
  1416. },
  1417. "/Ermcp/QueryHisExposure": {
  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": "areaUserId",
  1436. "in": "query",
  1437. "required": true
  1438. },
  1439. {
  1440. "type": "integer",
  1441. "description": "最近多少条记录, -1:为查全部",
  1442. "name": "lastNum",
  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.HisExposureRsp"
  1454. }
  1455. }
  1456. },
  1457. "500": {
  1458. "description": "Internal Server Error",
  1459. "schema": {
  1460. "$ref": "#/definitions/app.Response"
  1461. }
  1462. }
  1463. }
  1464. }
  1465. },
  1466. "/Ermcp/QueryMiddleGoods": {
  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": "状态 0-停用 1-正常",
  1491. "name": "status",
  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.QryMiddleGoodsRsp"
  1503. }
  1504. }
  1505. },
  1506. "500": {
  1507. "description": "Internal Server Error",
  1508. "schema": {
  1509. "$ref": "#/definitions/app.Response"
  1510. }
  1511. }
  1512. }
  1513. }
  1514. },
  1515. "/Ermcp/QueryMiddleGoodsChangeLog": {
  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.QryMGChangeLogRsp"
  1552. }
  1553. }
  1554. },
  1555. "500": {
  1556. "description": "Internal Server Error",
  1557. "schema": {
  1558. "$ref": "#/definitions/app.Response"
  1559. }
  1560. }
  1561. }
  1562. }
  1563. },
  1564. "/Ermcp/QueryMiddleGoodsDetail": {
  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": "userid",
  1583. "in": "query",
  1584. "required": true
  1585. },
  1586. {
  1587. "type": "integer",
  1588. "description": "套保品种id",
  1589. "name": "middlegoodsid",
  1590. "in": "query",
  1591. "required": true
  1592. }
  1593. ],
  1594. "responses": {
  1595. "200": {
  1596. "description": "OK",
  1597. "schema": {
  1598. "type": "array",
  1599. "items": {
  1600. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  1601. }
  1602. }
  1603. },
  1604. "500": {
  1605. "description": "Internal Server Error",
  1606. "schema": {
  1607. "$ref": "#/definitions/app.Response"
  1608. }
  1609. }
  1610. }
  1611. }
  1612. },
  1613. "/Ermcp/QueryRealtimeExposure": {
  1614. "get": {
  1615. "security": [
  1616. {
  1617. "ApiKeyAuth": []
  1618. }
  1619. ],
  1620. "produces": [
  1621. "application/json"
  1622. ],
  1623. "tags": [
  1624. "企业风险管理(app)"
  1625. ],
  1626. "summary": "查询实时敞口",
  1627. "parameters": [
  1628. {
  1629. "type": "integer",
  1630. "description": "所属机构ID",
  1631. "name": "AreaUserID",
  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.RealtimeExposureRsp"
  1643. }
  1644. }
  1645. },
  1646. "500": {
  1647. "description": "Internal Server Error",
  1648. "schema": {
  1649. "$ref": "#/definitions/app.Response"
  1650. }
  1651. }
  1652. }
  1653. }
  1654. },
  1655. "/Ermcp/QueryRealtimeExposurePosition": {
  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": "areaUserId",
  1674. "in": "query",
  1675. "required": true
  1676. },
  1677. {
  1678. "type": "integer",
  1679. "description": "套保商品ID",
  1680. "name": "middleGoodsId",
  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.RealtimeExposurePositionRsp"
  1692. }
  1693. }
  1694. },
  1695. "500": {
  1696. "description": "Internal Server Error",
  1697. "schema": {
  1698. "$ref": "#/definitions/app.Response"
  1699. }
  1700. }
  1701. }
  1702. }
  1703. },
  1704. "/Ermcp/QuerySpotContract": {
  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": "userId",
  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.QrySpotContractRsp"
  1741. }
  1742. }
  1743. },
  1744. "500": {
  1745. "description": "Internal Server Error",
  1746. "schema": {
  1747. "$ref": "#/definitions/app.Response"
  1748. }
  1749. }
  1750. }
  1751. }
  1752. },
  1753. "/Ermcp/QueryUserInfo": {
  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": "MemberUserID",
  1772. "in": "query",
  1773. "required": true
  1774. },
  1775. {
  1776. "type": "integer",
  1777. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  1778. "name": "queryType",
  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.QryUserInfoRsp"
  1790. }
  1791. }
  1792. },
  1793. "500": {
  1794. "description": "Internal Server Error",
  1795. "schema": {
  1796. "$ref": "#/definitions/app.Response"
  1797. }
  1798. }
  1799. }
  1800. }
  1801. },
  1802. "/Ermcp/QueryWrStandard": {
  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": "状态 0-停用 1-正常",
  1827. "name": "status",
  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.QryWrStandardRsp"
  1839. }
  1840. }
  1841. },
  1842. "500": {
  1843. "description": "Internal Server Error",
  1844. "schema": {
  1845. "$ref": "#/definitions/app.Response"
  1846. }
  1847. }
  1848. }
  1849. }
  1850. },
  1851. "/Ermcp/QueryWrStandardDetail": {
  1852. "get": {
  1853. "security": [
  1854. {
  1855. "ApiKeyAuth": []
  1856. }
  1857. ],
  1858. "produces": [
  1859. "application/json"
  1860. ],
  1861. "tags": [
  1862. "企业风险管理(app)"
  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": "integer",
  1875. "description": "现货商品ID",
  1876. "name": "wrstandardid",
  1877. "in": "query",
  1878. "required": true
  1879. }
  1880. ],
  1881. "responses": {
  1882. "200": {
  1883. "description": "OK",
  1884. "schema": {
  1885. "type": "array",
  1886. "items": {
  1887. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  1888. }
  1889. }
  1890. },
  1891. "500": {
  1892. "description": "Internal Server Error",
  1893. "schema": {
  1894. "$ref": "#/definitions/app.Response"
  1895. }
  1896. }
  1897. }
  1898. }
  1899. },
  1900. "/Erms2/QueryArbitrageStrategy": {
  1901. "get": {
  1902. "security": [
  1903. {
  1904. "ApiKeyAuth": []
  1905. }
  1906. ],
  1907. "produces": [
  1908. "application/json"
  1909. ],
  1910. "tags": [
  1911. "风险管理"
  1912. ],
  1913. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1914. "parameters": [
  1915. {
  1916. "type": "integer",
  1917. "description": "账户ID",
  1918. "name": "userid",
  1919. "in": "query",
  1920. "required": true
  1921. },
  1922. {
  1923. "type": "string",
  1924. "description": "商品组ID(品种ID)",
  1925. "name": "goodsgroupid",
  1926. "in": "query"
  1927. }
  1928. ],
  1929. "responses": {
  1930. "200": {
  1931. "description": "OK",
  1932. "schema": {
  1933. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1934. }
  1935. },
  1936. "500": {
  1937. "description": "Internal Server Error",
  1938. "schema": {
  1939. "$ref": "#/definitions/app.Response"
  1940. }
  1941. }
  1942. }
  1943. }
  1944. },
  1945. "/Erms2/QueryInnerTradeDetail": {
  1946. "get": {
  1947. "security": [
  1948. {
  1949. "ApiKeyAuth": []
  1950. }
  1951. ],
  1952. "produces": [
  1953. "application/json"
  1954. ],
  1955. "tags": [
  1956. "风险管理"
  1957. ],
  1958. "summary": "查询内部成交单信息",
  1959. "parameters": [
  1960. {
  1961. "type": "integer",
  1962. "description": "资金账户",
  1963. "name": "accountid",
  1964. "in": "query",
  1965. "required": true
  1966. }
  1967. ],
  1968. "responses": {
  1969. "200": {
  1970. "description": "OK",
  1971. "schema": {
  1972. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1973. }
  1974. },
  1975. "500": {
  1976. "description": "Internal Server Error",
  1977. "schema": {
  1978. "$ref": "#/definitions/app.Response"
  1979. }
  1980. }
  1981. }
  1982. }
  1983. },
  1984. "/Erms2/QuerySpotContract": {
  1985. "get": {
  1986. "security": [
  1987. {
  1988. "ApiKeyAuth": []
  1989. }
  1990. ],
  1991. "produces": [
  1992. "application/json"
  1993. ],
  1994. "tags": [
  1995. "风险管理"
  1996. ],
  1997. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1998. "parameters": [
  1999. {
  2000. "type": "integer",
  2001. "description": "策略申请ID",
  2002. "name": "asapplyid",
  2003. "in": "query",
  2004. "required": true
  2005. },
  2006. {
  2007. "type": "integer",
  2008. "description": "现货合同ID",
  2009. "name": "spotcontractid",
  2010. "in": "query"
  2011. }
  2012. ],
  2013. "responses": {
  2014. "200": {
  2015. "description": "OK",
  2016. "schema": {
  2017. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  2018. }
  2019. },
  2020. "500": {
  2021. "description": "Internal Server Error",
  2022. "schema": {
  2023. "$ref": "#/definitions/app.Response"
  2024. }
  2025. }
  2026. }
  2027. }
  2028. },
  2029. "/Erms3/AddErms2ASApply": {
  2030. "post": {
  2031. "security": [
  2032. {
  2033. "ApiKeyAuth": []
  2034. }
  2035. ],
  2036. "produces": [
  2037. "application/json"
  2038. ],
  2039. "tags": [
  2040. "风险管理v3"
  2041. ],
  2042. "summary": "新增期现套利业务申请",
  2043. "parameters": [
  2044. {
  2045. "description": "申请参数",
  2046. "name": "jsonBody",
  2047. "in": "body",
  2048. "required": true,
  2049. "schema": {
  2050. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2051. }
  2052. }
  2053. ],
  2054. "responses": {
  2055. "200": {
  2056. "description": "OK",
  2057. "schema": {
  2058. "$ref": "#/definitions/app.Response"
  2059. }
  2060. },
  2061. "500": {
  2062. "description": "Internal Server Error",
  2063. "schema": {
  2064. "$ref": "#/definitions/app.Response"
  2065. }
  2066. }
  2067. }
  2068. }
  2069. },
  2070. "/Erms3/AddErms2SpotTradeApply": {
  2071. "post": {
  2072. "security": [
  2073. {
  2074. "ApiKeyAuth": []
  2075. }
  2076. ],
  2077. "produces": [
  2078. "application/json"
  2079. ],
  2080. "tags": [
  2081. "风险管理v3"
  2082. ],
  2083. "summary": "新增现货贸易业务申请",
  2084. "parameters": [
  2085. {
  2086. "description": "申请参数",
  2087. "name": "jsonBody",
  2088. "in": "body",
  2089. "required": true,
  2090. "schema": {
  2091. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2092. }
  2093. }
  2094. ],
  2095. "responses": {
  2096. "200": {
  2097. "description": "OK",
  2098. "schema": {
  2099. "$ref": "#/definitions/app.Response"
  2100. }
  2101. },
  2102. "500": {
  2103. "description": "Internal Server Error",
  2104. "schema": {
  2105. "$ref": "#/definitions/app.Response"
  2106. }
  2107. }
  2108. }
  2109. }
  2110. },
  2111. "/Erms3/AddSpotContractApply": {
  2112. "post": {
  2113. "security": [
  2114. {
  2115. "ApiKeyAuth": []
  2116. }
  2117. ],
  2118. "produces": [
  2119. "application/json"
  2120. ],
  2121. "tags": [
  2122. "风险管理v3"
  2123. ],
  2124. "summary": "新增现货合同申请",
  2125. "parameters": [
  2126. {
  2127. "description": "申请参数",
  2128. "name": "jsonBody",
  2129. "in": "body",
  2130. "required": true,
  2131. "schema": {
  2132. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2133. }
  2134. }
  2135. ],
  2136. "responses": {
  2137. "200": {
  2138. "description": "OK",
  2139. "schema": {
  2140. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2141. }
  2142. },
  2143. "500": {
  2144. "description": "Internal Server Error",
  2145. "schema": {
  2146. "$ref": "#/definitions/app.Response"
  2147. }
  2148. }
  2149. }
  2150. }
  2151. },
  2152. "/Erms3/AddUserInfoApply": {
  2153. "post": {
  2154. "security": [
  2155. {
  2156. "ApiKeyAuth": []
  2157. }
  2158. ],
  2159. "produces": [
  2160. "application/json"
  2161. ],
  2162. "tags": [
  2163. "风险管理v3"
  2164. ],
  2165. "summary": "新增客户申请",
  2166. "parameters": [
  2167. {
  2168. "description": "用户信息",
  2169. "name": "jsonBody",
  2170. "in": "body",
  2171. "required": true,
  2172. "schema": {
  2173. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2174. }
  2175. }
  2176. ],
  2177. "responses": {
  2178. "200": {
  2179. "description": "OK",
  2180. "schema": {
  2181. "$ref": "#/definitions/app.Response"
  2182. }
  2183. },
  2184. "500": {
  2185. "description": "Internal Server Error",
  2186. "schema": {
  2187. "$ref": "#/definitions/app.Response"
  2188. }
  2189. }
  2190. }
  2191. }
  2192. },
  2193. "/Erms3/ModifyUserInfoApply": {
  2194. "post": {
  2195. "security": [
  2196. {
  2197. "ApiKeyAuth": []
  2198. }
  2199. ],
  2200. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  2201. "produces": [
  2202. "application/json"
  2203. ],
  2204. "tags": [
  2205. "风险管理v3"
  2206. ],
  2207. "summary": "修改客户申请",
  2208. "parameters": [
  2209. {
  2210. "description": "用户信息",
  2211. "name": "jsonBody",
  2212. "in": "body",
  2213. "required": true,
  2214. "schema": {
  2215. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  2216. }
  2217. }
  2218. ],
  2219. "responses": {
  2220. "200": {
  2221. "description": "OK",
  2222. "schema": {
  2223. "$ref": "#/definitions/app.Response"
  2224. }
  2225. },
  2226. "500": {
  2227. "description": "Internal Server Error",
  2228. "schema": {
  2229. "$ref": "#/definitions/app.Response"
  2230. }
  2231. }
  2232. }
  2233. }
  2234. },
  2235. "/Erms3/QueryBusinessInfo": {
  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": "状态,0为未结束 1为已结束",
  2260. "name": "status",
  2261. "in": "query",
  2262. "required": true
  2263. }
  2264. ],
  2265. "responses": {
  2266. "200": {
  2267. "description": "OK",
  2268. "schema": {
  2269. "type": "array",
  2270. "items": {
  2271. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  2272. }
  2273. }
  2274. },
  2275. "500": {
  2276. "description": "Internal Server Error",
  2277. "schema": {
  2278. "$ref": "#/definitions/app.Response"
  2279. }
  2280. }
  2281. }
  2282. }
  2283. },
  2284. "/Erms3/QueryPendingAuditContract": {
  2285. "get": {
  2286. "security": [
  2287. {
  2288. "ApiKeyAuth": []
  2289. }
  2290. ],
  2291. "produces": [
  2292. "application/json"
  2293. ],
  2294. "tags": [
  2295. "风险管理v3"
  2296. ],
  2297. "summary": "查询待审核合同",
  2298. "parameters": [
  2299. {
  2300. "type": "string",
  2301. "description": "资金账号ID列表,逗号隔开",
  2302. "name": "accountids",
  2303. "in": "query",
  2304. "required": true
  2305. },
  2306. {
  2307. "type": "integer",
  2308. "description": "合同类型 1-采购 -1-销售",
  2309. "name": "contracttype",
  2310. "in": "query",
  2311. "required": true
  2312. },
  2313. {
  2314. "type": "integer",
  2315. "description": "合同模式 1-普通 2-回购",
  2316. "name": "contractmode",
  2317. "in": "query",
  2318. "required": true
  2319. }
  2320. ],
  2321. "responses": {
  2322. "200": {
  2323. "description": "OK",
  2324. "schema": {
  2325. "type": "array",
  2326. "items": {
  2327. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  2328. }
  2329. }
  2330. },
  2331. "500": {
  2332. "description": "Internal Server Error",
  2333. "schema": {
  2334. "$ref": "#/definitions/app.Response"
  2335. }
  2336. }
  2337. }
  2338. }
  2339. },
  2340. "/Erms3/QueryPendingBusiness": {
  2341. "get": {
  2342. "security": [
  2343. {
  2344. "ApiKeyAuth": []
  2345. }
  2346. ],
  2347. "produces": [
  2348. "application/json"
  2349. ],
  2350. "tags": [
  2351. "风险管理v3"
  2352. ],
  2353. "summary": "查询待审核基差贸易业务",
  2354. "parameters": [
  2355. {
  2356. "type": "string",
  2357. "description": "资金账号ID列表,逗号隔开",
  2358. "name": "accountids",
  2359. "in": "query",
  2360. "required": true
  2361. }
  2362. ],
  2363. "responses": {
  2364. "200": {
  2365. "description": "OK",
  2366. "schema": {
  2367. "type": "array",
  2368. "items": {
  2369. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  2370. }
  2371. }
  2372. },
  2373. "500": {
  2374. "description": "Internal Server Error",
  2375. "schema": {
  2376. "$ref": "#/definitions/app.Response"
  2377. }
  2378. }
  2379. }
  2380. }
  2381. },
  2382. "/Erms3/QuerySpotContractAppleForm": {
  2383. "get": {
  2384. "security": [
  2385. {
  2386. "ApiKeyAuth": []
  2387. }
  2388. ],
  2389. "produces": [
  2390. "application/json"
  2391. ],
  2392. "tags": [
  2393. "风险管理v3"
  2394. ],
  2395. "summary": "查询合同申请表单数据",
  2396. "parameters": [
  2397. {
  2398. "type": "integer",
  2399. "description": "登录账号",
  2400. "name": "loginID",
  2401. "in": "query",
  2402. "required": true
  2403. }
  2404. ],
  2405. "responses": {
  2406. "200": {
  2407. "description": "OK",
  2408. "schema": {
  2409. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  2410. }
  2411. },
  2412. "500": {
  2413. "description": "Internal Server Error",
  2414. "schema": {
  2415. "$ref": "#/definitions/app.Response"
  2416. }
  2417. }
  2418. }
  2419. }
  2420. },
  2421. "/Erms3/QuerySpotContractDetail": {
  2422. "get": {
  2423. "security": [
  2424. {
  2425. "ApiKeyAuth": []
  2426. }
  2427. ],
  2428. "produces": [
  2429. "application/json"
  2430. ],
  2431. "tags": [
  2432. "风险管理v3"
  2433. ],
  2434. "summary": "查询合同详细信息",
  2435. "parameters": [
  2436. {
  2437. "type": "string",
  2438. "description": "资金账号ID列表,用逗号分隔",
  2439. "name": "accountids",
  2440. "in": "query",
  2441. "required": true
  2442. },
  2443. {
  2444. "type": "integer",
  2445. "description": "合同类型,1为采购合同 -1为销售合同",
  2446. "name": "contracttype",
  2447. "in": "query",
  2448. "required": true
  2449. },
  2450. {
  2451. "type": "integer",
  2452. "description": "合同模式,1为普通合同 2为回购销售合同",
  2453. "name": "contractmode",
  2454. "in": "query",
  2455. "required": true
  2456. },
  2457. {
  2458. "type": "integer",
  2459. "description": "状态,0为履约中 1为已完成",
  2460. "name": "status",
  2461. "in": "query",
  2462. "required": true
  2463. }
  2464. ],
  2465. "responses": {
  2466. "200": {
  2467. "description": "OK",
  2468. "schema": {
  2469. "type": "array",
  2470. "items": {
  2471. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  2472. }
  2473. }
  2474. },
  2475. "500": {
  2476. "description": "Internal Server Error",
  2477. "schema": {
  2478. "$ref": "#/definitions/app.Response"
  2479. }
  2480. }
  2481. }
  2482. }
  2483. },
  2484. "/Erms3/QueryUserInfoApplies": {
  2485. "get": {
  2486. "security": [
  2487. {
  2488. "ApiKeyAuth": []
  2489. }
  2490. ],
  2491. "produces": [
  2492. "application/json"
  2493. ],
  2494. "tags": [
  2495. "风险管理v3"
  2496. ],
  2497. "summary": "客户申请信息查询",
  2498. "parameters": [
  2499. {
  2500. "type": "integer",
  2501. "description": "页码",
  2502. "name": "page",
  2503. "in": "query"
  2504. },
  2505. {
  2506. "type": "integer",
  2507. "description": "每页条数",
  2508. "name": "pagesize",
  2509. "in": "query"
  2510. },
  2511. {
  2512. "type": "string",
  2513. "description": "客户名称,支持模糊查询",
  2514. "name": "userName",
  2515. "in": "query"
  2516. }
  2517. ],
  2518. "responses": {
  2519. "200": {
  2520. "description": "OK",
  2521. "schema": {
  2522. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  2523. }
  2524. },
  2525. "500": {
  2526. "description": "Internal Server Error",
  2527. "schema": {
  2528. "$ref": "#/definitions/app.Response"
  2529. }
  2530. }
  2531. }
  2532. }
  2533. },
  2534. "/Erms3/QueryUserInfos": {
  2535. "get": {
  2536. "security": [
  2537. {
  2538. "ApiKeyAuth": []
  2539. }
  2540. ],
  2541. "produces": [
  2542. "application/json"
  2543. ],
  2544. "tags": [
  2545. "风险管理v3"
  2546. ],
  2547. "summary": "客户信息查询",
  2548. "parameters": [
  2549. {
  2550. "type": "integer",
  2551. "description": "页码",
  2552. "name": "page",
  2553. "in": "query"
  2554. },
  2555. {
  2556. "type": "integer",
  2557. "description": "每页条数",
  2558. "name": "pagesize",
  2559. "in": "query"
  2560. },
  2561. {
  2562. "type": "string",
  2563. "description": "客户名称,支持模糊查询",
  2564. "name": "userName",
  2565. "in": "query"
  2566. }
  2567. ],
  2568. "responses": {
  2569. "200": {
  2570. "description": "OK",
  2571. "schema": {
  2572. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  2573. }
  2574. },
  2575. "500": {
  2576. "description": "Internal Server Error",
  2577. "schema": {
  2578. "$ref": "#/definitions/app.Response"
  2579. }
  2580. }
  2581. }
  2582. }
  2583. },
  2584. "/HSBY/GetHsbyMyCount": {
  2585. "get": {
  2586. "security": [
  2587. {
  2588. "ApiKeyAuth": []
  2589. }
  2590. ],
  2591. "description": "说明: 不包括已完成的数量。",
  2592. "produces": [
  2593. "application/json"
  2594. ],
  2595. "tags": [
  2596. "定制【海商报业】"
  2597. ],
  2598. "summary": "获取我的订单与包裹数量",
  2599. "parameters": [
  2600. {
  2601. "type": "string",
  2602. "description": "资金账户列表,格式:1,2,3",
  2603. "name": "accountIDs",
  2604. "in": "query",
  2605. "required": true
  2606. }
  2607. ],
  2608. "responses": {
  2609. "200": {
  2610. "description": "OK",
  2611. "schema": {
  2612. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  2613. }
  2614. },
  2615. "500": {
  2616. "description": "Internal Server Error",
  2617. "schema": {
  2618. "$ref": "#/definitions/app.Response"
  2619. }
  2620. }
  2621. }
  2622. }
  2623. },
  2624. "/HSBY/QueryClientFixedADConfigs": {
  2625. "get": {
  2626. "security": [
  2627. {
  2628. "ApiKeyAuth": []
  2629. }
  2630. ],
  2631. "produces": [
  2632. "application/json"
  2633. ],
  2634. "tags": [
  2635. "定制【海商报业】"
  2636. ],
  2637. "summary": "获取终端固定广告配置",
  2638. "responses": {
  2639. "200": {
  2640. "description": "OK",
  2641. "schema": {
  2642. "$ref": "#/definitions/models.Clientfixedadconfig"
  2643. }
  2644. },
  2645. "500": {
  2646. "description": "Internal Server Error",
  2647. "schema": {
  2648. "$ref": "#/definitions/app.Response"
  2649. }
  2650. }
  2651. }
  2652. }
  2653. },
  2654. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  2655. "get": {
  2656. "security": [
  2657. {
  2658. "ApiKeyAuth": []
  2659. }
  2660. ],
  2661. "produces": [
  2662. "application/json"
  2663. ],
  2664. "tags": [
  2665. "定制【海商报业】"
  2666. ],
  2667. "summary": "查询\"我的订单 - 已完成\"单据信息",
  2668. "parameters": [
  2669. {
  2670. "type": "integer",
  2671. "description": "页码",
  2672. "name": "page",
  2673. "in": "query"
  2674. },
  2675. {
  2676. "type": "integer",
  2677. "description": "每页条数",
  2678. "name": "pagesize",
  2679. "in": "query"
  2680. },
  2681. {
  2682. "type": "string",
  2683. "description": "资金账户列表,格式:1,2,3",
  2684. "name": "accountIDs",
  2685. "in": "query",
  2686. "required": true
  2687. }
  2688. ],
  2689. "responses": {
  2690. "200": {
  2691. "description": "OK",
  2692. "schema": {
  2693. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  2694. }
  2695. },
  2696. "500": {
  2697. "description": "Internal Server Error",
  2698. "schema": {
  2699. "$ref": "#/definitions/app.Response"
  2700. }
  2701. }
  2702. }
  2703. }
  2704. },
  2705. "/HSBY/QueryHsbyGoodsOrderDetails": {
  2706. "get": {
  2707. "security": [
  2708. {
  2709. "ApiKeyAuth": []
  2710. }
  2711. ],
  2712. "description": "说明:查询结果已按委托价格和委托时间排序",
  2713. "produces": [
  2714. "application/json"
  2715. ],
  2716. "tags": [
  2717. "定制【海商报业】"
  2718. ],
  2719. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  2720. "parameters": [
  2721. {
  2722. "type": "integer",
  2723. "description": "商品ID",
  2724. "name": "goodsID",
  2725. "in": "query",
  2726. "required": true
  2727. },
  2728. {
  2729. "type": "string",
  2730. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  2731. "name": "accountIDs",
  2732. "in": "query"
  2733. },
  2734. {
  2735. "type": "integer",
  2736. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  2737. "name": "buyOrSell",
  2738. "in": "query"
  2739. },
  2740. {
  2741. "type": "number",
  2742. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  2743. "name": "price",
  2744. "in": "query"
  2745. },
  2746. {
  2747. "type": "integer",
  2748. "description": "档位,不传则默认为3档",
  2749. "name": "speed",
  2750. "in": "query"
  2751. }
  2752. ],
  2753. "responses": {
  2754. "200": {
  2755. "description": "OK",
  2756. "schema": {
  2757. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  2758. }
  2759. },
  2760. "500": {
  2761. "description": "Internal Server Error",
  2762. "schema": {
  2763. "$ref": "#/definitions/app.Response"
  2764. }
  2765. }
  2766. }
  2767. }
  2768. },
  2769. "/HSBY/QueryHsbyListingGoodsDetail": {
  2770. "get": {
  2771. "security": [
  2772. {
  2773. "ApiKeyAuth": []
  2774. }
  2775. ],
  2776. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  2777. "produces": [
  2778. "application/json"
  2779. ],
  2780. "tags": [
  2781. "定制【海商报业】"
  2782. ],
  2783. "summary": "查询二级市场(挂牌点选)商品信息详情",
  2784. "parameters": [
  2785. {
  2786. "type": "integer",
  2787. "description": "商品ID",
  2788. "name": "goodsID",
  2789. "in": "query",
  2790. "required": true
  2791. },
  2792. {
  2793. "type": "integer",
  2794. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  2795. "name": "accountID",
  2796. "in": "query"
  2797. }
  2798. ],
  2799. "responses": {
  2800. "200": {
  2801. "description": "OK",
  2802. "schema": {
  2803. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  2804. }
  2805. },
  2806. "500": {
  2807. "description": "Internal Server Error",
  2808. "schema": {
  2809. "$ref": "#/definitions/app.Response"
  2810. }
  2811. }
  2812. }
  2813. }
  2814. },
  2815. "/HSBY/QueryHsbyMarketGoodsDetail": {
  2816. "get": {
  2817. "security": [
  2818. {
  2819. "ApiKeyAuth": []
  2820. }
  2821. ],
  2822. "produces": [
  2823. "application/json"
  2824. ],
  2825. "tags": [
  2826. "定制【海商报业】"
  2827. ],
  2828. "summary": "查询三级市场(商城)商品信息详情",
  2829. "parameters": [
  2830. {
  2831. "type": "integer",
  2832. "description": "委托单号",
  2833. "name": "orderID",
  2834. "in": "query",
  2835. "required": true
  2836. },
  2837. {
  2838. "type": "integer",
  2839. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  2840. "name": "accountID",
  2841. "in": "query"
  2842. }
  2843. ],
  2844. "responses": {
  2845. "200": {
  2846. "description": "OK",
  2847. "schema": {
  2848. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2849. }
  2850. },
  2851. "500": {
  2852. "description": "Internal Server Error",
  2853. "schema": {
  2854. "$ref": "#/definitions/app.Response"
  2855. }
  2856. }
  2857. }
  2858. }
  2859. },
  2860. "/HSBY/QueryHsbyMarketGoodses": {
  2861. "get": {
  2862. "security": [
  2863. {
  2864. "ApiKeyAuth": []
  2865. }
  2866. ],
  2867. "produces": [
  2868. "application/json"
  2869. ],
  2870. "tags": [
  2871. "定制【海商报业】"
  2872. ],
  2873. "summary": "查询特卖商品列表(三级商城)",
  2874. "parameters": [
  2875. {
  2876. "type": "integer",
  2877. "description": "页码",
  2878. "name": "page",
  2879. "in": "query"
  2880. },
  2881. {
  2882. "type": "integer",
  2883. "description": "每页条数",
  2884. "name": "pagesize",
  2885. "in": "query"
  2886. },
  2887. {
  2888. "type": "string",
  2889. "description": "市场ID列表,格式:1,2,3",
  2890. "name": "marketIDs",
  2891. "in": "query",
  2892. "required": true
  2893. },
  2894. {
  2895. "type": "integer",
  2896. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  2897. "name": "accountID",
  2898. "in": "query",
  2899. "required": true
  2900. },
  2901. {
  2902. "type": "integer",
  2903. "description": "类别ID",
  2904. "name": "categoryID",
  2905. "in": "query"
  2906. },
  2907. {
  2908. "type": "string",
  2909. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2910. "name": "goodsIDs",
  2911. "in": "query"
  2912. },
  2913. {
  2914. "type": "integer",
  2915. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  2916. "name": "couponTypeID",
  2917. "in": "query"
  2918. }
  2919. ],
  2920. "responses": {
  2921. "200": {
  2922. "description": "OK",
  2923. "schema": {
  2924. "$ref": "#/definitions/models.HsbyMarketGoods"
  2925. }
  2926. },
  2927. "500": {
  2928. "description": "Internal Server Error",
  2929. "schema": {
  2930. "$ref": "#/definitions/app.Response"
  2931. }
  2932. }
  2933. }
  2934. }
  2935. },
  2936. "/HSBY/QueryHsbyMarkets": {
  2937. "get": {
  2938. "security": [
  2939. {
  2940. "ApiKeyAuth": []
  2941. }
  2942. ],
  2943. "produces": [
  2944. "application/json"
  2945. ],
  2946. "tags": [
  2947. "定制【海商报业】"
  2948. ],
  2949. "summary": "查询海商报业相关市场信息",
  2950. "responses": {
  2951. "200": {
  2952. "description": "OK",
  2953. "schema": {
  2954. "$ref": "#/definitions/models.HsbyMarketInfo"
  2955. }
  2956. },
  2957. "500": {
  2958. "description": "Internal Server Error",
  2959. "schema": {
  2960. "$ref": "#/definitions/app.Response"
  2961. }
  2962. }
  2963. }
  2964. }
  2965. },
  2966. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2967. "get": {
  2968. "security": [
  2969. {
  2970. "ApiKeyAuth": []
  2971. }
  2972. ],
  2973. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2974. "produces": [
  2975. "application/json"
  2976. ],
  2977. "tags": [
  2978. "定制【海商报业】"
  2979. ],
  2980. "summary": "查询“我的订单”信息",
  2981. "parameters": [
  2982. {
  2983. "type": "string",
  2984. "description": "资金账户列表,格式:1,2,3",
  2985. "name": "accountIDs",
  2986. "in": "query",
  2987. "required": true
  2988. },
  2989. {
  2990. "type": "integer",
  2991. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2992. "name": "myBuyStatus",
  2993. "in": "query"
  2994. }
  2995. ],
  2996. "responses": {
  2997. "200": {
  2998. "description": "OK",
  2999. "schema": {
  3000. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  3001. }
  3002. },
  3003. "500": {
  3004. "description": "Internal Server Error",
  3005. "schema": {
  3006. "$ref": "#/definitions/app.Response"
  3007. }
  3008. }
  3009. }
  3010. }
  3011. },
  3012. "/HSBY/QueryHsbyMyGoods": {
  3013. "get": {
  3014. "security": [
  3015. {
  3016. "ApiKeyAuth": []
  3017. }
  3018. ],
  3019. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  3020. "produces": [
  3021. "application/json"
  3022. ],
  3023. "tags": [
  3024. "定制【海商报业】"
  3025. ],
  3026. "summary": "查询“我的商品”信息",
  3027. "parameters": [
  3028. {
  3029. "type": "string",
  3030. "description": "资金账户列表,格式:1,2,3",
  3031. "name": "accountIDs",
  3032. "in": "query",
  3033. "required": true
  3034. }
  3035. ],
  3036. "responses": {
  3037. "200": {
  3038. "description": "OK",
  3039. "schema": {
  3040. "$ref": "#/definitions/models.HsbyMyGoods"
  3041. }
  3042. },
  3043. "500": {
  3044. "description": "Internal Server Error",
  3045. "schema": {
  3046. "$ref": "#/definitions/app.Response"
  3047. }
  3048. }
  3049. }
  3050. }
  3051. },
  3052. "/HSBY/QueryHsbyMyPackages": {
  3053. "get": {
  3054. "security": [
  3055. {
  3056. "ApiKeyAuth": []
  3057. }
  3058. ],
  3059. "produces": [
  3060. "application/json"
  3061. ],
  3062. "tags": [
  3063. "定制【海商报业】"
  3064. ],
  3065. "summary": "查询我的包裹信息",
  3066. "parameters": [
  3067. {
  3068. "type": "string",
  3069. "description": "资金账户列表,格式:1,2,3",
  3070. "name": "accountIDs",
  3071. "in": "query",
  3072. "required": true
  3073. },
  3074. {
  3075. "type": "integer",
  3076. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3077. "name": "takeOrderStatus",
  3078. "in": "query"
  3079. }
  3080. ],
  3081. "responses": {
  3082. "200": {
  3083. "description": "OK",
  3084. "schema": {
  3085. "$ref": "#/definitions/models.HsbyMyPackage"
  3086. }
  3087. },
  3088. "500": {
  3089. "description": "Internal Server Error",
  3090. "schema": {
  3091. "$ref": "#/definitions/app.Response"
  3092. }
  3093. }
  3094. }
  3095. }
  3096. },
  3097. "/HSBY/QueryHsbyPreGoodsDetail": {
  3098. "get": {
  3099. "security": [
  3100. {
  3101. "ApiKeyAuth": []
  3102. }
  3103. ],
  3104. "produces": [
  3105. "application/json"
  3106. ],
  3107. "tags": [
  3108. "定制【海商报业】"
  3109. ],
  3110. "summary": "查询一级市场(预售)商品信息详情",
  3111. "parameters": [
  3112. {
  3113. "type": "integer",
  3114. "description": "商品ID",
  3115. "name": "goodsID",
  3116. "in": "query",
  3117. "required": true
  3118. },
  3119. {
  3120. "type": "integer",
  3121. "description": "资金账户,主要用于获取预售商品购买上限",
  3122. "name": "accountID",
  3123. "in": "query"
  3124. }
  3125. ],
  3126. "responses": {
  3127. "200": {
  3128. "description": "OK",
  3129. "schema": {
  3130. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3131. }
  3132. },
  3133. "500": {
  3134. "description": "Internal Server Error",
  3135. "schema": {
  3136. "$ref": "#/definitions/app.Response"
  3137. }
  3138. }
  3139. }
  3140. }
  3141. },
  3142. "/HSBY/QueryHsbyPreGoodses": {
  3143. "get": {
  3144. "security": [
  3145. {
  3146. "ApiKeyAuth": []
  3147. }
  3148. ],
  3149. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  3150. "produces": [
  3151. "application/json"
  3152. ],
  3153. "tags": [
  3154. "定制【海商报业】"
  3155. ],
  3156. "summary": "查询新品上市商品列表(一级市场预售)",
  3157. "parameters": [
  3158. {
  3159. "type": "integer",
  3160. "description": "页码",
  3161. "name": "page",
  3162. "in": "query"
  3163. },
  3164. {
  3165. "type": "integer",
  3166. "description": "每页条数",
  3167. "name": "pagesize",
  3168. "in": "query"
  3169. },
  3170. {
  3171. "type": "string",
  3172. "description": "市场ID列表,格式:1,2,3",
  3173. "name": "marketIDs",
  3174. "in": "query",
  3175. "required": true
  3176. },
  3177. {
  3178. "type": "integer",
  3179. "description": "目的地(省)ID",
  3180. "name": "descProvinceID",
  3181. "in": "query"
  3182. },
  3183. {
  3184. "type": "integer",
  3185. "description": "目的地(市)ID",
  3186. "name": "descCityID",
  3187. "in": "query"
  3188. }
  3189. ],
  3190. "responses": {
  3191. "200": {
  3192. "description": "OK",
  3193. "schema": {
  3194. "$ref": "#/definitions/models.HsbyPreGoods"
  3195. }
  3196. },
  3197. "500": {
  3198. "description": "Internal Server Error",
  3199. "schema": {
  3200. "$ref": "#/definitions/app.Response"
  3201. }
  3202. }
  3203. }
  3204. }
  3205. },
  3206. "/HSBY/QueryHsbySellMyDetails": {
  3207. "get": {
  3208. "security": [
  3209. {
  3210. "ApiKeyAuth": []
  3211. }
  3212. ],
  3213. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3214. "produces": [
  3215. "application/json"
  3216. ],
  3217. "tags": [
  3218. "定制【海商报业】"
  3219. ],
  3220. "summary": "查询\"我的闲置\"单据信息",
  3221. "parameters": [
  3222. {
  3223. "type": "integer",
  3224. "description": "页码",
  3225. "name": "page",
  3226. "in": "query"
  3227. },
  3228. {
  3229. "type": "integer",
  3230. "description": "每页条数",
  3231. "name": "pagesize",
  3232. "in": "query"
  3233. },
  3234. {
  3235. "type": "string",
  3236. "description": "资金账户列表,格式:1,2,3",
  3237. "name": "accountIDs",
  3238. "in": "query",
  3239. "required": true
  3240. },
  3241. {
  3242. "type": "integer",
  3243. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3244. "name": "orderType",
  3245. "in": "query"
  3246. }
  3247. ],
  3248. "responses": {
  3249. "200": {
  3250. "description": "OK",
  3251. "schema": {
  3252. "$ref": "#/definitions/models.HsbySellMyDetail"
  3253. }
  3254. },
  3255. "500": {
  3256. "description": "Internal Server Error",
  3257. "schema": {
  3258. "$ref": "#/definitions/app.Response"
  3259. }
  3260. }
  3261. }
  3262. }
  3263. },
  3264. "/HSBY/QueryHsbyTopGoodses": {
  3265. "get": {
  3266. "security": [
  3267. {
  3268. "ApiKeyAuth": []
  3269. }
  3270. ],
  3271. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  3272. "produces": [
  3273. "application/json"
  3274. ],
  3275. "tags": [
  3276. "定制【海商报业】"
  3277. ],
  3278. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  3279. "parameters": [
  3280. {
  3281. "type": "integer",
  3282. "description": "页码",
  3283. "name": "page",
  3284. "in": "query"
  3285. },
  3286. {
  3287. "type": "integer",
  3288. "description": "每页条数",
  3289. "name": "pagesize",
  3290. "in": "query"
  3291. },
  3292. {
  3293. "type": "string",
  3294. "description": "市场ID列表,格式:1,2,3",
  3295. "name": "marketIDs",
  3296. "in": "query",
  3297. "required": true
  3298. },
  3299. {
  3300. "type": "integer",
  3301. "description": "目的地(省)ID",
  3302. "name": "descProvinceID",
  3303. "in": "query"
  3304. },
  3305. {
  3306. "type": "integer",
  3307. "description": "目的地(市)ID",
  3308. "name": "descCityID",
  3309. "in": "query"
  3310. }
  3311. ],
  3312. "responses": {
  3313. "200": {
  3314. "description": "OK",
  3315. "schema": {
  3316. "$ref": "#/definitions/models.HsbyTopGoods"
  3317. }
  3318. },
  3319. "500": {
  3320. "description": "Internal Server Error",
  3321. "schema": {
  3322. "$ref": "#/definitions/app.Response"
  3323. }
  3324. }
  3325. }
  3326. }
  3327. },
  3328. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  3329. "get": {
  3330. "security": [
  3331. {
  3332. "ApiKeyAuth": []
  3333. }
  3334. ],
  3335. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  3336. "produces": [
  3337. "application/json"
  3338. ],
  3339. "tags": [
  3340. "定制【海商报业】"
  3341. ],
  3342. "summary": "查询游客三级市场(商城)商品信息详情",
  3343. "parameters": [
  3344. {
  3345. "type": "integer",
  3346. "description": "商品ID",
  3347. "name": "goodsID",
  3348. "in": "query",
  3349. "required": true
  3350. }
  3351. ],
  3352. "responses": {
  3353. "200": {
  3354. "description": "OK",
  3355. "schema": {
  3356. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3357. }
  3358. },
  3359. "500": {
  3360. "description": "Internal Server Error",
  3361. "schema": {
  3362. "$ref": "#/definitions/app.Response"
  3363. }
  3364. }
  3365. }
  3366. }
  3367. },
  3368. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  3369. "get": {
  3370. "security": [
  3371. {
  3372. "ApiKeyAuth": []
  3373. }
  3374. ],
  3375. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  3376. "produces": [
  3377. "application/json"
  3378. ],
  3379. "tags": [
  3380. "定制【海商报业】"
  3381. ],
  3382. "summary": "查询游客特卖商品列表(三级商城)",
  3383. "parameters": [
  3384. {
  3385. "type": "integer",
  3386. "description": "页码",
  3387. "name": "page",
  3388. "in": "query"
  3389. },
  3390. {
  3391. "type": "integer",
  3392. "description": "每页条数",
  3393. "name": "pagesize",
  3394. "in": "query"
  3395. },
  3396. {
  3397. "type": "string",
  3398. "description": "市场ID列表,格式:1,2,3",
  3399. "name": "marketIDs",
  3400. "in": "query",
  3401. "required": true
  3402. },
  3403. {
  3404. "type": "integer",
  3405. "description": "类别ID",
  3406. "name": "categoryID",
  3407. "in": "query"
  3408. },
  3409. {
  3410. "type": "string",
  3411. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3412. "name": "goodsIDs",
  3413. "in": "query"
  3414. }
  3415. ],
  3416. "responses": {
  3417. "200": {
  3418. "description": "OK",
  3419. "schema": {
  3420. "$ref": "#/definitions/models.HsbyMarketGoods"
  3421. }
  3422. },
  3423. "500": {
  3424. "description": "Internal Server Error",
  3425. "schema": {
  3426. "$ref": "#/definitions/app.Response"
  3427. }
  3428. }
  3429. }
  3430. }
  3431. },
  3432. "/HSBY/QueryMyCollectionOrders": {
  3433. "get": {
  3434. "security": [
  3435. {
  3436. "ApiKeyAuth": []
  3437. }
  3438. ],
  3439. "produces": [
  3440. "application/json"
  3441. ],
  3442. "tags": [
  3443. "定制【海商报业】"
  3444. ],
  3445. "summary": "我的闲置中收款信息查询",
  3446. "parameters": [
  3447. {
  3448. "type": "integer",
  3449. "description": "页码",
  3450. "name": "page",
  3451. "in": "query"
  3452. },
  3453. {
  3454. "type": "integer",
  3455. "description": "每页条数",
  3456. "name": "pagesize",
  3457. "in": "query"
  3458. },
  3459. {
  3460. "type": "string",
  3461. "description": "资金账户,格式:1,2,3",
  3462. "name": "accountIDs",
  3463. "in": "query",
  3464. "required": true
  3465. }
  3466. ],
  3467. "responses": {
  3468. "200": {
  3469. "description": "OK",
  3470. "schema": {
  3471. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  3472. }
  3473. },
  3474. "500": {
  3475. "description": "Internal Server Error",
  3476. "schema": {
  3477. "$ref": "#/definitions/app.Response"
  3478. }
  3479. }
  3480. }
  3481. }
  3482. },
  3483. "/HSBY/QueryMyCouponHolds": {
  3484. "get": {
  3485. "security": [
  3486. {
  3487. "ApiKeyAuth": []
  3488. }
  3489. ],
  3490. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  3491. "produces": [
  3492. "application/json"
  3493. ],
  3494. "tags": [
  3495. "定制【海商报业】"
  3496. ],
  3497. "summary": "我的优惠卷持仓查询",
  3498. "parameters": [
  3499. {
  3500. "type": "string",
  3501. "description": "资金账户列表,格式:1,2,3",
  3502. "name": "accountIDs",
  3503. "in": "query",
  3504. "required": true
  3505. },
  3506. {
  3507. "type": "string",
  3508. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  3509. "name": "holdStatus",
  3510. "in": "query"
  3511. }
  3512. ],
  3513. "responses": {
  3514. "200": {
  3515. "description": "OK",
  3516. "schema": {
  3517. "$ref": "#/definitions/models.MyCouponHold"
  3518. }
  3519. },
  3520. "500": {
  3521. "description": "Internal Server Error",
  3522. "schema": {
  3523. "$ref": "#/definitions/app.Response"
  3524. }
  3525. }
  3526. }
  3527. }
  3528. },
  3529. "/HSBY/QueryMyCoupons": {
  3530. "get": {
  3531. "security": [
  3532. {
  3533. "ApiKeyAuth": []
  3534. }
  3535. ],
  3536. "produces": [
  3537. "application/json"
  3538. ],
  3539. "tags": [
  3540. "定制【海商报业】"
  3541. ],
  3542. "summary": "我的优惠卷查询",
  3543. "parameters": [
  3544. {
  3545. "type": "string",
  3546. "description": "资金账户列表,格式:1,2,3",
  3547. "name": "accountIDs",
  3548. "in": "query",
  3549. "required": true
  3550. },
  3551. {
  3552. "type": "integer",
  3553. "description": "商品ID, 一般与sellUserID配套传入",
  3554. "name": "goodsID",
  3555. "in": "query"
  3556. },
  3557. {
  3558. "type": "integer",
  3559. "description": "卖方UserID",
  3560. "name": "sellUserID",
  3561. "in": "query"
  3562. }
  3563. ],
  3564. "responses": {
  3565. "200": {
  3566. "description": "OK",
  3567. "schema": {
  3568. "$ref": "#/definitions/models.MyCoupon"
  3569. }
  3570. },
  3571. "500": {
  3572. "description": "Internal Server Error",
  3573. "schema": {
  3574. "$ref": "#/definitions/app.Response"
  3575. }
  3576. }
  3577. }
  3578. }
  3579. },
  3580. "/HSBY/QueryMyPayOrders": {
  3581. "get": {
  3582. "security": [
  3583. {
  3584. "ApiKeyAuth": []
  3585. }
  3586. ],
  3587. "produces": [
  3588. "application/json"
  3589. ],
  3590. "tags": [
  3591. "定制【海商报业】"
  3592. ],
  3593. "summary": "获取我的订单中待付款信息",
  3594. "parameters": [
  3595. {
  3596. "type": "integer",
  3597. "description": "页码",
  3598. "name": "page",
  3599. "in": "query"
  3600. },
  3601. {
  3602. "type": "integer",
  3603. "description": "每页条数",
  3604. "name": "pagesize",
  3605. "in": "query"
  3606. },
  3607. {
  3608. "type": "string",
  3609. "description": "资金账户列表,格式:1,2,3",
  3610. "name": "accountIDs",
  3611. "in": "query",
  3612. "required": true
  3613. },
  3614. {
  3615. "type": "integer",
  3616. "description": "买方委托单号",
  3617. "name": "buyOrderID",
  3618. "in": "query"
  3619. },
  3620. {
  3621. "type": "integer",
  3622. "description": "卖方委托单号",
  3623. "name": "sellOrderID",
  3624. "in": "query"
  3625. }
  3626. ],
  3627. "responses": {
  3628. "200": {
  3629. "description": "OK",
  3630. "schema": {
  3631. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  3632. }
  3633. },
  3634. "500": {
  3635. "description": "Internal Server Error",
  3636. "schema": {
  3637. "$ref": "#/definitions/app.Response"
  3638. }
  3639. }
  3640. }
  3641. }
  3642. },
  3643. "/HSBY/QueryMyUsedCoupon": {
  3644. "get": {
  3645. "security": [
  3646. {
  3647. "ApiKeyAuth": []
  3648. }
  3649. ],
  3650. "produces": [
  3651. "application/json"
  3652. ],
  3653. "tags": [
  3654. "定制【海商报业】"
  3655. ],
  3656. "summary": "已使用优惠卷查询",
  3657. "parameters": [
  3658. {
  3659. "type": "string",
  3660. "description": "资金账户列表,格式:1,2,3",
  3661. "name": "accountIDs",
  3662. "in": "query",
  3663. "required": true
  3664. }
  3665. ],
  3666. "responses": {
  3667. "200": {
  3668. "description": "OK",
  3669. "schema": {
  3670. "$ref": "#/definitions/models.MyUsedCoupon"
  3671. }
  3672. },
  3673. "500": {
  3674. "description": "Internal Server Error",
  3675. "schema": {
  3676. "$ref": "#/definitions/app.Response"
  3677. }
  3678. }
  3679. }
  3680. }
  3681. },
  3682. "/HSBY/QueryProvincesAndCities": {
  3683. "get": {
  3684. "security": [
  3685. {
  3686. "ApiKeyAuth": []
  3687. }
  3688. ],
  3689. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  3690. "produces": [
  3691. "application/json"
  3692. ],
  3693. "tags": [
  3694. "定制【海商报业】"
  3695. ],
  3696. "summary": "查询省市信息(不包括区)",
  3697. "parameters": [
  3698. {
  3699. "type": "integer",
  3700. "description": "省ID",
  3701. "name": "provinceID",
  3702. "in": "query"
  3703. }
  3704. ],
  3705. "responses": {
  3706. "200": {
  3707. "description": "OK",
  3708. "schema": {
  3709. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  3710. }
  3711. },
  3712. "500": {
  3713. "description": "Internal Server Error",
  3714. "schema": {
  3715. "$ref": "#/definitions/app.Response"
  3716. }
  3717. }
  3718. }
  3719. }
  3720. },
  3721. "/HSBY/SetHsbyMyPackagesStatus": {
  3722. "post": {
  3723. "security": [
  3724. {
  3725. "ApiKeyAuth": []
  3726. }
  3727. ],
  3728. "produces": [
  3729. "application/json"
  3730. ],
  3731. "tags": [
  3732. "定制【海商报业】"
  3733. ],
  3734. "summary": "设置我的包裹已收货状态",
  3735. "parameters": [
  3736. {
  3737. "type": "string",
  3738. "description": "提货单号",
  3739. "name": "takeOrderID",
  3740. "in": "query",
  3741. "required": true
  3742. },
  3743. {
  3744. "type": "integer",
  3745. "description": "资金账号",
  3746. "name": "accountID",
  3747. "in": "query",
  3748. "required": true
  3749. }
  3750. ],
  3751. "responses": {
  3752. "200": {
  3753. "description": "OK",
  3754. "schema": {
  3755. "$ref": "#/definitions/app.Response"
  3756. }
  3757. },
  3758. "500": {
  3759. "description": "Internal Server Error",
  3760. "schema": {
  3761. "$ref": "#/definitions/app.Response"
  3762. }
  3763. }
  3764. }
  3765. }
  3766. },
  3767. "/Market/QueryGoodsesByLoginID": {
  3768. "get": {
  3769. "security": [
  3770. {
  3771. "ApiKeyAuth": []
  3772. }
  3773. ],
  3774. "produces": [
  3775. "application/json"
  3776. ],
  3777. "tags": [
  3778. "通用市场"
  3779. ],
  3780. "summary": "获取登录账号有权限的商品信息",
  3781. "parameters": [
  3782. {
  3783. "type": "integer",
  3784. "description": "登录账号",
  3785. "name": "loginID",
  3786. "in": "query",
  3787. "required": true
  3788. },
  3789. {
  3790. "type": "string",
  3791. "description": "市场ID列表,格式:1,2,3",
  3792. "name": "marketIDs",
  3793. "in": "query"
  3794. }
  3795. ],
  3796. "responses": {
  3797. "200": {
  3798. "description": "OK",
  3799. "schema": {
  3800. "$ref": "#/definitions/models.Goods"
  3801. }
  3802. },
  3803. "500": {
  3804. "description": "Internal Server Error",
  3805. "schema": {
  3806. "$ref": "#/definitions/app.Response"
  3807. }
  3808. }
  3809. }
  3810. }
  3811. },
  3812. "/Market/QueryMarketRun": {
  3813. "get": {
  3814. "security": [
  3815. {
  3816. "ApiKeyAuth": []
  3817. }
  3818. ],
  3819. "produces": [
  3820. "application/json"
  3821. ],
  3822. "tags": [
  3823. "通用市场"
  3824. ],
  3825. "summary": "查询市场运行信息",
  3826. "parameters": [
  3827. {
  3828. "type": "integer",
  3829. "description": "市场ID,不传返回所有",
  3830. "name": "marketID",
  3831. "in": "query"
  3832. }
  3833. ],
  3834. "responses": {
  3835. "200": {
  3836. "description": "OK",
  3837. "schema": {
  3838. "$ref": "#/definitions/models.Marketrun"
  3839. }
  3840. },
  3841. "500": {
  3842. "description": "Internal Server Error",
  3843. "schema": {
  3844. "$ref": "#/definitions/app.Response"
  3845. }
  3846. }
  3847. }
  3848. }
  3849. },
  3850. "/Market/QueryMarketsByLoginID": {
  3851. "get": {
  3852. "security": [
  3853. {
  3854. "ApiKeyAuth": []
  3855. }
  3856. ],
  3857. "produces": [
  3858. "application/json"
  3859. ],
  3860. "tags": [
  3861. "通用市场"
  3862. ],
  3863. "summary": "获取登录账号有权限的市场信息",
  3864. "parameters": [
  3865. {
  3866. "type": "integer",
  3867. "description": "登录账号",
  3868. "name": "loginID",
  3869. "in": "query",
  3870. "required": true
  3871. }
  3872. ],
  3873. "responses": {
  3874. "200": {
  3875. "description": "OK",
  3876. "schema": {
  3877. "$ref": "#/definitions/models.Market"
  3878. }
  3879. },
  3880. "500": {
  3881. "description": "Internal Server Error",
  3882. "schema": {
  3883. "$ref": "#/definitions/app.Response"
  3884. }
  3885. }
  3886. }
  3887. }
  3888. },
  3889. "/Order/QueryHisTradeDetail": {
  3890. "get": {
  3891. "security": [
  3892. {
  3893. "ApiKeyAuth": []
  3894. }
  3895. ],
  3896. "produces": [
  3897. "application/json"
  3898. ],
  3899. "tags": [
  3900. "通用单据"
  3901. ],
  3902. "summary": "历史成交单查询(合约市场)",
  3903. "parameters": [
  3904. {
  3905. "type": "string",
  3906. "description": "资金账户 - 格式:1,2,3",
  3907. "name": "accountID",
  3908. "in": "query",
  3909. "required": true
  3910. },
  3911. {
  3912. "type": "integer",
  3913. "description": "成交单号",
  3914. "name": "tradeID",
  3915. "in": "query"
  3916. },
  3917. {
  3918. "type": "integer",
  3919. "description": "委托单号",
  3920. "name": "orderID",
  3921. "in": "query"
  3922. },
  3923. {
  3924. "type": "string",
  3925. "description": "交易模式 - 格式:1,2,3",
  3926. "name": "tradeMode",
  3927. "in": "query"
  3928. },
  3929. {
  3930. "type": "integer",
  3931. "description": "委托单据类型",
  3932. "name": "buildType",
  3933. "in": "query"
  3934. },
  3935. {
  3936. "type": "string",
  3937. "description": "成交类别 - 格式:1,2,3",
  3938. "name": "tradeType",
  3939. "in": "query"
  3940. },
  3941. {
  3942. "type": "string",
  3943. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3944. "name": "startDate",
  3945. "in": "query"
  3946. },
  3947. {
  3948. "type": "string",
  3949. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3950. "name": "endDate",
  3951. "in": "query"
  3952. }
  3953. ],
  3954. "responses": {
  3955. "200": {
  3956. "description": "OK",
  3957. "schema": {
  3958. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  3959. }
  3960. },
  3961. "500": {
  3962. "description": "Internal Server Error",
  3963. "schema": {
  3964. "$ref": "#/definitions/app.Response"
  3965. }
  3966. }
  3967. }
  3968. }
  3969. },
  3970. "/Order/QueryHisTradeOrderDetail": {
  3971. "get": {
  3972. "security": [
  3973. {
  3974. "ApiKeyAuth": []
  3975. }
  3976. ],
  3977. "produces": [
  3978. "application/json"
  3979. ],
  3980. "tags": [
  3981. "通用单据"
  3982. ],
  3983. "summary": "历史委托单查询请求(合约市场)",
  3984. "parameters": [
  3985. {
  3986. "type": "string",
  3987. "description": "资金账户 - 格式:1,2,3",
  3988. "name": "accountID",
  3989. "in": "query",
  3990. "required": true
  3991. },
  3992. {
  3993. "type": "string",
  3994. "description": "交易模式 - 格式:1,2,3",
  3995. "name": "tradeMode",
  3996. "in": "query"
  3997. },
  3998. {
  3999. "type": "string",
  4000. "description": "委托状态 - 格式:1,2,3",
  4001. "name": "orderStatus",
  4002. "in": "query"
  4003. },
  4004. {
  4005. "type": "integer",
  4006. "description": "委托单号",
  4007. "name": "orderID",
  4008. "in": "query"
  4009. },
  4010. {
  4011. "type": "string",
  4012. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4013. "name": "startDate",
  4014. "in": "query"
  4015. },
  4016. {
  4017. "type": "string",
  4018. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4019. "name": "endDate",
  4020. "in": "query"
  4021. }
  4022. ],
  4023. "responses": {
  4024. "200": {
  4025. "description": "OK",
  4026. "schema": {
  4027. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  4028. }
  4029. },
  4030. "500": {
  4031. "description": "Internal Server Error",
  4032. "schema": {
  4033. "$ref": "#/definitions/app.Response"
  4034. }
  4035. }
  4036. }
  4037. }
  4038. },
  4039. "/Order/QueryTradeDetail": {
  4040. "get": {
  4041. "security": [
  4042. {
  4043. "ApiKeyAuth": []
  4044. }
  4045. ],
  4046. "produces": [
  4047. "application/json"
  4048. ],
  4049. "tags": [
  4050. "通用单据"
  4051. ],
  4052. "summary": "成交单查询(合约市场)",
  4053. "parameters": [
  4054. {
  4055. "type": "string",
  4056. "description": "资金账户 - 格式:1,2,3",
  4057. "name": "accountID",
  4058. "in": "query",
  4059. "required": true
  4060. },
  4061. {
  4062. "type": "integer",
  4063. "description": "成交单号",
  4064. "name": "tradeID",
  4065. "in": "query"
  4066. },
  4067. {
  4068. "type": "integer",
  4069. "description": "委托单号",
  4070. "name": "orderID",
  4071. "in": "query"
  4072. },
  4073. {
  4074. "type": "string",
  4075. "description": "交易模式 - 格式:1,2,3",
  4076. "name": "tradeMode",
  4077. "in": "query"
  4078. },
  4079. {
  4080. "type": "integer",
  4081. "description": "委托单据类型",
  4082. "name": "buildType",
  4083. "in": "query"
  4084. },
  4085. {
  4086. "type": "string",
  4087. "description": "成交类别 - 格式:1,2,3",
  4088. "name": "tradeType",
  4089. "in": "query"
  4090. }
  4091. ],
  4092. "responses": {
  4093. "200": {
  4094. "description": "OK",
  4095. "schema": {
  4096. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4097. }
  4098. },
  4099. "500": {
  4100. "description": "Internal Server Error",
  4101. "schema": {
  4102. "$ref": "#/definitions/app.Response"
  4103. }
  4104. }
  4105. }
  4106. }
  4107. },
  4108. "/Order/QueryTradeOrderDetail": {
  4109. "get": {
  4110. "security": [
  4111. {
  4112. "ApiKeyAuth": []
  4113. }
  4114. ],
  4115. "produces": [
  4116. "application/json"
  4117. ],
  4118. "tags": [
  4119. "通用单据"
  4120. ],
  4121. "summary": "委托单查询请求(合约市场)",
  4122. "parameters": [
  4123. {
  4124. "type": "string",
  4125. "description": "资金账户 - 格式:1,2,3",
  4126. "name": "accountID",
  4127. "in": "query",
  4128. "required": true
  4129. },
  4130. {
  4131. "type": "string",
  4132. "description": "交易模式 - 格式:1,2,3",
  4133. "name": "tradeMode",
  4134. "in": "query"
  4135. },
  4136. {
  4137. "type": "string",
  4138. "description": "委托状态 - 格式:1,2,3",
  4139. "name": "orderStatus",
  4140. "in": "query"
  4141. },
  4142. {
  4143. "type": "integer",
  4144. "description": "委托单号",
  4145. "name": "orderID",
  4146. "in": "query"
  4147. }
  4148. ],
  4149. "responses": {
  4150. "200": {
  4151. "description": "OK",
  4152. "schema": {
  4153. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  4154. }
  4155. },
  4156. "500": {
  4157. "description": "Internal Server Error",
  4158. "schema": {
  4159. "$ref": "#/definitions/app.Response"
  4160. }
  4161. }
  4162. }
  4163. }
  4164. },
  4165. "/Order/QueryTradePosition": {
  4166. "get": {
  4167. "security": [
  4168. {
  4169. "ApiKeyAuth": []
  4170. }
  4171. ],
  4172. "produces": [
  4173. "application/json"
  4174. ],
  4175. "tags": [
  4176. "通用单据"
  4177. ],
  4178. "summary": "持仓汇总查询(合约市场)",
  4179. "parameters": [
  4180. {
  4181. "type": "string",
  4182. "description": "资金账户 - 格式:1,2,3",
  4183. "name": "accountID",
  4184. "in": "query",
  4185. "required": true
  4186. },
  4187. {
  4188. "type": "string",
  4189. "description": "交易模式 - 格式:1,2,3",
  4190. "name": "tradeMode",
  4191. "in": "query"
  4192. }
  4193. ],
  4194. "responses": {
  4195. "200": {
  4196. "description": "OK",
  4197. "schema": {
  4198. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4199. }
  4200. },
  4201. "500": {
  4202. "description": "Internal Server Error",
  4203. "schema": {
  4204. "$ref": "#/definitions/app.Response"
  4205. }
  4206. }
  4207. }
  4208. }
  4209. },
  4210. "/Quote/QueryHistoryDatas": {
  4211. "get": {
  4212. "security": [
  4213. {
  4214. "ApiKeyAuth": []
  4215. }
  4216. ],
  4217. "produces": [
  4218. "application/json"
  4219. ],
  4220. "tags": [
  4221. "行情服务"
  4222. ],
  4223. "summary": "查询行情历史数据",
  4224. "parameters": [
  4225. {
  4226. "type": "integer",
  4227. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  4228. "name": "cycleType",
  4229. "in": "query",
  4230. "required": true
  4231. },
  4232. {
  4233. "type": "string",
  4234. "description": "商品代码",
  4235. "name": "goodsCode",
  4236. "in": "query",
  4237. "required": true
  4238. },
  4239. {
  4240. "type": "string",
  4241. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4242. "name": "startTime",
  4243. "in": "query"
  4244. },
  4245. {
  4246. "type": "string",
  4247. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4248. "name": "endTime",
  4249. "in": "query"
  4250. },
  4251. {
  4252. "type": "integer",
  4253. "description": "条数",
  4254. "name": "count",
  4255. "in": "query"
  4256. },
  4257. {
  4258. "type": "boolean",
  4259. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4260. "name": "isAsc",
  4261. "in": "query"
  4262. }
  4263. ],
  4264. "responses": {
  4265. "200": {
  4266. "description": "OK",
  4267. "schema": {
  4268. "$ref": "#/definitions/quote.HistoryData"
  4269. }
  4270. },
  4271. "500": {
  4272. "description": "Internal Server Error",
  4273. "schema": {
  4274. "$ref": "#/definitions/app.Response"
  4275. }
  4276. }
  4277. }
  4278. }
  4279. },
  4280. "/Quote/QueryTSData": {
  4281. "get": {
  4282. "produces": [
  4283. "application/json"
  4284. ],
  4285. "tags": [
  4286. "行情服务"
  4287. ],
  4288. "summary": "分时图数据查询",
  4289. "parameters": [
  4290. {
  4291. "type": "string",
  4292. "description": "商品代码",
  4293. "name": "GoodsCode",
  4294. "in": "query",
  4295. "required": true
  4296. }
  4297. ],
  4298. "responses": {
  4299. "200": {
  4300. "description": "OK",
  4301. "schema": {
  4302. "$ref": "#/definitions/quote.QueryTSDataRsp"
  4303. }
  4304. },
  4305. "500": {
  4306. "description": "Internal Server Error",
  4307. "schema": {
  4308. "$ref": "#/definitions/app.Response"
  4309. }
  4310. }
  4311. }
  4312. }
  4313. },
  4314. "/SZDZ/QueryConvertConfig": {
  4315. "get": {
  4316. "security": [
  4317. {
  4318. "ApiKeyAuth": []
  4319. }
  4320. ],
  4321. "produces": [
  4322. "application/json"
  4323. ],
  4324. "tags": [
  4325. "定制【尚志大宗】"
  4326. ],
  4327. "summary": "查询交易系统转换设置",
  4328. "parameters": [
  4329. {
  4330. "type": "integer",
  4331. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  4332. "name": "convertType",
  4333. "in": "query"
  4334. },
  4335. {
  4336. "type": "string",
  4337. "description": "外部商品代码[JD\\PD]",
  4338. "name": "outerGoodsCode",
  4339. "in": "query"
  4340. },
  4341. {
  4342. "type": "string",
  4343. "description": "内部商品ID列表[交易],格式:1,2,3",
  4344. "name": "innerGoodsIDs",
  4345. "in": "query"
  4346. }
  4347. ],
  4348. "responses": {
  4349. "200": {
  4350. "description": "OK",
  4351. "schema": {
  4352. "$ref": "#/definitions/models.Szdz3convertconfig"
  4353. }
  4354. },
  4355. "500": {
  4356. "description": "Internal Server Error",
  4357. "schema": {
  4358. "$ref": "#/definitions/app.Response"
  4359. }
  4360. }
  4361. }
  4362. }
  4363. },
  4364. "/SZDZ/QueryConvertLog": {
  4365. "get": {
  4366. "security": [
  4367. {
  4368. "ApiKeyAuth": []
  4369. }
  4370. ],
  4371. "produces": [
  4372. "application/json"
  4373. ],
  4374. "tags": [
  4375. "定制【尚志大宗】"
  4376. ],
  4377. "summary": "交易系统转换流水查询",
  4378. "parameters": [
  4379. {
  4380. "type": "string",
  4381. "description": "资金账户 - 格式:1,2,3",
  4382. "name": "accountID",
  4383. "in": "query",
  4384. "required": true
  4385. },
  4386. {
  4387. "type": "string",
  4388. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4389. "name": "startDate",
  4390. "in": "query"
  4391. },
  4392. {
  4393. "type": "string",
  4394. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4395. "name": "endDate",
  4396. "in": "query"
  4397. }
  4398. ],
  4399. "responses": {
  4400. "200": {
  4401. "description": "OK",
  4402. "schema": {
  4403. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  4404. }
  4405. },
  4406. "500": {
  4407. "description": "Internal Server Error",
  4408. "schema": {
  4409. "$ref": "#/definitions/app.Response"
  4410. }
  4411. }
  4412. }
  4413. }
  4414. },
  4415. "/SZDZ/QueryGoodsPickup": {
  4416. "get": {
  4417. "security": [
  4418. {
  4419. "ApiKeyAuth": []
  4420. }
  4421. ],
  4422. "produces": [
  4423. "application/json"
  4424. ],
  4425. "tags": [
  4426. "定制【尚志大宗】"
  4427. ],
  4428. "summary": "商品提货单查询",
  4429. "parameters": [
  4430. {
  4431. "type": "string",
  4432. "description": "资金账户 - 格式:1,2,3",
  4433. "name": "accountID",
  4434. "in": "query",
  4435. "required": true
  4436. },
  4437. {
  4438. "type": "integer",
  4439. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4440. "name": "takeOrderStatus",
  4441. "in": "query"
  4442. }
  4443. ],
  4444. "responses": {
  4445. "200": {
  4446. "description": "OK",
  4447. "schema": {
  4448. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  4449. }
  4450. },
  4451. "500": {
  4452. "description": "Internal Server Error",
  4453. "schema": {
  4454. "$ref": "#/definitions/app.Response"
  4455. }
  4456. }
  4457. }
  4458. }
  4459. },
  4460. "/SZDZ/QueryRecieptOrder": {
  4461. "get": {
  4462. "security": [
  4463. {
  4464. "ApiKeyAuth": []
  4465. }
  4466. ],
  4467. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4468. "produces": [
  4469. "application/json"
  4470. ],
  4471. "tags": [
  4472. "定制【尚志大宗】"
  4473. ],
  4474. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  4475. "parameters": [
  4476. {
  4477. "type": "integer",
  4478. "description": "页码",
  4479. "name": "page",
  4480. "in": "query"
  4481. },
  4482. {
  4483. "type": "integer",
  4484. "description": "每页条数",
  4485. "name": "pagesize",
  4486. "in": "query"
  4487. },
  4488. {
  4489. "type": "integer",
  4490. "description": "商品ID",
  4491. "name": "goodsID",
  4492. "in": "query",
  4493. "required": true
  4494. },
  4495. {
  4496. "type": "string",
  4497. "description": "所属账户名称",
  4498. "name": "accountName",
  4499. "in": "query"
  4500. },
  4501. {
  4502. "type": "integer",
  4503. "description": "市场ID",
  4504. "name": "marketID",
  4505. "in": "query"
  4506. },
  4507. {
  4508. "type": "integer",
  4509. "description": "方向 - 0:买 1:卖",
  4510. "name": "buyorsell",
  4511. "in": "query",
  4512. "required": true
  4513. }
  4514. ],
  4515. "responses": {
  4516. "200": {
  4517. "description": "OK",
  4518. "schema": {
  4519. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  4520. }
  4521. },
  4522. "500": {
  4523. "description": "Internal Server Error",
  4524. "schema": {
  4525. "$ref": "#/definitions/app.Response"
  4526. }
  4527. }
  4528. }
  4529. }
  4530. },
  4531. "/SZDZ/QuerySZDZTradePosition": {
  4532. "get": {
  4533. "security": [
  4534. {
  4535. "ApiKeyAuth": []
  4536. }
  4537. ],
  4538. "produces": [
  4539. "application/json"
  4540. ],
  4541. "tags": [
  4542. "定制【尚志大宗】"
  4543. ],
  4544. "summary": "持仓汇总查询(尚志大宗)",
  4545. "parameters": [
  4546. {
  4547. "type": "integer",
  4548. "description": "资金账户",
  4549. "name": "accountID",
  4550. "in": "query",
  4551. "required": true
  4552. }
  4553. ],
  4554. "responses": {
  4555. "200": {
  4556. "description": "OK",
  4557. "schema": {
  4558. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  4559. }
  4560. },
  4561. "500": {
  4562. "description": "Internal Server Error",
  4563. "schema": {
  4564. "$ref": "#/definitions/app.Response"
  4565. }
  4566. }
  4567. }
  4568. }
  4569. },
  4570. "/SZDZ/SearchWhite": {
  4571. "get": {
  4572. "security": [
  4573. {
  4574. "ApiKeyAuth": []
  4575. }
  4576. ],
  4577. "produces": [
  4578. "application/json"
  4579. ],
  4580. "tags": [
  4581. "定制【尚志大宗】"
  4582. ],
  4583. "summary": "搜索白名单",
  4584. "parameters": [
  4585. {
  4586. "type": "integer",
  4587. "description": "用户ID",
  4588. "name": "userID",
  4589. "in": "query",
  4590. "required": true
  4591. }
  4592. ],
  4593. "responses": {
  4594. "200": {
  4595. "description": "OK",
  4596. "schema": {
  4597. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  4598. }
  4599. },
  4600. "500": {
  4601. "description": "Internal Server Error",
  4602. "schema": {
  4603. "$ref": "#/definitions/app.Response"
  4604. }
  4605. }
  4606. }
  4607. }
  4608. },
  4609. "/Search/SearchGoodses": {
  4610. "get": {
  4611. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  4612. "produces": [
  4613. "application/json"
  4614. ],
  4615. "tags": [
  4616. "检索服务"
  4617. ],
  4618. "summary": "检索商品信息",
  4619. "parameters": [
  4620. {
  4621. "type": "string",
  4622. "description": "检索内容",
  4623. "name": "content",
  4624. "in": "query",
  4625. "required": true
  4626. },
  4627. {
  4628. "type": "string",
  4629. "description": "交易模式,格式:1,2,3",
  4630. "name": "tradeModes",
  4631. "in": "query"
  4632. }
  4633. ],
  4634. "responses": {
  4635. "200": {
  4636. "description": "OK",
  4637. "schema": {
  4638. "$ref": "#/definitions/models.SearchGoods"
  4639. }
  4640. },
  4641. "500": {
  4642. "description": "Internal Server Error",
  4643. "schema": {
  4644. "$ref": "#/definitions/app.Response"
  4645. }
  4646. }
  4647. }
  4648. }
  4649. },
  4650. "/TaAccount/QueryAmountLog": {
  4651. "get": {
  4652. "security": [
  4653. {
  4654. "ApiKeyAuth": []
  4655. }
  4656. ],
  4657. "produces": [
  4658. "application/json"
  4659. ],
  4660. "tags": [
  4661. "资金账户"
  4662. ],
  4663. "summary": "资金流水查询(当前)",
  4664. "parameters": [
  4665. {
  4666. "type": "integer",
  4667. "description": "页码",
  4668. "name": "page",
  4669. "in": "query"
  4670. },
  4671. {
  4672. "type": "integer",
  4673. "description": "每页条数",
  4674. "name": "pagesize",
  4675. "in": "query"
  4676. },
  4677. {
  4678. "type": "string",
  4679. "description": "资金账户 - 格式:1,2,3",
  4680. "name": "accountID",
  4681. "in": "query",
  4682. "required": true
  4683. },
  4684. {
  4685. "type": "string",
  4686. "description": "资金操作类型 - 格式:1,2,3",
  4687. "name": "OperateType",
  4688. "in": "query"
  4689. }
  4690. ],
  4691. "responses": {
  4692. "200": {
  4693. "description": "OK",
  4694. "schema": {
  4695. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  4696. }
  4697. },
  4698. "500": {
  4699. "description": "Internal Server Error",
  4700. "schema": {
  4701. "$ref": "#/definitions/app.Response"
  4702. }
  4703. }
  4704. }
  4705. }
  4706. },
  4707. "/TaAccount/QueryHisAmountLog": {
  4708. "get": {
  4709. "security": [
  4710. {
  4711. "ApiKeyAuth": []
  4712. }
  4713. ],
  4714. "produces": [
  4715. "application/json"
  4716. ],
  4717. "tags": [
  4718. "资金账户"
  4719. ],
  4720. "summary": "资金流水查询(历史)",
  4721. "parameters": [
  4722. {
  4723. "type": "integer",
  4724. "description": "页码",
  4725. "name": "page",
  4726. "in": "query"
  4727. },
  4728. {
  4729. "type": "integer",
  4730. "description": "每页条数",
  4731. "name": "pagesize",
  4732. "in": "query"
  4733. },
  4734. {
  4735. "type": "string",
  4736. "description": "资金账户 - 格式:1,2,3",
  4737. "name": "accountID",
  4738. "in": "query",
  4739. "required": true
  4740. },
  4741. {
  4742. "type": "string",
  4743. "description": "资金操作类型 - 格式:1,2,3",
  4744. "name": "OperateType",
  4745. "in": "query"
  4746. },
  4747. {
  4748. "type": "string",
  4749. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4750. "name": "startDate",
  4751. "in": "query"
  4752. },
  4753. {
  4754. "type": "string",
  4755. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4756. "name": "endDate",
  4757. "in": "query"
  4758. }
  4759. ],
  4760. "responses": {
  4761. "200": {
  4762. "description": "OK",
  4763. "schema": {
  4764. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  4765. }
  4766. },
  4767. "500": {
  4768. "description": "Internal Server Error",
  4769. "schema": {
  4770. "$ref": "#/definitions/app.Response"
  4771. }
  4772. }
  4773. }
  4774. }
  4775. },
  4776. "/Trade/QueryRecieptOrder": {
  4777. "get": {
  4778. "security": [
  4779. {
  4780. "ApiKeyAuth": []
  4781. }
  4782. ],
  4783. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4784. "produces": [
  4785. "application/json"
  4786. ],
  4787. "tags": [
  4788. "通用交易"
  4789. ],
  4790. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  4791. "parameters": [
  4792. {
  4793. "type": "integer",
  4794. "description": "页码",
  4795. "name": "page",
  4796. "in": "query"
  4797. },
  4798. {
  4799. "type": "integer",
  4800. "description": "每页条数",
  4801. "name": "pagesize",
  4802. "in": "query"
  4803. },
  4804. {
  4805. "type": "integer",
  4806. "description": "商品ID",
  4807. "name": "goodsID",
  4808. "in": "query",
  4809. "required": true
  4810. },
  4811. {
  4812. "type": "string",
  4813. "description": "所属账户名称",
  4814. "name": "accountName",
  4815. "in": "query"
  4816. },
  4817. {
  4818. "type": "integer",
  4819. "description": "市场ID",
  4820. "name": "marketID",
  4821. "in": "query"
  4822. },
  4823. {
  4824. "type": "integer",
  4825. "description": "方向 - 0:买 1:卖",
  4826. "name": "buyorsell",
  4827. "in": "query",
  4828. "required": true
  4829. }
  4830. ],
  4831. "responses": {
  4832. "200": {
  4833. "description": "OK",
  4834. "schema": {
  4835. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  4836. }
  4837. },
  4838. "500": {
  4839. "description": "Internal Server Error",
  4840. "schema": {
  4841. "$ref": "#/definitions/app.Response"
  4842. }
  4843. }
  4844. }
  4845. }
  4846. },
  4847. "/User/AddMessageBoard": {
  4848. "post": {
  4849. "security": [
  4850. {
  4851. "ApiKeyAuth": []
  4852. }
  4853. ],
  4854. "produces": [
  4855. "application/json"
  4856. ],
  4857. "tags": [
  4858. "用户信息"
  4859. ],
  4860. "summary": "添加用户留言板信息",
  4861. "parameters": [
  4862. {
  4863. "type": "integer",
  4864. "description": "用户ID",
  4865. "name": "userID",
  4866. "in": "query",
  4867. "required": true
  4868. },
  4869. {
  4870. "type": "string",
  4871. "description": "留言信息",
  4872. "name": "message",
  4873. "in": "query",
  4874. "required": true
  4875. }
  4876. ],
  4877. "responses": {
  4878. "200": {
  4879. "description": "OK",
  4880. "schema": {
  4881. "$ref": "#/definitions/app.Response"
  4882. }
  4883. },
  4884. "500": {
  4885. "description": "Internal Server Error",
  4886. "schema": {
  4887. "$ref": "#/definitions/app.Response"
  4888. }
  4889. }
  4890. }
  4891. }
  4892. },
  4893. "/User/AddUserFavoriteGoods": {
  4894. "post": {
  4895. "security": [
  4896. {
  4897. "ApiKeyAuth": []
  4898. }
  4899. ],
  4900. "produces": [
  4901. "application/json"
  4902. ],
  4903. "tags": [
  4904. "用户信息"
  4905. ],
  4906. "summary": "添加用户商品收藏信息",
  4907. "parameters": [
  4908. {
  4909. "type": "integer",
  4910. "description": "用户ID",
  4911. "name": "userID",
  4912. "in": "query",
  4913. "required": true
  4914. },
  4915. {
  4916. "type": "integer",
  4917. "description": "商品ID",
  4918. "name": "goodsID",
  4919. "in": "query",
  4920. "required": true
  4921. }
  4922. ],
  4923. "responses": {
  4924. "200": {
  4925. "description": "OK",
  4926. "schema": {
  4927. "$ref": "#/definitions/app.Response"
  4928. }
  4929. },
  4930. "500": {
  4931. "description": "Internal Server Error",
  4932. "schema": {
  4933. "$ref": "#/definitions/app.Response"
  4934. }
  4935. }
  4936. }
  4937. }
  4938. },
  4939. "/User/GetLoginID": {
  4940. "get": {
  4941. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  4942. "produces": [
  4943. "application/json"
  4944. ],
  4945. "tags": [
  4946. "用户信息"
  4947. ],
  4948. "summary": "获取登录ID",
  4949. "parameters": [
  4950. {
  4951. "type": "string",
  4952. "description": "登录代码",
  4953. "name": "username",
  4954. "in": "query",
  4955. "required": true
  4956. }
  4957. ],
  4958. "responses": {
  4959. "200": {
  4960. "description": "OK",
  4961. "schema": {
  4962. "$ref": "#/definitions/app.Response"
  4963. }
  4964. },
  4965. "500": {
  4966. "description": "Internal Server Error",
  4967. "schema": {
  4968. "$ref": "#/definitions/app.Response"
  4969. }
  4970. }
  4971. }
  4972. }
  4973. },
  4974. "/User/GetUserAccount": {
  4975. "get": {
  4976. "security": [
  4977. {
  4978. "ApiKeyAuth": []
  4979. }
  4980. ],
  4981. "produces": [
  4982. "application/json"
  4983. ],
  4984. "tags": [
  4985. "用户信息"
  4986. ],
  4987. "summary": "获取用户账号信息",
  4988. "parameters": [
  4989. {
  4990. "type": "integer",
  4991. "description": "用户ID",
  4992. "name": "userID",
  4993. "in": "query",
  4994. "required": true
  4995. }
  4996. ],
  4997. "responses": {
  4998. "200": {
  4999. "description": "OK",
  5000. "schema": {
  5001. "$ref": "#/definitions/models.Useraccount"
  5002. }
  5003. },
  5004. "500": {
  5005. "description": "Internal Server Error",
  5006. "schema": {
  5007. "$ref": "#/definitions/app.Response"
  5008. }
  5009. }
  5010. }
  5011. }
  5012. },
  5013. "/User/GetUserAuthStatus": {
  5014. "get": {
  5015. "security": [
  5016. {
  5017. "ApiKeyAuth": []
  5018. }
  5019. ],
  5020. "produces": [
  5021. "application/json"
  5022. ],
  5023. "tags": [
  5024. "用户信息"
  5025. ],
  5026. "summary": "获取用户实名认证状态",
  5027. "parameters": [
  5028. {
  5029. "type": "integer",
  5030. "description": "用户ID",
  5031. "name": "userID",
  5032. "in": "query",
  5033. "required": true
  5034. }
  5035. ],
  5036. "responses": {
  5037. "200": {
  5038. "description": "OK",
  5039. "schema": {
  5040. "$ref": "#/definitions/app.Response"
  5041. }
  5042. },
  5043. "500": {
  5044. "description": "Internal Server Error",
  5045. "schema": {
  5046. "$ref": "#/definitions/app.Response"
  5047. }
  5048. }
  5049. }
  5050. }
  5051. },
  5052. "/User/QueryMessageBoard": {
  5053. "get": {
  5054. "security": [
  5055. {
  5056. "ApiKeyAuth": []
  5057. }
  5058. ],
  5059. "produces": [
  5060. "application/json"
  5061. ],
  5062. "tags": [
  5063. "用户信息"
  5064. ],
  5065. "summary": "获取用户留言板信息",
  5066. "parameters": [
  5067. {
  5068. "type": "integer",
  5069. "description": "用户ID",
  5070. "name": "userID",
  5071. "in": "query",
  5072. "required": true
  5073. }
  5074. ],
  5075. "responses": {
  5076. "200": {
  5077. "description": "OK",
  5078. "schema": {
  5079. "$ref": "#/definitions/models.Messageboard"
  5080. }
  5081. },
  5082. "500": {
  5083. "description": "Internal Server Error",
  5084. "schema": {
  5085. "$ref": "#/definitions/app.Response"
  5086. }
  5087. }
  5088. }
  5089. }
  5090. },
  5091. "/User/QueryUserFavoriteGoodses": {
  5092. "get": {
  5093. "security": [
  5094. {
  5095. "ApiKeyAuth": []
  5096. }
  5097. ],
  5098. "produces": [
  5099. "application/json"
  5100. ],
  5101. "tags": [
  5102. "用户信息"
  5103. ],
  5104. "summary": "获取用户商品收藏信息",
  5105. "parameters": [
  5106. {
  5107. "type": "integer",
  5108. "description": "用户ID",
  5109. "name": "userID",
  5110. "in": "query",
  5111. "required": true
  5112. }
  5113. ],
  5114. "responses": {
  5115. "200": {
  5116. "description": "OK",
  5117. "schema": {
  5118. "$ref": "#/definitions/models.Userfavoritegoods"
  5119. }
  5120. },
  5121. "500": {
  5122. "description": "Internal Server Error",
  5123. "schema": {
  5124. "$ref": "#/definitions/app.Response"
  5125. }
  5126. }
  5127. }
  5128. }
  5129. },
  5130. "/User/QueryUserInfo": {
  5131. "get": {
  5132. "security": [
  5133. {
  5134. "ApiKeyAuth": []
  5135. }
  5136. ],
  5137. "produces": [
  5138. "application/json"
  5139. ],
  5140. "tags": [
  5141. "用户信息"
  5142. ],
  5143. "summary": "获取用户信息",
  5144. "parameters": [
  5145. {
  5146. "type": "integer",
  5147. "description": "用户ID",
  5148. "name": "userID",
  5149. "in": "query",
  5150. "required": true
  5151. }
  5152. ],
  5153. "responses": {
  5154. "200": {
  5155. "description": "OK",
  5156. "schema": {
  5157. "$ref": "#/definitions/models.Userinfo"
  5158. }
  5159. },
  5160. "500": {
  5161. "description": "Internal Server Error",
  5162. "schema": {
  5163. "$ref": "#/definitions/app.Response"
  5164. }
  5165. }
  5166. }
  5167. }
  5168. },
  5169. "/User/QueryUserReferNum": {
  5170. "get": {
  5171. "produces": [
  5172. "application/json"
  5173. ],
  5174. "tags": [
  5175. "用户信息"
  5176. ],
  5177. "summary": "获取用户邀请码",
  5178. "parameters": [
  5179. {
  5180. "type": "integer",
  5181. "description": "用户ID",
  5182. "name": "userID",
  5183. "in": "query",
  5184. "required": true
  5185. }
  5186. ],
  5187. "responses": {
  5188. "200": {
  5189. "description": "OK",
  5190. "schema": {
  5191. "$ref": "#/definitions/app.Response"
  5192. }
  5193. },
  5194. "500": {
  5195. "description": "Internal Server Error",
  5196. "schema": {
  5197. "$ref": "#/definitions/app.Response"
  5198. }
  5199. }
  5200. }
  5201. }
  5202. },
  5203. "/User/RemoveUserFavoriteGoods": {
  5204. "post": {
  5205. "security": [
  5206. {
  5207. "ApiKeyAuth": []
  5208. }
  5209. ],
  5210. "produces": [
  5211. "application/json"
  5212. ],
  5213. "tags": [
  5214. "用户信息"
  5215. ],
  5216. "summary": "移除用户商品收藏信息",
  5217. "parameters": [
  5218. {
  5219. "type": "integer",
  5220. "description": "用户ID",
  5221. "name": "userID",
  5222. "in": "query",
  5223. "required": true
  5224. },
  5225. {
  5226. "type": "integer",
  5227. "description": "商品ID",
  5228. "name": "goodsID",
  5229. "in": "query",
  5230. "required": true
  5231. }
  5232. ],
  5233. "responses": {
  5234. "200": {
  5235. "description": "OK",
  5236. "schema": {
  5237. "$ref": "#/definitions/app.Response"
  5238. }
  5239. },
  5240. "500": {
  5241. "description": "Internal Server Error",
  5242. "schema": {
  5243. "$ref": "#/definitions/app.Response"
  5244. }
  5245. }
  5246. }
  5247. }
  5248. },
  5249. "/User/UpdateUserAccountStatus": {
  5250. "post": {
  5251. "security": [
  5252. {
  5253. "ApiKeyAuth": []
  5254. }
  5255. ],
  5256. "produces": [
  5257. "application/json"
  5258. ],
  5259. "tags": [
  5260. "用户信息"
  5261. ],
  5262. "summary": "更新用户状态",
  5263. "parameters": [
  5264. {
  5265. "type": "integer",
  5266. "description": "用户ID",
  5267. "name": "userID",
  5268. "in": "query",
  5269. "required": true
  5270. },
  5271. {
  5272. "type": "integer",
  5273. "description": "账户状态 - 4:正常 6:注销(停用)",
  5274. "name": "accountStatus",
  5275. "in": "query",
  5276. "required": true
  5277. }
  5278. ],
  5279. "responses": {
  5280. "200": {
  5281. "description": "OK",
  5282. "schema": {
  5283. "$ref": "#/definitions/app.Response"
  5284. }
  5285. },
  5286. "500": {
  5287. "description": "Internal Server Error",
  5288. "schema": {
  5289. "$ref": "#/definitions/app.Response"
  5290. }
  5291. }
  5292. }
  5293. }
  5294. },
  5295. "/WR/GetWRCategoryInfo": {
  5296. "get": {
  5297. "produces": [
  5298. "application/json"
  5299. ],
  5300. "tags": [
  5301. "仓单服务"
  5302. ],
  5303. "summary": "获取现货分类信息",
  5304. "responses": {
  5305. "200": {
  5306. "description": "OK",
  5307. "schema": {
  5308. "$ref": "#/definitions/models.WRCategoryTree"
  5309. }
  5310. },
  5311. "500": {
  5312. "description": "Internal Server Error",
  5313. "schema": {
  5314. "$ref": "#/definitions/app.Response"
  5315. }
  5316. }
  5317. }
  5318. }
  5319. },
  5320. "/WRTrade/GetAllDeliveryGoods": {
  5321. "get": {
  5322. "security": [
  5323. {
  5324. "ApiKeyAuth": []
  5325. },
  5326. {
  5327. "ApiKeyAuth": []
  5328. }
  5329. ],
  5330. "produces": [
  5331. "application/json",
  5332. "application/json"
  5333. ],
  5334. "tags": [
  5335. "仓单贸易",
  5336. "仓单贸易"
  5337. ],
  5338. "summary": "获取带仓单分类的种类信息",
  5339. "responses": {
  5340. "200": {
  5341. "description": "OK",
  5342. "schema": {
  5343. "$ref": "#/definitions/app.Response"
  5344. }
  5345. },
  5346. "500": {
  5347. "description": "Internal Server Error",
  5348. "schema": {
  5349. "$ref": "#/definitions/app.Response"
  5350. }
  5351. }
  5352. }
  5353. }
  5354. }
  5355. },
  5356. "definitions": {
  5357. "app.Response": {
  5358. "type": "object",
  5359. "properties": {
  5360. "code": {
  5361. "type": "integer"
  5362. },
  5363. "data": {
  5364. "type": "object"
  5365. },
  5366. "msg": {
  5367. "type": "string"
  5368. },
  5369. "page": {
  5370. "description": "页码",
  5371. "type": "integer"
  5372. },
  5373. "pagesize": {
  5374. "description": "每页条数",
  5375. "type": "integer"
  5376. },
  5377. "total": {
  5378. "description": "总条数",
  5379. "type": "integer"
  5380. }
  5381. }
  5382. },
  5383. "common.QueryNoticeRsp": {
  5384. "type": "object",
  5385. "required": [
  5386. "autoid"
  5387. ],
  5388. "properties": {
  5389. "auditoruserid": {
  5390. "description": "审核人",
  5391. "type": "integer"
  5392. },
  5393. "auditremark": {
  5394. "description": "审核备注",
  5395. "type": "string"
  5396. },
  5397. "audittime": {
  5398. "description": "审核日期",
  5399. "type": "string"
  5400. },
  5401. "autoid": {
  5402. "description": "自增ID",
  5403. "type": "integer"
  5404. },
  5405. "content": {
  5406. "description": "内容",
  5407. "type": "string"
  5408. },
  5409. "createtime": {
  5410. "description": "创建时间",
  5411. "type": "string"
  5412. },
  5413. "creatorid": {
  5414. "description": "建仓人",
  5415. "type": "integer"
  5416. },
  5417. "endtime": {
  5418. "description": "结束时间",
  5419. "type": "string"
  5420. },
  5421. "istop": {
  5422. "description": "是否置顶 - 0:不置顶 1:置顶",
  5423. "type": "integer"
  5424. },
  5425. "msgiconurl": {
  5426. "description": "消息图标Url",
  5427. "type": "string"
  5428. },
  5429. "msgtype": {
  5430. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  5431. "type": "integer"
  5432. },
  5433. "publisher": {
  5434. "description": "消息发布者",
  5435. "type": "string"
  5436. },
  5437. "readed": {
  5438. "description": "是否已读",
  5439. "type": "boolean"
  5440. },
  5441. "scheduletime": {
  5442. "description": "计划发送时间",
  5443. "type": "string"
  5444. },
  5445. "sendtype": {
  5446. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  5447. "type": "integer"
  5448. },
  5449. "sentstatus": {
  5450. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  5451. "type": "integer"
  5452. },
  5453. "title": {
  5454. "description": "标题",
  5455. "type": "string"
  5456. },
  5457. "userid": {
  5458. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  5459. "type": "integer"
  5460. }
  5461. }
  5462. },
  5463. "common.QueryProvincesAndCitiesRsp": {
  5464. "type": "object",
  5465. "properties": {
  5466. "cities": {
  5467. "description": "市",
  5468. "type": "array",
  5469. "items": {
  5470. "$ref": "#/definitions/models.Division"
  5471. }
  5472. },
  5473. "province": {
  5474. "description": "省",
  5475. "type": "object",
  5476. "$ref": "#/definitions/models.Division"
  5477. }
  5478. }
  5479. },
  5480. "common.QueryTableDefineRsp": {
  5481. "type": "object",
  5482. "required": [
  5483. "tablekey"
  5484. ],
  5485. "properties": {
  5486. "columns": {
  5487. "description": "列头信息数组",
  5488. "type": "array",
  5489. "items": {
  5490. "$ref": "#/definitions/models.Tablecolumnconfig"
  5491. }
  5492. },
  5493. "remark": {
  5494. "description": "Remark",
  5495. "type": "string"
  5496. },
  5497. "tabelmenu": {
  5498. "description": "列表菜单",
  5499. "type": "string"
  5500. },
  5501. "tablekey": {
  5502. "description": "列表Key",
  5503. "type": "string"
  5504. },
  5505. "tablename": {
  5506. "description": "列表名称",
  5507. "type": "string"
  5508. },
  5509. "tabletype": {
  5510. "description": "列表类型 - 1:管理端 2:终端",
  5511. "type": "integer"
  5512. }
  5513. }
  5514. },
  5515. "common.QueryTraderMenuRsp": {
  5516. "type": "object",
  5517. "properties": {
  5518. "OperationMenu": {
  5519. "description": "功能菜单",
  5520. "type": "array",
  5521. "items": {
  5522. "$ref": "#/definitions/models.OperationPrimaryMenu"
  5523. }
  5524. },
  5525. "QuoteMenu": {
  5526. "description": "报价牌分类菜单",
  5527. "type": "array",
  5528. "items": {
  5529. "$ref": "#/definitions/models.QuotePrimaryMenu"
  5530. }
  5531. }
  5532. }
  5533. },
  5534. "cptrade.Cptradepositioncancel": {
  5535. "type": "object",
  5536. "required": [
  5537. "cancelid"
  5538. ],
  5539. "properties": {
  5540. "accountid": {
  5541. "description": "申请人账户ID",
  5542. "type": "integer"
  5543. },
  5544. "applystatus": {
  5545. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5546. "type": "integer"
  5547. },
  5548. "applytime": {
  5549. "description": "申请时间",
  5550. "type": "string"
  5551. },
  5552. "cancelid": {
  5553. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  5554. "type": "integer"
  5555. },
  5556. "cancelqty": {
  5557. "description": "注销数量",
  5558. "type": "integer"
  5559. },
  5560. "createtime": {
  5561. "description": "创建时间",
  5562. "type": "string"
  5563. },
  5564. "creatorid": {
  5565. "description": "创建人ID",
  5566. "type": "integer"
  5567. },
  5568. "creatorname": {
  5569. "description": "创建人",
  5570. "type": "string"
  5571. },
  5572. "goodscode": {
  5573. "description": "订单商品代码",
  5574. "type": "string"
  5575. },
  5576. "goodsid": {
  5577. "description": "商品ID",
  5578. "type": "integer"
  5579. },
  5580. "goodsname": {
  5581. "description": "订单商品名称",
  5582. "type": "string"
  5583. },
  5584. "goodunit": {
  5585. "description": "报价单位",
  5586. "type": "string"
  5587. },
  5588. "handlestatus": {
  5589. "description": "处理状态",
  5590. "type": "integer"
  5591. },
  5592. "marketid": {
  5593. "description": "市场ID",
  5594. "type": "integer"
  5595. },
  5596. "marketname": {
  5597. "description": "市场名称",
  5598. "type": "string"
  5599. },
  5600. "tradedate": {
  5601. "description": "交易日(yyyyMMdd)",
  5602. "type": "string"
  5603. },
  5604. "userid": {
  5605. "description": "申请人ID",
  5606. "type": "integer"
  5607. }
  5608. }
  5609. },
  5610. "cptrade.Cptradepresaleapply": {
  5611. "type": "object",
  5612. "required": [
  5613. "applyid"
  5614. ],
  5615. "properties": {
  5616. "accountid": {
  5617. "description": "申请人账户ID",
  5618. "type": "integer"
  5619. },
  5620. "applyid": {
  5621. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  5622. "type": "integer"
  5623. },
  5624. "applyremark": {
  5625. "description": "申请备注",
  5626. "type": "string"
  5627. },
  5628. "applystatus": {
  5629. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5630. "type": "integer"
  5631. },
  5632. "applytime": {
  5633. "description": "申请时间",
  5634. "type": "string"
  5635. },
  5636. "attachmenturl": {
  5637. "description": "附件地址",
  5638. "type": "string"
  5639. },
  5640. "endtime": {
  5641. "description": "预售结束时间",
  5642. "type": "string"
  5643. },
  5644. "goodscode": {
  5645. "description": "商品代码",
  5646. "type": "string"
  5647. },
  5648. "goodsid": {
  5649. "description": "商品ID",
  5650. "type": "integer"
  5651. },
  5652. "goodsname": {
  5653. "description": "商品名称",
  5654. "type": "string"
  5655. },
  5656. "goodunit": {
  5657. "description": "报价单位",
  5658. "type": "string"
  5659. },
  5660. "handlestatus": {
  5661. "description": "处理状态",
  5662. "type": "integer"
  5663. },
  5664. "marketid": {
  5665. "description": "预售市场ID",
  5666. "type": "integer"
  5667. },
  5668. "marketname": {
  5669. "description": "预售市场名称",
  5670. "type": "string"
  5671. },
  5672. "presaleqty": {
  5673. "description": "预售数量",
  5674. "type": "integer"
  5675. },
  5676. "relatedgoodscode": {
  5677. "description": "关联交易合约代码",
  5678. "type": "string"
  5679. },
  5680. "relatedgoodsid": {
  5681. "description": "关联交易合约ID",
  5682. "type": "integer"
  5683. },
  5684. "relatedgoodsname": {
  5685. "description": "关联交易合约名称",
  5686. "type": "string"
  5687. },
  5688. "starttime": {
  5689. "description": "预售开始时间",
  5690. "type": "string"
  5691. },
  5692. "tradedate": {
  5693. "description": "交易日(yyyyMMdd)",
  5694. "type": "string"
  5695. },
  5696. "trademode": {
  5697. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  5698. "type": "integer"
  5699. },
  5700. "userid": {
  5701. "description": "申请人ID",
  5702. "type": "integer"
  5703. }
  5704. }
  5705. },
  5706. "cptrade.Cptradeusergoodsdata": {
  5707. "type": "object",
  5708. "required": [
  5709. "accountid",
  5710. "goodsid"
  5711. ],
  5712. "properties": {
  5713. "EnabledQty": {
  5714. "description": "可用量",
  5715. "type": "integer"
  5716. },
  5717. "GoodsCode": {
  5718. "description": "订单商品代码",
  5719. "type": "string"
  5720. },
  5721. "GoodsName": {
  5722. "description": "订单商品名称",
  5723. "type": "string"
  5724. },
  5725. "WRStandardCode": {
  5726. "description": "仓单标准代码",
  5727. "type": "string"
  5728. },
  5729. "WRStandardName": {
  5730. "description": "仓单标准名称",
  5731. "type": "string"
  5732. },
  5733. "accountid": {
  5734. "description": "账户ID",
  5735. "type": "integer"
  5736. },
  5737. "cancelqty": {
  5738. "description": "注销量",
  5739. "type": "integer"
  5740. },
  5741. "curpresaleqty": {
  5742. "description": "当前预售量",
  5743. "type": "integer"
  5744. },
  5745. "deliveryqty": {
  5746. "description": "交割量",
  5747. "type": "integer"
  5748. },
  5749. "freezeamount": {
  5750. "description": "冻结金额",
  5751. "type": "number"
  5752. },
  5753. "goodsid": {
  5754. "description": "商品ID",
  5755. "type": "integer"
  5756. },
  5757. "goodunit": {
  5758. "description": "报价单位",
  5759. "type": "string"
  5760. },
  5761. "hasspotfreeze": {
  5762. "description": "是否有现货冻结 - 0:否 1:有",
  5763. "type": "integer"
  5764. },
  5765. "inqty": {
  5766. "description": "转入量(总数量)",
  5767. "type": "integer"
  5768. },
  5769. "marketid": {
  5770. "description": "市场ID",
  5771. "type": "integer"
  5772. },
  5773. "presaledamount": {
  5774. "description": "已预售总金额",
  5775. "type": "integer"
  5776. },
  5777. "presaledqty": {
  5778. "description": "已预售量",
  5779. "type": "integer"
  5780. },
  5781. "userid": {
  5782. "description": "用户ID",
  5783. "type": "integer"
  5784. },
  5785. "wrstandardid": {
  5786. "description": "仓单标准ID",
  5787. "type": "integer"
  5788. }
  5789. }
  5790. },
  5791. "cptrade.QueryCPTradeMyBidRsp": {
  5792. "type": "object",
  5793. "required": [
  5794. "accountid",
  5795. "goodsid",
  5796. "marketid",
  5797. "orderid",
  5798. "orderqty",
  5799. "ordertime",
  5800. "tradeprice",
  5801. "tradeqty"
  5802. ],
  5803. "properties": {
  5804. "accountid": {
  5805. "description": "账户ID[报价币种]",
  5806. "type": "integer"
  5807. },
  5808. "goodsid": {
  5809. "description": "商品ID",
  5810. "type": "integer"
  5811. },
  5812. "goodunit": {
  5813. "description": "报价单位",
  5814. "type": "string"
  5815. },
  5816. "marketid": {
  5817. "description": "市场ID",
  5818. "type": "integer"
  5819. },
  5820. "orderid": {
  5821. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5822. "type": "integer"
  5823. },
  5824. "orderprice": {
  5825. "description": "委托价格",
  5826. "type": "number"
  5827. },
  5828. "orderqty": {
  5829. "description": "委托数量",
  5830. "type": "integer"
  5831. },
  5832. "ordertime": {
  5833. "description": "委托时间",
  5834. "type": "string"
  5835. },
  5836. "ordertotalprice": {
  5837. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  5838. "type": "number"
  5839. },
  5840. "ordertotalweight": {
  5841. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  5842. "type": "integer"
  5843. },
  5844. "totaltotalprice": {
  5845. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  5846. "type": "number"
  5847. },
  5848. "tradeprice": {
  5849. "description": "成交价格",
  5850. "type": "number"
  5851. },
  5852. "tradeqty": {
  5853. "description": "成交数量",
  5854. "type": "integer"
  5855. }
  5856. }
  5857. },
  5858. "cptrade.QueryCPTradeOrderDetailRsq": {
  5859. "type": "object",
  5860. "required": [
  5861. "accountid",
  5862. "buildtype",
  5863. "buyorsell",
  5864. "goodsid",
  5865. "marketid",
  5866. "memberuserid",
  5867. "operatetype",
  5868. "orderqty",
  5869. "ordertime",
  5870. "pricemode",
  5871. "strorderid",
  5872. "tradedate",
  5873. "validtype"
  5874. ],
  5875. "properties": {
  5876. "accountid": {
  5877. "description": "账户ID[报价币种]",
  5878. "type": "integer"
  5879. },
  5880. "buildtype": {
  5881. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  5882. "type": "integer"
  5883. },
  5884. "buyorsell": {
  5885. "description": "买卖 - 0:买 1:卖",
  5886. "type": "integer"
  5887. },
  5888. "cancelorderid": {
  5889. "description": "撤单单号(撤单时填写)",
  5890. "type": "integer"
  5891. },
  5892. "cancelqty": {
  5893. "description": "撤单数量",
  5894. "type": "integer"
  5895. },
  5896. "clientordertime": {
  5897. "description": "客户端委托时间",
  5898. "type": "string"
  5899. },
  5900. "clientticket": {
  5901. "description": "客户端流水号",
  5902. "type": "string"
  5903. },
  5904. "clienttype": {
  5905. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  5906. "type": "integer"
  5907. },
  5908. "closeexchagechargevalue": {
  5909. "description": "平仓交易所手续费设置值",
  5910. "type": "number"
  5911. },
  5912. "closefeealgorithm": {
  5913. "description": "平仓手续费收取方式 1:比率 2:固定",
  5914. "type": "integer"
  5915. },
  5916. "closefreezecharge": {
  5917. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  5918. "type": "number"
  5919. },
  5920. "closememberchargevalue": {
  5921. "description": "平仓会员手续费设置值",
  5922. "type": "number"
  5923. },
  5924. "closeqty": {
  5925. "description": "平仓数量(先建后平操作 需要记录)",
  5926. "type": "integer"
  5927. },
  5928. "closetradeqty": {
  5929. "description": "平仓成交数量(先建后平操作,需要记录)",
  5930. "type": "integer"
  5931. },
  5932. "closeunfreezecharge": {
  5933. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  5934. "type": "number"
  5935. },
  5936. "delistingtype": {
  5937. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  5938. "type": "integer"
  5939. },
  5940. "freezecharge": {
  5941. "description": "冻结手续费",
  5942. "type": "number"
  5943. },
  5944. "freezemargin": {
  5945. "description": "冻结保证金(冻结交易金额)",
  5946. "type": "number"
  5947. },
  5948. "gcaccountid": {
  5949. "description": "账户ID[合约币种]",
  5950. "type": "integer"
  5951. },
  5952. "goodsid": {
  5953. "description": "商品ID",
  5954. "type": "integer"
  5955. },
  5956. "isconfirmexercise": {
  5957. "description": "是否确认行权- 0:否 1:是",
  5958. "type": "integer"
  5959. },
  5960. "ispreexercise": {
  5961. "description": "是否预申报- 0:否 1:是",
  5962. "type": "integer"
  5963. },
  5964. "listingselecttype": {
  5965. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5966. "type": "integer"
  5967. },
  5968. "marginalgorithm": {
  5969. "description": "保证金收取方式 1:比率 2:固定",
  5970. "type": "integer"
  5971. },
  5972. "marginvalue": {
  5973. "description": "即市保证金设置值",
  5974. "type": "number"
  5975. },
  5976. "marketid": {
  5977. "description": "市场ID",
  5978. "type": "integer"
  5979. },
  5980. "marketmaxsub": {
  5981. "description": "市价最大偏移范围",
  5982. "type": "number"
  5983. },
  5984. "memberuserid": {
  5985. "description": "所属会员UserID",
  5986. "type": "integer"
  5987. },
  5988. "openexchagechargevalue": {
  5989. "description": "建仓交易所手续费设置值",
  5990. "type": "number"
  5991. },
  5992. "openfeealgorithm": {
  5993. "description": "建仓手续费收取方式 1:比率 2:固定",
  5994. "type": "integer"
  5995. },
  5996. "openfreezecharge": {
  5997. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  5998. "type": "number"
  5999. },
  6000. "openmemberchargevalue": {
  6001. "description": "建仓会员手续费设置值",
  6002. "type": "number"
  6003. },
  6004. "openqty": {
  6005. "description": "开仓数量(先建后平操作,需要记录)",
  6006. "type": "integer"
  6007. },
  6008. "opentradeqty": {
  6009. "description": "开仓成交数量(先建后平操作,需要记录)",
  6010. "type": "integer"
  6011. },
  6012. "openunfreezecharge": {
  6013. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  6014. "type": "number"
  6015. },
  6016. "operatetype": {
  6017. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  6018. "type": "integer"
  6019. },
  6020. "operatorid": {
  6021. "description": "登录账号(LoginID)",
  6022. "type": "integer"
  6023. },
  6024. "optiontype": {
  6025. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6026. "type": "integer"
  6027. },
  6028. "orderprice": {
  6029. "description": "委托价格",
  6030. "type": "number"
  6031. },
  6032. "orderqty": {
  6033. "description": "委托数量",
  6034. "type": "integer"
  6035. },
  6036. "ordersrc": {
  6037. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  6038. "type": "integer"
  6039. },
  6040. "orderstatus": {
  6041. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6042. "type": "integer"
  6043. },
  6044. "ordertime": {
  6045. "description": "委托时间",
  6046. "type": "string"
  6047. },
  6048. "preexerciseprice": {
  6049. "description": "预申报价格",
  6050. "type": "number"
  6051. },
  6052. "premium": {
  6053. "description": "权利金",
  6054. "type": "number"
  6055. },
  6056. "preorderid": {
  6057. "description": "关联预埋单号(止盈止损单时填写)",
  6058. "type": "integer"
  6059. },
  6060. "pricemode": {
  6061. "description": "取价方式 - 1:市价 2: 限价",
  6062. "type": "integer"
  6063. },
  6064. "quoteid": {
  6065. "description": "报价单ID",
  6066. "type": "integer"
  6067. },
  6068. "relatedid": {
  6069. "description": "关联单号(交割单)",
  6070. "type": "integer"
  6071. },
  6072. "retcode": {
  6073. "description": "错误代码",
  6074. "type": "integer"
  6075. },
  6076. "sessionid": {
  6077. "description": "会话ID",
  6078. "type": "integer"
  6079. },
  6080. "strorderid": {
  6081. "description": "委托单号",
  6082. "type": "string"
  6083. },
  6084. "tradedate": {
  6085. "description": "交易日(yyyyMMdd)",
  6086. "type": "string"
  6087. },
  6088. "tradeproperty": {
  6089. "description": "交易属性",
  6090. "type": "integer"
  6091. },
  6092. "tradeqty": {
  6093. "description": "成交数量",
  6094. "type": "integer"
  6095. },
  6096. "unfreezecharge": {
  6097. "description": "解冻手续费",
  6098. "type": "number"
  6099. },
  6100. "unfreezemargin": {
  6101. "description": "解冻保证金",
  6102. "type": "number"
  6103. },
  6104. "updatetime": {
  6105. "description": "更新时间",
  6106. "type": "string"
  6107. },
  6108. "uuid": {
  6109. "description": "发起端唯一id",
  6110. "type": "string"
  6111. },
  6112. "validtime": {
  6113. "description": "有效期限",
  6114. "type": "string"
  6115. },
  6116. "validtype": {
  6117. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  6118. "type": "integer"
  6119. },
  6120. "volumetype": {
  6121. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  6122. "type": "integer"
  6123. }
  6124. }
  6125. },
  6126. "cptrade.QueryMyCPTradeGoodsRsp": {
  6127. "type": "object",
  6128. "required": [
  6129. "goodscode",
  6130. "goodsid",
  6131. "goodsname",
  6132. "marketid",
  6133. "relatedgoodscode",
  6134. "relatedgoodsname"
  6135. ],
  6136. "properties": {
  6137. "accountid": {
  6138. "description": "卖方账户ID",
  6139. "type": "integer"
  6140. },
  6141. "agreeunit": {
  6142. "description": "合约单位",
  6143. "type": "number"
  6144. },
  6145. "applyid": {
  6146. "description": "关联申请ID",
  6147. "type": "integer"
  6148. },
  6149. "attachmenturl": {
  6150. "description": "附件地址",
  6151. "type": "string"
  6152. },
  6153. "createtime": {
  6154. "description": "创建时间",
  6155. "type": "string"
  6156. },
  6157. "currencyid": {
  6158. "description": "报价货币ID",
  6159. "type": "integer"
  6160. },
  6161. "decimalplace": {
  6162. "description": "报价小数位",
  6163. "type": "integer"
  6164. },
  6165. "endtime": {
  6166. "description": "预售结束时间",
  6167. "type": "string"
  6168. },
  6169. "floorprice": {
  6170. "description": "底价[大宗式竞拍]",
  6171. "type": "number"
  6172. },
  6173. "goodscode": {
  6174. "description": "商品代码(预售)",
  6175. "type": "string"
  6176. },
  6177. "goodsdetail": {
  6178. "description": "详情[大宗]",
  6179. "type": "string"
  6180. },
  6181. "goodsid": {
  6182. "description": "商品ID(自增ID SEQ_GOODS)",
  6183. "type": "integer"
  6184. },
  6185. "goodsname": {
  6186. "description": "商品名称(预售)",
  6187. "type": "string"
  6188. },
  6189. "goodunit": {
  6190. "description": "报价单位",
  6191. "type": "string"
  6192. },
  6193. "goodunitid": {
  6194. "description": "报价单位ID",
  6195. "type": "integer"
  6196. },
  6197. "marketid": {
  6198. "description": "所属市场ID",
  6199. "type": "integer"
  6200. },
  6201. "marketname": {
  6202. "description": "预售市场名称",
  6203. "type": "string"
  6204. },
  6205. "presaledamount": {
  6206. "description": "已预售总金额(预售结束时更新)",
  6207. "type": "number"
  6208. },
  6209. "presaledqty": {
  6210. "description": "已预售量(预售结束时更新)",
  6211. "type": "integer"
  6212. },
  6213. "presalemode": {
  6214. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6215. "type": "integer"
  6216. },
  6217. "presaleqty": {
  6218. "description": "预售数量",
  6219. "type": "integer"
  6220. },
  6221. "refprice": {
  6222. "description": "参考价格[一口价]",
  6223. "type": "number"
  6224. },
  6225. "relatedgoodscode": {
  6226. "description": "商品代码(订单)",
  6227. "type": "string"
  6228. },
  6229. "relatedgoodsid": {
  6230. "description": "关联交易合约ID",
  6231. "type": "integer"
  6232. },
  6233. "relatedgoodsname": {
  6234. "description": "商品名称(订单)",
  6235. "type": "string"
  6236. },
  6237. "relatedmarketid": {
  6238. "description": "关联交易合约市场ID",
  6239. "type": "integer"
  6240. },
  6241. "sellstatus": {
  6242. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6243. "type": "integer"
  6244. },
  6245. "startprice": {
  6246. "description": "起拍价[大宗式竞拍]",
  6247. "type": "number"
  6248. },
  6249. "starttime": {
  6250. "description": "预售开始时间",
  6251. "type": "string"
  6252. },
  6253. "tradedate": {
  6254. "description": "交易日(yyyyMMdd)",
  6255. "type": "string"
  6256. },
  6257. "tradeprice": {
  6258. "description": "成交价[大宗]",
  6259. "type": "number"
  6260. },
  6261. "userid": {
  6262. "description": "卖方用户ID",
  6263. "type": "integer"
  6264. }
  6265. }
  6266. },
  6267. "cptrade.QueryPresaleGoodsExRsp": {
  6268. "type": "object",
  6269. "required": [
  6270. "goodsid"
  6271. ],
  6272. "properties": {
  6273. "attachmenturl": {
  6274. "description": "附件地址",
  6275. "type": "string"
  6276. },
  6277. "createtime": {
  6278. "description": "创建时间",
  6279. "type": "string"
  6280. },
  6281. "endtime": {
  6282. "description": "预售结束时间",
  6283. "type": "string"
  6284. },
  6285. "floorprice": {
  6286. "description": "底价[大宗式竞拍]",
  6287. "type": "number"
  6288. },
  6289. "goodsdetail": {
  6290. "description": "详情[大宗]",
  6291. "type": "string"
  6292. },
  6293. "goodsid": {
  6294. "description": "商品ID(预售)",
  6295. "type": "integer"
  6296. },
  6297. "goodunit": {
  6298. "description": "报价单位",
  6299. "type": "string"
  6300. },
  6301. "marketid": {
  6302. "description": "预售市场ID - 根据预售模式选择市场",
  6303. "type": "integer"
  6304. },
  6305. "presaledamount": {
  6306. "description": "已预售总金额(预售结束时更新)",
  6307. "type": "number"
  6308. },
  6309. "presaledqty": {
  6310. "description": "已预售量(预售结束时更新)",
  6311. "type": "integer"
  6312. },
  6313. "presalemode": {
  6314. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6315. "type": "integer"
  6316. },
  6317. "presaleqty": {
  6318. "description": "预售数量",
  6319. "type": "integer"
  6320. },
  6321. "refprice": {
  6322. "description": "参考价格[一口价]",
  6323. "type": "number"
  6324. },
  6325. "relatedgoodsid": {
  6326. "description": "关联交易合约ID",
  6327. "type": "integer"
  6328. },
  6329. "relatedmarketid": {
  6330. "description": "关联交易合约市场ID",
  6331. "type": "integer"
  6332. },
  6333. "sellstatus": {
  6334. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6335. "type": "integer"
  6336. },
  6337. "startprice": {
  6338. "description": "起拍价[大宗式竞拍]",
  6339. "type": "number"
  6340. },
  6341. "starttime": {
  6342. "description": "预售开始时间",
  6343. "type": "string"
  6344. },
  6345. "tradedate": {
  6346. "description": "交易日(yyyyMMdd)",
  6347. "type": "string"
  6348. },
  6349. "tradeprice": {
  6350. "description": "成交价[大宗]",
  6351. "type": "number"
  6352. }
  6353. }
  6354. },
  6355. "delivery.QueryDeliveryRelationRsp": {
  6356. "type": "object",
  6357. "required": [
  6358. "begindate",
  6359. "enddate",
  6360. "goodsid",
  6361. "mindeliveryqty",
  6362. "xdeliveryratio"
  6363. ],
  6364. "properties": {
  6365. "begindate": {
  6366. "description": "起始日期(yyyyMMdd)",
  6367. "type": "string"
  6368. },
  6369. "buytemplateid": {
  6370. "description": "买履约计划模板ID",
  6371. "type": "integer"
  6372. },
  6373. "deliverygoodscode": {
  6374. "description": "品种代码",
  6375. "type": "string"
  6376. },
  6377. "deliverygoodsid": {
  6378. "description": "交割商品",
  6379. "type": "integer"
  6380. },
  6381. "deliverygoodsname": {
  6382. "description": "品种名称",
  6383. "type": "string"
  6384. },
  6385. "deliverymode": {
  6386. "description": "交割方式 - 1:点选式 2:申报式",
  6387. "type": "integer"
  6388. },
  6389. "deliverypricerule": {
  6390. "description": "交割价规则- 1:行情价 2:建仓价",
  6391. "type": "integer"
  6392. },
  6393. "deliverytype": {
  6394. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  6395. "type": "integer"
  6396. },
  6397. "enddate": {
  6398. "description": "结束日期(yyyyMMdd)",
  6399. "type": "string"
  6400. },
  6401. "goodscode": {
  6402. "description": "商品代码",
  6403. "type": "string"
  6404. },
  6405. "goodsid": {
  6406. "description": "交易合约ID",
  6407. "type": "integer"
  6408. },
  6409. "goodsname": {
  6410. "description": "商品名称",
  6411. "type": "string"
  6412. },
  6413. "marketid": {
  6414. "description": "市场ID",
  6415. "type": "integer"
  6416. },
  6417. "mindeliveryqty": {
  6418. "description": "最小交割系数(K)",
  6419. "type": "integer"
  6420. },
  6421. "p2deliveryprice": {
  6422. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  6423. "type": "number"
  6424. },
  6425. "p2deliveryratio": {
  6426. "description": "P2合约系数(p)",
  6427. "type": "integer"
  6428. },
  6429. "p2goodsid": {
  6430. "description": "P2合约ID",
  6431. "type": "integer"
  6432. },
  6433. "p2pricemode": {
  6434. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  6435. "type": "integer"
  6436. },
  6437. "pdeliveryprice": {
  6438. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  6439. "type": "number"
  6440. },
  6441. "pdeliveryratio": {
  6442. "description": "P合约系数(n)",
  6443. "type": "integer"
  6444. },
  6445. "pgoodsid": {
  6446. "description": "P合约ID",
  6447. "type": "integer"
  6448. },
  6449. "ppricemode": {
  6450. "description": "P合约价格方式 - 1:商品价 2:固定值",
  6451. "type": "integer"
  6452. },
  6453. "rratio": {
  6454. "description": "兑换系数(R)",
  6455. "type": "integer"
  6456. },
  6457. "rratio1": {
  6458. "description": "兑换系数(交易合约)(R1)",
  6459. "type": "integer"
  6460. },
  6461. "rratio2": {
  6462. "description": "兑换系数(仓单标准)(R2)",
  6463. "type": "integer"
  6464. },
  6465. "selltemplateid": {
  6466. "description": "卖履约计划模板ID",
  6467. "type": "integer"
  6468. },
  6469. "wrstandardid": {
  6470. "description": "仓单标准ID",
  6471. "type": "integer"
  6472. },
  6473. "xdeliveryratio": {
  6474. "description": "交易合约系数(m)",
  6475. "type": "integer"
  6476. }
  6477. }
  6478. },
  6479. "ermcp.ExposureDetailRsp": {
  6480. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  6481. },
  6482. "ermcp.ExposureHedgePosDetailRsp": {
  6483. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  6484. },
  6485. "ermcp.ExposureHedgePositionRsp": {
  6486. "$ref": "#/definitions/models.ErmcpHedgePosition"
  6487. },
  6488. "ermcp.ExposureSpotDetailRsp": {
  6489. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  6490. },
  6491. "ermcp.ExposureSpotRsp": {
  6492. "$ref": "#/definitions/models.AreaSpotModel"
  6493. },
  6494. "ermcp.HisExposureRsp": {
  6495. "$ref": "#/definitions/models.ErmcpHisExposure"
  6496. },
  6497. "ermcp.QryAvalidGPRsp": {
  6498. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  6499. },
  6500. "ermcp.QryBusinessDjRsp": {
  6501. "type": "object",
  6502. "properties": {
  6503. "amount": {
  6504. "description": "点价金额=(点价价格+升贴水)*点价数量",
  6505. "type": "number"
  6506. },
  6507. "applyid": {
  6508. "description": "申请人",
  6509. "type": "string"
  6510. },
  6511. "applyname": {
  6512. "description": "申请人名称",
  6513. "type": "string"
  6514. },
  6515. "applystatus": {
  6516. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6517. "type": "integer"
  6518. },
  6519. "applytime": {
  6520. "description": "申请时间",
  6521. "type": "string"
  6522. },
  6523. "auditname": {
  6524. "description": "审核人名称",
  6525. "type": "string"
  6526. },
  6527. "audittime": {
  6528. "description": "审核时间",
  6529. "type": "string"
  6530. },
  6531. "buyusername": {
  6532. "description": "采购方名称",
  6533. "type": "string"
  6534. },
  6535. "contractno": {
  6536. "description": "合同编号",
  6537. "type": "string"
  6538. },
  6539. "contractstatus": {
  6540. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6541. "type": "integer"
  6542. },
  6543. "contracttype": {
  6544. "description": "现货合同类型 - 1:采购 -1:销售",
  6545. "type": "integer"
  6546. },
  6547. "enumdicname": {
  6548. "description": "单位名称",
  6549. "type": "string"
  6550. },
  6551. "goodscode": {
  6552. "description": "点价合约",
  6553. "type": "string"
  6554. },
  6555. "goodsname": {
  6556. "description": "商品名称",
  6557. "type": "string"
  6558. },
  6559. "operateapplyid": {
  6560. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6561. "type": "string"
  6562. },
  6563. "operateapplytype": {
  6564. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6565. "type": "integer"
  6566. },
  6567. "pricedPrice": {
  6568. "description": "点价价格(非必填)",
  6569. "type": "number"
  6570. },
  6571. "pricedQty": {
  6572. "description": "点价数量(非必填)",
  6573. "type": "number"
  6574. },
  6575. "pricemove": {
  6576. "description": "升贴水",
  6577. "type": "number"
  6578. },
  6579. "pricetype": {
  6580. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6581. "type": "integer"
  6582. },
  6583. "relatedid": {
  6584. "description": "现货合同ID",
  6585. "type": "string"
  6586. },
  6587. "sellusername": {
  6588. "description": "销售方名字",
  6589. "type": "string"
  6590. },
  6591. "userid": {
  6592. "description": "用户ID",
  6593. "type": "integer"
  6594. }
  6595. }
  6596. },
  6597. "ermcp.QryBussinessFpRsp": {
  6598. "type": "object",
  6599. "properties": {
  6600. "applyid": {
  6601. "description": "申请人",
  6602. "type": "string"
  6603. },
  6604. "applyname": {
  6605. "description": "申请人名称",
  6606. "type": "string"
  6607. },
  6608. "applystatus": {
  6609. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6610. "type": "integer"
  6611. },
  6612. "applytime": {
  6613. "description": "申请时间",
  6614. "type": "string"
  6615. },
  6616. "auditname": {
  6617. "description": "审核人名称",
  6618. "type": "string"
  6619. },
  6620. "audittime": {
  6621. "description": "审核时间",
  6622. "type": "string"
  6623. },
  6624. "buyusername": {
  6625. "description": "采购方名称",
  6626. "type": "string"
  6627. },
  6628. "contractno": {
  6629. "description": "合同编号",
  6630. "type": "string"
  6631. },
  6632. "contractstatus": {
  6633. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6634. "type": "integer"
  6635. },
  6636. "contracttype": {
  6637. "description": "现货合同类型 - 1:采购 -1:销售",
  6638. "type": "integer"
  6639. },
  6640. "enumdicname": {
  6641. "description": "单位名称",
  6642. "type": "string"
  6643. },
  6644. "goodscode": {
  6645. "description": "点价合约",
  6646. "type": "string"
  6647. },
  6648. "goodsname": {
  6649. "description": "商品名称",
  6650. "type": "string"
  6651. },
  6652. "invoiceAmount": {
  6653. "description": "已开收票金额(销售为开票,采购为收票)",
  6654. "type": "number"
  6655. },
  6656. "operateapplyid": {
  6657. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6658. "type": "string"
  6659. },
  6660. "operateapplytype": {
  6661. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6662. "type": "integer"
  6663. },
  6664. "pricemove": {
  6665. "description": "升贴水",
  6666. "type": "number"
  6667. },
  6668. "pricetype": {
  6669. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6670. "type": "integer"
  6671. },
  6672. "relatedid": {
  6673. "description": "现货合同ID",
  6674. "type": "string"
  6675. },
  6676. "sellusername": {
  6677. "description": "销售方名字",
  6678. "type": "string"
  6679. },
  6680. "userid": {
  6681. "description": "用户ID",
  6682. "type": "integer"
  6683. }
  6684. }
  6685. },
  6686. "ermcp.QryBussinessJsExRsp": {
  6687. "type": "object",
  6688. "properties": {
  6689. "applyid": {
  6690. "description": "申请人",
  6691. "type": "string"
  6692. },
  6693. "applyname": {
  6694. "description": "申请人名称",
  6695. "type": "string"
  6696. },
  6697. "applystatus": {
  6698. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6699. "type": "integer"
  6700. },
  6701. "applytime": {
  6702. "description": "申请时间",
  6703. "type": "string"
  6704. },
  6705. "auditname": {
  6706. "description": "审核人名称",
  6707. "type": "string"
  6708. },
  6709. "audittime": {
  6710. "description": "审核时间",
  6711. "type": "string"
  6712. },
  6713. "buyusername": {
  6714. "description": "采购方名称",
  6715. "type": "string"
  6716. },
  6717. "contractno": {
  6718. "description": "合同编号",
  6719. "type": "string"
  6720. },
  6721. "contractstatus": {
  6722. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6723. "type": "integer"
  6724. },
  6725. "contracttype": {
  6726. "description": "现货合同类型 - 1:采购 -1:销售",
  6727. "type": "integer"
  6728. },
  6729. "enumdicname": {
  6730. "description": "单位名称",
  6731. "type": "string"
  6732. },
  6733. "goodscode": {
  6734. "description": "点价合约",
  6735. "type": "string"
  6736. },
  6737. "goodsname": {
  6738. "description": "商品名称",
  6739. "type": "string"
  6740. },
  6741. "operateapplyid": {
  6742. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6743. "type": "string"
  6744. },
  6745. "operateapplytype": {
  6746. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6747. "type": "integer"
  6748. },
  6749. "pricemove": {
  6750. "description": "升贴水",
  6751. "type": "number"
  6752. },
  6753. "pricetype": {
  6754. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6755. "type": "integer"
  6756. },
  6757. "reckontype": {
  6758. "description": "结算类型",
  6759. "type": "string"
  6760. },
  6761. "reckonvalue": {
  6762. "description": "值",
  6763. "type": "number"
  6764. },
  6765. "relatedid": {
  6766. "description": "现货合同ID",
  6767. "type": "string"
  6768. },
  6769. "sellusername": {
  6770. "description": "销售方名字",
  6771. "type": "string"
  6772. },
  6773. "userid": {
  6774. "description": "用户ID",
  6775. "type": "integer"
  6776. }
  6777. }
  6778. },
  6779. "ermcp.QryBussinessJsRsp": {
  6780. "type": "object",
  6781. "properties": {
  6782. "addmargin": {
  6783. "description": "追加保证金(非必填)",
  6784. "type": "number"
  6785. },
  6786. "applyid": {
  6787. "description": "申请人",
  6788. "type": "string"
  6789. },
  6790. "applyname": {
  6791. "description": "申请人名称",
  6792. "type": "string"
  6793. },
  6794. "applystatus": {
  6795. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6796. "type": "integer"
  6797. },
  6798. "applytime": {
  6799. "description": "申请时间",
  6800. "type": "string"
  6801. },
  6802. "auditname": {
  6803. "description": "审核人名称",
  6804. "type": "string"
  6805. },
  6806. "audittime": {
  6807. "description": "审核时间",
  6808. "type": "string"
  6809. },
  6810. "buyusername": {
  6811. "description": "采购方名称",
  6812. "type": "string"
  6813. },
  6814. "contractno": {
  6815. "description": "合同编号",
  6816. "type": "string"
  6817. },
  6818. "contractstatus": {
  6819. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6820. "type": "integer"
  6821. },
  6822. "contracttype": {
  6823. "description": "现货合同类型 - 1:采购 -1:销售",
  6824. "type": "integer"
  6825. },
  6826. "decmargin": {
  6827. "description": "减少保证金(非必填)",
  6828. "type": "number"
  6829. },
  6830. "enumdicname": {
  6831. "description": "单位名称",
  6832. "type": "string"
  6833. },
  6834. "goodscode": {
  6835. "description": "点价合约",
  6836. "type": "string"
  6837. },
  6838. "goodsname": {
  6839. "description": "商品名称",
  6840. "type": "string"
  6841. },
  6842. "operateapplyid": {
  6843. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6844. "type": "string"
  6845. },
  6846. "operateapplytype": {
  6847. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6848. "type": "integer"
  6849. },
  6850. "pricemove": {
  6851. "description": "升贴水",
  6852. "type": "number"
  6853. },
  6854. "pricetype": {
  6855. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6856. "type": "integer"
  6857. },
  6858. "reckonadjustamount": {
  6859. "description": "结算调整金额(非必填)",
  6860. "type": "number"
  6861. },
  6862. "reckonosamount": {
  6863. "description": "结算溢短金额(非必填)",
  6864. "type": "number"
  6865. },
  6866. "reckonotheramount": {
  6867. "description": "结算其他费用(非必填)",
  6868. "type": "number"
  6869. },
  6870. "reckonrealqty": {
  6871. "description": "结算实际数量(非必填)",
  6872. "type": "number"
  6873. },
  6874. "relatedid": {
  6875. "description": "现货合同ID",
  6876. "type": "string"
  6877. },
  6878. "sellusername": {
  6879. "description": "销售方名字",
  6880. "type": "string"
  6881. },
  6882. "userid": {
  6883. "description": "用户ID",
  6884. "type": "integer"
  6885. }
  6886. }
  6887. },
  6888. "ermcp.QryBussinessKxRsp": {
  6889. "type": "object",
  6890. "properties": {
  6891. "applyid": {
  6892. "description": "申请人",
  6893. "type": "string"
  6894. },
  6895. "applyname": {
  6896. "description": "申请人名称",
  6897. "type": "string"
  6898. },
  6899. "applystatus": {
  6900. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6901. "type": "integer"
  6902. },
  6903. "applytime": {
  6904. "description": "申请时间",
  6905. "type": "string"
  6906. },
  6907. "auditname": {
  6908. "description": "审核人名称",
  6909. "type": "string"
  6910. },
  6911. "audittime": {
  6912. "description": "审核时间",
  6913. "type": "string"
  6914. },
  6915. "buyusername": {
  6916. "description": "采购方名称",
  6917. "type": "string"
  6918. },
  6919. "contractno": {
  6920. "description": "合同编号",
  6921. "type": "string"
  6922. },
  6923. "contractstatus": {
  6924. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6925. "type": "integer"
  6926. },
  6927. "contracttype": {
  6928. "description": "现货合同类型 - 1:采购 -1:销售",
  6929. "type": "integer"
  6930. },
  6931. "deductamount": {
  6932. "description": "退款(非必填)",
  6933. "type": "number"
  6934. },
  6935. "enumdicname": {
  6936. "description": "单位名称",
  6937. "type": "string"
  6938. },
  6939. "goodscode": {
  6940. "description": "点价合约",
  6941. "type": "string"
  6942. },
  6943. "goodsname": {
  6944. "description": "商品名称",
  6945. "type": "string"
  6946. },
  6947. "kxtype": {
  6948. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  6949. "type": "integer"
  6950. },
  6951. "operateapplyid": {
  6952. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6953. "type": "string"
  6954. },
  6955. "operateapplytype": {
  6956. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6957. "type": "integer"
  6958. },
  6959. "payamount": {
  6960. "description": "收付款(非必填)",
  6961. "type": "number"
  6962. },
  6963. "pricemove": {
  6964. "description": "升贴水",
  6965. "type": "number"
  6966. },
  6967. "pricetype": {
  6968. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6969. "type": "integer"
  6970. },
  6971. "relatedid": {
  6972. "description": "现货合同ID",
  6973. "type": "string"
  6974. },
  6975. "sellusername": {
  6976. "description": "销售方名字",
  6977. "type": "string"
  6978. },
  6979. "userid": {
  6980. "description": "用户ID",
  6981. "type": "integer"
  6982. }
  6983. }
  6984. },
  6985. "ermcp.QryErmcpRsp": {
  6986. "$ref": "#/definitions/models.ErmcpModel"
  6987. },
  6988. "ermcp.QryGGCovertCfgRsp": {
  6989. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  6990. },
  6991. "ermcp.QryHedgePlanRsp": {
  6992. "$ref": "#/definitions/models.ErmcpHedgePlan"
  6993. },
  6994. "ermcp.QryMGChangeLogRsp": {
  6995. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  6996. },
  6997. "ermcp.QryMiddleGoodsDetailRsp": {
  6998. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  6999. },
  7000. "ermcp.QryMiddleGoodsRsp": {
  7001. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  7002. },
  7003. "ermcp.QryOPLogRsp": {
  7004. "$ref": "#/definitions/models.ErmcpOPLogModel"
  7005. },
  7006. "ermcp.QrySpotContractRsp": {
  7007. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  7008. },
  7009. "ermcp.QryUserInfoRsp": {
  7010. "$ref": "#/definitions/models.ErmcpUserModel"
  7011. },
  7012. "ermcp.QryWrStandardDetailRsp": {
  7013. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  7014. },
  7015. "ermcp.QryWrStandardRsp": {
  7016. "$ref": "#/definitions/models.ErmcpWrstandard"
  7017. },
  7018. "ermcp.RealtimeExposurePositionRsp": {
  7019. "$ref": "#/definitions/models.ErmcpExposurePostion"
  7020. },
  7021. "ermcp.RealtimeExposureRsp": {
  7022. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  7023. },
  7024. "erms2.QueryArbitrageStrategyRsp": {
  7025. "type": "object",
  7026. "required": [
  7027. "asapplyid"
  7028. ],
  7029. "properties": {
  7030. "applybasis": {
  7031. "description": "申请基差",
  7032. "type": "number"
  7033. },
  7034. "asapplyid": {
  7035. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  7036. "type": "string"
  7037. },
  7038. "asname": {
  7039. "description": "策略名称",
  7040. "type": "string"
  7041. },
  7042. "asno": {
  7043. "description": "策略编号",
  7044. "type": "string"
  7045. },
  7046. "basischangepl": {
  7047. "description": "基差变动损益[结算更新]",
  7048. "type": "number"
  7049. },
  7050. "biztype": {
  7051. "description": "业务类型 - 1:正向套利 -1:反向套利",
  7052. "type": "integer"
  7053. },
  7054. "closetradedate": {
  7055. "description": "完结交易日(yyyyMMdd)",
  7056. "type": "string"
  7057. },
  7058. "curbasis": {
  7059. "description": "当前基差[结算更新]",
  7060. "type": "number"
  7061. },
  7062. "deliverygoodsid": {
  7063. "description": "现货品种ID",
  7064. "type": "integer"
  7065. },
  7066. "futureavgprice": {
  7067. "description": "期货建仓均价",
  7068. "type": "number"
  7069. },
  7070. "futurecloseamount": {
  7071. "description": "期货平仓金额",
  7072. "type": "number"
  7073. },
  7074. "futurecloseqty": {
  7075. "description": "期货平仓数量",
  7076. "type": "number"
  7077. },
  7078. "futureopenamount": {
  7079. "description": "期货开仓金额",
  7080. "type": "number"
  7081. },
  7082. "futureopenqty": {
  7083. "description": "期货开仓数量",
  7084. "type": "number"
  7085. },
  7086. "futurepl": {
  7087. "description": "期货总盈亏[结算更新]",
  7088. "type": "number"
  7089. },
  7090. "futureqty": {
  7091. "description": "期货持仓数量",
  7092. "type": "number"
  7093. },
  7094. "futurequote": {
  7095. "description": "期货额度",
  7096. "type": "number"
  7097. },
  7098. "goodsgroupid": {
  7099. "description": "期货品种ID",
  7100. "type": "integer"
  7101. },
  7102. "marketid": {
  7103. "description": "市场ID",
  7104. "type": "integer"
  7105. },
  7106. "netexposure": {
  7107. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  7108. "type": "number"
  7109. },
  7110. "netexposurepl": {
  7111. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  7112. "type": "number"
  7113. },
  7114. "netexposurerate": {
  7115. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  7116. "type": "number"
  7117. },
  7118. "openbasis": {
  7119. "description": "建仓基差",
  7120. "type": "number"
  7121. },
  7122. "pricedspotqty": {
  7123. "description": "已定价现货数量",
  7124. "type": "number"
  7125. },
  7126. "pricedspotqtynotax": {
  7127. "description": "已定价现货不含税数量",
  7128. "type": "number"
  7129. },
  7130. "remark": {
  7131. "description": "备注",
  7132. "type": "string"
  7133. },
  7134. "spotavgprice": {
  7135. "description": "现货均价",
  7136. "type": "number"
  7137. },
  7138. "spotbuyamount": {
  7139. "description": "现货采购金额",
  7140. "type": "number"
  7141. },
  7142. "spotbuyqty": {
  7143. "description": "现货采购数量",
  7144. "type": "number"
  7145. },
  7146. "spotpl": {
  7147. "description": "现货总盈亏[结算更新]",
  7148. "type": "number"
  7149. },
  7150. "spotquota": {
  7151. "description": "现货额度",
  7152. "type": "number"
  7153. },
  7154. "spotsellamount": {
  7155. "description": "现货销售金额",
  7156. "type": "number"
  7157. },
  7158. "spotsellqty": {
  7159. "description": "现货销售数量",
  7160. "type": "number"
  7161. },
  7162. "spotusedquota": {
  7163. "description": "现货占用资金",
  7164. "type": "number"
  7165. },
  7166. "strategystatus": {
  7167. "description": "策略状态 - 0:未结束 1:已结束",
  7168. "type": "integer"
  7169. },
  7170. "totalpl": {
  7171. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  7172. "type": "number"
  7173. },
  7174. "tradedate": {
  7175. "description": "交易日(yyyyMMdd)",
  7176. "type": "string"
  7177. },
  7178. "updatetime": {
  7179. "description": "更新时间",
  7180. "type": "string"
  7181. },
  7182. "usedquota": {
  7183. "description": "已占用资金",
  7184. "type": "number"
  7185. },
  7186. "userid": {
  7187. "description": "所属机构",
  7188. "type": "integer"
  7189. }
  7190. }
  7191. },
  7192. "erms2.QueryInnerTradeDetailRsp": {
  7193. "type": "object",
  7194. "required": [
  7195. "asapplyid",
  7196. "buyorsell",
  7197. "goodscode",
  7198. "goodsgroupid",
  7199. "goodsgroupname",
  7200. "goodsname",
  7201. "tradeid"
  7202. ],
  7203. "properties": {
  7204. "accountid": {
  7205. "description": "账号ID",
  7206. "type": "integer"
  7207. },
  7208. "agreeunit": {
  7209. "description": "合约单位",
  7210. "type": "number"
  7211. },
  7212. "asapplyid": {
  7213. "description": "策略申请ID",
  7214. "type": "integer"
  7215. },
  7216. "asname": {
  7217. "description": "策略名称",
  7218. "type": "string"
  7219. },
  7220. "asno": {
  7221. "description": "策略编号",
  7222. "type": "string"
  7223. },
  7224. "buyorsell": {
  7225. "description": "方向 - 0:买 1:卖",
  7226. "type": "integer"
  7227. },
  7228. "channelbuildtype": {
  7229. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  7230. "type": "integer"
  7231. },
  7232. "closetype": {
  7233. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  7234. "type": "integer"
  7235. },
  7236. "decimalplace": {
  7237. "description": "报价小数位",
  7238. "type": "integer"
  7239. },
  7240. "detailtype": {
  7241. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  7242. "type": "integer"
  7243. },
  7244. "exexchangecode": {
  7245. "description": "外部交易所代码",
  7246. "type": "string"
  7247. },
  7248. "exexchangename": {
  7249. "description": "外部交易所名称",
  7250. "type": "string"
  7251. },
  7252. "goodscode": {
  7253. "description": "商品代码(合约)",
  7254. "type": "string"
  7255. },
  7256. "goodsgroupid": {
  7257. "description": "商品组ID(品种ID)",
  7258. "type": "integer"
  7259. },
  7260. "goodsgroupname": {
  7261. "description": "商品组名称(品种)",
  7262. "type": "string"
  7263. },
  7264. "goodsid": {
  7265. "description": "商品ID",
  7266. "type": "integer"
  7267. },
  7268. "goodsname": {
  7269. "description": "商品名称(合约)",
  7270. "type": "string"
  7271. },
  7272. "goodunit": {
  7273. "description": "报价单位",
  7274. "type": "string"
  7275. },
  7276. "marketid": {
  7277. "description": "市场ID",
  7278. "type": "integer"
  7279. },
  7280. "orderid": {
  7281. "description": "委托单号",
  7282. "type": "string"
  7283. },
  7284. "outgoodscode": {
  7285. "description": "商品代码(外部)",
  7286. "type": "string"
  7287. },
  7288. "relatedouttradeid": {
  7289. "description": "关联外部成交单ID",
  7290. "type": "string"
  7291. },
  7292. "remark": {
  7293. "description": "备注",
  7294. "type": "string"
  7295. },
  7296. "spotcontractid": {
  7297. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  7298. "type": "integer"
  7299. },
  7300. "spotcontractno": {
  7301. "description": "现货合同编号",
  7302. "type": "string"
  7303. },
  7304. "tradeid": {
  7305. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7306. "type": "string"
  7307. },
  7308. "tradeprice": {
  7309. "description": "成交价格",
  7310. "type": "number"
  7311. },
  7312. "tradeqty": {
  7313. "description": "成交数量",
  7314. "type": "integer"
  7315. },
  7316. "tradetime": {
  7317. "description": "成交时间",
  7318. "type": "string"
  7319. },
  7320. "updatetime": {
  7321. "description": "更新时间",
  7322. "type": "string"
  7323. }
  7324. }
  7325. },
  7326. "erms2.QuerySpotContractRsp": {
  7327. "type": "object",
  7328. "required": [
  7329. "spotcontractid"
  7330. ],
  7331. "properties": {
  7332. "accountid": {
  7333. "description": "资金账户ID",
  7334. "type": "integer"
  7335. },
  7336. "areauserid": {
  7337. "description": "所属机构",
  7338. "type": "integer"
  7339. },
  7340. "closedate": {
  7341. "description": "终止日期",
  7342. "type": "string"
  7343. },
  7344. "closeremark": {
  7345. "description": "结束备注",
  7346. "type": "string"
  7347. },
  7348. "closetradedate": {
  7349. "description": "完结交易日(yyyyMMdd)",
  7350. "type": "string"
  7351. },
  7352. "closetype": {
  7353. "description": "终止类型 - 1:违约 2:提前终止",
  7354. "type": "integer"
  7355. },
  7356. "contractamount": {
  7357. "description": "合同金额",
  7358. "type": "number"
  7359. },
  7360. "contractattachment": {
  7361. "description": "合同附件",
  7362. "type": "string"
  7363. },
  7364. "contractno": {
  7365. "description": "现货合同编号",
  7366. "type": "string"
  7367. },
  7368. "contractqty": {
  7369. "description": "合同数量(数值) (用于计算)",
  7370. "type": "number"
  7371. },
  7372. "contractqtychar": {
  7373. "description": "合同数量\\已订价数量 (用于显示)",
  7374. "type": "string"
  7375. },
  7376. "contractstatus": {
  7377. "description": "合同状态 - 0:未结束 1:已结束",
  7378. "type": "integer"
  7379. },
  7380. "contracttype": {
  7381. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  7382. "type": "integer"
  7383. },
  7384. "customeraccountid": {
  7385. "description": "客户资金账户ID",
  7386. "type": "integer"
  7387. },
  7388. "customeruserid": {
  7389. "description": "客户ID",
  7390. "type": "integer"
  7391. },
  7392. "deliverygoodsdesc": {
  7393. "description": "品种说明",
  7394. "type": "string"
  7395. },
  7396. "deliverygoodsid": {
  7397. "description": "现货品种ID",
  7398. "type": "integer"
  7399. },
  7400. "handlestatus": {
  7401. "description": "处理状态",
  7402. "type": "integer"
  7403. },
  7404. "invoiceatt": {
  7405. "description": "发票附件",
  7406. "type": "string"
  7407. },
  7408. "invoicedatetime": {
  7409. "description": "开收票更新时间",
  7410. "type": "string"
  7411. },
  7412. "invoiceopentime": {
  7413. "description": "开票时间",
  7414. "type": "string"
  7415. },
  7416. "invoiceremark": {
  7417. "description": "发票备注",
  7418. "type": "string"
  7419. },
  7420. "invoicestatus": {
  7421. "description": "开收票状态 - 0:未开票 1:已开票",
  7422. "type": "integer"
  7423. },
  7424. "lastdate": {
  7425. "description": "交货时间",
  7426. "type": "string"
  7427. },
  7428. "marketid": {
  7429. "description": "市场ID",
  7430. "type": "integer"
  7431. },
  7432. "paydatetime": {
  7433. "description": "收付款更新时间",
  7434. "type": "string"
  7435. },
  7436. "payremark": {
  7437. "description": "收付款备注",
  7438. "type": "string"
  7439. },
  7440. "paystatus": {
  7441. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  7442. "type": "integer"
  7443. },
  7444. "positionqty": {
  7445. "description": "头寸数量 - 合同数量去小数部分",
  7446. "type": "integer"
  7447. },
  7448. "producttype": {
  7449. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7450. "type": "integer"
  7451. },
  7452. "relatedqty": {
  7453. "description": "已关联数量",
  7454. "type": "number"
  7455. },
  7456. "relatedstatus": {
  7457. "description": "关联完结状态 - 0:未结束 1:已结束",
  7458. "type": "integer"
  7459. },
  7460. "remark": {
  7461. "description": "备注",
  7462. "type": "string"
  7463. },
  7464. "signdate": {
  7465. "description": "签订日期",
  7466. "type": "string"
  7467. },
  7468. "spotcontractid": {
  7469. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  7470. "type": "string"
  7471. },
  7472. "spotdatetime": {
  7473. "description": "收发货更新时间",
  7474. "type": "string"
  7475. },
  7476. "spotprice": {
  7477. "description": "价格",
  7478. "type": "number"
  7479. },
  7480. "spotremark": {
  7481. "description": "收发货备注",
  7482. "type": "string"
  7483. },
  7484. "spotstatus": {
  7485. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  7486. "type": "integer"
  7487. },
  7488. "tradedate": {
  7489. "description": "交易日(yyyyMMdd)",
  7490. "type": "string"
  7491. },
  7492. "userid": {
  7493. "description": "业务员用户ID",
  7494. "type": "integer"
  7495. },
  7496. "warehouseid": {
  7497. "description": "仓库ID",
  7498. "type": "integer"
  7499. },
  7500. "wrfactortypeid": {
  7501. "description": "仓单要素类型ID",
  7502. "type": "integer"
  7503. },
  7504. "wrstandardid": {
  7505. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  7506. "type": "integer"
  7507. }
  7508. }
  7509. },
  7510. "erms3.AddErms2ASApplyReq": {
  7511. "type": "object",
  7512. "required": [
  7513. "asapplyid"
  7514. ],
  7515. "properties": {
  7516. "applybasis": {
  7517. "description": "申请基差",
  7518. "type": "number"
  7519. },
  7520. "applystatus": {
  7521. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7522. "type": "integer"
  7523. },
  7524. "asapplyid": {
  7525. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  7526. "type": "integer"
  7527. },
  7528. "asname": {
  7529. "description": "策略名称",
  7530. "type": "string"
  7531. },
  7532. "asno": {
  7533. "description": "策略编号",
  7534. "type": "string"
  7535. },
  7536. "auditid": {
  7537. "description": "审核人",
  7538. "type": "integer"
  7539. },
  7540. "auditremark": {
  7541. "description": "审核备注",
  7542. "type": "string"
  7543. },
  7544. "audittime": {
  7545. "description": "审核时间",
  7546. "type": "string"
  7547. },
  7548. "biztype": {
  7549. "description": "业务类型 - 1:正向套利 2:反向套利",
  7550. "type": "integer"
  7551. },
  7552. "createtime": {
  7553. "description": "创建时间",
  7554. "type": "string"
  7555. },
  7556. "creatorid": {
  7557. "description": "创建人",
  7558. "type": "integer"
  7559. },
  7560. "deliverygoodsid": {
  7561. "description": "现货品种ID",
  7562. "type": "integer"
  7563. },
  7564. "futurequote": {
  7565. "description": "期货额度",
  7566. "type": "number"
  7567. },
  7568. "goodsgroupid": {
  7569. "description": "期货品种ID",
  7570. "type": "integer"
  7571. },
  7572. "marketid": {
  7573. "description": "市场ID",
  7574. "type": "integer"
  7575. },
  7576. "remark": {
  7577. "description": "备注",
  7578. "type": "string"
  7579. },
  7580. "spotquota": {
  7581. "description": "现货额度",
  7582. "type": "number"
  7583. },
  7584. "tradedate": {
  7585. "description": "交易日(yyyyMMdd)",
  7586. "type": "string"
  7587. },
  7588. "userid": {
  7589. "description": "所属机构",
  7590. "type": "integer"
  7591. }
  7592. }
  7593. },
  7594. "erms3.AddErms2SpotTradeApplyReq": {
  7595. "type": "object",
  7596. "required": [
  7597. "spottradeid"
  7598. ],
  7599. "properties": {
  7600. "applyjsondetail": {
  7601. "description": "申请明细(JSON)",
  7602. "type": "string"
  7603. },
  7604. "applystatus": {
  7605. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7606. "type": "integer"
  7607. },
  7608. "areauserid": {
  7609. "description": "所属机构",
  7610. "type": "integer"
  7611. },
  7612. "auditid": {
  7613. "description": "审核人",
  7614. "type": "integer"
  7615. },
  7616. "auditremark": {
  7617. "description": "审核备注",
  7618. "type": "string"
  7619. },
  7620. "audittime": {
  7621. "description": "审核时间",
  7622. "type": "string"
  7623. },
  7624. "createtime": {
  7625. "description": "创建时间",
  7626. "type": "string"
  7627. },
  7628. "creatorid": {
  7629. "description": "创建人",
  7630. "type": "integer"
  7631. },
  7632. "deliverygoodsid": {
  7633. "description": "现货品种ID",
  7634. "type": "integer"
  7635. },
  7636. "futureaccountid": {
  7637. "description": "期货资金账户",
  7638. "type": "integer"
  7639. },
  7640. "goodsgroupid": {
  7641. "description": "期货品种",
  7642. "type": "integer"
  7643. },
  7644. "marketid": {
  7645. "description": "市场ID",
  7646. "type": "integer"
  7647. },
  7648. "remark": {
  7649. "description": "备注",
  7650. "type": "string"
  7651. },
  7652. "spotaccountid": {
  7653. "description": "现货资金账户",
  7654. "type": "integer"
  7655. },
  7656. "spottradeid": {
  7657. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  7658. "type": "integer"
  7659. },
  7660. "spottradename": {
  7661. "description": "业务名称",
  7662. "type": "string"
  7663. },
  7664. "spottradeno": {
  7665. "description": "业务编号",
  7666. "type": "string"
  7667. },
  7668. "tradedate": {
  7669. "description": "交易日(yyyyMMdd)",
  7670. "type": "string"
  7671. },
  7672. "wrstandardid": {
  7673. "description": "仓单标准ID",
  7674. "type": "integer"
  7675. }
  7676. }
  7677. },
  7678. "erms3.AddSpotContractApplyReq": {
  7679. "type": "object",
  7680. "required": [
  7681. "accountid",
  7682. "areauserid",
  7683. "contractno",
  7684. "contracttype",
  7685. "customeraccountid",
  7686. "customeruserid",
  7687. "details",
  7688. "orimargin",
  7689. "signdate"
  7690. ],
  7691. "properties": {
  7692. "accountid": {
  7693. "description": "资金账户ID",
  7694. "type": "integer"
  7695. },
  7696. "areauserid": {
  7697. "description": "所属机构",
  7698. "type": "integer"
  7699. },
  7700. "contractattachment": {
  7701. "description": "合同附件",
  7702. "type": "string"
  7703. },
  7704. "contractno": {
  7705. "description": "现货合同编号",
  7706. "type": "string"
  7707. },
  7708. "contracttype": {
  7709. "description": "现货合同类型 - 1:采购 -1:销售",
  7710. "type": "integer"
  7711. },
  7712. "creatorid": {
  7713. "description": "申请人",
  7714. "type": "integer"
  7715. },
  7716. "customeraccountid": {
  7717. "description": "客户资金账户ID",
  7718. "type": "integer"
  7719. },
  7720. "customeruserid": {
  7721. "description": "客户ID",
  7722. "type": "integer"
  7723. },
  7724. "details": {
  7725. "description": "明细",
  7726. "type": "array",
  7727. "items": {
  7728. "$ref": "#/definitions/erms3.SoptContractDetail"
  7729. }
  7730. },
  7731. "orimargin": {
  7732. "description": "初始保证金",
  7733. "type": "number"
  7734. },
  7735. "remark": {
  7736. "description": "备注",
  7737. "type": "string"
  7738. },
  7739. "signdate": {
  7740. "description": "签订日期",
  7741. "type": "string"
  7742. }
  7743. }
  7744. },
  7745. "erms3.AddSpotContractApplyRsp": {
  7746. "type": "object",
  7747. "required": [
  7748. "contractno"
  7749. ],
  7750. "properties": {
  7751. "contractno": {
  7752. "description": "现货合同编号",
  7753. "type": "string"
  7754. },
  7755. "spotcontractid": {
  7756. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  7757. "type": "integer"
  7758. }
  7759. }
  7760. },
  7761. "erms3.AddUserInfoApplyReq": {
  7762. "type": "object",
  7763. "required": [
  7764. "userid"
  7765. ],
  7766. "properties": {
  7767. "accountid": {
  7768. "description": "交易系统帐号Id (加密存储)",
  7769. "type": "integer"
  7770. },
  7771. "areacode": {
  7772. "description": "机构代码",
  7773. "type": "string"
  7774. },
  7775. "areaid": {
  7776. "description": "机构Id",
  7777. "type": "integer"
  7778. },
  7779. "attachment1": {
  7780. "description": "附件1",
  7781. "type": "string"
  7782. },
  7783. "attachment2": {
  7784. "description": "附件2",
  7785. "type": "string"
  7786. },
  7787. "attachment3": {
  7788. "description": "附件3",
  7789. "type": "string"
  7790. },
  7791. "attachment4": {
  7792. "description": "附件4",
  7793. "type": "string"
  7794. },
  7795. "attachment5": {
  7796. "description": "附件5",
  7797. "type": "string"
  7798. },
  7799. "auditedby": {
  7800. "description": "审核人",
  7801. "type": "string"
  7802. },
  7803. "auditime": {
  7804. "description": "审核时间",
  7805. "type": "string"
  7806. },
  7807. "bankaccount": {
  7808. "description": "银行帐号 (加密存储)",
  7809. "type": "string"
  7810. },
  7811. "bankaccountname": {
  7812. "description": "收款人名称",
  7813. "type": "string"
  7814. },
  7815. "bankcardbackphotourl": {
  7816. "description": "银行卡背面照地址",
  7817. "type": "string"
  7818. },
  7819. "bankcardfrontphotourl": {
  7820. "description": "银行卡正面照地址",
  7821. "type": "string"
  7822. },
  7823. "bankid": {
  7824. "description": "银行编码",
  7825. "type": "string"
  7826. },
  7827. "bankname": {
  7828. "description": "银行名称",
  7829. "type": "string"
  7830. },
  7831. "bankpictureurl": {
  7832. "description": "银行卡正面地址",
  7833. "type": "string"
  7834. },
  7835. "biznature": {
  7836. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7837. "type": "integer"
  7838. },
  7839. "bizscope": {
  7840. "description": "企业经营范围(企业)",
  7841. "type": "string"
  7842. },
  7843. "biztype": {
  7844. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  7845. "type": "integer"
  7846. },
  7847. "brokerid": {
  7848. "description": "经纪人ID(加密存储)",
  7849. "type": "string"
  7850. },
  7851. "cardaddress": {
  7852. "description": "证件地址 (加密存储)",
  7853. "type": "string"
  7854. },
  7855. "cardbackphotourl": {
  7856. "description": "背面证件照地址",
  7857. "type": "string"
  7858. },
  7859. "cardfrontphotourl": {
  7860. "description": "正面证件照地址",
  7861. "type": "string"
  7862. },
  7863. "cardnum": {
  7864. "description": "证件号码 (加密存储)",
  7865. "type": "string"
  7866. },
  7867. "cardtype": {
  7868. "description": "证件类型",
  7869. "type": "integer"
  7870. },
  7871. "cityid": {
  7872. "description": "市",
  7873. "type": "integer"
  7874. },
  7875. "company": {
  7876. "description": "公司(个人)",
  7877. "type": "string"
  7878. },
  7879. "contactcardbackphotourl": {
  7880. "description": "联系人证件背面图片地址",
  7881. "type": "string"
  7882. },
  7883. "contactcardfrontphotourl": {
  7884. "description": "联系人证件正面图片地址",
  7885. "type": "string"
  7886. },
  7887. "contactname": {
  7888. "description": "联系人",
  7889. "type": "string"
  7890. },
  7891. "countryid": {
  7892. "description": "国家",
  7893. "type": "integer"
  7894. },
  7895. "createtime": {
  7896. "description": "开户申请时间",
  7897. "type": "string"
  7898. },
  7899. "cusbankid": {
  7900. "description": "签约类型",
  7901. "type": "string"
  7902. },
  7903. "cusbankname": {
  7904. "description": "签约类型名称",
  7905. "type": "string"
  7906. },
  7907. "customername": {
  7908. "description": "客户名称(企业名称)",
  7909. "type": "string"
  7910. },
  7911. "districtid": {
  7912. "description": "地区",
  7913. "type": "integer"
  7914. },
  7915. "email": {
  7916. "description": "Email地址(加密存储)",
  7917. "type": "string"
  7918. },
  7919. "halfbodyphotourl": {
  7920. "description": "半身照地址",
  7921. "type": "string"
  7922. },
  7923. "headurl": {
  7924. "description": "头像地址",
  7925. "type": "string"
  7926. },
  7927. "ipaddress": {
  7928. "description": "IP地址",
  7929. "type": "string"
  7930. },
  7931. "isvalidate": {
  7932. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  7933. "type": "string"
  7934. },
  7935. "legalcardbackphotourl": {
  7936. "description": "法人身份证背面照地址",
  7937. "type": "string"
  7938. },
  7939. "legalcardfrontphotourl": {
  7940. "description": "法人身份证正面照地址",
  7941. "type": "string"
  7942. },
  7943. "legalpersonname": {
  7944. "description": "法人姓名(企业)",
  7945. "type": "string"
  7946. },
  7947. "logincode": {
  7948. "description": "登录帐号 (加密存储)",
  7949. "type": "string"
  7950. },
  7951. "memberareaid": {
  7952. "description": "所属会员ID",
  7953. "type": "integer"
  7954. },
  7955. "mobile2": {
  7956. "description": "手机号码[明文-尚志]",
  7957. "type": "string"
  7958. },
  7959. "mobilephone": {
  7960. "description": "手机号码 (加密存储)",
  7961. "type": "string"
  7962. },
  7963. "modifiedby": {
  7964. "description": "修改人帐号",
  7965. "type": "integer"
  7966. },
  7967. "modifiedtime": {
  7968. "description": "修改时间",
  7969. "type": "string"
  7970. },
  7971. "nickname": {
  7972. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  7973. "type": "string"
  7974. },
  7975. "openmode": {
  7976. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  7977. "type": "integer"
  7978. },
  7979. "otherurl": {
  7980. "description": "其它图片地址[使用分号分隔]",
  7981. "type": "string"
  7982. },
  7983. "postalcode": {
  7984. "description": "邮政编码",
  7985. "type": "string"
  7986. },
  7987. "provinceid": {
  7988. "description": "省",
  7989. "type": "integer"
  7990. },
  7991. "proxystatementurl": {
  7992. "description": "授权委托书",
  7993. "type": "string"
  7994. },
  7995. "qq": {
  7996. "description": "QQ(加密存储",
  7997. "type": "string"
  7998. },
  7999. "referral": {
  8000. "description": "推荐人编码",
  8001. "type": "string"
  8002. },
  8003. "remark": {
  8004. "description": "备注",
  8005. "type": "string"
  8006. },
  8007. "removebeforestatus": {
  8008. "description": "REMOVEBEFORESTATUS",
  8009. "type": "integer"
  8010. },
  8011. "sex": {
  8012. "description": "性别 - 0:女 1:男",
  8013. "type": "integer"
  8014. },
  8015. "signedstatus": {
  8016. "description": "账户一号签签约状态",
  8017. "type": "integer"
  8018. },
  8019. "signpdfurl": {
  8020. "description": "签约pdf文件",
  8021. "type": "string"
  8022. },
  8023. "subbranch": {
  8024. "description": "开户支行",
  8025. "type": "string"
  8026. },
  8027. "telphone": {
  8028. "description": "联系电话(加密存储)",
  8029. "type": "string"
  8030. },
  8031. "userid": {
  8032. "description": "用户ID(自增ID)",
  8033. "type": "integer"
  8034. },
  8035. "userinfotype": {
  8036. "description": "用户信息类型 - 1:个人 2:企业",
  8037. "type": "integer"
  8038. },
  8039. "username": {
  8040. "description": "用户姓名",
  8041. "type": "string"
  8042. },
  8043. "userstate": {
  8044. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  8045. "type": "integer"
  8046. },
  8047. "usertype": {
  8048. "description": "用户类型 - 1:投资者 2:机构",
  8049. "type": "integer"
  8050. },
  8051. "videourl": {
  8052. "description": "视频地址",
  8053. "type": "string"
  8054. },
  8055. "wechat": {
  8056. "description": "微信号 (加密存储)",
  8057. "type": "string"
  8058. }
  8059. }
  8060. },
  8061. "erms3.CustomerInfo": {
  8062. "type": "object",
  8063. "required": [
  8064. "userid"
  8065. ],
  8066. "properties": {
  8067. "accountids": {
  8068. "description": "资金账户ID列表",
  8069. "type": "array",
  8070. "items": {
  8071. "type": "integer"
  8072. }
  8073. },
  8074. "customername": {
  8075. "description": "名称(企业名称)",
  8076. "type": "string"
  8077. },
  8078. "mobile": {
  8079. "description": "手机号码",
  8080. "type": "string"
  8081. },
  8082. "userid": {
  8083. "description": "用户ID",
  8084. "type": "integer"
  8085. }
  8086. }
  8087. },
  8088. "erms3.ModifyUserInfoApplyReq": {
  8089. "type": "object",
  8090. "required": [
  8091. "userid"
  8092. ],
  8093. "properties": {
  8094. "accountid": {
  8095. "description": "交易系统帐号Id (加密存储)",
  8096. "type": "integer"
  8097. },
  8098. "areacode": {
  8099. "description": "机构代码",
  8100. "type": "string"
  8101. },
  8102. "areaid": {
  8103. "description": "机构Id",
  8104. "type": "integer"
  8105. },
  8106. "attachment1": {
  8107. "description": "附件1",
  8108. "type": "string"
  8109. },
  8110. "attachment2": {
  8111. "description": "附件2",
  8112. "type": "string"
  8113. },
  8114. "attachment3": {
  8115. "description": "附件3",
  8116. "type": "string"
  8117. },
  8118. "attachment4": {
  8119. "description": "附件4",
  8120. "type": "string"
  8121. },
  8122. "attachment5": {
  8123. "description": "附件5",
  8124. "type": "string"
  8125. },
  8126. "auditedby": {
  8127. "description": "审核人",
  8128. "type": "string"
  8129. },
  8130. "auditime": {
  8131. "description": "审核时间",
  8132. "type": "string"
  8133. },
  8134. "bankaccount": {
  8135. "description": "银行帐号 (加密存储)",
  8136. "type": "string"
  8137. },
  8138. "bankaccountname": {
  8139. "description": "收款人名称",
  8140. "type": "string"
  8141. },
  8142. "bankcardbackphotourl": {
  8143. "description": "银行卡背面照地址",
  8144. "type": "string"
  8145. },
  8146. "bankcardfrontphotourl": {
  8147. "description": "银行卡正面照地址",
  8148. "type": "string"
  8149. },
  8150. "bankid": {
  8151. "description": "银行编码",
  8152. "type": "string"
  8153. },
  8154. "bankname": {
  8155. "description": "银行名称",
  8156. "type": "string"
  8157. },
  8158. "bankpictureurl": {
  8159. "description": "银行卡正面地址",
  8160. "type": "string"
  8161. },
  8162. "biznature": {
  8163. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8164. "type": "integer"
  8165. },
  8166. "bizscope": {
  8167. "description": "企业经营范围(企业)",
  8168. "type": "string"
  8169. },
  8170. "biztype": {
  8171. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  8172. "type": "integer"
  8173. },
  8174. "brokerid": {
  8175. "description": "经纪人ID(加密存储)",
  8176. "type": "string"
  8177. },
  8178. "cardaddress": {
  8179. "description": "证件地址 (加密存储)",
  8180. "type": "string"
  8181. },
  8182. "cardbackphotourl": {
  8183. "description": "背面证件照地址",
  8184. "type": "string"
  8185. },
  8186. "cardfrontphotourl": {
  8187. "description": "正面证件照地址",
  8188. "type": "string"
  8189. },
  8190. "cardnum": {
  8191. "description": "证件号码 (加密存储)",
  8192. "type": "string"
  8193. },
  8194. "cardtype": {
  8195. "description": "证件类型",
  8196. "type": "integer"
  8197. },
  8198. "cityid": {
  8199. "description": "市",
  8200. "type": "integer"
  8201. },
  8202. "company": {
  8203. "description": "公司(个人)",
  8204. "type": "string"
  8205. },
  8206. "contactcardbackphotourl": {
  8207. "description": "联系人证件背面图片地址",
  8208. "type": "string"
  8209. },
  8210. "contactcardfrontphotourl": {
  8211. "description": "联系人证件正面图片地址",
  8212. "type": "string"
  8213. },
  8214. "contactname": {
  8215. "description": "联系人",
  8216. "type": "string"
  8217. },
  8218. "countryid": {
  8219. "description": "国家",
  8220. "type": "integer"
  8221. },
  8222. "createtime": {
  8223. "description": "开户申请时间",
  8224. "type": "string"
  8225. },
  8226. "cusbankid": {
  8227. "description": "签约类型",
  8228. "type": "string"
  8229. },
  8230. "cusbankname": {
  8231. "description": "签约类型名称",
  8232. "type": "string"
  8233. },
  8234. "customername": {
  8235. "description": "客户名称(企业名称)",
  8236. "type": "string"
  8237. },
  8238. "districtid": {
  8239. "description": "地区",
  8240. "type": "integer"
  8241. },
  8242. "email": {
  8243. "description": "Email地址(加密存储)",
  8244. "type": "string"
  8245. },
  8246. "halfbodyphotourl": {
  8247. "description": "半身照地址",
  8248. "type": "string"
  8249. },
  8250. "headurl": {
  8251. "description": "头像地址",
  8252. "type": "string"
  8253. },
  8254. "ipaddress": {
  8255. "description": "IP地址",
  8256. "type": "string"
  8257. },
  8258. "isvalidate": {
  8259. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  8260. "type": "string"
  8261. },
  8262. "legalcardbackphotourl": {
  8263. "description": "法人身份证背面照地址",
  8264. "type": "string"
  8265. },
  8266. "legalcardfrontphotourl": {
  8267. "description": "法人身份证正面照地址",
  8268. "type": "string"
  8269. },
  8270. "legalpersonname": {
  8271. "description": "法人姓名(企业)",
  8272. "type": "string"
  8273. },
  8274. "logincode": {
  8275. "description": "登录帐号 (加密存储)",
  8276. "type": "string"
  8277. },
  8278. "memberareaid": {
  8279. "description": "所属会员ID",
  8280. "type": "integer"
  8281. },
  8282. "mobile2": {
  8283. "description": "手机号码[明文-尚志]",
  8284. "type": "string"
  8285. },
  8286. "mobilephone": {
  8287. "description": "手机号码 (加密存储)",
  8288. "type": "string"
  8289. },
  8290. "modifiedby": {
  8291. "description": "修改人帐号",
  8292. "type": "integer"
  8293. },
  8294. "modifiedtime": {
  8295. "description": "修改时间",
  8296. "type": "string"
  8297. },
  8298. "nickname": {
  8299. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  8300. "type": "string"
  8301. },
  8302. "openmode": {
  8303. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  8304. "type": "integer"
  8305. },
  8306. "otherurl": {
  8307. "description": "其它图片地址[使用分号分隔]",
  8308. "type": "string"
  8309. },
  8310. "postalcode": {
  8311. "description": "邮政编码",
  8312. "type": "string"
  8313. },
  8314. "provinceid": {
  8315. "description": "省",
  8316. "type": "integer"
  8317. },
  8318. "proxystatementurl": {
  8319. "description": "授权委托书",
  8320. "type": "string"
  8321. },
  8322. "qq": {
  8323. "description": "QQ(加密存储",
  8324. "type": "string"
  8325. },
  8326. "referral": {
  8327. "description": "推荐人编码",
  8328. "type": "string"
  8329. },
  8330. "remark": {
  8331. "description": "备注",
  8332. "type": "string"
  8333. },
  8334. "removebeforestatus": {
  8335. "description": "REMOVEBEFORESTATUS",
  8336. "type": "integer"
  8337. },
  8338. "sex": {
  8339. "description": "性别 - 0:女 1:男",
  8340. "type": "integer"
  8341. },
  8342. "signedstatus": {
  8343. "description": "账户一号签签约状态",
  8344. "type": "integer"
  8345. },
  8346. "signpdfurl": {
  8347. "description": "签约pdf文件",
  8348. "type": "string"
  8349. },
  8350. "subbranch": {
  8351. "description": "开户支行",
  8352. "type": "string"
  8353. },
  8354. "telphone": {
  8355. "description": "联系电话(加密存储)",
  8356. "type": "string"
  8357. },
  8358. "userid": {
  8359. "description": "用户ID(自增ID)",
  8360. "type": "integer"
  8361. },
  8362. "userinfotype": {
  8363. "description": "用户信息类型 - 1:个人 2:企业",
  8364. "type": "integer"
  8365. },
  8366. "username": {
  8367. "description": "用户姓名",
  8368. "type": "string"
  8369. },
  8370. "userstate": {
  8371. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  8372. "type": "integer"
  8373. },
  8374. "usertype": {
  8375. "description": "用户类型 - 1:投资者 2:机构",
  8376. "type": "integer"
  8377. },
  8378. "videourl": {
  8379. "description": "视频地址",
  8380. "type": "string"
  8381. },
  8382. "wechat": {
  8383. "description": "微信号 (加密存储)",
  8384. "type": "string"
  8385. }
  8386. }
  8387. },
  8388. "erms3.QryAuditContractRsp": {
  8389. "type": "object",
  8390. "required": [
  8391. "matchcustomername",
  8392. "spotcontractid"
  8393. ],
  8394. "properties": {
  8395. "accountid": {
  8396. "description": "交易员ID",
  8397. "type": "string"
  8398. },
  8399. "applystatus": {
  8400. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  8401. "type": "integer"
  8402. },
  8403. "curdeliveryqty": {
  8404. "description": "未交收量",
  8405. "type": "integer"
  8406. },
  8407. "customername": {
  8408. "description": "采购方ID",
  8409. "type": "string"
  8410. },
  8411. "deliverygoodsid": {
  8412. "description": "品种ID",
  8413. "type": "string"
  8414. },
  8415. "deliveryqty": {
  8416. "description": "交收量",
  8417. "type": "integer"
  8418. },
  8419. "enumdicname": {
  8420. "description": "单位名称",
  8421. "type": "string"
  8422. },
  8423. "matchaccountid": {
  8424. "description": "业务员ID",
  8425. "type": "string"
  8426. },
  8427. "matchcustomername": {
  8428. "description": "销售方ID",
  8429. "type": "string"
  8430. },
  8431. "pricedqty": {
  8432. "description": "定价量",
  8433. "type": "number"
  8434. },
  8435. "signdate": {
  8436. "description": "签订日期",
  8437. "type": "string"
  8438. },
  8439. "spotcontractid": {
  8440. "description": "合同ID",
  8441. "type": "string"
  8442. },
  8443. "totaldqty": {
  8444. "description": "合同量",
  8445. "type": "number"
  8446. },
  8447. "unpricedqty": {
  8448. "description": "未定价量",
  8449. "type": "number"
  8450. },
  8451. "wrstandardname": {
  8452. "description": "商品名称",
  8453. "type": "string"
  8454. }
  8455. }
  8456. },
  8457. "erms3.QryPendingBizRsp": {
  8458. "$ref": "#/definitions/models.PendingAuditBizModel"
  8459. },
  8460. "erms3.QueryBusinessInfoRsp": {
  8461. "type": "object",
  8462. "properties": {
  8463. "businessid": {
  8464. "description": "业务ID.",
  8465. "type": "integer"
  8466. },
  8467. "buyamount": {
  8468. "description": "采购额.",
  8469. "type": "number"
  8470. },
  8471. "buyqty": {
  8472. "description": "采购量.",
  8473. "type": "string"
  8474. },
  8475. "futurepl": {
  8476. "description": "期货盈亏.",
  8477. "type": "number"
  8478. },
  8479. "futureqty": {
  8480. "description": "期货敞口.",
  8481. "type": "string"
  8482. },
  8483. "goodsid": {
  8484. "description": "商品名称/商品代码.",
  8485. "type": "string"
  8486. },
  8487. "hedgingqty": {
  8488. "description": "套保量.",
  8489. "type": "string"
  8490. },
  8491. "sellamount": {
  8492. "description": "销售额.",
  8493. "type": "number"
  8494. },
  8495. "sellqty": {
  8496. "description": "销售量.",
  8497. "type": "string"
  8498. },
  8499. "spotmarketvalue": {
  8500. "description": "现货市值.",
  8501. "type": "number"
  8502. },
  8503. "spotpl": {
  8504. "description": "浮动权益.",
  8505. "type": "number"
  8506. },
  8507. "spotqty": {
  8508. "description": "现货量.",
  8509. "type": "string"
  8510. },
  8511. "statu": {
  8512. "description": "状态,0-未结束 1-已结束.",
  8513. "type": "integer"
  8514. },
  8515. "totalpl": {
  8516. "description": "总盈亏.",
  8517. "type": "number"
  8518. },
  8519. "totalqty": {
  8520. "description": "总敞口.",
  8521. "type": "string"
  8522. },
  8523. "type": {
  8524. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  8525. "type": "integer"
  8526. }
  8527. }
  8528. },
  8529. "erms3.QuerySpotContractAppleFormRsp": {
  8530. "type": "object",
  8531. "properties": {
  8532. "goodses": {
  8533. "description": "合约列表",
  8534. "type": "array",
  8535. "items": {
  8536. "$ref": "#/definitions/models.GoodsIDAndName"
  8537. }
  8538. },
  8539. "oppositeusers": {
  8540. "description": "对方账号列表",
  8541. "type": "array",
  8542. "items": {
  8543. "$ref": "#/definitions/erms3.CustomerInfo"
  8544. }
  8545. },
  8546. "ouruser": {
  8547. "description": "我方账号",
  8548. "type": "object",
  8549. "$ref": "#/definitions/erms3.CustomerInfo"
  8550. },
  8551. "warehouseinfos": {
  8552. "description": "仓库信息列表",
  8553. "type": "array",
  8554. "items": {
  8555. "$ref": "#/definitions/models.Warehouseinfo"
  8556. }
  8557. },
  8558. "wrstandards": {
  8559. "description": "仓单标准列表",
  8560. "type": "array",
  8561. "items": {
  8562. "$ref": "#/definitions/models.WRStandardInfo"
  8563. }
  8564. }
  8565. }
  8566. },
  8567. "erms3.QuerySpotContractInfoRsp": {
  8568. "type": "object",
  8569. "properties": {
  8570. "accountid": {
  8571. "description": "表示交易员ID.",
  8572. "type": "integer"
  8573. },
  8574. "curdeliveryqty": {
  8575. "description": "表示未交收量.",
  8576. "type": "number"
  8577. },
  8578. "customername": {
  8579. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  8580. "type": "string"
  8581. },
  8582. "deliverygoodsid": {
  8583. "description": "表示品种ID.",
  8584. "type": "string"
  8585. },
  8586. "deliveryqty": {
  8587. "description": "表示交收量.",
  8588. "type": "number"
  8589. },
  8590. "matchaccountid": {
  8591. "description": "表示业务员ID.",
  8592. "type": "integer"
  8593. },
  8594. "matchcustomername": {
  8595. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  8596. "type": "string"
  8597. },
  8598. "priceqty": {
  8599. "description": "表示定价量.",
  8600. "type": "number"
  8601. },
  8602. "relatedbizid": {
  8603. "description": "表示业务ID.",
  8604. "type": "string"
  8605. },
  8606. "signdate": {
  8607. "description": "表示签订日期.",
  8608. "type": "string"
  8609. },
  8610. "spotcontractid": {
  8611. "description": "合同ID",
  8612. "type": "string"
  8613. },
  8614. "status": {
  8615. "description": "表示状态,0-履约中 1-已完成.",
  8616. "type": "integer"
  8617. },
  8618. "totalqty": {
  8619. "description": "表示合同量.",
  8620. "type": "number"
  8621. },
  8622. "unpricedqty": {
  8623. "description": "表示未定价量.",
  8624. "type": "number"
  8625. },
  8626. "wrstandardname": {
  8627. "description": "表示商品ID.",
  8628. "type": "string"
  8629. }
  8630. }
  8631. },
  8632. "erms3.QueryUserInfoAppliesRsp": {
  8633. "type": "object",
  8634. "required": [
  8635. "userid"
  8636. ],
  8637. "properties": {
  8638. "biznature": {
  8639. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8640. "type": "integer"
  8641. },
  8642. "contactname": {
  8643. "description": "联系人",
  8644. "type": "string"
  8645. },
  8646. "createtime": {
  8647. "description": "开户申请时间",
  8648. "type": "string"
  8649. },
  8650. "userid": {
  8651. "description": "用户ID(自增ID)",
  8652. "type": "integer"
  8653. },
  8654. "userinfotype": {
  8655. "description": "用户信息类型 - 1:个人 2:企业",
  8656. "type": "integer"
  8657. },
  8658. "username": {
  8659. "description": "用户姓名",
  8660. "type": "string"
  8661. },
  8662. "userstate": {
  8663. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  8664. "type": "integer"
  8665. }
  8666. }
  8667. },
  8668. "erms3.QueryUserInfosRsp": {
  8669. "type": "object",
  8670. "required": [
  8671. "userid"
  8672. ],
  8673. "properties": {
  8674. "biznature": {
  8675. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8676. "type": "integer"
  8677. },
  8678. "contactname": {
  8679. "description": "联系人",
  8680. "type": "string"
  8681. },
  8682. "customername": {
  8683. "description": "客户名称(企业名称)",
  8684. "type": "string"
  8685. },
  8686. "userid": {
  8687. "description": "用户ID",
  8688. "type": "integer"
  8689. },
  8690. "userinfotype": {
  8691. "description": "用户信息类型 - 1:个人 2:企业",
  8692. "type": "integer"
  8693. },
  8694. "userstatus": {
  8695. "description": "用户状态 - 1:正常 2:注销",
  8696. "type": "integer"
  8697. }
  8698. }
  8699. },
  8700. "erms3.SoptContractDetail": {
  8701. "type": "object",
  8702. "required": [
  8703. "deliverygoodsid",
  8704. "producttype",
  8705. "unitname",
  8706. "warehouseid",
  8707. "wrstandardid",
  8708. "wrstandardname"
  8709. ],
  8710. "properties": {
  8711. "deliverygoodsdesc": {
  8712. "description": "现货品种说明",
  8713. "type": "string"
  8714. },
  8715. "deliverygoodsid": {
  8716. "description": "现货品种ID",
  8717. "type": "integer"
  8718. },
  8719. "deliverygoodsname": {
  8720. "description": "现货品种名称",
  8721. "type": "string"
  8722. },
  8723. "pointdesc": {
  8724. "description": "点价描述",
  8725. "type": "string"
  8726. },
  8727. "producttype": {
  8728. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  8729. "type": "integer"
  8730. },
  8731. "producttypename": {
  8732. "description": "产品类型名称",
  8733. "type": "string"
  8734. },
  8735. "spotPointOrderVoList": {
  8736. "description": "点价列表",
  8737. "type": "array",
  8738. "items": {
  8739. "$ref": "#/definitions/erms3.SpotPointOrder"
  8740. }
  8741. },
  8742. "spotPriceOrderList": {
  8743. "description": "定价列表",
  8744. "type": "array",
  8745. "items": {
  8746. "$ref": "#/definitions/erms3.SpotPriceOrder"
  8747. }
  8748. },
  8749. "unitname": {
  8750. "description": "单位名称",
  8751. "type": "string"
  8752. },
  8753. "warehouseid": {
  8754. "description": "仓库ID",
  8755. "type": "integer"
  8756. },
  8757. "warehousename": {
  8758. "description": "仓库名称",
  8759. "type": "string"
  8760. },
  8761. "wrstandardid": {
  8762. "description": "交易标的ID",
  8763. "type": "integer"
  8764. },
  8765. "wrstandardname": {
  8766. "description": "交易标的名称",
  8767. "type": "string"
  8768. }
  8769. }
  8770. },
  8771. "erms3.SpotPointOrder": {
  8772. "type": "object",
  8773. "required": [
  8774. "basic",
  8775. "goodsid",
  8776. "qty"
  8777. ],
  8778. "properties": {
  8779. "basic": {
  8780. "description": "基差",
  8781. "type": "number"
  8782. },
  8783. "deliveryenddate": {
  8784. "description": "交收结束日期",
  8785. "type": "string"
  8786. },
  8787. "deliverystartdate": {
  8788. "description": "交收开始日期",
  8789. "type": "string"
  8790. },
  8791. "enddate": {
  8792. "description": "点价结束日期",
  8793. "type": "string"
  8794. },
  8795. "goodsid": {
  8796. "description": "商品ID",
  8797. "type": "integer"
  8798. },
  8799. "goodsname": {
  8800. "description": "商品名称",
  8801. "type": "string"
  8802. },
  8803. "qty": {
  8804. "description": "数量",
  8805. "type": "number"
  8806. },
  8807. "startdate": {
  8808. "description": "点价开始日期",
  8809. "type": "string"
  8810. }
  8811. }
  8812. },
  8813. "erms3.SpotPriceOrder": {
  8814. "type": "object",
  8815. "required": [
  8816. "amount",
  8817. "price",
  8818. "qty"
  8819. ],
  8820. "properties": {
  8821. "amount": {
  8822. "description": "金额",
  8823. "type": "number"
  8824. },
  8825. "deliveryenddate": {
  8826. "description": "交收结束日期",
  8827. "type": "string"
  8828. },
  8829. "deliverystartdate": {
  8830. "description": "交收开始日期",
  8831. "type": "string"
  8832. },
  8833. "price": {
  8834. "description": "价格",
  8835. "type": "number"
  8836. },
  8837. "qty": {
  8838. "description": "数量",
  8839. "type": "number"
  8840. }
  8841. }
  8842. },
  8843. "hsby.GetHsbyMyCountRsp": {
  8844. "type": "object",
  8845. "properties": {
  8846. "myCouponCount": {
  8847. "description": "我的优惠卷数量",
  8848. "type": "integer"
  8849. },
  8850. "myOrderDetailListingCount": {
  8851. "description": "我的订单求购中数量",
  8852. "type": "integer"
  8853. },
  8854. "myOrderDetailPreCount": {
  8855. "description": "我的订单抢购中数量",
  8856. "type": "integer"
  8857. },
  8858. "myPackageUnReceiveCount": {
  8859. "description": "我的包裹待收货数量",
  8860. "type": "integer"
  8861. },
  8862. "myPackageUnSendCount": {
  8863. "description": "我的包裹待发货数量",
  8864. "type": "integer"
  8865. },
  8866. "myPayOrderCount": {
  8867. "description": "我的订单待付款数量",
  8868. "type": "integer"
  8869. }
  8870. }
  8871. },
  8872. "hsby.QueryProvincesAndCitiesRsp": {
  8873. "type": "object",
  8874. "properties": {
  8875. "cities": {
  8876. "description": "市",
  8877. "type": "array",
  8878. "items": {
  8879. "$ref": "#/definitions/models.Division"
  8880. }
  8881. },
  8882. "province": {
  8883. "description": "省",
  8884. "type": "object",
  8885. "$ref": "#/definitions/models.Division"
  8886. }
  8887. }
  8888. },
  8889. "models.AreaSpotModel": {
  8890. "type": "object",
  8891. "properties": {
  8892. "areauserid": {
  8893. "description": "所属机构",
  8894. "type": "integer"
  8895. },
  8896. "decreaseqty": {
  8897. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  8898. "type": "number"
  8899. },
  8900. "increaseqty": {
  8901. "description": "增加数量=销售计划数量+采购已定价数量",
  8902. "type": "number"
  8903. },
  8904. "oritoalspotqty": {
  8905. "description": "昨日数量",
  8906. "type": "number"
  8907. },
  8908. "totalspotqty": {
  8909. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  8910. "type": "number"
  8911. },
  8912. "updatetime": {
  8913. "description": "更新时间",
  8914. "type": "string"
  8915. },
  8916. "wrstandardcode": {
  8917. "description": "现货品种代码",
  8918. "type": "string"
  8919. },
  8920. "wrstandardid": {
  8921. "description": "现货商品ID",
  8922. "type": "integer"
  8923. },
  8924. "wrstandardname": {
  8925. "description": "现货品种",
  8926. "type": "string"
  8927. }
  8928. }
  8929. },
  8930. "models.Clientfixedadconfig": {
  8931. "type": "object",
  8932. "required": [
  8933. "adsort",
  8934. "adtype"
  8935. ],
  8936. "properties": {
  8937. "adsort": {
  8938. "description": "排序",
  8939. "type": "integer"
  8940. },
  8941. "adtype": {
  8942. "description": "广告位类型 - 1:新品抢购(HSBY)",
  8943. "type": "integer"
  8944. },
  8945. "areauserid": {
  8946. "description": "所属机构ID",
  8947. "type": "integer"
  8948. },
  8949. "createdate": {
  8950. "description": "创建时间",
  8951. "type": "string"
  8952. },
  8953. "creatorid": {
  8954. "description": "创建人",
  8955. "type": "integer"
  8956. },
  8957. "imagepath": {
  8958. "description": "图片",
  8959. "type": "string"
  8960. },
  8961. "isshow": {
  8962. "description": "是否展示 - 0:不展示 1:展示",
  8963. "type": "integer"
  8964. },
  8965. "modifierid": {
  8966. "description": "操作人",
  8967. "type": "integer"
  8968. },
  8969. "recsize": {
  8970. "description": "推荐尺寸",
  8971. "type": "string"
  8972. },
  8973. "title": {
  8974. "description": "标题",
  8975. "type": "string"
  8976. },
  8977. "updatedate": {
  8978. "description": "更新时间",
  8979. "type": "string"
  8980. },
  8981. "urlcontent": {
  8982. "description": "链接(地址或商品ID)",
  8983. "type": "string"
  8984. },
  8985. "urltype": {
  8986. "description": "链接类型 - 1:直接地址 2:商品ID",
  8987. "type": "integer"
  8988. }
  8989. }
  8990. },
  8991. "models.Division": {
  8992. "type": "object",
  8993. "required": [
  8994. "autoid",
  8995. "divisioncode"
  8996. ],
  8997. "properties": {
  8998. "autoid": {
  8999. "description": "自增ID",
  9000. "type": "integer"
  9001. },
  9002. "divisioncode": {
  9003. "description": "行政代码",
  9004. "type": "string"
  9005. },
  9006. "divisionlevel": {
  9007. "description": "行政级别",
  9008. "type": "string"
  9009. },
  9010. "divisionname": {
  9011. "description": "行政名称",
  9012. "type": "string"
  9013. },
  9014. "modifierid": {
  9015. "description": "修改人",
  9016. "type": "integer"
  9017. },
  9018. "modifytime": {
  9019. "description": "修改时间",
  9020. "type": "string"
  9021. },
  9022. "parentcode": {
  9023. "description": "上级行政代码",
  9024. "type": "string"
  9025. },
  9026. "pathname": {
  9027. "description": "路径名称",
  9028. "type": "string"
  9029. },
  9030. "postcode": {
  9031. "description": "邮政编码",
  9032. "type": "string"
  9033. },
  9034. "separablename": {
  9035. "description": "可拆分的全称",
  9036. "type": "string"
  9037. },
  9038. "shortcode": {
  9039. "description": "地区简码",
  9040. "type": "string"
  9041. }
  9042. }
  9043. },
  9044. "models.Enumdicitem": {
  9045. "type": "object",
  9046. "required": [
  9047. "autoid",
  9048. "enumdiccode",
  9049. "enumdicid",
  9050. "enumitemname"
  9051. ],
  9052. "properties": {
  9053. "autoid": {
  9054. "description": "自增ID",
  9055. "type": "integer"
  9056. },
  9057. "bankmappedvalue": {
  9058. "description": "银行服务对应值",
  9059. "type": "string"
  9060. },
  9061. "enumdiccode": {
  9062. "description": "所属枚举代码",
  9063. "type": "string"
  9064. },
  9065. "enumdicid": {
  9066. "description": "所属枚举ID",
  9067. "type": "integer"
  9068. },
  9069. "enumdicname": {
  9070. "description": "枚举项名称",
  9071. "type": "string"
  9072. },
  9073. "enumitemname": {
  9074. "description": "枚举项值",
  9075. "type": "integer"
  9076. },
  9077. "enumitemstatus": {
  9078. "description": "枚举项状态 - 1.启用 2.不启用",
  9079. "type": "integer"
  9080. },
  9081. "enumitemvalue": {
  9082. "description": "通用值 - [币种通用简写]",
  9083. "type": "string"
  9084. },
  9085. "param1": {
  9086. "description": "参数1[币种:币种小数位]",
  9087. "type": "string"
  9088. },
  9089. "param2": {
  9090. "description": "参数1[币种:币种显示单位]",
  9091. "type": "string"
  9092. },
  9093. "remark": {
  9094. "description": "备注",
  9095. "type": "string"
  9096. }
  9097. }
  9098. },
  9099. "models.ErmcpAreaSpotDetailModel": {
  9100. "type": "object",
  9101. "properties": {
  9102. "contracttype": {
  9103. "description": "合同类型 1-采购 -1-销售",
  9104. "type": "integer"
  9105. },
  9106. "createtime": {
  9107. "description": "创建时间",
  9108. "type": "string"
  9109. },
  9110. "enumdicname": {
  9111. "description": "现货商品单位名称",
  9112. "type": "string"
  9113. },
  9114. "logtype": {
  9115. "description": "记录类型 1-套保 2-现货合同",
  9116. "type": "integer"
  9117. },
  9118. "qty": {
  9119. "description": "数量",
  9120. "type": "number"
  9121. },
  9122. "recordname": {
  9123. "description": "类型名称",
  9124. "type": "string"
  9125. },
  9126. "relatedid": {
  9127. "description": "套保计划ID/现货合同ID",
  9128. "type": "string"
  9129. },
  9130. "relatedno": {
  9131. "description": "编号",
  9132. "type": "string"
  9133. },
  9134. "strtime": {
  9135. "description": "时间",
  9136. "type": "string"
  9137. },
  9138. "wrstandardcode": {
  9139. "description": "现货商品代码",
  9140. "type": "string"
  9141. },
  9142. "wrstandardname": {
  9143. "description": "现货商品名称",
  9144. "type": "string"
  9145. }
  9146. }
  9147. },
  9148. "models.ErmcpAvalidGoodsGroupModel": {
  9149. "type": "object",
  9150. "properties": {
  9151. "goodsgroupid": {
  9152. "description": "期货品种id",
  9153. "type": "integer"
  9154. },
  9155. "goodsgroupname": {
  9156. "description": "期货品种名称",
  9157. "type": "string"
  9158. },
  9159. "goodunitid": {
  9160. "description": "品种单位id",
  9161. "type": "integer"
  9162. },
  9163. "goodunitname": {
  9164. "description": "品种单位名称",
  9165. "type": "string"
  9166. },
  9167. "outergroupcode": {
  9168. "description": "期货品种代码",
  9169. "type": "string"
  9170. }
  9171. }
  9172. },
  9173. "models.ErmcpExposureDetailModel": {
  9174. "type": "object",
  9175. "properties": {
  9176. "areauserid": {
  9177. "description": "机构ID",
  9178. "type": "integer"
  9179. },
  9180. "changeQty": {
  9181. "description": "套保变动量",
  9182. "type": "number"
  9183. },
  9184. "contracttype": {
  9185. "description": "现货合同类型 - 1:采购 -1:销售",
  9186. "type": "integer"
  9187. },
  9188. "convertfactor": {
  9189. "description": "标仓系数",
  9190. "type": "number"
  9191. },
  9192. "convertratio": {
  9193. "description": "套保系数",
  9194. "type": "number"
  9195. },
  9196. "createtime": {
  9197. "description": "时间",
  9198. "type": "string"
  9199. },
  9200. "enumdicname": {
  9201. "description": "现货商品单位名称",
  9202. "type": "string"
  9203. },
  9204. "logtype": {
  9205. "description": "类型 - 1:套保计划 2:现货合同",
  9206. "type": "integer"
  9207. },
  9208. "middlegoodsId": {
  9209. "description": "套保商品id",
  9210. "type": "integer"
  9211. },
  9212. "middlegoodscode": {
  9213. "description": "套保商品代码",
  9214. "type": "string"
  9215. },
  9216. "middlegoodsname": {
  9217. "description": "套保商品名称",
  9218. "type": "string"
  9219. },
  9220. "qty": {
  9221. "description": "数量",
  9222. "type": "number"
  9223. },
  9224. "relateNo": {
  9225. "description": "现货合同/套保计划编号",
  9226. "type": "string"
  9227. },
  9228. "wrstandardcode": {
  9229. "description": "现货商品代码",
  9230. "type": "string"
  9231. },
  9232. "wrstandardid": {
  9233. "description": "现货商品ID",
  9234. "type": "integer"
  9235. },
  9236. "wrstandardname": {
  9237. "description": "现货商品名称",
  9238. "type": "string"
  9239. }
  9240. }
  9241. },
  9242. "models.ErmcpExposurePostion": {
  9243. "type": "object",
  9244. "properties": {
  9245. "agreeunit": {
  9246. "description": "合约单位",
  9247. "type": "string"
  9248. },
  9249. "areauserid": {
  9250. "description": "所属机构id",
  9251. "type": "integer"
  9252. },
  9253. "convertratio": {
  9254. "description": "期货品种系数(折算系数)",
  9255. "type": "number"
  9256. },
  9257. "curqty": {
  9258. "description": "当前持仓",
  9259. "type": "integer"
  9260. },
  9261. "diffhedgeqty": {
  9262. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  9263. "type": "number"
  9264. },
  9265. "diffqty": {
  9266. "description": "持仓变动量=当前持仓-昨日持仓",
  9267. "type": "integer"
  9268. },
  9269. "goodscode": {
  9270. "description": "商品代码",
  9271. "type": "string"
  9272. },
  9273. "goodsid": {
  9274. "description": "商品id",
  9275. "type": "integer"
  9276. },
  9277. "goodsname": {
  9278. "description": "商品名称",
  9279. "type": "string"
  9280. },
  9281. "middlegoodsid": {
  9282. "description": "套保商品id",
  9283. "type": "integer"
  9284. },
  9285. "ydqty": {
  9286. "description": "昨日持仓",
  9287. "type": "integer"
  9288. }
  9289. }
  9290. },
  9291. "models.ErmcpGGConvertCfg": {
  9292. "type": "object",
  9293. "properties": {
  9294. "convertratio": {
  9295. "description": "折算系数",
  9296. "type": "number"
  9297. },
  9298. "destgoodsgroupid": {
  9299. "description": "目标品种ID",
  9300. "type": "integer"
  9301. },
  9302. "dstcode": {
  9303. "description": "目录品种代码",
  9304. "type": "string"
  9305. },
  9306. "dstname": {
  9307. "description": "目标品种名称",
  9308. "type": "string"
  9309. },
  9310. "dstunitid": {
  9311. "description": "目标品种单位ID",
  9312. "type": "integer"
  9313. },
  9314. "dstunitidname": {
  9315. "description": "目标品种单位名称",
  9316. "type": "string"
  9317. },
  9318. "srccode": {
  9319. "description": "源品种代码",
  9320. "type": "string"
  9321. },
  9322. "srcgoodsgroupid": {
  9323. "description": "源品种ID",
  9324. "type": "integer"
  9325. },
  9326. "srcname": {
  9327. "description": "源品种名称",
  9328. "type": "string"
  9329. },
  9330. "srcunitid": {
  9331. "description": "源品种单位ID",
  9332. "type": "integer"
  9333. },
  9334. "srcunitidname": {
  9335. "description": "源品种单位名称",
  9336. "type": "string"
  9337. }
  9338. }
  9339. },
  9340. "models.ErmcpHedgePlan": {
  9341. "type": "object",
  9342. "properties": {
  9343. "areauserid": {
  9344. "description": "用户ID",
  9345. "type": "integer"
  9346. },
  9347. "contracttype": {
  9348. "description": "计划类型 - 1:采购 -1:销售",
  9349. "type": "integer"
  9350. },
  9351. "convertfactor": {
  9352. "description": "标仓系数",
  9353. "type": "number"
  9354. },
  9355. "createtime": {
  9356. "description": "创建时间",
  9357. "type": "string"
  9358. },
  9359. "deliverygoodsid": {
  9360. "description": "现货品种ID",
  9361. "type": "integer"
  9362. },
  9363. "deliverygoodsname": {
  9364. "description": "现货品种名称",
  9365. "type": "string"
  9366. },
  9367. "hedgeplanid": {
  9368. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  9369. "type": "string"
  9370. },
  9371. "hedgeplanno": {
  9372. "description": "套保计划编号(名称)",
  9373. "type": "string"
  9374. },
  9375. "hedgeplanstatus": {
  9376. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9377. "type": "integer"
  9378. },
  9379. "planqty": {
  9380. "description": "计划数量",
  9381. "type": "number"
  9382. },
  9383. "plantime": {
  9384. "description": "计划时间",
  9385. "type": "string"
  9386. },
  9387. "producttype": {
  9388. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9389. "type": "integer"
  9390. },
  9391. "remark": {
  9392. "description": "备注",
  9393. "type": "string"
  9394. },
  9395. "spotgoodsdesc": {
  9396. "description": "商品型号",
  9397. "type": "string"
  9398. },
  9399. "wrstandardid": {
  9400. "description": "现货商品ID",
  9401. "type": "integer"
  9402. },
  9403. "wrstandardname": {
  9404. "description": "现货商品名称",
  9405. "type": "string"
  9406. }
  9407. }
  9408. },
  9409. "models.ErmcpHedgePosition": {
  9410. "type": "object",
  9411. "properties": {
  9412. "accountid": {
  9413. "description": "资金账号[外部母账户]",
  9414. "type": "integer"
  9415. },
  9416. "curbuyposition": {
  9417. "description": "期末买头寸",
  9418. "type": "integer"
  9419. },
  9420. "cursellposition": {
  9421. "description": "期末卖头寸",
  9422. "type": "integer"
  9423. },
  9424. "curtdbuyposition": {
  9425. "description": "期末今日买头寸",
  9426. "type": "integer"
  9427. },
  9428. "curtdsellposition": {
  9429. "description": "期末今日卖头寸",
  9430. "type": "integer"
  9431. },
  9432. "curydbuyposition": {
  9433. "description": "期末上日买头寸",
  9434. "type": "integer"
  9435. },
  9436. "curydsellposition": {
  9437. "description": "期末上日卖头寸",
  9438. "type": "integer"
  9439. },
  9440. "decreaseqty": {
  9441. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  9442. "type": "integer"
  9443. },
  9444. "fretdbuyposition": {
  9445. "description": "冻结今日买头寸",
  9446. "type": "integer"
  9447. },
  9448. "fretdsellposition": {
  9449. "description": "冻结今日卖头寸",
  9450. "type": "integer"
  9451. },
  9452. "freydbuyposition": {
  9453. "description": "冻结上日买头寸",
  9454. "type": "integer"
  9455. },
  9456. "freydsellposition": {
  9457. "description": "冻结上日卖头寸",
  9458. "type": "integer"
  9459. },
  9460. "goodscode": {
  9461. "description": "商品代码",
  9462. "type": "string"
  9463. },
  9464. "goodsid": {
  9465. "description": "商品id",
  9466. "type": "integer"
  9467. },
  9468. "goodsname": {
  9469. "description": "商品名称",
  9470. "type": "string"
  9471. },
  9472. "hedgeaccountcode": {
  9473. "description": "对冲账号",
  9474. "type": "string"
  9475. },
  9476. "hedgegoodsid": {
  9477. "description": "对冲合约ID",
  9478. "type": "integer"
  9479. },
  9480. "increaseqty": {
  9481. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  9482. "type": "integer"
  9483. },
  9484. "marketid": {
  9485. "description": "市场ID",
  9486. "type": "integer"
  9487. },
  9488. "relateduserid": {
  9489. "description": "关联用户id",
  9490. "type": "integer"
  9491. },
  9492. "totalcurqty": {
  9493. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  9494. "type": "integer"
  9495. },
  9496. "totalydqty": {
  9497. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  9498. "type": "integer"
  9499. },
  9500. "tradedate": {
  9501. "description": "交易日(yyyyMMdd)",
  9502. "type": "string"
  9503. },
  9504. "ydbuyposition": {
  9505. "description": "期初买头寸",
  9506. "type": "integer"
  9507. },
  9508. "ydsellposition": {
  9509. "description": "期初卖头寸",
  9510. "type": "integer"
  9511. }
  9512. }
  9513. },
  9514. "models.ErmcpHedgePositionDetail": {
  9515. "type": "object",
  9516. "properties": {
  9517. "buyorsell": {
  9518. "description": "买卖方向 0-买 1-卖",
  9519. "type": "integer"
  9520. },
  9521. "channelbuildtype": {
  9522. "description": "开平方向 1-建仓 2-平仓",
  9523. "type": "integer"
  9524. },
  9525. "goodscode": {
  9526. "description": "商品代码",
  9527. "type": "string"
  9528. },
  9529. "goodsname": {
  9530. "description": "商品名称",
  9531. "type": "string"
  9532. },
  9533. "hedgegoodsid": {
  9534. "description": "商品id",
  9535. "type": "integer"
  9536. },
  9537. "tradeqty": {
  9538. "description": "数量(成交数量)",
  9539. "type": "integer"
  9540. },
  9541. "tradetime": {
  9542. "description": "时间(成交时间)",
  9543. "type": "string"
  9544. }
  9545. }
  9546. },
  9547. "models.ErmcpHisExposure": {
  9548. "type": "object",
  9549. "properties": {
  9550. "areauserid": {
  9551. "description": "所属机构",
  9552. "type": "integer"
  9553. },
  9554. "middlegoodscode": {
  9555. "description": "套保品种代码",
  9556. "type": "string"
  9557. },
  9558. "middlegoodsid": {
  9559. "description": "套保品种ID",
  9560. "type": "integer"
  9561. },
  9562. "middlegoodsname": {
  9563. "description": "套保品种名称",
  9564. "type": "string"
  9565. },
  9566. "needhedgeexposourE": {
  9567. "description": "应套保敞口",
  9568. "type": "number"
  9569. },
  9570. "needhedgeratio": {
  9571. "description": "应套保敞口比例",
  9572. "type": "number"
  9573. },
  9574. "reckondate": {
  9575. "description": "日照时期(yyyyMMdd)",
  9576. "type": "string"
  9577. },
  9578. "totalexposure": {
  9579. "description": "总敞口",
  9580. "type": "number"
  9581. },
  9582. "totalfutureqty": {
  9583. "description": "期货头寸总量",
  9584. "type": "number"
  9585. },
  9586. "totalhedgeratio": {
  9587. "description": "敞口比例",
  9588. "type": "number"
  9589. },
  9590. "totalneedhedgeqty": {
  9591. "description": "应套保总量",
  9592. "type": "number"
  9593. },
  9594. "totalspotqty": {
  9595. "description": "现货头寸总量",
  9596. "type": "number"
  9597. }
  9598. }
  9599. },
  9600. "models.ErmcpMiddleGoodsChangeLog": {
  9601. "type": "object",
  9602. "properties": {
  9603. "aftervalue": {
  9604. "description": "变更后",
  9605. "type": "number"
  9606. },
  9607. "applyid": {
  9608. "description": "操作人",
  9609. "type": "integer"
  9610. },
  9611. "applyname": {
  9612. "description": "操作人名称",
  9613. "type": "string"
  9614. },
  9615. "applysrc": {
  9616. "description": "操作来源 - 1:管理端 2:终端",
  9617. "type": "integer"
  9618. },
  9619. "beforevalue": {
  9620. "description": "变更前",
  9621. "type": "number"
  9622. },
  9623. "changelogtype": {
  9624. "description": "变更流水类型 - 1:套保比率变更",
  9625. "type": "integer"
  9626. },
  9627. "handlestatus": {
  9628. "description": "处理状态",
  9629. "type": "integer"
  9630. },
  9631. "logdatetime": {
  9632. "description": "流水日期",
  9633. "type": "string"
  9634. },
  9635. "logid": {
  9636. "description": "流水ID",
  9637. "type": "integer"
  9638. },
  9639. "logremark": {
  9640. "description": "流水备注",
  9641. "type": "string"
  9642. },
  9643. "middlegoodsid": {
  9644. "description": "套保品种ID",
  9645. "type": "integer"
  9646. },
  9647. "tradedate": {
  9648. "description": "交易日(yyyyMMdd)",
  9649. "type": "string"
  9650. },
  9651. "updatetime": {
  9652. "description": "更新时间",
  9653. "type": "string"
  9654. }
  9655. }
  9656. },
  9657. "models.ErmcpMiddleGoodsDetail": {
  9658. "type": "object",
  9659. "properties": {
  9660. "cvList": {
  9661. "description": "期货品种折算列表",
  9662. "type": "array",
  9663. "items": {
  9664. "$ref": "#/definitions/models.GoodsGroupConvert"
  9665. }
  9666. },
  9667. "mg": {
  9668. "description": "套保品种基本信息",
  9669. "type": "object",
  9670. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  9671. }
  9672. }
  9673. },
  9674. "models.ErmcpMiddleGoodsModel": {
  9675. "type": "object",
  9676. "properties": {
  9677. "areauserid": {
  9678. "description": "机构用户ID",
  9679. "type": "integer"
  9680. },
  9681. "enumdicname": {
  9682. "description": "单位名称",
  9683. "type": "string"
  9684. },
  9685. "evaluateratio": {
  9686. "description": "估价系数",
  9687. "type": "number"
  9688. },
  9689. "goodsgroupid": {
  9690. "description": "关联期货品种ID",
  9691. "type": "integer"
  9692. },
  9693. "isvalid": {
  9694. "description": "状态 0-无效(停用) 1-有效(正常)",
  9695. "type": "integer"
  9696. },
  9697. "middlegoodscode": {
  9698. "description": "套保品种代码",
  9699. "type": "string"
  9700. },
  9701. "middlegoodsid": {
  9702. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  9703. "type": "integer"
  9704. },
  9705. "middlegoodsname": {
  9706. "description": "套保品种名称",
  9707. "type": "string"
  9708. },
  9709. "modifytime": {
  9710. "description": "修改时间",
  9711. "type": "string"
  9712. },
  9713. "needhedgeratio": {
  9714. "description": "套保比率",
  9715. "type": "number"
  9716. },
  9717. "qtydecimalplace": {
  9718. "description": "数量小数位",
  9719. "type": "integer"
  9720. },
  9721. "relatedgoodsid": {
  9722. "description": "关联交易商品ID",
  9723. "type": "integer"
  9724. },
  9725. "relatedgoodstype": {
  9726. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  9727. "type": "integer"
  9728. }
  9729. }
  9730. },
  9731. "models.ErmcpModel": {
  9732. "type": "object",
  9733. "properties": {
  9734. "accountname": {
  9735. "description": "账户名称",
  9736. "type": "string"
  9737. },
  9738. "attachment": {
  9739. "description": "附件",
  9740. "type": "string"
  9741. },
  9742. "audittime": {
  9743. "description": "审核时间",
  9744. "type": "string"
  9745. },
  9746. "contracctstatus": {
  9747. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9748. "type": "integer"
  9749. },
  9750. "contractmargin": {
  9751. "description": "合同保证金",
  9752. "type": "number"
  9753. },
  9754. "contractno": {
  9755. "description": "合同编号",
  9756. "type": "string"
  9757. },
  9758. "contracttype": {
  9759. "description": "合同类型 1-采购, -1-销售",
  9760. "type": "integer"
  9761. },
  9762. "convertfactor": {
  9763. "description": "标仓系数",
  9764. "type": "number"
  9765. },
  9766. "createtime": {
  9767. "description": "创建时间",
  9768. "type": "string"
  9769. },
  9770. "daikaiamount": {
  9771. "description": "待开票额",
  9772. "type": "number"
  9773. },
  9774. "deliveryenddate": {
  9775. "description": "交割结束日",
  9776. "type": "string"
  9777. },
  9778. "deliverygoodscode": {
  9779. "description": "现货商品代码",
  9780. "type": "string"
  9781. },
  9782. "deliverygoodsid": {
  9783. "description": "现货商品ID",
  9784. "type": "integer"
  9785. },
  9786. "deliverygoodsname": {
  9787. "description": "现货商品名称",
  9788. "type": "string"
  9789. },
  9790. "deliverystartdate": {
  9791. "description": "交割开始日",
  9792. "type": "string"
  9793. },
  9794. "enddate": {
  9795. "description": "点价结束日",
  9796. "type": "string"
  9797. },
  9798. "enumdicname": {
  9799. "description": "单位名称",
  9800. "type": "string"
  9801. },
  9802. "goodscode": {
  9803. "description": "点价商品代码",
  9804. "type": "string"
  9805. },
  9806. "goodsid": {
  9807. "description": "点价商品ID",
  9808. "type": "integer"
  9809. },
  9810. "invoiceamount": {
  9811. "description": "已开票额",
  9812. "type": "number"
  9813. },
  9814. "loanamount": {
  9815. "description": "贷款总额=已定价额+调整金额",
  9816. "type": "number"
  9817. },
  9818. "margin": {
  9819. "description": "保证金",
  9820. "type": "number"
  9821. },
  9822. "payamount": {
  9823. "description": "已收付额(收款或付款)",
  9824. "type": "number"
  9825. },
  9826. "price": {
  9827. "description": "价格",
  9828. "type": "number"
  9829. },
  9830. "pricedamount": {
  9831. "description": "已定价额",
  9832. "type": "number"
  9833. },
  9834. "pricedavg": {
  9835. "description": "已点均价",
  9836. "type": "number"
  9837. },
  9838. "pricedqty": {
  9839. "description": "已定价量",
  9840. "type": "number"
  9841. },
  9842. "pricemove": {
  9843. "description": "升贴水",
  9844. "type": "number"
  9845. },
  9846. "pricetype": {
  9847. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9848. "type": "integer"
  9849. },
  9850. "producttype": {
  9851. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9852. "type": "integer"
  9853. },
  9854. "qty": {
  9855. "description": "合同量",
  9856. "type": "number"
  9857. },
  9858. "reckonadjustamount": {
  9859. "description": "调整金额",
  9860. "type": "number"
  9861. },
  9862. "reckonedamount": {
  9863. "description": "已收付额(已确定额)",
  9864. "type": "number"
  9865. },
  9866. "reckonotheramount": {
  9867. "description": "其它费用",
  9868. "type": "number"
  9869. },
  9870. "reckonrealqty": {
  9871. "description": "已确定量",
  9872. "type": "number"
  9873. },
  9874. "remark": {
  9875. "description": "备注",
  9876. "type": "string"
  9877. },
  9878. "spotcontractid": {
  9879. "description": "合同ID",
  9880. "type": "string"
  9881. },
  9882. "spotgoodsdesc": {
  9883. "description": "商品型号(商品规格)",
  9884. "type": "string"
  9885. },
  9886. "startdate": {
  9887. "description": "点价开始日",
  9888. "type": "string"
  9889. },
  9890. "totalamount": {
  9891. "description": "合计总额",
  9892. "type": "number"
  9893. },
  9894. "unpayamount": {
  9895. "description": "待支收额(支付或收款)",
  9896. "type": "number"
  9897. },
  9898. "unpricedqty": {
  9899. "description": "未定价量",
  9900. "type": "number"
  9901. },
  9902. "unsureqty": {
  9903. "description": "未确定量",
  9904. "type": "number"
  9905. },
  9906. "userid": {
  9907. "description": "用户ID",
  9908. "type": "integer"
  9909. }
  9910. }
  9911. },
  9912. "models.ErmcpOPLogModel": {
  9913. "type": "object",
  9914. "properties": {
  9915. "aftervalue": {
  9916. "description": "变更后",
  9917. "type": "number"
  9918. },
  9919. "applyid": {
  9920. "description": "操作人ID",
  9921. "type": "string"
  9922. },
  9923. "applyname": {
  9924. "description": "操作人名称",
  9925. "type": "string"
  9926. },
  9927. "beforevalue": {
  9928. "description": "变更前",
  9929. "type": "number"
  9930. },
  9931. "biztype": {
  9932. "description": "业务类型 - 1:套保计划 2:现货合同",
  9933. "type": "integer"
  9934. },
  9935. "contracttype": {
  9936. "description": "现货合同类型 - 1:采购 -1:销售",
  9937. "type": "integer"
  9938. },
  9939. "logvalue": {
  9940. "description": "数值",
  9941. "type": "number"
  9942. },
  9943. "operatelogtype": {
  9944. "description": "操作流水类型",
  9945. "type": "integer"
  9946. },
  9947. "operatelogtypedesc": {
  9948. "description": "操作流水类型名称",
  9949. "type": "string"
  9950. },
  9951. "relatedid": {
  9952. "description": "现货合同ID\\套保计划",
  9953. "type": "string"
  9954. },
  9955. "updatetime": {
  9956. "description": "更新时间",
  9957. "type": "string"
  9958. }
  9959. }
  9960. },
  9961. "models.ErmcpRealExposureModel": {
  9962. "type": "object",
  9963. "properties": {
  9964. "areaUserID": {
  9965. "description": "所属机构",
  9966. "type": "integer"
  9967. },
  9968. "buyFutureQty": {
  9969. "description": "买入期货数量",
  9970. "type": "number"
  9971. },
  9972. "buyPlanQty": {
  9973. "description": "采购计划数量",
  9974. "type": "number"
  9975. },
  9976. "buyPricedQty": {
  9977. "description": "采购合同已定价数量",
  9978. "type": "number"
  9979. },
  9980. "diffFutuQty": {
  9981. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9982. "type": "number"
  9983. },
  9984. "diffSpotQty": {
  9985. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9986. "type": "number"
  9987. },
  9988. "middleGoodsCode": {
  9989. "description": "套保品种代码",
  9990. "type": "string"
  9991. },
  9992. "middleGoodsHedgeRatio": {
  9993. "description": "应套保比例",
  9994. "type": "number"
  9995. },
  9996. "middleGoodsID": {
  9997. "description": "套保品种",
  9998. "type": "integer"
  9999. },
  10000. "middleGoodsName": {
  10001. "description": "套保品种名称",
  10002. "type": "string"
  10003. },
  10004. "needHedgeExposoure": {
  10005. "description": "应套保敞口",
  10006. "type": "number"
  10007. },
  10008. "needHedgeRatio": {
  10009. "description": "应套保敞口比例",
  10010. "type": "number"
  10011. },
  10012. "oriBuyFutureQty": {
  10013. "description": "期初买入期货数量",
  10014. "type": "number"
  10015. },
  10016. "oriBuyPlanQty": {
  10017. "description": "期初采购计划数量",
  10018. "type": "number"
  10019. },
  10020. "oriBuyPricedQty": {
  10021. "description": "期初采购合同已定价数量",
  10022. "type": "number"
  10023. },
  10024. "oriSellFutureQty": {
  10025. "description": "期初卖出期货数量",
  10026. "type": "number"
  10027. },
  10028. "oriSellPlanQty": {
  10029. "description": "期初销售计划数量",
  10030. "type": "number"
  10031. },
  10032. "oriSellPricedQty": {
  10033. "description": "期初销售合同已定价数量",
  10034. "type": "number"
  10035. },
  10036. "oriTotalFutuQty": {
  10037. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  10038. "type": "number"
  10039. },
  10040. "oriTotalSpotQty": {
  10041. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  10042. "type": "number"
  10043. },
  10044. "sellFutureQty": {
  10045. "description": "卖出期货数量",
  10046. "type": "number"
  10047. },
  10048. "sellPlanQty": {
  10049. "description": "销售计划数量",
  10050. "type": "number"
  10051. },
  10052. "sellPricedQty": {
  10053. "description": "销售合同已定价数量",
  10054. "type": "number"
  10055. },
  10056. "totalExposure": {
  10057. "description": "总敞口",
  10058. "type": "number"
  10059. },
  10060. "totalFutureQty": {
  10061. "description": "期货数量",
  10062. "type": "number"
  10063. },
  10064. "totalHedgeRatio": {
  10065. "description": "敞口比例",
  10066. "type": "number"
  10067. },
  10068. "totalNeedHedgeQty": {
  10069. "description": "期货应套保量",
  10070. "type": "number"
  10071. },
  10072. "totalSpotQty": {
  10073. "description": "现货数量",
  10074. "type": "number"
  10075. }
  10076. }
  10077. },
  10078. "models.ErmcpSpotContractModel": {
  10079. "type": "object",
  10080. "properties": {
  10081. "amount": {
  10082. "description": "金额 [1:一口价、3:暂定价]",
  10083. "type": "number"
  10084. },
  10085. "attachment": {
  10086. "description": "附件",
  10087. "type": "string"
  10088. },
  10089. "auditremark": {
  10090. "description": "审核意见",
  10091. "type": "string"
  10092. },
  10093. "audittime": {
  10094. "description": "审核时间",
  10095. "type": "string"
  10096. },
  10097. "brandname": {
  10098. "description": "品牌名称",
  10099. "type": "string"
  10100. },
  10101. "buyuserid": {
  10102. "description": "采购方ID",
  10103. "type": "integer"
  10104. },
  10105. "buyusername": {
  10106. "description": "采购方名称",
  10107. "type": "string"
  10108. },
  10109. "contracctstatus": {
  10110. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10111. "type": "integer"
  10112. },
  10113. "contractmargin": {
  10114. "description": "合同保证金",
  10115. "type": "number"
  10116. },
  10117. "contractno": {
  10118. "description": "现货合同编号",
  10119. "type": "string"
  10120. },
  10121. "contracttype": {
  10122. "description": "现货合同类型 - 1:采购 -1:销售",
  10123. "type": "integer"
  10124. },
  10125. "convertfactor": {
  10126. "description": "标仓系数",
  10127. "type": "number"
  10128. },
  10129. "createtime": {
  10130. "description": "创建时间",
  10131. "type": "string"
  10132. },
  10133. "deliveryenddate": {
  10134. "description": "交收期(结束)",
  10135. "type": "string"
  10136. },
  10137. "deliverygoodscode": {
  10138. "description": "现货品种代码",
  10139. "type": "string"
  10140. },
  10141. "deliverygoodsid": {
  10142. "description": "现货品种ID",
  10143. "type": "integer"
  10144. },
  10145. "deliverygoodsname": {
  10146. "description": "现货品种名称",
  10147. "type": "string"
  10148. },
  10149. "deliverystartdate": {
  10150. "description": "交收期(开始)",
  10151. "type": "string"
  10152. },
  10153. "enddate": {
  10154. "description": "点价结束日期 [2:点价 3:暂定价]",
  10155. "type": "string"
  10156. },
  10157. "enumdicname": {
  10158. "description": "单位名称",
  10159. "type": "string"
  10160. },
  10161. "goodscode": {
  10162. "description": "点价合约代码",
  10163. "type": "string"
  10164. },
  10165. "goodsid": {
  10166. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  10167. "type": "integer"
  10168. },
  10169. "margin": {
  10170. "description": "当前保证金",
  10171. "type": "number"
  10172. },
  10173. "modelname": {
  10174. "description": "型号名称",
  10175. "type": "string"
  10176. },
  10177. "price": {
  10178. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  10179. "type": "number"
  10180. },
  10181. "pricemove": {
  10182. "description": "升贴水 [2:点价 3:暂定价]",
  10183. "type": "number"
  10184. },
  10185. "pricetype": {
  10186. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10187. "type": "integer"
  10188. },
  10189. "producttype": {
  10190. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10191. "type": "integer"
  10192. },
  10193. "qty": {
  10194. "description": "数量",
  10195. "type": "number"
  10196. },
  10197. "remark": {
  10198. "description": "备注",
  10199. "type": "string"
  10200. },
  10201. "selluserid": {
  10202. "description": "销售方ID",
  10203. "type": "integer"
  10204. },
  10205. "sellusername": {
  10206. "description": "销售方名称",
  10207. "type": "string"
  10208. },
  10209. "spotcontractid": {
  10210. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  10211. "type": "string"
  10212. },
  10213. "spotgoodsbrandid": {
  10214. "description": "现货品牌ID",
  10215. "type": "integer"
  10216. },
  10217. "spotgoodsdesc": {
  10218. "description": "商品型号",
  10219. "type": "string"
  10220. },
  10221. "spotgoodsmodelid": {
  10222. "description": "现货型号ID",
  10223. "type": "integer"
  10224. },
  10225. "startdate": {
  10226. "description": "点价开始日期 [2:点价 3:暂定价]",
  10227. "type": "string"
  10228. },
  10229. "userid": {
  10230. "description": "机构ID",
  10231. "type": "integer"
  10232. },
  10233. "wrstandardid": {
  10234. "description": "现货商品ID",
  10235. "type": "integer"
  10236. }
  10237. }
  10238. },
  10239. "models.ErmcpUserModel": {
  10240. "type": "object",
  10241. "properties": {
  10242. "address": {
  10243. "description": "通讯地址",
  10244. "type": "string"
  10245. },
  10246. "attachment1": {
  10247. "description": "附件1",
  10248. "type": "string"
  10249. },
  10250. "cardfrontphotourl": {
  10251. "description": "证件正面图片地址",
  10252. "type": "string"
  10253. },
  10254. "cardnum": {
  10255. "description": "证件号码",
  10256. "type": "string"
  10257. },
  10258. "cardtype": {
  10259. "description": "证件类型",
  10260. "type": "integer"
  10261. },
  10262. "cardtypename": {
  10263. "description": "证件类型名称",
  10264. "type": "string"
  10265. },
  10266. "cityid": {
  10267. "description": "市",
  10268. "type": "integer"
  10269. },
  10270. "countryid": {
  10271. "description": "国家",
  10272. "type": "integer"
  10273. },
  10274. "createtime": {
  10275. "description": "创建时间",
  10276. "type": "string"
  10277. },
  10278. "customername": {
  10279. "description": "企业名称",
  10280. "type": "string"
  10281. },
  10282. "memberuserid": {
  10283. "description": "所属机构ID",
  10284. "type": "integer"
  10285. },
  10286. "mobile": {
  10287. "description": "手机号码",
  10288. "type": "string"
  10289. },
  10290. "provinceid": {
  10291. "description": "省",
  10292. "type": "integer"
  10293. },
  10294. "remark": {
  10295. "description": "备注",
  10296. "type": "string"
  10297. },
  10298. "status": {
  10299. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  10300. "type": "integer"
  10301. },
  10302. "statusdesc": {
  10303. "description": "账户状态中文描述",
  10304. "type": "string"
  10305. },
  10306. "telphone": {
  10307. "description": "联系电话",
  10308. "type": "string"
  10309. },
  10310. "userid": {
  10311. "description": "用户ID",
  10312. "type": "integer"
  10313. },
  10314. "userinfotype": {
  10315. "description": "客户类型",
  10316. "type": "string"
  10317. }
  10318. }
  10319. },
  10320. "models.ErmcpWrstandDetail": {
  10321. "type": "object",
  10322. "properties": {
  10323. "gbList": {
  10324. "description": "品牌列表",
  10325. "type": "array",
  10326. "items": {
  10327. "$ref": "#/definitions/models.GoodsBrand"
  10328. }
  10329. },
  10330. "gtList": {
  10331. "description": "型号列表",
  10332. "type": "array",
  10333. "items": {
  10334. "$ref": "#/definitions/models.GoodsTypeModel"
  10335. }
  10336. },
  10337. "wrd": {
  10338. "description": "基本信息",
  10339. "type": "object",
  10340. "$ref": "#/definitions/models.ErmcpWrstandard"
  10341. },
  10342. "wrsList": {
  10343. "description": "套保信息列表",
  10344. "type": "array",
  10345. "items": {
  10346. "$ref": "#/definitions/models.WRSConverTDetail"
  10347. }
  10348. }
  10349. }
  10350. },
  10351. "models.ErmcpWrstandard": {
  10352. "type": "object",
  10353. "properties": {
  10354. "areauserid": {
  10355. "description": "所属机构",
  10356. "type": "integer"
  10357. },
  10358. "createtime": {
  10359. "description": "创建时间",
  10360. "type": "string"
  10361. },
  10362. "creatorid": {
  10363. "description": "创建人",
  10364. "type": "integer"
  10365. },
  10366. "deliverygoodsid": {
  10367. "description": "品种ID",
  10368. "type": "integer"
  10369. },
  10370. "enumdicname": {
  10371. "description": "单位名称",
  10372. "type": "string"
  10373. },
  10374. "isvalid": {
  10375. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  10376. "type": "integer"
  10377. },
  10378. "minivalue": {
  10379. "description": "最小变动值",
  10380. "type": "integer"
  10381. },
  10382. "minivaluedp": {
  10383. "description": "最小变动值小数位",
  10384. "type": "integer"
  10385. },
  10386. "realminivalue": {
  10387. "description": "实际最小变动值",
  10388. "type": "integer"
  10389. },
  10390. "realminivaluedp": {
  10391. "description": "实际最小变动值小数位",
  10392. "type": "integer"
  10393. },
  10394. "remark": {
  10395. "description": "备注",
  10396. "type": "string"
  10397. },
  10398. "unitid": {
  10399. "description": "单位ID",
  10400. "type": "integer"
  10401. },
  10402. "updatetime": {
  10403. "description": "更新时间",
  10404. "type": "string"
  10405. },
  10406. "wrstandardcode": {
  10407. "description": "现货商品代码",
  10408. "type": "string"
  10409. },
  10410. "wrstandardid": {
  10411. "description": "现货商品ID(SEQ_WRSTANDARD)",
  10412. "type": "integer"
  10413. },
  10414. "wrstandardname": {
  10415. "description": "现货商品名称",
  10416. "type": "string"
  10417. }
  10418. }
  10419. },
  10420. "models.Goods": {
  10421. "type": "object",
  10422. "required": [
  10423. "goodscode",
  10424. "goodsid",
  10425. "goodsname",
  10426. "marketid"
  10427. ],
  10428. "properties": {
  10429. "agreeunit": {
  10430. "description": "合约单位",
  10431. "type": "number"
  10432. },
  10433. "auditaccountid": {
  10434. "description": "审核操作员账号",
  10435. "type": "integer"
  10436. },
  10437. "audittime": {
  10438. "description": "审核时间",
  10439. "type": "string"
  10440. },
  10441. "cancelaccountid": {
  10442. "description": "注销操作员账号",
  10443. "type": "integer"
  10444. },
  10445. "canceltime": {
  10446. "description": "注销时间",
  10447. "type": "string"
  10448. },
  10449. "closepricemode": {
  10450. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  10451. "type": "integer"
  10452. },
  10453. "closepriceparam": {
  10454. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  10455. "type": "number"
  10456. },
  10457. "createtime": {
  10458. "description": "创建时间",
  10459. "type": "string"
  10460. },
  10461. "creatorid": {
  10462. "description": "创建人",
  10463. "type": "integer"
  10464. },
  10465. "currencyid": {
  10466. "description": "报价货币ID",
  10467. "type": "integer"
  10468. },
  10469. "cutmode": {
  10470. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  10471. "type": "integer"
  10472. },
  10473. "decimalplace": {
  10474. "description": "报价小数位",
  10475. "type": "integer"
  10476. },
  10477. "delistingdate": {
  10478. "description": "商品退市时间(状态:退市) -- 已作废",
  10479. "type": "string"
  10480. },
  10481. "delistingmode": {
  10482. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  10483. "type": "integer"
  10484. },
  10485. "deliveryflag": {
  10486. "description": "交割标志 - 0:不可交割 1:可交割",
  10487. "type": "integer"
  10488. },
  10489. "forceclosemode": {
  10490. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  10491. "type": "integer"
  10492. },
  10493. "forceclosevalue": {
  10494. "description": "定期强平参数 [收益权]",
  10495. "type": "integer"
  10496. },
  10497. "goodscode": {
  10498. "description": "商品代码(内部)",
  10499. "type": "string"
  10500. },
  10501. "goodscurrencyid": {
  10502. "description": "合约货币ID",
  10503. "type": "integer"
  10504. },
  10505. "goodsgroupid": {
  10506. "description": "所属商品组ID",
  10507. "type": "integer"
  10508. },
  10509. "goodsid": {
  10510. "description": "商品ID(自增ID SEQ_GOODS)",
  10511. "type": "integer"
  10512. },
  10513. "goodsname": {
  10514. "description": "商品名称",
  10515. "type": "string"
  10516. },
  10517. "goodsquotetype": {
  10518. "description": "合约报价类型: 1-直接报价 2-间接报价",
  10519. "type": "integer"
  10520. },
  10521. "goodsstatus": {
  10522. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  10523. "type": "integer"
  10524. },
  10525. "goodstradetype": {
  10526. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  10527. "type": "integer"
  10528. },
  10529. "goodunitid": {
  10530. "description": "报价单位ID",
  10531. "type": "integer"
  10532. },
  10533. "hasquoter": {
  10534. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  10535. "type": "integer"
  10536. },
  10537. "hqprotecttime": {
  10538. "description": "行情保护时间(秒)",
  10539. "type": "integer"
  10540. },
  10541. "innerdealmode": {
  10542. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  10543. "type": "integer"
  10544. },
  10545. "isbuylimited": {
  10546. "description": "是否限制建仓量 - 0:不限制 1:限制",
  10547. "type": "integer"
  10548. },
  10549. "lasttradedate": {
  10550. "description": "最后交易日期(状态:待退市)",
  10551. "type": "string"
  10552. },
  10553. "listingdate": {
  10554. "description": "交易开始日期",
  10555. "type": "string"
  10556. },
  10557. "marketid": {
  10558. "description": "所属市场ID",
  10559. "type": "integer"
  10560. },
  10561. "modifierid": {
  10562. "description": "修改人",
  10563. "type": "integer"
  10564. },
  10565. "modifystatus": {
  10566. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  10567. "type": "integer"
  10568. },
  10569. "modifytime": {
  10570. "description": "修改时间",
  10571. "type": "string"
  10572. },
  10573. "outerdealmode": {
  10574. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  10575. "type": "integer"
  10576. },
  10577. "outgoodscode": {
  10578. "description": "商品代码(外部)",
  10579. "type": "string"
  10580. },
  10581. "qtydecimalplace": {
  10582. "description": "成交量小数位",
  10583. "type": "integer"
  10584. },
  10585. "quotegear": {
  10586. "description": "行情档位(1-10)",
  10587. "type": "integer"
  10588. },
  10589. "quoteminunit": {
  10590. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10591. "type": "integer"
  10592. },
  10593. "quoteshowtype": {
  10594. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  10595. "type": "integer"
  10596. },
  10597. "quoteshowtypeinterval": {
  10598. "description": "行情报价间隔时间(秒)(成交价时为0)",
  10599. "type": "integer"
  10600. },
  10601. "remark": {
  10602. "description": "备注",
  10603. "type": "string"
  10604. }
  10605. }
  10606. },
  10607. "models.GoodsBrand": {
  10608. "type": "object",
  10609. "properties": {
  10610. "brandid": {
  10611. "description": "品牌ID",
  10612. "type": "integer"
  10613. },
  10614. "brandname": {
  10615. "description": "品牌名称",
  10616. "type": "string"
  10617. },
  10618. "isvalid": {
  10619. "description": "是否有效 - 0:无效 1:有效",
  10620. "type": "integer"
  10621. }
  10622. }
  10623. },
  10624. "models.GoodsGroupConvert": {
  10625. "type": "object",
  10626. "properties": {
  10627. "convertratio": {
  10628. "description": "折算系数",
  10629. "type": "number"
  10630. },
  10631. "dstgoodsgroupid": {
  10632. "description": "目标期货品种ID",
  10633. "type": "integer"
  10634. },
  10635. "goodsgroupname": {
  10636. "description": "期货品种名称",
  10637. "type": "string"
  10638. },
  10639. "outergroupcode": {
  10640. "description": "期货品种代码",
  10641. "type": "string"
  10642. },
  10643. "srcgoodsgroupid": {
  10644. "description": "源期货品种ID",
  10645. "type": "integer"
  10646. }
  10647. }
  10648. },
  10649. "models.GoodsIDAndName": {
  10650. "type": "object",
  10651. "required": [
  10652. "goodscode",
  10653. "goodsid",
  10654. "goodsname",
  10655. "marketid"
  10656. ],
  10657. "properties": {
  10658. "goodscode": {
  10659. "description": "商品代码(内部)",
  10660. "type": "string"
  10661. },
  10662. "goodsid": {
  10663. "description": "商品ID(自增ID SEQ_GOODS)",
  10664. "type": "integer"
  10665. },
  10666. "goodsname": {
  10667. "description": "商品名称",
  10668. "type": "string"
  10669. },
  10670. "marketid": {
  10671. "description": "所属市场ID",
  10672. "type": "integer"
  10673. }
  10674. }
  10675. },
  10676. "models.GoodsTypeModel": {
  10677. "type": "object",
  10678. "properties": {
  10679. "modelid": {
  10680. "description": "型号ID",
  10681. "type": "integer"
  10682. },
  10683. "modelname": {
  10684. "description": "型号名称",
  10685. "type": "string"
  10686. },
  10687. "updatetime": {
  10688. "description": "更新时间",
  10689. "type": "string"
  10690. }
  10691. }
  10692. },
  10693. "models.HsbyBuyMyPayOrder": {
  10694. "type": "object",
  10695. "required": [
  10696. "goodscode",
  10697. "goodsname",
  10698. "tradeid",
  10699. "trademode"
  10700. ],
  10701. "properties": {
  10702. "agreeunit": {
  10703. "description": "合约单位",
  10704. "type": "number"
  10705. },
  10706. "buyaccountid": {
  10707. "description": "买方账号ID[报价币种]",
  10708. "type": "integer"
  10709. },
  10710. "buyorderid": {
  10711. "description": "买方委托单号",
  10712. "type": "string"
  10713. },
  10714. "createtime": {
  10715. "description": "创建时间",
  10716. "type": "string"
  10717. },
  10718. "currencysign": {
  10719. "description": "货币符号",
  10720. "type": "string"
  10721. },
  10722. "decimalplace": {
  10723. "description": "报价小数位",
  10724. "type": "integer"
  10725. },
  10726. "goodscode": {
  10727. "description": "商品代码(内部)",
  10728. "type": "string"
  10729. },
  10730. "goodsid": {
  10731. "description": "商品ID",
  10732. "type": "integer"
  10733. },
  10734. "goodsname": {
  10735. "description": "商品名称",
  10736. "type": "string"
  10737. },
  10738. "marketid": {
  10739. "description": "市场ID",
  10740. "type": "integer"
  10741. },
  10742. "offamount": {
  10743. "description": "优惠金额",
  10744. "type": "number"
  10745. },
  10746. "payamount": {
  10747. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  10748. "type": "number"
  10749. },
  10750. "payflag": {
  10751. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  10752. "type": "integer"
  10753. },
  10754. "paylimitedtime": {
  10755. "description": "支付期限",
  10756. "type": "string"
  10757. },
  10758. "paytime": {
  10759. "description": "付款时间",
  10760. "type": "string"
  10761. },
  10762. "picurls1": {
  10763. "description": "预售商品介绍图片[多张用逗号分隔]",
  10764. "type": "string"
  10765. },
  10766. "picurls2": {
  10767. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  10768. "type": "string"
  10769. },
  10770. "sellaccountid": {
  10771. "description": "卖方账号ID[报价币种]",
  10772. "type": "integer"
  10773. },
  10774. "sellorderid": {
  10775. "description": "卖方委托单号",
  10776. "type": "string"
  10777. },
  10778. "tradeamount": {
  10779. "description": "成交金额",
  10780. "type": "number"
  10781. },
  10782. "tradecharge": {
  10783. "description": "成交手续费(买方)",
  10784. "type": "number"
  10785. },
  10786. "tradedate": {
  10787. "description": "交易日(yyyyMMdd)",
  10788. "type": "string"
  10789. },
  10790. "tradeid": {
  10791. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10792. "type": "string"
  10793. },
  10794. "trademode": {
  10795. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10796. "type": "integer"
  10797. },
  10798. "tradeprice": {
  10799. "description": "成交价格",
  10800. "type": "number"
  10801. },
  10802. "tradeqty": {
  10803. "description": "成交数量",
  10804. "type": "integer"
  10805. },
  10806. "vendorname1": {
  10807. "description": "预售商品供应商名称",
  10808. "type": "string"
  10809. },
  10810. "vendorname2": {
  10811. "description": "挂牌商品供应商名称",
  10812. "type": "string"
  10813. }
  10814. }
  10815. },
  10816. "models.HsbyBuyMyTradeDetail": {
  10817. "type": "object",
  10818. "required": [
  10819. "accountid",
  10820. "buyorsell",
  10821. "goodscode",
  10822. "goodsid",
  10823. "goodsname",
  10824. "marketid",
  10825. "orderid",
  10826. "qty",
  10827. "time",
  10828. "trademode"
  10829. ],
  10830. "properties": {
  10831. "accountid": {
  10832. "description": "账户ID[报价币种]",
  10833. "type": "integer"
  10834. },
  10835. "agreeunit": {
  10836. "description": "合约单位",
  10837. "type": "number"
  10838. },
  10839. "amount": {
  10840. "description": "金额 = 价格 * 数量 * 合约单位",
  10841. "type": "number"
  10842. },
  10843. "buyorsell": {
  10844. "description": "买卖 - 0:买 1:卖",
  10845. "type": "integer"
  10846. },
  10847. "currencysign": {
  10848. "description": "货币符号",
  10849. "type": "string"
  10850. },
  10851. "decimalplace": {
  10852. "description": "报价小数位",
  10853. "type": "integer"
  10854. },
  10855. "goodscode": {
  10856. "description": "商品代码(内部)",
  10857. "type": "string"
  10858. },
  10859. "goodsid": {
  10860. "description": "商品ID",
  10861. "type": "integer"
  10862. },
  10863. "goodsname": {
  10864. "description": "商品名称",
  10865. "type": "string"
  10866. },
  10867. "marketid": {
  10868. "description": "市场ID",
  10869. "type": "integer"
  10870. },
  10871. "orderid": {
  10872. "description": "单号(成交单号)",
  10873. "type": "string"
  10874. },
  10875. "picurls1": {
  10876. "description": "预售商品介绍图片[多张用逗号分隔]",
  10877. "type": "string"
  10878. },
  10879. "picurls2": {
  10880. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  10881. "type": "string"
  10882. },
  10883. "price": {
  10884. "description": "价格",
  10885. "type": "number"
  10886. },
  10887. "qty": {
  10888. "description": "数量",
  10889. "type": "integer"
  10890. },
  10891. "time": {
  10892. "description": "时间",
  10893. "type": "string"
  10894. },
  10895. "trademode": {
  10896. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10897. "type": "integer"
  10898. },
  10899. "vendorname1": {
  10900. "description": "预售商品供应商名称",
  10901. "type": "string"
  10902. },
  10903. "vendorname2": {
  10904. "description": "挂牌商品供应商名称",
  10905. "type": "string"
  10906. }
  10907. }
  10908. },
  10909. "models.HsbyGoodsOrderDetail": {
  10910. "type": "object",
  10911. "required": [
  10912. "buyorsell",
  10913. "orderid",
  10914. "ordertime"
  10915. ],
  10916. "properties": {
  10917. "buyorsell": {
  10918. "description": "买卖 - 0:买 1:卖",
  10919. "type": "integer"
  10920. },
  10921. "currencysign": {
  10922. "description": "货币符号",
  10923. "type": "string"
  10924. },
  10925. "customername": {
  10926. "description": "客户名称(企业名称),已脱敏",
  10927. "type": "string"
  10928. },
  10929. "enableqty": {
  10930. "description": "可用数量",
  10931. "type": "integer"
  10932. },
  10933. "goodunit": {
  10934. "description": "报价单位",
  10935. "type": "string"
  10936. },
  10937. "orderid": {
  10938. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10939. "type": "string"
  10940. },
  10941. "orderprice": {
  10942. "description": "委托价格",
  10943. "type": "number"
  10944. },
  10945. "ordertime": {
  10946. "description": "委托时间",
  10947. "type": "string"
  10948. }
  10949. }
  10950. },
  10951. "models.HsbyListingGoodsDetail": {
  10952. "type": "object",
  10953. "required": [
  10954. "goodscode",
  10955. "goodsid",
  10956. "goodsname",
  10957. "marketid",
  10958. "trademode"
  10959. ],
  10960. "properties": {
  10961. "agreeunit": {
  10962. "description": "合约单位",
  10963. "type": "number"
  10964. },
  10965. "buymaxqty": {
  10966. "description": "购买上限 [71] - 0为不限",
  10967. "type": "integer"
  10968. },
  10969. "currency": {
  10970. "description": "货币",
  10971. "type": "string"
  10972. },
  10973. "currencysign": {
  10974. "description": "货币符号",
  10975. "type": "string"
  10976. },
  10977. "decimalplace": {
  10978. "description": "报价小数位",
  10979. "type": "integer"
  10980. },
  10981. "desccityid": {
  10982. "description": "目的地(市)ID",
  10983. "type": "integer"
  10984. },
  10985. "descprovinceid": {
  10986. "description": "目的地(省)ID",
  10987. "type": "integer"
  10988. },
  10989. "goodscode": {
  10990. "description": "商品代码(内部)",
  10991. "type": "string"
  10992. },
  10993. "goodsdesc": {
  10994. "description": "商品详情",
  10995. "type": "string"
  10996. },
  10997. "goodsid": {
  10998. "description": "商品ID(自增ID SEQ_GOODS)",
  10999. "type": "integer"
  11000. },
  11001. "goodsname": {
  11002. "description": "商品名称",
  11003. "type": "string"
  11004. },
  11005. "goodsprice": {
  11006. "description": "商品价格",
  11007. "type": "number"
  11008. },
  11009. "hotindex": {
  11010. "description": "景点热度",
  11011. "type": "integer"
  11012. },
  11013. "last": {
  11014. "description": "现价",
  11015. "type": "number"
  11016. },
  11017. "limitdown": {
  11018. "description": "跌停价",
  11019. "type": "number"
  11020. },
  11021. "limitup": {
  11022. "description": "涨停价",
  11023. "type": "number"
  11024. },
  11025. "lotsize": {
  11026. "description": "手数最小变动单位",
  11027. "type": "integer"
  11028. },
  11029. "marketid": {
  11030. "description": "所属市场ID",
  11031. "type": "integer"
  11032. },
  11033. "picurls": {
  11034. "description": "介绍图片[多张用逗号分隔]",
  11035. "type": "string"
  11036. },
  11037. "quoteminunit": {
  11038. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11039. "type": "integer"
  11040. },
  11041. "stepvalue": {
  11042. "description": "价格最小变动单位",
  11043. "type": "number"
  11044. },
  11045. "trademode": {
  11046. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11047. "type": "integer"
  11048. },
  11049. "vendorattr": {
  11050. "description": "供应商附件(多张,逗号分隔)",
  11051. "type": "string"
  11052. },
  11053. "vendorname": {
  11054. "description": "供应商名称",
  11055. "type": "string"
  11056. },
  11057. "vendorphone": {
  11058. "description": "供应商客服电话",
  11059. "type": "string"
  11060. },
  11061. "videourls": {
  11062. "description": "介绍视频[多张用逗号分隔]",
  11063. "type": "string"
  11064. }
  11065. }
  11066. },
  11067. "models.HsbyMarketGoods": {
  11068. "type": "object",
  11069. "required": [
  11070. "accountid",
  11071. "buyorsell",
  11072. "goodscode",
  11073. "goodsid",
  11074. "goodsname",
  11075. "marketid",
  11076. "orderid",
  11077. "trademode"
  11078. ],
  11079. "properties": {
  11080. "accountid": {
  11081. "description": "账户ID[报价币种]",
  11082. "type": "integer"
  11083. },
  11084. "agreeunit": {
  11085. "description": "合约单位",
  11086. "type": "number"
  11087. },
  11088. "buyorsell": {
  11089. "description": "买卖 - 0:买 1:卖",
  11090. "type": "integer"
  11091. },
  11092. "categoryid": {
  11093. "description": "类别ID(WRCATEGORY)",
  11094. "type": "integer"
  11095. },
  11096. "currency": {
  11097. "description": "货币",
  11098. "type": "string"
  11099. },
  11100. "currencysign": {
  11101. "description": "货币符号",
  11102. "type": "string"
  11103. },
  11104. "customername": {
  11105. "description": "卖家名称",
  11106. "type": "string"
  11107. },
  11108. "decimalplace": {
  11109. "description": "报价小数位",
  11110. "type": "integer"
  11111. },
  11112. "goodscode": {
  11113. "description": "商品代码(内部)",
  11114. "type": "string"
  11115. },
  11116. "goodsid": {
  11117. "description": "商品ID",
  11118. "type": "integer"
  11119. },
  11120. "goodsname": {
  11121. "description": "商品名称",
  11122. "type": "string"
  11123. },
  11124. "goodsprice": {
  11125. "description": "商品价格",
  11126. "type": "number"
  11127. },
  11128. "hascoupon": {
  11129. "description": "是否可用优惠卷",
  11130. "type": "boolean"
  11131. },
  11132. "hotindex": {
  11133. "description": "景点热度",
  11134. "type": "integer"
  11135. },
  11136. "marketid": {
  11137. "description": "市场ID",
  11138. "type": "integer"
  11139. },
  11140. "orderid": {
  11141. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11142. "type": "string"
  11143. },
  11144. "orderprice": {
  11145. "description": "委托价格",
  11146. "type": "number"
  11147. },
  11148. "orderstatus": {
  11149. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11150. "type": "integer"
  11151. },
  11152. "picurls": {
  11153. "description": "介绍图片[多张用逗号分隔]",
  11154. "type": "string"
  11155. },
  11156. "quoteminunit": {
  11157. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11158. "type": "integer"
  11159. },
  11160. "sellUserID": {
  11161. "description": "卖方UserID",
  11162. "type": "integer"
  11163. },
  11164. "trademode": {
  11165. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11166. "type": "integer"
  11167. },
  11168. "videourls": {
  11169. "description": "介绍视频[多张用逗号分隔]",
  11170. "type": "string"
  11171. }
  11172. }
  11173. },
  11174. "models.HsbyMarketGoodsDetail": {
  11175. "type": "object",
  11176. "required": [
  11177. "accountid",
  11178. "buyorsell",
  11179. "goodscode",
  11180. "goodsid",
  11181. "goodsname",
  11182. "marketid",
  11183. "orderid",
  11184. "orderqty",
  11185. "trademode"
  11186. ],
  11187. "properties": {
  11188. "accountid": {
  11189. "description": "账户ID[报价币种]",
  11190. "type": "integer"
  11191. },
  11192. "agreeunit": {
  11193. "description": "合约单位",
  11194. "type": "number"
  11195. },
  11196. "buymaxqty": {
  11197. "description": "购买上限 [71] - 0为不限",
  11198. "type": "integer"
  11199. },
  11200. "buyorsell": {
  11201. "description": "买卖 - 0:买 1:卖",
  11202. "type": "integer"
  11203. },
  11204. "cancelqty": {
  11205. "description": "撤单数量",
  11206. "type": "integer"
  11207. },
  11208. "categoryid": {
  11209. "description": "类别ID(WRCATEGORY)",
  11210. "type": "integer"
  11211. },
  11212. "currency": {
  11213. "description": "货币",
  11214. "type": "string"
  11215. },
  11216. "currencysign": {
  11217. "description": "货币符号",
  11218. "type": "string"
  11219. },
  11220. "customername": {
  11221. "description": "卖家名称",
  11222. "type": "string"
  11223. },
  11224. "decimalplace": {
  11225. "description": "报价小数位",
  11226. "type": "integer"
  11227. },
  11228. "goodscode": {
  11229. "description": "商品代码(内部)",
  11230. "type": "string"
  11231. },
  11232. "goodsdesc": {
  11233. "description": "商品详情",
  11234. "type": "string"
  11235. },
  11236. "goodsid": {
  11237. "description": "商品ID",
  11238. "type": "integer"
  11239. },
  11240. "goodsname": {
  11241. "description": "商品名称",
  11242. "type": "string"
  11243. },
  11244. "goodsprice": {
  11245. "description": "商品价格",
  11246. "type": "number"
  11247. },
  11248. "hotindex": {
  11249. "description": "景点热度",
  11250. "type": "integer"
  11251. },
  11252. "lotsize": {
  11253. "description": "手数最小变动单位",
  11254. "type": "integer"
  11255. },
  11256. "marketid": {
  11257. "description": "市场ID",
  11258. "type": "integer"
  11259. },
  11260. "orderid": {
  11261. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11262. "type": "string"
  11263. },
  11264. "orderprice": {
  11265. "description": "委托价格",
  11266. "type": "number"
  11267. },
  11268. "orderqty": {
  11269. "description": "委托数量",
  11270. "type": "integer"
  11271. },
  11272. "orderstatus": {
  11273. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11274. "type": "integer"
  11275. },
  11276. "picurls": {
  11277. "description": "介绍图片[多张用逗号分隔]",
  11278. "type": "string"
  11279. },
  11280. "quoteminunit": {
  11281. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11282. "type": "integer"
  11283. },
  11284. "sellUserID": {
  11285. "description": "卖方UserID",
  11286. "type": "integer"
  11287. },
  11288. "trademode": {
  11289. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11290. "type": "integer"
  11291. },
  11292. "tradeqty": {
  11293. "description": "成交数量",
  11294. "type": "integer"
  11295. },
  11296. "vendorattr": {
  11297. "description": "供应商附件(多张,逗号分隔)",
  11298. "type": "string"
  11299. },
  11300. "vendorname": {
  11301. "description": "供应商名称",
  11302. "type": "string"
  11303. },
  11304. "vendorphone": {
  11305. "description": "供应商客服电话",
  11306. "type": "string"
  11307. },
  11308. "videourls": {
  11309. "description": "介绍视频[多张用逗号分隔]",
  11310. "type": "string"
  11311. }
  11312. }
  11313. },
  11314. "models.HsbyMarketInfo": {
  11315. "type": "object",
  11316. "required": [
  11317. "marketid",
  11318. "marketstatus",
  11319. "trademode"
  11320. ],
  11321. "properties": {
  11322. "marketid": {
  11323. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  11324. "type": "integer"
  11325. },
  11326. "marketname": {
  11327. "description": "市场名称",
  11328. "type": "string"
  11329. },
  11330. "marketstatus": {
  11331. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  11332. "type": "integer"
  11333. },
  11334. "trademode": {
  11335. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11336. "type": "integer"
  11337. }
  11338. }
  11339. },
  11340. "models.HsbyMyGoods": {
  11341. "type": "object",
  11342. "required": [
  11343. "accountid",
  11344. "goodscode",
  11345. "goodsid",
  11346. "goodsname",
  11347. "marketid",
  11348. "trademode"
  11349. ],
  11350. "properties": {
  11351. "accountid": {
  11352. "description": "账号Id",
  11353. "type": "integer"
  11354. },
  11355. "agreeunit": {
  11356. "description": "合约单位",
  11357. "type": "number"
  11358. },
  11359. "buyaverageprice": {
  11360. "description": "持仓均价",
  11361. "type": "number"
  11362. },
  11363. "buycurholderamount": {
  11364. "description": "买当前持仓总金额[商品币种]",
  11365. "type": "number"
  11366. },
  11367. "buycurpositionqty": {
  11368. "description": "买当前持仓总数量",
  11369. "type": "integer"
  11370. },
  11371. "buymaxqty": {
  11372. "description": "购买上限 [71] - 0为不限",
  11373. "type": "integer"
  11374. },
  11375. "currencysign": {
  11376. "description": "货币符号",
  11377. "type": "string"
  11378. },
  11379. "decimalplace": {
  11380. "description": "报价小数位",
  11381. "type": "integer"
  11382. },
  11383. "enableqty": {
  11384. "description": "可用数量",
  11385. "type": "integer"
  11386. },
  11387. "goodscode": {
  11388. "description": "商品代码(内部)",
  11389. "type": "string"
  11390. },
  11391. "goodsid": {
  11392. "description": "商品Id",
  11393. "type": "integer"
  11394. },
  11395. "goodsname": {
  11396. "description": "商品名称",
  11397. "type": "string"
  11398. },
  11399. "goodsprice": {
  11400. "description": "商品价格",
  11401. "type": "number"
  11402. },
  11403. "goodsstatus": {
  11404. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  11405. "type": "integer"
  11406. },
  11407. "last": {
  11408. "description": "现价(仅使用于挂牌点选)",
  11409. "type": "number"
  11410. },
  11411. "limitdown": {
  11412. "description": "跌停价(仅使用于挂牌点选)",
  11413. "type": "number"
  11414. },
  11415. "limitup": {
  11416. "description": "涨停价(仅使用于挂牌点选)",
  11417. "type": "number"
  11418. },
  11419. "lotsize": {
  11420. "description": "手数最小变动单位",
  11421. "type": "integer"
  11422. },
  11423. "marketid": {
  11424. "description": "所属市场ID",
  11425. "type": "integer"
  11426. },
  11427. "picurls": {
  11428. "description": "介绍图片[多张用逗号分隔]",
  11429. "type": "string"
  11430. },
  11431. "quoteminunit": {
  11432. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11433. "type": "integer"
  11434. },
  11435. "stepvalue": {
  11436. "description": "价格最小变动单位",
  11437. "type": "number"
  11438. },
  11439. "trademode": {
  11440. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11441. "type": "integer"
  11442. }
  11443. }
  11444. },
  11445. "models.HsbyMyPackage": {
  11446. "type": "object",
  11447. "required": [
  11448. "goodscode",
  11449. "goodsname",
  11450. "takeorderid",
  11451. "trademode"
  11452. ],
  11453. "properties": {
  11454. "accountid": {
  11455. "description": "账户ID",
  11456. "type": "integer"
  11457. },
  11458. "address": {
  11459. "description": "提货人详细地址",
  11460. "type": "string"
  11461. },
  11462. "agreeunit": {
  11463. "description": "合约单位",
  11464. "type": "number"
  11465. },
  11466. "amount": {
  11467. "description": "提货金额",
  11468. "type": "number"
  11469. },
  11470. "auditer": {
  11471. "description": "审核人",
  11472. "type": "integer"
  11473. },
  11474. "audittime": {
  11475. "description": "审核时间",
  11476. "type": "string"
  11477. },
  11478. "averageprice": {
  11479. "description": "均价",
  11480. "type": "number"
  11481. },
  11482. "cardnum": {
  11483. "description": "提货人证件号码",
  11484. "type": "string"
  11485. },
  11486. "cardtypeid": {
  11487. "description": "提货人证件类型",
  11488. "type": "integer"
  11489. },
  11490. "checkremark": {
  11491. "description": "审核备注",
  11492. "type": "string"
  11493. },
  11494. "currencysign": {
  11495. "description": "货币符号",
  11496. "type": "string"
  11497. },
  11498. "decimalplace": {
  11499. "description": "报价小数位",
  11500. "type": "integer"
  11501. },
  11502. "goodscode": {
  11503. "description": "商品代码(内部)",
  11504. "type": "string"
  11505. },
  11506. "goodsid": {
  11507. "description": "商品ID",
  11508. "type": "integer"
  11509. },
  11510. "goodsname": {
  11511. "description": "商品名称",
  11512. "type": "string"
  11513. },
  11514. "handlestatus": {
  11515. "description": "处理状态",
  11516. "type": "integer"
  11517. },
  11518. "marketid": {
  11519. "description": "市场ID",
  11520. "type": "integer"
  11521. },
  11522. "phonenum": {
  11523. "description": "提货人联系方式",
  11524. "type": "string"
  11525. },
  11526. "picurls": {
  11527. "description": "介绍图片[多张用逗号分隔]",
  11528. "type": "string"
  11529. },
  11530. "qty": {
  11531. "description": "提货数量",
  11532. "type": "number"
  11533. },
  11534. "recivername": {
  11535. "description": "提货人姓名",
  11536. "type": "string"
  11537. },
  11538. "reqtime": {
  11539. "description": "更新时间",
  11540. "type": "string"
  11541. },
  11542. "takemode": {
  11543. "description": "提货方式 - 2:自提 3:配送",
  11544. "type": "integer"
  11545. },
  11546. "takeorderid": {
  11547. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  11548. "type": "string"
  11549. },
  11550. "takeorderstatus": {
  11551. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11552. "type": "integer"
  11553. },
  11554. "takeremark": {
  11555. "description": "提货备注",
  11556. "type": "string"
  11557. },
  11558. "tradedate": {
  11559. "description": "交易日(yyyyMMdd)",
  11560. "type": "string"
  11561. },
  11562. "trademode": {
  11563. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11564. "type": "integer"
  11565. },
  11566. "userid": {
  11567. "description": "用户ID",
  11568. "type": "integer"
  11569. },
  11570. "vendorname": {
  11571. "description": "供应商名称",
  11572. "type": "string"
  11573. }
  11574. }
  11575. },
  11576. "models.HsbyPreGoods": {
  11577. "type": "object",
  11578. "required": [
  11579. "goodscode",
  11580. "goodsid",
  11581. "goodsname",
  11582. "marketid",
  11583. "trademode"
  11584. ],
  11585. "properties": {
  11586. "agreeunit": {
  11587. "description": "合约单位",
  11588. "type": "number"
  11589. },
  11590. "currency": {
  11591. "description": "货币",
  11592. "type": "string"
  11593. },
  11594. "currencysign": {
  11595. "description": "货币符号",
  11596. "type": "string"
  11597. },
  11598. "decimalplace": {
  11599. "description": "报价小数位",
  11600. "type": "integer"
  11601. },
  11602. "enableqty": {
  11603. "description": "剩余数量",
  11604. "type": "integer"
  11605. },
  11606. "goodscode": {
  11607. "description": "商品代码(内部)",
  11608. "type": "string"
  11609. },
  11610. "goodsid": {
  11611. "description": "商品ID(自增ID SEQ_GOODS)",
  11612. "type": "integer"
  11613. },
  11614. "goodsname": {
  11615. "description": "商品名称",
  11616. "type": "string"
  11617. },
  11618. "goodsstatus": {
  11619. "description": "商品状态- 2:未上市 3:上市",
  11620. "type": "integer"
  11621. },
  11622. "lasttradedate": {
  11623. "description": "最后交易日期(状态:待退市)",
  11624. "type": "string"
  11625. },
  11626. "listingdate": {
  11627. "description": "交易开始日期",
  11628. "type": "string"
  11629. },
  11630. "marketid": {
  11631. "description": "所属市场ID",
  11632. "type": "integer"
  11633. },
  11634. "picurls": {
  11635. "description": "介绍图片[多张用逗号分隔]",
  11636. "type": "string"
  11637. },
  11638. "presaledqty": {
  11639. "description": "已预售量(预售结束时更新)",
  11640. "type": "integer"
  11641. },
  11642. "presaleqty": {
  11643. "description": "预售数量",
  11644. "type": "integer"
  11645. },
  11646. "quoteminunit": {
  11647. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11648. "type": "integer"
  11649. },
  11650. "refprice": {
  11651. "description": "参考价格[一口价]",
  11652. "type": "number"
  11653. },
  11654. "relatedgoodsid": {
  11655. "description": "关联交易合约ID",
  11656. "type": "integer"
  11657. },
  11658. "trademode": {
  11659. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11660. "type": "integer"
  11661. },
  11662. "videourls": {
  11663. "description": "介绍视频[多张用逗号分隔]",
  11664. "type": "string"
  11665. }
  11666. }
  11667. },
  11668. "models.HsbyPreGoodsDetail": {
  11669. "type": "object",
  11670. "required": [
  11671. "goodscode",
  11672. "goodsid",
  11673. "goodsname",
  11674. "marketid",
  11675. "trademode"
  11676. ],
  11677. "properties": {
  11678. "agreeunit": {
  11679. "description": "合约单位",
  11680. "type": "number"
  11681. },
  11682. "buymaxqty": {
  11683. "description": "购买上限 [71] - 0为不限",
  11684. "type": "integer"
  11685. },
  11686. "currency": {
  11687. "description": "货币",
  11688. "type": "string"
  11689. },
  11690. "currencysign": {
  11691. "description": "货币符号",
  11692. "type": "string"
  11693. },
  11694. "customername": {
  11695. "description": "发行单位",
  11696. "type": "string"
  11697. },
  11698. "decimalplace": {
  11699. "description": "报价小数位",
  11700. "type": "integer"
  11701. },
  11702. "desccityid": {
  11703. "description": "目的地(市)ID",
  11704. "type": "integer"
  11705. },
  11706. "descprovinceid": {
  11707. "description": "目的地(省)ID",
  11708. "type": "integer"
  11709. },
  11710. "enableqty": {
  11711. "description": "剩余数量",
  11712. "type": "integer"
  11713. },
  11714. "goodscode": {
  11715. "description": "商品代码(内部)",
  11716. "type": "string"
  11717. },
  11718. "goodsdesc": {
  11719. "description": "商品详情",
  11720. "type": "string"
  11721. },
  11722. "goodsid": {
  11723. "description": "商品ID(自增ID SEQ_GOODS)",
  11724. "type": "integer"
  11725. },
  11726. "goodsname": {
  11727. "description": "商品名称",
  11728. "type": "string"
  11729. },
  11730. "goodsstatus": {
  11731. "description": "商品状态- 2:未上市 3:上市",
  11732. "type": "integer"
  11733. },
  11734. "goodunit": {
  11735. "description": "报价单位",
  11736. "type": "string"
  11737. },
  11738. "lasttradedate": {
  11739. "description": "最后交易日期(状态:待退市)",
  11740. "type": "string"
  11741. },
  11742. "listingdate": {
  11743. "description": "交易开始日期",
  11744. "type": "string"
  11745. },
  11746. "lotsize": {
  11747. "description": "手数最小变动单位",
  11748. "type": "integer"
  11749. },
  11750. "marketid": {
  11751. "description": "所属市场ID",
  11752. "type": "integer"
  11753. },
  11754. "picurls": {
  11755. "description": "介绍图片[多张用逗号分隔]",
  11756. "type": "string"
  11757. },
  11758. "presaledqty": {
  11759. "description": "已预售量(预售结束时更新)",
  11760. "type": "integer"
  11761. },
  11762. "presaleqty": {
  11763. "description": "预售数量",
  11764. "type": "integer"
  11765. },
  11766. "quoteminunit": {
  11767. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11768. "type": "integer"
  11769. },
  11770. "refprice": {
  11771. "description": "参考价格[一口价]",
  11772. "type": "number"
  11773. },
  11774. "relatedgoodsid": {
  11775. "description": "关联交易合约ID",
  11776. "type": "integer"
  11777. },
  11778. "stepvalue": {
  11779. "description": "价格最小变动单位",
  11780. "type": "number"
  11781. },
  11782. "trademode": {
  11783. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11784. "type": "integer"
  11785. },
  11786. "vendorattr": {
  11787. "description": "供应商附件(多张,逗号分隔)",
  11788. "type": "string"
  11789. },
  11790. "vendorname": {
  11791. "description": "供应商名称",
  11792. "type": "string"
  11793. },
  11794. "vendorphone": {
  11795. "description": "供应商客服电话",
  11796. "type": "string"
  11797. },
  11798. "videourls": {
  11799. "description": "介绍视频[多张用逗号分隔]",
  11800. "type": "string"
  11801. }
  11802. }
  11803. },
  11804. "models.HsbySellCollectionOrder": {
  11805. "type": "object",
  11806. "required": [
  11807. "goodscode",
  11808. "goodsname",
  11809. "tradeid",
  11810. "trademode"
  11811. ],
  11812. "properties": {
  11813. "agreeunit": {
  11814. "description": "合约单位",
  11815. "type": "number"
  11816. },
  11817. "buyaccountid": {
  11818. "description": "买方账号ID[报价币种]",
  11819. "type": "integer"
  11820. },
  11821. "buyorderid": {
  11822. "description": "买方委托单号",
  11823. "type": "string"
  11824. },
  11825. "createtime": {
  11826. "description": "创建时间",
  11827. "type": "string"
  11828. },
  11829. "currencysign": {
  11830. "description": "货币符号",
  11831. "type": "string"
  11832. },
  11833. "decimalplace": {
  11834. "description": "报价小数位",
  11835. "type": "integer"
  11836. },
  11837. "goodscode": {
  11838. "description": "商品代码(内部)",
  11839. "type": "string"
  11840. },
  11841. "goodsid": {
  11842. "description": "商品ID",
  11843. "type": "integer"
  11844. },
  11845. "goodsname": {
  11846. "description": "商品名称",
  11847. "type": "string"
  11848. },
  11849. "marketid": {
  11850. "description": "市场ID",
  11851. "type": "integer"
  11852. },
  11853. "offamount": {
  11854. "description": "优惠金额",
  11855. "type": "number"
  11856. },
  11857. "payamount": {
  11858. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  11859. "type": "number"
  11860. },
  11861. "payflag": {
  11862. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11863. "type": "integer"
  11864. },
  11865. "paylimitedtime": {
  11866. "description": "支付期限",
  11867. "type": "string"
  11868. },
  11869. "paytime": {
  11870. "description": "付款时间",
  11871. "type": "string"
  11872. },
  11873. "picurls": {
  11874. "description": "商品介绍图片[多张用逗号分隔]",
  11875. "type": "string"
  11876. },
  11877. "sellaccountid": {
  11878. "description": "卖方账号ID[报价币种]",
  11879. "type": "integer"
  11880. },
  11881. "sellorderid": {
  11882. "description": "卖方委托单号",
  11883. "type": "string"
  11884. },
  11885. "tradeamount": {
  11886. "description": "成交金额",
  11887. "type": "number"
  11888. },
  11889. "tradecharge": {
  11890. "description": "成交手续费(买方)",
  11891. "type": "number"
  11892. },
  11893. "tradedate": {
  11894. "description": "交易日(yyyyMMdd)",
  11895. "type": "string"
  11896. },
  11897. "tradeid": {
  11898. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11899. "type": "string"
  11900. },
  11901. "trademode": {
  11902. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11903. "type": "integer"
  11904. },
  11905. "tradeprice": {
  11906. "description": "成交价格",
  11907. "type": "number"
  11908. },
  11909. "tradeqty": {
  11910. "description": "成交数量",
  11911. "type": "integer"
  11912. }
  11913. }
  11914. },
  11915. "models.HsbySellMyDetail": {
  11916. "type": "object",
  11917. "required": [
  11918. "accountid",
  11919. "buyorsell",
  11920. "goodscode",
  11921. "goodsid",
  11922. "goodsname",
  11923. "marketid",
  11924. "orderid",
  11925. "time",
  11926. "trademode"
  11927. ],
  11928. "properties": {
  11929. "accountid": {
  11930. "description": "账户ID[报价币种]",
  11931. "type": "integer"
  11932. },
  11933. "agreeunit": {
  11934. "description": "合约单位",
  11935. "type": "number"
  11936. },
  11937. "buyorsell": {
  11938. "description": "买卖 - 0:买 1:卖",
  11939. "type": "integer"
  11940. },
  11941. "currencysign": {
  11942. "description": "货币符号",
  11943. "type": "string"
  11944. },
  11945. "decimalplace": {
  11946. "description": "报价小数位",
  11947. "type": "integer"
  11948. },
  11949. "goodscode": {
  11950. "description": "商品代码(内部)",
  11951. "type": "string"
  11952. },
  11953. "goodsid": {
  11954. "description": "商品ID",
  11955. "type": "integer"
  11956. },
  11957. "goodsname": {
  11958. "description": "商品名称",
  11959. "type": "string"
  11960. },
  11961. "marketid": {
  11962. "description": "市场ID",
  11963. "type": "integer"
  11964. },
  11965. "orderid": {
  11966. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  11967. "type": "string"
  11968. },
  11969. "ordertype": {
  11970. "description": "单据类型:0 - 发布中, 1 - 已完成",
  11971. "type": "integer"
  11972. },
  11973. "picurls": {
  11974. "description": "介绍图片[多张用逗号分隔]",
  11975. "type": "string"
  11976. },
  11977. "price": {
  11978. "description": "价格",
  11979. "type": "number"
  11980. },
  11981. "qty": {
  11982. "description": "数量",
  11983. "type": "integer"
  11984. },
  11985. "time": {
  11986. "description": "时间",
  11987. "type": "string"
  11988. },
  11989. "trademode": {
  11990. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11991. "type": "integer"
  11992. },
  11993. "vendorname": {
  11994. "description": "供应商名称",
  11995. "type": "string"
  11996. }
  11997. }
  11998. },
  11999. "models.HsbyTopGoods": {
  12000. "type": "object",
  12001. "required": [
  12002. "goodscode",
  12003. "goodsid",
  12004. "goodsname",
  12005. "marketid",
  12006. "trademode"
  12007. ],
  12008. "properties": {
  12009. "agreeunit": {
  12010. "description": "合约单位",
  12011. "type": "number"
  12012. },
  12013. "currency": {
  12014. "description": "货币",
  12015. "type": "string"
  12016. },
  12017. "currencysign": {
  12018. "description": "货币符号",
  12019. "type": "string"
  12020. },
  12021. "decimalplace": {
  12022. "description": "报价小数位",
  12023. "type": "integer"
  12024. },
  12025. "goodscode": {
  12026. "description": "商品代码(内部)",
  12027. "type": "string"
  12028. },
  12029. "goodsid": {
  12030. "description": "商品ID(自增ID SEQ_GOODS)",
  12031. "type": "integer"
  12032. },
  12033. "goodsname": {
  12034. "description": "商品名称",
  12035. "type": "string"
  12036. },
  12037. "hotindex": {
  12038. "description": "景点热度",
  12039. "type": "integer"
  12040. },
  12041. "last": {
  12042. "description": "现价",
  12043. "type": "number"
  12044. },
  12045. "marketid": {
  12046. "description": "所属市场ID",
  12047. "type": "integer"
  12048. },
  12049. "picurls": {
  12050. "description": "介绍图片[多张用逗号分隔]",
  12051. "type": "string"
  12052. },
  12053. "quoteminunit": {
  12054. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12055. "type": "integer"
  12056. },
  12057. "trademode": {
  12058. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12059. "type": "integer"
  12060. },
  12061. "videourls": {
  12062. "description": "介绍视频[多张用逗号分隔]",
  12063. "type": "string"
  12064. }
  12065. }
  12066. },
  12067. "models.HybsMyBuyOrderDetail": {
  12068. "type": "object",
  12069. "required": [
  12070. "accountid",
  12071. "buyorsell",
  12072. "goodscode",
  12073. "goodsid",
  12074. "goodsname",
  12075. "marketid",
  12076. "orderid",
  12077. "orderqty",
  12078. "ordertime",
  12079. "trademode"
  12080. ],
  12081. "properties": {
  12082. "accountid": {
  12083. "description": "账户ID[报价币种]",
  12084. "type": "integer"
  12085. },
  12086. "agreeunit": {
  12087. "description": "合约单位",
  12088. "type": "number"
  12089. },
  12090. "buyorsell": {
  12091. "description": "买卖 - 0:买 1:卖",
  12092. "type": "integer"
  12093. },
  12094. "cancelqty": {
  12095. "description": "撤单数量",
  12096. "type": "integer"
  12097. },
  12098. "currencysign": {
  12099. "description": "货币符号",
  12100. "type": "string"
  12101. },
  12102. "decimalplace": {
  12103. "description": "报价小数位",
  12104. "type": "integer"
  12105. },
  12106. "goodscode": {
  12107. "description": "商品代码(内部)",
  12108. "type": "string"
  12109. },
  12110. "goodsid": {
  12111. "description": "商品ID",
  12112. "type": "integer"
  12113. },
  12114. "goodsname": {
  12115. "description": "商品名称",
  12116. "type": "string"
  12117. },
  12118. "listingselecttype": {
  12119. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12120. "type": "integer"
  12121. },
  12122. "marketid": {
  12123. "description": "市场ID",
  12124. "type": "integer"
  12125. },
  12126. "mybuystatus": {
  12127. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  12128. "type": "integer"
  12129. },
  12130. "orderamount": {
  12131. "description": "委托金额",
  12132. "type": "number"
  12133. },
  12134. "orderid": {
  12135. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12136. "type": "string"
  12137. },
  12138. "orderprice": {
  12139. "description": "委托价格",
  12140. "type": "number"
  12141. },
  12142. "orderqty": {
  12143. "description": "委托数量",
  12144. "type": "integer"
  12145. },
  12146. "orderstatus": {
  12147. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12148. "type": "integer"
  12149. },
  12150. "ordertime": {
  12151. "description": "委托时间",
  12152. "type": "string"
  12153. },
  12154. "picurls1": {
  12155. "description": "预售商品介绍图片[多张用逗号分隔]",
  12156. "type": "string"
  12157. },
  12158. "picurls2": {
  12159. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12160. "type": "string"
  12161. },
  12162. "trademode": {
  12163. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12164. "type": "integer"
  12165. },
  12166. "tradeqty": {
  12167. "description": "成交数量",
  12168. "type": "integer"
  12169. },
  12170. "vendorname1": {
  12171. "description": "预售商品供应商名称",
  12172. "type": "string"
  12173. },
  12174. "vendorname2": {
  12175. "description": "挂牌商品供应商名称",
  12176. "type": "string"
  12177. }
  12178. }
  12179. },
  12180. "models.Market": {
  12181. "type": "object",
  12182. "required": [
  12183. "marketid",
  12184. "marketstatus",
  12185. "openmethod",
  12186. "reckonpricealgorithm",
  12187. "trademode",
  12188. "tradeproperty"
  12189. ],
  12190. "properties": {
  12191. "auctionwrtype": {
  12192. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  12193. "type": "integer"
  12194. },
  12195. "canacceptquote": {
  12196. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  12197. "type": "integer"
  12198. },
  12199. "cangoodsexercise": {
  12200. "description": "[期权]是否可现货行权- 0:否 1:是",
  12201. "type": "integer"
  12202. },
  12203. "cangoodsexercisetype": {
  12204. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  12205. "type": "integer"
  12206. },
  12207. "canmanualquotestrike": {
  12208. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  12209. "type": "integer"
  12210. },
  12211. "canmutistage": {
  12212. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  12213. "type": "integer"
  12214. },
  12215. "canpreexercise": {
  12216. "description": "[期权]是否可预申报- 0:否 1:是",
  12217. "type": "integer"
  12218. },
  12219. "clearinterval": {
  12220. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  12221. "type": "integer"
  12222. },
  12223. "contracttmp": {
  12224. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  12225. "type": "string"
  12226. },
  12227. "exchareaid": {
  12228. "description": "所属交易所,可以没有",
  12229. "type": "integer"
  12230. },
  12231. "goodstype": {
  12232. "description": "商品类型 - 1:交易商品 2:仓单商品",
  12233. "type": "integer"
  12234. },
  12235. "hasrebate": {
  12236. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  12237. "type": "integer"
  12238. },
  12239. "hastradecredit": {
  12240. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  12241. "type": "integer"
  12242. },
  12243. "haswr": {
  12244. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  12245. "type": "integer"
  12246. },
  12247. "isdeductmargin": {
  12248. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  12249. "type": "integer"
  12250. },
  12251. "isrecordsource": {
  12252. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  12253. "type": "integer"
  12254. },
  12255. "isreleasemargin": {
  12256. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  12257. "type": "integer"
  12258. },
  12259. "marginformula": {
  12260. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  12261. "type": "integer"
  12262. },
  12263. "marginformula2": {
  12264. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  12265. "type": "integer"
  12266. },
  12267. "marketid": {
  12268. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  12269. "type": "integer"
  12270. },
  12271. "marketname": {
  12272. "description": "市场名称",
  12273. "type": "string"
  12274. },
  12275. "marketserviceid": {
  12276. "description": "市场服务ID",
  12277. "type": "integer"
  12278. },
  12279. "marketstatus": {
  12280. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  12281. "type": "integer"
  12282. },
  12283. "markettype": {
  12284. "description": "市场类型- 1:非交易服务 2:交易服务",
  12285. "type": "integer"
  12286. },
  12287. "matchermode": {
  12288. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  12289. "type": "integer"
  12290. },
  12291. "openmethod": {
  12292. "description": "开盘模式 - 0 自动 1手动",
  12293. "type": "integer"
  12294. },
  12295. "otcuserid": {
  12296. "description": "场外期权做市商[场外期权]",
  12297. "type": "integer"
  12298. },
  12299. "outersynctime": {
  12300. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  12301. "type": "string"
  12302. },
  12303. "pendingflag": {
  12304. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  12305. "type": "integer"
  12306. },
  12307. "pendingtime": {
  12308. "description": "待开市时间[通道交易-对冲](HH:mm)",
  12309. "type": "string"
  12310. },
  12311. "performancetempid": {
  12312. "description": "履约计划模板ID - 作废",
  12313. "type": "integer"
  12314. },
  12315. "premiumquotemode": {
  12316. "description": "权利金报价方式 - 1:自动 2:手动",
  12317. "type": "integer"
  12318. },
  12319. "rebateratio": {
  12320. "description": "返利比率[竞价式]",
  12321. "type": "number"
  12322. },
  12323. "reckonorder": {
  12324. "description": "结算顺序",
  12325. "type": "integer"
  12326. },
  12327. "reckonpricealgorithm": {
  12328. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  12329. "type": "integer"
  12330. },
  12331. "reckonpriceparam": {
  12332. "description": "结算价参数",
  12333. "type": "integer"
  12334. },
  12335. "reckontime": {
  12336. "description": "结算时间[通道交易-对冲](HH:mm)",
  12337. "type": "string"
  12338. },
  12339. "roleprioritytype": {
  12340. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  12341. "type": "integer"
  12342. },
  12343. "selllistingauditflag": {
  12344. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  12345. "type": "integer"
  12346. },
  12347. "trademarkettype": {
  12348. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  12349. "type": "integer"
  12350. },
  12351. "trademode": {
  12352. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12353. "type": "integer"
  12354. },
  12355. "tradeproperty": {
  12356. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  12357. "type": "integer"
  12358. },
  12359. "tradetype": {
  12360. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  12361. "type": "integer"
  12362. }
  12363. }
  12364. },
  12365. "models.Marketrun": {
  12366. "type": "object",
  12367. "required": [
  12368. "marketid",
  12369. "nexttradedate",
  12370. "reckonflag",
  12371. "runstatus",
  12372. "tradedate",
  12373. "tradedate2"
  12374. ],
  12375. "properties": {
  12376. "afternexttradedate": {
  12377. "description": "下下交易日",
  12378. "type": "string"
  12379. },
  12380. "clearquoteflag": {
  12381. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  12382. "type": "integer"
  12383. },
  12384. "lastreckondate": {
  12385. "description": "最新交易日(结算成功)",
  12386. "type": "string"
  12387. },
  12388. "machinedate": {
  12389. "description": "机器时间",
  12390. "type": "string"
  12391. },
  12392. "manualflag": {
  12393. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  12394. "type": "integer"
  12395. },
  12396. "marketid": {
  12397. "description": "市场ID",
  12398. "type": "integer"
  12399. },
  12400. "nexttradedate": {
  12401. "description": "下一交易日",
  12402. "type": "string"
  12403. },
  12404. "pretradedate": {
  12405. "description": "上一交易日",
  12406. "type": "string"
  12407. },
  12408. "reckonflag": {
  12409. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  12410. "type": "integer"
  12411. },
  12412. "runstatus": {
  12413. "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.今日免清算",
  12414. "type": "integer"
  12415. },
  12416. "sectionid": {
  12417. "description": "时间段号[多时段时用]",
  12418. "type": "integer"
  12419. },
  12420. "tradedate": {
  12421. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  12422. "type": "string"
  12423. },
  12424. "tradedate2": {
  12425. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  12426. "type": "string"
  12427. },
  12428. "updatetime": {
  12429. "description": "更新时间",
  12430. "type": "string"
  12431. }
  12432. }
  12433. },
  12434. "models.Messageboard": {
  12435. "type": "object",
  12436. "required": [
  12437. "messageboardid"
  12438. ],
  12439. "properties": {
  12440. "createtime": {
  12441. "description": "创建时间",
  12442. "type": "string"
  12443. },
  12444. "message": {
  12445. "description": "留言信息",
  12446. "type": "string"
  12447. },
  12448. "messageboardid": {
  12449. "description": "留言簿ID(SEQ_MessageBoard)",
  12450. "type": "integer"
  12451. },
  12452. "userid": {
  12453. "description": "用户ID",
  12454. "type": "integer"
  12455. }
  12456. }
  12457. },
  12458. "models.MyCoupon": {
  12459. "type": "object",
  12460. "required": [
  12461. "accountid",
  12462. "coupontypeid"
  12463. ],
  12464. "properties": {
  12465. "accountid": {
  12466. "description": "资金账户ID",
  12467. "type": "integer"
  12468. },
  12469. "areauserid": {
  12470. "description": "所属机构",
  12471. "type": "integer"
  12472. },
  12473. "conditionvalue": {
  12474. "description": "条件阈值(可为0)",
  12475. "type": "number"
  12476. },
  12477. "couponcategroy": {
  12478. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  12479. "type": "integer"
  12480. },
  12481. "couponname": {
  12482. "description": "优惠券名称",
  12483. "type": "string"
  12484. },
  12485. "coupontypeid": {
  12486. "description": "优惠券类型ID",
  12487. "type": "string"
  12488. },
  12489. "couponvalue": {
  12490. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  12491. "type": "number"
  12492. },
  12493. "curfreezeqty": {
  12494. "description": "期末冻结数量",
  12495. "type": "integer"
  12496. },
  12497. "curqty": {
  12498. "description": "期末数量",
  12499. "type": "integer"
  12500. },
  12501. "isgeneral": {
  12502. "description": "是否通用券 - 0:否 1:是",
  12503. "type": "integer"
  12504. },
  12505. "isunusable": {
  12506. "description": "是否不可用",
  12507. "type": "boolean"
  12508. },
  12509. "limitedflag": {
  12510. "description": "是否指定商品 - 0:不限 1:限制",
  12511. "type": "integer"
  12512. },
  12513. "limitedgoodsids": {
  12514. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  12515. "type": "string"
  12516. },
  12517. "orifreezeqty": {
  12518. "description": "期初冻结数量",
  12519. "type": "integer"
  12520. },
  12521. "oriqty": {
  12522. "description": "期初数量",
  12523. "type": "integer"
  12524. },
  12525. "reasontype": {
  12526. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  12527. "type": "integer"
  12528. },
  12529. "todaydecrease": {
  12530. "description": "今日减少",
  12531. "type": "integer"
  12532. },
  12533. "todayincrease": {
  12534. "description": "今日增加",
  12535. "type": "integer"
  12536. },
  12537. "userid": {
  12538. "description": "用户ID",
  12539. "type": "integer"
  12540. },
  12541. "userscope": {
  12542. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  12543. "type": "string"
  12544. }
  12545. }
  12546. },
  12547. "models.MyCouponHold": {
  12548. "type": "object",
  12549. "required": [
  12550. "couponholdid"
  12551. ],
  12552. "properties": {
  12553. "accountid": {
  12554. "description": "资金账户ID",
  12555. "type": "integer"
  12556. },
  12557. "conditionvalue": {
  12558. "description": "条件阈值(可为0)",
  12559. "type": "number"
  12560. },
  12561. "couponcategroy": {
  12562. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  12563. "type": "integer"
  12564. },
  12565. "couponholdid": {
  12566. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  12567. "type": "string"
  12568. },
  12569. "couponname": {
  12570. "description": "优惠券名称",
  12571. "type": "string"
  12572. },
  12573. "coupontypeid": {
  12574. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  12575. "type": "string"
  12576. },
  12577. "couponvalue": {
  12578. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  12579. "type": "number"
  12580. },
  12581. "createtime": {
  12582. "description": "创建时间",
  12583. "type": "string"
  12584. },
  12585. "enddate": {
  12586. "description": "结束日期",
  12587. "type": "string"
  12588. },
  12589. "giveapplyid": {
  12590. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  12591. "type": "integer"
  12592. },
  12593. "holdstatus": {
  12594. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  12595. "type": "integer"
  12596. },
  12597. "isgeneral": {
  12598. "description": "是否通用券 - 0:否 1:是",
  12599. "type": "integer"
  12600. },
  12601. "limitedflag": {
  12602. "description": "是否指定商品 - 0:不限 1:限制",
  12603. "type": "integer"
  12604. },
  12605. "limitedgoodsids": {
  12606. "description": "指定商品IDs[逗号分隔]",
  12607. "type": "string"
  12608. },
  12609. "qty": {
  12610. "description": "数量(按1平铺)",
  12611. "type": "integer"
  12612. },
  12613. "startdate": {
  12614. "description": "开始日期",
  12615. "type": "string"
  12616. },
  12617. "userid": {
  12618. "description": "用户ID",
  12619. "type": "integer"
  12620. },
  12621. "userscope": {
  12622. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  12623. "type": "string"
  12624. }
  12625. }
  12626. },
  12627. "models.MyUsedCoupon": {
  12628. "type": "object",
  12629. "required": [
  12630. "coupontypeid",
  12631. "orderid"
  12632. ],
  12633. "properties": {
  12634. "accountid": {
  12635. "description": "资金账户ID(买方)",
  12636. "type": "integer"
  12637. },
  12638. "conditionvalue": {
  12639. "description": "条件阈值(可为0)",
  12640. "type": "number"
  12641. },
  12642. "couponcategroy": {
  12643. "description": "种类 - 1:现金券 2:折扣券",
  12644. "type": "integer"
  12645. },
  12646. "couponname": {
  12647. "description": "优惠券名称",
  12648. "type": "string"
  12649. },
  12650. "coupontypeid": {
  12651. "description": "优惠券类型ID(买方)",
  12652. "type": "string"
  12653. },
  12654. "couponvalue": {
  12655. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  12656. "type": "number"
  12657. },
  12658. "createtime": {
  12659. "description": "创建时间",
  12660. "type": "string"
  12661. },
  12662. "goodsid": {
  12663. "description": "商品ID",
  12664. "type": "integer"
  12665. },
  12666. "handlestatus": {
  12667. "description": "处理状态",
  12668. "type": "integer"
  12669. },
  12670. "marketid": {
  12671. "description": "市场ID",
  12672. "type": "integer"
  12673. },
  12674. "offamount": {
  12675. "description": "优惠金额",
  12676. "type": "number"
  12677. },
  12678. "orderid": {
  12679. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12680. "type": "string"
  12681. },
  12682. "sellaccountid": {
  12683. "description": "资金账户ID(卖方)",
  12684. "type": "integer"
  12685. },
  12686. "tradeamount": {
  12687. "description": "成交金额",
  12688. "type": "number"
  12689. },
  12690. "tradeid": {
  12691. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12692. "type": "string"
  12693. },
  12694. "usedqty": {
  12695. "description": "使用数量",
  12696. "type": "integer"
  12697. }
  12698. }
  12699. },
  12700. "models.OperationPrimaryMenu": {
  12701. "type": "object",
  12702. "properties": {
  12703. "Children": {
  12704. "description": "二级功能菜单",
  12705. "type": "array",
  12706. "items": {
  12707. "$ref": "#/definitions/models.OperationSecondaryMenu"
  12708. }
  12709. },
  12710. "Key": {
  12711. "description": "菜单KEY",
  12712. "type": "string"
  12713. },
  12714. "Label": {
  12715. "description": "菜单标题",
  12716. "type": "string"
  12717. }
  12718. }
  12719. },
  12720. "models.OperationSecondaryMenu": {
  12721. "type": "object",
  12722. "properties": {
  12723. "Key": {
  12724. "description": "菜单KEY",
  12725. "type": "string"
  12726. },
  12727. "Label": {
  12728. "description": "菜单标题",
  12729. "type": "string"
  12730. },
  12731. "TabList": {
  12732. "description": "三级功能菜单",
  12733. "type": "array",
  12734. "items": {
  12735. "$ref": "#/definitions/models.OperationTabMenu"
  12736. }
  12737. }
  12738. }
  12739. },
  12740. "models.OperationTabMenu": {
  12741. "type": "object",
  12742. "properties": {
  12743. "Key": {
  12744. "description": "菜单KEY",
  12745. "type": "string"
  12746. },
  12747. "Label": {
  12748. "description": "菜单标题",
  12749. "type": "string"
  12750. }
  12751. }
  12752. },
  12753. "models.PendingAuditBizModel": {
  12754. "type": "object",
  12755. "properties": {
  12756. "accountid": {
  12757. "description": "现货账户",
  12758. "type": "string"
  12759. },
  12760. "areaname": {
  12761. "description": "所属部门",
  12762. "type": "string"
  12763. },
  12764. "bizid": {
  12765. "description": "业务ID",
  12766. "type": "string"
  12767. },
  12768. "bizname": {
  12769. "description": "业务名称",
  12770. "type": "string"
  12771. },
  12772. "status": {
  12773. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12774. "type": "integer"
  12775. },
  12776. "type": {
  12777. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  12778. "type": "integer"
  12779. }
  12780. }
  12781. },
  12782. "models.QuotePrimaryMenu": {
  12783. "type": "object",
  12784. "properties": {
  12785. "Index": {
  12786. "description": "序号",
  12787. "type": "integer"
  12788. },
  12789. "Key": {
  12790. "description": "键名",
  12791. "type": "string"
  12792. },
  12793. "Name": {
  12794. "description": "菜单名称",
  12795. "type": "string"
  12796. },
  12797. "SubMenus": {
  12798. "description": "子菜单",
  12799. "type": "array",
  12800. "items": {
  12801. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  12802. }
  12803. },
  12804. "SubTitleType": {
  12805. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  12806. "type": "integer"
  12807. },
  12808. "TradeModes": {
  12809. "description": "包含市场交易类型",
  12810. "type": "string"
  12811. }
  12812. }
  12813. },
  12814. "models.QuoteSecondaryMenu": {
  12815. "type": "object",
  12816. "properties": {
  12817. "ExExchangeCode": {
  12818. "description": "外部交易所代码",
  12819. "type": "string"
  12820. },
  12821. "ExExchangeID": {
  12822. "description": "外部交易所ID",
  12823. "type": "integer"
  12824. },
  12825. "GoodsGroupIDs": {
  12826. "description": "商品组ID列表",
  12827. "type": "array",
  12828. "items": {
  12829. "type": "integer"
  12830. }
  12831. },
  12832. "Index": {
  12833. "description": "序号",
  12834. "type": "integer"
  12835. },
  12836. "MarketID": {
  12837. "description": "市场ID",
  12838. "type": "integer"
  12839. },
  12840. "MenuTitle": {
  12841. "description": "菜单标题(市场名称或外部交易所名称)",
  12842. "type": "string"
  12843. },
  12844. "TradeMode": {
  12845. "description": "交易模式",
  12846. "type": "integer"
  12847. }
  12848. }
  12849. },
  12850. "models.SearchGoods": {
  12851. "type": "object",
  12852. "required": [
  12853. "goodscode",
  12854. "goodsid",
  12855. "goodsname",
  12856. "marketid",
  12857. "trademode"
  12858. ],
  12859. "properties": {
  12860. "goodscode": {
  12861. "description": "商品代码(内部)",
  12862. "type": "string"
  12863. },
  12864. "goodsid": {
  12865. "description": "商品ID(自增ID SEQ_GOODS)",
  12866. "type": "integer"
  12867. },
  12868. "goodsname": {
  12869. "description": "商品名称",
  12870. "type": "string"
  12871. },
  12872. "marketid": {
  12873. "description": "所属市场ID",
  12874. "type": "integer"
  12875. },
  12876. "marketname": {
  12877. "description": "市场名称",
  12878. "type": "string"
  12879. },
  12880. "trademode": {
  12881. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12882. "type": "integer"
  12883. }
  12884. }
  12885. },
  12886. "models.Szdz2imageconfig": {
  12887. "type": "object",
  12888. "required": [
  12889. "configid"
  12890. ],
  12891. "properties": {
  12892. "configid": {
  12893. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  12894. "type": "integer"
  12895. },
  12896. "imagepath": {
  12897. "description": "图片",
  12898. "type": "string"
  12899. },
  12900. "imagetype": {
  12901. "description": "类型 - 1:App首页轮播 2:我的",
  12902. "type": "integer"
  12903. },
  12904. "sort": {
  12905. "description": "排序",
  12906. "type": "integer"
  12907. },
  12908. "title": {
  12909. "description": "标题",
  12910. "type": "string"
  12911. },
  12912. "url": {
  12913. "description": "链接",
  12914. "type": "string"
  12915. }
  12916. }
  12917. },
  12918. "models.Szdz3convertconfig": {
  12919. "type": "object",
  12920. "required": [
  12921. "converttype",
  12922. "innergoodsid",
  12923. "outergoodscode"
  12924. ],
  12925. "properties": {
  12926. "canin": {
  12927. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  12928. "type": "integer"
  12929. },
  12930. "canout": {
  12931. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  12932. "type": "integer"
  12933. },
  12934. "converttype": {
  12935. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  12936. "type": "integer"
  12937. },
  12938. "createtime": {
  12939. "description": "创建时间",
  12940. "type": "string"
  12941. },
  12942. "creatorid": {
  12943. "description": "创建人",
  12944. "type": "integer"
  12945. },
  12946. "daymaxvalue": {
  12947. "description": "当日最大转入限制",
  12948. "type": "number"
  12949. },
  12950. "freezedays": {
  12951. "description": "冻结天数 [5:花生米转交易]",
  12952. "type": "integer"
  12953. },
  12954. "innergoodsid": {
  12955. "description": "内部商品ID[交易]",
  12956. "type": "integer"
  12957. },
  12958. "inratio": {
  12959. "description": "目标值",
  12960. "type": "integer"
  12961. },
  12962. "modifierid": {
  12963. "description": "修改人",
  12964. "type": "integer"
  12965. },
  12966. "modifytime": {
  12967. "description": "修改时间",
  12968. "type": "string"
  12969. },
  12970. "outergoodscode": {
  12971. "description": "外部商品代码[JD\\PD]",
  12972. "type": "string"
  12973. },
  12974. "outratio": {
  12975. "description": "源值",
  12976. "type": "integer"
  12977. },
  12978. "pddecimalplace": {
  12979. "description": "PD小数位",
  12980. "type": "integer"
  12981. },
  12982. "timemaxvalue": {
  12983. "description": "单次最大转入限制",
  12984. "type": "number"
  12985. },
  12986. "timeminvalue": {
  12987. "description": "单次最小转入限制",
  12988. "type": "number"
  12989. }
  12990. }
  12991. },
  12992. "models.Szdz3searchwhitelist": {
  12993. "type": "object",
  12994. "required": [
  12995. "userid"
  12996. ],
  12997. "properties": {
  12998. "createtime": {
  12999. "description": "创建时间",
  13000. "type": "string"
  13001. },
  13002. "creatorid": {
  13003. "description": "创建人",
  13004. "type": "integer"
  13005. },
  13006. "modifierid": {
  13007. "description": "修改人",
  13008. "type": "integer"
  13009. },
  13010. "modifytime": {
  13011. "description": "修改时间",
  13012. "type": "string"
  13013. },
  13014. "userid": {
  13015. "description": "用户ID",
  13016. "type": "integer"
  13017. }
  13018. }
  13019. },
  13020. "models.Tablecolumnconfig": {
  13021. "type": "object",
  13022. "required": [
  13023. "autoid"
  13024. ],
  13025. "properties": {
  13026. "aligntype": {
  13027. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  13028. "type": "integer"
  13029. },
  13030. "autoid": {
  13031. "description": "AutoID",
  13032. "type": "integer"
  13033. },
  13034. "columnfield": {
  13035. "description": "列字段",
  13036. "type": "string"
  13037. },
  13038. "columntitle": {
  13039. "description": "列Title",
  13040. "type": "string"
  13041. },
  13042. "columnwidth": {
  13043. "description": "列宽",
  13044. "type": "string"
  13045. },
  13046. "formatterstring": {
  13047. "description": "格式化字符",
  13048. "type": "string"
  13049. },
  13050. "formattertype": {
  13051. "description": "格式化类型",
  13052. "type": "string"
  13053. },
  13054. "groupname": {
  13055. "description": "表头分组名称",
  13056. "type": "string"
  13057. },
  13058. "isshow": {
  13059. "description": "是否显示 - 0:不显示 1:显示",
  13060. "type": "integer"
  13061. },
  13062. "needsummary": {
  13063. "description": "是否需要汇总 - 0:不需要 1:需要",
  13064. "type": "integer"
  13065. },
  13066. "orderindex": {
  13067. "description": "顺序",
  13068. "type": "integer"
  13069. },
  13070. "remark": {
  13071. "description": "备注",
  13072. "type": "string"
  13073. },
  13074. "summarytype": {
  13075. "description": "汇总类型 - 1:加总 2:最后一个",
  13076. "type": "integer"
  13077. },
  13078. "tablekey": {
  13079. "description": "列表Key",
  13080. "type": "string"
  13081. }
  13082. }
  13083. },
  13084. "models.Useraccount": {
  13085. "type": "object",
  13086. "required": [
  13087. "userid"
  13088. ],
  13089. "properties": {
  13090. "accountname": {
  13091. "description": "账户名称(机构名称)",
  13092. "type": "string"
  13093. },
  13094. "accountstatus": {
  13095. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  13096. "type": "integer"
  13097. },
  13098. "auditremark": {
  13099. "description": "审核备注",
  13100. "type": "string"
  13101. },
  13102. "audittime": {
  13103. "description": "审核时间",
  13104. "type": "string"
  13105. },
  13106. "audituserid": {
  13107. "description": "审核人",
  13108. "type": "integer"
  13109. },
  13110. "broker": {
  13111. "description": "所属经纪人ID",
  13112. "type": "integer"
  13113. },
  13114. "canceltime": {
  13115. "description": "销户时间",
  13116. "type": "string"
  13117. },
  13118. "canceluserid": {
  13119. "description": "销户人",
  13120. "type": "integer"
  13121. },
  13122. "createtime": {
  13123. "description": "创建时间",
  13124. "type": "string"
  13125. },
  13126. "creatorid": {
  13127. "description": "创建人",
  13128. "type": "integer"
  13129. },
  13130. "hasauth": {
  13131. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  13132. "type": "integer"
  13133. },
  13134. "isanonymous": {
  13135. "description": "是否匿名下单 - 0:否 1:是",
  13136. "type": "integer"
  13137. },
  13138. "maxinvestornum": {
  13139. "description": "最大用户数(经纪会员下投资者个数)",
  13140. "type": "integer"
  13141. },
  13142. "memberuserid": {
  13143. "description": "所属会员ID",
  13144. "type": "integer"
  13145. },
  13146. "modifierid": {
  13147. "description": "修改人",
  13148. "type": "integer"
  13149. },
  13150. "modifyremark": {
  13151. "description": "变更备注",
  13152. "type": "string"
  13153. },
  13154. "modifystatus": {
  13155. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  13156. "type": "integer"
  13157. },
  13158. "modifytime": {
  13159. "description": "修改时间",
  13160. "type": "string"
  13161. },
  13162. "parentuserid": {
  13163. "description": "所属机构ID",
  13164. "type": "integer"
  13165. },
  13166. "reckonaccountid": {
  13167. "description": "默认结算资金账号ID(机构分润使用) 作废",
  13168. "type": "integer"
  13169. },
  13170. "refercount": {
  13171. "description": "推荐总人数",
  13172. "type": "integer"
  13173. },
  13174. "refereeuserid": {
  13175. "description": "推荐人ID",
  13176. "type": "integer"
  13177. },
  13178. "refernum": {
  13179. "description": "推荐码",
  13180. "type": "string"
  13181. },
  13182. "subarealevelpath": {
  13183. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  13184. "type": "string"
  13185. },
  13186. "userid": {
  13187. "description": "用户ID",
  13188. "type": "integer"
  13189. },
  13190. "usertype": {
  13191. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  13192. "type": "integer"
  13193. }
  13194. }
  13195. },
  13196. "models.Userfavoritegoods": {
  13197. "type": "object",
  13198. "required": [
  13199. "goodsid"
  13200. ],
  13201. "properties": {
  13202. "goodsid": {
  13203. "description": "商品ID",
  13204. "type": "integer"
  13205. }
  13206. }
  13207. },
  13208. "models.Userinfo": {
  13209. "type": "object",
  13210. "required": [
  13211. "userid"
  13212. ],
  13213. "properties": {
  13214. "address": {
  13215. "description": "地址",
  13216. "type": "string"
  13217. },
  13218. "attachment1": {
  13219. "description": "附件1",
  13220. "type": "string"
  13221. },
  13222. "attachment2": {
  13223. "description": "附件2",
  13224. "type": "string"
  13225. },
  13226. "bankaccount": {
  13227. "description": "银行帐号 (加密存储)",
  13228. "type": "string"
  13229. },
  13230. "bankaccountname": {
  13231. "description": "收款人名称",
  13232. "type": "string"
  13233. },
  13234. "bankcardfrontphotourl": {
  13235. "description": "银行卡正面照地址",
  13236. "type": "string"
  13237. },
  13238. "bankid": {
  13239. "description": "银行编码",
  13240. "type": "string"
  13241. },
  13242. "bankname": {
  13243. "description": "银行名称",
  13244. "type": "string"
  13245. },
  13246. "biznature": {
  13247. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13248. "type": "integer"
  13249. },
  13250. "bizscope": {
  13251. "description": "企业经营范围(企业)",
  13252. "type": "string"
  13253. },
  13254. "cardbackphotourl": {
  13255. "description": "证件背面图片地址",
  13256. "type": "string"
  13257. },
  13258. "cardfrontphotourl": {
  13259. "description": "证件正面图片地址",
  13260. "type": "string"
  13261. },
  13262. "cardnum": {
  13263. "description": "证件号码(加密存储)",
  13264. "type": "string"
  13265. },
  13266. "cardtypeid": {
  13267. "description": "证件类型ID",
  13268. "type": "integer"
  13269. },
  13270. "cityid": {
  13271. "description": "市",
  13272. "type": "integer"
  13273. },
  13274. "company": {
  13275. "description": "公司(个人)",
  13276. "type": "string"
  13277. },
  13278. "contactname": {
  13279. "description": "联系人",
  13280. "type": "string"
  13281. },
  13282. "countryid": {
  13283. "description": "国家",
  13284. "type": "integer"
  13285. },
  13286. "createtime": {
  13287. "description": "创建时间",
  13288. "type": "string"
  13289. },
  13290. "creatorid": {
  13291. "description": "创建人",
  13292. "type": "integer"
  13293. },
  13294. "customername": {
  13295. "description": "客户名称(企业名称)",
  13296. "type": "string"
  13297. },
  13298. "districtid": {
  13299. "description": "地区",
  13300. "type": "integer"
  13301. },
  13302. "email": {
  13303. "description": "邮件(加密存储)",
  13304. "type": "string"
  13305. },
  13306. "fax": {
  13307. "description": "传真(加密存储)",
  13308. "type": "string"
  13309. },
  13310. "halfbodyphotourl": {
  13311. "description": "半身照地址",
  13312. "type": "string"
  13313. },
  13314. "hasencrypt": {
  13315. "description": "数据是否已加密 - 0:未加密 1:已加密",
  13316. "type": "integer"
  13317. },
  13318. "headurl": {
  13319. "description": "头像地址",
  13320. "type": "string"
  13321. },
  13322. "legalcardbackphotourl": {
  13323. "description": "法人身份证背面照地址",
  13324. "type": "string"
  13325. },
  13326. "legalcardfrontphotourl": {
  13327. "description": "法人身份证正面照地址",
  13328. "type": "string"
  13329. },
  13330. "legalpersonname": {
  13331. "description": "法人姓名(企业)",
  13332. "type": "string"
  13333. },
  13334. "mobile": {
  13335. "description": "手机号码(加密存储)",
  13336. "type": "string"
  13337. },
  13338. "mobile2": {
  13339. "description": "手机号码[明文-尚志]",
  13340. "type": "string"
  13341. },
  13342. "modifierid": {
  13343. "description": "修改人",
  13344. "type": "integer"
  13345. },
  13346. "modifiertime": {
  13347. "description": "修改时间",
  13348. "type": "string"
  13349. },
  13350. "needinvoice": {
  13351. "description": "是否需要发票 - 0:不需要 1:需要",
  13352. "type": "integer"
  13353. },
  13354. "nickname": {
  13355. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  13356. "type": "string"
  13357. },
  13358. "openmode": {
  13359. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  13360. "type": "integer"
  13361. },
  13362. "otherurl": {
  13363. "description": "其它图片地址[使用分号分隔]",
  13364. "type": "string"
  13365. },
  13366. "postalcode": {
  13367. "description": "邮政编码",
  13368. "type": "string"
  13369. },
  13370. "provinceid": {
  13371. "description": "省",
  13372. "type": "integer"
  13373. },
  13374. "qq": {
  13375. "description": "QQ(加密存储",
  13376. "type": "string"
  13377. },
  13378. "remark": {
  13379. "description": "备注",
  13380. "type": "string"
  13381. },
  13382. "sex": {
  13383. "description": "用户性别 0: 女 1: 男",
  13384. "type": "integer"
  13385. },
  13386. "signpdfurl": {
  13387. "description": "签约pdf文件",
  13388. "type": "string"
  13389. },
  13390. "telphone": {
  13391. "description": "联系电话(加密存储)",
  13392. "type": "string"
  13393. },
  13394. "userid": {
  13395. "description": "用户ID",
  13396. "type": "integer"
  13397. },
  13398. "userinfotype": {
  13399. "description": "用户信息类型 - 1:个人 2:企业",
  13400. "type": "integer"
  13401. },
  13402. "userstatus": {
  13403. "description": "用户状态 - 1:正常 2:注销",
  13404. "type": "integer"
  13405. },
  13406. "usertype": {
  13407. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  13408. "type": "integer"
  13409. },
  13410. "wechat": {
  13411. "description": "微信(加密存储)",
  13412. "type": "string"
  13413. },
  13414. "wskhinfo": {
  13415. "description": "开户申请信息(JSON)",
  13416. "type": "string"
  13417. }
  13418. }
  13419. },
  13420. "models.WRCategoryTree": {
  13421. "type": "object",
  13422. "required": [
  13423. "categoryid"
  13424. ],
  13425. "properties": {
  13426. "areauserid": {
  13427. "description": "所属机构",
  13428. "type": "integer"
  13429. },
  13430. "categorydesc": {
  13431. "description": "类别描述",
  13432. "type": "string"
  13433. },
  13434. "categoryid": {
  13435. "description": "类别ID(SEQ_WRCATEGORY)",
  13436. "type": "integer"
  13437. },
  13438. "categoryname": {
  13439. "description": "类别名称",
  13440. "type": "string"
  13441. },
  13442. "iconurl": {
  13443. "description": "图标地址",
  13444. "type": "string"
  13445. },
  13446. "orderindex": {
  13447. "description": "顺序",
  13448. "type": "integer"
  13449. },
  13450. "parentcategoryid": {
  13451. "description": "父类别ID",
  13452. "type": "integer"
  13453. },
  13454. "subcategory": {
  13455. "description": "子分类",
  13456. "type": "array",
  13457. "items": {
  13458. "$ref": "#/definitions/models.WRCategoryTree"
  13459. }
  13460. }
  13461. }
  13462. },
  13463. "models.WRSConverTDetail": {
  13464. "type": "object",
  13465. "properties": {
  13466. "convertratio": {
  13467. "description": "套保系数",
  13468. "type": "number"
  13469. },
  13470. "deliverygoodsid": {
  13471. "description": "现货品种ID",
  13472. "type": "integer"
  13473. },
  13474. "middlegoodscode": {
  13475. "description": "套保品种代码",
  13476. "type": "string"
  13477. },
  13478. "middlegoodsid": {
  13479. "description": "套保品种ID",
  13480. "type": "integer"
  13481. },
  13482. "middlegoodsname": {
  13483. "description": "套保品种名称",
  13484. "type": "string"
  13485. },
  13486. "modifytime": {
  13487. "description": "修改时间",
  13488. "type": "string"
  13489. },
  13490. "wrstandardid": {
  13491. "description": "现货商品ID",
  13492. "type": "integer"
  13493. }
  13494. }
  13495. },
  13496. "models.WRStandardInfo": {
  13497. "type": "object",
  13498. "required": [
  13499. "wrstandardid"
  13500. ],
  13501. "properties": {
  13502. "createtime": {
  13503. "description": "创建时间",
  13504. "type": "string"
  13505. },
  13506. "creatorid": {
  13507. "description": "创建人",
  13508. "type": "integer"
  13509. },
  13510. "deliverygoodsid": {
  13511. "description": "品种ID",
  13512. "type": "integer"
  13513. },
  13514. "deliverygoodsname": {
  13515. "description": "交割商品名称",
  13516. "type": "string"
  13517. },
  13518. "factoryitemjson": {
  13519. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  13520. "type": "string"
  13521. },
  13522. "isvalid": {
  13523. "description": "是否有效 - 0:无效 1:有效",
  13524. "type": "integer"
  13525. },
  13526. "minivalue": {
  13527. "description": "最小变动值",
  13528. "type": "integer"
  13529. },
  13530. "minivaluedp": {
  13531. "description": "最小变动值小数位",
  13532. "type": "integer"
  13533. },
  13534. "realminivalue": {
  13535. "description": "实际最小变动值",
  13536. "type": "integer"
  13537. },
  13538. "realminivaluedp": {
  13539. "description": "实际最小变动值小数位",
  13540. "type": "integer"
  13541. },
  13542. "unitid": {
  13543. "description": "单位ID",
  13544. "type": "integer"
  13545. },
  13546. "unitname": {
  13547. "description": "单位",
  13548. "type": "string"
  13549. },
  13550. "updatetime": {
  13551. "description": "更新时间",
  13552. "type": "string"
  13553. },
  13554. "updatorid": {
  13555. "description": "更新人",
  13556. "type": "integer"
  13557. },
  13558. "wrsstatus": {
  13559. "description": "状态 - 作废 - 0:未激活 1:正常",
  13560. "type": "integer"
  13561. },
  13562. "wrstandardcode": {
  13563. "description": "仓单标准代码",
  13564. "type": "string"
  13565. },
  13566. "wrstandardid": {
  13567. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  13568. "type": "integer"
  13569. },
  13570. "wrstandardname": {
  13571. "description": "仓单标准名称",
  13572. "type": "string"
  13573. }
  13574. }
  13575. },
  13576. "models.Warehouseinfo": {
  13577. "type": "object",
  13578. "required": [
  13579. "autoid",
  13580. "warehousecode"
  13581. ],
  13582. "properties": {
  13583. "address": {
  13584. "description": "详细地址",
  13585. "type": "string"
  13586. },
  13587. "areauserid": {
  13588. "description": "所属机构",
  13589. "type": "integer"
  13590. },
  13591. "autoid": {
  13592. "description": "自增ID",
  13593. "type": "integer"
  13594. },
  13595. "cityid": {
  13596. "description": "市",
  13597. "type": "integer"
  13598. },
  13599. "contactname": {
  13600. "description": "联系人",
  13601. "type": "string"
  13602. },
  13603. "contactnum": {
  13604. "description": "联系电话",
  13605. "type": "string"
  13606. },
  13607. "countryid": {
  13608. "description": "国家",
  13609. "type": "integer"
  13610. },
  13611. "createtime": {
  13612. "description": "创建时间",
  13613. "type": "string"
  13614. },
  13615. "districtid": {
  13616. "description": "区",
  13617. "type": "integer"
  13618. },
  13619. "hasvideo": {
  13620. "description": "是否有视频 - 0:无 1:有",
  13621. "type": "integer"
  13622. },
  13623. "provinceid": {
  13624. "description": "省",
  13625. "type": "integer"
  13626. },
  13627. "remark": {
  13628. "description": "审核备注",
  13629. "type": "string"
  13630. },
  13631. "videourl": {
  13632. "description": "视频地址",
  13633. "type": "string"
  13634. },
  13635. "warehousecode": {
  13636. "description": "仓库代码",
  13637. "type": "string"
  13638. },
  13639. "warehousename": {
  13640. "description": "仓库名称",
  13641. "type": "string"
  13642. },
  13643. "warehousestatus": {
  13644. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  13645. "type": "integer"
  13646. },
  13647. "warehousetype": {
  13648. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13649. "type": "integer"
  13650. }
  13651. }
  13652. },
  13653. "order.QueryHisTradeDetailRsp": {
  13654. "type": "object",
  13655. "required": [
  13656. "accountid",
  13657. "buyorsell",
  13658. "goodsid",
  13659. "histradedate",
  13660. "marketid",
  13661. "memberuserid",
  13662. "orderid",
  13663. "tradeamount",
  13664. "tradedate",
  13665. "tradeid",
  13666. "tradeprice",
  13667. "tradeqty",
  13668. "tradetime"
  13669. ],
  13670. "properties": {
  13671. "accountid": {
  13672. "description": "账户ID[报价币种]",
  13673. "type": "integer"
  13674. },
  13675. "buildtype": {
  13676. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  13677. "type": "integer"
  13678. },
  13679. "buyorsell": {
  13680. "description": "方向 - 0:买 1:卖",
  13681. "type": "integer"
  13682. },
  13683. "charge": {
  13684. "description": "手续费",
  13685. "type": "number"
  13686. },
  13687. "closecharge": {
  13688. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13689. "type": "number"
  13690. },
  13691. "closeexchagechargevalue": {
  13692. "description": "平仓交易所手续费设置值",
  13693. "type": "number"
  13694. },
  13695. "closefeealgorithm": {
  13696. "description": "平仓手续费收取方式 1:比率 2:固定",
  13697. "type": "integer"
  13698. },
  13699. "closememberchargevalue": {
  13700. "description": "平仓会员手续费设置值",
  13701. "type": "number"
  13702. },
  13703. "closepl": {
  13704. "description": "平仓盈亏",
  13705. "type": "number"
  13706. },
  13707. "closepl2": {
  13708. "description": "平仓盈亏[逐笔]",
  13709. "type": "number"
  13710. },
  13711. "closeqty": {
  13712. "description": "平仓数量(先建后平操作 需要记录)",
  13713. "type": "integer"
  13714. },
  13715. "creditamount": {
  13716. "description": "授信金额",
  13717. "type": "number"
  13718. },
  13719. "gcaccountid": {
  13720. "description": "账户ID[合约币种]",
  13721. "type": "integer"
  13722. },
  13723. "goodscode": {
  13724. "description": "商品代码",
  13725. "type": "string"
  13726. },
  13727. "goodsid": {
  13728. "description": "商品ID",
  13729. "type": "integer"
  13730. },
  13731. "goodsname": {
  13732. "description": "商品名称",
  13733. "type": "string"
  13734. },
  13735. "histradedate": {
  13736. "description": "历史交易日",
  13737. "type": "string"
  13738. },
  13739. "intclosepl": {
  13740. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  13741. "type": "integer"
  13742. },
  13743. "isconfirmexercise": {
  13744. "description": "是否确认行权- 0:否 1:是",
  13745. "type": "integer"
  13746. },
  13747. "ismain": {
  13748. "description": "是否主单 - 0:不是 1:是",
  13749. "type": "integer"
  13750. },
  13751. "ispreexercise": {
  13752. "description": "是否预申报- 0:否 1:是",
  13753. "type": "integer"
  13754. },
  13755. "isreckoned": {
  13756. "description": "是否结算 - 0:未结算 1:已结算",
  13757. "type": "integer"
  13758. },
  13759. "isvaliddata": {
  13760. "description": "是否有效 - 0:无效 1:有效",
  13761. "type": "integer"
  13762. },
  13763. "listingselecttype": {
  13764. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13765. "type": "integer"
  13766. },
  13767. "marketid": {
  13768. "description": "市场ID",
  13769. "type": "integer"
  13770. },
  13771. "marketname": {
  13772. "description": "市场名称",
  13773. "type": "string"
  13774. },
  13775. "matchaccountid": {
  13776. "description": "对手账号id",
  13777. "type": "integer"
  13778. },
  13779. "memberuserid": {
  13780. "description": "会员id 个人投资者 需要填写",
  13781. "type": "integer"
  13782. },
  13783. "opencharge": {
  13784. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13785. "type": "number"
  13786. },
  13787. "openexchagechargevalue": {
  13788. "description": "建仓交易所手续费设置值",
  13789. "type": "number"
  13790. },
  13791. "openfeealgorithm": {
  13792. "description": "建仓手续费收取方式 1:比率 2:固定",
  13793. "type": "integer"
  13794. },
  13795. "openmemberchargevalue": {
  13796. "description": "建仓会员手续费设置值",
  13797. "type": "number"
  13798. },
  13799. "openqty": {
  13800. "description": "开仓数量(先建后平操作 需要记录)",
  13801. "type": "integer"
  13802. },
  13803. "optiontype": {
  13804. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13805. "type": "integer"
  13806. },
  13807. "orderid": {
  13808. "description": "委托单号",
  13809. "type": "string"
  13810. },
  13811. "performanceplanid": {
  13812. "description": "履约计划ID[期权]",
  13813. "type": "integer"
  13814. },
  13815. "performancestatus": {
  13816. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  13817. "type": "integer"
  13818. },
  13819. "preexerciseprice": {
  13820. "description": "预申报价格",
  13821. "type": "number"
  13822. },
  13823. "premium": {
  13824. "description": "权利金 - [持仓单的权利金]",
  13825. "type": "number"
  13826. },
  13827. "relatedouttradeid": {
  13828. "description": "关联外部成交单ID",
  13829. "type": "integer"
  13830. },
  13831. "status": {
  13832. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  13833. "type": "integer"
  13834. },
  13835. "tradeamount": {
  13836. "description": "成交金额[账户币种,用于所有权]",
  13837. "type": "number"
  13838. },
  13839. "tradedate": {
  13840. "description": "交易日(yyyyMMdd)",
  13841. "type": "string"
  13842. },
  13843. "tradeid": {
  13844. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13845. "type": "string"
  13846. },
  13847. "trademode": {
  13848. "description": "交易模式",
  13849. "type": "integer"
  13850. },
  13851. "tradeprice": {
  13852. "description": "成交价格",
  13853. "type": "number"
  13854. },
  13855. "tradeproperty": {
  13856. "description": "交易属性",
  13857. "type": "integer"
  13858. },
  13859. "tradeqty": {
  13860. "description": "成交数量",
  13861. "type": "integer"
  13862. },
  13863. "tradetime": {
  13864. "description": "成交时间",
  13865. "type": "string"
  13866. },
  13867. "tradetype": {
  13868. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  13869. "type": "integer"
  13870. }
  13871. }
  13872. },
  13873. "order.QueryHisTradeOrderDetailRsp": {
  13874. "type": "object",
  13875. "required": [
  13876. "accountid",
  13877. "buildtype",
  13878. "buyorsell",
  13879. "goodsid",
  13880. "histradedate",
  13881. "marketid",
  13882. "memberuserid",
  13883. "operatetype",
  13884. "orderid",
  13885. "orderqty",
  13886. "ordertime",
  13887. "pricemode",
  13888. "tradedate",
  13889. "validtype"
  13890. ],
  13891. "properties": {
  13892. "accountid": {
  13893. "description": "账户ID[报价币种]",
  13894. "type": "integer"
  13895. },
  13896. "buildtype": {
  13897. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13898. "type": "integer"
  13899. },
  13900. "buyorsell": {
  13901. "description": "买卖 - 0:买 1:卖",
  13902. "type": "integer"
  13903. },
  13904. "cancelorderid": {
  13905. "description": "撤单单号(撤单时填写)",
  13906. "type": "string"
  13907. },
  13908. "cancelqty": {
  13909. "description": "撤单数量",
  13910. "type": "integer"
  13911. },
  13912. "clientordertime": {
  13913. "description": "客户端委托时间",
  13914. "type": "string"
  13915. },
  13916. "clientticket": {
  13917. "description": "客户端流水号",
  13918. "type": "string"
  13919. },
  13920. "clienttype": {
  13921. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13922. "type": "integer"
  13923. },
  13924. "closeexchagechargevalue": {
  13925. "description": "平仓交易所手续费设置值",
  13926. "type": "number"
  13927. },
  13928. "closefeealgorithm": {
  13929. "description": "平仓手续费收取方式 1:比率 2:固定",
  13930. "type": "integer"
  13931. },
  13932. "closefreezecharge": {
  13933. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13934. "type": "number"
  13935. },
  13936. "closememberchargevalue": {
  13937. "description": "平仓会员手续费设置值",
  13938. "type": "number"
  13939. },
  13940. "closeqty": {
  13941. "description": "平仓数量(先建后平操作 需要记录)",
  13942. "type": "integer"
  13943. },
  13944. "closetradeqty": {
  13945. "description": "平仓成交数量(先建后平操作,需要记录)",
  13946. "type": "integer"
  13947. },
  13948. "closeunfreezecharge": {
  13949. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13950. "type": "number"
  13951. },
  13952. "delistingtype": {
  13953. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13954. "type": "integer"
  13955. },
  13956. "freezecharge": {
  13957. "description": "冻结手续费",
  13958. "type": "number"
  13959. },
  13960. "freezemargin": {
  13961. "description": "冻结保证金(冻结交易金额)",
  13962. "type": "number"
  13963. },
  13964. "gcaccountid": {
  13965. "description": "账户ID[合约币种]",
  13966. "type": "integer"
  13967. },
  13968. "goodscode": {
  13969. "description": "商品代码",
  13970. "type": "string"
  13971. },
  13972. "goodsid": {
  13973. "description": "商品ID",
  13974. "type": "integer"
  13975. },
  13976. "goodsname": {
  13977. "description": "商品名称",
  13978. "type": "string"
  13979. },
  13980. "histradedate": {
  13981. "description": "历史交易日",
  13982. "type": "string"
  13983. },
  13984. "isconfirmexercise": {
  13985. "description": "是否确认行权- 0:否 1:是",
  13986. "type": "integer"
  13987. },
  13988. "ispreexercise": {
  13989. "description": "是否预申报- 0:否 1:是",
  13990. "type": "integer"
  13991. },
  13992. "isvaliddata": {
  13993. "description": "是否有效 - 0:无效 1:有效",
  13994. "type": "integer"
  13995. },
  13996. "listingselecttype": {
  13997. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13998. "type": "integer"
  13999. },
  14000. "marginalgorithm": {
  14001. "description": "保证金收取方式 1:比率 2:固定",
  14002. "type": "integer"
  14003. },
  14004. "marginvalue": {
  14005. "description": "即市保证金设置值",
  14006. "type": "number"
  14007. },
  14008. "marketid": {
  14009. "description": "市场ID",
  14010. "type": "integer"
  14011. },
  14012. "marketmaxsub": {
  14013. "description": "市价最大偏移范围",
  14014. "type": "number"
  14015. },
  14016. "marketname": {
  14017. "description": "市场名称",
  14018. "type": "string"
  14019. },
  14020. "memberuserid": {
  14021. "description": "所属会员UserID",
  14022. "type": "integer"
  14023. },
  14024. "openexchagechargevalue": {
  14025. "description": "建仓交易所手续费设置值",
  14026. "type": "number"
  14027. },
  14028. "openfeealgorithm": {
  14029. "description": "建仓手续费收取方式 1:比率 2:固定",
  14030. "type": "integer"
  14031. },
  14032. "openfreezecharge": {
  14033. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14034. "type": "number"
  14035. },
  14036. "openmemberchargevalue": {
  14037. "description": "建仓会员手续费设置值",
  14038. "type": "number"
  14039. },
  14040. "openqty": {
  14041. "description": "开仓数量(先建后平操作,需要记录)",
  14042. "type": "integer"
  14043. },
  14044. "opentradeqty": {
  14045. "description": "开仓成交数量(先建后平操作,需要记录)",
  14046. "type": "integer"
  14047. },
  14048. "openunfreezecharge": {
  14049. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  14050. "type": "number"
  14051. },
  14052. "operatetype": {
  14053. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  14054. "type": "integer"
  14055. },
  14056. "operatorid": {
  14057. "description": "登录账号(LoginID)",
  14058. "type": "integer"
  14059. },
  14060. "optiontype": {
  14061. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14062. "type": "integer"
  14063. },
  14064. "orderid": {
  14065. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14066. "type": "string"
  14067. },
  14068. "orderprice": {
  14069. "description": "委托价格",
  14070. "type": "number"
  14071. },
  14072. "orderqty": {
  14073. "description": "委托数量",
  14074. "type": "integer"
  14075. },
  14076. "ordersrc": {
  14077. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  14078. "type": "integer"
  14079. },
  14080. "orderstatus": {
  14081. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14082. "type": "integer"
  14083. },
  14084. "ordertime": {
  14085. "description": "委托时间",
  14086. "type": "string"
  14087. },
  14088. "preexerciseprice": {
  14089. "description": "预申报价格",
  14090. "type": "number"
  14091. },
  14092. "premium": {
  14093. "description": "权利金",
  14094. "type": "number"
  14095. },
  14096. "preorderid": {
  14097. "description": "关联预埋单号(止盈止损单时填写)",
  14098. "type": "string"
  14099. },
  14100. "pricemode": {
  14101. "description": "取价方式 - 1:市价 2: 限价",
  14102. "type": "integer"
  14103. },
  14104. "quoteid": {
  14105. "description": "报价单ID",
  14106. "type": "integer"
  14107. },
  14108. "relatedid": {
  14109. "description": "关联单号(交割单)",
  14110. "type": "string"
  14111. },
  14112. "retcode": {
  14113. "description": "错误代码",
  14114. "type": "integer"
  14115. },
  14116. "sessionid": {
  14117. "description": "会话ID",
  14118. "type": "integer"
  14119. },
  14120. "tradedate": {
  14121. "description": "交易日(yyyyMMdd)",
  14122. "type": "string"
  14123. },
  14124. "trademode": {
  14125. "description": "交易模式",
  14126. "type": "integer"
  14127. },
  14128. "tradeproperty": {
  14129. "description": "交易属性",
  14130. "type": "integer"
  14131. },
  14132. "tradeqty": {
  14133. "description": "成交数量",
  14134. "type": "integer"
  14135. },
  14136. "unfreezecharge": {
  14137. "description": "解冻手续费",
  14138. "type": "number"
  14139. },
  14140. "unfreezemargin": {
  14141. "description": "解冻保证金",
  14142. "type": "number"
  14143. },
  14144. "updatetime": {
  14145. "description": "更新时间",
  14146. "type": "string"
  14147. },
  14148. "uuid": {
  14149. "description": "发起端唯一id",
  14150. "type": "string"
  14151. },
  14152. "validtime": {
  14153. "description": "有效期限",
  14154. "type": "string"
  14155. },
  14156. "validtype": {
  14157. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14158. "type": "integer"
  14159. },
  14160. "volumetype": {
  14161. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14162. "type": "integer"
  14163. }
  14164. }
  14165. },
  14166. "order.QueryTradeDetailRsp": {
  14167. "type": "object",
  14168. "required": [
  14169. "accountid",
  14170. "buyorsell",
  14171. "goodsid",
  14172. "marketid",
  14173. "memberuserid",
  14174. "orderid",
  14175. "tradeamount",
  14176. "tradedate",
  14177. "tradeid",
  14178. "tradeprice",
  14179. "tradeqty",
  14180. "tradetime"
  14181. ],
  14182. "properties": {
  14183. "accountid": {
  14184. "description": "账户ID[报价币种]",
  14185. "type": "integer"
  14186. },
  14187. "buildtype": {
  14188. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  14189. "type": "integer"
  14190. },
  14191. "buyorsell": {
  14192. "description": "方向 - 0:买 1:卖",
  14193. "type": "integer"
  14194. },
  14195. "charge": {
  14196. "description": "手续费",
  14197. "type": "number"
  14198. },
  14199. "closecharge": {
  14200. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  14201. "type": "number"
  14202. },
  14203. "closeexchagechargevalue": {
  14204. "description": "平仓交易所手续费设置值",
  14205. "type": "number"
  14206. },
  14207. "closefeealgorithm": {
  14208. "description": "平仓手续费收取方式 1:比率 2:固定",
  14209. "type": "integer"
  14210. },
  14211. "closememberchargevalue": {
  14212. "description": "平仓会员手续费设置值",
  14213. "type": "number"
  14214. },
  14215. "closepl": {
  14216. "description": "平仓盈亏",
  14217. "type": "number"
  14218. },
  14219. "closepl2": {
  14220. "description": "平仓盈亏[逐笔]",
  14221. "type": "number"
  14222. },
  14223. "closeqty": {
  14224. "description": "平仓数量(先建后平操作 需要记录)",
  14225. "type": "integer"
  14226. },
  14227. "creditamount": {
  14228. "description": "授信金额",
  14229. "type": "number"
  14230. },
  14231. "gcaccountid": {
  14232. "description": "账户ID[合约币种]",
  14233. "type": "integer"
  14234. },
  14235. "goodscode": {
  14236. "description": "商品代码",
  14237. "type": "string"
  14238. },
  14239. "goodsid": {
  14240. "description": "商品ID",
  14241. "type": "integer"
  14242. },
  14243. "goodsname": {
  14244. "description": "商品名称",
  14245. "type": "string"
  14246. },
  14247. "intclosepl": {
  14248. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  14249. "type": "integer"
  14250. },
  14251. "isconfirmexercise": {
  14252. "description": "是否确认行权- 0:否 1:是",
  14253. "type": "integer"
  14254. },
  14255. "ismain": {
  14256. "description": "是否主单 - 0:不是 1:是",
  14257. "type": "integer"
  14258. },
  14259. "ispreexercise": {
  14260. "description": "是否预申报- 0:否 1:是",
  14261. "type": "integer"
  14262. },
  14263. "isreckoned": {
  14264. "description": "是否结算 - 0:未结算 1:已结算",
  14265. "type": "integer"
  14266. },
  14267. "listingselecttype": {
  14268. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14269. "type": "integer"
  14270. },
  14271. "marketid": {
  14272. "description": "市场ID",
  14273. "type": "integer"
  14274. },
  14275. "marketname": {
  14276. "description": "市场名称",
  14277. "type": "string"
  14278. },
  14279. "matchaccountid": {
  14280. "description": "对手账号id",
  14281. "type": "integer"
  14282. },
  14283. "memberuserid": {
  14284. "description": "会员id 个人投资者 需要填写",
  14285. "type": "integer"
  14286. },
  14287. "opencharge": {
  14288. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  14289. "type": "number"
  14290. },
  14291. "openexchagechargevalue": {
  14292. "description": "建仓交易所手续费设置值",
  14293. "type": "number"
  14294. },
  14295. "openfeealgorithm": {
  14296. "description": "建仓手续费收取方式 1:比率 2:固定",
  14297. "type": "integer"
  14298. },
  14299. "openmemberchargevalue": {
  14300. "description": "建仓会员手续费设置值",
  14301. "type": "number"
  14302. },
  14303. "openqty": {
  14304. "description": "开仓数量(先建后平操作 需要记录)",
  14305. "type": "integer"
  14306. },
  14307. "optiontype": {
  14308. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14309. "type": "integer"
  14310. },
  14311. "orderid": {
  14312. "description": "委托单号",
  14313. "type": "string"
  14314. },
  14315. "performanceplanid": {
  14316. "description": "履约计划ID[期权]",
  14317. "type": "integer"
  14318. },
  14319. "performancestatus": {
  14320. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  14321. "type": "integer"
  14322. },
  14323. "preexerciseprice": {
  14324. "description": "预申报价格",
  14325. "type": "number"
  14326. },
  14327. "premium": {
  14328. "description": "权利金 - [持仓单的权利金]",
  14329. "type": "number"
  14330. },
  14331. "relatedouttradeid": {
  14332. "description": "关联外部成交单ID",
  14333. "type": "integer"
  14334. },
  14335. "status": {
  14336. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  14337. "type": "integer"
  14338. },
  14339. "tradeamount": {
  14340. "description": "成交金额[账户币种,用于所有权]",
  14341. "type": "number"
  14342. },
  14343. "tradedate": {
  14344. "description": "交易日(yyyyMMdd)",
  14345. "type": "string"
  14346. },
  14347. "tradeid": {
  14348. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14349. "type": "string"
  14350. },
  14351. "trademode": {
  14352. "description": "交易模式",
  14353. "type": "integer"
  14354. },
  14355. "tradeprice": {
  14356. "description": "成交价格",
  14357. "type": "number"
  14358. },
  14359. "tradeproperty": {
  14360. "description": "交易属性",
  14361. "type": "integer"
  14362. },
  14363. "tradeqty": {
  14364. "description": "成交数量",
  14365. "type": "integer"
  14366. },
  14367. "tradetime": {
  14368. "description": "成交时间",
  14369. "type": "string"
  14370. },
  14371. "tradetype": {
  14372. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  14373. "type": "integer"
  14374. }
  14375. }
  14376. },
  14377. "order.QueryTradeOrderDetailRsp": {
  14378. "type": "object",
  14379. "required": [
  14380. "accountid",
  14381. "buildtype",
  14382. "buyorsell",
  14383. "goodsid",
  14384. "marketid",
  14385. "operatetype",
  14386. "orderqty",
  14387. "ordertime",
  14388. "pricemode",
  14389. "tradedate",
  14390. "validtype"
  14391. ],
  14392. "properties": {
  14393. "accountid": {
  14394. "description": "账户ID[报价币种]",
  14395. "type": "integer"
  14396. },
  14397. "buildtype": {
  14398. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14399. "type": "integer"
  14400. },
  14401. "buyorsell": {
  14402. "description": "买卖 - 0:买 1:卖",
  14403. "type": "integer"
  14404. },
  14405. "cancelorderid": {
  14406. "description": "撤单单号(撤单时填写)",
  14407. "type": "string"
  14408. },
  14409. "cancelqty": {
  14410. "description": "撤单数量",
  14411. "type": "integer"
  14412. },
  14413. "clienttype": {
  14414. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14415. "type": "integer"
  14416. },
  14417. "closefreezecharge": {
  14418. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14419. "type": "number"
  14420. },
  14421. "closeqty": {
  14422. "description": "平仓数量(先建后平操作 需要记录)",
  14423. "type": "integer"
  14424. },
  14425. "closetradeqty": {
  14426. "description": "平仓成交数量(先建后平操作,需要记录)",
  14427. "type": "integer"
  14428. },
  14429. "closeunfreezecharge": {
  14430. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14431. "type": "number"
  14432. },
  14433. "delistingtype": {
  14434. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14435. "type": "integer"
  14436. },
  14437. "enableqty": {
  14438. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  14439. "type": "integer"
  14440. },
  14441. "freezecharge": {
  14442. "description": "冻结手续费",
  14443. "type": "number"
  14444. },
  14445. "freezemargin": {
  14446. "description": "冻结保证金(冻结交易金额)",
  14447. "type": "number"
  14448. },
  14449. "goodscode": {
  14450. "description": "商品代码",
  14451. "type": "string"
  14452. },
  14453. "goodsid": {
  14454. "description": "商品ID",
  14455. "type": "integer"
  14456. },
  14457. "goodsname": {
  14458. "description": "商品名称",
  14459. "type": "string"
  14460. },
  14461. "listingselecttype": {
  14462. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14463. "type": "integer"
  14464. },
  14465. "marketid": {
  14466. "description": "市场ID",
  14467. "type": "integer"
  14468. },
  14469. "marketname": {
  14470. "description": "市场名称",
  14471. "type": "string"
  14472. },
  14473. "openfreezecharge": {
  14474. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14475. "type": "number"
  14476. },
  14477. "openqty": {
  14478. "description": "开仓数量(先建后平操作,需要记录)",
  14479. "type": "integer"
  14480. },
  14481. "opentradeqty": {
  14482. "description": "开仓成交数量(先建后平操作,需要记录)",
  14483. "type": "integer"
  14484. },
  14485. "openunfreezecharge": {
  14486. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  14487. "type": "number"
  14488. },
  14489. "operatetype": {
  14490. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  14491. "type": "integer"
  14492. },
  14493. "operatorid": {
  14494. "description": "登录账号(LoginID)",
  14495. "type": "integer"
  14496. },
  14497. "orderid": {
  14498. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14499. "type": "string"
  14500. },
  14501. "orderprice": {
  14502. "description": "委托价格",
  14503. "type": "number"
  14504. },
  14505. "orderqty": {
  14506. "description": "委托数量",
  14507. "type": "integer"
  14508. },
  14509. "ordersrc": {
  14510. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  14511. "type": "integer"
  14512. },
  14513. "orderstatus": {
  14514. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14515. "type": "integer"
  14516. },
  14517. "ordertime": {
  14518. "description": "委托时间",
  14519. "type": "string"
  14520. },
  14521. "preorderid": {
  14522. "description": "关联预埋单号(止盈止损单时填写)",
  14523. "type": "string"
  14524. },
  14525. "pricemode": {
  14526. "description": "取价方式 - 1:市价 2: 限价",
  14527. "type": "integer"
  14528. },
  14529. "relatedid": {
  14530. "description": "关联单号(交割单)",
  14531. "type": "string"
  14532. },
  14533. "tradedate": {
  14534. "description": "交易日(yyyyMMdd)",
  14535. "type": "string"
  14536. },
  14537. "trademode": {
  14538. "description": "交易模式",
  14539. "type": "integer"
  14540. },
  14541. "tradeqty": {
  14542. "description": "成交数量",
  14543. "type": "integer"
  14544. },
  14545. "unfreezecharge": {
  14546. "description": "解冻手续费",
  14547. "type": "number"
  14548. },
  14549. "unfreezemargin": {
  14550. "description": "解冻保证金",
  14551. "type": "number"
  14552. },
  14553. "validtime": {
  14554. "description": "有效期限",
  14555. "type": "string"
  14556. },
  14557. "validtype": {
  14558. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14559. "type": "integer"
  14560. },
  14561. "volumetype": {
  14562. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14563. "type": "integer"
  14564. }
  14565. }
  14566. },
  14567. "order.QueryTradePositionRsp": {
  14568. "type": "object",
  14569. "required": [
  14570. "goodsid"
  14571. ],
  14572. "properties": {
  14573. "accountid": {
  14574. "description": "资金账户",
  14575. "type": "integer"
  14576. },
  14577. "agreeunit": {
  14578. "description": "合约单位",
  14579. "type": "number"
  14580. },
  14581. "averageprice": {
  14582. "description": "持仓均价",
  14583. "type": "number"
  14584. },
  14585. "buyorsell": {
  14586. "description": "方向 - 0:买 1:卖",
  14587. "type": "integer"
  14588. },
  14589. "closetotalqty": {
  14590. "description": "平仓总数量",
  14591. "type": "integer"
  14592. },
  14593. "curholderamount": {
  14594. "description": "当前持仓总金额[商品币种]",
  14595. "type": "number"
  14596. },
  14597. "curpositionqty": {
  14598. "description": "当前持仓总数量",
  14599. "type": "integer"
  14600. },
  14601. "currencyid": {
  14602. "description": "报价货币ID",
  14603. "type": "integer"
  14604. },
  14605. "curtdposition": {
  14606. "description": "期末今日头寸",
  14607. "type": "integer"
  14608. },
  14609. "decimalplace": {
  14610. "description": "报价小数位",
  14611. "type": "integer"
  14612. },
  14613. "enableqty": {
  14614. "description": "可用量",
  14615. "type": "integer"
  14616. },
  14617. "fretdposition": {
  14618. "description": "冻结今日头寸",
  14619. "type": "integer"
  14620. },
  14621. "frozenqty": {
  14622. "description": "持仓冻结数量",
  14623. "type": "integer"
  14624. },
  14625. "goodscode": {
  14626. "description": "商品代码",
  14627. "type": "string"
  14628. },
  14629. "goodsid": {
  14630. "description": "商品Id",
  14631. "type": "integer"
  14632. },
  14633. "goodsname": {
  14634. "description": "商品名称",
  14635. "type": "string"
  14636. },
  14637. "goodunit": {
  14638. "description": "报价单位",
  14639. "type": "string"
  14640. },
  14641. "goodunitid": {
  14642. "description": "报价单位ID",
  14643. "type": "integer"
  14644. },
  14645. "holderamount": {
  14646. "description": "期初持仓总金额[商品币种]",
  14647. "type": "number"
  14648. },
  14649. "marketid": {
  14650. "description": "所属市场ID",
  14651. "type": "integer"
  14652. },
  14653. "openreqqty": {
  14654. "description": "开仓申请数量(用于比较最大持仓数量)",
  14655. "type": "integer"
  14656. },
  14657. "opentotalqty": {
  14658. "description": "开仓总数量",
  14659. "type": "integer"
  14660. },
  14661. "otherfrozenqty": {
  14662. "description": "持仓其他冻结数量(交割冻结)",
  14663. "type": "integer"
  14664. },
  14665. "positionqty": {
  14666. "description": "期初持仓数量",
  14667. "type": "integer"
  14668. },
  14669. "tnqty": {
  14670. "description": "T+N冻结总量",
  14671. "type": "integer"
  14672. },
  14673. "tnusedqty": {
  14674. "description": "T+N使用量(可以使用T+N的冻结数量)",
  14675. "type": "integer"
  14676. },
  14677. "trademode": {
  14678. "description": "交易模式",
  14679. "type": "integer"
  14680. },
  14681. "usedmargin": {
  14682. "description": "占用保证金[商品币种]",
  14683. "type": "number"
  14684. }
  14685. }
  14686. },
  14687. "quote.HistoryData": {
  14688. "type": "object",
  14689. "properties": {
  14690. "c": {
  14691. "description": "收盘价",
  14692. "type": "number"
  14693. },
  14694. "h": {
  14695. "description": "最高价",
  14696. "type": "number"
  14697. },
  14698. "hv": {
  14699. "description": "持仓量",
  14700. "type": "integer"
  14701. },
  14702. "l": {
  14703. "description": "最低价",
  14704. "type": "number"
  14705. },
  14706. "o": {
  14707. "description": "开盘价",
  14708. "type": "number"
  14709. },
  14710. "s": {
  14711. "description": "结算价,日线周期(包括)以上才有",
  14712. "type": "number"
  14713. },
  14714. "ts": {
  14715. "description": "时间",
  14716. "type": "string"
  14717. },
  14718. "tt": {
  14719. "description": "总金额",
  14720. "type": "number"
  14721. },
  14722. "tv": {
  14723. "description": "总量",
  14724. "type": "integer"
  14725. }
  14726. }
  14727. },
  14728. "quote.QueryTSDataRsp": {
  14729. "type": "object",
  14730. "properties": {
  14731. "decimalPlace": {
  14732. "description": "小数位",
  14733. "type": "integer"
  14734. },
  14735. "endTime": {
  14736. "description": "结束时间",
  14737. "type": "string"
  14738. },
  14739. "goodsCode": {
  14740. "description": "商品代码",
  14741. "type": "string"
  14742. },
  14743. "historyDatas": {
  14744. "description": "历史数据",
  14745. "type": "array",
  14746. "items": {
  14747. "$ref": "#/definitions/quote.HistoryData"
  14748. }
  14749. },
  14750. "preSettle": {
  14751. "description": "昨结",
  14752. "type": "number"
  14753. },
  14754. "startTime": {
  14755. "description": "开始时间",
  14756. "type": "string"
  14757. },
  14758. "tradeDate": {
  14759. "description": "交易日",
  14760. "type": "string"
  14761. }
  14762. }
  14763. },
  14764. "szdz.QueryConvertLogRsp": {
  14765. "type": "object",
  14766. "required": [
  14767. "logid"
  14768. ],
  14769. "properties": {
  14770. "accountid": {
  14771. "description": "资金账户ID",
  14772. "type": "integer"
  14773. },
  14774. "clientticket": {
  14775. "description": "客户端流水号",
  14776. "type": "string"
  14777. },
  14778. "converttype": {
  14779. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  14780. "type": "integer"
  14781. },
  14782. "createtime": {
  14783. "description": "记账时间",
  14784. "type": "string"
  14785. },
  14786. "daymaxvalue": {
  14787. "description": "配置当日最大转入限制",
  14788. "type": "number"
  14789. },
  14790. "daymaxvalue2": {
  14791. "description": "配置当日最大转入限制(转入)",
  14792. "type": "number"
  14793. },
  14794. "goodscode": {
  14795. "description": "商品代码",
  14796. "type": "string"
  14797. },
  14798. "goodsname": {
  14799. "description": "商品名称",
  14800. "type": "string"
  14801. },
  14802. "handlestatus": {
  14803. "description": "处理状态",
  14804. "type": "integer"
  14805. },
  14806. "innergoodsid": {
  14807. "description": "内部商品ID",
  14808. "type": "integer"
  14809. },
  14810. "inratio": {
  14811. "description": "配置转入比值",
  14812. "type": "integer"
  14813. },
  14814. "invalue": {
  14815. "description": "目标值",
  14816. "type": "number"
  14817. },
  14818. "logid": {
  14819. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14820. "type": "integer"
  14821. },
  14822. "mobile": {
  14823. "description": "手机号码(加密存储)",
  14824. "type": "string"
  14825. },
  14826. "outergoodscode": {
  14827. "description": "外部商品代码[JD\\PD]",
  14828. "type": "string"
  14829. },
  14830. "outratio": {
  14831. "description": "配置转出比值",
  14832. "type": "integer"
  14833. },
  14834. "outvalue": {
  14835. "description": "源值",
  14836. "type": "number"
  14837. },
  14838. "pddecimalplace": {
  14839. "description": "PD小数位",
  14840. "type": "integer"
  14841. },
  14842. "qty": {
  14843. "description": "数量",
  14844. "type": "string"
  14845. },
  14846. "remark": {
  14847. "description": "备注",
  14848. "type": "string"
  14849. },
  14850. "sessionid": {
  14851. "description": "会话ID",
  14852. "type": "integer"
  14853. },
  14854. "timemaxvalue": {
  14855. "description": "配置单次最大转入限制",
  14856. "type": "number"
  14857. },
  14858. "timemaxvalue2": {
  14859. "description": "配置单次最大转入限制(转入)",
  14860. "type": "number"
  14861. },
  14862. "timeminvalue": {
  14863. "description": "配置单次最小数量限制",
  14864. "type": "number"
  14865. },
  14866. "timeminvalue2": {
  14867. "description": "配置单次最小数量限制(转入)",
  14868. "type": "number"
  14869. },
  14870. "tradedate": {
  14871. "description": "交易日(yyyyMMdd)",
  14872. "type": "string"
  14873. },
  14874. "userid": {
  14875. "description": "用户ID",
  14876. "type": "integer"
  14877. }
  14878. }
  14879. },
  14880. "szdz.QueryGoodsPickupRsp": {
  14881. "type": "object",
  14882. "required": [
  14883. "takeorderid"
  14884. ],
  14885. "properties": {
  14886. "accountid": {
  14887. "description": "账户ID",
  14888. "type": "integer"
  14889. },
  14890. "address": {
  14891. "description": "提货人详细地址",
  14892. "type": "string"
  14893. },
  14894. "auditer": {
  14895. "description": "审核人",
  14896. "type": "integer"
  14897. },
  14898. "audittime": {
  14899. "description": "审核时间",
  14900. "type": "string"
  14901. },
  14902. "cardnum": {
  14903. "description": "提货人证件号码",
  14904. "type": "string"
  14905. },
  14906. "cardtypeid": {
  14907. "description": "提货人证件类型",
  14908. "type": "integer"
  14909. },
  14910. "checkremark": {
  14911. "description": "审核备注",
  14912. "type": "string"
  14913. },
  14914. "goodscode": {
  14915. "description": "商品代码",
  14916. "type": "string"
  14917. },
  14918. "goodsid": {
  14919. "description": "商品ID",
  14920. "type": "integer"
  14921. },
  14922. "goodsname": {
  14923. "description": "商品名称",
  14924. "type": "string"
  14925. },
  14926. "handlestatus": {
  14927. "description": "处理状态",
  14928. "type": "integer"
  14929. },
  14930. "marketid": {
  14931. "description": "市场ID",
  14932. "type": "integer"
  14933. },
  14934. "phonenum": {
  14935. "description": "提货人联系方式",
  14936. "type": "string"
  14937. },
  14938. "qty": {
  14939. "description": "提货数量",
  14940. "type": "number"
  14941. },
  14942. "recivername": {
  14943. "description": "提货人姓名",
  14944. "type": "string"
  14945. },
  14946. "reqtime": {
  14947. "description": "更新时间",
  14948. "type": "string"
  14949. },
  14950. "takemode": {
  14951. "description": "提货方式 - 2:自提 3:配送",
  14952. "type": "integer"
  14953. },
  14954. "takeorderid": {
  14955. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  14956. "type": "string"
  14957. },
  14958. "takeorderstatus": {
  14959. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  14960. "type": "integer"
  14961. },
  14962. "takeremark": {
  14963. "description": "提货备注",
  14964. "type": "string"
  14965. },
  14966. "tradedate": {
  14967. "description": "交易日(yyyyMMdd)",
  14968. "type": "string"
  14969. },
  14970. "userid": {
  14971. "description": "用户ID",
  14972. "type": "integer"
  14973. }
  14974. }
  14975. },
  14976. "szdz.QueryRecieptOrderRsp": {
  14977. "type": "object",
  14978. "required": [
  14979. "ordertime"
  14980. ],
  14981. "properties": {
  14982. "accountName": {
  14983. "description": "所属账号名称(已脱敏)",
  14984. "type": "string"
  14985. },
  14986. "accountid": {
  14987. "description": "资金账号",
  14988. "type": "integer"
  14989. },
  14990. "buyorsell": {
  14991. "description": "方向 - 0:买 1:卖",
  14992. "type": "integer"
  14993. },
  14994. "enableqty": {
  14995. "description": "可摘数量",
  14996. "type": "integer"
  14997. },
  14998. "goodscode": {
  14999. "description": "商品代码",
  15000. "type": "string"
  15001. },
  15002. "goodsid": {
  15003. "description": "商品ID",
  15004. "type": "integer"
  15005. },
  15006. "goodsname": {
  15007. "description": "商品名称",
  15008. "type": "string"
  15009. },
  15010. "orderid": {
  15011. "description": "委托单号",
  15012. "type": "string"
  15013. },
  15014. "orderprice": {
  15015. "description": "委托价格",
  15016. "type": "number"
  15017. },
  15018. "ordertime": {
  15019. "description": "委托时间",
  15020. "type": "string"
  15021. },
  15022. "tradedate": {
  15023. "description": "交易日(yyyyMMdd)",
  15024. "type": "string"
  15025. }
  15026. }
  15027. },
  15028. "szdz.QuerySZDZTradePositionRsp": {
  15029. "type": "object",
  15030. "properties": {
  15031. "accountid": {
  15032. "description": "账号Id",
  15033. "type": "integer"
  15034. },
  15035. "agreeunit": {
  15036. "description": "合约单位",
  15037. "type": "number"
  15038. },
  15039. "averageprice": {
  15040. "description": "持仓均价",
  15041. "type": "number"
  15042. },
  15043. "buyorsell": {
  15044. "description": "方向 - 0:买 1:卖",
  15045. "type": "integer"
  15046. },
  15047. "closetotalqty": {
  15048. "description": "平仓总数量",
  15049. "type": "integer"
  15050. },
  15051. "curholderamount": {
  15052. "description": "当前持仓总金额",
  15053. "type": "number"
  15054. },
  15055. "curpositionqty": {
  15056. "description": "当前持仓总数量",
  15057. "type": "integer"
  15058. },
  15059. "currencyid": {
  15060. "description": "报价货币ID",
  15061. "type": "integer"
  15062. },
  15063. "curtdposition": {
  15064. "description": "期末今日头寸",
  15065. "type": "integer"
  15066. },
  15067. "decimalplace": {
  15068. "description": "报价小数位",
  15069. "type": "integer"
  15070. },
  15071. "enableqty": {
  15072. "description": "可用量",
  15073. "type": "integer"
  15074. },
  15075. "fretdposition": {
  15076. "description": "冻结今日头寸",
  15077. "type": "integer"
  15078. },
  15079. "frozenqty": {
  15080. "description": "持仓冻结数量",
  15081. "type": "integer"
  15082. },
  15083. "goodscode": {
  15084. "description": "商品代码(内部)",
  15085. "type": "string"
  15086. },
  15087. "goodsid": {
  15088. "description": "商品Id",
  15089. "type": "integer"
  15090. },
  15091. "goodsname": {
  15092. "description": "商品名称",
  15093. "type": "string"
  15094. },
  15095. "goodunit": {
  15096. "description": "报价单位",
  15097. "type": "string"
  15098. },
  15099. "goodunitid": {
  15100. "description": "报价单位ID",
  15101. "type": "integer"
  15102. },
  15103. "holderamount": {
  15104. "description": "期初持仓总金额",
  15105. "type": "number"
  15106. },
  15107. "marketid": {
  15108. "description": "市场ID",
  15109. "type": "integer"
  15110. },
  15111. "openreqqty": {
  15112. "description": "开仓申请数量",
  15113. "type": "integer"
  15114. },
  15115. "opentotalqty": {
  15116. "description": "开仓总数量",
  15117. "type": "integer"
  15118. },
  15119. "otherfrozenqty": {
  15120. "description": "持仓其他冻结数量(交割冻结)",
  15121. "type": "integer"
  15122. },
  15123. "positionqty": {
  15124. "description": "期初持仓数量",
  15125. "type": "integer"
  15126. },
  15127. "szdz3freezqty": {
  15128. "description": "尚志大宗转换冻结总数量",
  15129. "type": "integer"
  15130. },
  15131. "tnqty": {
  15132. "description": "T+N冻结总量",
  15133. "type": "integer"
  15134. },
  15135. "tnusedqty": {
  15136. "description": "T+N使用量",
  15137. "type": "integer"
  15138. },
  15139. "trademode": {
  15140. "description": "交易模式",
  15141. "type": "integer"
  15142. },
  15143. "usedmargin": {
  15144. "description": "占用保证金",
  15145. "type": "number"
  15146. }
  15147. }
  15148. },
  15149. "taaccount.QueryAmountLogRsp": {
  15150. "type": "object",
  15151. "required": [
  15152. "accountid",
  15153. "amount",
  15154. "amountadjusttype",
  15155. "autoid",
  15156. "balance",
  15157. "createtime",
  15158. "currentbalance",
  15159. "operatetype"
  15160. ],
  15161. "properties": {
  15162. "OPERATETYPENAME": {
  15163. "description": "资金操作类型名称",
  15164. "type": "string"
  15165. },
  15166. "accountid": {
  15167. "description": "资金账户ID",
  15168. "type": "integer"
  15169. },
  15170. "agoodscode": {
  15171. "description": "竞拍商品代码",
  15172. "type": "string"
  15173. },
  15174. "agoodsname": {
  15175. "description": "竞拍商品名称",
  15176. "type": "string"
  15177. },
  15178. "amount": {
  15179. "description": "资金金额",
  15180. "type": "number"
  15181. },
  15182. "amountadjusttype": {
  15183. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  15184. "type": "integer"
  15185. },
  15186. "autoid": {
  15187. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  15188. "type": "integer"
  15189. },
  15190. "balance": {
  15191. "description": "期初余额",
  15192. "type": "number"
  15193. },
  15194. "businesscode": {
  15195. "description": "业务编号",
  15196. "type": "integer"
  15197. },
  15198. "createtime": {
  15199. "description": "发生时间",
  15200. "type": "string"
  15201. },
  15202. "currencyid": {
  15203. "description": "币种ID",
  15204. "type": "integer"
  15205. },
  15206. "currentbalance": {
  15207. "description": "期末余额(变动后金额)",
  15208. "type": "number"
  15209. },
  15210. "dgoodscode": {
  15211. "description": "交割商品代码",
  15212. "type": "string"
  15213. },
  15214. "dgoodsname": {
  15215. "description": "交割商品名称",
  15216. "type": "string"
  15217. },
  15218. "goodscode": {
  15219. "description": "商品代码",
  15220. "type": "string"
  15221. },
  15222. "goodsid": {
  15223. "description": "商品ID",
  15224. "type": "integer"
  15225. },
  15226. "goodsname": {
  15227. "description": "商品名称",
  15228. "type": "string"
  15229. },
  15230. "marketid": {
  15231. "description": "市场ID",
  15232. "type": "integer"
  15233. },
  15234. "marketname": {
  15235. "description": "市场名称",
  15236. "type": "string"
  15237. },
  15238. "moneyticket": {
  15239. "description": "资金流水号:银行端流水号",
  15240. "type": "integer"
  15241. },
  15242. "operatetype": {
  15243. "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:营销收款",
  15244. "type": "integer"
  15245. },
  15246. "relationorderid": {
  15247. "description": "关联单号",
  15248. "type": "string"
  15249. },
  15250. "remark": {
  15251. "description": "备注",
  15252. "type": "string"
  15253. },
  15254. "trademode": {
  15255. "description": "交易模式",
  15256. "type": "integer"
  15257. }
  15258. }
  15259. },
  15260. "taaccount.QueryHisAmountLogRsp": {
  15261. "type": "object",
  15262. "required": [
  15263. "accountid",
  15264. "amount",
  15265. "amountadjusttype",
  15266. "autoid",
  15267. "balance",
  15268. "createtime",
  15269. "currentbalance",
  15270. "histradedate",
  15271. "operatetype"
  15272. ],
  15273. "properties": {
  15274. "OPERATETYPENAME": {
  15275. "description": "资金操作类型名称",
  15276. "type": "string"
  15277. },
  15278. "accountid": {
  15279. "description": "资金账户ID",
  15280. "type": "integer"
  15281. },
  15282. "agoodscode": {
  15283. "description": "竞拍商品代码",
  15284. "type": "string"
  15285. },
  15286. "agoodsname": {
  15287. "description": "竞拍商品名称",
  15288. "type": "string"
  15289. },
  15290. "amount": {
  15291. "description": "资金金额",
  15292. "type": "number"
  15293. },
  15294. "amountadjusttype": {
  15295. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  15296. "type": "integer"
  15297. },
  15298. "autoid": {
  15299. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  15300. "type": "integer"
  15301. },
  15302. "balance": {
  15303. "description": "期初余额",
  15304. "type": "number"
  15305. },
  15306. "businesscode": {
  15307. "description": "业务编号",
  15308. "type": "integer"
  15309. },
  15310. "createtime": {
  15311. "description": "发生时间",
  15312. "type": "string"
  15313. },
  15314. "currencyid": {
  15315. "description": "币种ID",
  15316. "type": "integer"
  15317. },
  15318. "currentbalance": {
  15319. "description": "期末余额(变动后金额)",
  15320. "type": "number"
  15321. },
  15322. "dgoodscode": {
  15323. "description": "交割商品代码",
  15324. "type": "string"
  15325. },
  15326. "dgoodsname": {
  15327. "description": "交割商品名称",
  15328. "type": "string"
  15329. },
  15330. "goodscode": {
  15331. "description": "商品代码",
  15332. "type": "string"
  15333. },
  15334. "goodsid": {
  15335. "description": "商品ID",
  15336. "type": "integer"
  15337. },
  15338. "goodsname": {
  15339. "description": "商品名称",
  15340. "type": "string"
  15341. },
  15342. "histradedate": {
  15343. "description": "历史交易日",
  15344. "type": "string"
  15345. },
  15346. "isvaliddata": {
  15347. "description": "是否有效 - 0:无效 1:有效",
  15348. "type": "integer"
  15349. },
  15350. "marketid": {
  15351. "description": "市场ID",
  15352. "type": "integer"
  15353. },
  15354. "marketname": {
  15355. "description": "市场名称",
  15356. "type": "string"
  15357. },
  15358. "moneyticket": {
  15359. "description": "资金流水号:银行端流水号",
  15360. "type": "integer"
  15361. },
  15362. "operatetype": {
  15363. "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:营销收款",
  15364. "type": "integer"
  15365. },
  15366. "relationorderid": {
  15367. "description": "关联单号",
  15368. "type": "string"
  15369. },
  15370. "remark": {
  15371. "description": "备注",
  15372. "type": "string"
  15373. },
  15374. "trademode": {
  15375. "description": "交易模式",
  15376. "type": "integer"
  15377. }
  15378. }
  15379. },
  15380. "trade.QueryRecieptOrderRsp": {
  15381. "type": "object",
  15382. "required": [
  15383. "ordertime"
  15384. ],
  15385. "properties": {
  15386. "accountName": {
  15387. "description": "所属账号名称(已脱敏)",
  15388. "type": "string"
  15389. },
  15390. "accountid": {
  15391. "description": "资金账号",
  15392. "type": "integer"
  15393. },
  15394. "buyorsell": {
  15395. "description": "方向 - 0:买 1:卖",
  15396. "type": "integer"
  15397. },
  15398. "enableqty": {
  15399. "description": "可摘数量",
  15400. "type": "integer"
  15401. },
  15402. "goodscode": {
  15403. "description": "商品代码",
  15404. "type": "string"
  15405. },
  15406. "goodsid": {
  15407. "description": "商品ID",
  15408. "type": "integer"
  15409. },
  15410. "goodsname": {
  15411. "description": "商品名称",
  15412. "type": "string"
  15413. },
  15414. "orderid": {
  15415. "description": "委托单号",
  15416. "type": "string"
  15417. },
  15418. "orderprice": {
  15419. "description": "委托价格",
  15420. "type": "number"
  15421. },
  15422. "ordertime": {
  15423. "description": "委托时间",
  15424. "type": "string"
  15425. },
  15426. "tradedate": {
  15427. "description": "交易日(yyyyMMdd)",
  15428. "type": "string"
  15429. }
  15430. }
  15431. }
  15432. },
  15433. "securityDefinitions": {
  15434. "ApiKeyAuth": {
  15435. "type": "apiKey",
  15436. "name": "Authorization",
  15437. "in": "header"
  15438. }
  15439. }
  15440. }`
  15441. type swaggerInfo struct {
  15442. Version string
  15443. Host string
  15444. BasePath string
  15445. Schemes []string
  15446. Title string
  15447. Description string
  15448. }
  15449. // SwaggerInfo holds exported Swagger Info so clients can modify it
  15450. var SwaggerInfo = swaggerInfo{
  15451. Version: "1.0",
  15452. Host: "",
  15453. BasePath: "/api",
  15454. Schemes: []string{},
  15455. Title: "MTP2.0 查询服务 API",
  15456. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  15457. }
  15458. type s struct{}
  15459. func (s *s) ReadDoc() string {
  15460. sInfo := SwaggerInfo
  15461. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  15462. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  15463. "marshal": func(v interface{}) string {
  15464. a, _ := json.Marshal(v)
  15465. return string(a)
  15466. },
  15467. }).Parse(doc)
  15468. if err != nil {
  15469. return doc
  15470. }
  15471. var tpl bytes.Buffer
  15472. if err := t.Execute(&tpl, sInfo); err != nil {
  15473. return doc
  15474. }
  15475. return tpl.String()
  15476. }
  15477. func init() {
  15478. swag.Register(swag.Name, &s{})
  15479. }