docs.go 730 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetDivisions": {
  402. "get": {
  403. "produces": [
  404. "application/json"
  405. ],
  406. "tags": [
  407. "通用服务"
  408. ],
  409. "summary": "查询区域信息",
  410. "responses": {
  411. "200": {
  412. "description": "OK",
  413. "schema": {
  414. "$ref": "#/definitions/models.Division"
  415. }
  416. },
  417. "500": {
  418. "description": "Internal Server Error",
  419. "schema": {
  420. "$ref": "#/definitions/app.Response"
  421. }
  422. }
  423. }
  424. }
  425. },
  426. "/Common/GetServerTime": {
  427. "get": {
  428. "produces": [
  429. "application/json"
  430. ],
  431. "tags": [
  432. "通用服务"
  433. ],
  434. "summary": "获取服务器时间",
  435. "responses": {
  436. "200": {
  437. "description": "OK",
  438. "schema": {
  439. "$ref": "#/definitions/app.Response"
  440. }
  441. },
  442. "500": {
  443. "description": "Internal Server Error",
  444. "schema": {
  445. "$ref": "#/definitions/app.Response"
  446. }
  447. }
  448. }
  449. }
  450. },
  451. "/Common/NoticeReaded": {
  452. "post": {
  453. "security": [
  454. {
  455. "ApiKeyAuth": []
  456. }
  457. ],
  458. "produces": [
  459. "application/json"
  460. ],
  461. "tags": [
  462. "通用服务"
  463. ],
  464. "summary": "通知公告设置已读请求",
  465. "parameters": [
  466. {
  467. "type": "integer",
  468. "description": "登录账号",
  469. "name": "loginID",
  470. "in": "query",
  471. "required": true
  472. },
  473. {
  474. "type": "integer",
  475. "description": "通知公告ID",
  476. "name": "noticeID",
  477. "in": "query",
  478. "required": true
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/app.Response"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryErrorInfos": {
  498. "get": {
  499. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  500. "produces": [
  501. "application/json"
  502. ],
  503. "tags": [
  504. "通用服务"
  505. ],
  506. "summary": "获取数据库错误信息",
  507. "parameters": [
  508. {
  509. "type": "string",
  510. "description": "起始行号前索引",
  511. "name": "rowNumber",
  512. "in": "query"
  513. }
  514. ],
  515. "responses": {
  516. "200": {
  517. "description": "OK",
  518. "schema": {
  519. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  520. }
  521. },
  522. "500": {
  523. "description": "Internal Server Error",
  524. "schema": {
  525. "$ref": "#/definitions/app.Response"
  526. }
  527. }
  528. }
  529. }
  530. },
  531. "/Common/QueryImageConfigs": {
  532. "get": {
  533. "produces": [
  534. "application/json"
  535. ],
  536. "tags": [
  537. "通用服务"
  538. ],
  539. "summary": "查询轮播图配置信息",
  540. "parameters": [
  541. {
  542. "type": "integer",
  543. "description": "类型 - 1:App首页轮播 2:我的",
  544. "name": "imageType",
  545. "in": "query"
  546. }
  547. ],
  548. "responses": {
  549. "200": {
  550. "description": "OK",
  551. "schema": {
  552. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  553. }
  554. },
  555. "500": {
  556. "description": "Internal Server Error",
  557. "schema": {
  558. "$ref": "#/definitions/app.Response"
  559. }
  560. }
  561. }
  562. }
  563. },
  564. "/Common/QueryNotice": {
  565. "get": {
  566. "security": [
  567. {
  568. "ApiKeyAuth": []
  569. }
  570. ],
  571. "produces": [
  572. "application/json"
  573. ],
  574. "tags": [
  575. "通用服务"
  576. ],
  577. "summary": "通知公告系统消息查询",
  578. "parameters": [
  579. {
  580. "type": "integer",
  581. "description": "页码",
  582. "name": "page",
  583. "in": "query"
  584. },
  585. {
  586. "type": "integer",
  587. "description": "每页条数",
  588. "name": "pagesize",
  589. "in": "query"
  590. },
  591. {
  592. "type": "integer",
  593. "description": "登录账号",
  594. "name": "loginID",
  595. "in": "query",
  596. "required": true
  597. },
  598. {
  599. "type": "integer",
  600. "description": "消息类型 - 1:公告通知 2:系统消息",
  601. "name": "msgType",
  602. "in": "query"
  603. },
  604. {
  605. "type": "boolean",
  606. "description": "是否只获取未读信息",
  607. "name": "onlyUnRead",
  608. "in": "query"
  609. },
  610. {
  611. "type": "integer",
  612. "description": "自增ID,传入后会返回这个ID后面的记录",
  613. "name": "lastID",
  614. "in": "query"
  615. }
  616. ],
  617. "responses": {
  618. "200": {
  619. "description": "OK",
  620. "schema": {
  621. "$ref": "#/definitions/common.QueryNoticeRsp"
  622. }
  623. },
  624. "500": {
  625. "description": "Internal Server Error",
  626. "schema": {
  627. "$ref": "#/definitions/app.Response"
  628. }
  629. }
  630. }
  631. }
  632. },
  633. "/Common/QueryProvincesAndCities": {
  634. "get": {
  635. "produces": [
  636. "application/json"
  637. ],
  638. "tags": [
  639. "通用服务"
  640. ],
  641. "summary": "查询省市信息(不包括区)",
  642. "parameters": [
  643. {
  644. "type": "integer",
  645. "description": "省ID",
  646. "name": "provinceID",
  647. "in": "query"
  648. }
  649. ],
  650. "responses": {
  651. "200": {
  652. "description": "OK",
  653. "schema": {
  654. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  655. }
  656. },
  657. "500": {
  658. "description": "Internal Server Error",
  659. "schema": {
  660. "$ref": "#/definitions/app.Response"
  661. }
  662. }
  663. }
  664. }
  665. },
  666. "/Common/QueryTableDefine": {
  667. "get": {
  668. "produces": [
  669. "application/json"
  670. ],
  671. "tags": [
  672. "通用服务"
  673. ],
  674. "summary": "查询交易端列表头信息",
  675. "parameters": [
  676. {
  677. "type": "string",
  678. "description": "表key",
  679. "name": "tableKey",
  680. "in": "query"
  681. },
  682. {
  683. "type": "integer",
  684. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  685. "name": "tableType",
  686. "in": "query"
  687. }
  688. ],
  689. "responses": {
  690. "200": {
  691. "description": "OK",
  692. "schema": {
  693. "$ref": "#/definitions/common.QueryTableDefineRsp"
  694. }
  695. },
  696. "500": {
  697. "description": "Internal Server Error",
  698. "schema": {
  699. "$ref": "#/definitions/app.Response"
  700. }
  701. }
  702. }
  703. }
  704. },
  705. "/Common/QueryTraderMenu": {
  706. "get": {
  707. "produces": [
  708. "application/json"
  709. ],
  710. "tags": [
  711. "通用服务"
  712. ],
  713. "summary": "查询交易端菜单",
  714. "parameters": [
  715. {
  716. "type": "integer",
  717. "description": "登录账号",
  718. "name": "loginid",
  719. "in": "query",
  720. "required": true
  721. }
  722. ],
  723. "responses": {
  724. "200": {
  725. "description": "OK",
  726. "schema": {
  727. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  728. }
  729. },
  730. "500": {
  731. "description": "Internal Server Error",
  732. "schema": {
  733. "$ref": "#/definitions/app.Response"
  734. }
  735. }
  736. }
  737. }
  738. },
  739. "/Delivery/QueryDeliveryRelation": {
  740. "get": {
  741. "security": [
  742. {
  743. "ApiKeyAuth": []
  744. }
  745. ],
  746. "produces": [
  747. "application/json"
  748. ],
  749. "tags": [
  750. "交割服务"
  751. ],
  752. "summary": "查询商品交割关系表",
  753. "parameters": [
  754. {
  755. "type": "integer",
  756. "description": "商品ID",
  757. "name": "goodsid",
  758. "in": "query"
  759. },
  760. {
  761. "type": "integer",
  762. "description": "品种ID",
  763. "name": "deliverygoodsid",
  764. "in": "query"
  765. },
  766. {
  767. "type": "integer",
  768. "description": "市场ID",
  769. "name": "marketid",
  770. "in": "query"
  771. }
  772. ],
  773. "responses": {
  774. "200": {
  775. "description": "OK",
  776. "schema": {
  777. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  778. }
  779. },
  780. "500": {
  781. "description": "Internal Server Error",
  782. "schema": {
  783. "$ref": "#/definitions/app.Response"
  784. }
  785. }
  786. }
  787. }
  788. },
  789. "/Ermcp/GetErmcpGoods": {
  790. "get": {
  791. "security": [
  792. {
  793. "ApiKeyAuth": []
  794. }
  795. ],
  796. "produces": [
  797. "application/json"
  798. ],
  799. "tags": [
  800. "企业风险管理(app)"
  801. ],
  802. "summary": "查询企业风管期货商品信息",
  803. "parameters": [
  804. {
  805. "type": "string",
  806. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  807. "name": "lastUpdateTime",
  808. "in": "query"
  809. }
  810. ],
  811. "responses": {
  812. "200": {
  813. "description": "OK",
  814. "schema": {
  815. "$ref": "#/definitions/models.Goods"
  816. }
  817. },
  818. "500": {
  819. "description": "Internal Server Error",
  820. "schema": {
  821. "$ref": "#/definitions/app.Response"
  822. }
  823. }
  824. }
  825. }
  826. },
  827. "/Ermcp/GetErmcpGoodsSortByPosition": {
  828. "get": {
  829. "security": [
  830. {
  831. "ApiKeyAuth": []
  832. }
  833. ],
  834. "produces": [
  835. "application/json"
  836. ],
  837. "tags": [
  838. "企业风险管理(app)"
  839. ],
  840. "summary": "查询企业风管期货主力、次主力商品信息",
  841. "parameters": [
  842. {
  843. "type": "string",
  844. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  845. "name": "sortIndex",
  846. "in": "query"
  847. }
  848. ],
  849. "responses": {
  850. "200": {
  851. "description": "OK",
  852. "schema": {
  853. "$ref": "#/definitions/models.Goodssortbypreposition"
  854. }
  855. },
  856. "500": {
  857. "description": "Internal Server Error",
  858. "schema": {
  859. "$ref": "#/definitions/app.Response"
  860. }
  861. }
  862. }
  863. }
  864. },
  865. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  866. "get": {
  867. "security": [
  868. {
  869. "ApiKeyAuth": []
  870. }
  871. ],
  872. "produces": [
  873. "application/json"
  874. ],
  875. "tags": [
  876. "企业风险管理(app)"
  877. ],
  878. "summary": "获取企业风管终端权限",
  879. "parameters": [
  880. {
  881. "type": "integer",
  882. "description": "登录账号",
  883. "name": "loginID",
  884. "in": "query",
  885. "required": true
  886. }
  887. ],
  888. "responses": {
  889. "200": {
  890. "description": "OK",
  891. "schema": {
  892. "$ref": "#/definitions/models.Funcmenulist"
  893. }
  894. },
  895. "500": {
  896. "description": "Internal Server Error",
  897. "schema": {
  898. "$ref": "#/definitions/app.Response"
  899. }
  900. }
  901. }
  902. }
  903. },
  904. "/Ermcp/QryReportDayExposure": {
  905. "get": {
  906. "security": [
  907. {
  908. "ApiKeyAuth": []
  909. }
  910. ],
  911. "produces": [
  912. "application/json"
  913. ],
  914. "tags": [
  915. "企业风险管理(app)"
  916. ],
  917. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  918. "parameters": [
  919. {
  920. "type": "integer",
  921. "description": "用户ID",
  922. "name": "userid",
  923. "in": "query",
  924. "required": true
  925. },
  926. {
  927. "type": "string",
  928. "description": "交易日(格式:yyyyMMdd)",
  929. "name": "tradedate",
  930. "in": "query",
  931. "required": true
  932. }
  933. ],
  934. "responses": {
  935. "200": {
  936. "description": "OK",
  937. "schema": {
  938. "type": "array",
  939. "items": {
  940. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  941. }
  942. }
  943. },
  944. "500": {
  945. "description": "Internal Server Error",
  946. "schema": {
  947. "$ref": "#/definitions/app.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/Ermcp/QryReportDayFinance": {
  954. "get": {
  955. "security": [
  956. {
  957. "ApiKeyAuth": []
  958. }
  959. ],
  960. "produces": [
  961. "application/json"
  962. ],
  963. "tags": [
  964. "企业风险管理(app)"
  965. ],
  966. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  967. "parameters": [
  968. {
  969. "type": "integer",
  970. "description": "用户ID",
  971. "name": "userid",
  972. "in": "query",
  973. "required": true
  974. },
  975. {
  976. "type": "string",
  977. "description": "交易日(格式:yyyyMMdd)",
  978. "name": "tradedate",
  979. "in": "query",
  980. "required": true
  981. }
  982. ],
  983. "responses": {
  984. "200": {
  985. "description": "OK",
  986. "schema": {
  987. "type": "array",
  988. "items": {
  989. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  990. }
  991. }
  992. },
  993. "500": {
  994. "description": "Internal Server Error",
  995. "schema": {
  996. "$ref": "#/definitions/app.Response"
  997. }
  998. }
  999. }
  1000. }
  1001. },
  1002. "/Ermcp/QryReportDayFinanceFp": {
  1003. "get": {
  1004. "security": [
  1005. {
  1006. "ApiKeyAuth": []
  1007. }
  1008. ],
  1009. "produces": [
  1010. "application/json"
  1011. ],
  1012. "tags": [
  1013. "企业风险管理(app)"
  1014. ],
  1015. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  1016. "parameters": [
  1017. {
  1018. "type": "integer",
  1019. "description": "用户ID",
  1020. "name": "userid",
  1021. "in": "query",
  1022. "required": true
  1023. },
  1024. {
  1025. "type": "string",
  1026. "description": "交易日(格式:yyyyMMdd)",
  1027. "name": "tradedate",
  1028. "in": "query",
  1029. "required": true
  1030. }
  1031. ],
  1032. "responses": {
  1033. "200": {
  1034. "description": "OK",
  1035. "schema": {
  1036. "type": "array",
  1037. "items": {
  1038. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1039. }
  1040. }
  1041. },
  1042. "500": {
  1043. "description": "Internal Server Error",
  1044. "schema": {
  1045. "$ref": "#/definitions/app.Response"
  1046. }
  1047. }
  1048. }
  1049. }
  1050. },
  1051. "/Ermcp/QryReportDayFinanceKx": {
  1052. "get": {
  1053. "security": [
  1054. {
  1055. "ApiKeyAuth": []
  1056. }
  1057. ],
  1058. "produces": [
  1059. "application/json"
  1060. ],
  1061. "tags": [
  1062. "企业风险管理(app)"
  1063. ],
  1064. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1065. "parameters": [
  1066. {
  1067. "type": "integer",
  1068. "description": "用户ID",
  1069. "name": "userid",
  1070. "in": "query",
  1071. "required": true
  1072. },
  1073. {
  1074. "type": "string",
  1075. "description": "交易日(格式:yyyyMMdd)",
  1076. "name": "tradedate",
  1077. "in": "query",
  1078. "required": true
  1079. }
  1080. ],
  1081. "responses": {
  1082. "200": {
  1083. "description": "OK",
  1084. "schema": {
  1085. "type": "array",
  1086. "items": {
  1087. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1088. }
  1089. }
  1090. },
  1091. "500": {
  1092. "description": "Internal Server Error",
  1093. "schema": {
  1094. "$ref": "#/definitions/app.Response"
  1095. }
  1096. }
  1097. }
  1098. }
  1099. },
  1100. "/Ermcp/QryReportDaySpot": {
  1101. "get": {
  1102. "security": [
  1103. {
  1104. "ApiKeyAuth": []
  1105. }
  1106. ],
  1107. "produces": [
  1108. "application/json"
  1109. ],
  1110. "tags": [
  1111. "企业风险管理(app)"
  1112. ],
  1113. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1114. "parameters": [
  1115. {
  1116. "type": "integer",
  1117. "description": "用户ID",
  1118. "name": "userid",
  1119. "in": "query",
  1120. "required": true
  1121. },
  1122. {
  1123. "type": "string",
  1124. "description": "交易日(格式:yyyyMMdd)",
  1125. "name": "tradedate",
  1126. "in": "query",
  1127. "required": true
  1128. }
  1129. ],
  1130. "responses": {
  1131. "200": {
  1132. "description": "OK",
  1133. "schema": {
  1134. "type": "array",
  1135. "items": {
  1136. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1137. }
  1138. }
  1139. },
  1140. "500": {
  1141. "description": "Internal Server Error",
  1142. "schema": {
  1143. "$ref": "#/definitions/app.Response"
  1144. }
  1145. }
  1146. }
  1147. }
  1148. },
  1149. "/Ermcp/QryReportDaySpotDetail": {
  1150. "get": {
  1151. "security": [
  1152. {
  1153. "ApiKeyAuth": []
  1154. }
  1155. ],
  1156. "produces": [
  1157. "application/json"
  1158. ],
  1159. "tags": [
  1160. "企业风险管理(app)"
  1161. ],
  1162. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1163. "parameters": [
  1164. {
  1165. "type": "integer",
  1166. "description": "用户ID",
  1167. "name": "userid",
  1168. "in": "query",
  1169. "required": true
  1170. },
  1171. {
  1172. "type": "integer",
  1173. "description": "现货商品id",
  1174. "name": "wrstandardid",
  1175. "in": "query",
  1176. "required": true
  1177. },
  1178. {
  1179. "type": "string",
  1180. "description": "交易日(格式:yyyyMMdd)",
  1181. "name": "tradedate",
  1182. "in": "query",
  1183. "required": true
  1184. }
  1185. ],
  1186. "responses": {
  1187. "200": {
  1188. "description": "OK",
  1189. "schema": {
  1190. "type": "array",
  1191. "items": {
  1192. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1193. }
  1194. }
  1195. },
  1196. "500": {
  1197. "description": "Internal Server Error",
  1198. "schema": {
  1199. "$ref": "#/definitions/app.Response"
  1200. }
  1201. }
  1202. }
  1203. }
  1204. },
  1205. "/Ermcp/QryReportMonthFinance": {
  1206. "get": {
  1207. "security": [
  1208. {
  1209. "ApiKeyAuth": []
  1210. }
  1211. ],
  1212. "produces": [
  1213. "application/json"
  1214. ],
  1215. "tags": [
  1216. "企业风险管理(app)"
  1217. ],
  1218. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1219. "parameters": [
  1220. {
  1221. "type": "integer",
  1222. "description": "用户ID",
  1223. "name": "userid",
  1224. "in": "query",
  1225. "required": true
  1226. },
  1227. {
  1228. "type": "string",
  1229. "description": "周期时间:月(格式:yyyyMM)",
  1230. "name": "cycletime",
  1231. "in": "query",
  1232. "required": true
  1233. }
  1234. ],
  1235. "responses": {
  1236. "200": {
  1237. "description": "OK",
  1238. "schema": {
  1239. "type": "array",
  1240. "items": {
  1241. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1242. }
  1243. }
  1244. },
  1245. "500": {
  1246. "description": "Internal Server Error",
  1247. "schema": {
  1248. "$ref": "#/definitions/app.Response"
  1249. }
  1250. }
  1251. }
  1252. }
  1253. },
  1254. "/Ermcp/QryReportMonthSpot": {
  1255. "get": {
  1256. "security": [
  1257. {
  1258. "ApiKeyAuth": []
  1259. }
  1260. ],
  1261. "produces": [
  1262. "application/json"
  1263. ],
  1264. "tags": [
  1265. "企业风险管理(app)"
  1266. ],
  1267. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1268. "parameters": [
  1269. {
  1270. "type": "integer",
  1271. "description": "用户ID",
  1272. "name": "userid",
  1273. "in": "query",
  1274. "required": true
  1275. },
  1276. {
  1277. "type": "string",
  1278. "description": "周期时间:月(格式:yyyyMM)",
  1279. "name": "cycletime",
  1280. "in": "query",
  1281. "required": true
  1282. }
  1283. ],
  1284. "responses": {
  1285. "200": {
  1286. "description": "OK",
  1287. "schema": {
  1288. "type": "array",
  1289. "items": {
  1290. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1291. }
  1292. }
  1293. },
  1294. "500": {
  1295. "description": "Internal Server Error",
  1296. "schema": {
  1297. "$ref": "#/definitions/app.Response"
  1298. }
  1299. }
  1300. }
  1301. }
  1302. },
  1303. "/Ermcp/QryReportMonthSpotDetail": {
  1304. "get": {
  1305. "security": [
  1306. {
  1307. "ApiKeyAuth": []
  1308. }
  1309. ],
  1310. "produces": [
  1311. "application/json"
  1312. ],
  1313. "tags": [
  1314. "企业风险管理(app)"
  1315. ],
  1316. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1317. "parameters": [
  1318. {
  1319. "type": "integer",
  1320. "description": "用户ID",
  1321. "name": "userid",
  1322. "in": "query",
  1323. "required": true
  1324. },
  1325. {
  1326. "type": "integer",
  1327. "description": "现货商品id",
  1328. "name": "wrstandardid",
  1329. "in": "query",
  1330. "required": true
  1331. },
  1332. {
  1333. "type": "string",
  1334. "description": "周期时间:月(格式:yyyyMM)",
  1335. "name": "cycletime",
  1336. "in": "query",
  1337. "required": true
  1338. }
  1339. ],
  1340. "responses": {
  1341. "200": {
  1342. "description": "OK",
  1343. "schema": {
  1344. "type": "array",
  1345. "items": {
  1346. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1347. }
  1348. }
  1349. },
  1350. "500": {
  1351. "description": "Internal Server Error",
  1352. "schema": {
  1353. "$ref": "#/definitions/app.Response"
  1354. }
  1355. }
  1356. }
  1357. }
  1358. },
  1359. "/Ermcp/QueryAreaStock": {
  1360. "get": {
  1361. "security": [
  1362. {
  1363. "ApiKeyAuth": []
  1364. }
  1365. ],
  1366. "produces": [
  1367. "application/json"
  1368. ],
  1369. "tags": [
  1370. "企业风险管理(app)"
  1371. ],
  1372. "summary": "查询机构库存(库存管理/当前库存)",
  1373. "parameters": [
  1374. {
  1375. "type": "integer",
  1376. "description": "用户ID",
  1377. "name": "userid",
  1378. "in": "query",
  1379. "required": true
  1380. }
  1381. ],
  1382. "responses": {
  1383. "200": {
  1384. "description": "OK",
  1385. "schema": {
  1386. "type": "array",
  1387. "items": {
  1388. "$ref": "#/definitions/models.ErmcpAreaStock"
  1389. }
  1390. }
  1391. },
  1392. "500": {
  1393. "description": "Internal Server Error",
  1394. "schema": {
  1395. "$ref": "#/definitions/app.Response"
  1396. }
  1397. }
  1398. }
  1399. }
  1400. },
  1401. "/Ermcp/QueryAreaStockApply": {
  1402. "get": {
  1403. "security": [
  1404. {
  1405. "ApiKeyAuth": []
  1406. }
  1407. ],
  1408. "produces": [
  1409. "application/json"
  1410. ],
  1411. "tags": [
  1412. "企业风险管理(app)"
  1413. ],
  1414. "summary": "查询库存申请(出入库记录|库存审核)",
  1415. "parameters": [
  1416. {
  1417. "type": "integer",
  1418. "description": "用户ID",
  1419. "name": "userid",
  1420. "in": "query",
  1421. "required": true
  1422. },
  1423. {
  1424. "type": "string",
  1425. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1426. "name": "inouttype",
  1427. "in": "query"
  1428. },
  1429. {
  1430. "type": "integer",
  1431. "description": "合同ID",
  1432. "name": "spotcontractid",
  1433. "in": "query"
  1434. },
  1435. {
  1436. "type": "integer",
  1437. "description": "现货商品ID",
  1438. "name": "wrstandardid",
  1439. "in": "query"
  1440. },
  1441. {
  1442. "type": "integer",
  1443. "description": "品牌ID",
  1444. "name": "spotgoodsbrandid",
  1445. "in": "query"
  1446. },
  1447. {
  1448. "type": "integer",
  1449. "description": "型号ID",
  1450. "name": "spotgoodsmodelid",
  1451. "in": "query"
  1452. },
  1453. {
  1454. "type": "integer",
  1455. "description": "仓库ID",
  1456. "name": "warehouseinfoid",
  1457. "in": "query"
  1458. },
  1459. {
  1460. "type": "string",
  1461. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1462. "name": "applystatus",
  1463. "in": "query"
  1464. }
  1465. ],
  1466. "responses": {
  1467. "200": {
  1468. "description": "OK",
  1469. "schema": {
  1470. "type": "array",
  1471. "items": {
  1472. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1473. }
  1474. }
  1475. },
  1476. "500": {
  1477. "description": "Internal Server Error",
  1478. "schema": {
  1479. "$ref": "#/definitions/app.Response"
  1480. }
  1481. }
  1482. }
  1483. }
  1484. },
  1485. "/Ermcp/QueryAreaStockApplySum": {
  1486. "get": {
  1487. "security": [
  1488. {
  1489. "ApiKeyAuth": []
  1490. }
  1491. ],
  1492. "produces": [
  1493. "application/json"
  1494. ],
  1495. "tags": [
  1496. "企业风险管理(app)"
  1497. ],
  1498. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1499. "parameters": [
  1500. {
  1501. "type": "integer",
  1502. "description": "合同ID",
  1503. "name": "spotcontractid",
  1504. "in": "query"
  1505. }
  1506. ],
  1507. "responses": {
  1508. "200": {
  1509. "description": "OK",
  1510. "schema": {
  1511. "type": "array",
  1512. "items": {
  1513. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1514. }
  1515. }
  1516. },
  1517. "500": {
  1518. "description": "Internal Server Error",
  1519. "schema": {
  1520. "$ref": "#/definitions/app.Response"
  1521. }
  1522. }
  1523. }
  1524. }
  1525. },
  1526. "/Ermcp/QueryAreaStockReport": {
  1527. "get": {
  1528. "security": [
  1529. {
  1530. "ApiKeyAuth": []
  1531. }
  1532. ],
  1533. "produces": [
  1534. "application/json"
  1535. ],
  1536. "tags": [
  1537. "企业风险管理(app)"
  1538. ],
  1539. "summary": "查询库存报表",
  1540. "parameters": [
  1541. {
  1542. "type": "integer",
  1543. "description": "用户ID",
  1544. "name": "userid",
  1545. "in": "query",
  1546. "required": true
  1547. },
  1548. {
  1549. "type": "integer",
  1550. "description": "查询类型 1-日报表 2-月报表",
  1551. "name": "querytype",
  1552. "in": "query",
  1553. "required": true
  1554. },
  1555. {
  1556. "type": "string",
  1557. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1558. "name": "querydate",
  1559. "in": "query",
  1560. "required": true
  1561. },
  1562. {
  1563. "type": "integer",
  1564. "description": "现货商品ID",
  1565. "name": "wrstandardid",
  1566. "in": "query"
  1567. },
  1568. {
  1569. "type": "integer",
  1570. "description": "品牌ID",
  1571. "name": "spotgoodsbrandid",
  1572. "in": "query"
  1573. },
  1574. {
  1575. "type": "integer",
  1576. "description": "型号ID",
  1577. "name": "spotgoodsmodelid",
  1578. "in": "query"
  1579. },
  1580. {
  1581. "type": "integer",
  1582. "description": "仓库ID",
  1583. "name": "warehouseinfoid",
  1584. "in": "query"
  1585. }
  1586. ],
  1587. "responses": {
  1588. "200": {
  1589. "description": "OK",
  1590. "schema": {
  1591. "type": "array",
  1592. "items": {
  1593. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  1594. }
  1595. }
  1596. },
  1597. "500": {
  1598. "description": "Internal Server Error",
  1599. "schema": {
  1600. "$ref": "#/definitions/app.Response"
  1601. }
  1602. }
  1603. }
  1604. }
  1605. },
  1606. "/Ermcp/QueryAreaStockReportDetail": {
  1607. "get": {
  1608. "security": [
  1609. {
  1610. "ApiKeyAuth": []
  1611. }
  1612. ],
  1613. "produces": [
  1614. "application/json"
  1615. ],
  1616. "tags": [
  1617. "企业风险管理(app)"
  1618. ],
  1619. "summary": "查询库存报表明细",
  1620. "parameters": [
  1621. {
  1622. "type": "integer",
  1623. "description": "用户ID",
  1624. "name": "userid",
  1625. "in": "query",
  1626. "required": true
  1627. },
  1628. {
  1629. "type": "integer",
  1630. "description": "查询类型 1-日报表明细 2-月报表明细",
  1631. "name": "querytype",
  1632. "in": "query",
  1633. "required": true
  1634. },
  1635. {
  1636. "type": "integer",
  1637. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  1638. "name": "detailtype",
  1639. "in": "query",
  1640. "required": true
  1641. },
  1642. {
  1643. "type": "string",
  1644. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1645. "name": "querydate",
  1646. "in": "query",
  1647. "required": true
  1648. },
  1649. {
  1650. "type": "integer",
  1651. "description": "现货商品ID",
  1652. "name": "wrstandardid",
  1653. "in": "query"
  1654. },
  1655. {
  1656. "type": "integer",
  1657. "description": "品牌ID",
  1658. "name": "spotgoodsbrandid",
  1659. "in": "query"
  1660. },
  1661. {
  1662. "type": "integer",
  1663. "description": "型号ID",
  1664. "name": "spotgoodsmodelid",
  1665. "in": "query"
  1666. },
  1667. {
  1668. "type": "integer",
  1669. "description": "仓库ID",
  1670. "name": "warehouseinfoid",
  1671. "in": "query"
  1672. }
  1673. ],
  1674. "responses": {
  1675. "200": {
  1676. "description": "OK",
  1677. "schema": {
  1678. "type": "array",
  1679. "items": {
  1680. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  1681. }
  1682. }
  1683. },
  1684. "500": {
  1685. "description": "Internal Server Error",
  1686. "schema": {
  1687. "$ref": "#/definitions/app.Response"
  1688. }
  1689. }
  1690. }
  1691. }
  1692. },
  1693. "/Ermcp/QueryAvaildGoodsGroup": {
  1694. "get": {
  1695. "security": [
  1696. {
  1697. "ApiKeyAuth": []
  1698. }
  1699. ],
  1700. "produces": [
  1701. "application/json"
  1702. ],
  1703. "tags": [
  1704. "企业风险管理(app)"
  1705. ],
  1706. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1707. "parameters": [
  1708. {
  1709. "type": "integer",
  1710. "description": "所属机构ID",
  1711. "name": "userid",
  1712. "in": "query",
  1713. "required": true
  1714. }
  1715. ],
  1716. "responses": {
  1717. "200": {
  1718. "description": "OK",
  1719. "schema": {
  1720. "type": "array",
  1721. "items": {
  1722. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1723. }
  1724. }
  1725. },
  1726. "500": {
  1727. "description": "Internal Server Error",
  1728. "schema": {
  1729. "$ref": "#/definitions/app.Response"
  1730. }
  1731. }
  1732. }
  1733. }
  1734. },
  1735. "/Ermcp/QueryBusinessDj": {
  1736. "get": {
  1737. "security": [
  1738. {
  1739. "ApiKeyAuth": []
  1740. }
  1741. ],
  1742. "produces": [
  1743. "application/json"
  1744. ],
  1745. "tags": [
  1746. "企业风险管理(app)"
  1747. ],
  1748. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1749. "parameters": [
  1750. {
  1751. "type": "integer",
  1752. "description": "用户ID",
  1753. "name": "UserId",
  1754. "in": "query",
  1755. "required": true
  1756. },
  1757. {
  1758. "type": "string",
  1759. "description": "现货合同ID, 不填则查所有",
  1760. "name": "relatedid",
  1761. "in": "query"
  1762. }
  1763. ],
  1764. "responses": {
  1765. "200": {
  1766. "description": "OK",
  1767. "schema": {
  1768. "type": "array",
  1769. "items": {
  1770. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1771. }
  1772. }
  1773. },
  1774. "500": {
  1775. "description": "Internal Server Error",
  1776. "schema": {
  1777. "$ref": "#/definitions/app.Response"
  1778. }
  1779. }
  1780. }
  1781. }
  1782. },
  1783. "/Ermcp/QueryBusinessFp": {
  1784. "get": {
  1785. "security": [
  1786. {
  1787. "ApiKeyAuth": []
  1788. }
  1789. ],
  1790. "produces": [
  1791. "application/json"
  1792. ],
  1793. "tags": [
  1794. "企业风险管理(app)"
  1795. ],
  1796. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1797. "parameters": [
  1798. {
  1799. "type": "integer",
  1800. "description": "用户ID",
  1801. "name": "UserId",
  1802. "in": "query",
  1803. "required": true
  1804. },
  1805. {
  1806. "type": "string",
  1807. "description": "现货合同ID, 不填则查所有",
  1808. "name": "relatedid",
  1809. "in": "query"
  1810. }
  1811. ],
  1812. "responses": {
  1813. "200": {
  1814. "description": "OK",
  1815. "schema": {
  1816. "type": "array",
  1817. "items": {
  1818. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1819. }
  1820. }
  1821. },
  1822. "500": {
  1823. "description": "Internal Server Error",
  1824. "schema": {
  1825. "$ref": "#/definitions/app.Response"
  1826. }
  1827. }
  1828. }
  1829. }
  1830. },
  1831. "/Ermcp/QueryBusinessJs": {
  1832. "get": {
  1833. "security": [
  1834. {
  1835. "ApiKeyAuth": []
  1836. }
  1837. ],
  1838. "produces": [
  1839. "application/json"
  1840. ],
  1841. "tags": [
  1842. "企业风险管理(app)"
  1843. ],
  1844. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1845. "parameters": [
  1846. {
  1847. "type": "integer",
  1848. "description": "用户ID",
  1849. "name": "UserId",
  1850. "in": "query",
  1851. "required": true
  1852. },
  1853. {
  1854. "type": "string",
  1855. "description": "现货合同ID, 不填则查所有",
  1856. "name": "relatedid",
  1857. "in": "query"
  1858. },
  1859. {
  1860. "type": "string",
  1861. "description": "操作申请id",
  1862. "name": "operateapplyid",
  1863. "in": "query"
  1864. }
  1865. ],
  1866. "responses": {
  1867. "200": {
  1868. "description": "OK",
  1869. "schema": {
  1870. "type": "array",
  1871. "items": {
  1872. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1873. }
  1874. }
  1875. },
  1876. "500": {
  1877. "description": "Internal Server Error",
  1878. "schema": {
  1879. "$ref": "#/definitions/app.Response"
  1880. }
  1881. }
  1882. }
  1883. }
  1884. },
  1885. "/Ermcp/QueryBusinessJsEx": {
  1886. "get": {
  1887. "security": [
  1888. {
  1889. "ApiKeyAuth": []
  1890. }
  1891. ],
  1892. "produces": [
  1893. "application/json"
  1894. ],
  1895. "tags": [
  1896. "企业风险管理(app)"
  1897. ],
  1898. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1899. "parameters": [
  1900. {
  1901. "type": "integer",
  1902. "description": "用户ID",
  1903. "name": "UserId",
  1904. "in": "query",
  1905. "required": true
  1906. },
  1907. {
  1908. "type": "string",
  1909. "description": "现货合同ID, 不填则查所有",
  1910. "name": "relatedid",
  1911. "in": "query"
  1912. }
  1913. ],
  1914. "responses": {
  1915. "200": {
  1916. "description": "OK",
  1917. "schema": {
  1918. "type": "array",
  1919. "items": {
  1920. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1921. }
  1922. }
  1923. },
  1924. "500": {
  1925. "description": "Internal Server Error",
  1926. "schema": {
  1927. "$ref": "#/definitions/app.Response"
  1928. }
  1929. }
  1930. }
  1931. }
  1932. },
  1933. "/Ermcp/QueryBusinessKx": {
  1934. "get": {
  1935. "security": [
  1936. {
  1937. "ApiKeyAuth": []
  1938. }
  1939. ],
  1940. "produces": [
  1941. "application/json"
  1942. ],
  1943. "tags": [
  1944. "企业风险管理(app)"
  1945. ],
  1946. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1947. "parameters": [
  1948. {
  1949. "type": "integer",
  1950. "description": "用户ID",
  1951. "name": "UserId",
  1952. "in": "query",
  1953. "required": true
  1954. },
  1955. {
  1956. "type": "string",
  1957. "description": "现货合同ID, 不填则查所有",
  1958. "name": "relatedid",
  1959. "in": "query"
  1960. }
  1961. ],
  1962. "responses": {
  1963. "200": {
  1964. "description": "OK",
  1965. "schema": {
  1966. "type": "array",
  1967. "items": {
  1968. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1969. }
  1970. }
  1971. },
  1972. "500": {
  1973. "description": "Internal Server Error",
  1974. "schema": {
  1975. "$ref": "#/definitions/app.Response"
  1976. }
  1977. }
  1978. }
  1979. }
  1980. },
  1981. "/Ermcp/QueryChangeLog": {
  1982. "get": {
  1983. "security": [
  1984. {
  1985. "ApiKeyAuth": []
  1986. }
  1987. ],
  1988. "produces": [
  1989. "application/json"
  1990. ],
  1991. "tags": [
  1992. "企业风险管理(app)"
  1993. ],
  1994. "summary": "查询变更记录",
  1995. "parameters": [
  1996. {
  1997. "type": "string",
  1998. "description": "合同ID",
  1999. "name": "RelatedId",
  2000. "in": "query",
  2001. "required": true
  2002. }
  2003. ],
  2004. "responses": {
  2005. "200": {
  2006. "description": "OK",
  2007. "schema": {
  2008. "type": "array",
  2009. "items": {
  2010. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2011. }
  2012. }
  2013. },
  2014. "500": {
  2015. "description": "Internal Server Error",
  2016. "schema": {
  2017. "$ref": "#/definitions/app.Response"
  2018. }
  2019. }
  2020. }
  2021. }
  2022. },
  2023. "/Ermcp/QueryContract": {
  2024. "get": {
  2025. "security": [
  2026. {
  2027. "ApiKeyAuth": []
  2028. }
  2029. ],
  2030. "produces": [
  2031. "application/json"
  2032. ],
  2033. "tags": [
  2034. "企业风险管理(app)"
  2035. ],
  2036. "summary": "查询合同(采购和销售)",
  2037. "parameters": [
  2038. {
  2039. "type": "integer",
  2040. "description": "用户ID",
  2041. "name": "userId",
  2042. "in": "query",
  2043. "required": true
  2044. },
  2045. {
  2046. "type": "integer",
  2047. "description": "合同类型 1-采购, -1-销售",
  2048. "name": "contracttype",
  2049. "in": "query",
  2050. "required": true
  2051. },
  2052. {
  2053. "type": "integer",
  2054. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2055. "name": "querytype",
  2056. "in": "query",
  2057. "required": true
  2058. },
  2059. {
  2060. "type": "string",
  2061. "description": "合同ID(SpotContractId)",
  2062. "name": "contractid",
  2063. "in": "query"
  2064. }
  2065. ],
  2066. "responses": {
  2067. "200": {
  2068. "description": "OK",
  2069. "schema": {
  2070. "type": "array",
  2071. "items": {
  2072. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2073. }
  2074. }
  2075. },
  2076. "500": {
  2077. "description": "Internal Server Error",
  2078. "schema": {
  2079. "$ref": "#/definitions/app.Response"
  2080. }
  2081. }
  2082. }
  2083. }
  2084. },
  2085. "/Ermcp/QueryErmcpHisOrderDetails": {
  2086. "get": {
  2087. "security": [
  2088. {
  2089. "ApiKeyAuth": []
  2090. }
  2091. ],
  2092. "produces": [
  2093. "application/json"
  2094. ],
  2095. "tags": [
  2096. "企业风险管理(app)"
  2097. ],
  2098. "summary": "获取企业风管期货历史委托单信息",
  2099. "parameters": [
  2100. {
  2101. "type": "integer",
  2102. "description": "资金账户ID",
  2103. "name": "accountID",
  2104. "in": "query",
  2105. "required": true
  2106. },
  2107. {
  2108. "type": "string",
  2109. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2110. "name": "startDate",
  2111. "in": "query"
  2112. },
  2113. {
  2114. "type": "string",
  2115. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2116. "name": "endDate",
  2117. "in": "query"
  2118. }
  2119. ],
  2120. "responses": {
  2121. "200": {
  2122. "description": "OK",
  2123. "schema": {
  2124. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2125. }
  2126. },
  2127. "500": {
  2128. "description": "Internal Server Error",
  2129. "schema": {
  2130. "$ref": "#/definitions/app.Response"
  2131. }
  2132. }
  2133. }
  2134. }
  2135. },
  2136. "/Ermcp/QueryErmcpHisTradeDetails": {
  2137. "get": {
  2138. "security": [
  2139. {
  2140. "ApiKeyAuth": []
  2141. }
  2142. ],
  2143. "produces": [
  2144. "application/json"
  2145. ],
  2146. "tags": [
  2147. "企业风险管理(app)"
  2148. ],
  2149. "summary": "获取企业风管期货历史成交单信息",
  2150. "parameters": [
  2151. {
  2152. "type": "integer",
  2153. "description": "资金账户ID",
  2154. "name": "accountID",
  2155. "in": "query",
  2156. "required": true
  2157. },
  2158. {
  2159. "type": "integer",
  2160. "description": "商品ID",
  2161. "name": "goodsID",
  2162. "in": "query"
  2163. },
  2164. {
  2165. "type": "integer",
  2166. "description": "买卖方向,0:买 1:卖",
  2167. "name": "buyOrSell",
  2168. "in": "query"
  2169. },
  2170. {
  2171. "type": "string",
  2172. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2173. "name": "startDate",
  2174. "in": "query"
  2175. },
  2176. {
  2177. "type": "string",
  2178. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2179. "name": "endDate",
  2180. "in": "query"
  2181. }
  2182. ],
  2183. "responses": {
  2184. "200": {
  2185. "description": "OK",
  2186. "schema": {
  2187. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2188. }
  2189. },
  2190. "500": {
  2191. "description": "Internal Server Error",
  2192. "schema": {
  2193. "$ref": "#/definitions/app.Response"
  2194. }
  2195. }
  2196. }
  2197. }
  2198. },
  2199. "/Ermcp/QueryErmcpOrderDetails": {
  2200. "get": {
  2201. "security": [
  2202. {
  2203. "ApiKeyAuth": []
  2204. }
  2205. ],
  2206. "produces": [
  2207. "application/json"
  2208. ],
  2209. "tags": [
  2210. "企业风险管理(app)"
  2211. ],
  2212. "summary": "获取企业风管期货委托单信息",
  2213. "parameters": [
  2214. {
  2215. "type": "integer",
  2216. "description": "资金账户ID",
  2217. "name": "accountID",
  2218. "in": "query",
  2219. "required": true
  2220. }
  2221. ],
  2222. "responses": {
  2223. "200": {
  2224. "description": "OK",
  2225. "schema": {
  2226. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2227. }
  2228. },
  2229. "500": {
  2230. "description": "Internal Server Error",
  2231. "schema": {
  2232. "$ref": "#/definitions/app.Response"
  2233. }
  2234. }
  2235. }
  2236. }
  2237. },
  2238. "/Ermcp/QueryErmcpTradeDetails": {
  2239. "get": {
  2240. "security": [
  2241. {
  2242. "ApiKeyAuth": []
  2243. }
  2244. ],
  2245. "produces": [
  2246. "application/json"
  2247. ],
  2248. "tags": [
  2249. "企业风险管理(app)"
  2250. ],
  2251. "summary": "获取企业风管期货成交单信息",
  2252. "parameters": [
  2253. {
  2254. "type": "integer",
  2255. "description": "资金账户ID",
  2256. "name": "accountID",
  2257. "in": "query",
  2258. "required": true
  2259. },
  2260. {
  2261. "type": "integer",
  2262. "description": "商品ID",
  2263. "name": "goodsID",
  2264. "in": "query"
  2265. },
  2266. {
  2267. "type": "integer",
  2268. "description": "买卖方向,0:买 1:卖",
  2269. "name": "buyOrSell",
  2270. "in": "query"
  2271. }
  2272. ],
  2273. "responses": {
  2274. "200": {
  2275. "description": "OK",
  2276. "schema": {
  2277. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2278. }
  2279. },
  2280. "500": {
  2281. "description": "Internal Server Error",
  2282. "schema": {
  2283. "$ref": "#/definitions/app.Response"
  2284. }
  2285. }
  2286. }
  2287. }
  2288. },
  2289. "/Ermcp/QueryErmcpTradePosition": {
  2290. "get": {
  2291. "security": [
  2292. {
  2293. "ApiKeyAuth": []
  2294. }
  2295. ],
  2296. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2297. "produces": [
  2298. "application/json"
  2299. ],
  2300. "tags": [
  2301. "企业风险管理(app)"
  2302. ],
  2303. "summary": "获取企业风管期货持仓头寸信息",
  2304. "parameters": [
  2305. {
  2306. "type": "integer",
  2307. "description": "资金账户ID",
  2308. "name": "accountID",
  2309. "in": "query",
  2310. "required": true
  2311. },
  2312. {
  2313. "type": "integer",
  2314. "description": "所属市场ID",
  2315. "name": "marketID",
  2316. "in": "query"
  2317. }
  2318. ],
  2319. "responses": {
  2320. "200": {
  2321. "description": "OK",
  2322. "schema": {
  2323. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2324. }
  2325. },
  2326. "500": {
  2327. "description": "Internal Server Error",
  2328. "schema": {
  2329. "$ref": "#/definitions/app.Response"
  2330. }
  2331. }
  2332. }
  2333. }
  2334. },
  2335. "/Ermcp/QueryExposureDetail": {
  2336. "get": {
  2337. "security": [
  2338. {
  2339. "ApiKeyAuth": []
  2340. }
  2341. ],
  2342. "produces": [
  2343. "application/json"
  2344. ],
  2345. "tags": [
  2346. "企业风险管理(app)"
  2347. ],
  2348. "summary": "查询敞口现货明细",
  2349. "parameters": [
  2350. {
  2351. "type": "integer",
  2352. "description": "所属机构ID",
  2353. "name": "areaUserId",
  2354. "in": "query",
  2355. "required": true
  2356. },
  2357. {
  2358. "type": "integer",
  2359. "description": "套保商品",
  2360. "name": "middleGoodsId",
  2361. "in": "query",
  2362. "required": true
  2363. }
  2364. ],
  2365. "responses": {
  2366. "200": {
  2367. "description": "OK",
  2368. "schema": {
  2369. "type": "array",
  2370. "items": {
  2371. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2372. }
  2373. }
  2374. },
  2375. "500": {
  2376. "description": "Internal Server Error",
  2377. "schema": {
  2378. "$ref": "#/definitions/app.Response"
  2379. }
  2380. }
  2381. }
  2382. }
  2383. },
  2384. "/Ermcp/QueryExposureHedgePosition": {
  2385. "get": {
  2386. "security": [
  2387. {
  2388. "ApiKeyAuth": []
  2389. }
  2390. ],
  2391. "produces": [
  2392. "application/json"
  2393. ],
  2394. "tags": [
  2395. "企业风险管理(app)"
  2396. ],
  2397. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2398. "parameters": [
  2399. {
  2400. "type": "integer",
  2401. "description": "所属机构ID",
  2402. "name": "areaUserId",
  2403. "in": "query",
  2404. "required": true
  2405. }
  2406. ],
  2407. "responses": {
  2408. "200": {
  2409. "description": "OK",
  2410. "schema": {
  2411. "type": "array",
  2412. "items": {
  2413. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2414. }
  2415. }
  2416. },
  2417. "500": {
  2418. "description": "Internal Server Error",
  2419. "schema": {
  2420. "$ref": "#/definitions/app.Response"
  2421. }
  2422. }
  2423. }
  2424. }
  2425. },
  2426. "/Ermcp/QueryExposureHedgePositionDetail": {
  2427. "get": {
  2428. "security": [
  2429. {
  2430. "ApiKeyAuth": []
  2431. }
  2432. ],
  2433. "produces": [
  2434. "application/json"
  2435. ],
  2436. "tags": [
  2437. "企业风险管理(app)"
  2438. ],
  2439. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2440. "parameters": [
  2441. {
  2442. "type": "integer",
  2443. "description": "所属机构ID",
  2444. "name": "areaUserId",
  2445. "in": "query",
  2446. "required": true
  2447. },
  2448. {
  2449. "type": "integer",
  2450. "description": "商品id",
  2451. "name": "goodsId",
  2452. "in": "query",
  2453. "required": true
  2454. }
  2455. ],
  2456. "responses": {
  2457. "200": {
  2458. "description": "OK",
  2459. "schema": {
  2460. "type": "array",
  2461. "items": {
  2462. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2463. }
  2464. }
  2465. },
  2466. "500": {
  2467. "description": "Internal Server Error",
  2468. "schema": {
  2469. "$ref": "#/definitions/app.Response"
  2470. }
  2471. }
  2472. }
  2473. }
  2474. },
  2475. "/Ermcp/QueryExposureSpot": {
  2476. "get": {
  2477. "security": [
  2478. {
  2479. "ApiKeyAuth": []
  2480. }
  2481. ],
  2482. "produces": [
  2483. "application/json"
  2484. ],
  2485. "tags": [
  2486. "企业风险管理(app)"
  2487. ],
  2488. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2489. "parameters": [
  2490. {
  2491. "type": "integer",
  2492. "description": "所属机构ID",
  2493. "name": "areaUserId",
  2494. "in": "query",
  2495. "required": true
  2496. }
  2497. ],
  2498. "responses": {
  2499. "200": {
  2500. "description": "OK",
  2501. "schema": {
  2502. "type": "array",
  2503. "items": {
  2504. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2505. }
  2506. }
  2507. },
  2508. "500": {
  2509. "description": "Internal Server Error",
  2510. "schema": {
  2511. "$ref": "#/definitions/app.Response"
  2512. }
  2513. }
  2514. }
  2515. }
  2516. },
  2517. "/Ermcp/QueryExposureSpotDetail": {
  2518. "get": {
  2519. "security": [
  2520. {
  2521. "ApiKeyAuth": []
  2522. }
  2523. ],
  2524. "produces": [
  2525. "application/json"
  2526. ],
  2527. "tags": [
  2528. "企业风险管理(app)"
  2529. ],
  2530. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2531. "parameters": [
  2532. {
  2533. "type": "integer",
  2534. "description": "所属机构ID",
  2535. "name": "areaUserId",
  2536. "in": "query",
  2537. "required": true
  2538. },
  2539. {
  2540. "type": "integer",
  2541. "description": "现货品种ID",
  2542. "name": "wrstandardId",
  2543. "in": "query",
  2544. "required": true
  2545. }
  2546. ],
  2547. "responses": {
  2548. "200": {
  2549. "description": "OK",
  2550. "schema": {
  2551. "type": "array",
  2552. "items": {
  2553. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2554. }
  2555. }
  2556. },
  2557. "500": {
  2558. "description": "Internal Server Error",
  2559. "schema": {
  2560. "$ref": "#/definitions/app.Response"
  2561. }
  2562. }
  2563. }
  2564. }
  2565. },
  2566. "/Ermcp/QueryGGConvertConfig": {
  2567. "get": {
  2568. "security": [
  2569. {
  2570. "ApiKeyAuth": []
  2571. }
  2572. ],
  2573. "produces": [
  2574. "application/json"
  2575. ],
  2576. "tags": [
  2577. "企业风险管理(app)"
  2578. ],
  2579. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2580. "parameters": [
  2581. {
  2582. "type": "integer",
  2583. "description": "品种id(不填则查所有)",
  2584. "name": "goodsgroupid",
  2585. "in": "query"
  2586. }
  2587. ],
  2588. "responses": {
  2589. "200": {
  2590. "description": "OK",
  2591. "schema": {
  2592. "type": "array",
  2593. "items": {
  2594. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2595. }
  2596. }
  2597. },
  2598. "500": {
  2599. "description": "Internal Server Error",
  2600. "schema": {
  2601. "$ref": "#/definitions/app.Response"
  2602. }
  2603. }
  2604. }
  2605. }
  2606. },
  2607. "/Ermcp/QueryGoodsBrand": {
  2608. "get": {
  2609. "security": [
  2610. {
  2611. "ApiKeyAuth": []
  2612. }
  2613. ],
  2614. "produces": [
  2615. "application/json"
  2616. ],
  2617. "tags": [
  2618. "企业风险管理(app)"
  2619. ],
  2620. "summary": "查询商品品牌",
  2621. "parameters": [
  2622. {
  2623. "type": "integer",
  2624. "description": "用户ID",
  2625. "name": "userid",
  2626. "in": "query",
  2627. "required": true
  2628. },
  2629. {
  2630. "type": "integer",
  2631. "description": "现货商品ID",
  2632. "name": "wrstandardid",
  2633. "in": "query"
  2634. }
  2635. ],
  2636. "responses": {
  2637. "200": {
  2638. "description": "OK",
  2639. "schema": {
  2640. "type": "array",
  2641. "items": {
  2642. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2643. }
  2644. }
  2645. },
  2646. "500": {
  2647. "description": "Internal Server Error",
  2648. "schema": {
  2649. "$ref": "#/definitions/app.Response"
  2650. }
  2651. }
  2652. }
  2653. }
  2654. },
  2655. "/Ermcp/QueryGoodsModel": {
  2656. "get": {
  2657. "security": [
  2658. {
  2659. "ApiKeyAuth": []
  2660. }
  2661. ],
  2662. "produces": [
  2663. "application/json"
  2664. ],
  2665. "tags": [
  2666. "企业风险管理(app)"
  2667. ],
  2668. "summary": "查询商品型号",
  2669. "parameters": [
  2670. {
  2671. "type": "integer",
  2672. "description": "用户ID",
  2673. "name": "userid",
  2674. "in": "query",
  2675. "required": true
  2676. }
  2677. ],
  2678. "responses": {
  2679. "200": {
  2680. "description": "OK",
  2681. "schema": {
  2682. "type": "array",
  2683. "items": {
  2684. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2685. }
  2686. }
  2687. },
  2688. "500": {
  2689. "description": "Internal Server Error",
  2690. "schema": {
  2691. "$ref": "#/definitions/app.Response"
  2692. }
  2693. }
  2694. }
  2695. }
  2696. },
  2697. "/Ermcp/QueryHedgePlan": {
  2698. "get": {
  2699. "security": [
  2700. {
  2701. "ApiKeyAuth": []
  2702. }
  2703. ],
  2704. "produces": [
  2705. "application/json"
  2706. ],
  2707. "tags": [
  2708. "企业风险管理(app)"
  2709. ],
  2710. "summary": "查询套保计划",
  2711. "parameters": [
  2712. {
  2713. "type": "integer",
  2714. "description": "用户ID",
  2715. "name": "userId",
  2716. "in": "query",
  2717. "required": true
  2718. },
  2719. {
  2720. "type": "string",
  2721. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2722. "name": "HedgePlanStatus",
  2723. "in": "query",
  2724. "required": true
  2725. }
  2726. ],
  2727. "responses": {
  2728. "200": {
  2729. "description": "OK",
  2730. "schema": {
  2731. "type": "array",
  2732. "items": {
  2733. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2734. }
  2735. }
  2736. },
  2737. "500": {
  2738. "description": "Internal Server Error",
  2739. "schema": {
  2740. "$ref": "#/definitions/app.Response"
  2741. }
  2742. }
  2743. }
  2744. }
  2745. },
  2746. "/Ermcp/QueryHisExposure": {
  2747. "get": {
  2748. "security": [
  2749. {
  2750. "ApiKeyAuth": []
  2751. }
  2752. ],
  2753. "produces": [
  2754. "application/json"
  2755. ],
  2756. "tags": [
  2757. "企业风险管理(app)"
  2758. ],
  2759. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2760. "parameters": [
  2761. {
  2762. "type": "integer",
  2763. "description": "所属机构ID",
  2764. "name": "areaUserId",
  2765. "in": "query",
  2766. "required": true
  2767. },
  2768. {
  2769. "type": "integer",
  2770. "description": "每个品种记录数",
  2771. "name": "lastNum",
  2772. "in": "query",
  2773. "required": true
  2774. }
  2775. ],
  2776. "responses": {
  2777. "200": {
  2778. "description": "OK",
  2779. "schema": {
  2780. "type": "array",
  2781. "items": {
  2782. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2783. }
  2784. }
  2785. },
  2786. "500": {
  2787. "description": "Internal Server Error",
  2788. "schema": {
  2789. "$ref": "#/definitions/app.Response"
  2790. }
  2791. }
  2792. }
  2793. }
  2794. },
  2795. "/Ermcp/QueryMiddleGoods": {
  2796. "get": {
  2797. "security": [
  2798. {
  2799. "ApiKeyAuth": []
  2800. }
  2801. ],
  2802. "produces": [
  2803. "application/json"
  2804. ],
  2805. "tags": [
  2806. "企业风险管理(app)"
  2807. ],
  2808. "summary": "查询套保品种(菜单:套保品种)",
  2809. "parameters": [
  2810. {
  2811. "type": "integer",
  2812. "description": "所属机构ID",
  2813. "name": "userid",
  2814. "in": "query",
  2815. "required": true
  2816. },
  2817. {
  2818. "type": "integer",
  2819. "description": "状态 0-停用 1-正常",
  2820. "name": "status",
  2821. "in": "query",
  2822. "required": true
  2823. }
  2824. ],
  2825. "responses": {
  2826. "200": {
  2827. "description": "OK",
  2828. "schema": {
  2829. "type": "array",
  2830. "items": {
  2831. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2832. }
  2833. }
  2834. },
  2835. "500": {
  2836. "description": "Internal Server Error",
  2837. "schema": {
  2838. "$ref": "#/definitions/app.Response"
  2839. }
  2840. }
  2841. }
  2842. }
  2843. },
  2844. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2845. "get": {
  2846. "security": [
  2847. {
  2848. "ApiKeyAuth": []
  2849. }
  2850. ],
  2851. "produces": [
  2852. "application/json"
  2853. ],
  2854. "tags": [
  2855. "企业风险管理(app)"
  2856. ],
  2857. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2858. "parameters": [
  2859. {
  2860. "type": "integer",
  2861. "description": "所属机构ID",
  2862. "name": "userid",
  2863. "in": "query",
  2864. "required": true
  2865. },
  2866. {
  2867. "type": "integer",
  2868. "description": "套保品种id",
  2869. "name": "middlegoodsid",
  2870. "in": "query",
  2871. "required": true
  2872. }
  2873. ],
  2874. "responses": {
  2875. "200": {
  2876. "description": "OK",
  2877. "schema": {
  2878. "type": "array",
  2879. "items": {
  2880. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2881. }
  2882. }
  2883. },
  2884. "500": {
  2885. "description": "Internal Server Error",
  2886. "schema": {
  2887. "$ref": "#/definitions/app.Response"
  2888. }
  2889. }
  2890. }
  2891. }
  2892. },
  2893. "/Ermcp/QueryMiddleGoodsDetail": {
  2894. "get": {
  2895. "security": [
  2896. {
  2897. "ApiKeyAuth": []
  2898. }
  2899. ],
  2900. "produces": [
  2901. "application/json"
  2902. ],
  2903. "tags": [
  2904. "企业风险管理(app)"
  2905. ],
  2906. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2907. "parameters": [
  2908. {
  2909. "type": "integer",
  2910. "description": "所属机构ID",
  2911. "name": "userid",
  2912. "in": "query",
  2913. "required": true
  2914. },
  2915. {
  2916. "type": "integer",
  2917. "description": "套保品种id",
  2918. "name": "middlegoodsid",
  2919. "in": "query",
  2920. "required": true
  2921. }
  2922. ],
  2923. "responses": {
  2924. "200": {
  2925. "description": "OK",
  2926. "schema": {
  2927. "type": "array",
  2928. "items": {
  2929. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2930. }
  2931. }
  2932. },
  2933. "500": {
  2934. "description": "Internal Server Error",
  2935. "schema": {
  2936. "$ref": "#/definitions/app.Response"
  2937. }
  2938. }
  2939. }
  2940. }
  2941. },
  2942. "/Ermcp/QueryPendingAuditInfo": {
  2943. "get": {
  2944. "security": [
  2945. {
  2946. "ApiKeyAuth": []
  2947. }
  2948. ],
  2949. "produces": [
  2950. "application/json"
  2951. ],
  2952. "tags": [
  2953. "企业风险管理(app)"
  2954. ],
  2955. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2956. "parameters": [
  2957. {
  2958. "type": "integer",
  2959. "description": "用户ID",
  2960. "name": "UserId",
  2961. "in": "query",
  2962. "required": true
  2963. }
  2964. ],
  2965. "responses": {
  2966. "200": {
  2967. "description": "OK",
  2968. "schema": {
  2969. "type": "array",
  2970. "items": {
  2971. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2972. }
  2973. }
  2974. },
  2975. "500": {
  2976. "description": "Internal Server Error",
  2977. "schema": {
  2978. "$ref": "#/definitions/app.Response"
  2979. }
  2980. }
  2981. }
  2982. }
  2983. },
  2984. "/Ermcp/QueryRealtimeExposure": {
  2985. "get": {
  2986. "security": [
  2987. {
  2988. "ApiKeyAuth": []
  2989. }
  2990. ],
  2991. "produces": [
  2992. "application/json"
  2993. ],
  2994. "tags": [
  2995. "企业风险管理(app)"
  2996. ],
  2997. "summary": "查询实时敞口",
  2998. "parameters": [
  2999. {
  3000. "type": "integer",
  3001. "description": "所属机构ID",
  3002. "name": "AreaUserID",
  3003. "in": "query",
  3004. "required": true
  3005. }
  3006. ],
  3007. "responses": {
  3008. "200": {
  3009. "description": "OK",
  3010. "schema": {
  3011. "type": "array",
  3012. "items": {
  3013. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3014. }
  3015. }
  3016. },
  3017. "500": {
  3018. "description": "Internal Server Error",
  3019. "schema": {
  3020. "$ref": "#/definitions/app.Response"
  3021. }
  3022. }
  3023. }
  3024. }
  3025. },
  3026. "/Ermcp/QueryRealtimeExposurePosition": {
  3027. "get": {
  3028. "security": [
  3029. {
  3030. "ApiKeyAuth": []
  3031. }
  3032. ],
  3033. "produces": [
  3034. "application/json"
  3035. ],
  3036. "tags": [
  3037. "企业风险管理(app)"
  3038. ],
  3039. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3040. "parameters": [
  3041. {
  3042. "type": "integer",
  3043. "description": "所属机构ID",
  3044. "name": "areaUserId",
  3045. "in": "query",
  3046. "required": true
  3047. },
  3048. {
  3049. "type": "integer",
  3050. "description": "套保商品ID",
  3051. "name": "middleGoodsId",
  3052. "in": "query",
  3053. "required": true
  3054. }
  3055. ],
  3056. "responses": {
  3057. "200": {
  3058. "description": "OK",
  3059. "schema": {
  3060. "type": "array",
  3061. "items": {
  3062. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3063. }
  3064. }
  3065. },
  3066. "500": {
  3067. "description": "Internal Server Error",
  3068. "schema": {
  3069. "$ref": "#/definitions/app.Response"
  3070. }
  3071. }
  3072. }
  3073. }
  3074. },
  3075. "/Ermcp/QuerySpotContract": {
  3076. "get": {
  3077. "security": [
  3078. {
  3079. "ApiKeyAuth": []
  3080. }
  3081. ],
  3082. "produces": [
  3083. "application/json"
  3084. ],
  3085. "tags": [
  3086. "企业风险管理(app)"
  3087. ],
  3088. "summary": "查询现货合同(对应现货合同菜单)",
  3089. "parameters": [
  3090. {
  3091. "type": "integer",
  3092. "description": "用户ID",
  3093. "name": "userId",
  3094. "in": "query",
  3095. "required": true
  3096. },
  3097. {
  3098. "type": "integer",
  3099. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3100. "name": "QueryType",
  3101. "in": "query",
  3102. "required": true
  3103. }
  3104. ],
  3105. "responses": {
  3106. "200": {
  3107. "description": "OK",
  3108. "schema": {
  3109. "type": "array",
  3110. "items": {
  3111. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3112. }
  3113. }
  3114. },
  3115. "500": {
  3116. "description": "Internal Server Error",
  3117. "schema": {
  3118. "$ref": "#/definitions/app.Response"
  3119. }
  3120. }
  3121. }
  3122. }
  3123. },
  3124. "/Ermcp/QueryUserInfo": {
  3125. "get": {
  3126. "security": [
  3127. {
  3128. "ApiKeyAuth": []
  3129. }
  3130. ],
  3131. "produces": [
  3132. "application/json"
  3133. ],
  3134. "tags": [
  3135. "企业风险管理(app)"
  3136. ],
  3137. "summary": "查询客户资料",
  3138. "parameters": [
  3139. {
  3140. "type": "integer",
  3141. "description": "所属机构用户ID",
  3142. "name": "MemberUserID",
  3143. "in": "query",
  3144. "required": true
  3145. },
  3146. {
  3147. "type": "integer",
  3148. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3149. "name": "queryType",
  3150. "in": "query",
  3151. "required": true
  3152. }
  3153. ],
  3154. "responses": {
  3155. "200": {
  3156. "description": "OK",
  3157. "schema": {
  3158. "type": "array",
  3159. "items": {
  3160. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3161. }
  3162. }
  3163. },
  3164. "500": {
  3165. "description": "Internal Server Error",
  3166. "schema": {
  3167. "$ref": "#/definitions/app.Response"
  3168. }
  3169. }
  3170. }
  3171. }
  3172. },
  3173. "/Ermcp/QueryWarehouseInfo": {
  3174. "get": {
  3175. "security": [
  3176. {
  3177. "ApiKeyAuth": []
  3178. }
  3179. ],
  3180. "produces": [
  3181. "application/json"
  3182. ],
  3183. "tags": [
  3184. "企业风险管理(app)"
  3185. ],
  3186. "summary": "查询仓库信息",
  3187. "parameters": [
  3188. {
  3189. "type": "integer",
  3190. "description": "用户ID",
  3191. "name": "userid",
  3192. "in": "query",
  3193. "required": true
  3194. },
  3195. {
  3196. "type": "string",
  3197. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3198. "name": "status",
  3199. "in": "query"
  3200. }
  3201. ],
  3202. "responses": {
  3203. "200": {
  3204. "description": "OK",
  3205. "schema": {
  3206. "type": "array",
  3207. "items": {
  3208. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3209. }
  3210. }
  3211. },
  3212. "500": {
  3213. "description": "Internal Server Error",
  3214. "schema": {
  3215. "$ref": "#/definitions/app.Response"
  3216. }
  3217. }
  3218. }
  3219. }
  3220. },
  3221. "/Ermcp/QueryWrStandard": {
  3222. "get": {
  3223. "security": [
  3224. {
  3225. "ApiKeyAuth": []
  3226. }
  3227. ],
  3228. "produces": [
  3229. "application/json"
  3230. ],
  3231. "tags": [
  3232. "企业风险管理(app)"
  3233. ],
  3234. "summary": "查询现货商品",
  3235. "parameters": [
  3236. {
  3237. "type": "integer",
  3238. "description": "所属机构ID",
  3239. "name": "userid",
  3240. "in": "query",
  3241. "required": true
  3242. },
  3243. {
  3244. "type": "integer",
  3245. "description": "状态 0-停用 1-正常",
  3246. "name": "status",
  3247. "in": "query",
  3248. "required": true
  3249. }
  3250. ],
  3251. "responses": {
  3252. "200": {
  3253. "description": "OK",
  3254. "schema": {
  3255. "type": "array",
  3256. "items": {
  3257. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3258. }
  3259. }
  3260. },
  3261. "500": {
  3262. "description": "Internal Server Error",
  3263. "schema": {
  3264. "$ref": "#/definitions/app.Response"
  3265. }
  3266. }
  3267. }
  3268. }
  3269. },
  3270. "/Ermcp/QueryWrStandardDetail": {
  3271. "get": {
  3272. "security": [
  3273. {
  3274. "ApiKeyAuth": []
  3275. }
  3276. ],
  3277. "produces": [
  3278. "application/json"
  3279. ],
  3280. "tags": [
  3281. "企业风险管理(app)"
  3282. ],
  3283. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  3284. "parameters": [
  3285. {
  3286. "type": "integer",
  3287. "description": "所属机构ID",
  3288. "name": "userid",
  3289. "in": "query",
  3290. "required": true
  3291. },
  3292. {
  3293. "type": "integer",
  3294. "description": "现货商品ID",
  3295. "name": "wrstandardid",
  3296. "in": "query",
  3297. "required": true
  3298. },
  3299. {
  3300. "type": "integer",
  3301. "description": "可不填, 1-查询关联交易商品",
  3302. "name": "goods",
  3303. "in": "query"
  3304. }
  3305. ],
  3306. "responses": {
  3307. "200": {
  3308. "description": "OK",
  3309. "schema": {
  3310. "type": "array",
  3311. "items": {
  3312. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  3313. }
  3314. }
  3315. },
  3316. "500": {
  3317. "description": "Internal Server Error",
  3318. "schema": {
  3319. "$ref": "#/definitions/app.Response"
  3320. }
  3321. }
  3322. }
  3323. }
  3324. },
  3325. "/Erms2/QueryArbitrageStrategy": {
  3326. "get": {
  3327. "security": [
  3328. {
  3329. "ApiKeyAuth": []
  3330. }
  3331. ],
  3332. "produces": [
  3333. "application/json"
  3334. ],
  3335. "tags": [
  3336. "风险管理"
  3337. ],
  3338. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  3339. "parameters": [
  3340. {
  3341. "type": "integer",
  3342. "description": "账户ID",
  3343. "name": "userid",
  3344. "in": "query",
  3345. "required": true
  3346. },
  3347. {
  3348. "type": "string",
  3349. "description": "商品组ID(品种ID)",
  3350. "name": "goodsgroupid",
  3351. "in": "query"
  3352. }
  3353. ],
  3354. "responses": {
  3355. "200": {
  3356. "description": "OK",
  3357. "schema": {
  3358. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  3359. }
  3360. },
  3361. "500": {
  3362. "description": "Internal Server Error",
  3363. "schema": {
  3364. "$ref": "#/definitions/app.Response"
  3365. }
  3366. }
  3367. }
  3368. }
  3369. },
  3370. "/Erms2/QueryInnerTradeDetail": {
  3371. "get": {
  3372. "security": [
  3373. {
  3374. "ApiKeyAuth": []
  3375. }
  3376. ],
  3377. "produces": [
  3378. "application/json"
  3379. ],
  3380. "tags": [
  3381. "风险管理"
  3382. ],
  3383. "summary": "查询内部成交单信息",
  3384. "parameters": [
  3385. {
  3386. "type": "integer",
  3387. "description": "资金账户",
  3388. "name": "accountid",
  3389. "in": "query",
  3390. "required": true
  3391. }
  3392. ],
  3393. "responses": {
  3394. "200": {
  3395. "description": "OK",
  3396. "schema": {
  3397. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  3398. }
  3399. },
  3400. "500": {
  3401. "description": "Internal Server Error",
  3402. "schema": {
  3403. "$ref": "#/definitions/app.Response"
  3404. }
  3405. }
  3406. }
  3407. }
  3408. },
  3409. "/Erms2/QuerySpotContract": {
  3410. "get": {
  3411. "security": [
  3412. {
  3413. "ApiKeyAuth": []
  3414. }
  3415. ],
  3416. "produces": [
  3417. "application/json"
  3418. ],
  3419. "tags": [
  3420. "风险管理"
  3421. ],
  3422. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  3423. "parameters": [
  3424. {
  3425. "type": "integer",
  3426. "description": "策略申请ID",
  3427. "name": "asapplyid",
  3428. "in": "query",
  3429. "required": true
  3430. },
  3431. {
  3432. "type": "integer",
  3433. "description": "现货合同ID",
  3434. "name": "spotcontractid",
  3435. "in": "query"
  3436. }
  3437. ],
  3438. "responses": {
  3439. "200": {
  3440. "description": "OK",
  3441. "schema": {
  3442. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  3443. }
  3444. },
  3445. "500": {
  3446. "description": "Internal Server Error",
  3447. "schema": {
  3448. "$ref": "#/definitions/app.Response"
  3449. }
  3450. }
  3451. }
  3452. }
  3453. },
  3454. "/Erms3/AddErms2ASApply": {
  3455. "post": {
  3456. "security": [
  3457. {
  3458. "ApiKeyAuth": []
  3459. }
  3460. ],
  3461. "produces": [
  3462. "application/json"
  3463. ],
  3464. "tags": [
  3465. "风险管理v3"
  3466. ],
  3467. "summary": "新增期现套利业务申请",
  3468. "parameters": [
  3469. {
  3470. "description": "申请参数",
  3471. "name": "jsonBody",
  3472. "in": "body",
  3473. "required": true,
  3474. "schema": {
  3475. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  3476. }
  3477. }
  3478. ],
  3479. "responses": {
  3480. "200": {
  3481. "description": "OK",
  3482. "schema": {
  3483. "$ref": "#/definitions/app.Response"
  3484. }
  3485. },
  3486. "500": {
  3487. "description": "Internal Server Error",
  3488. "schema": {
  3489. "$ref": "#/definitions/app.Response"
  3490. }
  3491. }
  3492. }
  3493. }
  3494. },
  3495. "/Erms3/AddErms2SpotTradeApply": {
  3496. "post": {
  3497. "security": [
  3498. {
  3499. "ApiKeyAuth": []
  3500. }
  3501. ],
  3502. "produces": [
  3503. "application/json"
  3504. ],
  3505. "tags": [
  3506. "风险管理v3"
  3507. ],
  3508. "summary": "新增现货贸易业务申请",
  3509. "parameters": [
  3510. {
  3511. "description": "申请参数",
  3512. "name": "jsonBody",
  3513. "in": "body",
  3514. "required": true,
  3515. "schema": {
  3516. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  3517. }
  3518. }
  3519. ],
  3520. "responses": {
  3521. "200": {
  3522. "description": "OK",
  3523. "schema": {
  3524. "$ref": "#/definitions/app.Response"
  3525. }
  3526. },
  3527. "500": {
  3528. "description": "Internal Server Error",
  3529. "schema": {
  3530. "$ref": "#/definitions/app.Response"
  3531. }
  3532. }
  3533. }
  3534. }
  3535. },
  3536. "/Erms3/AddSpotContractApply": {
  3537. "post": {
  3538. "security": [
  3539. {
  3540. "ApiKeyAuth": []
  3541. }
  3542. ],
  3543. "produces": [
  3544. "application/json"
  3545. ],
  3546. "tags": [
  3547. "风险管理v3"
  3548. ],
  3549. "summary": "新增现货合同申请",
  3550. "parameters": [
  3551. {
  3552. "description": "申请参数",
  3553. "name": "jsonBody",
  3554. "in": "body",
  3555. "required": true,
  3556. "schema": {
  3557. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  3558. }
  3559. }
  3560. ],
  3561. "responses": {
  3562. "200": {
  3563. "description": "OK",
  3564. "schema": {
  3565. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  3566. }
  3567. },
  3568. "500": {
  3569. "description": "Internal Server Error",
  3570. "schema": {
  3571. "$ref": "#/definitions/app.Response"
  3572. }
  3573. }
  3574. }
  3575. }
  3576. },
  3577. "/Erms3/AddUserInfoApply": {
  3578. "post": {
  3579. "security": [
  3580. {
  3581. "ApiKeyAuth": []
  3582. }
  3583. ],
  3584. "produces": [
  3585. "application/json"
  3586. ],
  3587. "tags": [
  3588. "风险管理v3"
  3589. ],
  3590. "summary": "新增客户申请",
  3591. "parameters": [
  3592. {
  3593. "description": "用户信息",
  3594. "name": "jsonBody",
  3595. "in": "body",
  3596. "required": true,
  3597. "schema": {
  3598. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  3599. }
  3600. }
  3601. ],
  3602. "responses": {
  3603. "200": {
  3604. "description": "OK",
  3605. "schema": {
  3606. "$ref": "#/definitions/app.Response"
  3607. }
  3608. },
  3609. "500": {
  3610. "description": "Internal Server Error",
  3611. "schema": {
  3612. "$ref": "#/definitions/app.Response"
  3613. }
  3614. }
  3615. }
  3616. }
  3617. },
  3618. "/Erms3/ModifyUserInfoApply": {
  3619. "post": {
  3620. "security": [
  3621. {
  3622. "ApiKeyAuth": []
  3623. }
  3624. ],
  3625. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  3626. "produces": [
  3627. "application/json"
  3628. ],
  3629. "tags": [
  3630. "风险管理v3"
  3631. ],
  3632. "summary": "修改客户申请",
  3633. "parameters": [
  3634. {
  3635. "description": "用户信息",
  3636. "name": "jsonBody",
  3637. "in": "body",
  3638. "required": true,
  3639. "schema": {
  3640. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  3641. }
  3642. }
  3643. ],
  3644. "responses": {
  3645. "200": {
  3646. "description": "OK",
  3647. "schema": {
  3648. "$ref": "#/definitions/app.Response"
  3649. }
  3650. },
  3651. "500": {
  3652. "description": "Internal Server Error",
  3653. "schema": {
  3654. "$ref": "#/definitions/app.Response"
  3655. }
  3656. }
  3657. }
  3658. }
  3659. },
  3660. "/Erms3/QueryBusinessInfo": {
  3661. "get": {
  3662. "security": [
  3663. {
  3664. "ApiKeyAuth": []
  3665. }
  3666. ],
  3667. "produces": [
  3668. "application/json"
  3669. ],
  3670. "tags": [
  3671. "风险管理v3"
  3672. ],
  3673. "summary": "查询业务表单数据",
  3674. "parameters": [
  3675. {
  3676. "type": "string",
  3677. "description": "资金账号ID列表,用逗号分隔",
  3678. "name": "accountids",
  3679. "in": "query",
  3680. "required": true
  3681. },
  3682. {
  3683. "type": "integer",
  3684. "description": "状态,0为未结束 1为已结束",
  3685. "name": "status",
  3686. "in": "query",
  3687. "required": true
  3688. }
  3689. ],
  3690. "responses": {
  3691. "200": {
  3692. "description": "OK",
  3693. "schema": {
  3694. "type": "array",
  3695. "items": {
  3696. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3697. }
  3698. }
  3699. },
  3700. "500": {
  3701. "description": "Internal Server Error",
  3702. "schema": {
  3703. "$ref": "#/definitions/app.Response"
  3704. }
  3705. }
  3706. }
  3707. }
  3708. },
  3709. "/Erms3/QueryPendingAuditContract": {
  3710. "get": {
  3711. "security": [
  3712. {
  3713. "ApiKeyAuth": []
  3714. }
  3715. ],
  3716. "produces": [
  3717. "application/json"
  3718. ],
  3719. "tags": [
  3720. "风险管理v3"
  3721. ],
  3722. "summary": "查询待审核合同",
  3723. "parameters": [
  3724. {
  3725. "type": "string",
  3726. "description": "资金账号ID列表,逗号隔开",
  3727. "name": "accountids",
  3728. "in": "query",
  3729. "required": true
  3730. },
  3731. {
  3732. "type": "integer",
  3733. "description": "合同类型 1-采购 -1-销售",
  3734. "name": "contracttype",
  3735. "in": "query",
  3736. "required": true
  3737. },
  3738. {
  3739. "type": "integer",
  3740. "description": "合同模式 1-普通 2-回购",
  3741. "name": "contractmode",
  3742. "in": "query",
  3743. "required": true
  3744. }
  3745. ],
  3746. "responses": {
  3747. "200": {
  3748. "description": "OK",
  3749. "schema": {
  3750. "type": "array",
  3751. "items": {
  3752. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3753. }
  3754. }
  3755. },
  3756. "500": {
  3757. "description": "Internal Server Error",
  3758. "schema": {
  3759. "$ref": "#/definitions/app.Response"
  3760. }
  3761. }
  3762. }
  3763. }
  3764. },
  3765. "/Erms3/QueryPendingBusiness": {
  3766. "get": {
  3767. "security": [
  3768. {
  3769. "ApiKeyAuth": []
  3770. }
  3771. ],
  3772. "produces": [
  3773. "application/json"
  3774. ],
  3775. "tags": [
  3776. "风险管理v3"
  3777. ],
  3778. "summary": "查询待审核基差贸易业务",
  3779. "parameters": [
  3780. {
  3781. "type": "string",
  3782. "description": "资金账号ID列表,逗号隔开",
  3783. "name": "accountids",
  3784. "in": "query",
  3785. "required": true
  3786. }
  3787. ],
  3788. "responses": {
  3789. "200": {
  3790. "description": "OK",
  3791. "schema": {
  3792. "type": "array",
  3793. "items": {
  3794. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3795. }
  3796. }
  3797. },
  3798. "500": {
  3799. "description": "Internal Server Error",
  3800. "schema": {
  3801. "$ref": "#/definitions/app.Response"
  3802. }
  3803. }
  3804. }
  3805. }
  3806. },
  3807. "/Erms3/QuerySpotContractAppleForm": {
  3808. "get": {
  3809. "security": [
  3810. {
  3811. "ApiKeyAuth": []
  3812. }
  3813. ],
  3814. "produces": [
  3815. "application/json"
  3816. ],
  3817. "tags": [
  3818. "风险管理v3"
  3819. ],
  3820. "summary": "查询合同申请表单数据",
  3821. "parameters": [
  3822. {
  3823. "type": "integer",
  3824. "description": "登录账号",
  3825. "name": "loginID",
  3826. "in": "query",
  3827. "required": true
  3828. }
  3829. ],
  3830. "responses": {
  3831. "200": {
  3832. "description": "OK",
  3833. "schema": {
  3834. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3835. }
  3836. },
  3837. "500": {
  3838. "description": "Internal Server Error",
  3839. "schema": {
  3840. "$ref": "#/definitions/app.Response"
  3841. }
  3842. }
  3843. }
  3844. }
  3845. },
  3846. "/Erms3/QuerySpotContractDetail": {
  3847. "get": {
  3848. "security": [
  3849. {
  3850. "ApiKeyAuth": []
  3851. }
  3852. ],
  3853. "produces": [
  3854. "application/json"
  3855. ],
  3856. "tags": [
  3857. "风险管理v3"
  3858. ],
  3859. "summary": "查询合同详细信息",
  3860. "parameters": [
  3861. {
  3862. "type": "string",
  3863. "description": "资金账号ID列表,用逗号分隔",
  3864. "name": "accountids",
  3865. "in": "query",
  3866. "required": true
  3867. },
  3868. {
  3869. "type": "integer",
  3870. "description": "合同类型,1为采购合同 -1为销售合同",
  3871. "name": "contracttype",
  3872. "in": "query",
  3873. "required": true
  3874. },
  3875. {
  3876. "type": "integer",
  3877. "description": "合同模式,1为普通合同 2为回购销售合同",
  3878. "name": "contractmode",
  3879. "in": "query",
  3880. "required": true
  3881. },
  3882. {
  3883. "type": "integer",
  3884. "description": "状态,0为履约中 1为已完成",
  3885. "name": "status",
  3886. "in": "query",
  3887. "required": true
  3888. }
  3889. ],
  3890. "responses": {
  3891. "200": {
  3892. "description": "OK",
  3893. "schema": {
  3894. "type": "array",
  3895. "items": {
  3896. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3897. }
  3898. }
  3899. },
  3900. "500": {
  3901. "description": "Internal Server Error",
  3902. "schema": {
  3903. "$ref": "#/definitions/app.Response"
  3904. }
  3905. }
  3906. }
  3907. }
  3908. },
  3909. "/Erms3/QueryUserInfoApplies": {
  3910. "get": {
  3911. "security": [
  3912. {
  3913. "ApiKeyAuth": []
  3914. }
  3915. ],
  3916. "produces": [
  3917. "application/json"
  3918. ],
  3919. "tags": [
  3920. "风险管理v3"
  3921. ],
  3922. "summary": "客户申请信息查询",
  3923. "parameters": [
  3924. {
  3925. "type": "integer",
  3926. "description": "页码",
  3927. "name": "page",
  3928. "in": "query"
  3929. },
  3930. {
  3931. "type": "integer",
  3932. "description": "每页条数",
  3933. "name": "pagesize",
  3934. "in": "query"
  3935. },
  3936. {
  3937. "type": "string",
  3938. "description": "客户名称,支持模糊查询",
  3939. "name": "userName",
  3940. "in": "query"
  3941. }
  3942. ],
  3943. "responses": {
  3944. "200": {
  3945. "description": "OK",
  3946. "schema": {
  3947. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3948. }
  3949. },
  3950. "500": {
  3951. "description": "Internal Server Error",
  3952. "schema": {
  3953. "$ref": "#/definitions/app.Response"
  3954. }
  3955. }
  3956. }
  3957. }
  3958. },
  3959. "/Erms3/QueryUserInfos": {
  3960. "get": {
  3961. "security": [
  3962. {
  3963. "ApiKeyAuth": []
  3964. }
  3965. ],
  3966. "produces": [
  3967. "application/json"
  3968. ],
  3969. "tags": [
  3970. "风险管理v3"
  3971. ],
  3972. "summary": "客户信息查询",
  3973. "parameters": [
  3974. {
  3975. "type": "integer",
  3976. "description": "页码",
  3977. "name": "page",
  3978. "in": "query"
  3979. },
  3980. {
  3981. "type": "integer",
  3982. "description": "每页条数",
  3983. "name": "pagesize",
  3984. "in": "query"
  3985. },
  3986. {
  3987. "type": "string",
  3988. "description": "客户名称,支持模糊查询",
  3989. "name": "userName",
  3990. "in": "query"
  3991. }
  3992. ],
  3993. "responses": {
  3994. "200": {
  3995. "description": "OK",
  3996. "schema": {
  3997. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3998. }
  3999. },
  4000. "500": {
  4001. "description": "Internal Server Error",
  4002. "schema": {
  4003. "$ref": "#/definitions/app.Response"
  4004. }
  4005. }
  4006. }
  4007. }
  4008. },
  4009. "/HSBY/GetHsbyMyCount": {
  4010. "get": {
  4011. "security": [
  4012. {
  4013. "ApiKeyAuth": []
  4014. }
  4015. ],
  4016. "description": "说明: 不包括已完成的数量。",
  4017. "produces": [
  4018. "application/json"
  4019. ],
  4020. "tags": [
  4021. "定制【海商报业】"
  4022. ],
  4023. "summary": "获取我的订单与包裹数量",
  4024. "parameters": [
  4025. {
  4026. "type": "string",
  4027. "description": "资金账户列表,格式:1,2,3",
  4028. "name": "accountIDs",
  4029. "in": "query",
  4030. "required": true
  4031. }
  4032. ],
  4033. "responses": {
  4034. "200": {
  4035. "description": "OK",
  4036. "schema": {
  4037. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  4038. }
  4039. },
  4040. "500": {
  4041. "description": "Internal Server Error",
  4042. "schema": {
  4043. "$ref": "#/definitions/app.Response"
  4044. }
  4045. }
  4046. }
  4047. }
  4048. },
  4049. "/HSBY/QueryClientFixedADConfigs": {
  4050. "get": {
  4051. "security": [
  4052. {
  4053. "ApiKeyAuth": []
  4054. }
  4055. ],
  4056. "produces": [
  4057. "application/json"
  4058. ],
  4059. "tags": [
  4060. "定制【海商报业】"
  4061. ],
  4062. "summary": "获取终端固定广告配置",
  4063. "responses": {
  4064. "200": {
  4065. "description": "OK",
  4066. "schema": {
  4067. "$ref": "#/definitions/models.Clientfixedadconfig"
  4068. }
  4069. },
  4070. "500": {
  4071. "description": "Internal Server Error",
  4072. "schema": {
  4073. "$ref": "#/definitions/app.Response"
  4074. }
  4075. }
  4076. }
  4077. }
  4078. },
  4079. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  4080. "get": {
  4081. "security": [
  4082. {
  4083. "ApiKeyAuth": []
  4084. }
  4085. ],
  4086. "produces": [
  4087. "application/json"
  4088. ],
  4089. "tags": [
  4090. "定制【海商报业】"
  4091. ],
  4092. "summary": "查询\"我的订单 - 已完成\"单据信息",
  4093. "parameters": [
  4094. {
  4095. "type": "integer",
  4096. "description": "页码",
  4097. "name": "page",
  4098. "in": "query"
  4099. },
  4100. {
  4101. "type": "integer",
  4102. "description": "每页条数",
  4103. "name": "pagesize",
  4104. "in": "query"
  4105. },
  4106. {
  4107. "type": "string",
  4108. "description": "资金账户列表,格式:1,2,3",
  4109. "name": "accountIDs",
  4110. "in": "query",
  4111. "required": true
  4112. }
  4113. ],
  4114. "responses": {
  4115. "200": {
  4116. "description": "OK",
  4117. "schema": {
  4118. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  4119. }
  4120. },
  4121. "500": {
  4122. "description": "Internal Server Error",
  4123. "schema": {
  4124. "$ref": "#/definitions/app.Response"
  4125. }
  4126. }
  4127. }
  4128. }
  4129. },
  4130. "/HSBY/QueryHsbyGoodsOrderDetails": {
  4131. "get": {
  4132. "security": [
  4133. {
  4134. "ApiKeyAuth": []
  4135. }
  4136. ],
  4137. "description": "说明:查询结果已按委托价格和委托时间排序",
  4138. "produces": [
  4139. "application/json"
  4140. ],
  4141. "tags": [
  4142. "定制【海商报业】"
  4143. ],
  4144. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  4145. "parameters": [
  4146. {
  4147. "type": "integer",
  4148. "description": "商品ID",
  4149. "name": "goodsID",
  4150. "in": "query",
  4151. "required": true
  4152. },
  4153. {
  4154. "type": "string",
  4155. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  4156. "name": "accountIDs",
  4157. "in": "query"
  4158. },
  4159. {
  4160. "type": "integer",
  4161. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  4162. "name": "buyOrSell",
  4163. "in": "query"
  4164. },
  4165. {
  4166. "type": "number",
  4167. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  4168. "name": "price",
  4169. "in": "query"
  4170. },
  4171. {
  4172. "type": "integer",
  4173. "description": "档位,不传则默认为3档",
  4174. "name": "speed",
  4175. "in": "query"
  4176. }
  4177. ],
  4178. "responses": {
  4179. "200": {
  4180. "description": "OK",
  4181. "schema": {
  4182. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  4183. }
  4184. },
  4185. "500": {
  4186. "description": "Internal Server Error",
  4187. "schema": {
  4188. "$ref": "#/definitions/app.Response"
  4189. }
  4190. }
  4191. }
  4192. }
  4193. },
  4194. "/HSBY/QueryHsbyListingGoodsDetail": {
  4195. "get": {
  4196. "security": [
  4197. {
  4198. "ApiKeyAuth": []
  4199. }
  4200. ],
  4201. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  4202. "produces": [
  4203. "application/json"
  4204. ],
  4205. "tags": [
  4206. "定制【海商报业】"
  4207. ],
  4208. "summary": "查询二级市场(挂牌点选)商品信息详情",
  4209. "parameters": [
  4210. {
  4211. "type": "integer",
  4212. "description": "商品ID",
  4213. "name": "goodsID",
  4214. "in": "query",
  4215. "required": true
  4216. },
  4217. {
  4218. "type": "integer",
  4219. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  4220. "name": "accountID",
  4221. "in": "query"
  4222. }
  4223. ],
  4224. "responses": {
  4225. "200": {
  4226. "description": "OK",
  4227. "schema": {
  4228. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  4229. }
  4230. },
  4231. "500": {
  4232. "description": "Internal Server Error",
  4233. "schema": {
  4234. "$ref": "#/definitions/app.Response"
  4235. }
  4236. }
  4237. }
  4238. }
  4239. },
  4240. "/HSBY/QueryHsbyMarketGoodsDetail": {
  4241. "get": {
  4242. "security": [
  4243. {
  4244. "ApiKeyAuth": []
  4245. }
  4246. ],
  4247. "produces": [
  4248. "application/json"
  4249. ],
  4250. "tags": [
  4251. "定制【海商报业】"
  4252. ],
  4253. "summary": "查询三级市场(商城)商品信息详情",
  4254. "parameters": [
  4255. {
  4256. "type": "integer",
  4257. "description": "委托单号",
  4258. "name": "orderID",
  4259. "in": "query",
  4260. "required": true
  4261. },
  4262. {
  4263. "type": "integer",
  4264. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  4265. "name": "accountID",
  4266. "in": "query"
  4267. }
  4268. ],
  4269. "responses": {
  4270. "200": {
  4271. "description": "OK",
  4272. "schema": {
  4273. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4274. }
  4275. },
  4276. "500": {
  4277. "description": "Internal Server Error",
  4278. "schema": {
  4279. "$ref": "#/definitions/app.Response"
  4280. }
  4281. }
  4282. }
  4283. }
  4284. },
  4285. "/HSBY/QueryHsbyMarketGoodses": {
  4286. "get": {
  4287. "security": [
  4288. {
  4289. "ApiKeyAuth": []
  4290. }
  4291. ],
  4292. "produces": [
  4293. "application/json"
  4294. ],
  4295. "tags": [
  4296. "定制【海商报业】"
  4297. ],
  4298. "summary": "查询特卖商品列表(三级商城)",
  4299. "parameters": [
  4300. {
  4301. "type": "integer",
  4302. "description": "页码",
  4303. "name": "page",
  4304. "in": "query"
  4305. },
  4306. {
  4307. "type": "integer",
  4308. "description": "每页条数",
  4309. "name": "pagesize",
  4310. "in": "query"
  4311. },
  4312. {
  4313. "type": "string",
  4314. "description": "市场ID列表,格式:1,2,3",
  4315. "name": "marketIDs",
  4316. "in": "query",
  4317. "required": true
  4318. },
  4319. {
  4320. "type": "integer",
  4321. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  4322. "name": "accountID",
  4323. "in": "query",
  4324. "required": true
  4325. },
  4326. {
  4327. "type": "integer",
  4328. "description": "类别ID",
  4329. "name": "categoryID",
  4330. "in": "query"
  4331. },
  4332. {
  4333. "type": "string",
  4334. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4335. "name": "goodsIDs",
  4336. "in": "query"
  4337. },
  4338. {
  4339. "type": "integer",
  4340. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  4341. "name": "couponTypeID",
  4342. "in": "query"
  4343. }
  4344. ],
  4345. "responses": {
  4346. "200": {
  4347. "description": "OK",
  4348. "schema": {
  4349. "$ref": "#/definitions/models.HsbyMarketGoods"
  4350. }
  4351. },
  4352. "500": {
  4353. "description": "Internal Server Error",
  4354. "schema": {
  4355. "$ref": "#/definitions/app.Response"
  4356. }
  4357. }
  4358. }
  4359. }
  4360. },
  4361. "/HSBY/QueryHsbyMarkets": {
  4362. "get": {
  4363. "security": [
  4364. {
  4365. "ApiKeyAuth": []
  4366. }
  4367. ],
  4368. "produces": [
  4369. "application/json"
  4370. ],
  4371. "tags": [
  4372. "定制【海商报业】"
  4373. ],
  4374. "summary": "查询海商报业相关市场信息",
  4375. "responses": {
  4376. "200": {
  4377. "description": "OK",
  4378. "schema": {
  4379. "$ref": "#/definitions/models.HsbyMarketInfo"
  4380. }
  4381. },
  4382. "500": {
  4383. "description": "Internal Server Error",
  4384. "schema": {
  4385. "$ref": "#/definitions/app.Response"
  4386. }
  4387. }
  4388. }
  4389. }
  4390. },
  4391. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  4392. "get": {
  4393. "security": [
  4394. {
  4395. "ApiKeyAuth": []
  4396. }
  4397. ],
  4398. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  4399. "produces": [
  4400. "application/json"
  4401. ],
  4402. "tags": [
  4403. "定制【海商报业】"
  4404. ],
  4405. "summary": "查询“我的订单”信息",
  4406. "parameters": [
  4407. {
  4408. "type": "string",
  4409. "description": "资金账户列表,格式:1,2,3",
  4410. "name": "accountIDs",
  4411. "in": "query",
  4412. "required": true
  4413. }
  4414. ],
  4415. "responses": {
  4416. "200": {
  4417. "description": "OK",
  4418. "schema": {
  4419. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  4420. }
  4421. },
  4422. "500": {
  4423. "description": "Internal Server Error",
  4424. "schema": {
  4425. "$ref": "#/definitions/app.Response"
  4426. }
  4427. }
  4428. }
  4429. }
  4430. },
  4431. "/HSBY/QueryHsbyMyGoods": {
  4432. "get": {
  4433. "security": [
  4434. {
  4435. "ApiKeyAuth": []
  4436. }
  4437. ],
  4438. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  4439. "produces": [
  4440. "application/json"
  4441. ],
  4442. "tags": [
  4443. "定制【海商报业】"
  4444. ],
  4445. "summary": "查询“我的商品”信息",
  4446. "parameters": [
  4447. {
  4448. "type": "string",
  4449. "description": "资金账户列表,格式:1,2,3",
  4450. "name": "accountIDs",
  4451. "in": "query",
  4452. "required": true
  4453. }
  4454. ],
  4455. "responses": {
  4456. "200": {
  4457. "description": "OK",
  4458. "schema": {
  4459. "$ref": "#/definitions/models.HsbyMyGoods"
  4460. }
  4461. },
  4462. "500": {
  4463. "description": "Internal Server Error",
  4464. "schema": {
  4465. "$ref": "#/definitions/app.Response"
  4466. }
  4467. }
  4468. }
  4469. }
  4470. },
  4471. "/HSBY/QueryHsbyMyPackages": {
  4472. "get": {
  4473. "security": [
  4474. {
  4475. "ApiKeyAuth": []
  4476. }
  4477. ],
  4478. "produces": [
  4479. "application/json"
  4480. ],
  4481. "tags": [
  4482. "定制【海商报业】"
  4483. ],
  4484. "summary": "查询我的包裹信息",
  4485. "parameters": [
  4486. {
  4487. "type": "string",
  4488. "description": "资金账户列表,格式:1,2,3",
  4489. "name": "accountIDs",
  4490. "in": "query",
  4491. "required": true
  4492. },
  4493. {
  4494. "type": "integer",
  4495. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4496. "name": "takeOrderStatus",
  4497. "in": "query"
  4498. }
  4499. ],
  4500. "responses": {
  4501. "200": {
  4502. "description": "OK",
  4503. "schema": {
  4504. "$ref": "#/definitions/models.HsbyMyPackage"
  4505. }
  4506. },
  4507. "500": {
  4508. "description": "Internal Server Error",
  4509. "schema": {
  4510. "$ref": "#/definitions/app.Response"
  4511. }
  4512. }
  4513. }
  4514. }
  4515. },
  4516. "/HSBY/QueryHsbyPreGoodsDetail": {
  4517. "get": {
  4518. "security": [
  4519. {
  4520. "ApiKeyAuth": []
  4521. }
  4522. ],
  4523. "produces": [
  4524. "application/json"
  4525. ],
  4526. "tags": [
  4527. "定制【海商报业】"
  4528. ],
  4529. "summary": "查询一级市场(预售)商品信息详情",
  4530. "parameters": [
  4531. {
  4532. "type": "integer",
  4533. "description": "商品ID",
  4534. "name": "goodsID",
  4535. "in": "query",
  4536. "required": true
  4537. },
  4538. {
  4539. "type": "integer",
  4540. "description": "资金账户,主要用于获取预售商品购买上限",
  4541. "name": "accountID",
  4542. "in": "query"
  4543. }
  4544. ],
  4545. "responses": {
  4546. "200": {
  4547. "description": "OK",
  4548. "schema": {
  4549. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  4550. }
  4551. },
  4552. "500": {
  4553. "description": "Internal Server Error",
  4554. "schema": {
  4555. "$ref": "#/definitions/app.Response"
  4556. }
  4557. }
  4558. }
  4559. }
  4560. },
  4561. "/HSBY/QueryHsbyPreGoodses": {
  4562. "get": {
  4563. "security": [
  4564. {
  4565. "ApiKeyAuth": []
  4566. }
  4567. ],
  4568. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  4569. "produces": [
  4570. "application/json"
  4571. ],
  4572. "tags": [
  4573. "定制【海商报业】"
  4574. ],
  4575. "summary": "查询新品上市商品列表(一级市场预售)",
  4576. "parameters": [
  4577. {
  4578. "type": "integer",
  4579. "description": "页码",
  4580. "name": "page",
  4581. "in": "query"
  4582. },
  4583. {
  4584. "type": "integer",
  4585. "description": "每页条数",
  4586. "name": "pagesize",
  4587. "in": "query"
  4588. },
  4589. {
  4590. "type": "string",
  4591. "description": "市场ID列表,格式:1,2,3",
  4592. "name": "marketIDs",
  4593. "in": "query",
  4594. "required": true
  4595. },
  4596. {
  4597. "type": "integer",
  4598. "description": "目的地(省)ID",
  4599. "name": "descProvinceID",
  4600. "in": "query"
  4601. },
  4602. {
  4603. "type": "integer",
  4604. "description": "目的地(市)ID",
  4605. "name": "descCityID",
  4606. "in": "query"
  4607. }
  4608. ],
  4609. "responses": {
  4610. "200": {
  4611. "description": "OK",
  4612. "schema": {
  4613. "$ref": "#/definitions/models.HsbyPreGoods"
  4614. }
  4615. },
  4616. "500": {
  4617. "description": "Internal Server Error",
  4618. "schema": {
  4619. "$ref": "#/definitions/app.Response"
  4620. }
  4621. }
  4622. }
  4623. }
  4624. },
  4625. "/HSBY/QueryHsbySellMyDetails": {
  4626. "get": {
  4627. "security": [
  4628. {
  4629. "ApiKeyAuth": []
  4630. }
  4631. ],
  4632. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  4633. "produces": [
  4634. "application/json"
  4635. ],
  4636. "tags": [
  4637. "定制【海商报业】"
  4638. ],
  4639. "summary": "查询\"我的闲置\"单据信息",
  4640. "parameters": [
  4641. {
  4642. "type": "integer",
  4643. "description": "页码",
  4644. "name": "page",
  4645. "in": "query"
  4646. },
  4647. {
  4648. "type": "integer",
  4649. "description": "每页条数",
  4650. "name": "pagesize",
  4651. "in": "query"
  4652. },
  4653. {
  4654. "type": "string",
  4655. "description": "资金账户列表,格式:1,2,3",
  4656. "name": "accountIDs",
  4657. "in": "query",
  4658. "required": true
  4659. },
  4660. {
  4661. "type": "integer",
  4662. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  4663. "name": "orderType",
  4664. "in": "query"
  4665. }
  4666. ],
  4667. "responses": {
  4668. "200": {
  4669. "description": "OK",
  4670. "schema": {
  4671. "$ref": "#/definitions/models.HsbySellMyDetail"
  4672. }
  4673. },
  4674. "500": {
  4675. "description": "Internal Server Error",
  4676. "schema": {
  4677. "$ref": "#/definitions/app.Response"
  4678. }
  4679. }
  4680. }
  4681. }
  4682. },
  4683. "/HSBY/QueryHsbyTopGoodses": {
  4684. "get": {
  4685. "security": [
  4686. {
  4687. "ApiKeyAuth": []
  4688. }
  4689. ],
  4690. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4691. "produces": [
  4692. "application/json"
  4693. ],
  4694. "tags": [
  4695. "定制【海商报业】"
  4696. ],
  4697. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4698. "parameters": [
  4699. {
  4700. "type": "integer",
  4701. "description": "页码",
  4702. "name": "page",
  4703. "in": "query"
  4704. },
  4705. {
  4706. "type": "integer",
  4707. "description": "每页条数",
  4708. "name": "pagesize",
  4709. "in": "query"
  4710. },
  4711. {
  4712. "type": "string",
  4713. "description": "市场ID列表,格式:1,2,3",
  4714. "name": "marketIDs",
  4715. "in": "query",
  4716. "required": true
  4717. },
  4718. {
  4719. "type": "integer",
  4720. "description": "目的地(省)ID",
  4721. "name": "descProvinceID",
  4722. "in": "query"
  4723. },
  4724. {
  4725. "type": "integer",
  4726. "description": "目的地(市)ID",
  4727. "name": "descCityID",
  4728. "in": "query"
  4729. }
  4730. ],
  4731. "responses": {
  4732. "200": {
  4733. "description": "OK",
  4734. "schema": {
  4735. "$ref": "#/definitions/models.HsbyTopGoods"
  4736. }
  4737. },
  4738. "500": {
  4739. "description": "Internal Server Error",
  4740. "schema": {
  4741. "$ref": "#/definitions/app.Response"
  4742. }
  4743. }
  4744. }
  4745. }
  4746. },
  4747. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4748. "get": {
  4749. "security": [
  4750. {
  4751. "ApiKeyAuth": []
  4752. }
  4753. ],
  4754. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4755. "produces": [
  4756. "application/json"
  4757. ],
  4758. "tags": [
  4759. "定制【海商报业】"
  4760. ],
  4761. "summary": "查询游客三级市场(商城)商品信息详情",
  4762. "parameters": [
  4763. {
  4764. "type": "integer",
  4765. "description": "商品ID",
  4766. "name": "goodsID",
  4767. "in": "query",
  4768. "required": true
  4769. }
  4770. ],
  4771. "responses": {
  4772. "200": {
  4773. "description": "OK",
  4774. "schema": {
  4775. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4776. }
  4777. },
  4778. "500": {
  4779. "description": "Internal Server Error",
  4780. "schema": {
  4781. "$ref": "#/definitions/app.Response"
  4782. }
  4783. }
  4784. }
  4785. }
  4786. },
  4787. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4788. "get": {
  4789. "security": [
  4790. {
  4791. "ApiKeyAuth": []
  4792. }
  4793. ],
  4794. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4795. "produces": [
  4796. "application/json"
  4797. ],
  4798. "tags": [
  4799. "定制【海商报业】"
  4800. ],
  4801. "summary": "查询游客特卖商品列表(三级商城)",
  4802. "parameters": [
  4803. {
  4804. "type": "integer",
  4805. "description": "页码",
  4806. "name": "page",
  4807. "in": "query"
  4808. },
  4809. {
  4810. "type": "integer",
  4811. "description": "每页条数",
  4812. "name": "pagesize",
  4813. "in": "query"
  4814. },
  4815. {
  4816. "type": "string",
  4817. "description": "市场ID列表,格式:1,2,3",
  4818. "name": "marketIDs",
  4819. "in": "query",
  4820. "required": true
  4821. },
  4822. {
  4823. "type": "integer",
  4824. "description": "类别ID",
  4825. "name": "categoryID",
  4826. "in": "query"
  4827. },
  4828. {
  4829. "type": "string",
  4830. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4831. "name": "goodsIDs",
  4832. "in": "query"
  4833. }
  4834. ],
  4835. "responses": {
  4836. "200": {
  4837. "description": "OK",
  4838. "schema": {
  4839. "$ref": "#/definitions/models.HsbyMarketGoods"
  4840. }
  4841. },
  4842. "500": {
  4843. "description": "Internal Server Error",
  4844. "schema": {
  4845. "$ref": "#/definitions/app.Response"
  4846. }
  4847. }
  4848. }
  4849. }
  4850. },
  4851. "/HSBY/QueryMyCollectionOrders": {
  4852. "get": {
  4853. "security": [
  4854. {
  4855. "ApiKeyAuth": []
  4856. }
  4857. ],
  4858. "produces": [
  4859. "application/json"
  4860. ],
  4861. "tags": [
  4862. "定制【海商报业】"
  4863. ],
  4864. "summary": "我的闲置中收款信息查询",
  4865. "parameters": [
  4866. {
  4867. "type": "integer",
  4868. "description": "页码",
  4869. "name": "page",
  4870. "in": "query"
  4871. },
  4872. {
  4873. "type": "integer",
  4874. "description": "每页条数",
  4875. "name": "pagesize",
  4876. "in": "query"
  4877. },
  4878. {
  4879. "type": "string",
  4880. "description": "资金账户,格式:1,2,3",
  4881. "name": "accountIDs",
  4882. "in": "query",
  4883. "required": true
  4884. }
  4885. ],
  4886. "responses": {
  4887. "200": {
  4888. "description": "OK",
  4889. "schema": {
  4890. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4891. }
  4892. },
  4893. "500": {
  4894. "description": "Internal Server Error",
  4895. "schema": {
  4896. "$ref": "#/definitions/app.Response"
  4897. }
  4898. }
  4899. }
  4900. }
  4901. },
  4902. "/HSBY/QueryMyCouponHolds": {
  4903. "get": {
  4904. "security": [
  4905. {
  4906. "ApiKeyAuth": []
  4907. }
  4908. ],
  4909. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4910. "produces": [
  4911. "application/json"
  4912. ],
  4913. "tags": [
  4914. "定制【海商报业】"
  4915. ],
  4916. "summary": "我的优惠卷持仓查询",
  4917. "parameters": [
  4918. {
  4919. "type": "string",
  4920. "description": "资金账户列表,格式:1,2,3",
  4921. "name": "accountIDs",
  4922. "in": "query",
  4923. "required": true
  4924. },
  4925. {
  4926. "type": "string",
  4927. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4928. "name": "holdStatus",
  4929. "in": "query"
  4930. }
  4931. ],
  4932. "responses": {
  4933. "200": {
  4934. "description": "OK",
  4935. "schema": {
  4936. "$ref": "#/definitions/models.MyCouponHold"
  4937. }
  4938. },
  4939. "500": {
  4940. "description": "Internal Server Error",
  4941. "schema": {
  4942. "$ref": "#/definitions/app.Response"
  4943. }
  4944. }
  4945. }
  4946. }
  4947. },
  4948. "/HSBY/QueryMyCoupons": {
  4949. "get": {
  4950. "security": [
  4951. {
  4952. "ApiKeyAuth": []
  4953. }
  4954. ],
  4955. "produces": [
  4956. "application/json"
  4957. ],
  4958. "tags": [
  4959. "定制【海商报业】"
  4960. ],
  4961. "summary": "我的优惠卷查询",
  4962. "parameters": [
  4963. {
  4964. "type": "string",
  4965. "description": "资金账户列表,格式:1,2,3",
  4966. "name": "accountIDs",
  4967. "in": "query",
  4968. "required": true
  4969. },
  4970. {
  4971. "type": "integer",
  4972. "description": "商品ID, 一般与sellUserID配套传入",
  4973. "name": "goodsID",
  4974. "in": "query"
  4975. },
  4976. {
  4977. "type": "integer",
  4978. "description": "卖方UserID",
  4979. "name": "sellUserID",
  4980. "in": "query"
  4981. }
  4982. ],
  4983. "responses": {
  4984. "200": {
  4985. "description": "OK",
  4986. "schema": {
  4987. "$ref": "#/definitions/models.MyCoupon"
  4988. }
  4989. },
  4990. "500": {
  4991. "description": "Internal Server Error",
  4992. "schema": {
  4993. "$ref": "#/definitions/app.Response"
  4994. }
  4995. }
  4996. }
  4997. }
  4998. },
  4999. "/HSBY/QueryMyPayOrders": {
  5000. "get": {
  5001. "security": [
  5002. {
  5003. "ApiKeyAuth": []
  5004. }
  5005. ],
  5006. "produces": [
  5007. "application/json"
  5008. ],
  5009. "tags": [
  5010. "定制【海商报业】"
  5011. ],
  5012. "summary": "获取我的订单中待付款信息",
  5013. "parameters": [
  5014. {
  5015. "type": "integer",
  5016. "description": "页码",
  5017. "name": "page",
  5018. "in": "query"
  5019. },
  5020. {
  5021. "type": "integer",
  5022. "description": "每页条数",
  5023. "name": "pagesize",
  5024. "in": "query"
  5025. },
  5026. {
  5027. "type": "string",
  5028. "description": "资金账户列表,格式:1,2,3",
  5029. "name": "accountIDs",
  5030. "in": "query",
  5031. "required": true
  5032. },
  5033. {
  5034. "type": "integer",
  5035. "description": "买方委托单号",
  5036. "name": "buyOrderID",
  5037. "in": "query"
  5038. },
  5039. {
  5040. "type": "integer",
  5041. "description": "卖方委托单号",
  5042. "name": "sellOrderID",
  5043. "in": "query"
  5044. }
  5045. ],
  5046. "responses": {
  5047. "200": {
  5048. "description": "OK",
  5049. "schema": {
  5050. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  5051. }
  5052. },
  5053. "500": {
  5054. "description": "Internal Server Error",
  5055. "schema": {
  5056. "$ref": "#/definitions/app.Response"
  5057. }
  5058. }
  5059. }
  5060. }
  5061. },
  5062. "/HSBY/QueryMyUsedCoupon": {
  5063. "get": {
  5064. "security": [
  5065. {
  5066. "ApiKeyAuth": []
  5067. }
  5068. ],
  5069. "produces": [
  5070. "application/json"
  5071. ],
  5072. "tags": [
  5073. "定制【海商报业】"
  5074. ],
  5075. "summary": "已使用优惠卷查询",
  5076. "parameters": [
  5077. {
  5078. "type": "string",
  5079. "description": "资金账户列表,格式:1,2,3",
  5080. "name": "accountIDs",
  5081. "in": "query",
  5082. "required": true
  5083. }
  5084. ],
  5085. "responses": {
  5086. "200": {
  5087. "description": "OK",
  5088. "schema": {
  5089. "$ref": "#/definitions/models.MyUsedCoupon"
  5090. }
  5091. },
  5092. "500": {
  5093. "description": "Internal Server Error",
  5094. "schema": {
  5095. "$ref": "#/definitions/app.Response"
  5096. }
  5097. }
  5098. }
  5099. }
  5100. },
  5101. "/HSBY/QueryProvincesAndCities": {
  5102. "get": {
  5103. "security": [
  5104. {
  5105. "ApiKeyAuth": []
  5106. }
  5107. ],
  5108. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  5109. "produces": [
  5110. "application/json"
  5111. ],
  5112. "tags": [
  5113. "定制【海商报业】"
  5114. ],
  5115. "summary": "查询省市信息(不包括区)",
  5116. "parameters": [
  5117. {
  5118. "type": "integer",
  5119. "description": "省ID",
  5120. "name": "provinceID",
  5121. "in": "query"
  5122. }
  5123. ],
  5124. "responses": {
  5125. "200": {
  5126. "description": "OK",
  5127. "schema": {
  5128. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  5129. }
  5130. },
  5131. "500": {
  5132. "description": "Internal Server Error",
  5133. "schema": {
  5134. "$ref": "#/definitions/app.Response"
  5135. }
  5136. }
  5137. }
  5138. }
  5139. },
  5140. "/HSBY/SetHsbyMyPackagesStatus": {
  5141. "post": {
  5142. "security": [
  5143. {
  5144. "ApiKeyAuth": []
  5145. }
  5146. ],
  5147. "produces": [
  5148. "application/json"
  5149. ],
  5150. "tags": [
  5151. "定制【海商报业】"
  5152. ],
  5153. "summary": "设置我的包裹已收货状态",
  5154. "parameters": [
  5155. {
  5156. "type": "string",
  5157. "description": "提货单号",
  5158. "name": "takeOrderID",
  5159. "in": "query",
  5160. "required": true
  5161. },
  5162. {
  5163. "type": "integer",
  5164. "description": "资金账号",
  5165. "name": "accountID",
  5166. "in": "query",
  5167. "required": true
  5168. }
  5169. ],
  5170. "responses": {
  5171. "200": {
  5172. "description": "OK",
  5173. "schema": {
  5174. "$ref": "#/definitions/app.Response"
  5175. }
  5176. },
  5177. "500": {
  5178. "description": "Internal Server Error",
  5179. "schema": {
  5180. "$ref": "#/definitions/app.Response"
  5181. }
  5182. }
  5183. }
  5184. }
  5185. },
  5186. "/Market/QueryGoodsesByLoginID": {
  5187. "get": {
  5188. "security": [
  5189. {
  5190. "ApiKeyAuth": []
  5191. }
  5192. ],
  5193. "produces": [
  5194. "application/json"
  5195. ],
  5196. "tags": [
  5197. "通用市场"
  5198. ],
  5199. "summary": "获取登录账号有权限的商品信息",
  5200. "parameters": [
  5201. {
  5202. "type": "integer",
  5203. "description": "登录账号",
  5204. "name": "loginID",
  5205. "in": "query",
  5206. "required": true
  5207. },
  5208. {
  5209. "type": "string",
  5210. "description": "市场ID列表,格式:1,2,3",
  5211. "name": "marketIDs",
  5212. "in": "query"
  5213. }
  5214. ],
  5215. "responses": {
  5216. "200": {
  5217. "description": "OK",
  5218. "schema": {
  5219. "$ref": "#/definitions/models.Goods"
  5220. }
  5221. },
  5222. "500": {
  5223. "description": "Internal Server Error",
  5224. "schema": {
  5225. "$ref": "#/definitions/app.Response"
  5226. }
  5227. }
  5228. }
  5229. }
  5230. },
  5231. "/Market/QueryMarketRun": {
  5232. "get": {
  5233. "security": [
  5234. {
  5235. "ApiKeyAuth": []
  5236. }
  5237. ],
  5238. "produces": [
  5239. "application/json"
  5240. ],
  5241. "tags": [
  5242. "通用市场"
  5243. ],
  5244. "summary": "查询市场运行信息",
  5245. "parameters": [
  5246. {
  5247. "type": "integer",
  5248. "description": "市场ID,不传返回所有",
  5249. "name": "marketID",
  5250. "in": "query"
  5251. }
  5252. ],
  5253. "responses": {
  5254. "200": {
  5255. "description": "OK",
  5256. "schema": {
  5257. "$ref": "#/definitions/models.Marketrun"
  5258. }
  5259. },
  5260. "500": {
  5261. "description": "Internal Server Error",
  5262. "schema": {
  5263. "$ref": "#/definitions/app.Response"
  5264. }
  5265. }
  5266. }
  5267. }
  5268. },
  5269. "/Market/QueryMarketsByLoginID": {
  5270. "get": {
  5271. "security": [
  5272. {
  5273. "ApiKeyAuth": []
  5274. }
  5275. ],
  5276. "produces": [
  5277. "application/json"
  5278. ],
  5279. "tags": [
  5280. "通用市场"
  5281. ],
  5282. "summary": "获取登录账号有权限的市场信息",
  5283. "parameters": [
  5284. {
  5285. "type": "integer",
  5286. "description": "登录账号",
  5287. "name": "loginID",
  5288. "in": "query",
  5289. "required": true
  5290. }
  5291. ],
  5292. "responses": {
  5293. "200": {
  5294. "description": "OK",
  5295. "schema": {
  5296. "$ref": "#/definitions/models.Market"
  5297. }
  5298. },
  5299. "500": {
  5300. "description": "Internal Server Error",
  5301. "schema": {
  5302. "$ref": "#/definitions/app.Response"
  5303. }
  5304. }
  5305. }
  5306. }
  5307. },
  5308. "/Order/QueryHisTradeDetail": {
  5309. "get": {
  5310. "security": [
  5311. {
  5312. "ApiKeyAuth": []
  5313. }
  5314. ],
  5315. "produces": [
  5316. "application/json"
  5317. ],
  5318. "tags": [
  5319. "通用单据"
  5320. ],
  5321. "summary": "历史成交单查询(合约市场)",
  5322. "parameters": [
  5323. {
  5324. "type": "string",
  5325. "description": "资金账户 - 格式:1,2,3",
  5326. "name": "accountID",
  5327. "in": "query",
  5328. "required": true
  5329. },
  5330. {
  5331. "type": "integer",
  5332. "description": "成交单号",
  5333. "name": "tradeID",
  5334. "in": "query"
  5335. },
  5336. {
  5337. "type": "integer",
  5338. "description": "委托单号",
  5339. "name": "orderID",
  5340. "in": "query"
  5341. },
  5342. {
  5343. "type": "string",
  5344. "description": "交易模式 - 格式:1,2,3",
  5345. "name": "tradeMode",
  5346. "in": "query"
  5347. },
  5348. {
  5349. "type": "integer",
  5350. "description": "委托单据类型",
  5351. "name": "buildType",
  5352. "in": "query"
  5353. },
  5354. {
  5355. "type": "string",
  5356. "description": "成交类别 - 格式:1,2,3",
  5357. "name": "tradeType",
  5358. "in": "query"
  5359. },
  5360. {
  5361. "type": "string",
  5362. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5363. "name": "startDate",
  5364. "in": "query"
  5365. },
  5366. {
  5367. "type": "string",
  5368. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5369. "name": "endDate",
  5370. "in": "query"
  5371. }
  5372. ],
  5373. "responses": {
  5374. "200": {
  5375. "description": "OK",
  5376. "schema": {
  5377. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  5378. }
  5379. },
  5380. "500": {
  5381. "description": "Internal Server Error",
  5382. "schema": {
  5383. "$ref": "#/definitions/app.Response"
  5384. }
  5385. }
  5386. }
  5387. }
  5388. },
  5389. "/Order/QueryHisTradeOrderDetail": {
  5390. "get": {
  5391. "security": [
  5392. {
  5393. "ApiKeyAuth": []
  5394. }
  5395. ],
  5396. "produces": [
  5397. "application/json"
  5398. ],
  5399. "tags": [
  5400. "通用单据"
  5401. ],
  5402. "summary": "历史委托单查询请求(合约市场)",
  5403. "parameters": [
  5404. {
  5405. "type": "string",
  5406. "description": "资金账户 - 格式:1,2,3",
  5407. "name": "accountID",
  5408. "in": "query",
  5409. "required": true
  5410. },
  5411. {
  5412. "type": "string",
  5413. "description": "交易模式 - 格式:1,2,3",
  5414. "name": "tradeMode",
  5415. "in": "query"
  5416. },
  5417. {
  5418. "type": "string",
  5419. "description": "委托状态 - 格式:1,2,3",
  5420. "name": "orderStatus",
  5421. "in": "query"
  5422. },
  5423. {
  5424. "type": "integer",
  5425. "description": "委托单号",
  5426. "name": "orderID",
  5427. "in": "query"
  5428. },
  5429. {
  5430. "type": "string",
  5431. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5432. "name": "startDate",
  5433. "in": "query"
  5434. },
  5435. {
  5436. "type": "string",
  5437. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5438. "name": "endDate",
  5439. "in": "query"
  5440. }
  5441. ],
  5442. "responses": {
  5443. "200": {
  5444. "description": "OK",
  5445. "schema": {
  5446. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  5447. }
  5448. },
  5449. "500": {
  5450. "description": "Internal Server Error",
  5451. "schema": {
  5452. "$ref": "#/definitions/app.Response"
  5453. }
  5454. }
  5455. }
  5456. }
  5457. },
  5458. "/Order/QueryTradeDetail": {
  5459. "get": {
  5460. "security": [
  5461. {
  5462. "ApiKeyAuth": []
  5463. }
  5464. ],
  5465. "produces": [
  5466. "application/json"
  5467. ],
  5468. "tags": [
  5469. "通用单据"
  5470. ],
  5471. "summary": "成交单查询(合约市场)",
  5472. "parameters": [
  5473. {
  5474. "type": "string",
  5475. "description": "资金账户 - 格式:1,2,3",
  5476. "name": "accountID",
  5477. "in": "query",
  5478. "required": true
  5479. },
  5480. {
  5481. "type": "integer",
  5482. "description": "成交单号",
  5483. "name": "tradeID",
  5484. "in": "query"
  5485. },
  5486. {
  5487. "type": "integer",
  5488. "description": "委托单号",
  5489. "name": "orderID",
  5490. "in": "query"
  5491. },
  5492. {
  5493. "type": "string",
  5494. "description": "交易模式 - 格式:1,2,3",
  5495. "name": "tradeMode",
  5496. "in": "query"
  5497. },
  5498. {
  5499. "type": "integer",
  5500. "description": "委托单据类型",
  5501. "name": "buildType",
  5502. "in": "query"
  5503. },
  5504. {
  5505. "type": "string",
  5506. "description": "成交类别 - 格式:1,2,3",
  5507. "name": "tradeType",
  5508. "in": "query"
  5509. }
  5510. ],
  5511. "responses": {
  5512. "200": {
  5513. "description": "OK",
  5514. "schema": {
  5515. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  5516. }
  5517. },
  5518. "500": {
  5519. "description": "Internal Server Error",
  5520. "schema": {
  5521. "$ref": "#/definitions/app.Response"
  5522. }
  5523. }
  5524. }
  5525. }
  5526. },
  5527. "/Order/QueryTradeOrderDetail": {
  5528. "get": {
  5529. "security": [
  5530. {
  5531. "ApiKeyAuth": []
  5532. }
  5533. ],
  5534. "produces": [
  5535. "application/json"
  5536. ],
  5537. "tags": [
  5538. "通用单据"
  5539. ],
  5540. "summary": "委托单查询请求(合约市场)",
  5541. "parameters": [
  5542. {
  5543. "type": "string",
  5544. "description": "资金账户 - 格式:1,2,3",
  5545. "name": "accountID",
  5546. "in": "query",
  5547. "required": true
  5548. },
  5549. {
  5550. "type": "string",
  5551. "description": "交易模式 - 格式:1,2,3",
  5552. "name": "tradeMode",
  5553. "in": "query"
  5554. },
  5555. {
  5556. "type": "string",
  5557. "description": "委托状态 - 格式:1,2,3",
  5558. "name": "orderStatus",
  5559. "in": "query"
  5560. },
  5561. {
  5562. "type": "integer",
  5563. "description": "委托单号",
  5564. "name": "orderID",
  5565. "in": "query"
  5566. }
  5567. ],
  5568. "responses": {
  5569. "200": {
  5570. "description": "OK",
  5571. "schema": {
  5572. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  5573. }
  5574. },
  5575. "500": {
  5576. "description": "Internal Server Error",
  5577. "schema": {
  5578. "$ref": "#/definitions/app.Response"
  5579. }
  5580. }
  5581. }
  5582. }
  5583. },
  5584. "/Order/QueryTradePosition": {
  5585. "get": {
  5586. "security": [
  5587. {
  5588. "ApiKeyAuth": []
  5589. }
  5590. ],
  5591. "produces": [
  5592. "application/json"
  5593. ],
  5594. "tags": [
  5595. "通用单据"
  5596. ],
  5597. "summary": "持仓汇总查询(合约市场)",
  5598. "parameters": [
  5599. {
  5600. "type": "string",
  5601. "description": "资金账户 - 格式:1,2,3",
  5602. "name": "accountID",
  5603. "in": "query",
  5604. "required": true
  5605. },
  5606. {
  5607. "type": "string",
  5608. "description": "交易模式 - 格式:1,2,3",
  5609. "name": "tradeMode",
  5610. "in": "query"
  5611. }
  5612. ],
  5613. "responses": {
  5614. "200": {
  5615. "description": "OK",
  5616. "schema": {
  5617. "$ref": "#/definitions/order.QueryTradePositionRsp"
  5618. }
  5619. },
  5620. "500": {
  5621. "description": "Internal Server Error",
  5622. "schema": {
  5623. "$ref": "#/definitions/app.Response"
  5624. }
  5625. }
  5626. }
  5627. }
  5628. },
  5629. "/Quote/QueryHistoryDatas": {
  5630. "get": {
  5631. "security": [
  5632. {
  5633. "ApiKeyAuth": []
  5634. }
  5635. ],
  5636. "produces": [
  5637. "application/json"
  5638. ],
  5639. "tags": [
  5640. "行情服务"
  5641. ],
  5642. "summary": "查询行情历史数据",
  5643. "parameters": [
  5644. {
  5645. "type": "integer",
  5646. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  5647. "name": "cycleType",
  5648. "in": "query",
  5649. "required": true
  5650. },
  5651. {
  5652. "type": "string",
  5653. "description": "商品代码",
  5654. "name": "goodsCode",
  5655. "in": "query",
  5656. "required": true
  5657. },
  5658. {
  5659. "type": "string",
  5660. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5661. "name": "startTime",
  5662. "in": "query"
  5663. },
  5664. {
  5665. "type": "string",
  5666. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5667. "name": "endTime",
  5668. "in": "query"
  5669. },
  5670. {
  5671. "type": "integer",
  5672. "description": "条数",
  5673. "name": "count",
  5674. "in": "query"
  5675. },
  5676. {
  5677. "type": "boolean",
  5678. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5679. "name": "isAsc",
  5680. "in": "query"
  5681. }
  5682. ],
  5683. "responses": {
  5684. "200": {
  5685. "description": "OK",
  5686. "schema": {
  5687. "$ref": "#/definitions/quote.HistoryData"
  5688. }
  5689. },
  5690. "500": {
  5691. "description": "Internal Server Error",
  5692. "schema": {
  5693. "$ref": "#/definitions/app.Response"
  5694. }
  5695. }
  5696. }
  5697. }
  5698. },
  5699. "/Quote/QueryHistoryTikDatas": {
  5700. "get": {
  5701. "security": [
  5702. {
  5703. "ApiKeyAuth": []
  5704. }
  5705. ],
  5706. "produces": [
  5707. "application/json"
  5708. ],
  5709. "tags": [
  5710. "行情服务"
  5711. ],
  5712. "summary": "查询行情Tik数据",
  5713. "parameters": [
  5714. {
  5715. "type": "string",
  5716. "description": "商品代码",
  5717. "name": "goodsCode",
  5718. "in": "query",
  5719. "required": true
  5720. },
  5721. {
  5722. "type": "string",
  5723. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5724. "name": "startTime",
  5725. "in": "query"
  5726. },
  5727. {
  5728. "type": "string",
  5729. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5730. "name": "endTime",
  5731. "in": "query"
  5732. },
  5733. {
  5734. "type": "integer",
  5735. "description": "条数",
  5736. "name": "count",
  5737. "in": "query"
  5738. },
  5739. {
  5740. "type": "boolean",
  5741. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5742. "name": "isAsc",
  5743. "in": "query"
  5744. }
  5745. ],
  5746. "responses": {
  5747. "200": {
  5748. "description": "OK",
  5749. "schema": {
  5750. "$ref": "#/definitions/quote.HistoryTikData"
  5751. }
  5752. },
  5753. "500": {
  5754. "description": "Internal Server Error",
  5755. "schema": {
  5756. "$ref": "#/definitions/app.Response"
  5757. }
  5758. }
  5759. }
  5760. }
  5761. },
  5762. "/Quote/QueryQuoteDay": {
  5763. "get": {
  5764. "security": [
  5765. {
  5766. "ApiKeyAuth": []
  5767. }
  5768. ],
  5769. "produces": [
  5770. "application/json"
  5771. ],
  5772. "tags": [
  5773. "行情服务"
  5774. ],
  5775. "summary": "获取商品盘面信息",
  5776. "parameters": [
  5777. {
  5778. "type": "string",
  5779. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5780. "name": "goodsCodes",
  5781. "in": "query",
  5782. "required": true
  5783. }
  5784. ],
  5785. "responses": {
  5786. "200": {
  5787. "description": "OK",
  5788. "schema": {
  5789. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5790. }
  5791. },
  5792. "500": {
  5793. "description": "Internal Server Error",
  5794. "schema": {
  5795. "$ref": "#/definitions/app.Response"
  5796. }
  5797. }
  5798. }
  5799. }
  5800. },
  5801. "/Quote/QueryTSData": {
  5802. "get": {
  5803. "security": [
  5804. {
  5805. "ApiKeyAuth": []
  5806. }
  5807. ],
  5808. "produces": [
  5809. "application/json"
  5810. ],
  5811. "tags": [
  5812. "行情服务"
  5813. ],
  5814. "summary": "分时图数据查询",
  5815. "parameters": [
  5816. {
  5817. "type": "string",
  5818. "description": "商品代码",
  5819. "name": "goodsCode",
  5820. "in": "query",
  5821. "required": true
  5822. }
  5823. ],
  5824. "responses": {
  5825. "200": {
  5826. "description": "OK",
  5827. "schema": {
  5828. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5829. }
  5830. },
  5831. "500": {
  5832. "description": "Internal Server Error",
  5833. "schema": {
  5834. "$ref": "#/definitions/app.Response"
  5835. }
  5836. }
  5837. }
  5838. }
  5839. },
  5840. "/SZDZ/QueryConvertConfig": {
  5841. "get": {
  5842. "security": [
  5843. {
  5844. "ApiKeyAuth": []
  5845. }
  5846. ],
  5847. "produces": [
  5848. "application/json"
  5849. ],
  5850. "tags": [
  5851. "定制【尚志大宗】"
  5852. ],
  5853. "summary": "查询交易系统转换设置",
  5854. "parameters": [
  5855. {
  5856. "type": "integer",
  5857. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5858. "name": "convertType",
  5859. "in": "query"
  5860. },
  5861. {
  5862. "type": "string",
  5863. "description": "外部商品代码[JD\\PD]",
  5864. "name": "outerGoodsCode",
  5865. "in": "query"
  5866. },
  5867. {
  5868. "type": "string",
  5869. "description": "内部商品ID列表[交易],格式:1,2,3",
  5870. "name": "innerGoodsIDs",
  5871. "in": "query"
  5872. }
  5873. ],
  5874. "responses": {
  5875. "200": {
  5876. "description": "OK",
  5877. "schema": {
  5878. "$ref": "#/definitions/models.Szdz3convertconfig"
  5879. }
  5880. },
  5881. "500": {
  5882. "description": "Internal Server Error",
  5883. "schema": {
  5884. "$ref": "#/definitions/app.Response"
  5885. }
  5886. }
  5887. }
  5888. }
  5889. },
  5890. "/SZDZ/QueryConvertLog": {
  5891. "get": {
  5892. "security": [
  5893. {
  5894. "ApiKeyAuth": []
  5895. }
  5896. ],
  5897. "produces": [
  5898. "application/json"
  5899. ],
  5900. "tags": [
  5901. "定制【尚志大宗】"
  5902. ],
  5903. "summary": "交易系统转换流水查询",
  5904. "parameters": [
  5905. {
  5906. "type": "string",
  5907. "description": "资金账户 - 格式:1,2,3",
  5908. "name": "accountID",
  5909. "in": "query",
  5910. "required": true
  5911. },
  5912. {
  5913. "type": "string",
  5914. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5915. "name": "startDate",
  5916. "in": "query"
  5917. },
  5918. {
  5919. "type": "string",
  5920. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5921. "name": "endDate",
  5922. "in": "query"
  5923. }
  5924. ],
  5925. "responses": {
  5926. "200": {
  5927. "description": "OK",
  5928. "schema": {
  5929. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5930. }
  5931. },
  5932. "500": {
  5933. "description": "Internal Server Error",
  5934. "schema": {
  5935. "$ref": "#/definitions/app.Response"
  5936. }
  5937. }
  5938. }
  5939. }
  5940. },
  5941. "/SZDZ/QueryGoodsPickup": {
  5942. "get": {
  5943. "security": [
  5944. {
  5945. "ApiKeyAuth": []
  5946. }
  5947. ],
  5948. "produces": [
  5949. "application/json"
  5950. ],
  5951. "tags": [
  5952. "定制【尚志大宗】"
  5953. ],
  5954. "summary": "商品提货单查询",
  5955. "parameters": [
  5956. {
  5957. "type": "string",
  5958. "description": "资金账户 - 格式:1,2,3",
  5959. "name": "accountID",
  5960. "in": "query",
  5961. "required": true
  5962. },
  5963. {
  5964. "type": "integer",
  5965. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5966. "name": "takeOrderStatus",
  5967. "in": "query"
  5968. }
  5969. ],
  5970. "responses": {
  5971. "200": {
  5972. "description": "OK",
  5973. "schema": {
  5974. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5975. }
  5976. },
  5977. "500": {
  5978. "description": "Internal Server Error",
  5979. "schema": {
  5980. "$ref": "#/definitions/app.Response"
  5981. }
  5982. }
  5983. }
  5984. }
  5985. },
  5986. "/SZDZ/QueryRecieptOrder": {
  5987. "get": {
  5988. "security": [
  5989. {
  5990. "ApiKeyAuth": []
  5991. }
  5992. ],
  5993. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5994. "produces": [
  5995. "application/json"
  5996. ],
  5997. "tags": [
  5998. "定制【尚志大宗】"
  5999. ],
  6000. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  6001. "parameters": [
  6002. {
  6003. "type": "integer",
  6004. "description": "页码",
  6005. "name": "page",
  6006. "in": "query"
  6007. },
  6008. {
  6009. "type": "integer",
  6010. "description": "每页条数",
  6011. "name": "pagesize",
  6012. "in": "query"
  6013. },
  6014. {
  6015. "type": "integer",
  6016. "description": "商品ID",
  6017. "name": "goodsID",
  6018. "in": "query",
  6019. "required": true
  6020. },
  6021. {
  6022. "type": "string",
  6023. "description": "所属账户名称",
  6024. "name": "accountName",
  6025. "in": "query"
  6026. },
  6027. {
  6028. "type": "integer",
  6029. "description": "市场ID",
  6030. "name": "marketID",
  6031. "in": "query"
  6032. },
  6033. {
  6034. "type": "integer",
  6035. "description": "方向 - 0:买 1:卖",
  6036. "name": "buyorsell",
  6037. "in": "query",
  6038. "required": true
  6039. }
  6040. ],
  6041. "responses": {
  6042. "200": {
  6043. "description": "OK",
  6044. "schema": {
  6045. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  6046. }
  6047. },
  6048. "500": {
  6049. "description": "Internal Server Error",
  6050. "schema": {
  6051. "$ref": "#/definitions/app.Response"
  6052. }
  6053. }
  6054. }
  6055. }
  6056. },
  6057. "/SZDZ/QuerySZDZTradePosition": {
  6058. "get": {
  6059. "security": [
  6060. {
  6061. "ApiKeyAuth": []
  6062. }
  6063. ],
  6064. "produces": [
  6065. "application/json"
  6066. ],
  6067. "tags": [
  6068. "定制【尚志大宗】"
  6069. ],
  6070. "summary": "持仓汇总查询(尚志大宗)",
  6071. "parameters": [
  6072. {
  6073. "type": "integer",
  6074. "description": "资金账户",
  6075. "name": "accountID",
  6076. "in": "query",
  6077. "required": true
  6078. }
  6079. ],
  6080. "responses": {
  6081. "200": {
  6082. "description": "OK",
  6083. "schema": {
  6084. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  6085. }
  6086. },
  6087. "500": {
  6088. "description": "Internal Server Error",
  6089. "schema": {
  6090. "$ref": "#/definitions/app.Response"
  6091. }
  6092. }
  6093. }
  6094. }
  6095. },
  6096. "/SZDZ/SearchWhite": {
  6097. "get": {
  6098. "security": [
  6099. {
  6100. "ApiKeyAuth": []
  6101. }
  6102. ],
  6103. "produces": [
  6104. "application/json"
  6105. ],
  6106. "tags": [
  6107. "定制【尚志大宗】"
  6108. ],
  6109. "summary": "搜索白名单",
  6110. "parameters": [
  6111. {
  6112. "type": "integer",
  6113. "description": "用户ID",
  6114. "name": "userID",
  6115. "in": "query",
  6116. "required": true
  6117. }
  6118. ],
  6119. "responses": {
  6120. "200": {
  6121. "description": "OK",
  6122. "schema": {
  6123. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  6124. }
  6125. },
  6126. "500": {
  6127. "description": "Internal Server Error",
  6128. "schema": {
  6129. "$ref": "#/definitions/app.Response"
  6130. }
  6131. }
  6132. }
  6133. }
  6134. },
  6135. "/Search/SearchGoodses": {
  6136. "get": {
  6137. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  6138. "produces": [
  6139. "application/json"
  6140. ],
  6141. "tags": [
  6142. "检索服务"
  6143. ],
  6144. "summary": "检索商品信息",
  6145. "parameters": [
  6146. {
  6147. "type": "string",
  6148. "description": "检索内容",
  6149. "name": "content",
  6150. "in": "query",
  6151. "required": true
  6152. },
  6153. {
  6154. "type": "string",
  6155. "description": "交易模式,格式:1,2,3",
  6156. "name": "tradeModes",
  6157. "in": "query"
  6158. }
  6159. ],
  6160. "responses": {
  6161. "200": {
  6162. "description": "OK",
  6163. "schema": {
  6164. "$ref": "#/definitions/models.SearchGoods"
  6165. }
  6166. },
  6167. "500": {
  6168. "description": "Internal Server Error",
  6169. "schema": {
  6170. "$ref": "#/definitions/app.Response"
  6171. }
  6172. }
  6173. }
  6174. }
  6175. },
  6176. "/TaAccount/GetTaAccounts": {
  6177. "get": {
  6178. "security": [
  6179. {
  6180. "ApiKeyAuth": []
  6181. }
  6182. ],
  6183. "produces": [
  6184. "application/json"
  6185. ],
  6186. "tags": [
  6187. "资金账户"
  6188. ],
  6189. "summary": "获取资金账户信息",
  6190. "parameters": [
  6191. {
  6192. "type": "integer",
  6193. "description": "登录账户",
  6194. "name": "loginID",
  6195. "in": "query",
  6196. "required": true
  6197. },
  6198. {
  6199. "type": "integer",
  6200. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  6201. "name": "taAccountType",
  6202. "in": "query"
  6203. }
  6204. ],
  6205. "responses": {
  6206. "200": {
  6207. "description": "OK",
  6208. "schema": {
  6209. "$ref": "#/definitions/models.Taaccount"
  6210. }
  6211. },
  6212. "500": {
  6213. "description": "Internal Server Error",
  6214. "schema": {
  6215. "$ref": "#/definitions/app.Response"
  6216. }
  6217. }
  6218. }
  6219. }
  6220. },
  6221. "/TaAccount/QueryAmountLog": {
  6222. "get": {
  6223. "security": [
  6224. {
  6225. "ApiKeyAuth": []
  6226. }
  6227. ],
  6228. "produces": [
  6229. "application/json"
  6230. ],
  6231. "tags": [
  6232. "资金账户"
  6233. ],
  6234. "summary": "资金流水查询(当前)",
  6235. "parameters": [
  6236. {
  6237. "type": "integer",
  6238. "description": "页码",
  6239. "name": "page",
  6240. "in": "query"
  6241. },
  6242. {
  6243. "type": "integer",
  6244. "description": "每页条数",
  6245. "name": "pagesize",
  6246. "in": "query"
  6247. },
  6248. {
  6249. "type": "string",
  6250. "description": "资金账户 - 格式:1,2,3",
  6251. "name": "accountID",
  6252. "in": "query",
  6253. "required": true
  6254. },
  6255. {
  6256. "type": "string",
  6257. "description": "资金操作类型 - 格式:1,2,3",
  6258. "name": "OperateType",
  6259. "in": "query"
  6260. }
  6261. ],
  6262. "responses": {
  6263. "200": {
  6264. "description": "OK",
  6265. "schema": {
  6266. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  6267. }
  6268. },
  6269. "500": {
  6270. "description": "Internal Server Error",
  6271. "schema": {
  6272. "$ref": "#/definitions/app.Response"
  6273. }
  6274. }
  6275. }
  6276. }
  6277. },
  6278. "/TaAccount/QueryHisAmountLog": {
  6279. "get": {
  6280. "security": [
  6281. {
  6282. "ApiKeyAuth": []
  6283. }
  6284. ],
  6285. "produces": [
  6286. "application/json"
  6287. ],
  6288. "tags": [
  6289. "资金账户"
  6290. ],
  6291. "summary": "资金流水查询(历史)",
  6292. "parameters": [
  6293. {
  6294. "type": "integer",
  6295. "description": "页码",
  6296. "name": "page",
  6297. "in": "query"
  6298. },
  6299. {
  6300. "type": "integer",
  6301. "description": "每页条数",
  6302. "name": "pagesize",
  6303. "in": "query"
  6304. },
  6305. {
  6306. "type": "string",
  6307. "description": "资金账户 - 格式:1,2,3",
  6308. "name": "accountID",
  6309. "in": "query",
  6310. "required": true
  6311. },
  6312. {
  6313. "type": "string",
  6314. "description": "资金操作类型 - 格式:1,2,3",
  6315. "name": "OperateType",
  6316. "in": "query"
  6317. },
  6318. {
  6319. "type": "string",
  6320. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6321. "name": "startDate",
  6322. "in": "query"
  6323. },
  6324. {
  6325. "type": "string",
  6326. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6327. "name": "endDate",
  6328. "in": "query"
  6329. }
  6330. ],
  6331. "responses": {
  6332. "200": {
  6333. "description": "OK",
  6334. "schema": {
  6335. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  6336. }
  6337. },
  6338. "500": {
  6339. "description": "Internal Server Error",
  6340. "schema": {
  6341. "$ref": "#/definitions/app.Response"
  6342. }
  6343. }
  6344. }
  6345. }
  6346. },
  6347. "/Trade/QueryRecieptOrder": {
  6348. "get": {
  6349. "security": [
  6350. {
  6351. "ApiKeyAuth": []
  6352. }
  6353. ],
  6354. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6355. "produces": [
  6356. "application/json"
  6357. ],
  6358. "tags": [
  6359. "通用交易"
  6360. ],
  6361. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  6362. "parameters": [
  6363. {
  6364. "type": "integer",
  6365. "description": "页码",
  6366. "name": "page",
  6367. "in": "query"
  6368. },
  6369. {
  6370. "type": "integer",
  6371. "description": "每页条数",
  6372. "name": "pagesize",
  6373. "in": "query"
  6374. },
  6375. {
  6376. "type": "integer",
  6377. "description": "商品ID",
  6378. "name": "goodsID",
  6379. "in": "query",
  6380. "required": true
  6381. },
  6382. {
  6383. "type": "string",
  6384. "description": "所属账户名称",
  6385. "name": "accountName",
  6386. "in": "query"
  6387. },
  6388. {
  6389. "type": "integer",
  6390. "description": "市场ID",
  6391. "name": "marketID",
  6392. "in": "query"
  6393. },
  6394. {
  6395. "type": "integer",
  6396. "description": "方向 - 0:买 1:卖",
  6397. "name": "buyorsell",
  6398. "in": "query",
  6399. "required": true
  6400. }
  6401. ],
  6402. "responses": {
  6403. "200": {
  6404. "description": "OK",
  6405. "schema": {
  6406. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  6407. }
  6408. },
  6409. "500": {
  6410. "description": "Internal Server Error",
  6411. "schema": {
  6412. "$ref": "#/definitions/app.Response"
  6413. }
  6414. }
  6415. }
  6416. }
  6417. },
  6418. "/User/AddMessageBoard": {
  6419. "post": {
  6420. "security": [
  6421. {
  6422. "ApiKeyAuth": []
  6423. }
  6424. ],
  6425. "produces": [
  6426. "application/json"
  6427. ],
  6428. "tags": [
  6429. "用户信息"
  6430. ],
  6431. "summary": "添加用户留言板信息",
  6432. "parameters": [
  6433. {
  6434. "type": "integer",
  6435. "description": "用户ID",
  6436. "name": "userID",
  6437. "in": "query",
  6438. "required": true
  6439. },
  6440. {
  6441. "type": "string",
  6442. "description": "留言信息",
  6443. "name": "message",
  6444. "in": "query",
  6445. "required": true
  6446. },
  6447. {
  6448. "type": "string",
  6449. "description": "联系电话",
  6450. "name": "contactNum",
  6451. "in": "query",
  6452. "required": true
  6453. }
  6454. ],
  6455. "responses": {
  6456. "200": {
  6457. "description": "OK",
  6458. "schema": {
  6459. "$ref": "#/definitions/app.Response"
  6460. }
  6461. },
  6462. "500": {
  6463. "description": "Internal Server Error",
  6464. "schema": {
  6465. "$ref": "#/definitions/app.Response"
  6466. }
  6467. }
  6468. }
  6469. }
  6470. },
  6471. "/User/AddUserFavoriteGoods": {
  6472. "post": {
  6473. "security": [
  6474. {
  6475. "ApiKeyAuth": []
  6476. }
  6477. ],
  6478. "produces": [
  6479. "application/json"
  6480. ],
  6481. "tags": [
  6482. "用户信息"
  6483. ],
  6484. "summary": "添加用户商品收藏信息",
  6485. "parameters": [
  6486. {
  6487. "type": "integer",
  6488. "description": "用户ID",
  6489. "name": "userID",
  6490. "in": "query",
  6491. "required": true
  6492. },
  6493. {
  6494. "type": "integer",
  6495. "description": "商品ID",
  6496. "name": "goodsID",
  6497. "in": "query",
  6498. "required": true
  6499. }
  6500. ],
  6501. "responses": {
  6502. "200": {
  6503. "description": "OK",
  6504. "schema": {
  6505. "$ref": "#/definitions/app.Response"
  6506. }
  6507. },
  6508. "500": {
  6509. "description": "Internal Server Error",
  6510. "schema": {
  6511. "$ref": "#/definitions/app.Response"
  6512. }
  6513. }
  6514. }
  6515. }
  6516. },
  6517. "/User/GetLoginID": {
  6518. "get": {
  6519. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  6520. "produces": [
  6521. "application/json"
  6522. ],
  6523. "tags": [
  6524. "用户信息"
  6525. ],
  6526. "summary": "获取登录ID",
  6527. "parameters": [
  6528. {
  6529. "type": "string",
  6530. "description": "登录代码",
  6531. "name": "username",
  6532. "in": "query",
  6533. "required": true
  6534. }
  6535. ],
  6536. "responses": {
  6537. "200": {
  6538. "description": "OK",
  6539. "schema": {
  6540. "$ref": "#/definitions/app.Response"
  6541. }
  6542. },
  6543. "500": {
  6544. "description": "Internal Server Error",
  6545. "schema": {
  6546. "$ref": "#/definitions/app.Response"
  6547. }
  6548. }
  6549. }
  6550. }
  6551. },
  6552. "/User/GetUserAccount": {
  6553. "get": {
  6554. "security": [
  6555. {
  6556. "ApiKeyAuth": []
  6557. }
  6558. ],
  6559. "produces": [
  6560. "application/json"
  6561. ],
  6562. "tags": [
  6563. "用户信息"
  6564. ],
  6565. "summary": "获取用户账号信息",
  6566. "parameters": [
  6567. {
  6568. "type": "integer",
  6569. "description": "用户ID",
  6570. "name": "userID",
  6571. "in": "query",
  6572. "required": true
  6573. }
  6574. ],
  6575. "responses": {
  6576. "200": {
  6577. "description": "OK",
  6578. "schema": {
  6579. "$ref": "#/definitions/models.Useraccount"
  6580. }
  6581. },
  6582. "500": {
  6583. "description": "Internal Server Error",
  6584. "schema": {
  6585. "$ref": "#/definitions/app.Response"
  6586. }
  6587. }
  6588. }
  6589. }
  6590. },
  6591. "/User/GetUserAuthStatus": {
  6592. "get": {
  6593. "security": [
  6594. {
  6595. "ApiKeyAuth": []
  6596. }
  6597. ],
  6598. "produces": [
  6599. "application/json"
  6600. ],
  6601. "tags": [
  6602. "用户信息"
  6603. ],
  6604. "summary": "获取用户实名认证状态",
  6605. "parameters": [
  6606. {
  6607. "type": "integer",
  6608. "description": "用户ID",
  6609. "name": "userID",
  6610. "in": "query",
  6611. "required": true
  6612. }
  6613. ],
  6614. "responses": {
  6615. "200": {
  6616. "description": "OK",
  6617. "schema": {
  6618. "$ref": "#/definitions/app.Response"
  6619. }
  6620. },
  6621. "500": {
  6622. "description": "Internal Server Error",
  6623. "schema": {
  6624. "$ref": "#/definitions/app.Response"
  6625. }
  6626. }
  6627. }
  6628. }
  6629. },
  6630. "/User/LoginQuery": {
  6631. "get": {
  6632. "security": [
  6633. {
  6634. "ApiKeyAuth": []
  6635. }
  6636. ],
  6637. "produces": [
  6638. "application/json"
  6639. ],
  6640. "tags": [
  6641. "用户信息"
  6642. ],
  6643. "summary": "账户登录后信息查询",
  6644. "parameters": [
  6645. {
  6646. "type": "integer",
  6647. "description": "登录账号",
  6648. "name": "loginID",
  6649. "in": "query",
  6650. "required": true
  6651. }
  6652. ],
  6653. "responses": {
  6654. "200": {
  6655. "description": "OK",
  6656. "schema": {
  6657. "$ref": "#/definitions/user.LoginQueryRsp"
  6658. }
  6659. },
  6660. "500": {
  6661. "description": "Internal Server Error",
  6662. "schema": {
  6663. "$ref": "#/definitions/app.Response"
  6664. }
  6665. }
  6666. }
  6667. }
  6668. },
  6669. "/User/QueryMessageBoard": {
  6670. "get": {
  6671. "security": [
  6672. {
  6673. "ApiKeyAuth": []
  6674. }
  6675. ],
  6676. "produces": [
  6677. "application/json"
  6678. ],
  6679. "tags": [
  6680. "用户信息"
  6681. ],
  6682. "summary": "获取用户留言板信息",
  6683. "parameters": [
  6684. {
  6685. "type": "integer",
  6686. "description": "用户ID",
  6687. "name": "userID",
  6688. "in": "query",
  6689. "required": true
  6690. }
  6691. ],
  6692. "responses": {
  6693. "200": {
  6694. "description": "OK",
  6695. "schema": {
  6696. "$ref": "#/definitions/models.Messageboard"
  6697. }
  6698. },
  6699. "500": {
  6700. "description": "Internal Server Error",
  6701. "schema": {
  6702. "$ref": "#/definitions/app.Response"
  6703. }
  6704. }
  6705. }
  6706. }
  6707. },
  6708. "/User/QueryUserFavoriteGoodses": {
  6709. "get": {
  6710. "security": [
  6711. {
  6712. "ApiKeyAuth": []
  6713. }
  6714. ],
  6715. "produces": [
  6716. "application/json"
  6717. ],
  6718. "tags": [
  6719. "用户信息"
  6720. ],
  6721. "summary": "获取用户商品收藏信息",
  6722. "parameters": [
  6723. {
  6724. "type": "integer",
  6725. "description": "用户ID",
  6726. "name": "userID",
  6727. "in": "query",
  6728. "required": true
  6729. }
  6730. ],
  6731. "responses": {
  6732. "200": {
  6733. "description": "OK",
  6734. "schema": {
  6735. "$ref": "#/definitions/models.Userfavoritegoods"
  6736. }
  6737. },
  6738. "500": {
  6739. "description": "Internal Server Error",
  6740. "schema": {
  6741. "$ref": "#/definitions/app.Response"
  6742. }
  6743. }
  6744. }
  6745. }
  6746. },
  6747. "/User/QueryUserInfo": {
  6748. "get": {
  6749. "security": [
  6750. {
  6751. "ApiKeyAuth": []
  6752. }
  6753. ],
  6754. "produces": [
  6755. "application/json"
  6756. ],
  6757. "tags": [
  6758. "用户信息"
  6759. ],
  6760. "summary": "获取用户信息",
  6761. "parameters": [
  6762. {
  6763. "type": "integer",
  6764. "description": "用户ID",
  6765. "name": "userID",
  6766. "in": "query",
  6767. "required": true
  6768. },
  6769. {
  6770. "type": "boolean",
  6771. "description": "是否解密",
  6772. "name": "isDecrypt",
  6773. "in": "query"
  6774. }
  6775. ],
  6776. "responses": {
  6777. "200": {
  6778. "description": "OK",
  6779. "schema": {
  6780. "$ref": "#/definitions/models.Userinfo"
  6781. }
  6782. },
  6783. "500": {
  6784. "description": "Internal Server Error",
  6785. "schema": {
  6786. "$ref": "#/definitions/app.Response"
  6787. }
  6788. }
  6789. }
  6790. }
  6791. },
  6792. "/User/QueryUserReferNum": {
  6793. "get": {
  6794. "produces": [
  6795. "application/json"
  6796. ],
  6797. "tags": [
  6798. "用户信息"
  6799. ],
  6800. "summary": "获取用户邀请码",
  6801. "parameters": [
  6802. {
  6803. "type": "integer",
  6804. "description": "用户ID",
  6805. "name": "userID",
  6806. "in": "query",
  6807. "required": true
  6808. }
  6809. ],
  6810. "responses": {
  6811. "200": {
  6812. "description": "OK",
  6813. "schema": {
  6814. "$ref": "#/definitions/app.Response"
  6815. }
  6816. },
  6817. "500": {
  6818. "description": "Internal Server Error",
  6819. "schema": {
  6820. "$ref": "#/definitions/app.Response"
  6821. }
  6822. }
  6823. }
  6824. }
  6825. },
  6826. "/User/RemoveUserFavoriteGoods": {
  6827. "post": {
  6828. "security": [
  6829. {
  6830. "ApiKeyAuth": []
  6831. }
  6832. ],
  6833. "produces": [
  6834. "application/json"
  6835. ],
  6836. "tags": [
  6837. "用户信息"
  6838. ],
  6839. "summary": "移除用户商品收藏信息",
  6840. "parameters": [
  6841. {
  6842. "type": "integer",
  6843. "description": "用户ID",
  6844. "name": "userID",
  6845. "in": "query",
  6846. "required": true
  6847. },
  6848. {
  6849. "type": "integer",
  6850. "description": "商品ID",
  6851. "name": "goodsID",
  6852. "in": "query",
  6853. "required": true
  6854. }
  6855. ],
  6856. "responses": {
  6857. "200": {
  6858. "description": "OK",
  6859. "schema": {
  6860. "$ref": "#/definitions/app.Response"
  6861. }
  6862. },
  6863. "500": {
  6864. "description": "Internal Server Error",
  6865. "schema": {
  6866. "$ref": "#/definitions/app.Response"
  6867. }
  6868. }
  6869. }
  6870. }
  6871. },
  6872. "/User/UpdateUserAccountStatus": {
  6873. "post": {
  6874. "security": [
  6875. {
  6876. "ApiKeyAuth": []
  6877. }
  6878. ],
  6879. "produces": [
  6880. "application/json"
  6881. ],
  6882. "tags": [
  6883. "用户信息"
  6884. ],
  6885. "summary": "更新用户状态",
  6886. "parameters": [
  6887. {
  6888. "type": "integer",
  6889. "description": "用户ID",
  6890. "name": "userID",
  6891. "in": "query",
  6892. "required": true
  6893. },
  6894. {
  6895. "type": "integer",
  6896. "description": "账户状态 - 4:正常 6:注销(停用)",
  6897. "name": "accountStatus",
  6898. "in": "query",
  6899. "required": true
  6900. }
  6901. ],
  6902. "responses": {
  6903. "200": {
  6904. "description": "OK",
  6905. "schema": {
  6906. "$ref": "#/definitions/app.Response"
  6907. }
  6908. },
  6909. "500": {
  6910. "description": "Internal Server Error",
  6911. "schema": {
  6912. "$ref": "#/definitions/app.Response"
  6913. }
  6914. }
  6915. }
  6916. }
  6917. },
  6918. "/WR/GetWRCategoryInfo": {
  6919. "get": {
  6920. "produces": [
  6921. "application/json"
  6922. ],
  6923. "tags": [
  6924. "仓单服务"
  6925. ],
  6926. "summary": "获取现货分类信息",
  6927. "responses": {
  6928. "200": {
  6929. "description": "OK",
  6930. "schema": {
  6931. "$ref": "#/definitions/models.WRCategoryTree"
  6932. }
  6933. },
  6934. "500": {
  6935. "description": "Internal Server Error",
  6936. "schema": {
  6937. "$ref": "#/definitions/app.Response"
  6938. }
  6939. }
  6940. }
  6941. }
  6942. },
  6943. "/WRTrade/GetAllDeliveryGoods": {
  6944. "get": {
  6945. "security": [
  6946. {
  6947. "ApiKeyAuth": []
  6948. },
  6949. {
  6950. "ApiKeyAuth": []
  6951. }
  6952. ],
  6953. "produces": [
  6954. "application/json",
  6955. "application/json"
  6956. ],
  6957. "tags": [
  6958. "仓单贸易",
  6959. "仓单贸易"
  6960. ],
  6961. "summary": "获取带仓单分类的种类信息",
  6962. "responses": {
  6963. "200": {
  6964. "description": "OK",
  6965. "schema": {
  6966. "$ref": "#/definitions/app.Response"
  6967. }
  6968. },
  6969. "500": {
  6970. "description": "Internal Server Error",
  6971. "schema": {
  6972. "$ref": "#/definitions/app.Response"
  6973. }
  6974. }
  6975. }
  6976. }
  6977. }
  6978. },
  6979. "definitions": {
  6980. "app.Response": {
  6981. "type": "object",
  6982. "properties": {
  6983. "code": {
  6984. "type": "integer"
  6985. },
  6986. "data": {
  6987. "type": "object"
  6988. },
  6989. "msg": {
  6990. "type": "string"
  6991. },
  6992. "page": {
  6993. "description": "页码",
  6994. "type": "integer"
  6995. },
  6996. "pagesize": {
  6997. "description": "每页条数",
  6998. "type": "integer"
  6999. },
  7000. "total": {
  7001. "description": "总条数",
  7002. "type": "integer"
  7003. }
  7004. }
  7005. },
  7006. "common.QueryImageConfigsRsp": {
  7007. "type": "object",
  7008. "required": [
  7009. "configid"
  7010. ],
  7011. "properties": {
  7012. "areauserid": {
  7013. "description": "所属机构ID",
  7014. "type": "integer"
  7015. },
  7016. "configid": {
  7017. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  7018. "type": "integer"
  7019. },
  7020. "createdate": {
  7021. "description": "创建时间",
  7022. "type": "string"
  7023. },
  7024. "creatorid": {
  7025. "description": "创建人",
  7026. "type": "integer"
  7027. },
  7028. "imagepath": {
  7029. "description": "图片",
  7030. "type": "string"
  7031. },
  7032. "imagetype": {
  7033. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  7034. "type": "integer"
  7035. },
  7036. "isshow": {
  7037. "description": "是否展示 - 0:不展示 1:展示",
  7038. "type": "integer"
  7039. },
  7040. "marketid": {
  7041. "description": "市场ID",
  7042. "type": "integer"
  7043. },
  7044. "modifierid": {
  7045. "description": "操作人",
  7046. "type": "integer"
  7047. },
  7048. "sort": {
  7049. "description": "排序",
  7050. "type": "integer"
  7051. },
  7052. "title": {
  7053. "description": "标题",
  7054. "type": "string"
  7055. },
  7056. "trademode": {
  7057. "description": "交易模式",
  7058. "type": "integer"
  7059. },
  7060. "updatedate": {
  7061. "description": "修改时间",
  7062. "type": "string"
  7063. },
  7064. "url": {
  7065. "description": "链接(地址或商品ID)",
  7066. "type": "string"
  7067. },
  7068. "urltype": {
  7069. "description": "链接类型 - 1:直接地址 2:商品ID",
  7070. "type": "integer"
  7071. }
  7072. }
  7073. },
  7074. "common.QueryNoticeRsp": {
  7075. "type": "object",
  7076. "required": [
  7077. "autoid"
  7078. ],
  7079. "properties": {
  7080. "auditoruserid": {
  7081. "description": "审核人",
  7082. "type": "integer"
  7083. },
  7084. "auditremark": {
  7085. "description": "审核备注",
  7086. "type": "string"
  7087. },
  7088. "audittime": {
  7089. "description": "审核日期",
  7090. "type": "string"
  7091. },
  7092. "autoid": {
  7093. "description": "自增ID",
  7094. "type": "integer"
  7095. },
  7096. "content": {
  7097. "description": "内容",
  7098. "type": "string"
  7099. },
  7100. "createtime": {
  7101. "description": "创建时间",
  7102. "type": "string"
  7103. },
  7104. "creatorid": {
  7105. "description": "建仓人",
  7106. "type": "integer"
  7107. },
  7108. "endtime": {
  7109. "description": "结束时间",
  7110. "type": "string"
  7111. },
  7112. "istop": {
  7113. "description": "是否置顶 - 0:不置顶 1:置顶",
  7114. "type": "integer"
  7115. },
  7116. "msgiconurl": {
  7117. "description": "消息图标Url",
  7118. "type": "string"
  7119. },
  7120. "msgtype": {
  7121. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  7122. "type": "integer"
  7123. },
  7124. "publisher": {
  7125. "description": "消息发布者",
  7126. "type": "string"
  7127. },
  7128. "readed": {
  7129. "description": "是否已读",
  7130. "type": "boolean"
  7131. },
  7132. "scheduletime": {
  7133. "description": "计划发送时间",
  7134. "type": "string"
  7135. },
  7136. "sendtype": {
  7137. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  7138. "type": "integer"
  7139. },
  7140. "sentstatus": {
  7141. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  7142. "type": "integer"
  7143. },
  7144. "title": {
  7145. "description": "标题",
  7146. "type": "string"
  7147. },
  7148. "userid": {
  7149. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  7150. "type": "integer"
  7151. }
  7152. }
  7153. },
  7154. "common.QueryProvincesAndCitiesRsp": {
  7155. "type": "object",
  7156. "properties": {
  7157. "cities": {
  7158. "description": "市",
  7159. "type": "array",
  7160. "items": {
  7161. "$ref": "#/definitions/models.Division"
  7162. }
  7163. },
  7164. "province": {
  7165. "description": "省",
  7166. "$ref": "#/definitions/models.Division"
  7167. }
  7168. }
  7169. },
  7170. "common.QueryTableDefineRsp": {
  7171. "type": "object",
  7172. "required": [
  7173. "tablekey"
  7174. ],
  7175. "properties": {
  7176. "columns": {
  7177. "description": "列头信息数组",
  7178. "type": "array",
  7179. "items": {
  7180. "$ref": "#/definitions/models.Tablecolumnconfig"
  7181. }
  7182. },
  7183. "remark": {
  7184. "description": "Remark",
  7185. "type": "string"
  7186. },
  7187. "tabelmenu": {
  7188. "description": "列表菜单",
  7189. "type": "string"
  7190. },
  7191. "tablekey": {
  7192. "description": "列表Key",
  7193. "type": "string"
  7194. },
  7195. "tablename": {
  7196. "description": "列表名称",
  7197. "type": "string"
  7198. },
  7199. "tabletype": {
  7200. "description": "列表类型 - 1:管理端 2:终端",
  7201. "type": "integer"
  7202. }
  7203. }
  7204. },
  7205. "common.QueryTraderMenuRsp": {
  7206. "type": "object",
  7207. "properties": {
  7208. "OperationMenu": {
  7209. "description": "功能菜单",
  7210. "type": "array",
  7211. "items": {
  7212. "$ref": "#/definitions/models.OperationPrimaryMenu"
  7213. }
  7214. },
  7215. "QuoteMenu": {
  7216. "description": "报价牌分类菜单",
  7217. "type": "array",
  7218. "items": {
  7219. "$ref": "#/definitions/models.QuotePrimaryMenu"
  7220. }
  7221. }
  7222. }
  7223. },
  7224. "cptrade.Cptradepositioncancel": {
  7225. "type": "object",
  7226. "required": [
  7227. "cancelid"
  7228. ],
  7229. "properties": {
  7230. "accountid": {
  7231. "description": "申请人账户ID",
  7232. "type": "integer"
  7233. },
  7234. "applystatus": {
  7235. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7236. "type": "integer"
  7237. },
  7238. "applytime": {
  7239. "description": "申请时间",
  7240. "type": "string"
  7241. },
  7242. "cancelid": {
  7243. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  7244. "type": "integer"
  7245. },
  7246. "cancelqty": {
  7247. "description": "注销数量",
  7248. "type": "integer"
  7249. },
  7250. "createtime": {
  7251. "description": "创建时间",
  7252. "type": "string"
  7253. },
  7254. "creatorid": {
  7255. "description": "创建人ID",
  7256. "type": "integer"
  7257. },
  7258. "creatorname": {
  7259. "description": "创建人",
  7260. "type": "string"
  7261. },
  7262. "goodscode": {
  7263. "description": "订单商品代码",
  7264. "type": "string"
  7265. },
  7266. "goodsid": {
  7267. "description": "商品ID",
  7268. "type": "integer"
  7269. },
  7270. "goodsname": {
  7271. "description": "订单商品名称",
  7272. "type": "string"
  7273. },
  7274. "goodunit": {
  7275. "description": "报价单位",
  7276. "type": "string"
  7277. },
  7278. "handlestatus": {
  7279. "description": "处理状态",
  7280. "type": "integer"
  7281. },
  7282. "marketid": {
  7283. "description": "市场ID",
  7284. "type": "integer"
  7285. },
  7286. "marketname": {
  7287. "description": "市场名称",
  7288. "type": "string"
  7289. },
  7290. "tradedate": {
  7291. "description": "交易日(yyyyMMdd)",
  7292. "type": "string"
  7293. },
  7294. "userid": {
  7295. "description": "申请人ID",
  7296. "type": "integer"
  7297. }
  7298. }
  7299. },
  7300. "cptrade.Cptradepresaleapply": {
  7301. "type": "object",
  7302. "required": [
  7303. "applyid"
  7304. ],
  7305. "properties": {
  7306. "accountid": {
  7307. "description": "申请人账户ID",
  7308. "type": "integer"
  7309. },
  7310. "applyid": {
  7311. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  7312. "type": "integer"
  7313. },
  7314. "applyremark": {
  7315. "description": "申请备注",
  7316. "type": "string"
  7317. },
  7318. "applystatus": {
  7319. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7320. "type": "integer"
  7321. },
  7322. "applytime": {
  7323. "description": "申请时间",
  7324. "type": "string"
  7325. },
  7326. "attachmenturl": {
  7327. "description": "附件地址",
  7328. "type": "string"
  7329. },
  7330. "endtime": {
  7331. "description": "预售结束时间",
  7332. "type": "string"
  7333. },
  7334. "goodscode": {
  7335. "description": "商品代码",
  7336. "type": "string"
  7337. },
  7338. "goodsid": {
  7339. "description": "商品ID",
  7340. "type": "integer"
  7341. },
  7342. "goodsname": {
  7343. "description": "商品名称",
  7344. "type": "string"
  7345. },
  7346. "goodunit": {
  7347. "description": "报价单位",
  7348. "type": "string"
  7349. },
  7350. "handlestatus": {
  7351. "description": "处理状态",
  7352. "type": "integer"
  7353. },
  7354. "marketid": {
  7355. "description": "预售市场ID",
  7356. "type": "integer"
  7357. },
  7358. "marketname": {
  7359. "description": "预售市场名称",
  7360. "type": "string"
  7361. },
  7362. "presaleqty": {
  7363. "description": "预售数量",
  7364. "type": "integer"
  7365. },
  7366. "relatedgoodscode": {
  7367. "description": "关联交易合约代码",
  7368. "type": "string"
  7369. },
  7370. "relatedgoodsid": {
  7371. "description": "关联交易合约ID",
  7372. "type": "integer"
  7373. },
  7374. "relatedgoodsname": {
  7375. "description": "关联交易合约名称",
  7376. "type": "string"
  7377. },
  7378. "starttime": {
  7379. "description": "预售开始时间",
  7380. "type": "string"
  7381. },
  7382. "tradedate": {
  7383. "description": "交易日(yyyyMMdd)",
  7384. "type": "string"
  7385. },
  7386. "trademode": {
  7387. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  7388. "type": "integer"
  7389. },
  7390. "userid": {
  7391. "description": "申请人ID",
  7392. "type": "integer"
  7393. }
  7394. }
  7395. },
  7396. "cptrade.Cptradeusergoodsdata": {
  7397. "type": "object",
  7398. "required": [
  7399. "accountid",
  7400. "goodsid"
  7401. ],
  7402. "properties": {
  7403. "EnabledQty": {
  7404. "description": "可用量",
  7405. "type": "integer"
  7406. },
  7407. "GoodsCode": {
  7408. "description": "订单商品代码",
  7409. "type": "string"
  7410. },
  7411. "GoodsName": {
  7412. "description": "订单商品名称",
  7413. "type": "string"
  7414. },
  7415. "WRStandardCode": {
  7416. "description": "仓单标准代码",
  7417. "type": "string"
  7418. },
  7419. "WRStandardName": {
  7420. "description": "仓单标准名称",
  7421. "type": "string"
  7422. },
  7423. "accountid": {
  7424. "description": "账户ID",
  7425. "type": "integer"
  7426. },
  7427. "cancelqty": {
  7428. "description": "注销量",
  7429. "type": "integer"
  7430. },
  7431. "curpresaleqty": {
  7432. "description": "当前预售量",
  7433. "type": "integer"
  7434. },
  7435. "deliveryqty": {
  7436. "description": "交割量",
  7437. "type": "integer"
  7438. },
  7439. "freezeamount": {
  7440. "description": "冻结金额",
  7441. "type": "number"
  7442. },
  7443. "goodsid": {
  7444. "description": "商品ID",
  7445. "type": "integer"
  7446. },
  7447. "goodunit": {
  7448. "description": "报价单位",
  7449. "type": "string"
  7450. },
  7451. "hasspotfreeze": {
  7452. "description": "是否有现货冻结 - 0:否 1:有",
  7453. "type": "integer"
  7454. },
  7455. "inqty": {
  7456. "description": "转入量(总数量)",
  7457. "type": "integer"
  7458. },
  7459. "marketid": {
  7460. "description": "市场ID",
  7461. "type": "integer"
  7462. },
  7463. "presaledamount": {
  7464. "description": "已预售总金额",
  7465. "type": "integer"
  7466. },
  7467. "presaledqty": {
  7468. "description": "已预售量",
  7469. "type": "integer"
  7470. },
  7471. "userid": {
  7472. "description": "用户ID",
  7473. "type": "integer"
  7474. },
  7475. "wrstandardid": {
  7476. "description": "仓单标准ID",
  7477. "type": "integer"
  7478. }
  7479. }
  7480. },
  7481. "cptrade.QueryCPTradeMyBidRsp": {
  7482. "type": "object",
  7483. "required": [
  7484. "accountid",
  7485. "goodsid",
  7486. "marketid",
  7487. "orderid",
  7488. "orderqty",
  7489. "ordertime",
  7490. "tradeprice",
  7491. "tradeqty"
  7492. ],
  7493. "properties": {
  7494. "accountid": {
  7495. "description": "账户ID[报价币种]",
  7496. "type": "integer"
  7497. },
  7498. "goodsid": {
  7499. "description": "商品ID",
  7500. "type": "integer"
  7501. },
  7502. "goodunit": {
  7503. "description": "报价单位",
  7504. "type": "string"
  7505. },
  7506. "marketid": {
  7507. "description": "市场ID",
  7508. "type": "integer"
  7509. },
  7510. "orderid": {
  7511. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7512. "type": "integer"
  7513. },
  7514. "orderprice": {
  7515. "description": "委托价格",
  7516. "type": "number"
  7517. },
  7518. "orderqty": {
  7519. "description": "委托数量",
  7520. "type": "integer"
  7521. },
  7522. "ordertime": {
  7523. "description": "委托时间",
  7524. "type": "string"
  7525. },
  7526. "ordertotalprice": {
  7527. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  7528. "type": "number"
  7529. },
  7530. "ordertotalweight": {
  7531. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  7532. "type": "integer"
  7533. },
  7534. "totaltotalprice": {
  7535. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  7536. "type": "number"
  7537. },
  7538. "tradeprice": {
  7539. "description": "成交价格",
  7540. "type": "number"
  7541. },
  7542. "tradeqty": {
  7543. "description": "成交数量",
  7544. "type": "integer"
  7545. }
  7546. }
  7547. },
  7548. "cptrade.QueryCPTradeOrderDetailRsq": {
  7549. "type": "object",
  7550. "required": [
  7551. "accountid",
  7552. "buildtype",
  7553. "buyorsell",
  7554. "goodsid",
  7555. "marketid",
  7556. "memberuserid",
  7557. "operatetype",
  7558. "orderqty",
  7559. "ordertime",
  7560. "pricemode",
  7561. "strorderid",
  7562. "tradedate",
  7563. "validtype"
  7564. ],
  7565. "properties": {
  7566. "accountid": {
  7567. "description": "账户ID[报价币种]",
  7568. "type": "integer"
  7569. },
  7570. "buildtype": {
  7571. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7572. "type": "integer"
  7573. },
  7574. "buyorsell": {
  7575. "description": "买卖 - 0:买 1:卖",
  7576. "type": "integer"
  7577. },
  7578. "cancelorderid": {
  7579. "description": "撤单单号(撤单时填写)",
  7580. "type": "integer"
  7581. },
  7582. "cancelqty": {
  7583. "description": "撤单数量",
  7584. "type": "integer"
  7585. },
  7586. "clientordertime": {
  7587. "description": "客户端委托时间",
  7588. "type": "string"
  7589. },
  7590. "clientticket": {
  7591. "description": "客户端流水号",
  7592. "type": "string"
  7593. },
  7594. "clienttype": {
  7595. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7596. "type": "integer"
  7597. },
  7598. "closeexchagechargevalue": {
  7599. "description": "平仓交易所手续费设置值",
  7600. "type": "number"
  7601. },
  7602. "closefeealgorithm": {
  7603. "description": "平仓手续费收取方式 1:比率 2:固定",
  7604. "type": "integer"
  7605. },
  7606. "closefreezecharge": {
  7607. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7608. "type": "number"
  7609. },
  7610. "closememberchargevalue": {
  7611. "description": "平仓会员手续费设置值",
  7612. "type": "number"
  7613. },
  7614. "closeqty": {
  7615. "description": "平仓数量(先建后平操作 需要记录)",
  7616. "type": "integer"
  7617. },
  7618. "closetradeqty": {
  7619. "description": "平仓成交数量(先建后平操作,需要记录)",
  7620. "type": "integer"
  7621. },
  7622. "closeunfreezecharge": {
  7623. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7624. "type": "number"
  7625. },
  7626. "delistingtype": {
  7627. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7628. "type": "integer"
  7629. },
  7630. "freezecharge": {
  7631. "description": "冻结手续费",
  7632. "type": "number"
  7633. },
  7634. "freezemargin": {
  7635. "description": "冻结保证金(冻结交易金额)",
  7636. "type": "number"
  7637. },
  7638. "gcaccountid": {
  7639. "description": "账户ID[合约币种]",
  7640. "type": "integer"
  7641. },
  7642. "goodsid": {
  7643. "description": "商品ID",
  7644. "type": "integer"
  7645. },
  7646. "isconfirmexercise": {
  7647. "description": "是否确认行权- 0:否 1:是",
  7648. "type": "integer"
  7649. },
  7650. "ispreexercise": {
  7651. "description": "是否预申报- 0:否 1:是",
  7652. "type": "integer"
  7653. },
  7654. "listingselecttype": {
  7655. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7656. "type": "integer"
  7657. },
  7658. "marginalgorithm": {
  7659. "description": "保证金收取方式 1:比率 2:固定",
  7660. "type": "integer"
  7661. },
  7662. "marginvalue": {
  7663. "description": "即市保证金设置值",
  7664. "type": "number"
  7665. },
  7666. "marketid": {
  7667. "description": "市场ID",
  7668. "type": "integer"
  7669. },
  7670. "marketmaxsub": {
  7671. "description": "市价最大偏移范围",
  7672. "type": "number"
  7673. },
  7674. "memberuserid": {
  7675. "description": "所属会员UserID",
  7676. "type": "integer"
  7677. },
  7678. "openexchagechargevalue": {
  7679. "description": "建仓交易所手续费设置值",
  7680. "type": "number"
  7681. },
  7682. "openfeealgorithm": {
  7683. "description": "建仓手续费收取方式 1:比率 2:固定",
  7684. "type": "integer"
  7685. },
  7686. "openfreezecharge": {
  7687. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7688. "type": "number"
  7689. },
  7690. "openmemberchargevalue": {
  7691. "description": "建仓会员手续费设置值",
  7692. "type": "number"
  7693. },
  7694. "openqty": {
  7695. "description": "开仓数量(先建后平操作,需要记录)",
  7696. "type": "integer"
  7697. },
  7698. "opentradeqty": {
  7699. "description": "开仓成交数量(先建后平操作,需要记录)",
  7700. "type": "integer"
  7701. },
  7702. "openunfreezecharge": {
  7703. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7704. "type": "number"
  7705. },
  7706. "operatetype": {
  7707. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7708. "type": "integer"
  7709. },
  7710. "operatorid": {
  7711. "description": "登录账号(LoginID)",
  7712. "type": "integer"
  7713. },
  7714. "optiontype": {
  7715. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7716. "type": "integer"
  7717. },
  7718. "orderprice": {
  7719. "description": "委托价格",
  7720. "type": "number"
  7721. },
  7722. "orderqty": {
  7723. "description": "委托数量",
  7724. "type": "integer"
  7725. },
  7726. "ordersrc": {
  7727. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7728. "type": "integer"
  7729. },
  7730. "orderstatus": {
  7731. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7732. "type": "integer"
  7733. },
  7734. "ordertime": {
  7735. "description": "委托时间",
  7736. "type": "string"
  7737. },
  7738. "preexerciseprice": {
  7739. "description": "预申报价格",
  7740. "type": "number"
  7741. },
  7742. "premium": {
  7743. "description": "权利金",
  7744. "type": "number"
  7745. },
  7746. "preorderid": {
  7747. "description": "关联预埋单号(止盈止损单时填写)",
  7748. "type": "integer"
  7749. },
  7750. "pricemode": {
  7751. "description": "取价方式 - 1:市价 2: 限价",
  7752. "type": "integer"
  7753. },
  7754. "quoteid": {
  7755. "description": "报价单ID",
  7756. "type": "integer"
  7757. },
  7758. "relatedid": {
  7759. "description": "关联单号(交割单)",
  7760. "type": "integer"
  7761. },
  7762. "retcode": {
  7763. "description": "错误代码",
  7764. "type": "integer"
  7765. },
  7766. "sessionid": {
  7767. "description": "会话ID",
  7768. "type": "integer"
  7769. },
  7770. "strorderid": {
  7771. "description": "委托单号",
  7772. "type": "string"
  7773. },
  7774. "tradedate": {
  7775. "description": "交易日(yyyyMMdd)",
  7776. "type": "string"
  7777. },
  7778. "tradeproperty": {
  7779. "description": "交易属性",
  7780. "type": "integer"
  7781. },
  7782. "tradeqty": {
  7783. "description": "成交数量",
  7784. "type": "integer"
  7785. },
  7786. "unfreezecharge": {
  7787. "description": "解冻手续费",
  7788. "type": "number"
  7789. },
  7790. "unfreezemargin": {
  7791. "description": "解冻保证金",
  7792. "type": "number"
  7793. },
  7794. "updatetime": {
  7795. "description": "更新时间",
  7796. "type": "string"
  7797. },
  7798. "uuid": {
  7799. "description": "发起端唯一id",
  7800. "type": "string"
  7801. },
  7802. "validtime": {
  7803. "description": "有效期限",
  7804. "type": "string"
  7805. },
  7806. "validtype": {
  7807. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7808. "type": "integer"
  7809. },
  7810. "volumetype": {
  7811. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7812. "type": "integer"
  7813. }
  7814. }
  7815. },
  7816. "cptrade.QueryMyCPTradeGoodsRsp": {
  7817. "type": "object",
  7818. "required": [
  7819. "goodscode",
  7820. "goodsid",
  7821. "goodsname",
  7822. "marketid",
  7823. "relatedgoodscode",
  7824. "relatedgoodsname"
  7825. ],
  7826. "properties": {
  7827. "accountid": {
  7828. "description": "卖方账户ID",
  7829. "type": "integer"
  7830. },
  7831. "agreeunit": {
  7832. "description": "合约单位",
  7833. "type": "number"
  7834. },
  7835. "applyid": {
  7836. "description": "关联申请ID",
  7837. "type": "integer"
  7838. },
  7839. "attachmenturl": {
  7840. "description": "附件地址",
  7841. "type": "string"
  7842. },
  7843. "createtime": {
  7844. "description": "创建时间",
  7845. "type": "string"
  7846. },
  7847. "currencyid": {
  7848. "description": "报价货币ID",
  7849. "type": "integer"
  7850. },
  7851. "decimalplace": {
  7852. "description": "报价小数位",
  7853. "type": "integer"
  7854. },
  7855. "endtime": {
  7856. "description": "预售结束时间",
  7857. "type": "string"
  7858. },
  7859. "floorprice": {
  7860. "description": "底价[大宗式竞拍]",
  7861. "type": "number"
  7862. },
  7863. "goodscode": {
  7864. "description": "商品代码(预售)",
  7865. "type": "string"
  7866. },
  7867. "goodsdetail": {
  7868. "description": "详情[大宗]",
  7869. "type": "string"
  7870. },
  7871. "goodsid": {
  7872. "description": "商品ID(自增ID SEQ_GOODS)",
  7873. "type": "integer"
  7874. },
  7875. "goodsname": {
  7876. "description": "商品名称(预售)",
  7877. "type": "string"
  7878. },
  7879. "goodunit": {
  7880. "description": "报价单位",
  7881. "type": "string"
  7882. },
  7883. "goodunitid": {
  7884. "description": "报价单位ID",
  7885. "type": "integer"
  7886. },
  7887. "marketid": {
  7888. "description": "所属市场ID",
  7889. "type": "integer"
  7890. },
  7891. "marketname": {
  7892. "description": "预售市场名称",
  7893. "type": "string"
  7894. },
  7895. "presaledamount": {
  7896. "description": "已预售总金额(预售结束时更新)",
  7897. "type": "number"
  7898. },
  7899. "presaledqty": {
  7900. "description": "已预售量(预售结束时更新)",
  7901. "type": "integer"
  7902. },
  7903. "presalemode": {
  7904. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7905. "type": "integer"
  7906. },
  7907. "presaleqty": {
  7908. "description": "预售数量",
  7909. "type": "integer"
  7910. },
  7911. "refprice": {
  7912. "description": "参考价格[一口价]",
  7913. "type": "number"
  7914. },
  7915. "relatedgoodscode": {
  7916. "description": "商品代码(订单)",
  7917. "type": "string"
  7918. },
  7919. "relatedgoodsid": {
  7920. "description": "关联交易合约ID",
  7921. "type": "integer"
  7922. },
  7923. "relatedgoodsname": {
  7924. "description": "商品名称(订单)",
  7925. "type": "string"
  7926. },
  7927. "relatedmarketid": {
  7928. "description": "关联交易合约市场ID",
  7929. "type": "integer"
  7930. },
  7931. "sellstatus": {
  7932. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7933. "type": "integer"
  7934. },
  7935. "startprice": {
  7936. "description": "起拍价[大宗式竞拍]",
  7937. "type": "number"
  7938. },
  7939. "starttime": {
  7940. "description": "预售开始时间",
  7941. "type": "string"
  7942. },
  7943. "tradedate": {
  7944. "description": "交易日(yyyyMMdd)",
  7945. "type": "string"
  7946. },
  7947. "tradeprice": {
  7948. "description": "成交价[大宗]",
  7949. "type": "number"
  7950. },
  7951. "userid": {
  7952. "description": "卖方用户ID",
  7953. "type": "integer"
  7954. }
  7955. }
  7956. },
  7957. "cptrade.QueryPresaleGoodsExRsp": {
  7958. "type": "object",
  7959. "required": [
  7960. "goodsid"
  7961. ],
  7962. "properties": {
  7963. "attachmenturl": {
  7964. "description": "附件地址",
  7965. "type": "string"
  7966. },
  7967. "createtime": {
  7968. "description": "创建时间",
  7969. "type": "string"
  7970. },
  7971. "endtime": {
  7972. "description": "预售结束时间",
  7973. "type": "string"
  7974. },
  7975. "floorprice": {
  7976. "description": "底价[大宗式竞拍]",
  7977. "type": "number"
  7978. },
  7979. "goodsdetail": {
  7980. "description": "详情[大宗]",
  7981. "type": "string"
  7982. },
  7983. "goodsid": {
  7984. "description": "商品ID(预售)",
  7985. "type": "integer"
  7986. },
  7987. "goodunit": {
  7988. "description": "报价单位",
  7989. "type": "string"
  7990. },
  7991. "marketid": {
  7992. "description": "预售市场ID - 根据预售模式选择市场",
  7993. "type": "integer"
  7994. },
  7995. "presaledamount": {
  7996. "description": "已预售总金额(预售结束时更新)",
  7997. "type": "number"
  7998. },
  7999. "presaledqty": {
  8000. "description": "已预售量(预售结束时更新)",
  8001. "type": "integer"
  8002. },
  8003. "presalemode": {
  8004. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8005. "type": "integer"
  8006. },
  8007. "presaleqty": {
  8008. "description": "预售数量",
  8009. "type": "integer"
  8010. },
  8011. "refprice": {
  8012. "description": "参考价格[一口价]",
  8013. "type": "number"
  8014. },
  8015. "relatedgoodsid": {
  8016. "description": "关联交易合约ID",
  8017. "type": "integer"
  8018. },
  8019. "relatedmarketid": {
  8020. "description": "关联交易合约市场ID",
  8021. "type": "integer"
  8022. },
  8023. "sellstatus": {
  8024. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8025. "type": "integer"
  8026. },
  8027. "startprice": {
  8028. "description": "起拍价[大宗式竞拍]",
  8029. "type": "number"
  8030. },
  8031. "starttime": {
  8032. "description": "预售开始时间",
  8033. "type": "string"
  8034. },
  8035. "tradedate": {
  8036. "description": "交易日(yyyyMMdd)",
  8037. "type": "string"
  8038. },
  8039. "tradeprice": {
  8040. "description": "成交价[大宗]",
  8041. "type": "number"
  8042. }
  8043. }
  8044. },
  8045. "delivery.QueryDeliveryRelationRsp": {
  8046. "type": "object",
  8047. "required": [
  8048. "begindate",
  8049. "enddate",
  8050. "goodsid",
  8051. "mindeliveryqty",
  8052. "xdeliveryratio"
  8053. ],
  8054. "properties": {
  8055. "begindate": {
  8056. "description": "起始日期(yyyyMMdd)",
  8057. "type": "string"
  8058. },
  8059. "buytemplateid": {
  8060. "description": "买履约计划模板ID",
  8061. "type": "integer"
  8062. },
  8063. "deliverygoodscode": {
  8064. "description": "品种代码",
  8065. "type": "string"
  8066. },
  8067. "deliverygoodsid": {
  8068. "description": "交割商品",
  8069. "type": "integer"
  8070. },
  8071. "deliverygoodsname": {
  8072. "description": "品种名称",
  8073. "type": "string"
  8074. },
  8075. "deliverymode": {
  8076. "description": "交割方式 - 1:点选式 2:申报式",
  8077. "type": "integer"
  8078. },
  8079. "deliverypricerule": {
  8080. "description": "交割价规则- 1:行情价 2:建仓价",
  8081. "type": "integer"
  8082. },
  8083. "deliverytype": {
  8084. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  8085. "type": "integer"
  8086. },
  8087. "enddate": {
  8088. "description": "结束日期(yyyyMMdd)",
  8089. "type": "string"
  8090. },
  8091. "goodscode": {
  8092. "description": "商品代码",
  8093. "type": "string"
  8094. },
  8095. "goodsid": {
  8096. "description": "交易合约ID",
  8097. "type": "integer"
  8098. },
  8099. "goodsname": {
  8100. "description": "商品名称",
  8101. "type": "string"
  8102. },
  8103. "marketid": {
  8104. "description": "市场ID",
  8105. "type": "integer"
  8106. },
  8107. "mindeliveryqty": {
  8108. "description": "最小交割系数(K)",
  8109. "type": "integer"
  8110. },
  8111. "p2deliveryprice": {
  8112. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  8113. "type": "number"
  8114. },
  8115. "p2deliveryratio": {
  8116. "description": "P2合约系数(p)",
  8117. "type": "integer"
  8118. },
  8119. "p2goodsid": {
  8120. "description": "P2合约ID",
  8121. "type": "integer"
  8122. },
  8123. "p2pricemode": {
  8124. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  8125. "type": "integer"
  8126. },
  8127. "pdeliveryprice": {
  8128. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  8129. "type": "number"
  8130. },
  8131. "pdeliveryratio": {
  8132. "description": "P合约系数(n)",
  8133. "type": "integer"
  8134. },
  8135. "pgoodsid": {
  8136. "description": "P合约ID",
  8137. "type": "integer"
  8138. },
  8139. "ppricemode": {
  8140. "description": "P合约价格方式 - 1:商品价 2:固定值",
  8141. "type": "integer"
  8142. },
  8143. "rratio": {
  8144. "description": "兑换系数(R)",
  8145. "type": "integer"
  8146. },
  8147. "rratio1": {
  8148. "description": "兑换系数(交易合约)(R1)",
  8149. "type": "integer"
  8150. },
  8151. "rratio2": {
  8152. "description": "兑换系数(仓单标准)(R2)",
  8153. "type": "integer"
  8154. },
  8155. "selltemplateid": {
  8156. "description": "卖履约计划模板ID",
  8157. "type": "integer"
  8158. },
  8159. "wrstandardid": {
  8160. "description": "仓单标准ID",
  8161. "type": "integer"
  8162. },
  8163. "xdeliveryratio": {
  8164. "description": "交易合约系数(m)",
  8165. "type": "integer"
  8166. }
  8167. }
  8168. },
  8169. "ermcp.ExposureDetailRsp": {
  8170. "type": "object",
  8171. "properties": {
  8172. "areauserid": {
  8173. "description": "机构ID",
  8174. "type": "integer"
  8175. },
  8176. "changeQty": {
  8177. "description": "套保变动量",
  8178. "type": "number"
  8179. },
  8180. "contracttype": {
  8181. "description": "现货合同类型 - 1:采购 -1:销售",
  8182. "type": "integer"
  8183. },
  8184. "convertfactor": {
  8185. "description": "标仓系数",
  8186. "type": "number"
  8187. },
  8188. "convertratio": {
  8189. "description": "套保系数",
  8190. "type": "number"
  8191. },
  8192. "createtime": {
  8193. "description": "时间",
  8194. "type": "string"
  8195. },
  8196. "enumdicname": {
  8197. "description": "现货商品单位名称",
  8198. "type": "string"
  8199. },
  8200. "logtype": {
  8201. "description": "类型 - 1:套保计划 2:现货合同",
  8202. "type": "integer"
  8203. },
  8204. "middlegoodsId": {
  8205. "description": "套保商品id",
  8206. "type": "integer"
  8207. },
  8208. "middlegoodscode": {
  8209. "description": "套保商品代码",
  8210. "type": "string"
  8211. },
  8212. "middlegoodsname": {
  8213. "description": "套保商品名称",
  8214. "type": "string"
  8215. },
  8216. "qty": {
  8217. "description": "数量",
  8218. "type": "number"
  8219. },
  8220. "relateNo": {
  8221. "description": "现货合同/套保计划编号",
  8222. "type": "string"
  8223. },
  8224. "wrstandardcode": {
  8225. "description": "现货商品代码",
  8226. "type": "string"
  8227. },
  8228. "wrstandardid": {
  8229. "description": "现货商品ID",
  8230. "type": "integer"
  8231. },
  8232. "wrstandardname": {
  8233. "description": "现货商品名称",
  8234. "type": "string"
  8235. }
  8236. }
  8237. },
  8238. "ermcp.ExposureHedgePosDetailRsp": {
  8239. "type": "object",
  8240. "properties": {
  8241. "buyorsell": {
  8242. "description": "买卖方向 0-买 1-卖",
  8243. "type": "integer"
  8244. },
  8245. "channelbuildtype": {
  8246. "description": "开平方向 1-建仓 2-平仓",
  8247. "type": "integer"
  8248. },
  8249. "goodscode": {
  8250. "description": "商品代码",
  8251. "type": "string"
  8252. },
  8253. "goodsname": {
  8254. "description": "商品名称",
  8255. "type": "string"
  8256. },
  8257. "hedgegoodsid": {
  8258. "description": "商品id",
  8259. "type": "integer"
  8260. },
  8261. "tradeqty": {
  8262. "description": "数量(成交数量)",
  8263. "type": "integer"
  8264. },
  8265. "tradetime": {
  8266. "description": "时间(成交时间)",
  8267. "type": "string"
  8268. }
  8269. }
  8270. },
  8271. "ermcp.ExposureHedgePositionRsp": {
  8272. "type": "object",
  8273. "properties": {
  8274. "accountid": {
  8275. "description": "资金账号[外部母账户]",
  8276. "type": "integer"
  8277. },
  8278. "curbuyposition": {
  8279. "description": "期末买头寸",
  8280. "type": "integer"
  8281. },
  8282. "cursellposition": {
  8283. "description": "期末卖头寸",
  8284. "type": "integer"
  8285. },
  8286. "curtdbuyposition": {
  8287. "description": "期末今日买头寸",
  8288. "type": "integer"
  8289. },
  8290. "curtdsellposition": {
  8291. "description": "期末今日卖头寸",
  8292. "type": "integer"
  8293. },
  8294. "curydbuyposition": {
  8295. "description": "期末上日买头寸",
  8296. "type": "integer"
  8297. },
  8298. "curydsellposition": {
  8299. "description": "期末上日卖头寸",
  8300. "type": "integer"
  8301. },
  8302. "decreaseqty": {
  8303. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  8304. "type": "integer"
  8305. },
  8306. "fretdbuyposition": {
  8307. "description": "冻结今日买头寸",
  8308. "type": "integer"
  8309. },
  8310. "fretdsellposition": {
  8311. "description": "冻结今日卖头寸",
  8312. "type": "integer"
  8313. },
  8314. "freydbuyposition": {
  8315. "description": "冻结上日买头寸",
  8316. "type": "integer"
  8317. },
  8318. "freydsellposition": {
  8319. "description": "冻结上日卖头寸",
  8320. "type": "integer"
  8321. },
  8322. "goodscode": {
  8323. "description": "商品代码",
  8324. "type": "string"
  8325. },
  8326. "goodsid": {
  8327. "description": "商品id",
  8328. "type": "integer"
  8329. },
  8330. "goodsname": {
  8331. "description": "商品名称",
  8332. "type": "string"
  8333. },
  8334. "hedgeaccountcode": {
  8335. "description": "对冲账号",
  8336. "type": "string"
  8337. },
  8338. "hedgegoodsid": {
  8339. "description": "对冲合约ID",
  8340. "type": "integer"
  8341. },
  8342. "increaseqty": {
  8343. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  8344. "type": "integer"
  8345. },
  8346. "marketid": {
  8347. "description": "市场ID",
  8348. "type": "integer"
  8349. },
  8350. "relateduserid": {
  8351. "description": "关联用户id",
  8352. "type": "integer"
  8353. },
  8354. "totalcurqty": {
  8355. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  8356. "type": "integer"
  8357. },
  8358. "totalydqty": {
  8359. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  8360. "type": "integer"
  8361. },
  8362. "tradedate": {
  8363. "description": "交易日(yyyyMMdd)",
  8364. "type": "string"
  8365. },
  8366. "ydbuyposition": {
  8367. "description": "期初买头寸",
  8368. "type": "integer"
  8369. },
  8370. "ydsellposition": {
  8371. "description": "期初卖头寸",
  8372. "type": "integer"
  8373. }
  8374. }
  8375. },
  8376. "ermcp.ExposureSpotDetailRsp": {
  8377. "type": "object",
  8378. "properties": {
  8379. "contracttype": {
  8380. "description": "合同类型 1-采购 -1-销售",
  8381. "type": "integer"
  8382. },
  8383. "createtime": {
  8384. "description": "创建时间",
  8385. "type": "string"
  8386. },
  8387. "enumdicname": {
  8388. "description": "现货商品单位名称",
  8389. "type": "string"
  8390. },
  8391. "logtype": {
  8392. "description": "记录类型 1-套保 2-现货合同",
  8393. "type": "integer"
  8394. },
  8395. "qty": {
  8396. "description": "数量",
  8397. "type": "number"
  8398. },
  8399. "recordname": {
  8400. "description": "类型名称",
  8401. "type": "string"
  8402. },
  8403. "relatedid": {
  8404. "description": "套保计划ID/现货合同ID",
  8405. "type": "string"
  8406. },
  8407. "relatedno": {
  8408. "description": "编号",
  8409. "type": "string"
  8410. },
  8411. "strtime": {
  8412. "description": "时间",
  8413. "type": "string"
  8414. },
  8415. "wrstandardcode": {
  8416. "description": "现货商品代码",
  8417. "type": "string"
  8418. },
  8419. "wrstandardname": {
  8420. "description": "现货商品名称",
  8421. "type": "string"
  8422. }
  8423. }
  8424. },
  8425. "ermcp.ExposureSpotRsp": {
  8426. "type": "object",
  8427. "properties": {
  8428. "areauserid": {
  8429. "description": "所属机构",
  8430. "type": "integer"
  8431. },
  8432. "decreaseqty": {
  8433. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  8434. "type": "number"
  8435. },
  8436. "increaseqty": {
  8437. "description": "增加数量=销售计划数量+采购已定价数量",
  8438. "type": "number"
  8439. },
  8440. "oritoalspotqty": {
  8441. "description": "昨日数量",
  8442. "type": "number"
  8443. },
  8444. "totalspotqty": {
  8445. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  8446. "type": "number"
  8447. },
  8448. "updatetime": {
  8449. "description": "更新时间",
  8450. "type": "string"
  8451. },
  8452. "wrstandardcode": {
  8453. "description": "现货品种代码",
  8454. "type": "string"
  8455. },
  8456. "wrstandardid": {
  8457. "description": "现货商品ID",
  8458. "type": "integer"
  8459. },
  8460. "wrstandardname": {
  8461. "description": "现货品种",
  8462. "type": "string"
  8463. }
  8464. }
  8465. },
  8466. "ermcp.HisExposureRsp": {
  8467. "type": "object",
  8468. "properties": {
  8469. "data": {
  8470. "description": "历史敞口",
  8471. "type": "array",
  8472. "items": {
  8473. "$ref": "#/definitions/models.ErmcpHisExposure"
  8474. }
  8475. },
  8476. "enumdicname": {
  8477. "description": "单位名称",
  8478. "type": "string"
  8479. },
  8480. "middlegoodscode": {
  8481. "description": "套保品种代码",
  8482. "type": "string"
  8483. },
  8484. "middlegoodsid": {
  8485. "description": "套保品种ID",
  8486. "type": "integer"
  8487. },
  8488. "middlegoodsname": {
  8489. "description": "套保品种名称",
  8490. "type": "string"
  8491. }
  8492. }
  8493. },
  8494. "ermcp.PendingAuditCntRsp": {
  8495. "type": "object",
  8496. "properties": {
  8497. "areastockqty": {
  8498. "description": "待审核数量: 库存申请",
  8499. "type": "integer"
  8500. },
  8501. "businessdjqty": {
  8502. "description": "待审核数量: 点价",
  8503. "type": "integer"
  8504. },
  8505. "businessfpqty": {
  8506. "description": "待审核数量: 发票",
  8507. "type": "integer"
  8508. },
  8509. "businessjsqty": {
  8510. "description": "待审核数量: 结算",
  8511. "type": "integer"
  8512. },
  8513. "businesskxqty": {
  8514. "description": "待审核数量: 款项",
  8515. "type": "integer"
  8516. },
  8517. "hedgeplanqty": {
  8518. "description": "待审核数量: 套保计划",
  8519. "type": "integer"
  8520. },
  8521. "spotcontractqty": {
  8522. "description": "待审核数量: 现货合同",
  8523. "type": "integer"
  8524. },
  8525. "userqty": {
  8526. "description": "待审核数量: 用户",
  8527. "type": "integer"
  8528. }
  8529. }
  8530. },
  8531. "ermcp.QryAreaStockApplyRsp": {
  8532. "type": "object",
  8533. "properties": {
  8534. "applyid": {
  8535. "description": "申请人",
  8536. "type": "integer"
  8537. },
  8538. "applyname": {
  8539. "description": "申请人名称",
  8540. "type": "string"
  8541. },
  8542. "applyremark": {
  8543. "description": "申请备注",
  8544. "type": "string"
  8545. },
  8546. "applysrc": {
  8547. "description": "申请来源 - 1:管理端 2:终端",
  8548. "type": "integer"
  8549. },
  8550. "applystatus": {
  8551. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8552. "type": "integer"
  8553. },
  8554. "applytime": {
  8555. "description": "申请时间",
  8556. "type": "string"
  8557. },
  8558. "auditid": {
  8559. "description": "审核人",
  8560. "type": "integer"
  8561. },
  8562. "auditname": {
  8563. "description": "审核人名称",
  8564. "type": "string"
  8565. },
  8566. "auditremark": {
  8567. "description": "审核备注",
  8568. "type": "string"
  8569. },
  8570. "auditsrc": {
  8571. "description": "审核来源 - 1:管理端 2:终端",
  8572. "type": "integer"
  8573. },
  8574. "audittime": {
  8575. "description": "审核时间",
  8576. "type": "string"
  8577. },
  8578. "audittradedate": {
  8579. "description": "审核交易日(yyyyMMdd)",
  8580. "type": "string"
  8581. },
  8582. "brandname": {
  8583. "description": "品牌名称",
  8584. "type": "string"
  8585. },
  8586. "buyuserid": {
  8587. "description": "采购方userid",
  8588. "type": "integer"
  8589. },
  8590. "buyusername": {
  8591. "description": "采购方名称",
  8592. "type": "string"
  8593. },
  8594. "contractno": {
  8595. "description": "合同编号",
  8596. "type": "string"
  8597. },
  8598. "contractqty": {
  8599. "description": "合同量",
  8600. "type": "number"
  8601. },
  8602. "contracttype": {
  8603. "description": "现货合同类型 - 1:采购 -1:销售",
  8604. "type": "integer"
  8605. },
  8606. "deliverygoodsid": {
  8607. "description": "现货品种ID",
  8608. "type": "integer"
  8609. },
  8610. "enumdicname": {
  8611. "description": "现货商品单位名称",
  8612. "type": "string"
  8613. },
  8614. "inoutapplyid": {
  8615. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  8616. "type": "string"
  8617. },
  8618. "inouttype": {
  8619. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  8620. "type": "integer"
  8621. },
  8622. "modelname": {
  8623. "description": "型号名称",
  8624. "type": "string"
  8625. },
  8626. "pricetype": {
  8627. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8628. "type": "integer"
  8629. },
  8630. "qty": {
  8631. "description": "数量",
  8632. "type": "number"
  8633. },
  8634. "selluserid": {
  8635. "description": "销售方userid",
  8636. "type": "integer"
  8637. },
  8638. "sellusername": {
  8639. "description": "销售方名称",
  8640. "type": "string"
  8641. },
  8642. "spotcontractid": {
  8643. "description": "关联现货合同ID",
  8644. "type": "string"
  8645. },
  8646. "spotgoodsbrandid": {
  8647. "description": "现货品牌ID",
  8648. "type": "integer"
  8649. },
  8650. "spotgoodsmodelid": {
  8651. "description": "现货型号ID",
  8652. "type": "integer"
  8653. },
  8654. "unitid": {
  8655. "description": "单位id",
  8656. "type": "integer"
  8657. },
  8658. "userid": {
  8659. "description": "机构ID",
  8660. "type": "integer"
  8661. },
  8662. "warehousecode": {
  8663. "description": "仓库代码",
  8664. "type": "string"
  8665. },
  8666. "warehouseinfoid": {
  8667. "description": "现货仓库ID",
  8668. "type": "string"
  8669. },
  8670. "warehousename": {
  8671. "description": "仓库名称",
  8672. "type": "string"
  8673. },
  8674. "warehousetype": {
  8675. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  8676. "type": "integer"
  8677. },
  8678. "wrstandardcode": {
  8679. "description": "现货商品代码",
  8680. "type": "string"
  8681. },
  8682. "wrstandardid": {
  8683. "description": "现货商品ID",
  8684. "type": "string"
  8685. },
  8686. "wrstandardname": {
  8687. "description": "现货商品名称",
  8688. "type": "string"
  8689. }
  8690. }
  8691. },
  8692. "ermcp.QryAvalidGPRsp": {
  8693. "type": "object",
  8694. "properties": {
  8695. "goodsgroupid": {
  8696. "description": "期货品种id",
  8697. "type": "integer"
  8698. },
  8699. "goodsgroupname": {
  8700. "description": "期货品种名称",
  8701. "type": "string"
  8702. },
  8703. "goodunitid": {
  8704. "description": "品种单位id",
  8705. "type": "integer"
  8706. },
  8707. "goodunitname": {
  8708. "description": "品种单位名称",
  8709. "type": "string"
  8710. },
  8711. "outergroupcode": {
  8712. "description": "期货品种代码",
  8713. "type": "string"
  8714. }
  8715. }
  8716. },
  8717. "ermcp.QryBusinessDjRsp": {
  8718. "type": "object",
  8719. "properties": {
  8720. "amount": {
  8721. "description": "点价金额=(点价价格+升贴水)*点价数量",
  8722. "type": "number"
  8723. },
  8724. "applyid": {
  8725. "description": "申请人",
  8726. "type": "string"
  8727. },
  8728. "applyname": {
  8729. "description": "申请人名称",
  8730. "type": "string"
  8731. },
  8732. "applystatus": {
  8733. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8734. "type": "integer"
  8735. },
  8736. "applytime": {
  8737. "description": "申请时间",
  8738. "type": "string"
  8739. },
  8740. "attachurl": {
  8741. "description": "附件",
  8742. "type": "string"
  8743. },
  8744. "auditname": {
  8745. "description": "审核人名称",
  8746. "type": "string"
  8747. },
  8748. "audittime": {
  8749. "description": "审核时间",
  8750. "type": "string"
  8751. },
  8752. "buyusername": {
  8753. "description": "采购方名称",
  8754. "type": "string"
  8755. },
  8756. "contractno": {
  8757. "description": "合同编号",
  8758. "type": "string"
  8759. },
  8760. "contractstatus": {
  8761. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8762. "type": "integer"
  8763. },
  8764. "contracttype": {
  8765. "description": "现货合同类型 - 1:采购 -1:销售",
  8766. "type": "integer"
  8767. },
  8768. "enumdicname": {
  8769. "description": "单位名称",
  8770. "type": "string"
  8771. },
  8772. "goodscode": {
  8773. "description": "点价合约",
  8774. "type": "string"
  8775. },
  8776. "goodsname": {
  8777. "description": "商品名称",
  8778. "type": "string"
  8779. },
  8780. "operateapplyid": {
  8781. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8782. "type": "string"
  8783. },
  8784. "operateapplytype": {
  8785. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8786. "type": "integer"
  8787. },
  8788. "pricedPrice": {
  8789. "description": "点价价格(非必填)",
  8790. "type": "number"
  8791. },
  8792. "pricedQty": {
  8793. "description": "点价数量(非必填)",
  8794. "type": "number"
  8795. },
  8796. "pricemove": {
  8797. "description": "升贴水",
  8798. "type": "number"
  8799. },
  8800. "pricetype": {
  8801. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8802. "type": "integer"
  8803. },
  8804. "relatedid": {
  8805. "description": "现货合同ID",
  8806. "type": "string"
  8807. },
  8808. "sellusername": {
  8809. "description": "销售方名字",
  8810. "type": "string"
  8811. },
  8812. "userid": {
  8813. "description": "用户ID",
  8814. "type": "integer"
  8815. },
  8816. "wrstandardcode": {
  8817. "description": "现货商品代码",
  8818. "type": "string"
  8819. },
  8820. "wrstandardid": {
  8821. "description": "现货商品id",
  8822. "type": "integer"
  8823. },
  8824. "wrstandardname": {
  8825. "description": "现货商品名称",
  8826. "type": "string"
  8827. }
  8828. }
  8829. },
  8830. "ermcp.QryBussinessFpRsp": {
  8831. "type": "object",
  8832. "properties": {
  8833. "applyid": {
  8834. "description": "申请人",
  8835. "type": "string"
  8836. },
  8837. "applyname": {
  8838. "description": "申请人名称",
  8839. "type": "string"
  8840. },
  8841. "applystatus": {
  8842. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8843. "type": "integer"
  8844. },
  8845. "applytime": {
  8846. "description": "申请时间",
  8847. "type": "string"
  8848. },
  8849. "attachurl": {
  8850. "description": "附件",
  8851. "type": "string"
  8852. },
  8853. "auditname": {
  8854. "description": "审核人名称",
  8855. "type": "string"
  8856. },
  8857. "audittime": {
  8858. "description": "审核时间",
  8859. "type": "string"
  8860. },
  8861. "buyusername": {
  8862. "description": "采购方名称",
  8863. "type": "string"
  8864. },
  8865. "contractno": {
  8866. "description": "合同编号",
  8867. "type": "string"
  8868. },
  8869. "contractstatus": {
  8870. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8871. "type": "integer"
  8872. },
  8873. "contracttype": {
  8874. "description": "现货合同类型 - 1:采购 -1:销售",
  8875. "type": "integer"
  8876. },
  8877. "enumdicname": {
  8878. "description": "单位名称",
  8879. "type": "string"
  8880. },
  8881. "goodscode": {
  8882. "description": "点价合约",
  8883. "type": "string"
  8884. },
  8885. "goodsname": {
  8886. "description": "商品名称",
  8887. "type": "string"
  8888. },
  8889. "invoiceAmount": {
  8890. "description": "已开收票金额(销售为开票,采购为收票)",
  8891. "type": "number"
  8892. },
  8893. "operateapplyid": {
  8894. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8895. "type": "string"
  8896. },
  8897. "operateapplytype": {
  8898. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8899. "type": "integer"
  8900. },
  8901. "pricemove": {
  8902. "description": "升贴水",
  8903. "type": "number"
  8904. },
  8905. "pricetype": {
  8906. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8907. "type": "integer"
  8908. },
  8909. "relatedid": {
  8910. "description": "现货合同ID",
  8911. "type": "string"
  8912. },
  8913. "sellusername": {
  8914. "description": "销售方名字",
  8915. "type": "string"
  8916. },
  8917. "userid": {
  8918. "description": "用户ID",
  8919. "type": "integer"
  8920. },
  8921. "wrstandardcode": {
  8922. "description": "现货商品代码",
  8923. "type": "string"
  8924. },
  8925. "wrstandardid": {
  8926. "description": "现货商品id",
  8927. "type": "integer"
  8928. },
  8929. "wrstandardname": {
  8930. "description": "现货商品名称",
  8931. "type": "string"
  8932. }
  8933. }
  8934. },
  8935. "ermcp.QryBussinessJsExRsp": {
  8936. "type": "object",
  8937. "properties": {
  8938. "applyid": {
  8939. "description": "申请人",
  8940. "type": "string"
  8941. },
  8942. "applyname": {
  8943. "description": "申请人名称",
  8944. "type": "string"
  8945. },
  8946. "applystatus": {
  8947. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8948. "type": "integer"
  8949. },
  8950. "applytime": {
  8951. "description": "申请时间",
  8952. "type": "string"
  8953. },
  8954. "attachurl": {
  8955. "description": "附件",
  8956. "type": "string"
  8957. },
  8958. "auditname": {
  8959. "description": "审核人名称",
  8960. "type": "string"
  8961. },
  8962. "audittime": {
  8963. "description": "审核时间",
  8964. "type": "string"
  8965. },
  8966. "buyusername": {
  8967. "description": "采购方名称",
  8968. "type": "string"
  8969. },
  8970. "contractno": {
  8971. "description": "合同编号",
  8972. "type": "string"
  8973. },
  8974. "contractstatus": {
  8975. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8976. "type": "integer"
  8977. },
  8978. "contracttype": {
  8979. "description": "现货合同类型 - 1:采购 -1:销售",
  8980. "type": "integer"
  8981. },
  8982. "enumdicname": {
  8983. "description": "单位名称",
  8984. "type": "string"
  8985. },
  8986. "goodscode": {
  8987. "description": "点价合约",
  8988. "type": "string"
  8989. },
  8990. "goodsname": {
  8991. "description": "商品名称",
  8992. "type": "string"
  8993. },
  8994. "operateapplyid": {
  8995. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8996. "type": "string"
  8997. },
  8998. "operateapplytype": {
  8999. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9000. "type": "integer"
  9001. },
  9002. "pricemove": {
  9003. "description": "升贴水",
  9004. "type": "number"
  9005. },
  9006. "pricetype": {
  9007. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9008. "type": "integer"
  9009. },
  9010. "reckontype": {
  9011. "description": "结算类型",
  9012. "type": "string"
  9013. },
  9014. "reckonvalue": {
  9015. "description": "值",
  9016. "type": "number"
  9017. },
  9018. "relatedid": {
  9019. "description": "现货合同ID",
  9020. "type": "string"
  9021. },
  9022. "sellusername": {
  9023. "description": "销售方名字",
  9024. "type": "string"
  9025. },
  9026. "userid": {
  9027. "description": "用户ID",
  9028. "type": "integer"
  9029. },
  9030. "wrstandardcode": {
  9031. "description": "现货商品代码",
  9032. "type": "string"
  9033. },
  9034. "wrstandardid": {
  9035. "description": "现货商品id",
  9036. "type": "integer"
  9037. },
  9038. "wrstandardname": {
  9039. "description": "现货商品名称",
  9040. "type": "string"
  9041. }
  9042. }
  9043. },
  9044. "ermcp.QryBussinessJsRsp": {
  9045. "type": "object",
  9046. "properties": {
  9047. "addmargin": {
  9048. "description": "追加保证金(非必填)",
  9049. "type": "number"
  9050. },
  9051. "applyid": {
  9052. "description": "申请人",
  9053. "type": "string"
  9054. },
  9055. "applyname": {
  9056. "description": "申请人名称",
  9057. "type": "string"
  9058. },
  9059. "applystatus": {
  9060. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9061. "type": "integer"
  9062. },
  9063. "applytime": {
  9064. "description": "申请时间",
  9065. "type": "string"
  9066. },
  9067. "attachurl": {
  9068. "description": "附件",
  9069. "type": "string"
  9070. },
  9071. "auditname": {
  9072. "description": "审核人名称",
  9073. "type": "string"
  9074. },
  9075. "audittime": {
  9076. "description": "审核时间",
  9077. "type": "string"
  9078. },
  9079. "buyusername": {
  9080. "description": "采购方名称",
  9081. "type": "string"
  9082. },
  9083. "contractno": {
  9084. "description": "合同编号",
  9085. "type": "string"
  9086. },
  9087. "contractstatus": {
  9088. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9089. "type": "integer"
  9090. },
  9091. "contracttype": {
  9092. "description": "现货合同类型 - 1:采购 -1:销售",
  9093. "type": "integer"
  9094. },
  9095. "decmargin": {
  9096. "description": "减少保证金(非必填)",
  9097. "type": "number"
  9098. },
  9099. "enumdicname": {
  9100. "description": "单位名称",
  9101. "type": "string"
  9102. },
  9103. "goodscode": {
  9104. "description": "点价合约",
  9105. "type": "string"
  9106. },
  9107. "goodsname": {
  9108. "description": "商品名称",
  9109. "type": "string"
  9110. },
  9111. "operateapplyid": {
  9112. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9113. "type": "string"
  9114. },
  9115. "operateapplytype": {
  9116. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9117. "type": "integer"
  9118. },
  9119. "pricemove": {
  9120. "description": "升贴水",
  9121. "type": "number"
  9122. },
  9123. "pricetype": {
  9124. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9125. "type": "integer"
  9126. },
  9127. "reckonadjustamount": {
  9128. "description": "结算调整金额(非必填)",
  9129. "type": "number"
  9130. },
  9131. "reckonosamount": {
  9132. "description": "结算溢短金额(非必填)",
  9133. "type": "number"
  9134. },
  9135. "reckonotheramount": {
  9136. "description": "结算其他费用(非必填)",
  9137. "type": "number"
  9138. },
  9139. "reckonrealqty": {
  9140. "description": "结算实际数量(非必填)",
  9141. "type": "number"
  9142. },
  9143. "relatedid": {
  9144. "description": "现货合同ID",
  9145. "type": "string"
  9146. },
  9147. "sellusername": {
  9148. "description": "销售方名字",
  9149. "type": "string"
  9150. },
  9151. "userid": {
  9152. "description": "用户ID",
  9153. "type": "integer"
  9154. },
  9155. "wrstandardcode": {
  9156. "description": "现货商品代码",
  9157. "type": "string"
  9158. },
  9159. "wrstandardid": {
  9160. "description": "现货商品id",
  9161. "type": "integer"
  9162. },
  9163. "wrstandardname": {
  9164. "description": "现货商品名称",
  9165. "type": "string"
  9166. }
  9167. }
  9168. },
  9169. "ermcp.QryBussinessKxRsp": {
  9170. "type": "object",
  9171. "properties": {
  9172. "applyid": {
  9173. "description": "申请人",
  9174. "type": "string"
  9175. },
  9176. "applyname": {
  9177. "description": "申请人名称",
  9178. "type": "string"
  9179. },
  9180. "applystatus": {
  9181. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9182. "type": "integer"
  9183. },
  9184. "applytime": {
  9185. "description": "申请时间",
  9186. "type": "string"
  9187. },
  9188. "attachurl": {
  9189. "description": "附件",
  9190. "type": "string"
  9191. },
  9192. "auditname": {
  9193. "description": "审核人名称",
  9194. "type": "string"
  9195. },
  9196. "audittime": {
  9197. "description": "审核时间",
  9198. "type": "string"
  9199. },
  9200. "buyusername": {
  9201. "description": "采购方名称",
  9202. "type": "string"
  9203. },
  9204. "contractno": {
  9205. "description": "合同编号",
  9206. "type": "string"
  9207. },
  9208. "contractstatus": {
  9209. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9210. "type": "integer"
  9211. },
  9212. "contracttype": {
  9213. "description": "现货合同类型 - 1:采购 -1:销售",
  9214. "type": "integer"
  9215. },
  9216. "deductamount": {
  9217. "description": "退款(非必填)",
  9218. "type": "number"
  9219. },
  9220. "enumdicname": {
  9221. "description": "单位名称",
  9222. "type": "string"
  9223. },
  9224. "goodscode": {
  9225. "description": "点价合约",
  9226. "type": "string"
  9227. },
  9228. "goodsname": {
  9229. "description": "商品名称",
  9230. "type": "string"
  9231. },
  9232. "kxtype": {
  9233. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  9234. "type": "integer"
  9235. },
  9236. "operateapplyid": {
  9237. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9238. "type": "string"
  9239. },
  9240. "operateapplytype": {
  9241. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9242. "type": "integer"
  9243. },
  9244. "payamount": {
  9245. "description": "收付款(非必填)",
  9246. "type": "number"
  9247. },
  9248. "pricemove": {
  9249. "description": "升贴水",
  9250. "type": "number"
  9251. },
  9252. "pricetype": {
  9253. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9254. "type": "integer"
  9255. },
  9256. "relatedid": {
  9257. "description": "现货合同ID",
  9258. "type": "string"
  9259. },
  9260. "sellusername": {
  9261. "description": "销售方名字",
  9262. "type": "string"
  9263. },
  9264. "userid": {
  9265. "description": "用户ID",
  9266. "type": "integer"
  9267. },
  9268. "wrstandardcode": {
  9269. "description": "现货商品代码",
  9270. "type": "string"
  9271. },
  9272. "wrstandardid": {
  9273. "description": "现货商品id",
  9274. "type": "integer"
  9275. },
  9276. "wrstandardname": {
  9277. "description": "现货商品名称",
  9278. "type": "string"
  9279. }
  9280. }
  9281. },
  9282. "ermcp.QryErmcpRsp": {
  9283. "type": "object",
  9284. "properties": {
  9285. "accountname": {
  9286. "description": "账户名称",
  9287. "type": "string"
  9288. },
  9289. "attachment": {
  9290. "description": "附件",
  9291. "type": "string"
  9292. },
  9293. "audittime": {
  9294. "description": "审核时间",
  9295. "type": "string"
  9296. },
  9297. "brandname": {
  9298. "description": "品牌名称",
  9299. "type": "string"
  9300. },
  9301. "contracctstatus": {
  9302. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9303. "type": "integer"
  9304. },
  9305. "contractmargin": {
  9306. "description": "合同保证金",
  9307. "type": "number"
  9308. },
  9309. "contractno": {
  9310. "description": "合同编号",
  9311. "type": "string"
  9312. },
  9313. "contracttype": {
  9314. "description": "合同类型 1-采购, -1-销售",
  9315. "type": "integer"
  9316. },
  9317. "convertfactor": {
  9318. "description": "标仓系数",
  9319. "type": "number"
  9320. },
  9321. "createtime": {
  9322. "description": "创建时间",
  9323. "type": "string"
  9324. },
  9325. "daikaiamount": {
  9326. "description": "待开票额",
  9327. "type": "number"
  9328. },
  9329. "deliveryenddate": {
  9330. "description": "交割结束日",
  9331. "type": "string"
  9332. },
  9333. "deliverygoodscode": {
  9334. "description": "现货品种代码",
  9335. "type": "string"
  9336. },
  9337. "deliverygoodsid": {
  9338. "description": "现货商品ID",
  9339. "type": "integer"
  9340. },
  9341. "deliverygoodsname": {
  9342. "description": "现货品种名称",
  9343. "type": "string"
  9344. },
  9345. "deliverystartdate": {
  9346. "description": "交割开始日",
  9347. "type": "string"
  9348. },
  9349. "enddate": {
  9350. "description": "点价结束日",
  9351. "type": "string"
  9352. },
  9353. "enumdicname": {
  9354. "description": "单位名称",
  9355. "type": "string"
  9356. },
  9357. "goodscode": {
  9358. "description": "点价商品代码",
  9359. "type": "string"
  9360. },
  9361. "goodsid": {
  9362. "description": "点价商品ID",
  9363. "type": "integer"
  9364. },
  9365. "goodsname": {
  9366. "description": "点价商品名称",
  9367. "type": "string"
  9368. },
  9369. "invoiceamount": {
  9370. "description": "已开票额",
  9371. "type": "number"
  9372. },
  9373. "loanamount": {
  9374. "description": "贷款总额=已定价额+调整金额",
  9375. "type": "number"
  9376. },
  9377. "margin": {
  9378. "description": "保证金",
  9379. "type": "number"
  9380. },
  9381. "modelname": {
  9382. "description": "型号名称",
  9383. "type": "string"
  9384. },
  9385. "payamount": {
  9386. "description": "已收付额(收款或付款)",
  9387. "type": "number"
  9388. },
  9389. "price": {
  9390. "description": "价格",
  9391. "type": "number"
  9392. },
  9393. "pricedamount": {
  9394. "description": "已定价额",
  9395. "type": "number"
  9396. },
  9397. "pricedavg": {
  9398. "description": "已点均价",
  9399. "type": "number"
  9400. },
  9401. "pricedqty": {
  9402. "description": "已定价量",
  9403. "type": "number"
  9404. },
  9405. "pricemove": {
  9406. "description": "升贴水",
  9407. "type": "number"
  9408. },
  9409. "pricetype": {
  9410. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9411. "type": "integer"
  9412. },
  9413. "producttype": {
  9414. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9415. "type": "integer"
  9416. },
  9417. "qty": {
  9418. "description": "合同量",
  9419. "type": "number"
  9420. },
  9421. "reckonadjustamount": {
  9422. "description": "调整金额",
  9423. "type": "number"
  9424. },
  9425. "reckonedamount": {
  9426. "description": "已收付额(已确定额)",
  9427. "type": "number"
  9428. },
  9429. "reckonotheramount": {
  9430. "description": "其它费用",
  9431. "type": "number"
  9432. },
  9433. "reckonrealqty": {
  9434. "description": "已确定量",
  9435. "type": "number"
  9436. },
  9437. "remark": {
  9438. "description": "备注",
  9439. "type": "string"
  9440. },
  9441. "spotcontractid": {
  9442. "description": "合同ID",
  9443. "type": "string"
  9444. },
  9445. "spotgoodsbrandid": {
  9446. "description": "现货品牌ID",
  9447. "type": "integer"
  9448. },
  9449. "spotgoodsdesc": {
  9450. "description": "商品型号(商品规格)",
  9451. "type": "string"
  9452. },
  9453. "spotgoodsmodelid": {
  9454. "description": "现货型号ID",
  9455. "type": "integer"
  9456. },
  9457. "startdate": {
  9458. "description": "点价开始日",
  9459. "type": "string"
  9460. },
  9461. "totalamount": {
  9462. "description": "合计总额",
  9463. "type": "number"
  9464. },
  9465. "unpayamount": {
  9466. "description": "待支收额(支付或收款)",
  9467. "type": "number"
  9468. },
  9469. "unpricedqty": {
  9470. "description": "未定价量",
  9471. "type": "number"
  9472. },
  9473. "unsureqty": {
  9474. "description": "未确定量",
  9475. "type": "number"
  9476. },
  9477. "userid": {
  9478. "description": "用户ID",
  9479. "type": "integer"
  9480. },
  9481. "wrstandardcode": {
  9482. "description": "现货商品代码",
  9483. "type": "string"
  9484. },
  9485. "wrstandardid": {
  9486. "description": "现货商品ID",
  9487. "type": "integer"
  9488. },
  9489. "wrstandardname": {
  9490. "description": "现货商品名称",
  9491. "type": "string"
  9492. }
  9493. }
  9494. },
  9495. "ermcp.QryGGCovertCfgRsp": {
  9496. "type": "object",
  9497. "properties": {
  9498. "convertratio": {
  9499. "description": "折算系数",
  9500. "type": "number"
  9501. },
  9502. "destgoodsgroupid": {
  9503. "description": "目标品种ID",
  9504. "type": "integer"
  9505. },
  9506. "dstcode": {
  9507. "description": "目录品种代码",
  9508. "type": "string"
  9509. },
  9510. "dstexchangecode": {
  9511. "description": "目标期货交易所",
  9512. "type": "string"
  9513. },
  9514. "dstname": {
  9515. "description": "目标品种名称",
  9516. "type": "string"
  9517. },
  9518. "dstunitid": {
  9519. "description": "目标品种单位ID",
  9520. "type": "integer"
  9521. },
  9522. "dstunitidname": {
  9523. "description": "目标品种单位名称",
  9524. "type": "string"
  9525. },
  9526. "modifytime": {
  9527. "description": "修改时间",
  9528. "type": "string"
  9529. },
  9530. "srccode": {
  9531. "description": "源品种代码",
  9532. "type": "string"
  9533. },
  9534. "srcexchangecode": {
  9535. "description": "源期货交易所",
  9536. "type": "string"
  9537. },
  9538. "srcgoodsgroupid": {
  9539. "description": "源品种ID",
  9540. "type": "integer"
  9541. },
  9542. "srcname": {
  9543. "description": "源品种名称",
  9544. "type": "string"
  9545. },
  9546. "srcunitid": {
  9547. "description": "源品种单位ID",
  9548. "type": "integer"
  9549. },
  9550. "srcunitidname": {
  9551. "description": "源品种单位名称",
  9552. "type": "string"
  9553. }
  9554. }
  9555. },
  9556. "ermcp.QryHedgePlanRsp": {
  9557. "type": "object",
  9558. "properties": {
  9559. "areauserid": {
  9560. "description": "用户ID",
  9561. "type": "integer"
  9562. },
  9563. "audittime": {
  9564. "description": "审核时间",
  9565. "type": "string"
  9566. },
  9567. "contracttype": {
  9568. "description": "计划类型 - 1:采购 -1:销售",
  9569. "type": "integer"
  9570. },
  9571. "convertfactor": {
  9572. "description": "标仓系数",
  9573. "type": "number"
  9574. },
  9575. "createtime": {
  9576. "description": "创建时间",
  9577. "type": "string"
  9578. },
  9579. "deliverygoodsid": {
  9580. "description": "现货品种ID",
  9581. "type": "integer"
  9582. },
  9583. "deliverygoodsname": {
  9584. "description": "现货品种名称",
  9585. "type": "string"
  9586. },
  9587. "enumdicname": {
  9588. "description": "单位名称",
  9589. "type": "string"
  9590. },
  9591. "hedgeplanid": {
  9592. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  9593. "type": "string"
  9594. },
  9595. "hedgeplanno": {
  9596. "description": "套保计划编号(名称)",
  9597. "type": "string"
  9598. },
  9599. "hedgeplanstatus": {
  9600. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9601. "type": "integer"
  9602. },
  9603. "planqty": {
  9604. "description": "计划数量",
  9605. "type": "number"
  9606. },
  9607. "plantime": {
  9608. "description": "计划时间",
  9609. "type": "string"
  9610. },
  9611. "producttype": {
  9612. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9613. "type": "integer"
  9614. },
  9615. "remark": {
  9616. "description": "备注",
  9617. "type": "string"
  9618. },
  9619. "spotgoodsdesc": {
  9620. "description": "商品型号",
  9621. "type": "string"
  9622. },
  9623. "unitid": {
  9624. "description": "单位id",
  9625. "type": "integer"
  9626. },
  9627. "updatetime": {
  9628. "description": "更新时间",
  9629. "type": "string"
  9630. },
  9631. "wrstandardid": {
  9632. "description": "现货商品ID",
  9633. "type": "integer"
  9634. },
  9635. "wrstandardname": {
  9636. "description": "现货商品名称",
  9637. "type": "string"
  9638. }
  9639. }
  9640. },
  9641. "ermcp.QryMGChangeLogRsp": {
  9642. "type": "object",
  9643. "properties": {
  9644. "aftervalue": {
  9645. "description": "变更后",
  9646. "type": "number"
  9647. },
  9648. "applyid": {
  9649. "description": "操作人",
  9650. "type": "integer"
  9651. },
  9652. "applyname": {
  9653. "description": "操作人名称",
  9654. "type": "string"
  9655. },
  9656. "applysrc": {
  9657. "description": "操作来源 - 1:管理端 2:终端",
  9658. "type": "integer"
  9659. },
  9660. "beforevalue": {
  9661. "description": "变更前",
  9662. "type": "number"
  9663. },
  9664. "changelogtype": {
  9665. "description": "变更流水类型 - 1:套保比率变更",
  9666. "type": "integer"
  9667. },
  9668. "handlestatus": {
  9669. "description": "处理状态",
  9670. "type": "integer"
  9671. },
  9672. "logdatetime": {
  9673. "description": "流水日期",
  9674. "type": "string"
  9675. },
  9676. "logid": {
  9677. "description": "流水ID",
  9678. "type": "integer"
  9679. },
  9680. "logremark": {
  9681. "description": "流水备注",
  9682. "type": "string"
  9683. },
  9684. "middlegoodsid": {
  9685. "description": "套保品种ID",
  9686. "type": "integer"
  9687. },
  9688. "tradedate": {
  9689. "description": "交易日(yyyyMMdd)",
  9690. "type": "string"
  9691. },
  9692. "updatetime": {
  9693. "description": "更新时间",
  9694. "type": "string"
  9695. }
  9696. }
  9697. },
  9698. "ermcp.QryMiddleGoodsDetailRsp": {
  9699. "type": "object",
  9700. "properties": {
  9701. "cvList": {
  9702. "description": "期货品种折算列表",
  9703. "type": "array",
  9704. "items": {
  9705. "$ref": "#/definitions/models.GoodsGroupConvert"
  9706. }
  9707. },
  9708. "mg": {
  9709. "description": "套保品种基本信息",
  9710. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  9711. }
  9712. }
  9713. },
  9714. "ermcp.QryMiddleGoodsRsp": {
  9715. "type": "object",
  9716. "properties": {
  9717. "areauserid": {
  9718. "description": "机构用户ID",
  9719. "type": "integer"
  9720. },
  9721. "createtime": {
  9722. "description": "修改时间",
  9723. "type": "string"
  9724. },
  9725. "enumdicname": {
  9726. "description": "单位名称",
  9727. "type": "string"
  9728. },
  9729. "evaluateratio": {
  9730. "description": "估价系数",
  9731. "type": "number"
  9732. },
  9733. "goodsgroupid": {
  9734. "description": "关联期货品种ID",
  9735. "type": "integer"
  9736. },
  9737. "isvalid": {
  9738. "description": "状态 0-无效(停用) 1-有效(正常)",
  9739. "type": "integer"
  9740. },
  9741. "middlegoodscode": {
  9742. "description": "套保品种代码",
  9743. "type": "string"
  9744. },
  9745. "middlegoodsid": {
  9746. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  9747. "type": "integer"
  9748. },
  9749. "middlegoodsname": {
  9750. "description": "套保品种名称",
  9751. "type": "string"
  9752. },
  9753. "modifytime": {
  9754. "description": "修改时间",
  9755. "type": "string"
  9756. },
  9757. "needhedgeratio": {
  9758. "description": "套保比率",
  9759. "type": "number"
  9760. },
  9761. "qtydecimalplace": {
  9762. "description": "数量小数位",
  9763. "type": "integer"
  9764. },
  9765. "relatedgoodsid": {
  9766. "description": "关联交易商品ID",
  9767. "type": "integer"
  9768. },
  9769. "relatedgoodstype": {
  9770. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  9771. "type": "integer"
  9772. }
  9773. }
  9774. },
  9775. "ermcp.QryOPLogRsp": {
  9776. "type": "object",
  9777. "properties": {
  9778. "aftervalue": {
  9779. "description": "变更后",
  9780. "type": "number"
  9781. },
  9782. "applyid": {
  9783. "description": "操作人ID",
  9784. "type": "string"
  9785. },
  9786. "applyname": {
  9787. "description": "操作人名称",
  9788. "type": "string"
  9789. },
  9790. "beforevalue": {
  9791. "description": "变更前",
  9792. "type": "number"
  9793. },
  9794. "biztype": {
  9795. "description": "业务类型 - 1:套保计划 2:现货合同",
  9796. "type": "integer"
  9797. },
  9798. "contracttype": {
  9799. "description": "现货合同类型 - 1:采购 -1:销售",
  9800. "type": "integer"
  9801. },
  9802. "logvalue": {
  9803. "description": "数值",
  9804. "type": "number"
  9805. },
  9806. "operatelogtype": {
  9807. "description": "操作流水类型",
  9808. "type": "integer"
  9809. },
  9810. "operatelogtypedesc": {
  9811. "description": "操作流水类型名称",
  9812. "type": "string"
  9813. },
  9814. "relatedid": {
  9815. "description": "现货合同ID\\套保计划",
  9816. "type": "string"
  9817. },
  9818. "updatetime": {
  9819. "description": "更新时间",
  9820. "type": "string"
  9821. }
  9822. }
  9823. },
  9824. "ermcp.QryReportDaySpotDetailRsp": {
  9825. "type": "object",
  9826. "properties": {
  9827. "applyid": {
  9828. "description": "操作人",
  9829. "type": "integer"
  9830. },
  9831. "applyname": {
  9832. "description": "操作人名称",
  9833. "type": "string"
  9834. },
  9835. "biztype": {
  9836. "description": "业务类型 - 1:套保计划 2:现货合同",
  9837. "type": "integer"
  9838. },
  9839. "contracttype": {
  9840. "description": "现货合同类型 - 1:采购 -1:销售",
  9841. "type": "integer"
  9842. },
  9843. "enumdicName": {
  9844. "description": "单位名称",
  9845. "type": "string"
  9846. },
  9847. "logdatetime": {
  9848. "description": "流水日期(时间)",
  9849. "type": "string"
  9850. },
  9851. "logid": {
  9852. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  9853. "type": "string"
  9854. },
  9855. "logtypename": {
  9856. "description": "合同类型(名称)",
  9857. "type": "string"
  9858. },
  9859. "logvalue": {
  9860. "description": "数值",
  9861. "type": "string"
  9862. },
  9863. "operatelogtype": {
  9864. "description": "操作流水类型 -",
  9865. "type": "integer"
  9866. },
  9867. "optypename": {
  9868. "description": "流水类型名称",
  9869. "type": "string"
  9870. },
  9871. "relatedid": {
  9872. "description": "现货合同ID\\套保计划",
  9873. "type": "string"
  9874. },
  9875. "relatedno": {
  9876. "description": "合同编号",
  9877. "type": "string"
  9878. },
  9879. "tradedate": {
  9880. "description": "交易日(yyyyMMdd)",
  9881. "type": "string"
  9882. },
  9883. "userid": {
  9884. "description": "机构ID",
  9885. "type": "integer"
  9886. },
  9887. "wrstandardcode": {
  9888. "description": "现货商品代码",
  9889. "type": "string"
  9890. },
  9891. "wrstandardid": {
  9892. "description": "现货商品ID",
  9893. "type": "integer"
  9894. },
  9895. "wrstandardname": {
  9896. "description": "现货商品名称",
  9897. "type": "string"
  9898. }
  9899. }
  9900. },
  9901. "ermcp.QryReportExposureDayRsp": {
  9902. "type": "object",
  9903. "properties": {
  9904. "areauserid": {
  9905. "description": "所属机构",
  9906. "type": "integer"
  9907. },
  9908. "buyfutureqty": {
  9909. "description": "买入期货数量",
  9910. "type": "number"
  9911. },
  9912. "buyplanqty": {
  9913. "description": "采购计划数量",
  9914. "type": "number"
  9915. },
  9916. "buypricedqty": {
  9917. "description": "采购合同已定价数量",
  9918. "type": "number"
  9919. },
  9920. "diffFutuQty": {
  9921. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9922. "type": "number"
  9923. },
  9924. "diffSpotQty": {
  9925. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9926. "type": "number"
  9927. },
  9928. "enumdicname": {
  9929. "description": "单位名称",
  9930. "type": "string"
  9931. },
  9932. "middlegoodscode": {
  9933. "description": "套保品种代码",
  9934. "type": "string"
  9935. },
  9936. "middlegoodshedgeratio": {
  9937. "description": "应套保比例",
  9938. "type": "number"
  9939. },
  9940. "middlegoodsid": {
  9941. "description": "套保品种ID",
  9942. "type": "integer"
  9943. },
  9944. "middlegoodsname": {
  9945. "description": "套保品种名称",
  9946. "type": "string"
  9947. },
  9948. "needhedgeexposoure": {
  9949. "description": "应套保敞口",
  9950. "type": "number"
  9951. },
  9952. "needhedgeratio": {
  9953. "description": "应套保敞口比例",
  9954. "type": "number"
  9955. },
  9956. "oriTotalFutuQty": {
  9957. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9958. "type": "number"
  9959. },
  9960. "oriTotalSpotQty": {
  9961. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9962. "type": "number"
  9963. },
  9964. "oribuyfutureqty": {
  9965. "description": "期初买入期货数量",
  9966. "type": "number"
  9967. },
  9968. "oribuyplanqty": {
  9969. "description": "期初采购计划数量",
  9970. "type": "number"
  9971. },
  9972. "oribuypricedqty": {
  9973. "description": "期初采购合同已定价数量",
  9974. "type": "number"
  9975. },
  9976. "orisellfutureqty": {
  9977. "description": "期初卖出期货数量",
  9978. "type": "number"
  9979. },
  9980. "orisellplanqty": {
  9981. "description": "期初销售计划数量",
  9982. "type": "number"
  9983. },
  9984. "orisellpricedqty": {
  9985. "description": "期初销售合同已定价数量",
  9986. "type": "number"
  9987. },
  9988. "reckondate": {
  9989. "description": "日照时期(yyyyMMdd)",
  9990. "type": "string"
  9991. },
  9992. "sellfutureqty": {
  9993. "description": "卖出期货数量",
  9994. "type": "number"
  9995. },
  9996. "sellplanqty": {
  9997. "description": "销售计划数量",
  9998. "type": "number"
  9999. },
  10000. "sellpricedqty": {
  10001. "description": "销售合同已定价数量",
  10002. "type": "number"
  10003. },
  10004. "totalexposure": {
  10005. "description": "总敞口",
  10006. "type": "number"
  10007. },
  10008. "totalfutureqty": {
  10009. "description": "期货数量",
  10010. "type": "number"
  10011. },
  10012. "totalhedgeratio": {
  10013. "description": "敞口比例",
  10014. "type": "number"
  10015. },
  10016. "totalneedhedgeqty": {
  10017. "description": "期货应套保量",
  10018. "type": "number"
  10019. },
  10020. "totalspotqty": {
  10021. "description": "现货数量",
  10022. "type": "number"
  10023. }
  10024. }
  10025. },
  10026. "ermcp.QryReportFinanceDayRsp": {
  10027. "type": "object",
  10028. "properties": {
  10029. "areauserid": {
  10030. "description": "所属机构",
  10031. "type": "integer"
  10032. },
  10033. "collectinvoiceamount": {
  10034. "description": "今日开票金额",
  10035. "type": "number"
  10036. },
  10037. "collectinvoicecount": {
  10038. "description": "今日开票笔数",
  10039. "type": "integer"
  10040. },
  10041. "collectmoneyamount": {
  10042. "description": "今日收款金额",
  10043. "type": "number"
  10044. },
  10045. "collectmoneycount": {
  10046. "description": "今日收款笔数",
  10047. "type": "integer"
  10048. },
  10049. "payinvoiceamount": {
  10050. "description": "今日收票金额",
  10051. "type": "number"
  10052. },
  10053. "payinvoicecount": {
  10054. "description": "今日收票笔数",
  10055. "type": "integer"
  10056. },
  10057. "paymoneyamount": {
  10058. "description": "今日付款金额",
  10059. "type": "number"
  10060. },
  10061. "paymoneycount": {
  10062. "description": "今日付款笔数",
  10063. "type": "integer"
  10064. },
  10065. "reckondate": {
  10066. "description": "日照时期(yyyyMMdd)",
  10067. "type": "string"
  10068. },
  10069. "updatetime": {
  10070. "description": "更新时间",
  10071. "type": "string"
  10072. }
  10073. }
  10074. },
  10075. "ermcp.QryReportFinanceKxRsp": {
  10076. "type": "object",
  10077. "properties": {
  10078. "applyid": {
  10079. "description": "操作人",
  10080. "type": "integer"
  10081. },
  10082. "applyname": {
  10083. "description": "操作人名称",
  10084. "type": "string"
  10085. },
  10086. "biztype": {
  10087. "description": "业务类型 - 1:套保计划 2:现货合同",
  10088. "type": "integer"
  10089. },
  10090. "contracttype": {
  10091. "description": "现货合同类型 - 1:采购 -1:销售",
  10092. "type": "integer"
  10093. },
  10094. "enumdicName": {
  10095. "description": "单位名称",
  10096. "type": "string"
  10097. },
  10098. "logdatetime": {
  10099. "description": "流水日期(时间)",
  10100. "type": "string"
  10101. },
  10102. "logid": {
  10103. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  10104. "type": "string"
  10105. },
  10106. "logtypename": {
  10107. "description": "合同类型(名称)",
  10108. "type": "string"
  10109. },
  10110. "logvalue": {
  10111. "description": "数值",
  10112. "type": "string"
  10113. },
  10114. "operatelogtype": {
  10115. "description": "操作流水类型 -",
  10116. "type": "integer"
  10117. },
  10118. "optypename": {
  10119. "description": "流水类型名称",
  10120. "type": "string"
  10121. },
  10122. "relatedid": {
  10123. "description": "现货合同ID\\套保计划",
  10124. "type": "string"
  10125. },
  10126. "relatedno": {
  10127. "description": "合同编号",
  10128. "type": "string"
  10129. },
  10130. "tradedate": {
  10131. "description": "交易日(yyyyMMdd)",
  10132. "type": "string"
  10133. },
  10134. "userid": {
  10135. "description": "机构ID",
  10136. "type": "integer"
  10137. },
  10138. "wrstandardcode": {
  10139. "description": "现货商品代码",
  10140. "type": "string"
  10141. },
  10142. "wrstandardid": {
  10143. "description": "现货商品ID",
  10144. "type": "integer"
  10145. },
  10146. "wrstandardname": {
  10147. "description": "现货商品名称",
  10148. "type": "string"
  10149. }
  10150. }
  10151. },
  10152. "ermcp.QryReportFinanceMonRsp": {
  10153. "type": "object",
  10154. "properties": {
  10155. "areauserid": {
  10156. "description": "所属机构【原值】",
  10157. "type": "integer"
  10158. },
  10159. "collectinvoiceamount": {
  10160. "description": "今日开票金额【汇总】",
  10161. "type": "number"
  10162. },
  10163. "collectinvoicecount": {
  10164. "description": "今日开票笔数【汇总】",
  10165. "type": "integer"
  10166. },
  10167. "collectmoneyamount": {
  10168. "description": "今日收款金额【汇总】",
  10169. "type": "number"
  10170. },
  10171. "collectmoneycount": {
  10172. "description": "今日收款笔数 【汇总】",
  10173. "type": "integer"
  10174. },
  10175. "cycletime": {
  10176. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  10177. "type": "string"
  10178. },
  10179. "cycletype": {
  10180. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10181. "type": "integer"
  10182. },
  10183. "dayFr": {
  10184. "description": "日报表明细",
  10185. "type": "array",
  10186. "items": {
  10187. "$ref": "#/definitions/models.ErmcpReportDayFR"
  10188. }
  10189. },
  10190. "payinvoiceamount": {
  10191. "description": "今日收票金额【汇总】",
  10192. "type": "number"
  10193. },
  10194. "payinvoicecount": {
  10195. "description": "今日收票笔数【汇总】",
  10196. "type": "integer"
  10197. },
  10198. "paymoneyamount": {
  10199. "description": "今日付款金额【汇总】",
  10200. "type": "number"
  10201. },
  10202. "paymoneycount": {
  10203. "description": "今日付款笔数【汇总】",
  10204. "type": "integer"
  10205. },
  10206. "updatetime": {
  10207. "description": "更新时间",
  10208. "type": "string"
  10209. }
  10210. }
  10211. },
  10212. "ermcp.QryReportSpotDayRsp": {
  10213. "type": "object",
  10214. "properties": {
  10215. "areauserid": {
  10216. "description": "所属机构T",
  10217. "type": "integer"
  10218. },
  10219. "buyinqty": {
  10220. "description": "采购入库量",
  10221. "type": "number"
  10222. },
  10223. "enumdicname": {
  10224. "description": "现货商品单位名称",
  10225. "type": "string"
  10226. },
  10227. "reckondate": {
  10228. "description": "日照时期(yyyyMMdd)",
  10229. "type": "string"
  10230. },
  10231. "selloutqty": {
  10232. "description": "销售出库量",
  10233. "type": "number"
  10234. },
  10235. "todaybuyreckonqty": {
  10236. "description": "采购确定量",
  10237. "type": "number"
  10238. },
  10239. "todaysellreckonqty": {
  10240. "description": "销售确定量",
  10241. "type": "number"
  10242. },
  10243. "totalbuypricedqty": {
  10244. "description": "采购定价量 = 期末 - 期初",
  10245. "type": "number"
  10246. },
  10247. "totalsellpricedqty": {
  10248. "description": "销售定价量 = 期末 - 期初",
  10249. "type": "number"
  10250. },
  10251. "wrstandardcode": {
  10252. "description": "现货商品代码",
  10253. "type": "string"
  10254. },
  10255. "wrstandardid": {
  10256. "description": "现货商品ID",
  10257. "type": "integer"
  10258. },
  10259. "wrstandardname": {
  10260. "description": "现货商品名称",
  10261. "type": "string"
  10262. }
  10263. }
  10264. },
  10265. "ermcp.QryReportSpotMonRsp": {
  10266. "type": "object",
  10267. "properties": {
  10268. "areauserid": {
  10269. "description": "所属机构T",
  10270. "type": "integer"
  10271. },
  10272. "buyinqty": {
  10273. "description": "采购入库量",
  10274. "type": "number"
  10275. },
  10276. "cycletime": {
  10277. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  10278. "type": "string"
  10279. },
  10280. "cycletype": {
  10281. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10282. "type": "integer"
  10283. },
  10284. "enumdicname": {
  10285. "description": "现货商品单位名称",
  10286. "type": "string"
  10287. },
  10288. "selloutqty": {
  10289. "description": "销售出库量",
  10290. "type": "number"
  10291. },
  10292. "todaybuyreckonqty": {
  10293. "description": "采购确定量",
  10294. "type": "number"
  10295. },
  10296. "todaysellreckonqty": {
  10297. "description": "销售确定量",
  10298. "type": "number"
  10299. },
  10300. "totalbuypricedqty": {
  10301. "description": "采购定价量 = 期末 - 期初",
  10302. "type": "number"
  10303. },
  10304. "totalsellpricedqty": {
  10305. "description": "销售定价量 = 期末 - 期初",
  10306. "type": "number"
  10307. },
  10308. "wrstandardcode": {
  10309. "description": "现货商品代码",
  10310. "type": "string"
  10311. },
  10312. "wrstandardid": {
  10313. "description": "现货商品ID",
  10314. "type": "integer"
  10315. },
  10316. "wrstandardname": {
  10317. "description": "现货商品名称",
  10318. "type": "string"
  10319. }
  10320. }
  10321. },
  10322. "ermcp.QryReportSpotMonthDetailRsp": {
  10323. "type": "object",
  10324. "properties": {
  10325. "areauserid": {
  10326. "description": "所属机构T",
  10327. "type": "integer"
  10328. },
  10329. "buyinqty": {
  10330. "description": "采购入库量",
  10331. "type": "number"
  10332. },
  10333. "enumdicname": {
  10334. "description": "现货商品单位名称",
  10335. "type": "string"
  10336. },
  10337. "reckondate": {
  10338. "description": "日照时期(yyyyMMdd)",
  10339. "type": "string"
  10340. },
  10341. "selloutqty": {
  10342. "description": "销售出库量",
  10343. "type": "number"
  10344. },
  10345. "todaybuyreckonqty": {
  10346. "description": "采购确定量",
  10347. "type": "number"
  10348. },
  10349. "todaysellreckonqty": {
  10350. "description": "销售确定量",
  10351. "type": "number"
  10352. },
  10353. "totalbuypricedqty": {
  10354. "description": "采购定价量 = 期末 - 期初",
  10355. "type": "number"
  10356. },
  10357. "totalsellpricedqty": {
  10358. "description": "销售定价量 = 期末 - 期初",
  10359. "type": "number"
  10360. },
  10361. "wrstandardcode": {
  10362. "description": "现货商品代码",
  10363. "type": "string"
  10364. },
  10365. "wrstandardid": {
  10366. "description": "现货商品ID",
  10367. "type": "integer"
  10368. },
  10369. "wrstandardname": {
  10370. "description": "现货商品名称",
  10371. "type": "string"
  10372. }
  10373. }
  10374. },
  10375. "ermcp.QrySpotContractRsp": {
  10376. "type": "object",
  10377. "properties": {
  10378. "amount": {
  10379. "description": "金额 [1:一口价、3:暂定价]",
  10380. "type": "number"
  10381. },
  10382. "attachment": {
  10383. "description": "附件",
  10384. "type": "string"
  10385. },
  10386. "auditremark": {
  10387. "description": "审核意见",
  10388. "type": "string"
  10389. },
  10390. "audittime": {
  10391. "description": "审核时间",
  10392. "type": "string"
  10393. },
  10394. "brandname": {
  10395. "description": "品牌名称",
  10396. "type": "string"
  10397. },
  10398. "buyuserid": {
  10399. "description": "采购方ID",
  10400. "type": "integer"
  10401. },
  10402. "buyusername": {
  10403. "description": "采购方名称",
  10404. "type": "string"
  10405. },
  10406. "contracctstatus": {
  10407. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10408. "type": "integer"
  10409. },
  10410. "contractmargin": {
  10411. "description": "合同保证金",
  10412. "type": "number"
  10413. },
  10414. "contractno": {
  10415. "description": "现货合同编号",
  10416. "type": "string"
  10417. },
  10418. "contracttype": {
  10419. "description": "现货合同类型 - 1:采购 -1:销售",
  10420. "type": "integer"
  10421. },
  10422. "convertfactor": {
  10423. "description": "标仓系数",
  10424. "type": "number"
  10425. },
  10426. "createtime": {
  10427. "description": "创建时间",
  10428. "type": "string"
  10429. },
  10430. "deliveryenddate": {
  10431. "description": "交收期(结束)",
  10432. "type": "string"
  10433. },
  10434. "deliverygoodscode": {
  10435. "description": "现货品种代码",
  10436. "type": "string"
  10437. },
  10438. "deliverygoodsid": {
  10439. "description": "现货品种ID",
  10440. "type": "integer"
  10441. },
  10442. "deliverygoodsname": {
  10443. "description": "现货品种名称",
  10444. "type": "string"
  10445. },
  10446. "deliverystartdate": {
  10447. "description": "交收期(开始)",
  10448. "type": "string"
  10449. },
  10450. "enddate": {
  10451. "description": "点价结束日期 [2:点价 3:暂定价]",
  10452. "type": "string"
  10453. },
  10454. "enumdicname": {
  10455. "description": "单位名称",
  10456. "type": "string"
  10457. },
  10458. "goodscode": {
  10459. "description": "点价合约代码",
  10460. "type": "string"
  10461. },
  10462. "goodsid": {
  10463. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  10464. "type": "integer"
  10465. },
  10466. "goodsname": {
  10467. "description": "点价商品名称",
  10468. "type": "string"
  10469. },
  10470. "margin": {
  10471. "description": "当前保证金",
  10472. "type": "number"
  10473. },
  10474. "modelname": {
  10475. "description": "型号名称",
  10476. "type": "string"
  10477. },
  10478. "price": {
  10479. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  10480. "type": "number"
  10481. },
  10482. "pricemove": {
  10483. "description": "升贴水 [2:点价 3:暂定价]",
  10484. "type": "number"
  10485. },
  10486. "pricetype": {
  10487. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10488. "type": "integer"
  10489. },
  10490. "producttype": {
  10491. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10492. "type": "integer"
  10493. },
  10494. "qty": {
  10495. "description": "数量",
  10496. "type": "number"
  10497. },
  10498. "remark": {
  10499. "description": "备注",
  10500. "type": "string"
  10501. },
  10502. "selluserid": {
  10503. "description": "销售方ID",
  10504. "type": "integer"
  10505. },
  10506. "sellusername": {
  10507. "description": "销售方名称",
  10508. "type": "string"
  10509. },
  10510. "spotcontractid": {
  10511. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  10512. "type": "string"
  10513. },
  10514. "spotgoodsbrandid": {
  10515. "description": "现货品牌ID",
  10516. "type": "integer"
  10517. },
  10518. "spotgoodsdesc": {
  10519. "description": "商品型号",
  10520. "type": "string"
  10521. },
  10522. "spotgoodsmodelid": {
  10523. "description": "现货型号ID",
  10524. "type": "integer"
  10525. },
  10526. "startdate": {
  10527. "description": "点价开始日期 [2:点价 3:暂定价]",
  10528. "type": "string"
  10529. },
  10530. "updatetime": {
  10531. "description": "更新时间",
  10532. "type": "string"
  10533. },
  10534. "userid": {
  10535. "description": "机构ID",
  10536. "type": "integer"
  10537. },
  10538. "wrstandardcode": {
  10539. "description": "现货商品代码",
  10540. "type": "string"
  10541. },
  10542. "wrstandardid": {
  10543. "description": "现货商品ID",
  10544. "type": "integer"
  10545. },
  10546. "wrstandardname": {
  10547. "description": "现货商品名称",
  10548. "type": "string"
  10549. }
  10550. }
  10551. },
  10552. "ermcp.QryUserInfoRsp": {
  10553. "type": "object",
  10554. "properties": {
  10555. "address": {
  10556. "description": "通讯地址",
  10557. "type": "string"
  10558. },
  10559. "attachment1": {
  10560. "description": "附件1",
  10561. "type": "string"
  10562. },
  10563. "audittime": {
  10564. "description": "审核时间",
  10565. "type": "string"
  10566. },
  10567. "cardfrontphotourl": {
  10568. "description": "证件正面图片地址",
  10569. "type": "string"
  10570. },
  10571. "cardnum": {
  10572. "description": "证件号码",
  10573. "type": "string"
  10574. },
  10575. "cardtype": {
  10576. "description": "证件类型",
  10577. "type": "integer"
  10578. },
  10579. "cardtypename": {
  10580. "description": "证件类型名称",
  10581. "type": "string"
  10582. },
  10583. "cityid": {
  10584. "description": "市",
  10585. "type": "integer"
  10586. },
  10587. "countryid": {
  10588. "description": "国家",
  10589. "type": "integer"
  10590. },
  10591. "createtime": {
  10592. "description": "创建时间",
  10593. "type": "string"
  10594. },
  10595. "customername": {
  10596. "description": "企业名称",
  10597. "type": "string"
  10598. },
  10599. "memberuserid": {
  10600. "description": "所属机构ID",
  10601. "type": "integer"
  10602. },
  10603. "mobile": {
  10604. "description": "手机号码",
  10605. "type": "string"
  10606. },
  10607. "modifytime": {
  10608. "description": "修改时间",
  10609. "type": "string"
  10610. },
  10611. "provinceid": {
  10612. "description": "省",
  10613. "type": "integer"
  10614. },
  10615. "remark": {
  10616. "description": "备注",
  10617. "type": "string"
  10618. },
  10619. "status": {
  10620. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  10621. "type": "integer"
  10622. },
  10623. "statusdesc": {
  10624. "description": "账户状态中文描述",
  10625. "type": "string"
  10626. },
  10627. "telphone": {
  10628. "description": "联系电话",
  10629. "type": "string"
  10630. },
  10631. "userid": {
  10632. "description": "用户ID",
  10633. "type": "integer"
  10634. },
  10635. "userinfotype": {
  10636. "description": "客户类型",
  10637. "type": "string"
  10638. }
  10639. }
  10640. },
  10641. "ermcp.QryWarehouseRsp": {
  10642. "type": "object",
  10643. "properties": {
  10644. "address": {
  10645. "description": "详细地址",
  10646. "type": "string"
  10647. },
  10648. "areauserid": {
  10649. "description": "所属机构",
  10650. "type": "integer"
  10651. },
  10652. "autoid": {
  10653. "description": "自增ID(仓库ID)",
  10654. "type": "integer"
  10655. },
  10656. "cityid": {
  10657. "description": "市",
  10658. "type": "integer"
  10659. },
  10660. "contactname": {
  10661. "description": "联系人",
  10662. "type": "string"
  10663. },
  10664. "contactnum": {
  10665. "description": "联系电话",
  10666. "type": "string"
  10667. },
  10668. "countryid": {
  10669. "description": "国家",
  10670. "type": "integer"
  10671. },
  10672. "createtime": {
  10673. "description": "创建时间",
  10674. "type": "string"
  10675. },
  10676. "districtid": {
  10677. "description": "区",
  10678. "type": "integer"
  10679. },
  10680. "hasvideo": {
  10681. "description": "是否有视频 - 0:无 1:有",
  10682. "type": "integer"
  10683. },
  10684. "provinceid": {
  10685. "description": "省",
  10686. "type": "integer"
  10687. },
  10688. "remark": {
  10689. "description": "审核备注",
  10690. "type": "string"
  10691. },
  10692. "videourl": {
  10693. "description": "视频地址",
  10694. "type": "string"
  10695. },
  10696. "warehousecode": {
  10697. "description": "仓库代码",
  10698. "type": "string"
  10699. },
  10700. "warehousename": {
  10701. "description": "仓库名称",
  10702. "type": "string"
  10703. },
  10704. "warehousestatus": {
  10705. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  10706. "type": "integer"
  10707. },
  10708. "warehousetype": {
  10709. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10710. "type": "integer"
  10711. }
  10712. }
  10713. },
  10714. "ermcp.QryWrStandardDetailRsp": {
  10715. "type": "object",
  10716. "properties": {
  10717. "gbList": {
  10718. "description": "品牌列表",
  10719. "type": "array",
  10720. "items": {
  10721. "$ref": "#/definitions/models.GoodsBrand"
  10722. }
  10723. },
  10724. "goodsList": {
  10725. "description": "关联交易商品列表",
  10726. "type": "array",
  10727. "items": {
  10728. "$ref": "#/definitions/models.RelatedGoodsEx"
  10729. }
  10730. },
  10731. "gtList": {
  10732. "description": "型号列表",
  10733. "type": "array",
  10734. "items": {
  10735. "$ref": "#/definitions/models.GoodsTypeModel"
  10736. }
  10737. },
  10738. "wrd": {
  10739. "description": "基本信息",
  10740. "$ref": "#/definitions/models.ErmcpWrstandard"
  10741. },
  10742. "wrsList": {
  10743. "description": "套保信息列表",
  10744. "type": "array",
  10745. "items": {
  10746. "$ref": "#/definitions/models.WRSConverTDetail"
  10747. }
  10748. }
  10749. }
  10750. },
  10751. "ermcp.QryWrStandardRsp": {
  10752. "type": "object",
  10753. "properties": {
  10754. "areauserid": {
  10755. "description": "所属机构",
  10756. "type": "integer"
  10757. },
  10758. "createtime": {
  10759. "description": "创建时间",
  10760. "type": "string"
  10761. },
  10762. "creatorid": {
  10763. "description": "创建人",
  10764. "type": "integer"
  10765. },
  10766. "deliverygoodsid": {
  10767. "description": "品种ID",
  10768. "type": "integer"
  10769. },
  10770. "enumdicname": {
  10771. "description": "单位名称",
  10772. "type": "string"
  10773. },
  10774. "isvalid": {
  10775. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  10776. "type": "integer"
  10777. },
  10778. "minivalue": {
  10779. "description": "最小变动值",
  10780. "type": "integer"
  10781. },
  10782. "minivaluedp": {
  10783. "description": "最小变动值小数位",
  10784. "type": "integer"
  10785. },
  10786. "realminivalue": {
  10787. "description": "实际最小变动值",
  10788. "type": "integer"
  10789. },
  10790. "realminivaluedp": {
  10791. "description": "实际最小变动值小数位",
  10792. "type": "integer"
  10793. },
  10794. "remark": {
  10795. "description": "备注",
  10796. "type": "string"
  10797. },
  10798. "unitid": {
  10799. "description": "单位ID",
  10800. "type": "integer"
  10801. },
  10802. "updatetime": {
  10803. "description": "更新时间",
  10804. "type": "string"
  10805. },
  10806. "wrstandardcode": {
  10807. "description": "现货商品代码",
  10808. "type": "string"
  10809. },
  10810. "wrstandardid": {
  10811. "description": "现货商品ID(SEQ_WRSTANDARD)",
  10812. "type": "integer"
  10813. },
  10814. "wrstandardname": {
  10815. "description": "现货商品名称",
  10816. "type": "string"
  10817. }
  10818. }
  10819. },
  10820. "ermcp.QueryAreaStockApplySumRsp": {
  10821. "type": "object",
  10822. "properties": {
  10823. "brandname": {
  10824. "description": "品牌名称",
  10825. "type": "string"
  10826. },
  10827. "inouttype": {
  10828. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  10829. "type": "integer"
  10830. },
  10831. "modelname": {
  10832. "description": "型号名称",
  10833. "type": "string"
  10834. },
  10835. "spotcontractid": {
  10836. "description": "关联现货合同ID",
  10837. "type": "string"
  10838. },
  10839. "spotgoodsbrandid": {
  10840. "description": "品牌id",
  10841. "type": "integer"
  10842. },
  10843. "spotgoodsmodelid": {
  10844. "description": "型号id",
  10845. "type": "integer"
  10846. },
  10847. "totalqty": {
  10848. "description": "总数量",
  10849. "type": "number"
  10850. }
  10851. }
  10852. },
  10853. "ermcp.QueryErmcpTradePositionRsp": {
  10854. "type": "object",
  10855. "properties": {
  10856. "agreeunit": {
  10857. "description": "合约单位",
  10858. "type": "number"
  10859. },
  10860. "buyorsell": {
  10861. "description": "方向 - 0:买 1:卖",
  10862. "type": "integer"
  10863. },
  10864. "curpositionqty": {
  10865. "description": "持仓(总仓数量, 期末头寸)",
  10866. "type": "integer"
  10867. },
  10868. "curtdposition": {
  10869. "description": "今仓数量(期末今日头寸)",
  10870. "type": "integer"
  10871. },
  10872. "curtdpositionenabled": {
  10873. "description": "今仓可用",
  10874. "type": "integer"
  10875. },
  10876. "decimalplace": {
  10877. "description": "报价小数位",
  10878. "type": "integer"
  10879. },
  10880. "enableqty": {
  10881. "description": "可用(总仓可用)",
  10882. "type": "integer"
  10883. },
  10884. "exexchangename": {
  10885. "description": "外部交易所名称",
  10886. "type": "string"
  10887. },
  10888. "goodscode": {
  10889. "description": "商品代码(内部)",
  10890. "type": "string"
  10891. },
  10892. "goodsid": {
  10893. "description": "商品ID(自增ID SEQ_GOODS)",
  10894. "type": "integer"
  10895. },
  10896. "goodsname": {
  10897. "description": "商品名称",
  10898. "type": "string"
  10899. },
  10900. "last": {
  10901. "description": "现价",
  10902. "type": "number"
  10903. },
  10904. "marketid": {
  10905. "description": "所属市场ID",
  10906. "type": "integer"
  10907. },
  10908. "openaverageprice": {
  10909. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  10910. "type": "number"
  10911. },
  10912. "opencost": {
  10913. "description": "开仓成本",
  10914. "type": "number"
  10915. },
  10916. "openpl": {
  10917. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10918. "type": "number"
  10919. },
  10920. "outgoodscode": {
  10921. "description": "商品代码(外部)",
  10922. "type": "string"
  10923. },
  10924. "positionaverageprice": {
  10925. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  10926. "type": "number"
  10927. },
  10928. "positioncost": {
  10929. "description": "持仓成本",
  10930. "type": "number"
  10931. },
  10932. "positionpl": {
  10933. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10934. "type": "number"
  10935. },
  10936. "positionplrate": {
  10937. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  10938. "type": "number"
  10939. },
  10940. "usedmargin": {
  10941. "description": "占用保证金",
  10942. "type": "number"
  10943. }
  10944. }
  10945. },
  10946. "ermcp.RealtimeExposurePositionRsp": {
  10947. "type": "object",
  10948. "properties": {
  10949. "agreeunit": {
  10950. "description": "合约单位",
  10951. "type": "string"
  10952. },
  10953. "areauserid": {
  10954. "description": "所属机构id",
  10955. "type": "integer"
  10956. },
  10957. "convertratio": {
  10958. "description": "期货品种系数(折算系数)",
  10959. "type": "number"
  10960. },
  10961. "curqty": {
  10962. "description": "当前持仓",
  10963. "type": "integer"
  10964. },
  10965. "diffhedgeqty": {
  10966. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  10967. "type": "number"
  10968. },
  10969. "diffqty": {
  10970. "description": "持仓变动量=当前持仓-昨日持仓",
  10971. "type": "integer"
  10972. },
  10973. "goodscode": {
  10974. "description": "商品代码",
  10975. "type": "string"
  10976. },
  10977. "goodsid": {
  10978. "description": "商品id",
  10979. "type": "integer"
  10980. },
  10981. "goodsname": {
  10982. "description": "商品名称",
  10983. "type": "string"
  10984. },
  10985. "middlegoodsid": {
  10986. "description": "套保商品id",
  10987. "type": "integer"
  10988. },
  10989. "ydqty": {
  10990. "description": "昨日持仓",
  10991. "type": "integer"
  10992. }
  10993. }
  10994. },
  10995. "ermcp.RealtimeExposureRsp": {
  10996. "type": "object",
  10997. "properties": {
  10998. "areaUserID": {
  10999. "description": "所属机构",
  11000. "type": "integer"
  11001. },
  11002. "buyFutureQty": {
  11003. "description": "买入期货数量",
  11004. "type": "number"
  11005. },
  11006. "buyPlanQty": {
  11007. "description": "采购计划数量",
  11008. "type": "number"
  11009. },
  11010. "buyPricedQty": {
  11011. "description": "采购合同已定价数量",
  11012. "type": "number"
  11013. },
  11014. "diffFutuQty": {
  11015. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  11016. "type": "number"
  11017. },
  11018. "diffSpotQty": {
  11019. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  11020. "type": "number"
  11021. },
  11022. "enumdicname": {
  11023. "description": "单位名称",
  11024. "type": "string"
  11025. },
  11026. "middleGoodsCode": {
  11027. "description": "套保品种代码",
  11028. "type": "string"
  11029. },
  11030. "middleGoodsHedgeRatio": {
  11031. "description": "应套保比例",
  11032. "type": "number"
  11033. },
  11034. "middleGoodsID": {
  11035. "description": "套保品种",
  11036. "type": "integer"
  11037. },
  11038. "middleGoodsName": {
  11039. "description": "套保品种名称",
  11040. "type": "string"
  11041. },
  11042. "needHedgeExposoure": {
  11043. "description": "应套保敞口",
  11044. "type": "number"
  11045. },
  11046. "needHedgeRatio": {
  11047. "description": "应套保敞口比例",
  11048. "type": "number"
  11049. },
  11050. "oriBuyFutureQty": {
  11051. "description": "期初买入期货数量",
  11052. "type": "number"
  11053. },
  11054. "oriBuyPlanQty": {
  11055. "description": "期初采购计划数量",
  11056. "type": "number"
  11057. },
  11058. "oriBuyPricedQty": {
  11059. "description": "期初采购合同已定价数量",
  11060. "type": "number"
  11061. },
  11062. "oriSellFutureQty": {
  11063. "description": "期初卖出期货数量",
  11064. "type": "number"
  11065. },
  11066. "oriSellPlanQty": {
  11067. "description": "期初销售计划数量",
  11068. "type": "number"
  11069. },
  11070. "oriSellPricedQty": {
  11071. "description": "期初销售合同已定价数量",
  11072. "type": "number"
  11073. },
  11074. "oriTotalFutuQty": {
  11075. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  11076. "type": "number"
  11077. },
  11078. "oriTotalSpotQty": {
  11079. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  11080. "type": "number"
  11081. },
  11082. "sellFutureQty": {
  11083. "description": "卖出期货数量",
  11084. "type": "number"
  11085. },
  11086. "sellPlanQty": {
  11087. "description": "销售计划数量",
  11088. "type": "number"
  11089. },
  11090. "sellPricedQty": {
  11091. "description": "销售合同已定价数量",
  11092. "type": "number"
  11093. },
  11094. "totalExposure": {
  11095. "description": "总敞口",
  11096. "type": "number"
  11097. },
  11098. "totalFutureQty": {
  11099. "description": "期货数量",
  11100. "type": "number"
  11101. },
  11102. "totalHedgeRatio": {
  11103. "description": "敞口比例",
  11104. "type": "number"
  11105. },
  11106. "totalNeedHedgeQty": {
  11107. "description": "期货应套保量",
  11108. "type": "number"
  11109. },
  11110. "totalSpotQty": {
  11111. "description": "现货数量",
  11112. "type": "number"
  11113. }
  11114. }
  11115. },
  11116. "erms2.QueryArbitrageStrategyRsp": {
  11117. "type": "object",
  11118. "required": [
  11119. "asapplyid"
  11120. ],
  11121. "properties": {
  11122. "applybasis": {
  11123. "description": "申请基差",
  11124. "type": "number"
  11125. },
  11126. "asapplyid": {
  11127. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11128. "type": "string"
  11129. },
  11130. "asname": {
  11131. "description": "策略名称",
  11132. "type": "string"
  11133. },
  11134. "asno": {
  11135. "description": "策略编号",
  11136. "type": "string"
  11137. },
  11138. "basischangepl": {
  11139. "description": "基差变动损益[结算更新]",
  11140. "type": "number"
  11141. },
  11142. "biztype": {
  11143. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11144. "type": "integer"
  11145. },
  11146. "closetradedate": {
  11147. "description": "完结交易日(yyyyMMdd)",
  11148. "type": "string"
  11149. },
  11150. "curbasis": {
  11151. "description": "当前基差[结算更新]",
  11152. "type": "number"
  11153. },
  11154. "deliverygoodsid": {
  11155. "description": "现货品种ID",
  11156. "type": "integer"
  11157. },
  11158. "futureavgprice": {
  11159. "description": "期货建仓均价",
  11160. "type": "number"
  11161. },
  11162. "futurecloseamount": {
  11163. "description": "期货平仓金额",
  11164. "type": "number"
  11165. },
  11166. "futurecloseqty": {
  11167. "description": "期货平仓数量",
  11168. "type": "number"
  11169. },
  11170. "futureopenamount": {
  11171. "description": "期货开仓金额",
  11172. "type": "number"
  11173. },
  11174. "futureopenqty": {
  11175. "description": "期货开仓数量",
  11176. "type": "number"
  11177. },
  11178. "futurepl": {
  11179. "description": "期货总盈亏[结算更新]",
  11180. "type": "number"
  11181. },
  11182. "futureqty": {
  11183. "description": "期货持仓数量",
  11184. "type": "number"
  11185. },
  11186. "futurequote": {
  11187. "description": "期货额度",
  11188. "type": "number"
  11189. },
  11190. "goodsgroupid": {
  11191. "description": "期货品种ID",
  11192. "type": "integer"
  11193. },
  11194. "marketid": {
  11195. "description": "市场ID",
  11196. "type": "integer"
  11197. },
  11198. "netexposure": {
  11199. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11200. "type": "number"
  11201. },
  11202. "netexposurepl": {
  11203. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11204. "type": "number"
  11205. },
  11206. "netexposurerate": {
  11207. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11208. "type": "number"
  11209. },
  11210. "openbasis": {
  11211. "description": "建仓基差",
  11212. "type": "number"
  11213. },
  11214. "pricedspotqty": {
  11215. "description": "已定价现货数量",
  11216. "type": "number"
  11217. },
  11218. "pricedspotqtynotax": {
  11219. "description": "已定价现货不含税数量",
  11220. "type": "number"
  11221. },
  11222. "remark": {
  11223. "description": "备注",
  11224. "type": "string"
  11225. },
  11226. "spotavgprice": {
  11227. "description": "现货均价",
  11228. "type": "number"
  11229. },
  11230. "spotbuyamount": {
  11231. "description": "现货采购金额",
  11232. "type": "number"
  11233. },
  11234. "spotbuyqty": {
  11235. "description": "现货采购数量",
  11236. "type": "number"
  11237. },
  11238. "spotpl": {
  11239. "description": "现货总盈亏[结算更新]",
  11240. "type": "number"
  11241. },
  11242. "spotquota": {
  11243. "description": "现货额度",
  11244. "type": "number"
  11245. },
  11246. "spotsellamount": {
  11247. "description": "现货销售金额",
  11248. "type": "number"
  11249. },
  11250. "spotsellqty": {
  11251. "description": "现货销售数量",
  11252. "type": "number"
  11253. },
  11254. "spotusedquota": {
  11255. "description": "现货占用资金",
  11256. "type": "number"
  11257. },
  11258. "strategystatus": {
  11259. "description": "策略状态 - 0:未结束 1:已结束",
  11260. "type": "integer"
  11261. },
  11262. "totalpl": {
  11263. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11264. "type": "number"
  11265. },
  11266. "tradedate": {
  11267. "description": "交易日(yyyyMMdd)",
  11268. "type": "string"
  11269. },
  11270. "updatetime": {
  11271. "description": "更新时间",
  11272. "type": "string"
  11273. },
  11274. "usedquota": {
  11275. "description": "已占用资金",
  11276. "type": "number"
  11277. },
  11278. "userid": {
  11279. "description": "所属机构",
  11280. "type": "integer"
  11281. }
  11282. }
  11283. },
  11284. "erms2.QueryInnerTradeDetailRsp": {
  11285. "type": "object",
  11286. "required": [
  11287. "asapplyid",
  11288. "buyorsell",
  11289. "goodscode",
  11290. "goodsgroupid",
  11291. "goodsgroupname",
  11292. "goodsname",
  11293. "tradeid"
  11294. ],
  11295. "properties": {
  11296. "accountid": {
  11297. "description": "账号ID",
  11298. "type": "integer"
  11299. },
  11300. "agreeunit": {
  11301. "description": "合约单位",
  11302. "type": "number"
  11303. },
  11304. "asapplyid": {
  11305. "description": "策略申请ID",
  11306. "type": "integer"
  11307. },
  11308. "asname": {
  11309. "description": "策略名称",
  11310. "type": "string"
  11311. },
  11312. "asno": {
  11313. "description": "策略编号",
  11314. "type": "string"
  11315. },
  11316. "buyorsell": {
  11317. "description": "方向 - 0:买 1:卖",
  11318. "type": "integer"
  11319. },
  11320. "channelbuildtype": {
  11321. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11322. "type": "integer"
  11323. },
  11324. "closetype": {
  11325. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11326. "type": "integer"
  11327. },
  11328. "decimalplace": {
  11329. "description": "报价小数位",
  11330. "type": "integer"
  11331. },
  11332. "detailtype": {
  11333. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  11334. "type": "integer"
  11335. },
  11336. "exexchangecode": {
  11337. "description": "外部交易所代码",
  11338. "type": "string"
  11339. },
  11340. "exexchangename": {
  11341. "description": "外部交易所名称",
  11342. "type": "string"
  11343. },
  11344. "goodscode": {
  11345. "description": "商品代码(合约)",
  11346. "type": "string"
  11347. },
  11348. "goodsgroupid": {
  11349. "description": "商品组ID(品种ID)",
  11350. "type": "integer"
  11351. },
  11352. "goodsgroupname": {
  11353. "description": "商品组名称(品种)",
  11354. "type": "string"
  11355. },
  11356. "goodsid": {
  11357. "description": "商品ID",
  11358. "type": "integer"
  11359. },
  11360. "goodsname": {
  11361. "description": "商品名称(合约)",
  11362. "type": "string"
  11363. },
  11364. "goodunit": {
  11365. "description": "报价单位",
  11366. "type": "string"
  11367. },
  11368. "marketid": {
  11369. "description": "市场ID",
  11370. "type": "integer"
  11371. },
  11372. "orderid": {
  11373. "description": "委托单号",
  11374. "type": "string"
  11375. },
  11376. "outgoodscode": {
  11377. "description": "商品代码(外部)",
  11378. "type": "string"
  11379. },
  11380. "relatedouttradeid": {
  11381. "description": "关联外部成交单ID",
  11382. "type": "string"
  11383. },
  11384. "remark": {
  11385. "description": "备注",
  11386. "type": "string"
  11387. },
  11388. "spotcontractid": {
  11389. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  11390. "type": "integer"
  11391. },
  11392. "spotcontractno": {
  11393. "description": "现货合同编号",
  11394. "type": "string"
  11395. },
  11396. "tradeid": {
  11397. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11398. "type": "string"
  11399. },
  11400. "tradeprice": {
  11401. "description": "成交价格",
  11402. "type": "number"
  11403. },
  11404. "tradeqty": {
  11405. "description": "成交数量",
  11406. "type": "integer"
  11407. },
  11408. "tradetime": {
  11409. "description": "成交时间",
  11410. "type": "string"
  11411. },
  11412. "updatetime": {
  11413. "description": "更新时间",
  11414. "type": "string"
  11415. }
  11416. }
  11417. },
  11418. "erms2.QuerySpotContractRsp": {
  11419. "type": "object",
  11420. "required": [
  11421. "spotcontractid"
  11422. ],
  11423. "properties": {
  11424. "accountid": {
  11425. "description": "资金账户ID",
  11426. "type": "integer"
  11427. },
  11428. "areauserid": {
  11429. "description": "所属机构",
  11430. "type": "integer"
  11431. },
  11432. "closedate": {
  11433. "description": "终止日期",
  11434. "type": "string"
  11435. },
  11436. "closeremark": {
  11437. "description": "结束备注",
  11438. "type": "string"
  11439. },
  11440. "closetradedate": {
  11441. "description": "完结交易日(yyyyMMdd)",
  11442. "type": "string"
  11443. },
  11444. "closetype": {
  11445. "description": "终止类型 - 1:违约 2:提前终止",
  11446. "type": "integer"
  11447. },
  11448. "contractamount": {
  11449. "description": "合同金额",
  11450. "type": "number"
  11451. },
  11452. "contractattachment": {
  11453. "description": "合同附件",
  11454. "type": "string"
  11455. },
  11456. "contractno": {
  11457. "description": "现货合同编号",
  11458. "type": "string"
  11459. },
  11460. "contractqty": {
  11461. "description": "合同数量(数值) (用于计算)",
  11462. "type": "number"
  11463. },
  11464. "contractqtychar": {
  11465. "description": "合同数量\\已订价数量 (用于显示)",
  11466. "type": "string"
  11467. },
  11468. "contractstatus": {
  11469. "description": "合同状态 - 0:未结束 1:已结束",
  11470. "type": "integer"
  11471. },
  11472. "contracttype": {
  11473. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  11474. "type": "integer"
  11475. },
  11476. "customeraccountid": {
  11477. "description": "客户资金账户ID",
  11478. "type": "integer"
  11479. },
  11480. "customeruserid": {
  11481. "description": "客户ID",
  11482. "type": "integer"
  11483. },
  11484. "deliverygoodsdesc": {
  11485. "description": "品种说明",
  11486. "type": "string"
  11487. },
  11488. "deliverygoodsid": {
  11489. "description": "现货品种ID",
  11490. "type": "integer"
  11491. },
  11492. "handlestatus": {
  11493. "description": "处理状态",
  11494. "type": "integer"
  11495. },
  11496. "invoiceatt": {
  11497. "description": "发票附件",
  11498. "type": "string"
  11499. },
  11500. "invoicedatetime": {
  11501. "description": "开收票更新时间",
  11502. "type": "string"
  11503. },
  11504. "invoiceopentime": {
  11505. "description": "开票时间",
  11506. "type": "string"
  11507. },
  11508. "invoiceremark": {
  11509. "description": "发票备注",
  11510. "type": "string"
  11511. },
  11512. "invoicestatus": {
  11513. "description": "开收票状态 - 0:未开票 1:已开票",
  11514. "type": "integer"
  11515. },
  11516. "lastdate": {
  11517. "description": "交货时间",
  11518. "type": "string"
  11519. },
  11520. "marketid": {
  11521. "description": "市场ID",
  11522. "type": "integer"
  11523. },
  11524. "paydatetime": {
  11525. "description": "收付款更新时间",
  11526. "type": "string"
  11527. },
  11528. "payremark": {
  11529. "description": "收付款备注",
  11530. "type": "string"
  11531. },
  11532. "paystatus": {
  11533. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  11534. "type": "integer"
  11535. },
  11536. "positionqty": {
  11537. "description": "头寸数量 - 合同数量去小数部分",
  11538. "type": "integer"
  11539. },
  11540. "producttype": {
  11541. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11542. "type": "integer"
  11543. },
  11544. "relatedqty": {
  11545. "description": "已关联数量",
  11546. "type": "number"
  11547. },
  11548. "relatedstatus": {
  11549. "description": "关联完结状态 - 0:未结束 1:已结束",
  11550. "type": "integer"
  11551. },
  11552. "remark": {
  11553. "description": "备注",
  11554. "type": "string"
  11555. },
  11556. "signdate": {
  11557. "description": "签订日期",
  11558. "type": "string"
  11559. },
  11560. "spotcontractid": {
  11561. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  11562. "type": "string"
  11563. },
  11564. "spotdatetime": {
  11565. "description": "收发货更新时间",
  11566. "type": "string"
  11567. },
  11568. "spotprice": {
  11569. "description": "价格",
  11570. "type": "number"
  11571. },
  11572. "spotremark": {
  11573. "description": "收发货备注",
  11574. "type": "string"
  11575. },
  11576. "spotstatus": {
  11577. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  11578. "type": "integer"
  11579. },
  11580. "tradedate": {
  11581. "description": "交易日(yyyyMMdd)",
  11582. "type": "string"
  11583. },
  11584. "userid": {
  11585. "description": "业务员用户ID",
  11586. "type": "integer"
  11587. },
  11588. "warehouseid": {
  11589. "description": "仓库ID",
  11590. "type": "integer"
  11591. },
  11592. "wrfactortypeid": {
  11593. "description": "仓单要素类型ID",
  11594. "type": "integer"
  11595. },
  11596. "wrstandardid": {
  11597. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11598. "type": "integer"
  11599. }
  11600. }
  11601. },
  11602. "erms3.AddErms2ASApplyReq": {
  11603. "type": "object",
  11604. "required": [
  11605. "asapplyid"
  11606. ],
  11607. "properties": {
  11608. "applybasis": {
  11609. "description": "申请基差",
  11610. "type": "number"
  11611. },
  11612. "applystatus": {
  11613. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11614. "type": "integer"
  11615. },
  11616. "asapplyid": {
  11617. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  11618. "type": "integer"
  11619. },
  11620. "asname": {
  11621. "description": "策略名称",
  11622. "type": "string"
  11623. },
  11624. "asno": {
  11625. "description": "策略编号",
  11626. "type": "string"
  11627. },
  11628. "auditid": {
  11629. "description": "审核人",
  11630. "type": "integer"
  11631. },
  11632. "auditremark": {
  11633. "description": "审核备注",
  11634. "type": "string"
  11635. },
  11636. "audittime": {
  11637. "description": "审核时间",
  11638. "type": "string"
  11639. },
  11640. "biztype": {
  11641. "description": "业务类型 - 1:正向套利 2:反向套利",
  11642. "type": "integer"
  11643. },
  11644. "createtime": {
  11645. "description": "创建时间",
  11646. "type": "string"
  11647. },
  11648. "creatorid": {
  11649. "description": "创建人",
  11650. "type": "integer"
  11651. },
  11652. "deliverygoodsid": {
  11653. "description": "现货品种ID",
  11654. "type": "integer"
  11655. },
  11656. "futurequote": {
  11657. "description": "期货额度",
  11658. "type": "number"
  11659. },
  11660. "goodsgroupid": {
  11661. "description": "期货品种ID",
  11662. "type": "integer"
  11663. },
  11664. "marketid": {
  11665. "description": "市场ID",
  11666. "type": "integer"
  11667. },
  11668. "remark": {
  11669. "description": "备注",
  11670. "type": "string"
  11671. },
  11672. "spotquota": {
  11673. "description": "现货额度",
  11674. "type": "number"
  11675. },
  11676. "tradedate": {
  11677. "description": "交易日(yyyyMMdd)",
  11678. "type": "string"
  11679. },
  11680. "userid": {
  11681. "description": "所属机构",
  11682. "type": "integer"
  11683. }
  11684. }
  11685. },
  11686. "erms3.AddErms2SpotTradeApplyReq": {
  11687. "type": "object",
  11688. "required": [
  11689. "spottradeid"
  11690. ],
  11691. "properties": {
  11692. "applyjsondetail": {
  11693. "description": "申请明细(JSON)",
  11694. "type": "string"
  11695. },
  11696. "applystatus": {
  11697. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11698. "type": "integer"
  11699. },
  11700. "areauserid": {
  11701. "description": "所属机构",
  11702. "type": "integer"
  11703. },
  11704. "auditid": {
  11705. "description": "审核人",
  11706. "type": "integer"
  11707. },
  11708. "auditremark": {
  11709. "description": "审核备注",
  11710. "type": "string"
  11711. },
  11712. "audittime": {
  11713. "description": "审核时间",
  11714. "type": "string"
  11715. },
  11716. "createtime": {
  11717. "description": "创建时间",
  11718. "type": "string"
  11719. },
  11720. "creatorid": {
  11721. "description": "创建人",
  11722. "type": "integer"
  11723. },
  11724. "deliverygoodsid": {
  11725. "description": "现货品种ID",
  11726. "type": "integer"
  11727. },
  11728. "futureaccountid": {
  11729. "description": "期货资金账户",
  11730. "type": "integer"
  11731. },
  11732. "goodsgroupid": {
  11733. "description": "期货品种",
  11734. "type": "integer"
  11735. },
  11736. "marketid": {
  11737. "description": "市场ID",
  11738. "type": "integer"
  11739. },
  11740. "remark": {
  11741. "description": "备注",
  11742. "type": "string"
  11743. },
  11744. "spotaccountid": {
  11745. "description": "现货资金账户",
  11746. "type": "integer"
  11747. },
  11748. "spottradeid": {
  11749. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  11750. "type": "integer"
  11751. },
  11752. "spottradename": {
  11753. "description": "业务名称",
  11754. "type": "string"
  11755. },
  11756. "spottradeno": {
  11757. "description": "业务编号",
  11758. "type": "string"
  11759. },
  11760. "tradedate": {
  11761. "description": "交易日(yyyyMMdd)",
  11762. "type": "string"
  11763. },
  11764. "wrstandardid": {
  11765. "description": "仓单标准ID",
  11766. "type": "integer"
  11767. }
  11768. }
  11769. },
  11770. "erms3.AddSpotContractApplyReq": {
  11771. "type": "object",
  11772. "required": [
  11773. "accountid",
  11774. "areauserid",
  11775. "contractno",
  11776. "contracttype",
  11777. "customeraccountid",
  11778. "customeruserid",
  11779. "details",
  11780. "orimargin",
  11781. "signdate"
  11782. ],
  11783. "properties": {
  11784. "accountid": {
  11785. "description": "资金账户ID",
  11786. "type": "integer"
  11787. },
  11788. "areauserid": {
  11789. "description": "所属机构",
  11790. "type": "integer"
  11791. },
  11792. "contractattachment": {
  11793. "description": "合同附件",
  11794. "type": "string"
  11795. },
  11796. "contractno": {
  11797. "description": "现货合同编号",
  11798. "type": "string"
  11799. },
  11800. "contracttype": {
  11801. "description": "现货合同类型 - 1:采购 -1:销售",
  11802. "type": "integer"
  11803. },
  11804. "creatorid": {
  11805. "description": "申请人",
  11806. "type": "integer"
  11807. },
  11808. "customeraccountid": {
  11809. "description": "客户资金账户ID",
  11810. "type": "integer"
  11811. },
  11812. "customeruserid": {
  11813. "description": "客户ID",
  11814. "type": "integer"
  11815. },
  11816. "details": {
  11817. "description": "明细",
  11818. "type": "array",
  11819. "items": {
  11820. "$ref": "#/definitions/erms3.SoptContractDetail"
  11821. }
  11822. },
  11823. "orimargin": {
  11824. "description": "初始保证金",
  11825. "type": "number"
  11826. },
  11827. "remark": {
  11828. "description": "备注",
  11829. "type": "string"
  11830. },
  11831. "signdate": {
  11832. "description": "签订日期",
  11833. "type": "string"
  11834. }
  11835. }
  11836. },
  11837. "erms3.AddSpotContractApplyRsp": {
  11838. "type": "object",
  11839. "required": [
  11840. "contractno"
  11841. ],
  11842. "properties": {
  11843. "contractno": {
  11844. "description": "现货合同编号",
  11845. "type": "string"
  11846. },
  11847. "spotcontractid": {
  11848. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  11849. "type": "integer"
  11850. }
  11851. }
  11852. },
  11853. "erms3.AddUserInfoApplyReq": {
  11854. "type": "object",
  11855. "required": [
  11856. "userid"
  11857. ],
  11858. "properties": {
  11859. "accountid": {
  11860. "description": "交易系统帐号Id (加密存储)",
  11861. "type": "integer"
  11862. },
  11863. "areacode": {
  11864. "description": "机构代码",
  11865. "type": "string"
  11866. },
  11867. "areaid": {
  11868. "description": "机构Id",
  11869. "type": "integer"
  11870. },
  11871. "attachment1": {
  11872. "description": "附件1",
  11873. "type": "string"
  11874. },
  11875. "attachment2": {
  11876. "description": "附件2",
  11877. "type": "string"
  11878. },
  11879. "attachment3": {
  11880. "description": "附件3",
  11881. "type": "string"
  11882. },
  11883. "attachment4": {
  11884. "description": "附件4",
  11885. "type": "string"
  11886. },
  11887. "attachment5": {
  11888. "description": "附件5",
  11889. "type": "string"
  11890. },
  11891. "auditedby": {
  11892. "description": "审核人",
  11893. "type": "string"
  11894. },
  11895. "auditime": {
  11896. "description": "审核时间",
  11897. "type": "string"
  11898. },
  11899. "bankaccount": {
  11900. "description": "银行帐号 (加密存储)",
  11901. "type": "string"
  11902. },
  11903. "bankaccountname": {
  11904. "description": "收款人名称",
  11905. "type": "string"
  11906. },
  11907. "bankcardbackphotourl": {
  11908. "description": "银行卡背面照地址",
  11909. "type": "string"
  11910. },
  11911. "bankcardfrontphotourl": {
  11912. "description": "银行卡正面照地址",
  11913. "type": "string"
  11914. },
  11915. "bankid": {
  11916. "description": "银行编码",
  11917. "type": "string"
  11918. },
  11919. "bankname": {
  11920. "description": "银行名称",
  11921. "type": "string"
  11922. },
  11923. "bankpictureurl": {
  11924. "description": "银行卡正面地址",
  11925. "type": "string"
  11926. },
  11927. "biznature": {
  11928. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11929. "type": "integer"
  11930. },
  11931. "bizscope": {
  11932. "description": "企业经营范围(企业)",
  11933. "type": "string"
  11934. },
  11935. "biztype": {
  11936. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11937. "type": "integer"
  11938. },
  11939. "brokerid": {
  11940. "description": "经纪人ID(加密存储)",
  11941. "type": "string"
  11942. },
  11943. "cardaddress": {
  11944. "description": "证件地址 (加密存储)",
  11945. "type": "string"
  11946. },
  11947. "cardbackphotourl": {
  11948. "description": "背面证件照地址",
  11949. "type": "string"
  11950. },
  11951. "cardfrontphotourl": {
  11952. "description": "正面证件照地址",
  11953. "type": "string"
  11954. },
  11955. "cardnum": {
  11956. "description": "证件号码 (加密存储)",
  11957. "type": "string"
  11958. },
  11959. "cardtype": {
  11960. "description": "证件类型",
  11961. "type": "integer"
  11962. },
  11963. "cityid": {
  11964. "description": "市",
  11965. "type": "integer"
  11966. },
  11967. "company": {
  11968. "description": "公司(个人)",
  11969. "type": "string"
  11970. },
  11971. "contactcardbackphotourl": {
  11972. "description": "联系人证件背面图片地址",
  11973. "type": "string"
  11974. },
  11975. "contactcardfrontphotourl": {
  11976. "description": "联系人证件正面图片地址",
  11977. "type": "string"
  11978. },
  11979. "contactname": {
  11980. "description": "联系人",
  11981. "type": "string"
  11982. },
  11983. "countryid": {
  11984. "description": "国家",
  11985. "type": "integer"
  11986. },
  11987. "createtime": {
  11988. "description": "开户申请时间",
  11989. "type": "string"
  11990. },
  11991. "cusbankid": {
  11992. "description": "签约类型",
  11993. "type": "string"
  11994. },
  11995. "cusbankname": {
  11996. "description": "签约类型名称",
  11997. "type": "string"
  11998. },
  11999. "customername": {
  12000. "description": "客户名称(企业名称)",
  12001. "type": "string"
  12002. },
  12003. "districtid": {
  12004. "description": "地区",
  12005. "type": "integer"
  12006. },
  12007. "email": {
  12008. "description": "Email地址(加密存储)",
  12009. "type": "string"
  12010. },
  12011. "halfbodyphotourl": {
  12012. "description": "半身照地址",
  12013. "type": "string"
  12014. },
  12015. "headurl": {
  12016. "description": "头像地址",
  12017. "type": "string"
  12018. },
  12019. "ipaddress": {
  12020. "description": "IP地址",
  12021. "type": "string"
  12022. },
  12023. "isvalidate": {
  12024. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12025. "type": "string"
  12026. },
  12027. "legalcardbackphotourl": {
  12028. "description": "法人身份证背面照地址",
  12029. "type": "string"
  12030. },
  12031. "legalcardfrontphotourl": {
  12032. "description": "法人身份证正面照地址",
  12033. "type": "string"
  12034. },
  12035. "legalpersonname": {
  12036. "description": "法人姓名(企业)",
  12037. "type": "string"
  12038. },
  12039. "logincode": {
  12040. "description": "登录帐号 (加密存储)",
  12041. "type": "string"
  12042. },
  12043. "memberareaid": {
  12044. "description": "所属会员ID",
  12045. "type": "integer"
  12046. },
  12047. "mobile2": {
  12048. "description": "手机号码[明文-尚志]",
  12049. "type": "string"
  12050. },
  12051. "mobilephone": {
  12052. "description": "手机号码 (加密存储)",
  12053. "type": "string"
  12054. },
  12055. "modifiedby": {
  12056. "description": "修改人帐号",
  12057. "type": "integer"
  12058. },
  12059. "modifiedtime": {
  12060. "description": "修改时间",
  12061. "type": "string"
  12062. },
  12063. "nickname": {
  12064. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12065. "type": "string"
  12066. },
  12067. "openmode": {
  12068. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12069. "type": "integer"
  12070. },
  12071. "otherurl": {
  12072. "description": "其它图片地址[使用分号分隔]",
  12073. "type": "string"
  12074. },
  12075. "postalcode": {
  12076. "description": "邮政编码",
  12077. "type": "string"
  12078. },
  12079. "provinceid": {
  12080. "description": "省",
  12081. "type": "integer"
  12082. },
  12083. "proxystatementurl": {
  12084. "description": "授权委托书",
  12085. "type": "string"
  12086. },
  12087. "qq": {
  12088. "description": "QQ(加密存储",
  12089. "type": "string"
  12090. },
  12091. "referral": {
  12092. "description": "推荐人编码",
  12093. "type": "string"
  12094. },
  12095. "remark": {
  12096. "description": "备注",
  12097. "type": "string"
  12098. },
  12099. "removebeforestatus": {
  12100. "description": "REMOVEBEFORESTATUS",
  12101. "type": "integer"
  12102. },
  12103. "sex": {
  12104. "description": "性别 - 0:女 1:男",
  12105. "type": "integer"
  12106. },
  12107. "signedstatus": {
  12108. "description": "账户一号签签约状态",
  12109. "type": "integer"
  12110. },
  12111. "signpdfurl": {
  12112. "description": "签约pdf文件",
  12113. "type": "string"
  12114. },
  12115. "subbranch": {
  12116. "description": "开户支行",
  12117. "type": "string"
  12118. },
  12119. "telphone": {
  12120. "description": "联系电话(加密存储)",
  12121. "type": "string"
  12122. },
  12123. "userid": {
  12124. "description": "用户ID(自增ID)",
  12125. "type": "integer"
  12126. },
  12127. "userinfotype": {
  12128. "description": "用户信息类型 - 1:个人 2:企业",
  12129. "type": "integer"
  12130. },
  12131. "username": {
  12132. "description": "用户姓名",
  12133. "type": "string"
  12134. },
  12135. "userstate": {
  12136. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12137. "type": "integer"
  12138. },
  12139. "usertype": {
  12140. "description": "用户类型 - 1:投资者 2:机构",
  12141. "type": "integer"
  12142. },
  12143. "videourl": {
  12144. "description": "视频地址",
  12145. "type": "string"
  12146. },
  12147. "wechat": {
  12148. "description": "微信号 (加密存储)",
  12149. "type": "string"
  12150. }
  12151. }
  12152. },
  12153. "erms3.CustomerInfo": {
  12154. "type": "object",
  12155. "required": [
  12156. "userid"
  12157. ],
  12158. "properties": {
  12159. "accountids": {
  12160. "description": "资金账户ID列表",
  12161. "type": "array",
  12162. "items": {
  12163. "type": "integer"
  12164. }
  12165. },
  12166. "customername": {
  12167. "description": "名称(企业名称)",
  12168. "type": "string"
  12169. },
  12170. "mobile": {
  12171. "description": "手机号码",
  12172. "type": "string"
  12173. },
  12174. "userid": {
  12175. "description": "用户ID",
  12176. "type": "integer"
  12177. }
  12178. }
  12179. },
  12180. "erms3.ModifyUserInfoApplyReq": {
  12181. "type": "object",
  12182. "required": [
  12183. "userid"
  12184. ],
  12185. "properties": {
  12186. "accountid": {
  12187. "description": "交易系统帐号Id (加密存储)",
  12188. "type": "integer"
  12189. },
  12190. "areacode": {
  12191. "description": "机构代码",
  12192. "type": "string"
  12193. },
  12194. "areaid": {
  12195. "description": "机构Id",
  12196. "type": "integer"
  12197. },
  12198. "attachment1": {
  12199. "description": "附件1",
  12200. "type": "string"
  12201. },
  12202. "attachment2": {
  12203. "description": "附件2",
  12204. "type": "string"
  12205. },
  12206. "attachment3": {
  12207. "description": "附件3",
  12208. "type": "string"
  12209. },
  12210. "attachment4": {
  12211. "description": "附件4",
  12212. "type": "string"
  12213. },
  12214. "attachment5": {
  12215. "description": "附件5",
  12216. "type": "string"
  12217. },
  12218. "auditedby": {
  12219. "description": "审核人",
  12220. "type": "string"
  12221. },
  12222. "auditime": {
  12223. "description": "审核时间",
  12224. "type": "string"
  12225. },
  12226. "bankaccount": {
  12227. "description": "银行帐号 (加密存储)",
  12228. "type": "string"
  12229. },
  12230. "bankaccountname": {
  12231. "description": "收款人名称",
  12232. "type": "string"
  12233. },
  12234. "bankcardbackphotourl": {
  12235. "description": "银行卡背面照地址",
  12236. "type": "string"
  12237. },
  12238. "bankcardfrontphotourl": {
  12239. "description": "银行卡正面照地址",
  12240. "type": "string"
  12241. },
  12242. "bankid": {
  12243. "description": "银行编码",
  12244. "type": "string"
  12245. },
  12246. "bankname": {
  12247. "description": "银行名称",
  12248. "type": "string"
  12249. },
  12250. "bankpictureurl": {
  12251. "description": "银行卡正面地址",
  12252. "type": "string"
  12253. },
  12254. "biznature": {
  12255. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12256. "type": "integer"
  12257. },
  12258. "bizscope": {
  12259. "description": "企业经营范围(企业)",
  12260. "type": "string"
  12261. },
  12262. "biztype": {
  12263. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12264. "type": "integer"
  12265. },
  12266. "brokerid": {
  12267. "description": "经纪人ID(加密存储)",
  12268. "type": "string"
  12269. },
  12270. "cardaddress": {
  12271. "description": "证件地址 (加密存储)",
  12272. "type": "string"
  12273. },
  12274. "cardbackphotourl": {
  12275. "description": "背面证件照地址",
  12276. "type": "string"
  12277. },
  12278. "cardfrontphotourl": {
  12279. "description": "正面证件照地址",
  12280. "type": "string"
  12281. },
  12282. "cardnum": {
  12283. "description": "证件号码 (加密存储)",
  12284. "type": "string"
  12285. },
  12286. "cardtype": {
  12287. "description": "证件类型",
  12288. "type": "integer"
  12289. },
  12290. "cityid": {
  12291. "description": "市",
  12292. "type": "integer"
  12293. },
  12294. "company": {
  12295. "description": "公司(个人)",
  12296. "type": "string"
  12297. },
  12298. "contactcardbackphotourl": {
  12299. "description": "联系人证件背面图片地址",
  12300. "type": "string"
  12301. },
  12302. "contactcardfrontphotourl": {
  12303. "description": "联系人证件正面图片地址",
  12304. "type": "string"
  12305. },
  12306. "contactname": {
  12307. "description": "联系人",
  12308. "type": "string"
  12309. },
  12310. "countryid": {
  12311. "description": "国家",
  12312. "type": "integer"
  12313. },
  12314. "createtime": {
  12315. "description": "开户申请时间",
  12316. "type": "string"
  12317. },
  12318. "cusbankid": {
  12319. "description": "签约类型",
  12320. "type": "string"
  12321. },
  12322. "cusbankname": {
  12323. "description": "签约类型名称",
  12324. "type": "string"
  12325. },
  12326. "customername": {
  12327. "description": "客户名称(企业名称)",
  12328. "type": "string"
  12329. },
  12330. "districtid": {
  12331. "description": "地区",
  12332. "type": "integer"
  12333. },
  12334. "email": {
  12335. "description": "Email地址(加密存储)",
  12336. "type": "string"
  12337. },
  12338. "halfbodyphotourl": {
  12339. "description": "半身照地址",
  12340. "type": "string"
  12341. },
  12342. "headurl": {
  12343. "description": "头像地址",
  12344. "type": "string"
  12345. },
  12346. "ipaddress": {
  12347. "description": "IP地址",
  12348. "type": "string"
  12349. },
  12350. "isvalidate": {
  12351. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12352. "type": "string"
  12353. },
  12354. "legalcardbackphotourl": {
  12355. "description": "法人身份证背面照地址",
  12356. "type": "string"
  12357. },
  12358. "legalcardfrontphotourl": {
  12359. "description": "法人身份证正面照地址",
  12360. "type": "string"
  12361. },
  12362. "legalpersonname": {
  12363. "description": "法人姓名(企业)",
  12364. "type": "string"
  12365. },
  12366. "logincode": {
  12367. "description": "登录帐号 (加密存储)",
  12368. "type": "string"
  12369. },
  12370. "memberareaid": {
  12371. "description": "所属会员ID",
  12372. "type": "integer"
  12373. },
  12374. "mobile2": {
  12375. "description": "手机号码[明文-尚志]",
  12376. "type": "string"
  12377. },
  12378. "mobilephone": {
  12379. "description": "手机号码 (加密存储)",
  12380. "type": "string"
  12381. },
  12382. "modifiedby": {
  12383. "description": "修改人帐号",
  12384. "type": "integer"
  12385. },
  12386. "modifiedtime": {
  12387. "description": "修改时间",
  12388. "type": "string"
  12389. },
  12390. "nickname": {
  12391. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12392. "type": "string"
  12393. },
  12394. "openmode": {
  12395. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12396. "type": "integer"
  12397. },
  12398. "otherurl": {
  12399. "description": "其它图片地址[使用分号分隔]",
  12400. "type": "string"
  12401. },
  12402. "postalcode": {
  12403. "description": "邮政编码",
  12404. "type": "string"
  12405. },
  12406. "provinceid": {
  12407. "description": "省",
  12408. "type": "integer"
  12409. },
  12410. "proxystatementurl": {
  12411. "description": "授权委托书",
  12412. "type": "string"
  12413. },
  12414. "qq": {
  12415. "description": "QQ(加密存储",
  12416. "type": "string"
  12417. },
  12418. "referral": {
  12419. "description": "推荐人编码",
  12420. "type": "string"
  12421. },
  12422. "remark": {
  12423. "description": "备注",
  12424. "type": "string"
  12425. },
  12426. "removebeforestatus": {
  12427. "description": "REMOVEBEFORESTATUS",
  12428. "type": "integer"
  12429. },
  12430. "sex": {
  12431. "description": "性别 - 0:女 1:男",
  12432. "type": "integer"
  12433. },
  12434. "signedstatus": {
  12435. "description": "账户一号签签约状态",
  12436. "type": "integer"
  12437. },
  12438. "signpdfurl": {
  12439. "description": "签约pdf文件",
  12440. "type": "string"
  12441. },
  12442. "subbranch": {
  12443. "description": "开户支行",
  12444. "type": "string"
  12445. },
  12446. "telphone": {
  12447. "description": "联系电话(加密存储)",
  12448. "type": "string"
  12449. },
  12450. "userid": {
  12451. "description": "用户ID(自增ID)",
  12452. "type": "integer"
  12453. },
  12454. "userinfotype": {
  12455. "description": "用户信息类型 - 1:个人 2:企业",
  12456. "type": "integer"
  12457. },
  12458. "username": {
  12459. "description": "用户姓名",
  12460. "type": "string"
  12461. },
  12462. "userstate": {
  12463. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12464. "type": "integer"
  12465. },
  12466. "usertype": {
  12467. "description": "用户类型 - 1:投资者 2:机构",
  12468. "type": "integer"
  12469. },
  12470. "videourl": {
  12471. "description": "视频地址",
  12472. "type": "string"
  12473. },
  12474. "wechat": {
  12475. "description": "微信号 (加密存储)",
  12476. "type": "string"
  12477. }
  12478. }
  12479. },
  12480. "erms3.QryAuditContractRsp": {
  12481. "type": "object",
  12482. "required": [
  12483. "matchcustomername",
  12484. "spotcontractid"
  12485. ],
  12486. "properties": {
  12487. "accountid": {
  12488. "description": "交易员ID",
  12489. "type": "string"
  12490. },
  12491. "applystatus": {
  12492. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12493. "type": "integer"
  12494. },
  12495. "curdeliveryqty": {
  12496. "description": "未交收量",
  12497. "type": "integer"
  12498. },
  12499. "customername": {
  12500. "description": "采购方ID",
  12501. "type": "string"
  12502. },
  12503. "deliverygoodsid": {
  12504. "description": "品种ID",
  12505. "type": "string"
  12506. },
  12507. "deliveryqty": {
  12508. "description": "交收量",
  12509. "type": "integer"
  12510. },
  12511. "enumdicname": {
  12512. "description": "单位名称",
  12513. "type": "string"
  12514. },
  12515. "matchaccountid": {
  12516. "description": "业务员ID",
  12517. "type": "string"
  12518. },
  12519. "matchcustomername": {
  12520. "description": "销售方ID",
  12521. "type": "string"
  12522. },
  12523. "pricedqty": {
  12524. "description": "定价量",
  12525. "type": "number"
  12526. },
  12527. "signdate": {
  12528. "description": "签订日期",
  12529. "type": "string"
  12530. },
  12531. "spotcontractid": {
  12532. "description": "合同ID",
  12533. "type": "string"
  12534. },
  12535. "totaldqty": {
  12536. "description": "合同量",
  12537. "type": "number"
  12538. },
  12539. "unpricedqty": {
  12540. "description": "未定价量",
  12541. "type": "number"
  12542. },
  12543. "wrstandardname": {
  12544. "description": "商品名称",
  12545. "type": "string"
  12546. }
  12547. }
  12548. },
  12549. "erms3.QryPendingBizRsp": {
  12550. "type": "object",
  12551. "properties": {
  12552. "accountid": {
  12553. "description": "现货账户",
  12554. "type": "string"
  12555. },
  12556. "areaname": {
  12557. "description": "所属部门",
  12558. "type": "string"
  12559. },
  12560. "bizid": {
  12561. "description": "业务ID",
  12562. "type": "string"
  12563. },
  12564. "bizname": {
  12565. "description": "业务名称",
  12566. "type": "string"
  12567. },
  12568. "status": {
  12569. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12570. "type": "integer"
  12571. },
  12572. "type": {
  12573. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  12574. "type": "integer"
  12575. }
  12576. }
  12577. },
  12578. "erms3.QueryBusinessInfoRsp": {
  12579. "type": "object",
  12580. "properties": {
  12581. "businessid": {
  12582. "description": "业务ID.",
  12583. "type": "integer"
  12584. },
  12585. "buyamount": {
  12586. "description": "采购额.",
  12587. "type": "number"
  12588. },
  12589. "buyqty": {
  12590. "description": "采购量.",
  12591. "type": "string"
  12592. },
  12593. "futurepl": {
  12594. "description": "期货盈亏.",
  12595. "type": "number"
  12596. },
  12597. "futureqty": {
  12598. "description": "期货敞口.",
  12599. "type": "string"
  12600. },
  12601. "goodsid": {
  12602. "description": "商品名称/商品代码.",
  12603. "type": "string"
  12604. },
  12605. "hedgingqty": {
  12606. "description": "套保量.",
  12607. "type": "string"
  12608. },
  12609. "sellamount": {
  12610. "description": "销售额.",
  12611. "type": "number"
  12612. },
  12613. "sellqty": {
  12614. "description": "销售量.",
  12615. "type": "string"
  12616. },
  12617. "spotmarketvalue": {
  12618. "description": "现货市值.",
  12619. "type": "number"
  12620. },
  12621. "spotpl": {
  12622. "description": "浮动权益.",
  12623. "type": "number"
  12624. },
  12625. "spotqty": {
  12626. "description": "现货量.",
  12627. "type": "string"
  12628. },
  12629. "statu": {
  12630. "description": "状态,0-未结束 1-已结束.",
  12631. "type": "integer"
  12632. },
  12633. "totalpl": {
  12634. "description": "总盈亏.",
  12635. "type": "number"
  12636. },
  12637. "totalqty": {
  12638. "description": "总敞口.",
  12639. "type": "string"
  12640. },
  12641. "type": {
  12642. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  12643. "type": "integer"
  12644. }
  12645. }
  12646. },
  12647. "erms3.QuerySpotContractAppleFormRsp": {
  12648. "type": "object",
  12649. "properties": {
  12650. "goodses": {
  12651. "description": "合约列表",
  12652. "type": "array",
  12653. "items": {
  12654. "$ref": "#/definitions/models.GoodsIDAndName"
  12655. }
  12656. },
  12657. "oppositeusers": {
  12658. "description": "对方账号列表",
  12659. "type": "array",
  12660. "items": {
  12661. "$ref": "#/definitions/erms3.CustomerInfo"
  12662. }
  12663. },
  12664. "ouruser": {
  12665. "description": "我方账号",
  12666. "$ref": "#/definitions/erms3.CustomerInfo"
  12667. },
  12668. "warehouseinfos": {
  12669. "description": "仓库信息列表",
  12670. "type": "array",
  12671. "items": {
  12672. "$ref": "#/definitions/models.Warehouseinfo"
  12673. }
  12674. },
  12675. "wrstandards": {
  12676. "description": "仓单标准列表",
  12677. "type": "array",
  12678. "items": {
  12679. "$ref": "#/definitions/models.WRStandardInfo"
  12680. }
  12681. }
  12682. }
  12683. },
  12684. "erms3.QuerySpotContractInfoRsp": {
  12685. "type": "object",
  12686. "properties": {
  12687. "accountid": {
  12688. "description": "表示交易员ID.",
  12689. "type": "integer"
  12690. },
  12691. "curdeliveryqty": {
  12692. "description": "表示未交收量.",
  12693. "type": "number"
  12694. },
  12695. "customername": {
  12696. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12697. "type": "string"
  12698. },
  12699. "deliverygoodsid": {
  12700. "description": "表示品种ID.",
  12701. "type": "string"
  12702. },
  12703. "deliveryqty": {
  12704. "description": "表示交收量.",
  12705. "type": "number"
  12706. },
  12707. "matchaccountid": {
  12708. "description": "表示业务员ID.",
  12709. "type": "integer"
  12710. },
  12711. "matchcustomername": {
  12712. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12713. "type": "string"
  12714. },
  12715. "priceqty": {
  12716. "description": "表示定价量.",
  12717. "type": "number"
  12718. },
  12719. "relatedbizid": {
  12720. "description": "表示业务ID.",
  12721. "type": "string"
  12722. },
  12723. "signdate": {
  12724. "description": "表示签订日期.",
  12725. "type": "string"
  12726. },
  12727. "spotcontractid": {
  12728. "description": "合同ID",
  12729. "type": "string"
  12730. },
  12731. "status": {
  12732. "description": "表示状态,0-履约中 1-已完成.",
  12733. "type": "integer"
  12734. },
  12735. "totalqty": {
  12736. "description": "表示合同量.",
  12737. "type": "number"
  12738. },
  12739. "unpricedqty": {
  12740. "description": "表示未定价量.",
  12741. "type": "number"
  12742. },
  12743. "wrstandardname": {
  12744. "description": "表示商品ID.",
  12745. "type": "string"
  12746. }
  12747. }
  12748. },
  12749. "erms3.QueryUserInfoAppliesRsp": {
  12750. "type": "object",
  12751. "required": [
  12752. "userid"
  12753. ],
  12754. "properties": {
  12755. "biznature": {
  12756. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12757. "type": "integer"
  12758. },
  12759. "contactname": {
  12760. "description": "联系人",
  12761. "type": "string"
  12762. },
  12763. "createtime": {
  12764. "description": "开户申请时间",
  12765. "type": "string"
  12766. },
  12767. "userid": {
  12768. "description": "用户ID(自增ID)",
  12769. "type": "integer"
  12770. },
  12771. "userinfotype": {
  12772. "description": "用户信息类型 - 1:个人 2:企业",
  12773. "type": "integer"
  12774. },
  12775. "username": {
  12776. "description": "用户姓名",
  12777. "type": "string"
  12778. },
  12779. "userstate": {
  12780. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12781. "type": "integer"
  12782. }
  12783. }
  12784. },
  12785. "erms3.QueryUserInfosRsp": {
  12786. "type": "object",
  12787. "required": [
  12788. "userid"
  12789. ],
  12790. "properties": {
  12791. "biznature": {
  12792. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12793. "type": "integer"
  12794. },
  12795. "contactname": {
  12796. "description": "联系人",
  12797. "type": "string"
  12798. },
  12799. "customername": {
  12800. "description": "客户名称(企业名称)",
  12801. "type": "string"
  12802. },
  12803. "userid": {
  12804. "description": "用户ID",
  12805. "type": "integer"
  12806. },
  12807. "userinfotype": {
  12808. "description": "用户信息类型 - 1:个人 2:企业",
  12809. "type": "integer"
  12810. },
  12811. "userstatus": {
  12812. "description": "用户状态 - 1:正常 2:注销",
  12813. "type": "integer"
  12814. }
  12815. }
  12816. },
  12817. "erms3.SoptContractDetail": {
  12818. "type": "object",
  12819. "required": [
  12820. "deliverygoodsid",
  12821. "producttype",
  12822. "unitname",
  12823. "warehouseid",
  12824. "wrstandardid",
  12825. "wrstandardname"
  12826. ],
  12827. "properties": {
  12828. "deliverygoodsdesc": {
  12829. "description": "现货品种说明",
  12830. "type": "string"
  12831. },
  12832. "deliverygoodsid": {
  12833. "description": "现货品种ID",
  12834. "type": "integer"
  12835. },
  12836. "deliverygoodsname": {
  12837. "description": "现货品种名称",
  12838. "type": "string"
  12839. },
  12840. "pointdesc": {
  12841. "description": "点价描述",
  12842. "type": "string"
  12843. },
  12844. "producttype": {
  12845. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  12846. "type": "integer"
  12847. },
  12848. "producttypename": {
  12849. "description": "产品类型名称",
  12850. "type": "string"
  12851. },
  12852. "spotPointOrderVoList": {
  12853. "description": "点价列表",
  12854. "type": "array",
  12855. "items": {
  12856. "$ref": "#/definitions/erms3.SpotPointOrder"
  12857. }
  12858. },
  12859. "spotPriceOrderList": {
  12860. "description": "定价列表",
  12861. "type": "array",
  12862. "items": {
  12863. "$ref": "#/definitions/erms3.SpotPriceOrder"
  12864. }
  12865. },
  12866. "unitname": {
  12867. "description": "单位名称",
  12868. "type": "string"
  12869. },
  12870. "warehouseid": {
  12871. "description": "仓库ID",
  12872. "type": "integer"
  12873. },
  12874. "warehousename": {
  12875. "description": "仓库名称",
  12876. "type": "string"
  12877. },
  12878. "wrstandardid": {
  12879. "description": "交易标的ID",
  12880. "type": "integer"
  12881. },
  12882. "wrstandardname": {
  12883. "description": "交易标的名称",
  12884. "type": "string"
  12885. }
  12886. }
  12887. },
  12888. "erms3.SpotPointOrder": {
  12889. "type": "object",
  12890. "required": [
  12891. "basic",
  12892. "goodsid",
  12893. "qty"
  12894. ],
  12895. "properties": {
  12896. "basic": {
  12897. "description": "基差",
  12898. "type": "number"
  12899. },
  12900. "deliveryenddate": {
  12901. "description": "交收结束日期",
  12902. "type": "string"
  12903. },
  12904. "deliverystartdate": {
  12905. "description": "交收开始日期",
  12906. "type": "string"
  12907. },
  12908. "enddate": {
  12909. "description": "点价结束日期",
  12910. "type": "string"
  12911. },
  12912. "goodsid": {
  12913. "description": "商品ID",
  12914. "type": "integer"
  12915. },
  12916. "goodsname": {
  12917. "description": "商品名称",
  12918. "type": "string"
  12919. },
  12920. "qty": {
  12921. "description": "数量",
  12922. "type": "number"
  12923. },
  12924. "startdate": {
  12925. "description": "点价开始日期",
  12926. "type": "string"
  12927. }
  12928. }
  12929. },
  12930. "erms3.SpotPriceOrder": {
  12931. "type": "object",
  12932. "required": [
  12933. "amount",
  12934. "price",
  12935. "qty"
  12936. ],
  12937. "properties": {
  12938. "amount": {
  12939. "description": "金额",
  12940. "type": "number"
  12941. },
  12942. "deliveryenddate": {
  12943. "description": "交收结束日期",
  12944. "type": "string"
  12945. },
  12946. "deliverystartdate": {
  12947. "description": "交收开始日期",
  12948. "type": "string"
  12949. },
  12950. "price": {
  12951. "description": "价格",
  12952. "type": "number"
  12953. },
  12954. "qty": {
  12955. "description": "数量",
  12956. "type": "number"
  12957. }
  12958. }
  12959. },
  12960. "hsby.GetHsbyMyCountRsp": {
  12961. "type": "object",
  12962. "properties": {
  12963. "myCouponCount": {
  12964. "description": "我的优惠卷数量",
  12965. "type": "integer"
  12966. },
  12967. "myOrderDetailListingCount": {
  12968. "description": "我的订单求购中数量",
  12969. "type": "integer"
  12970. },
  12971. "myOrderDetailPreCount": {
  12972. "description": "我的订单抢购中数量",
  12973. "type": "integer"
  12974. },
  12975. "myPackageUnReceiveCount": {
  12976. "description": "我的包裹待收货数量",
  12977. "type": "integer"
  12978. },
  12979. "myPackageUnSendCount": {
  12980. "description": "我的包裹待发货数量",
  12981. "type": "integer"
  12982. },
  12983. "myPayOrderCount": {
  12984. "description": "我的订单待付款数量",
  12985. "type": "integer"
  12986. }
  12987. }
  12988. },
  12989. "hsby.QueryProvincesAndCitiesRsp": {
  12990. "type": "object",
  12991. "properties": {
  12992. "cities": {
  12993. "description": "市",
  12994. "type": "array",
  12995. "items": {
  12996. "$ref": "#/definitions/models.Division"
  12997. }
  12998. },
  12999. "province": {
  13000. "description": "省",
  13001. "$ref": "#/definitions/models.Division"
  13002. }
  13003. }
  13004. },
  13005. "models.Clientfixedadconfig": {
  13006. "type": "object",
  13007. "required": [
  13008. "adsort",
  13009. "adtype"
  13010. ],
  13011. "properties": {
  13012. "adsort": {
  13013. "description": "排序",
  13014. "type": "integer"
  13015. },
  13016. "adtype": {
  13017. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13018. "type": "integer"
  13019. },
  13020. "areauserid": {
  13021. "description": "所属机构ID",
  13022. "type": "integer"
  13023. },
  13024. "createdate": {
  13025. "description": "创建时间",
  13026. "type": "string"
  13027. },
  13028. "creatorid": {
  13029. "description": "创建人",
  13030. "type": "integer"
  13031. },
  13032. "imagepath": {
  13033. "description": "图片",
  13034. "type": "string"
  13035. },
  13036. "isshow": {
  13037. "description": "是否展示 - 0:不展示 1:展示",
  13038. "type": "integer"
  13039. },
  13040. "modifierid": {
  13041. "description": "操作人",
  13042. "type": "integer"
  13043. },
  13044. "recsize": {
  13045. "description": "推荐尺寸",
  13046. "type": "string"
  13047. },
  13048. "title": {
  13049. "description": "标题",
  13050. "type": "string"
  13051. },
  13052. "updatedate": {
  13053. "description": "更新时间",
  13054. "type": "string"
  13055. },
  13056. "urlcontent": {
  13057. "description": "链接(地址或商品ID)",
  13058. "type": "string"
  13059. },
  13060. "urltype": {
  13061. "description": "链接类型 - 1:直接地址 2:商品ID",
  13062. "type": "integer"
  13063. }
  13064. }
  13065. },
  13066. "models.Division": {
  13067. "type": "object",
  13068. "required": [
  13069. "autoid",
  13070. "divisioncode"
  13071. ],
  13072. "properties": {
  13073. "autoid": {
  13074. "description": "自增ID",
  13075. "type": "integer"
  13076. },
  13077. "divisioncode": {
  13078. "description": "行政代码",
  13079. "type": "string"
  13080. },
  13081. "divisionlevel": {
  13082. "description": "行政级别",
  13083. "type": "string"
  13084. },
  13085. "divisionname": {
  13086. "description": "行政名称",
  13087. "type": "string"
  13088. },
  13089. "modifierid": {
  13090. "description": "修改人",
  13091. "type": "integer"
  13092. },
  13093. "modifytime": {
  13094. "description": "修改时间",
  13095. "type": "string"
  13096. },
  13097. "parentcode": {
  13098. "description": "上级行政代码",
  13099. "type": "string"
  13100. },
  13101. "pathname": {
  13102. "description": "路径名称",
  13103. "type": "string"
  13104. },
  13105. "postcode": {
  13106. "description": "邮政编码",
  13107. "type": "string"
  13108. },
  13109. "separablename": {
  13110. "description": "可拆分的全称",
  13111. "type": "string"
  13112. },
  13113. "shortcode": {
  13114. "description": "地区简码",
  13115. "type": "string"
  13116. }
  13117. }
  13118. },
  13119. "models.Enumdicitem": {
  13120. "type": "object",
  13121. "required": [
  13122. "autoid",
  13123. "enumdiccode",
  13124. "enumdicid",
  13125. "enumitemname"
  13126. ],
  13127. "properties": {
  13128. "autoid": {
  13129. "description": "自增ID",
  13130. "type": "integer"
  13131. },
  13132. "bankmappedvalue": {
  13133. "description": "银行服务对应值",
  13134. "type": "string"
  13135. },
  13136. "enumdiccode": {
  13137. "description": "所属枚举代码",
  13138. "type": "string"
  13139. },
  13140. "enumdicid": {
  13141. "description": "所属枚举ID",
  13142. "type": "integer"
  13143. },
  13144. "enumdicname": {
  13145. "description": "枚举项名称",
  13146. "type": "string"
  13147. },
  13148. "enumitemname": {
  13149. "description": "枚举项值",
  13150. "type": "integer"
  13151. },
  13152. "enumitemstatus": {
  13153. "description": "枚举项状态 - 1.启用 2.不启用",
  13154. "type": "integer"
  13155. },
  13156. "enumitemvalue": {
  13157. "description": "通用值 - [币种通用简写]",
  13158. "type": "string"
  13159. },
  13160. "param1": {
  13161. "description": "参数1[币种:币种小数位]",
  13162. "type": "string"
  13163. },
  13164. "param2": {
  13165. "description": "参数1[币种:币种显示单位]",
  13166. "type": "string"
  13167. },
  13168. "remark": {
  13169. "description": "备注",
  13170. "type": "string"
  13171. }
  13172. }
  13173. },
  13174. "models.ErmcpAreaStock": {
  13175. "type": "object",
  13176. "properties": {
  13177. "brandname": {
  13178. "description": "品牌名称",
  13179. "type": "string"
  13180. },
  13181. "curstock": {
  13182. "description": "期末库存量(今日量)",
  13183. "type": "number"
  13184. },
  13185. "deliverygoodsid": {
  13186. "description": "现货品种ID",
  13187. "type": "integer"
  13188. },
  13189. "enumdicname": {
  13190. "description": "单位名称",
  13191. "type": "string"
  13192. },
  13193. "modelname": {
  13194. "description": "型号名称",
  13195. "type": "string"
  13196. },
  13197. "oristock": {
  13198. "description": "期初库存量(昨日量)",
  13199. "type": "number"
  13200. },
  13201. "spotgoodsbrandid": {
  13202. "description": "现货品牌ID",
  13203. "type": "integer"
  13204. },
  13205. "spotgoodsmodelid": {
  13206. "description": "现货型号ID",
  13207. "type": "integer"
  13208. },
  13209. "todaybuyinqty": {
  13210. "description": "今日采购入库量",
  13211. "type": "number"
  13212. },
  13213. "todayproduceinqty": {
  13214. "description": "今日生产入库量",
  13215. "type": "number"
  13216. },
  13217. "todayproduceoutqty": {
  13218. "description": "今日生产出库量",
  13219. "type": "number"
  13220. },
  13221. "todayselloutqty": {
  13222. "description": "今日销售出库量",
  13223. "type": "number"
  13224. },
  13225. "unitid": {
  13226. "description": "单位id",
  13227. "type": "integer"
  13228. },
  13229. "updatetime": {
  13230. "description": "更新时间",
  13231. "type": "string"
  13232. },
  13233. "userid": {
  13234. "description": "机构ID",
  13235. "type": "integer"
  13236. },
  13237. "username": {
  13238. "description": "机构名称",
  13239. "type": "string"
  13240. },
  13241. "warehousecode": {
  13242. "description": "仓库代码",
  13243. "type": "string"
  13244. },
  13245. "warehouseinfoid": {
  13246. "description": "仓库ID",
  13247. "type": "string"
  13248. },
  13249. "warehousename": {
  13250. "description": "仓库名称",
  13251. "type": "string"
  13252. },
  13253. "warehousetype": {
  13254. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13255. "type": "integer"
  13256. },
  13257. "wrstandardcode": {
  13258. "description": "现货商品代码",
  13259. "type": "string"
  13260. },
  13261. "wrstandardid": {
  13262. "description": "现货商品ID",
  13263. "type": "string"
  13264. },
  13265. "wrstandardname": {
  13266. "description": "现货商品名称",
  13267. "type": "string"
  13268. }
  13269. }
  13270. },
  13271. "models.ErmcpAreaStockApply": {
  13272. "type": "object",
  13273. "properties": {
  13274. "applyid": {
  13275. "description": "申请人",
  13276. "type": "integer"
  13277. },
  13278. "applyname": {
  13279. "description": "申请人名称",
  13280. "type": "string"
  13281. },
  13282. "applyremark": {
  13283. "description": "申请备注",
  13284. "type": "string"
  13285. },
  13286. "applysrc": {
  13287. "description": "申请来源 - 1:管理端 2:终端",
  13288. "type": "integer"
  13289. },
  13290. "applystatus": {
  13291. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13292. "type": "integer"
  13293. },
  13294. "applytime": {
  13295. "description": "申请时间",
  13296. "type": "string"
  13297. },
  13298. "auditid": {
  13299. "description": "审核人",
  13300. "type": "integer"
  13301. },
  13302. "auditname": {
  13303. "description": "审核人名称",
  13304. "type": "string"
  13305. },
  13306. "auditremark": {
  13307. "description": "审核备注",
  13308. "type": "string"
  13309. },
  13310. "auditsrc": {
  13311. "description": "审核来源 - 1:管理端 2:终端",
  13312. "type": "integer"
  13313. },
  13314. "audittime": {
  13315. "description": "审核时间",
  13316. "type": "string"
  13317. },
  13318. "audittradedate": {
  13319. "description": "审核交易日(yyyyMMdd)",
  13320. "type": "string"
  13321. },
  13322. "brandname": {
  13323. "description": "品牌名称",
  13324. "type": "string"
  13325. },
  13326. "buyuserid": {
  13327. "description": "采购方userid",
  13328. "type": "integer"
  13329. },
  13330. "buyusername": {
  13331. "description": "采购方名称",
  13332. "type": "string"
  13333. },
  13334. "contractno": {
  13335. "description": "合同编号",
  13336. "type": "string"
  13337. },
  13338. "contractqty": {
  13339. "description": "合同量",
  13340. "type": "number"
  13341. },
  13342. "contracttype": {
  13343. "description": "现货合同类型 - 1:采购 -1:销售",
  13344. "type": "integer"
  13345. },
  13346. "deliverygoodsid": {
  13347. "description": "现货品种ID",
  13348. "type": "integer"
  13349. },
  13350. "enumdicname": {
  13351. "description": "现货商品单位名称",
  13352. "type": "string"
  13353. },
  13354. "inoutapplyid": {
  13355. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13356. "type": "string"
  13357. },
  13358. "inouttype": {
  13359. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13360. "type": "integer"
  13361. },
  13362. "modelname": {
  13363. "description": "型号名称",
  13364. "type": "string"
  13365. },
  13366. "pricetype": {
  13367. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13368. "type": "integer"
  13369. },
  13370. "qty": {
  13371. "description": "数量",
  13372. "type": "number"
  13373. },
  13374. "selluserid": {
  13375. "description": "销售方userid",
  13376. "type": "integer"
  13377. },
  13378. "sellusername": {
  13379. "description": "销售方名称",
  13380. "type": "string"
  13381. },
  13382. "spotcontractid": {
  13383. "description": "关联现货合同ID",
  13384. "type": "string"
  13385. },
  13386. "spotgoodsbrandid": {
  13387. "description": "现货品牌ID",
  13388. "type": "integer"
  13389. },
  13390. "spotgoodsmodelid": {
  13391. "description": "现货型号ID",
  13392. "type": "integer"
  13393. },
  13394. "unitid": {
  13395. "description": "单位id",
  13396. "type": "integer"
  13397. },
  13398. "userid": {
  13399. "description": "机构ID",
  13400. "type": "integer"
  13401. },
  13402. "warehousecode": {
  13403. "description": "仓库代码",
  13404. "type": "string"
  13405. },
  13406. "warehouseinfoid": {
  13407. "description": "现货仓库ID",
  13408. "type": "string"
  13409. },
  13410. "warehousename": {
  13411. "description": "仓库名称",
  13412. "type": "string"
  13413. },
  13414. "warehousetype": {
  13415. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13416. "type": "integer"
  13417. },
  13418. "wrstandardcode": {
  13419. "description": "现货商品代码",
  13420. "type": "string"
  13421. },
  13422. "wrstandardid": {
  13423. "description": "现货商品ID",
  13424. "type": "string"
  13425. },
  13426. "wrstandardname": {
  13427. "description": "现货商品名称",
  13428. "type": "string"
  13429. }
  13430. }
  13431. },
  13432. "models.ErmcpAreaStockReport": {
  13433. "type": "object",
  13434. "properties": {
  13435. "brandname": {
  13436. "description": "品牌名称",
  13437. "type": "string"
  13438. },
  13439. "curstock": {
  13440. "description": "期末库存量",
  13441. "type": "number"
  13442. },
  13443. "deliverygoodsid": {
  13444. "description": "现货品种ID",
  13445. "type": "integer"
  13446. },
  13447. "enumdicname": {
  13448. "description": "单位名称",
  13449. "type": "string"
  13450. },
  13451. "modelname": {
  13452. "description": "型号名称",
  13453. "type": "string"
  13454. },
  13455. "oristock": {
  13456. "description": "期初库存量",
  13457. "type": "number"
  13458. },
  13459. "spotgoodsbrandid": {
  13460. "description": "现货品牌ID",
  13461. "type": "integer"
  13462. },
  13463. "spotgoodsmodelid": {
  13464. "description": "现货型号ID",
  13465. "type": "integer"
  13466. },
  13467. "todaybuyinqty": {
  13468. "description": "今日采购入库量",
  13469. "type": "number"
  13470. },
  13471. "todayproduceinqty": {
  13472. "description": "今日生产入库量",
  13473. "type": "number"
  13474. },
  13475. "todayproduceoutqty": {
  13476. "description": "今日生产出库量",
  13477. "type": "number"
  13478. },
  13479. "todayselloutqty": {
  13480. "description": "今日销售出库量",
  13481. "type": "number"
  13482. },
  13483. "unitid": {
  13484. "description": "单位id",
  13485. "type": "integer"
  13486. },
  13487. "updatetime": {
  13488. "description": "更新时间",
  13489. "type": "string"
  13490. },
  13491. "userid": {
  13492. "description": "机构ID",
  13493. "type": "integer"
  13494. },
  13495. "username": {
  13496. "description": "机构名称",
  13497. "type": "string"
  13498. },
  13499. "warehousecode": {
  13500. "description": "仓库代码",
  13501. "type": "string"
  13502. },
  13503. "warehouseinfoid": {
  13504. "description": "仓库ID",
  13505. "type": "string"
  13506. },
  13507. "warehousename": {
  13508. "description": "仓库名称",
  13509. "type": "string"
  13510. },
  13511. "warehousetype": {
  13512. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13513. "type": "integer"
  13514. },
  13515. "wrstandardcode": {
  13516. "description": "现货商品代码",
  13517. "type": "string"
  13518. },
  13519. "wrstandardid": {
  13520. "description": "现货商品ID",
  13521. "type": "string"
  13522. },
  13523. "wrstandardname": {
  13524. "description": "现货商品名称",
  13525. "type": "string"
  13526. }
  13527. }
  13528. },
  13529. "models.ErmcpGoodsBrand": {
  13530. "type": "object",
  13531. "properties": {
  13532. "areauserid": {
  13533. "description": "所属机构",
  13534. "type": "integer"
  13535. },
  13536. "brandid": {
  13537. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  13538. "type": "integer"
  13539. },
  13540. "brandname": {
  13541. "description": "品牌名称",
  13542. "type": "string"
  13543. },
  13544. "createtime": {
  13545. "description": "创建时间",
  13546. "type": "string"
  13547. },
  13548. "creatorid": {
  13549. "description": "创建人",
  13550. "type": "integer"
  13551. },
  13552. "creatorsrc": {
  13553. "description": "创建人来源 - 1:管理端 2:终端",
  13554. "type": "integer"
  13555. },
  13556. "deliverygoodsid": {
  13557. "description": "现货品种ID",
  13558. "type": "integer"
  13559. },
  13560. "isvalid": {
  13561. "description": "是否有效 - 0:无效 1:有效",
  13562. "type": "integer"
  13563. },
  13564. "updatetime": {
  13565. "description": "更新时间",
  13566. "type": "string"
  13567. },
  13568. "updatorid": {
  13569. "description": "更新人",
  13570. "type": "integer"
  13571. },
  13572. "updatorsrc": {
  13573. "description": "更新人来源 - 1:管理端 2:终端",
  13574. "type": "integer"
  13575. },
  13576. "wrstandardid": {
  13577. "description": "现货商品ID",
  13578. "type": "integer"
  13579. }
  13580. }
  13581. },
  13582. "models.ErmcpGoodsModel": {
  13583. "type": "object",
  13584. "properties": {
  13585. "areauserid": {
  13586. "description": "所属机构",
  13587. "type": "integer"
  13588. },
  13589. "createtime": {
  13590. "description": "创建时间",
  13591. "type": "string"
  13592. },
  13593. "creatorid": {
  13594. "description": "创建人",
  13595. "type": "integer"
  13596. },
  13597. "creatorsrc": {
  13598. "description": "创建人来源 - 1:管理端 2:终端",
  13599. "type": "integer"
  13600. },
  13601. "deliverygoodsid": {
  13602. "description": "现货品种ID",
  13603. "type": "integer"
  13604. },
  13605. "isvalid": {
  13606. "description": "是否有效 - 0:无效 1:有效",
  13607. "type": "integer"
  13608. },
  13609. "modelid": {
  13610. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  13611. "type": "integer"
  13612. },
  13613. "modelname": {
  13614. "description": "型号名称",
  13615. "type": "string"
  13616. },
  13617. "updatetime": {
  13618. "description": "更新时间",
  13619. "type": "string"
  13620. },
  13621. "updatorid": {
  13622. "description": "更新人",
  13623. "type": "integer"
  13624. },
  13625. "updatorsrc": {
  13626. "description": "更新人来源 - 1:管理端 2:终端",
  13627. "type": "integer"
  13628. },
  13629. "wrstandardid": {
  13630. "description": "现货商品ID",
  13631. "type": "integer"
  13632. }
  13633. }
  13634. },
  13635. "models.ErmcpHisExposure": {
  13636. "type": "object",
  13637. "properties": {
  13638. "needhedgeexposoure": {
  13639. "description": "应套保敞口",
  13640. "type": "number"
  13641. },
  13642. "reckondate": {
  13643. "description": "日照时期(yyyyMMdd)",
  13644. "type": "string"
  13645. },
  13646. "totalexposure": {
  13647. "description": "总敞口",
  13648. "type": "number"
  13649. }
  13650. }
  13651. },
  13652. "models.ErmcpMiddleGoodsModel": {
  13653. "type": "object",
  13654. "properties": {
  13655. "areauserid": {
  13656. "description": "机构用户ID",
  13657. "type": "integer"
  13658. },
  13659. "createtime": {
  13660. "description": "修改时间",
  13661. "type": "string"
  13662. },
  13663. "enumdicname": {
  13664. "description": "单位名称",
  13665. "type": "string"
  13666. },
  13667. "evaluateratio": {
  13668. "description": "估价系数",
  13669. "type": "number"
  13670. },
  13671. "goodsgroupid": {
  13672. "description": "关联期货品种ID",
  13673. "type": "integer"
  13674. },
  13675. "isvalid": {
  13676. "description": "状态 0-无效(停用) 1-有效(正常)",
  13677. "type": "integer"
  13678. },
  13679. "middlegoodscode": {
  13680. "description": "套保品种代码",
  13681. "type": "string"
  13682. },
  13683. "middlegoodsid": {
  13684. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  13685. "type": "integer"
  13686. },
  13687. "middlegoodsname": {
  13688. "description": "套保品种名称",
  13689. "type": "string"
  13690. },
  13691. "modifytime": {
  13692. "description": "修改时间",
  13693. "type": "string"
  13694. },
  13695. "needhedgeratio": {
  13696. "description": "套保比率",
  13697. "type": "number"
  13698. },
  13699. "qtydecimalplace": {
  13700. "description": "数量小数位",
  13701. "type": "integer"
  13702. },
  13703. "relatedgoodsid": {
  13704. "description": "关联交易商品ID",
  13705. "type": "integer"
  13706. },
  13707. "relatedgoodstype": {
  13708. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  13709. "type": "integer"
  13710. }
  13711. }
  13712. },
  13713. "models.ErmcpReportDayFR": {
  13714. "type": "object",
  13715. "properties": {
  13716. "areauserid": {
  13717. "description": "所属机构",
  13718. "type": "integer"
  13719. },
  13720. "collectinvoiceamount": {
  13721. "description": "今日开票金额",
  13722. "type": "number"
  13723. },
  13724. "collectinvoicecount": {
  13725. "description": "今日开票笔数",
  13726. "type": "integer"
  13727. },
  13728. "collectmoneyamount": {
  13729. "description": "今日收款金额",
  13730. "type": "number"
  13731. },
  13732. "collectmoneycount": {
  13733. "description": "今日收款笔数",
  13734. "type": "integer"
  13735. },
  13736. "payinvoiceamount": {
  13737. "description": "今日收票金额",
  13738. "type": "number"
  13739. },
  13740. "payinvoicecount": {
  13741. "description": "今日收票笔数",
  13742. "type": "integer"
  13743. },
  13744. "paymoneyamount": {
  13745. "description": "今日付款金额",
  13746. "type": "number"
  13747. },
  13748. "paymoneycount": {
  13749. "description": "今日付款笔数",
  13750. "type": "integer"
  13751. },
  13752. "reckondate": {
  13753. "description": "日照时期(yyyyMMdd)",
  13754. "type": "string"
  13755. },
  13756. "updatetime": {
  13757. "description": "更新时间",
  13758. "type": "string"
  13759. }
  13760. }
  13761. },
  13762. "models.ErmcpWrstandard": {
  13763. "type": "object",
  13764. "properties": {
  13765. "areauserid": {
  13766. "description": "所属机构",
  13767. "type": "integer"
  13768. },
  13769. "createtime": {
  13770. "description": "创建时间",
  13771. "type": "string"
  13772. },
  13773. "creatorid": {
  13774. "description": "创建人",
  13775. "type": "integer"
  13776. },
  13777. "deliverygoodsid": {
  13778. "description": "品种ID",
  13779. "type": "integer"
  13780. },
  13781. "enumdicname": {
  13782. "description": "单位名称",
  13783. "type": "string"
  13784. },
  13785. "isvalid": {
  13786. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  13787. "type": "integer"
  13788. },
  13789. "minivalue": {
  13790. "description": "最小变动值",
  13791. "type": "integer"
  13792. },
  13793. "minivaluedp": {
  13794. "description": "最小变动值小数位",
  13795. "type": "integer"
  13796. },
  13797. "realminivalue": {
  13798. "description": "实际最小变动值",
  13799. "type": "integer"
  13800. },
  13801. "realminivaluedp": {
  13802. "description": "实际最小变动值小数位",
  13803. "type": "integer"
  13804. },
  13805. "remark": {
  13806. "description": "备注",
  13807. "type": "string"
  13808. },
  13809. "unitid": {
  13810. "description": "单位ID",
  13811. "type": "integer"
  13812. },
  13813. "updatetime": {
  13814. "description": "更新时间",
  13815. "type": "string"
  13816. },
  13817. "wrstandardcode": {
  13818. "description": "现货商品代码",
  13819. "type": "string"
  13820. },
  13821. "wrstandardid": {
  13822. "description": "现货商品ID(SEQ_WRSTANDARD)",
  13823. "type": "integer"
  13824. },
  13825. "wrstandardname": {
  13826. "description": "现货商品名称",
  13827. "type": "string"
  13828. }
  13829. }
  13830. },
  13831. "models.Externalexchange": {
  13832. "type": "object",
  13833. "required": [
  13834. "autoid"
  13835. ],
  13836. "properties": {
  13837. "autoid": {
  13838. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  13839. "type": "integer"
  13840. },
  13841. "exchangefullname": {
  13842. "description": "外部交易所全称",
  13843. "type": "string"
  13844. },
  13845. "exexchangecode": {
  13846. "description": "外部交易所代码",
  13847. "type": "string"
  13848. },
  13849. "exexchangename": {
  13850. "description": "外部交易所名称(简称)",
  13851. "type": "string"
  13852. },
  13853. "ismarketprice": {
  13854. "description": "是否支持市价 - 0:不支持 1:支持",
  13855. "type": "integer"
  13856. },
  13857. "quotegear": {
  13858. "description": "行情档位(1-10)",
  13859. "type": "integer"
  13860. },
  13861. "showbrokerflag": {
  13862. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  13863. "type": "integer"
  13864. },
  13865. "updatetime": {
  13866. "description": "更新时间",
  13867. "type": "string"
  13868. }
  13869. }
  13870. },
  13871. "models.Funcmenulist": {
  13872. "type": "object",
  13873. "required": [
  13874. "resourcecode"
  13875. ],
  13876. "properties": {
  13877. "iconame": {
  13878. "description": "菜单图标",
  13879. "type": "string"
  13880. },
  13881. "menutype": {
  13882. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  13883. "type": "integer"
  13884. },
  13885. "parentcode": {
  13886. "description": "上级资源代码",
  13887. "type": "string"
  13888. },
  13889. "remark": {
  13890. "description": "备注",
  13891. "type": "string"
  13892. },
  13893. "resourcecode": {
  13894. "description": "资源代码",
  13895. "type": "string"
  13896. },
  13897. "resourcelevel": {
  13898. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  13899. "type": "integer"
  13900. },
  13901. "resourcename": {
  13902. "description": "资源名",
  13903. "type": "string"
  13904. },
  13905. "sort": {
  13906. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  13907. "type": "integer"
  13908. },
  13909. "url": {
  13910. "description": "URL",
  13911. "type": "string"
  13912. }
  13913. }
  13914. },
  13915. "models.Goods": {
  13916. "type": "object",
  13917. "required": [
  13918. "goodscode",
  13919. "goodsid",
  13920. "goodsname",
  13921. "marketid"
  13922. ],
  13923. "properties": {
  13924. "agreeunit": {
  13925. "description": "合约单位",
  13926. "type": "number"
  13927. },
  13928. "auditaccountid": {
  13929. "description": "审核操作员账号",
  13930. "type": "integer"
  13931. },
  13932. "audittime": {
  13933. "description": "审核时间",
  13934. "type": "string"
  13935. },
  13936. "cancelaccountid": {
  13937. "description": "注销操作员账号",
  13938. "type": "integer"
  13939. },
  13940. "canceltime": {
  13941. "description": "注销时间",
  13942. "type": "string"
  13943. },
  13944. "closepricemode": {
  13945. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  13946. "type": "integer"
  13947. },
  13948. "closepriceparam": {
  13949. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  13950. "type": "number"
  13951. },
  13952. "createtime": {
  13953. "description": "创建时间",
  13954. "type": "string"
  13955. },
  13956. "creatorid": {
  13957. "description": "创建人",
  13958. "type": "integer"
  13959. },
  13960. "currencyid": {
  13961. "description": "报价货币ID",
  13962. "type": "integer"
  13963. },
  13964. "cutmode": {
  13965. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  13966. "type": "integer"
  13967. },
  13968. "decimalplace": {
  13969. "description": "报价小数位",
  13970. "type": "integer"
  13971. },
  13972. "delistingdate": {
  13973. "description": "商品退市时间(状态:退市) -- 已作废",
  13974. "type": "string"
  13975. },
  13976. "delistingmode": {
  13977. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  13978. "type": "integer"
  13979. },
  13980. "deliveryflag": {
  13981. "description": "交割标志 - 0:不可交割 1:可交割",
  13982. "type": "integer"
  13983. },
  13984. "forceclosemode": {
  13985. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  13986. "type": "integer"
  13987. },
  13988. "forceclosevalue": {
  13989. "description": "定期强平参数 [收益权]",
  13990. "type": "integer"
  13991. },
  13992. "goodscode": {
  13993. "description": "商品代码(内部)",
  13994. "type": "string"
  13995. },
  13996. "goodscurrencyid": {
  13997. "description": "合约货币ID",
  13998. "type": "integer"
  13999. },
  14000. "goodsgroupid": {
  14001. "description": "所属商品组ID",
  14002. "type": "integer"
  14003. },
  14004. "goodsid": {
  14005. "description": "商品ID(自增ID SEQ_GOODS)",
  14006. "type": "integer"
  14007. },
  14008. "goodsname": {
  14009. "description": "商品名称",
  14010. "type": "string"
  14011. },
  14012. "goodsquotetype": {
  14013. "description": "合约报价类型: 1-直接报价 2-间接报价",
  14014. "type": "integer"
  14015. },
  14016. "goodsstatus": {
  14017. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  14018. "type": "integer"
  14019. },
  14020. "goodstradetype": {
  14021. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  14022. "type": "integer"
  14023. },
  14024. "goodunitid": {
  14025. "description": "报价单位ID",
  14026. "type": "integer"
  14027. },
  14028. "hasquoter": {
  14029. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  14030. "type": "integer"
  14031. },
  14032. "hqprotecttime": {
  14033. "description": "行情保护时间(秒)",
  14034. "type": "integer"
  14035. },
  14036. "innerdealmode": {
  14037. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14038. "type": "integer"
  14039. },
  14040. "isbuylimited": {
  14041. "description": "是否限制建仓量 - 0:不限制 1:限制",
  14042. "type": "integer"
  14043. },
  14044. "lasttradedate": {
  14045. "description": "最后交易日期(状态:待退市)",
  14046. "type": "string"
  14047. },
  14048. "listingdate": {
  14049. "description": "交易开始日期",
  14050. "type": "string"
  14051. },
  14052. "marketid": {
  14053. "description": "所属市场ID",
  14054. "type": "integer"
  14055. },
  14056. "modifierid": {
  14057. "description": "修改人",
  14058. "type": "integer"
  14059. },
  14060. "modifystatus": {
  14061. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  14062. "type": "integer"
  14063. },
  14064. "modifytime": {
  14065. "description": "修改时间",
  14066. "type": "string"
  14067. },
  14068. "outerdealmode": {
  14069. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14070. "type": "integer"
  14071. },
  14072. "outgoodscode": {
  14073. "description": "商品代码(外部)",
  14074. "type": "string"
  14075. },
  14076. "qtydecimalplace": {
  14077. "description": "成交量小数位",
  14078. "type": "integer"
  14079. },
  14080. "quotegear": {
  14081. "description": "行情档位(1-10)",
  14082. "type": "integer"
  14083. },
  14084. "quoteminunit": {
  14085. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14086. "type": "integer"
  14087. },
  14088. "quoteshowtype": {
  14089. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  14090. "type": "integer"
  14091. },
  14092. "quoteshowtypeinterval": {
  14093. "description": "行情报价间隔时间(秒)(成交价时为0)",
  14094. "type": "integer"
  14095. },
  14096. "remark": {
  14097. "description": "备注",
  14098. "type": "string"
  14099. }
  14100. }
  14101. },
  14102. "models.GoodsBrand": {
  14103. "type": "object",
  14104. "properties": {
  14105. "brandid": {
  14106. "description": "品牌ID",
  14107. "type": "integer"
  14108. },
  14109. "brandname": {
  14110. "description": "品牌名称",
  14111. "type": "string"
  14112. },
  14113. "isvalid": {
  14114. "description": "是否有效 - 0:无效 1:有效",
  14115. "type": "integer"
  14116. }
  14117. }
  14118. },
  14119. "models.GoodsGroupConvert": {
  14120. "type": "object",
  14121. "properties": {
  14122. "convertratio": {
  14123. "description": "折算系数",
  14124. "type": "number"
  14125. },
  14126. "dstgoodsgroupid": {
  14127. "description": "目标期货品种ID",
  14128. "type": "integer"
  14129. },
  14130. "goodsgroupname": {
  14131. "description": "期货品种名称",
  14132. "type": "string"
  14133. },
  14134. "outergroupcode": {
  14135. "description": "期货品种代码",
  14136. "type": "string"
  14137. },
  14138. "srcgoodsgroupid": {
  14139. "description": "源期货品种ID",
  14140. "type": "integer"
  14141. }
  14142. }
  14143. },
  14144. "models.GoodsIDAndName": {
  14145. "type": "object",
  14146. "required": [
  14147. "goodscode",
  14148. "goodsid",
  14149. "goodsname",
  14150. "marketid"
  14151. ],
  14152. "properties": {
  14153. "goodscode": {
  14154. "description": "商品代码(内部)",
  14155. "type": "string"
  14156. },
  14157. "goodsid": {
  14158. "description": "商品ID(自增ID SEQ_GOODS)",
  14159. "type": "integer"
  14160. },
  14161. "goodsname": {
  14162. "description": "商品名称",
  14163. "type": "string"
  14164. },
  14165. "marketid": {
  14166. "description": "所属市场ID",
  14167. "type": "integer"
  14168. }
  14169. }
  14170. },
  14171. "models.GoodsTypeModel": {
  14172. "type": "object",
  14173. "properties": {
  14174. "modelid": {
  14175. "description": "型号ID",
  14176. "type": "integer"
  14177. },
  14178. "modelname": {
  14179. "description": "型号名称",
  14180. "type": "string"
  14181. },
  14182. "updatetime": {
  14183. "description": "更新时间",
  14184. "type": "string"
  14185. }
  14186. }
  14187. },
  14188. "models.Goodsgroup": {
  14189. "type": "object",
  14190. "required": [
  14191. "goodsgroupid",
  14192. "goodsgroupname",
  14193. "goodsgroupstatus",
  14194. "marketid"
  14195. ],
  14196. "properties": {
  14197. "agreeunit": {
  14198. "description": "合约单位",
  14199. "type": "number"
  14200. },
  14201. "canshort": {
  14202. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14203. "type": "integer"
  14204. },
  14205. "closepricemode": {
  14206. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14207. "type": "integer"
  14208. },
  14209. "closepriceparam": {
  14210. "description": "强平最新价浮动比例 - 方式为2时使用",
  14211. "type": "number"
  14212. },
  14213. "createtime": {
  14214. "description": "创建时间",
  14215. "type": "string"
  14216. },
  14217. "creatorid": {
  14218. "description": "创建人",
  14219. "type": "integer"
  14220. },
  14221. "currencyid": {
  14222. "description": "报价货币ID",
  14223. "type": "integer"
  14224. },
  14225. "decimalplace": {
  14226. "description": "报价小数位",
  14227. "type": "integer"
  14228. },
  14229. "exercisetype": {
  14230. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  14231. "type": "integer"
  14232. },
  14233. "exexchangeid": {
  14234. "description": "外部交易所ID[通道交易]",
  14235. "type": "integer"
  14236. },
  14237. "goodsgroupid": {
  14238. "description": "商品组ID(自增ID)",
  14239. "type": "integer"
  14240. },
  14241. "goodsgroupname": {
  14242. "description": "商品组名称",
  14243. "type": "string"
  14244. },
  14245. "goodsgroupstatus": {
  14246. "description": "商品组状态 - 1:正常 2:注销",
  14247. "type": "integer"
  14248. },
  14249. "goodunitid": {
  14250. "description": "报价单位ID",
  14251. "type": "integer"
  14252. },
  14253. "innerdealmode": {
  14254. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14255. "type": "integer"
  14256. },
  14257. "isbuylimited": {
  14258. "description": "是否限制建仓量 - 0:不限制 1:限制",
  14259. "type": "integer"
  14260. },
  14261. "marketid": {
  14262. "description": "所属市场ID",
  14263. "type": "integer"
  14264. },
  14265. "modifierid": {
  14266. "description": "修改人",
  14267. "type": "integer"
  14268. },
  14269. "modifytime": {
  14270. "description": "修改时间",
  14271. "type": "string"
  14272. },
  14273. "outerdealmode": {
  14274. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14275. "type": "integer"
  14276. },
  14277. "outergroupcode": {
  14278. "description": "外部商品组代码[通道交易]",
  14279. "type": "string"
  14280. },
  14281. "premiumdecimalplace": {
  14282. "description": "权利金小数位[场外期权]",
  14283. "type": "integer"
  14284. },
  14285. "premiumspreadalgorithm": {
  14286. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  14287. "type": "integer"
  14288. },
  14289. "premiumspreadvalue": {
  14290. "description": "权利金点差值[场外期权]",
  14291. "type": "number"
  14292. },
  14293. "qtydecimalplace": {
  14294. "description": "成交量小数位",
  14295. "type": "integer"
  14296. },
  14297. "quotegear": {
  14298. "description": "行情档位(1-10)",
  14299. "type": "integer"
  14300. },
  14301. "quoteminunit": {
  14302. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14303. "type": "integer"
  14304. },
  14305. "quoterid": {
  14306. "description": "报价商ID[场外期权]",
  14307. "type": "integer"
  14308. },
  14309. "quotesourcegroupid": {
  14310. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14311. "type": "integer"
  14312. },
  14313. "syncgoodsqty": {
  14314. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14315. "type": "integer"
  14316. }
  14317. }
  14318. },
  14319. "models.Goodssortbypreposition": {
  14320. "type": "object",
  14321. "required": [
  14322. "goodscode",
  14323. "tradedate"
  14324. ],
  14325. "properties": {
  14326. "goodscode": {
  14327. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  14328. "type": "string"
  14329. },
  14330. "goodsgroupcode": {
  14331. "description": "品种代码",
  14332. "type": "string"
  14333. },
  14334. "prepositionqty": {
  14335. "description": "昨持仓量",
  14336. "type": "integer"
  14337. },
  14338. "sortindex": {
  14339. "description": "排序",
  14340. "type": "integer"
  14341. },
  14342. "tradedate": {
  14343. "description": "交易日",
  14344. "type": "string"
  14345. },
  14346. "updatetime": {
  14347. "description": "更新时间",
  14348. "type": "string"
  14349. }
  14350. }
  14351. },
  14352. "models.HsbyBuyMyPayOrder": {
  14353. "type": "object",
  14354. "required": [
  14355. "goodscode",
  14356. "goodsname",
  14357. "tradeid",
  14358. "trademode"
  14359. ],
  14360. "properties": {
  14361. "agreeunit": {
  14362. "description": "合约单位",
  14363. "type": "number"
  14364. },
  14365. "buyaccountid": {
  14366. "description": "买方账号ID[报价币种]",
  14367. "type": "integer"
  14368. },
  14369. "buyorderid": {
  14370. "description": "买方委托单号",
  14371. "type": "string"
  14372. },
  14373. "createtime": {
  14374. "description": "创建时间",
  14375. "type": "string"
  14376. },
  14377. "currencysign": {
  14378. "description": "货币符号",
  14379. "type": "string"
  14380. },
  14381. "decimalplace": {
  14382. "description": "报价小数位",
  14383. "type": "integer"
  14384. },
  14385. "goodscode": {
  14386. "description": "商品代码(内部)",
  14387. "type": "string"
  14388. },
  14389. "goodsid": {
  14390. "description": "商品ID",
  14391. "type": "integer"
  14392. },
  14393. "goodsname": {
  14394. "description": "商品名称",
  14395. "type": "string"
  14396. },
  14397. "marketid": {
  14398. "description": "市场ID",
  14399. "type": "integer"
  14400. },
  14401. "offamount": {
  14402. "description": "优惠金额",
  14403. "type": "number"
  14404. },
  14405. "originalamount": {
  14406. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  14407. "type": "number"
  14408. },
  14409. "payamount": {
  14410. "description": "支付金额 = TradeAmount + TradeCharge",
  14411. "type": "number"
  14412. },
  14413. "payflag": {
  14414. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  14415. "type": "integer"
  14416. },
  14417. "paylimitedtime": {
  14418. "description": "支付期限",
  14419. "type": "string"
  14420. },
  14421. "paytime": {
  14422. "description": "付款时间",
  14423. "type": "string"
  14424. },
  14425. "picurls1": {
  14426. "description": "预售商品介绍图片[多张用逗号分隔]",
  14427. "type": "string"
  14428. },
  14429. "picurls2": {
  14430. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14431. "type": "string"
  14432. },
  14433. "sellaccountid": {
  14434. "description": "卖方账号ID[报价币种]",
  14435. "type": "integer"
  14436. },
  14437. "sellorderid": {
  14438. "description": "卖方委托单号",
  14439. "type": "string"
  14440. },
  14441. "tradeamount": {
  14442. "description": "成交金额",
  14443. "type": "number"
  14444. },
  14445. "tradecharge": {
  14446. "description": "成交手续费(买方)",
  14447. "type": "number"
  14448. },
  14449. "tradedate": {
  14450. "description": "交易日(yyyyMMdd)",
  14451. "type": "string"
  14452. },
  14453. "tradeid": {
  14454. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14455. "type": "string"
  14456. },
  14457. "trademode": {
  14458. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14459. "type": "integer"
  14460. },
  14461. "tradeprice": {
  14462. "description": "成交价格",
  14463. "type": "number"
  14464. },
  14465. "tradeqty": {
  14466. "description": "成交数量",
  14467. "type": "integer"
  14468. },
  14469. "vendorname1": {
  14470. "description": "预售商品供应商名称",
  14471. "type": "string"
  14472. },
  14473. "vendorname2": {
  14474. "description": "挂牌商品供应商名称",
  14475. "type": "string"
  14476. }
  14477. }
  14478. },
  14479. "models.HsbyBuyMyTradeDetail": {
  14480. "type": "object",
  14481. "required": [
  14482. "accountid",
  14483. "buyorsell",
  14484. "goodscode",
  14485. "goodsid",
  14486. "goodsname",
  14487. "marketid",
  14488. "orderid",
  14489. "qty",
  14490. "time",
  14491. "trademode"
  14492. ],
  14493. "properties": {
  14494. "accountid": {
  14495. "description": "账户ID[报价币种]",
  14496. "type": "integer"
  14497. },
  14498. "agreeunit": {
  14499. "description": "合约单位",
  14500. "type": "number"
  14501. },
  14502. "amount": {
  14503. "description": "金额 = 价格 * 数量 * 合约单位",
  14504. "type": "number"
  14505. },
  14506. "buyorsell": {
  14507. "description": "买卖 - 0:买 1:卖",
  14508. "type": "integer"
  14509. },
  14510. "currencysign": {
  14511. "description": "货币符号",
  14512. "type": "string"
  14513. },
  14514. "decimalplace": {
  14515. "description": "报价小数位",
  14516. "type": "integer"
  14517. },
  14518. "goodscode": {
  14519. "description": "商品代码(内部)",
  14520. "type": "string"
  14521. },
  14522. "goodsid": {
  14523. "description": "商品ID",
  14524. "type": "integer"
  14525. },
  14526. "goodsname": {
  14527. "description": "商品名称",
  14528. "type": "string"
  14529. },
  14530. "marketid": {
  14531. "description": "市场ID",
  14532. "type": "integer"
  14533. },
  14534. "orderamount": {
  14535. "description": "委托金额",
  14536. "type": "number"
  14537. },
  14538. "orderid": {
  14539. "description": "单号(成交单号)",
  14540. "type": "string"
  14541. },
  14542. "picurls1": {
  14543. "description": "预售商品介绍图片[多张用逗号分隔]",
  14544. "type": "string"
  14545. },
  14546. "picurls2": {
  14547. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14548. "type": "string"
  14549. },
  14550. "price": {
  14551. "description": "价格",
  14552. "type": "number"
  14553. },
  14554. "qty": {
  14555. "description": "数量",
  14556. "type": "integer"
  14557. },
  14558. "time": {
  14559. "description": "时间",
  14560. "type": "string"
  14561. },
  14562. "trademode": {
  14563. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14564. "type": "integer"
  14565. },
  14566. "vendorname1": {
  14567. "description": "预售商品供应商名称",
  14568. "type": "string"
  14569. },
  14570. "vendorname2": {
  14571. "description": "挂牌商品供应商名称",
  14572. "type": "string"
  14573. }
  14574. }
  14575. },
  14576. "models.HsbyGoodsOrderDetail": {
  14577. "type": "object",
  14578. "required": [
  14579. "buyorsell",
  14580. "orderid",
  14581. "ordertime"
  14582. ],
  14583. "properties": {
  14584. "buyorsell": {
  14585. "description": "买卖 - 0:买 1:卖",
  14586. "type": "integer"
  14587. },
  14588. "currencysign": {
  14589. "description": "货币符号",
  14590. "type": "string"
  14591. },
  14592. "customername": {
  14593. "description": "客户名称(企业名称),已脱敏",
  14594. "type": "string"
  14595. },
  14596. "enableqty": {
  14597. "description": "可用数量",
  14598. "type": "integer"
  14599. },
  14600. "goodunit": {
  14601. "description": "报价单位",
  14602. "type": "string"
  14603. },
  14604. "orderid": {
  14605. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14606. "type": "string"
  14607. },
  14608. "orderprice": {
  14609. "description": "委托价格",
  14610. "type": "number"
  14611. },
  14612. "ordertime": {
  14613. "description": "委托时间",
  14614. "type": "string"
  14615. }
  14616. }
  14617. },
  14618. "models.HsbyListingGoodsDetail": {
  14619. "type": "object",
  14620. "required": [
  14621. "goodscode",
  14622. "goodsid",
  14623. "goodsname",
  14624. "marketid",
  14625. "trademode"
  14626. ],
  14627. "properties": {
  14628. "agreeunit": {
  14629. "description": "合约单位",
  14630. "type": "number"
  14631. },
  14632. "buymaxqty": {
  14633. "description": "购买上限 [71] - 0为不限",
  14634. "type": "integer"
  14635. },
  14636. "currency": {
  14637. "description": "货币",
  14638. "type": "string"
  14639. },
  14640. "currencysign": {
  14641. "description": "货币符号",
  14642. "type": "string"
  14643. },
  14644. "decimalplace": {
  14645. "description": "报价小数位",
  14646. "type": "integer"
  14647. },
  14648. "desccityid": {
  14649. "description": "目的地(市)ID",
  14650. "type": "integer"
  14651. },
  14652. "descprovinceid": {
  14653. "description": "目的地(省)ID",
  14654. "type": "integer"
  14655. },
  14656. "goodscode": {
  14657. "description": "商品代码(内部)",
  14658. "type": "string"
  14659. },
  14660. "goodsdesc": {
  14661. "description": "商品详情",
  14662. "type": "string"
  14663. },
  14664. "goodsid": {
  14665. "description": "商品ID(自增ID SEQ_GOODS)",
  14666. "type": "integer"
  14667. },
  14668. "goodsname": {
  14669. "description": "商品名称",
  14670. "type": "string"
  14671. },
  14672. "goodsprice": {
  14673. "description": "商品价格",
  14674. "type": "number"
  14675. },
  14676. "hotindex": {
  14677. "description": "景点热度",
  14678. "type": "integer"
  14679. },
  14680. "last": {
  14681. "description": "现价",
  14682. "type": "number"
  14683. },
  14684. "limitdown": {
  14685. "description": "跌停价",
  14686. "type": "number"
  14687. },
  14688. "limitup": {
  14689. "description": "涨停价",
  14690. "type": "number"
  14691. },
  14692. "lotsize": {
  14693. "description": "手数最小变动单位",
  14694. "type": "integer"
  14695. },
  14696. "marketid": {
  14697. "description": "所属市场ID",
  14698. "type": "integer"
  14699. },
  14700. "picurls": {
  14701. "description": "介绍图片[多张用逗号分隔]",
  14702. "type": "string"
  14703. },
  14704. "quoteminunit": {
  14705. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14706. "type": "integer"
  14707. },
  14708. "stepvalue": {
  14709. "description": "价格最小变动单位",
  14710. "type": "number"
  14711. },
  14712. "trademode": {
  14713. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14714. "type": "integer"
  14715. },
  14716. "vendorattr": {
  14717. "description": "供应商附件(多张,逗号分隔)",
  14718. "type": "string"
  14719. },
  14720. "vendorname": {
  14721. "description": "供应商名称",
  14722. "type": "string"
  14723. },
  14724. "vendorphone": {
  14725. "description": "供应商客服电话",
  14726. "type": "string"
  14727. },
  14728. "videourls": {
  14729. "description": "介绍视频[多张用逗号分隔]",
  14730. "type": "string"
  14731. }
  14732. }
  14733. },
  14734. "models.HsbyMarketGoods": {
  14735. "type": "object",
  14736. "required": [
  14737. "accountid",
  14738. "buyorsell",
  14739. "goodscode",
  14740. "goodsid",
  14741. "goodsname",
  14742. "marketid",
  14743. "orderid",
  14744. "trademode"
  14745. ],
  14746. "properties": {
  14747. "accountid": {
  14748. "description": "账户ID[报价币种]",
  14749. "type": "integer"
  14750. },
  14751. "agreeunit": {
  14752. "description": "合约单位",
  14753. "type": "number"
  14754. },
  14755. "buyorsell": {
  14756. "description": "买卖 - 0:买 1:卖",
  14757. "type": "integer"
  14758. },
  14759. "categoryid": {
  14760. "description": "类别ID(WRCATEGORY)",
  14761. "type": "integer"
  14762. },
  14763. "currency": {
  14764. "description": "货币",
  14765. "type": "string"
  14766. },
  14767. "currencysign": {
  14768. "description": "货币符号",
  14769. "type": "string"
  14770. },
  14771. "customername": {
  14772. "description": "卖家名称",
  14773. "type": "string"
  14774. },
  14775. "decimalplace": {
  14776. "description": "报价小数位",
  14777. "type": "integer"
  14778. },
  14779. "goodscode": {
  14780. "description": "商品代码(内部)",
  14781. "type": "string"
  14782. },
  14783. "goodsid": {
  14784. "description": "商品ID",
  14785. "type": "integer"
  14786. },
  14787. "goodsname": {
  14788. "description": "商品名称",
  14789. "type": "string"
  14790. },
  14791. "goodsprice": {
  14792. "description": "商品价格",
  14793. "type": "number"
  14794. },
  14795. "hascoupon": {
  14796. "description": "是否可用优惠卷",
  14797. "type": "boolean"
  14798. },
  14799. "hotindex": {
  14800. "description": "景点热度",
  14801. "type": "integer"
  14802. },
  14803. "marketid": {
  14804. "description": "市场ID",
  14805. "type": "integer"
  14806. },
  14807. "orderid": {
  14808. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14809. "type": "string"
  14810. },
  14811. "orderprice": {
  14812. "description": "委托价格",
  14813. "type": "number"
  14814. },
  14815. "orderstatus": {
  14816. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14817. "type": "integer"
  14818. },
  14819. "picurls": {
  14820. "description": "介绍图片[多张用逗号分隔]",
  14821. "type": "string"
  14822. },
  14823. "quoteminunit": {
  14824. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14825. "type": "integer"
  14826. },
  14827. "sellUserID": {
  14828. "description": "卖方UserID",
  14829. "type": "integer"
  14830. },
  14831. "trademode": {
  14832. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14833. "type": "integer"
  14834. },
  14835. "videourls": {
  14836. "description": "介绍视频[多张用逗号分隔]",
  14837. "type": "string"
  14838. }
  14839. }
  14840. },
  14841. "models.HsbyMarketGoodsDetail": {
  14842. "type": "object",
  14843. "required": [
  14844. "accountid",
  14845. "buyorsell",
  14846. "goodscode",
  14847. "goodsid",
  14848. "goodsname",
  14849. "marketid",
  14850. "orderid",
  14851. "orderqty",
  14852. "trademode"
  14853. ],
  14854. "properties": {
  14855. "accountid": {
  14856. "description": "账户ID[报价币种]",
  14857. "type": "integer"
  14858. },
  14859. "agreeunit": {
  14860. "description": "合约单位",
  14861. "type": "number"
  14862. },
  14863. "buymaxqty": {
  14864. "description": "购买上限 [71] - 0为不限",
  14865. "type": "integer"
  14866. },
  14867. "buyorsell": {
  14868. "description": "买卖 - 0:买 1:卖",
  14869. "type": "integer"
  14870. },
  14871. "cancelqty": {
  14872. "description": "撤单数量",
  14873. "type": "integer"
  14874. },
  14875. "categoryid": {
  14876. "description": "类别ID(WRCATEGORY)",
  14877. "type": "integer"
  14878. },
  14879. "currency": {
  14880. "description": "货币",
  14881. "type": "string"
  14882. },
  14883. "currencysign": {
  14884. "description": "货币符号",
  14885. "type": "string"
  14886. },
  14887. "customername": {
  14888. "description": "卖家名称",
  14889. "type": "string"
  14890. },
  14891. "decimalplace": {
  14892. "description": "报价小数位",
  14893. "type": "integer"
  14894. },
  14895. "goodscode": {
  14896. "description": "商品代码(内部)",
  14897. "type": "string"
  14898. },
  14899. "goodsdesc": {
  14900. "description": "商品详情",
  14901. "type": "string"
  14902. },
  14903. "goodsid": {
  14904. "description": "商品ID",
  14905. "type": "integer"
  14906. },
  14907. "goodsname": {
  14908. "description": "商品名称",
  14909. "type": "string"
  14910. },
  14911. "goodsprice": {
  14912. "description": "商品价格",
  14913. "type": "number"
  14914. },
  14915. "hotindex": {
  14916. "description": "景点热度",
  14917. "type": "integer"
  14918. },
  14919. "lotsize": {
  14920. "description": "手数最小变动单位",
  14921. "type": "integer"
  14922. },
  14923. "marketid": {
  14924. "description": "市场ID",
  14925. "type": "integer"
  14926. },
  14927. "orderid": {
  14928. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14929. "type": "string"
  14930. },
  14931. "orderprice": {
  14932. "description": "委托价格",
  14933. "type": "number"
  14934. },
  14935. "orderqty": {
  14936. "description": "委托数量",
  14937. "type": "integer"
  14938. },
  14939. "orderstatus": {
  14940. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14941. "type": "integer"
  14942. },
  14943. "picurls": {
  14944. "description": "介绍图片[多张用逗号分隔]",
  14945. "type": "string"
  14946. },
  14947. "quoteminunit": {
  14948. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14949. "type": "integer"
  14950. },
  14951. "sellUserID": {
  14952. "description": "卖方UserID",
  14953. "type": "integer"
  14954. },
  14955. "trademode": {
  14956. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14957. "type": "integer"
  14958. },
  14959. "tradeqty": {
  14960. "description": "成交数量",
  14961. "type": "integer"
  14962. },
  14963. "vendorattr": {
  14964. "description": "供应商附件(多张,逗号分隔)",
  14965. "type": "string"
  14966. },
  14967. "vendorname": {
  14968. "description": "供应商名称",
  14969. "type": "string"
  14970. },
  14971. "vendorphone": {
  14972. "description": "供应商客服电话",
  14973. "type": "string"
  14974. },
  14975. "videourls": {
  14976. "description": "介绍视频[多张用逗号分隔]",
  14977. "type": "string"
  14978. }
  14979. }
  14980. },
  14981. "models.HsbyMarketInfo": {
  14982. "type": "object",
  14983. "required": [
  14984. "marketid",
  14985. "marketstatus",
  14986. "trademode"
  14987. ],
  14988. "properties": {
  14989. "marketid": {
  14990. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  14991. "type": "integer"
  14992. },
  14993. "marketname": {
  14994. "description": "市场名称",
  14995. "type": "string"
  14996. },
  14997. "marketstatus": {
  14998. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  14999. "type": "integer"
  15000. },
  15001. "trademode": {
  15002. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15003. "type": "integer"
  15004. }
  15005. }
  15006. },
  15007. "models.HsbyMyGoods": {
  15008. "type": "object",
  15009. "required": [
  15010. "accountid",
  15011. "goodscode",
  15012. "goodsid",
  15013. "goodsname",
  15014. "marketid",
  15015. "trademode"
  15016. ],
  15017. "properties": {
  15018. "accountid": {
  15019. "description": "账号Id",
  15020. "type": "integer"
  15021. },
  15022. "agreeunit": {
  15023. "description": "合约单位",
  15024. "type": "number"
  15025. },
  15026. "buyaverageprice": {
  15027. "description": "持仓均价",
  15028. "type": "number"
  15029. },
  15030. "buycurholderamount": {
  15031. "description": "买当前持仓总金额[商品币种]",
  15032. "type": "number"
  15033. },
  15034. "buycurpositionqty": {
  15035. "description": "买当前持仓总数量",
  15036. "type": "integer"
  15037. },
  15038. "buymaxqty": {
  15039. "description": "购买上限 [71] - 0为不限",
  15040. "type": "integer"
  15041. },
  15042. "currencysign": {
  15043. "description": "货币符号",
  15044. "type": "string"
  15045. },
  15046. "decimalplace": {
  15047. "description": "报价小数位",
  15048. "type": "integer"
  15049. },
  15050. "enableqty": {
  15051. "description": "可用数量",
  15052. "type": "integer"
  15053. },
  15054. "goodscode": {
  15055. "description": "商品代码(内部)",
  15056. "type": "string"
  15057. },
  15058. "goodsid": {
  15059. "description": "商品Id",
  15060. "type": "integer"
  15061. },
  15062. "goodsname": {
  15063. "description": "商品名称",
  15064. "type": "string"
  15065. },
  15066. "goodsprice": {
  15067. "description": "商品价格",
  15068. "type": "number"
  15069. },
  15070. "goodsstatus": {
  15071. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  15072. "type": "integer"
  15073. },
  15074. "last": {
  15075. "description": "现价(仅使用于挂牌点选)",
  15076. "type": "number"
  15077. },
  15078. "limitdown": {
  15079. "description": "跌停价(仅使用于挂牌点选)",
  15080. "type": "number"
  15081. },
  15082. "limitup": {
  15083. "description": "涨停价(仅使用于挂牌点选)",
  15084. "type": "number"
  15085. },
  15086. "lotsize": {
  15087. "description": "手数最小变动单位",
  15088. "type": "integer"
  15089. },
  15090. "marketid": {
  15091. "description": "所属市场ID",
  15092. "type": "integer"
  15093. },
  15094. "picurls": {
  15095. "description": "介绍图片[多张用逗号分隔]",
  15096. "type": "string"
  15097. },
  15098. "quoteminunit": {
  15099. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15100. "type": "integer"
  15101. },
  15102. "stepvalue": {
  15103. "description": "价格最小变动单位",
  15104. "type": "number"
  15105. },
  15106. "trademode": {
  15107. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15108. "type": "integer"
  15109. }
  15110. }
  15111. },
  15112. "models.HsbyMyPackage": {
  15113. "type": "object",
  15114. "required": [
  15115. "goodscode",
  15116. "goodsname",
  15117. "takeorderid",
  15118. "trademode"
  15119. ],
  15120. "properties": {
  15121. "accountid": {
  15122. "description": "账户ID",
  15123. "type": "integer"
  15124. },
  15125. "address": {
  15126. "description": "提货人详细地址",
  15127. "type": "string"
  15128. },
  15129. "agreeunit": {
  15130. "description": "合约单位",
  15131. "type": "number"
  15132. },
  15133. "amount": {
  15134. "description": "提货金额",
  15135. "type": "number"
  15136. },
  15137. "auditer": {
  15138. "description": "审核人",
  15139. "type": "integer"
  15140. },
  15141. "audittime": {
  15142. "description": "审核时间",
  15143. "type": "string"
  15144. },
  15145. "averageprice": {
  15146. "description": "均价",
  15147. "type": "number"
  15148. },
  15149. "cardnum": {
  15150. "description": "提货人证件号码",
  15151. "type": "string"
  15152. },
  15153. "cardtypeid": {
  15154. "description": "提货人证件类型",
  15155. "type": "integer"
  15156. },
  15157. "checkremark": {
  15158. "description": "审核备注",
  15159. "type": "string"
  15160. },
  15161. "currencysign": {
  15162. "description": "货币符号",
  15163. "type": "string"
  15164. },
  15165. "decimalplace": {
  15166. "description": "报价小数位",
  15167. "type": "integer"
  15168. },
  15169. "goodscode": {
  15170. "description": "商品代码(内部)",
  15171. "type": "string"
  15172. },
  15173. "goodsid": {
  15174. "description": "商品ID",
  15175. "type": "integer"
  15176. },
  15177. "goodsname": {
  15178. "description": "商品名称",
  15179. "type": "string"
  15180. },
  15181. "handlestatus": {
  15182. "description": "处理状态",
  15183. "type": "integer"
  15184. },
  15185. "marketid": {
  15186. "description": "市场ID",
  15187. "type": "integer"
  15188. },
  15189. "phonenum": {
  15190. "description": "提货人联系方式",
  15191. "type": "string"
  15192. },
  15193. "picurls": {
  15194. "description": "介绍图片[多张用逗号分隔]",
  15195. "type": "string"
  15196. },
  15197. "qty": {
  15198. "description": "提货数量",
  15199. "type": "number"
  15200. },
  15201. "recivername": {
  15202. "description": "提货人姓名",
  15203. "type": "string"
  15204. },
  15205. "reqtime": {
  15206. "description": "更新时间",
  15207. "type": "string"
  15208. },
  15209. "takemode": {
  15210. "description": "提货方式 - 2:自提 3:配送",
  15211. "type": "integer"
  15212. },
  15213. "takeorderid": {
  15214. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  15215. "type": "string"
  15216. },
  15217. "takeorderstatus": {
  15218. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  15219. "type": "integer"
  15220. },
  15221. "takeremark": {
  15222. "description": "提货备注",
  15223. "type": "string"
  15224. },
  15225. "tradedate": {
  15226. "description": "交易日(yyyyMMdd)",
  15227. "type": "string"
  15228. },
  15229. "trademode": {
  15230. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15231. "type": "integer"
  15232. },
  15233. "userid": {
  15234. "description": "用户ID",
  15235. "type": "integer"
  15236. },
  15237. "vendorname": {
  15238. "description": "供应商名称",
  15239. "type": "string"
  15240. }
  15241. }
  15242. },
  15243. "models.HsbyPreGoods": {
  15244. "type": "object",
  15245. "required": [
  15246. "goodscode",
  15247. "goodsid",
  15248. "goodsname",
  15249. "marketid",
  15250. "trademode"
  15251. ],
  15252. "properties": {
  15253. "agreeunit": {
  15254. "description": "合约单位",
  15255. "type": "number"
  15256. },
  15257. "currency": {
  15258. "description": "货币",
  15259. "type": "string"
  15260. },
  15261. "currencysign": {
  15262. "description": "货币符号",
  15263. "type": "string"
  15264. },
  15265. "decimalplace": {
  15266. "description": "报价小数位",
  15267. "type": "integer"
  15268. },
  15269. "desccityid": {
  15270. "description": "目的地(市)",
  15271. "type": "integer"
  15272. },
  15273. "descprovinceid": {
  15274. "description": "目的地(省)",
  15275. "type": "integer"
  15276. },
  15277. "enableqty": {
  15278. "description": "剩余数量",
  15279. "type": "integer"
  15280. },
  15281. "goodscode": {
  15282. "description": "商品代码(内部)",
  15283. "type": "string"
  15284. },
  15285. "goodsid": {
  15286. "description": "商品ID(自增ID SEQ_GOODS)",
  15287. "type": "integer"
  15288. },
  15289. "goodsname": {
  15290. "description": "商品名称",
  15291. "type": "string"
  15292. },
  15293. "goodsstatus": {
  15294. "description": "商品状态- 2:未上市 3:上市",
  15295. "type": "integer"
  15296. },
  15297. "lasttradedate": {
  15298. "description": "最后交易日期(状态:待退市)",
  15299. "type": "string"
  15300. },
  15301. "listingdate": {
  15302. "description": "交易开始日期",
  15303. "type": "string"
  15304. },
  15305. "marketid": {
  15306. "description": "所属市场ID",
  15307. "type": "integer"
  15308. },
  15309. "picurls": {
  15310. "description": "介绍图片[多张用逗号分隔]",
  15311. "type": "string"
  15312. },
  15313. "presaledqty": {
  15314. "description": "已预售量(预售结束时更新)",
  15315. "type": "integer"
  15316. },
  15317. "presaleqty": {
  15318. "description": "预售数量",
  15319. "type": "integer"
  15320. },
  15321. "quoteminunit": {
  15322. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15323. "type": "integer"
  15324. },
  15325. "refprice": {
  15326. "description": "参考价格[一口价]",
  15327. "type": "number"
  15328. },
  15329. "relatedgoodsid": {
  15330. "description": "关联交易合约ID",
  15331. "type": "integer"
  15332. },
  15333. "trademode": {
  15334. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15335. "type": "integer"
  15336. },
  15337. "videourls": {
  15338. "description": "介绍视频[多张用逗号分隔]",
  15339. "type": "string"
  15340. }
  15341. }
  15342. },
  15343. "models.HsbyPreGoodsDetail": {
  15344. "type": "object",
  15345. "required": [
  15346. "goodscode",
  15347. "goodsid",
  15348. "goodsname",
  15349. "marketid",
  15350. "trademode"
  15351. ],
  15352. "properties": {
  15353. "agreeunit": {
  15354. "description": "合约单位",
  15355. "type": "number"
  15356. },
  15357. "buymaxqty": {
  15358. "description": "购买上限 [71] - 0为不限",
  15359. "type": "integer"
  15360. },
  15361. "currency": {
  15362. "description": "货币",
  15363. "type": "string"
  15364. },
  15365. "currencysign": {
  15366. "description": "货币符号",
  15367. "type": "string"
  15368. },
  15369. "customername": {
  15370. "description": "发行单位",
  15371. "type": "string"
  15372. },
  15373. "decimalplace": {
  15374. "description": "报价小数位",
  15375. "type": "integer"
  15376. },
  15377. "desccityid": {
  15378. "description": "目的地(市)ID",
  15379. "type": "integer"
  15380. },
  15381. "descprovinceid": {
  15382. "description": "目的地(省)ID",
  15383. "type": "integer"
  15384. },
  15385. "enableqty": {
  15386. "description": "剩余数量",
  15387. "type": "integer"
  15388. },
  15389. "goodscode": {
  15390. "description": "商品代码(内部)",
  15391. "type": "string"
  15392. },
  15393. "goodsdesc": {
  15394. "description": "商品详情",
  15395. "type": "string"
  15396. },
  15397. "goodsid": {
  15398. "description": "商品ID(自增ID SEQ_GOODS)",
  15399. "type": "integer"
  15400. },
  15401. "goodsname": {
  15402. "description": "商品名称",
  15403. "type": "string"
  15404. },
  15405. "goodsstatus": {
  15406. "description": "商品状态- 2:未上市 3:上市",
  15407. "type": "integer"
  15408. },
  15409. "goodunit": {
  15410. "description": "报价单位",
  15411. "type": "string"
  15412. },
  15413. "lasttradedate": {
  15414. "description": "最后交易日期(状态:待退市)",
  15415. "type": "string"
  15416. },
  15417. "listingdate": {
  15418. "description": "交易开始日期",
  15419. "type": "string"
  15420. },
  15421. "lotsize": {
  15422. "description": "手数最小变动单位",
  15423. "type": "integer"
  15424. },
  15425. "marketid": {
  15426. "description": "所属市场ID",
  15427. "type": "integer"
  15428. },
  15429. "picurls": {
  15430. "description": "介绍图片[多张用逗号分隔]",
  15431. "type": "string"
  15432. },
  15433. "presaledqty": {
  15434. "description": "已预售量(预售结束时更新)",
  15435. "type": "integer"
  15436. },
  15437. "presaleqty": {
  15438. "description": "预售数量",
  15439. "type": "integer"
  15440. },
  15441. "quoteminunit": {
  15442. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15443. "type": "integer"
  15444. },
  15445. "refprice": {
  15446. "description": "参考价格[一口价]",
  15447. "type": "number"
  15448. },
  15449. "relatedgoodsid": {
  15450. "description": "关联交易合约ID",
  15451. "type": "integer"
  15452. },
  15453. "stepvalue": {
  15454. "description": "价格最小变动单位",
  15455. "type": "number"
  15456. },
  15457. "trademode": {
  15458. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15459. "type": "integer"
  15460. },
  15461. "vendorattr": {
  15462. "description": "供应商附件(多张,逗号分隔)",
  15463. "type": "string"
  15464. },
  15465. "vendorname": {
  15466. "description": "供应商名称",
  15467. "type": "string"
  15468. },
  15469. "vendorphone": {
  15470. "description": "供应商客服电话",
  15471. "type": "string"
  15472. },
  15473. "videourls": {
  15474. "description": "介绍视频[多张用逗号分隔]",
  15475. "type": "string"
  15476. }
  15477. }
  15478. },
  15479. "models.HsbySellCollectionOrder": {
  15480. "type": "object",
  15481. "required": [
  15482. "goodscode",
  15483. "goodsname",
  15484. "tradeid",
  15485. "trademode"
  15486. ],
  15487. "properties": {
  15488. "agreeunit": {
  15489. "description": "合约单位",
  15490. "type": "number"
  15491. },
  15492. "buyaccountid": {
  15493. "description": "买方账号ID[报价币种]",
  15494. "type": "integer"
  15495. },
  15496. "buyorderid": {
  15497. "description": "买方委托单号",
  15498. "type": "string"
  15499. },
  15500. "createtime": {
  15501. "description": "创建时间",
  15502. "type": "string"
  15503. },
  15504. "currencysign": {
  15505. "description": "货币符号",
  15506. "type": "string"
  15507. },
  15508. "decimalplace": {
  15509. "description": "报价小数位",
  15510. "type": "integer"
  15511. },
  15512. "goodscode": {
  15513. "description": "商品代码(内部)",
  15514. "type": "string"
  15515. },
  15516. "goodsid": {
  15517. "description": "商品ID",
  15518. "type": "integer"
  15519. },
  15520. "goodsname": {
  15521. "description": "商品名称",
  15522. "type": "string"
  15523. },
  15524. "marketid": {
  15525. "description": "市场ID",
  15526. "type": "integer"
  15527. },
  15528. "offamount": {
  15529. "description": "优惠金额",
  15530. "type": "number"
  15531. },
  15532. "payamount": {
  15533. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  15534. "type": "number"
  15535. },
  15536. "payflag": {
  15537. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  15538. "type": "integer"
  15539. },
  15540. "paylimitedtime": {
  15541. "description": "支付期限",
  15542. "type": "string"
  15543. },
  15544. "paytime": {
  15545. "description": "付款时间",
  15546. "type": "string"
  15547. },
  15548. "picurls": {
  15549. "description": "商品介绍图片[多张用逗号分隔]",
  15550. "type": "string"
  15551. },
  15552. "sellaccountid": {
  15553. "description": "卖方账号ID[报价币种]",
  15554. "type": "integer"
  15555. },
  15556. "sellorderid": {
  15557. "description": "卖方委托单号",
  15558. "type": "string"
  15559. },
  15560. "tradeamount": {
  15561. "description": "成交金额",
  15562. "type": "number"
  15563. },
  15564. "tradecharge": {
  15565. "description": "成交手续费(买方)",
  15566. "type": "number"
  15567. },
  15568. "tradedate": {
  15569. "description": "交易日(yyyyMMdd)",
  15570. "type": "string"
  15571. },
  15572. "tradeid": {
  15573. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15574. "type": "string"
  15575. },
  15576. "trademode": {
  15577. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15578. "type": "integer"
  15579. },
  15580. "tradeprice": {
  15581. "description": "成交价格",
  15582. "type": "number"
  15583. },
  15584. "tradeqty": {
  15585. "description": "成交数量",
  15586. "type": "integer"
  15587. }
  15588. }
  15589. },
  15590. "models.HsbySellMyDetail": {
  15591. "type": "object",
  15592. "required": [
  15593. "accountid",
  15594. "buyorsell",
  15595. "goodscode",
  15596. "goodsid",
  15597. "goodsname",
  15598. "marketid",
  15599. "orderid",
  15600. "time",
  15601. "trademode"
  15602. ],
  15603. "properties": {
  15604. "accountid": {
  15605. "description": "账户ID[报价币种]",
  15606. "type": "integer"
  15607. },
  15608. "agreeunit": {
  15609. "description": "合约单位",
  15610. "type": "number"
  15611. },
  15612. "buyorsell": {
  15613. "description": "买卖 - 0:买 1:卖",
  15614. "type": "integer"
  15615. },
  15616. "currencysign": {
  15617. "description": "货币符号",
  15618. "type": "string"
  15619. },
  15620. "decimalplace": {
  15621. "description": "报价小数位",
  15622. "type": "integer"
  15623. },
  15624. "goodscode": {
  15625. "description": "商品代码(内部)",
  15626. "type": "string"
  15627. },
  15628. "goodsid": {
  15629. "description": "商品ID",
  15630. "type": "integer"
  15631. },
  15632. "goodsname": {
  15633. "description": "商品名称",
  15634. "type": "string"
  15635. },
  15636. "marketid": {
  15637. "description": "市场ID",
  15638. "type": "integer"
  15639. },
  15640. "orderid": {
  15641. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  15642. "type": "string"
  15643. },
  15644. "ordertype": {
  15645. "description": "单据类型:0 - 发布中, 1 - 已完成",
  15646. "type": "integer"
  15647. },
  15648. "picurls": {
  15649. "description": "介绍图片[多张用逗号分隔]",
  15650. "type": "string"
  15651. },
  15652. "price": {
  15653. "description": "价格",
  15654. "type": "number"
  15655. },
  15656. "qty": {
  15657. "description": "数量",
  15658. "type": "integer"
  15659. },
  15660. "time": {
  15661. "description": "时间",
  15662. "type": "string"
  15663. },
  15664. "trademode": {
  15665. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15666. "type": "integer"
  15667. },
  15668. "vendorname": {
  15669. "description": "供应商名称",
  15670. "type": "string"
  15671. }
  15672. }
  15673. },
  15674. "models.HsbyTopGoods": {
  15675. "type": "object",
  15676. "required": [
  15677. "goodscode",
  15678. "goodsid",
  15679. "goodsname",
  15680. "marketid",
  15681. "trademode"
  15682. ],
  15683. "properties": {
  15684. "agreeunit": {
  15685. "description": "合约单位",
  15686. "type": "number"
  15687. },
  15688. "currency": {
  15689. "description": "货币",
  15690. "type": "string"
  15691. },
  15692. "currencysign": {
  15693. "description": "货币符号",
  15694. "type": "string"
  15695. },
  15696. "decimalplace": {
  15697. "description": "报价小数位",
  15698. "type": "integer"
  15699. },
  15700. "desccityid": {
  15701. "description": "目的地(市)",
  15702. "type": "integer"
  15703. },
  15704. "descprovinceid": {
  15705. "description": "目的地(省)",
  15706. "type": "integer"
  15707. },
  15708. "goodscode": {
  15709. "description": "商品代码(内部)",
  15710. "type": "string"
  15711. },
  15712. "goodsid": {
  15713. "description": "商品ID(自增ID SEQ_GOODS)",
  15714. "type": "integer"
  15715. },
  15716. "goodsname": {
  15717. "description": "商品名称",
  15718. "type": "string"
  15719. },
  15720. "hotindex": {
  15721. "description": "景点热度",
  15722. "type": "integer"
  15723. },
  15724. "last": {
  15725. "description": "现价",
  15726. "type": "number"
  15727. },
  15728. "marketid": {
  15729. "description": "所属市场ID",
  15730. "type": "integer"
  15731. },
  15732. "picurls": {
  15733. "description": "介绍图片[多张用逗号分隔]",
  15734. "type": "string"
  15735. },
  15736. "quoteminunit": {
  15737. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15738. "type": "integer"
  15739. },
  15740. "trademode": {
  15741. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15742. "type": "integer"
  15743. },
  15744. "videourls": {
  15745. "description": "介绍视频[多张用逗号分隔]",
  15746. "type": "string"
  15747. }
  15748. }
  15749. },
  15750. "models.HybsMyBuyOrderDetail": {
  15751. "type": "object",
  15752. "required": [
  15753. "accountid",
  15754. "buyorsell",
  15755. "goodscode",
  15756. "goodsid",
  15757. "goodsname",
  15758. "marketid",
  15759. "orderid",
  15760. "orderqty",
  15761. "ordertime",
  15762. "trademode"
  15763. ],
  15764. "properties": {
  15765. "accountid": {
  15766. "description": "账户ID[报价币种]",
  15767. "type": "integer"
  15768. },
  15769. "agreeunit": {
  15770. "description": "合约单位",
  15771. "type": "number"
  15772. },
  15773. "buyorsell": {
  15774. "description": "买卖 - 0:买 1:卖",
  15775. "type": "integer"
  15776. },
  15777. "cancelqty": {
  15778. "description": "撤单数量",
  15779. "type": "integer"
  15780. },
  15781. "currencysign": {
  15782. "description": "货币符号",
  15783. "type": "string"
  15784. },
  15785. "decimalplace": {
  15786. "description": "报价小数位",
  15787. "type": "integer"
  15788. },
  15789. "goodscode": {
  15790. "description": "商品代码(内部)",
  15791. "type": "string"
  15792. },
  15793. "goodsid": {
  15794. "description": "商品ID",
  15795. "type": "integer"
  15796. },
  15797. "goodsname": {
  15798. "description": "商品名称",
  15799. "type": "string"
  15800. },
  15801. "listingselecttype": {
  15802. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15803. "type": "integer"
  15804. },
  15805. "marketid": {
  15806. "description": "市场ID",
  15807. "type": "integer"
  15808. },
  15809. "mybuystatus": {
  15810. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  15811. "type": "integer"
  15812. },
  15813. "orderamount": {
  15814. "description": "委托金额",
  15815. "type": "number"
  15816. },
  15817. "orderid": {
  15818. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15819. "type": "string"
  15820. },
  15821. "orderprice": {
  15822. "description": "委托价格",
  15823. "type": "number"
  15824. },
  15825. "orderqty": {
  15826. "description": "委托数量",
  15827. "type": "integer"
  15828. },
  15829. "orderstatus": {
  15830. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15831. "type": "integer"
  15832. },
  15833. "ordertime": {
  15834. "description": "委托时间",
  15835. "type": "string"
  15836. },
  15837. "picurls1": {
  15838. "description": "预售商品介绍图片[多张用逗号分隔]",
  15839. "type": "string"
  15840. },
  15841. "picurls2": {
  15842. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  15843. "type": "string"
  15844. },
  15845. "trademode": {
  15846. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15847. "type": "integer"
  15848. },
  15849. "tradeqty": {
  15850. "description": "成交数量",
  15851. "type": "integer"
  15852. },
  15853. "vendorname1": {
  15854. "description": "预售商品供应商名称",
  15855. "type": "string"
  15856. },
  15857. "vendorname2": {
  15858. "description": "挂牌商品供应商名称",
  15859. "type": "string"
  15860. }
  15861. }
  15862. },
  15863. "models.Loginaccount": {
  15864. "type": "object",
  15865. "required": [
  15866. "loginid"
  15867. ],
  15868. "properties": {
  15869. "canoutin": {
  15870. "description": "是否可出入金 - 0:不可 1:可",
  15871. "type": "integer"
  15872. },
  15873. "clientroleid": {
  15874. "description": "终端角色ID",
  15875. "type": "integer"
  15876. },
  15877. "haslogined": {
  15878. "description": "是否已登录 - 0:未登录 1:已登录",
  15879. "type": "integer"
  15880. },
  15881. "hasupdatedpwd": {
  15882. "description": "是否已更改密码 - 0:未修改 1:已修改",
  15883. "type": "integer"
  15884. },
  15885. "lastloginip": {
  15886. "description": "最新登录地址",
  15887. "type": "string"
  15888. },
  15889. "lastloginmode": {
  15890. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15891. "type": "integer"
  15892. },
  15893. "lastloginremark": {
  15894. "description": "最新登录描述",
  15895. "type": "string"
  15896. },
  15897. "lastlogintime": {
  15898. "description": "最新登录时间",
  15899. "type": "string"
  15900. },
  15901. "logincode": {
  15902. "description": "登录代码",
  15903. "type": "string"
  15904. },
  15905. "loginfailnum": {
  15906. "description": "连续登录失败次数(登录成功时清零)",
  15907. "type": "integer"
  15908. },
  15909. "loginid": {
  15910. "description": "登陆账号",
  15911. "type": "integer"
  15912. },
  15913. "loginport": {
  15914. "description": "最新登录端口",
  15915. "type": "integer"
  15916. },
  15917. "loginstatus": {
  15918. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  15919. "type": "integer"
  15920. },
  15921. "loginusertype": {
  15922. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  15923. "type": "integer"
  15924. },
  15925. "modifierid": {
  15926. "description": "修改人",
  15927. "type": "integer"
  15928. },
  15929. "modifytime": {
  15930. "description": "修改时间",
  15931. "type": "string"
  15932. },
  15933. "pwdwrongcount": {
  15934. "description": "密码错误次数",
  15935. "type": "integer"
  15936. },
  15937. "taaccountrighttype": {
  15938. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  15939. "type": "integer"
  15940. },
  15941. "unfreezetime": {
  15942. "description": "账户解冻时间",
  15943. "type": "string"
  15944. },
  15945. "userid": {
  15946. "description": "用户ID",
  15947. "type": "integer"
  15948. }
  15949. }
  15950. },
  15951. "models.Market": {
  15952. "type": "object",
  15953. "required": [
  15954. "marketid",
  15955. "marketstatus",
  15956. "openmethod",
  15957. "reckonpricealgorithm",
  15958. "trademode",
  15959. "tradeproperty"
  15960. ],
  15961. "properties": {
  15962. "auctionwrtype": {
  15963. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  15964. "type": "integer"
  15965. },
  15966. "canacceptquote": {
  15967. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  15968. "type": "integer"
  15969. },
  15970. "cangoodsexercise": {
  15971. "description": "[期权]是否可现货行权- 0:否 1:是",
  15972. "type": "integer"
  15973. },
  15974. "cangoodsexercisetype": {
  15975. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  15976. "type": "integer"
  15977. },
  15978. "canmanualquotestrike": {
  15979. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  15980. "type": "integer"
  15981. },
  15982. "canmutistage": {
  15983. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  15984. "type": "integer"
  15985. },
  15986. "canpreexercise": {
  15987. "description": "[期权]是否可预申报- 0:否 1:是",
  15988. "type": "integer"
  15989. },
  15990. "clearinterval": {
  15991. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  15992. "type": "integer"
  15993. },
  15994. "contracttmp": {
  15995. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  15996. "type": "string"
  15997. },
  15998. "exchareaid": {
  15999. "description": "所属交易所,可以没有",
  16000. "type": "integer"
  16001. },
  16002. "goodstype": {
  16003. "description": "商品类型 - 1:交易商品 2:仓单商品",
  16004. "type": "integer"
  16005. },
  16006. "hasrebate": {
  16007. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  16008. "type": "integer"
  16009. },
  16010. "hastradecredit": {
  16011. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  16012. "type": "integer"
  16013. },
  16014. "haswr": {
  16015. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  16016. "type": "integer"
  16017. },
  16018. "isdeductmargin": {
  16019. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  16020. "type": "integer"
  16021. },
  16022. "isrecordsource": {
  16023. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  16024. "type": "integer"
  16025. },
  16026. "isreleasemargin": {
  16027. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  16028. "type": "integer"
  16029. },
  16030. "marginformula": {
  16031. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  16032. "type": "integer"
  16033. },
  16034. "marginformula2": {
  16035. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  16036. "type": "integer"
  16037. },
  16038. "marketid": {
  16039. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  16040. "type": "integer"
  16041. },
  16042. "marketname": {
  16043. "description": "市场名称",
  16044. "type": "string"
  16045. },
  16046. "marketserviceid": {
  16047. "description": "市场服务ID",
  16048. "type": "integer"
  16049. },
  16050. "marketstatus": {
  16051. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  16052. "type": "integer"
  16053. },
  16054. "markettype": {
  16055. "description": "市场类型- 1:非交易服务 2:交易服务",
  16056. "type": "integer"
  16057. },
  16058. "matchermode": {
  16059. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  16060. "type": "integer"
  16061. },
  16062. "openmethod": {
  16063. "description": "开盘模式 - 0 自动 1手动",
  16064. "type": "integer"
  16065. },
  16066. "otcuserid": {
  16067. "description": "场外期权做市商[场外期权]",
  16068. "type": "integer"
  16069. },
  16070. "outersynctime": {
  16071. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  16072. "type": "string"
  16073. },
  16074. "pendingflag": {
  16075. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  16076. "type": "integer"
  16077. },
  16078. "pendingtime": {
  16079. "description": "待开市时间[通道交易-对冲](HH:mm)",
  16080. "type": "string"
  16081. },
  16082. "performancetempid": {
  16083. "description": "履约计划模板ID - 作废",
  16084. "type": "integer"
  16085. },
  16086. "premiumquotemode": {
  16087. "description": "权利金报价方式 - 1:自动 2:手动",
  16088. "type": "integer"
  16089. },
  16090. "rebateratio": {
  16091. "description": "返利比率[竞价式]",
  16092. "type": "number"
  16093. },
  16094. "reckonorder": {
  16095. "description": "结算顺序",
  16096. "type": "integer"
  16097. },
  16098. "reckonpricealgorithm": {
  16099. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  16100. "type": "integer"
  16101. },
  16102. "reckonpriceparam": {
  16103. "description": "结算价参数",
  16104. "type": "integer"
  16105. },
  16106. "reckontime": {
  16107. "description": "结算时间[通道交易-对冲](HH:mm)",
  16108. "type": "string"
  16109. },
  16110. "roleprioritytype": {
  16111. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  16112. "type": "integer"
  16113. },
  16114. "selllistingauditflag": {
  16115. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  16116. "type": "integer"
  16117. },
  16118. "trademarkettype": {
  16119. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  16120. "type": "integer"
  16121. },
  16122. "trademode": {
  16123. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16124. "type": "integer"
  16125. },
  16126. "tradeproperty": {
  16127. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  16128. "type": "integer"
  16129. },
  16130. "tradetype": {
  16131. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  16132. "type": "integer"
  16133. }
  16134. }
  16135. },
  16136. "models.Marketrun": {
  16137. "type": "object",
  16138. "required": [
  16139. "marketid",
  16140. "nexttradedate",
  16141. "reckonflag",
  16142. "runstatus",
  16143. "tradedate",
  16144. "tradedate2"
  16145. ],
  16146. "properties": {
  16147. "afternexttradedate": {
  16148. "description": "下下交易日",
  16149. "type": "string"
  16150. },
  16151. "clearquoteflag": {
  16152. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  16153. "type": "integer"
  16154. },
  16155. "lastreckondate": {
  16156. "description": "最新交易日(结算成功)",
  16157. "type": "string"
  16158. },
  16159. "machinedate": {
  16160. "description": "机器时间",
  16161. "type": "string"
  16162. },
  16163. "manualflag": {
  16164. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  16165. "type": "integer"
  16166. },
  16167. "marketid": {
  16168. "description": "市场ID",
  16169. "type": "integer"
  16170. },
  16171. "nexttradedate": {
  16172. "description": "下一交易日",
  16173. "type": "string"
  16174. },
  16175. "pretradedate": {
  16176. "description": "上一交易日",
  16177. "type": "string"
  16178. },
  16179. "reckonflag": {
  16180. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  16181. "type": "integer"
  16182. },
  16183. "runstatus": {
  16184. "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.今日免清算",
  16185. "type": "integer"
  16186. },
  16187. "sectionid": {
  16188. "description": "时间段号[多时段时用]",
  16189. "type": "integer"
  16190. },
  16191. "tradedate": {
  16192. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  16193. "type": "string"
  16194. },
  16195. "tradedate2": {
  16196. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  16197. "type": "string"
  16198. },
  16199. "updatetime": {
  16200. "description": "更新时间",
  16201. "type": "string"
  16202. }
  16203. }
  16204. },
  16205. "models.Messageboard": {
  16206. "type": "object",
  16207. "required": [
  16208. "messageboardid"
  16209. ],
  16210. "properties": {
  16211. "contactnum": {
  16212. "description": "联系电话",
  16213. "type": "string"
  16214. },
  16215. "createtime": {
  16216. "description": "创建时间",
  16217. "type": "string"
  16218. },
  16219. "message": {
  16220. "description": "留言信息",
  16221. "type": "string"
  16222. },
  16223. "messageboardid": {
  16224. "description": "留言簿ID(SEQ_MessageBoard)",
  16225. "type": "integer"
  16226. },
  16227. "userid": {
  16228. "description": "用户ID",
  16229. "type": "integer"
  16230. }
  16231. }
  16232. },
  16233. "models.MyCoupon": {
  16234. "type": "object",
  16235. "required": [
  16236. "accountid",
  16237. "coupontypeid"
  16238. ],
  16239. "properties": {
  16240. "accountid": {
  16241. "description": "资金账户ID",
  16242. "type": "integer"
  16243. },
  16244. "areauserid": {
  16245. "description": "所属机构",
  16246. "type": "integer"
  16247. },
  16248. "conditionvalue": {
  16249. "description": "条件阈值(可为0)",
  16250. "type": "number"
  16251. },
  16252. "couponcategroy": {
  16253. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  16254. "type": "integer"
  16255. },
  16256. "couponname": {
  16257. "description": "优惠券名称",
  16258. "type": "string"
  16259. },
  16260. "coupontypeid": {
  16261. "description": "优惠券类型ID",
  16262. "type": "string"
  16263. },
  16264. "couponvalue": {
  16265. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  16266. "type": "number"
  16267. },
  16268. "curfreezeqty": {
  16269. "description": "期末冻结数量",
  16270. "type": "integer"
  16271. },
  16272. "curqty": {
  16273. "description": "期末数量",
  16274. "type": "integer"
  16275. },
  16276. "isgeneral": {
  16277. "description": "是否通用券 - 0:否 1:是",
  16278. "type": "integer"
  16279. },
  16280. "isunusable": {
  16281. "description": "是否不可用",
  16282. "type": "boolean"
  16283. },
  16284. "limitedflag": {
  16285. "description": "是否指定商品 - 0:不限 1:限制",
  16286. "type": "integer"
  16287. },
  16288. "limitedgoodsids": {
  16289. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  16290. "type": "string"
  16291. },
  16292. "orifreezeqty": {
  16293. "description": "期初冻结数量",
  16294. "type": "integer"
  16295. },
  16296. "oriqty": {
  16297. "description": "期初数量",
  16298. "type": "integer"
  16299. },
  16300. "reasontype": {
  16301. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  16302. "type": "integer"
  16303. },
  16304. "todaydecrease": {
  16305. "description": "今日减少",
  16306. "type": "integer"
  16307. },
  16308. "todayincrease": {
  16309. "description": "今日增加",
  16310. "type": "integer"
  16311. },
  16312. "userid": {
  16313. "description": "用户ID",
  16314. "type": "integer"
  16315. },
  16316. "userscope": {
  16317. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  16318. "type": "string"
  16319. }
  16320. }
  16321. },
  16322. "models.MyCouponHold": {
  16323. "type": "object",
  16324. "required": [
  16325. "couponholdid"
  16326. ],
  16327. "properties": {
  16328. "accountid": {
  16329. "description": "资金账户ID",
  16330. "type": "integer"
  16331. },
  16332. "conditionvalue": {
  16333. "description": "条件阈值(可为0)",
  16334. "type": "number"
  16335. },
  16336. "couponcategroy": {
  16337. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  16338. "type": "integer"
  16339. },
  16340. "couponholdid": {
  16341. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  16342. "type": "string"
  16343. },
  16344. "couponname": {
  16345. "description": "优惠券名称",
  16346. "type": "string"
  16347. },
  16348. "coupontypeid": {
  16349. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  16350. "type": "string"
  16351. },
  16352. "couponvalue": {
  16353. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  16354. "type": "number"
  16355. },
  16356. "createtime": {
  16357. "description": "创建时间",
  16358. "type": "string"
  16359. },
  16360. "enddate": {
  16361. "description": "结束日期",
  16362. "type": "string"
  16363. },
  16364. "giveapplyid": {
  16365. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  16366. "type": "integer"
  16367. },
  16368. "holdstatus": {
  16369. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  16370. "type": "integer"
  16371. },
  16372. "isgeneral": {
  16373. "description": "是否通用券 - 0:否 1:是",
  16374. "type": "integer"
  16375. },
  16376. "limitedflag": {
  16377. "description": "是否指定商品 - 0:不限 1:限制",
  16378. "type": "integer"
  16379. },
  16380. "limitedgoodsids": {
  16381. "description": "指定商品IDs[逗号分隔]",
  16382. "type": "string"
  16383. },
  16384. "qty": {
  16385. "description": "数量(按1平铺)",
  16386. "type": "integer"
  16387. },
  16388. "startdate": {
  16389. "description": "开始日期",
  16390. "type": "string"
  16391. },
  16392. "userid": {
  16393. "description": "用户ID",
  16394. "type": "integer"
  16395. },
  16396. "userscope": {
  16397. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  16398. "type": "string"
  16399. }
  16400. }
  16401. },
  16402. "models.MyUsedCoupon": {
  16403. "type": "object",
  16404. "required": [
  16405. "coupontypeid",
  16406. "orderid"
  16407. ],
  16408. "properties": {
  16409. "accountid": {
  16410. "description": "资金账户ID(买方)",
  16411. "type": "integer"
  16412. },
  16413. "conditionvalue": {
  16414. "description": "条件阈值(可为0)",
  16415. "type": "number"
  16416. },
  16417. "couponcategroy": {
  16418. "description": "种类 - 1:现金券 2:折扣券",
  16419. "type": "integer"
  16420. },
  16421. "couponname": {
  16422. "description": "优惠券名称",
  16423. "type": "string"
  16424. },
  16425. "coupontypeid": {
  16426. "description": "优惠券类型ID(买方)",
  16427. "type": "string"
  16428. },
  16429. "couponvalue": {
  16430. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  16431. "type": "number"
  16432. },
  16433. "createtime": {
  16434. "description": "创建时间",
  16435. "type": "string"
  16436. },
  16437. "goodsid": {
  16438. "description": "商品ID",
  16439. "type": "integer"
  16440. },
  16441. "handlestatus": {
  16442. "description": "处理状态",
  16443. "type": "integer"
  16444. },
  16445. "marketid": {
  16446. "description": "市场ID",
  16447. "type": "integer"
  16448. },
  16449. "offamount": {
  16450. "description": "优惠金额",
  16451. "type": "number"
  16452. },
  16453. "orderid": {
  16454. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16455. "type": "string"
  16456. },
  16457. "sellaccountid": {
  16458. "description": "资金账户ID(卖方)",
  16459. "type": "integer"
  16460. },
  16461. "tradeamount": {
  16462. "description": "成交金额",
  16463. "type": "number"
  16464. },
  16465. "tradeid": {
  16466. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16467. "type": "string"
  16468. },
  16469. "usedqty": {
  16470. "description": "使用数量",
  16471. "type": "integer"
  16472. }
  16473. }
  16474. },
  16475. "models.OperationPrimaryMenu": {
  16476. "type": "object",
  16477. "properties": {
  16478. "Children": {
  16479. "description": "二级功能菜单",
  16480. "type": "array",
  16481. "items": {
  16482. "$ref": "#/definitions/models.OperationSecondaryMenu"
  16483. }
  16484. },
  16485. "Key": {
  16486. "description": "菜单KEY",
  16487. "type": "string"
  16488. },
  16489. "Label": {
  16490. "description": "菜单标题",
  16491. "type": "string"
  16492. }
  16493. }
  16494. },
  16495. "models.OperationSecondaryMenu": {
  16496. "type": "object",
  16497. "properties": {
  16498. "Key": {
  16499. "description": "菜单KEY",
  16500. "type": "string"
  16501. },
  16502. "Label": {
  16503. "description": "菜单标题",
  16504. "type": "string"
  16505. },
  16506. "TabList": {
  16507. "description": "三级功能菜单",
  16508. "type": "array",
  16509. "items": {
  16510. "$ref": "#/definitions/models.OperationTabMenu"
  16511. }
  16512. }
  16513. }
  16514. },
  16515. "models.OperationTabMenu": {
  16516. "type": "object",
  16517. "properties": {
  16518. "Key": {
  16519. "description": "菜单KEY",
  16520. "type": "string"
  16521. },
  16522. "Label": {
  16523. "description": "菜单标题",
  16524. "type": "string"
  16525. }
  16526. }
  16527. },
  16528. "models.QueryErrorInfosRsp": {
  16529. "type": "object",
  16530. "required": [
  16531. "errorid"
  16532. ],
  16533. "properties": {
  16534. "description": {
  16535. "description": "异常描述",
  16536. "type": "string"
  16537. },
  16538. "errorcode": {
  16539. "description": "异常代码",
  16540. "type": "string"
  16541. },
  16542. "errorid": {
  16543. "description": "异常ID",
  16544. "type": "integer"
  16545. },
  16546. "modulecode": {
  16547. "description": "所属模块",
  16548. "type": "string"
  16549. },
  16550. "operatecode": {
  16551. "description": "所属操作",
  16552. "type": "string"
  16553. },
  16554. "rownumber": {
  16555. "description": "行号",
  16556. "type": "string"
  16557. }
  16558. }
  16559. },
  16560. "models.QueryHedgeOrderDetailRsp": {
  16561. "type": "object",
  16562. "properties": {
  16563. "accountid": {
  16564. "description": "账户ID",
  16565. "type": "integer"
  16566. },
  16567. "buyorsell": {
  16568. "description": "买卖 - 0:买 1:卖",
  16569. "type": "integer"
  16570. },
  16571. "cancellogincode": {
  16572. "description": "撤单人",
  16573. "type": "string"
  16574. },
  16575. "channelbuildtype": {
  16576. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  16577. "type": "integer"
  16578. },
  16579. "channelinnerorderstatus": {
  16580. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  16581. "type": "integer"
  16582. },
  16583. "channeloperatetype": {
  16584. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  16585. "type": "integer"
  16586. },
  16587. "closetype": {
  16588. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16589. "type": "integer"
  16590. },
  16591. "curexchangerate": {
  16592. "description": "当前汇率",
  16593. "type": "number"
  16594. },
  16595. "exchangefullname": {
  16596. "description": "外部交易所全称",
  16597. "type": "string"
  16598. },
  16599. "goodscode": {
  16600. "description": "商品代码(内部)",
  16601. "type": "string"
  16602. },
  16603. "goodsid": {
  16604. "description": "商品ID",
  16605. "type": "integer"
  16606. },
  16607. "goodsname": {
  16608. "description": "商品名称",
  16609. "type": "string"
  16610. },
  16611. "marketid": {
  16612. "description": "市场ID",
  16613. "type": "integer"
  16614. },
  16615. "openfreezemargin": {
  16616. "description": "冻结保证金(冻结交易金额)",
  16617. "type": "number"
  16618. },
  16619. "orderid": {
  16620. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16621. "type": "string"
  16622. },
  16623. "orderlogincode": {
  16624. "description": "委托人",
  16625. "type": "string"
  16626. },
  16627. "orderprice": {
  16628. "description": "委托价格(账户)",
  16629. "type": "number"
  16630. },
  16631. "orderqty": {
  16632. "description": "委托数量",
  16633. "type": "integer"
  16634. },
  16635. "ordertime": {
  16636. "description": "委托时间",
  16637. "type": "string"
  16638. },
  16639. "pricemode": {
  16640. "description": "取价方式 - 1:市价 2: 限价",
  16641. "type": "integer"
  16642. },
  16643. "tradedate": {
  16644. "description": "交易日(yyyyMMdd)",
  16645. "type": "string"
  16646. },
  16647. "tradeqty": {
  16648. "description": "成交数量",
  16649. "type": "integer"
  16650. }
  16651. }
  16652. },
  16653. "models.QueryHedgeTradeDetailRsp": {
  16654. "type": "object",
  16655. "properties": {
  16656. "accountid": {
  16657. "description": "账号ID",
  16658. "type": "integer"
  16659. },
  16660. "buyorsell": {
  16661. "description": "方向 - 0:买 1:卖",
  16662. "type": "integer"
  16663. },
  16664. "channelbuildtype": {
  16665. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  16666. "type": "integer"
  16667. },
  16668. "closecharge": {
  16669. "description": "平仓手续费(账户)",
  16670. "type": "number"
  16671. },
  16672. "closecharge2": {
  16673. "description": "平仓手续费(商品)",
  16674. "type": "number"
  16675. },
  16676. "closetype": {
  16677. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16678. "type": "integer"
  16679. },
  16680. "curexchangerate": {
  16681. "description": "当前汇率",
  16682. "type": "number"
  16683. },
  16684. "exchangefullname": {
  16685. "description": "外部交易所全称",
  16686. "type": "string"
  16687. },
  16688. "goodscode": {
  16689. "description": "商品代码(内部)",
  16690. "type": "string"
  16691. },
  16692. "goodsid": {
  16693. "description": "商品ID",
  16694. "type": "integer"
  16695. },
  16696. "goodsname": {
  16697. "description": "商品名称",
  16698. "type": "string"
  16699. },
  16700. "marketid": {
  16701. "description": "市场ID",
  16702. "type": "integer"
  16703. },
  16704. "opencharge": {
  16705. "description": "建仓手续费(账户)",
  16706. "type": "number"
  16707. },
  16708. "opencharge2": {
  16709. "description": "建仓手续费(商品)",
  16710. "type": "number"
  16711. },
  16712. "orderid": {
  16713. "description": "委托单号",
  16714. "type": "string"
  16715. },
  16716. "orderlogincode": {
  16717. "description": "委托人",
  16718. "type": "string"
  16719. },
  16720. "tradeamount": {
  16721. "description": "成交金额(账户)",
  16722. "type": "number"
  16723. },
  16724. "tradedate": {
  16725. "description": "交易日(yyyyMMdd)",
  16726. "type": "string"
  16727. },
  16728. "tradeid": {
  16729. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16730. "type": "string"
  16731. },
  16732. "tradeprice": {
  16733. "description": "成交价格",
  16734. "type": "number"
  16735. },
  16736. "tradeqty": {
  16737. "description": "成交数量",
  16738. "type": "integer"
  16739. },
  16740. "tradetime": {
  16741. "description": "成交时间",
  16742. "type": "string"
  16743. },
  16744. "tradetype": {
  16745. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  16746. "type": "integer"
  16747. }
  16748. }
  16749. },
  16750. "models.QuotePrimaryMenu": {
  16751. "type": "object",
  16752. "properties": {
  16753. "Index": {
  16754. "description": "序号",
  16755. "type": "integer"
  16756. },
  16757. "Key": {
  16758. "description": "键名",
  16759. "type": "string"
  16760. },
  16761. "Name": {
  16762. "description": "菜单名称",
  16763. "type": "string"
  16764. },
  16765. "SubMenus": {
  16766. "description": "子菜单",
  16767. "type": "array",
  16768. "items": {
  16769. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  16770. }
  16771. },
  16772. "SubTitleType": {
  16773. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  16774. "type": "integer"
  16775. },
  16776. "TradeModes": {
  16777. "description": "包含市场交易类型",
  16778. "type": "string"
  16779. }
  16780. }
  16781. },
  16782. "models.QuoteSecondaryMenu": {
  16783. "type": "object",
  16784. "properties": {
  16785. "ExExchangeCode": {
  16786. "description": "外部交易所代码",
  16787. "type": "string"
  16788. },
  16789. "ExExchangeID": {
  16790. "description": "外部交易所ID",
  16791. "type": "integer"
  16792. },
  16793. "GoodsGroupIDs": {
  16794. "description": "商品组ID列表",
  16795. "type": "array",
  16796. "items": {
  16797. "type": "integer"
  16798. }
  16799. },
  16800. "Index": {
  16801. "description": "序号",
  16802. "type": "integer"
  16803. },
  16804. "MarketID": {
  16805. "description": "市场ID",
  16806. "type": "integer"
  16807. },
  16808. "MenuTitle": {
  16809. "description": "菜单标题(市场名称或外部交易所名称)",
  16810. "type": "string"
  16811. },
  16812. "TradeMode": {
  16813. "description": "交易模式",
  16814. "type": "integer"
  16815. }
  16816. }
  16817. },
  16818. "models.RelatedGoodsEx": {
  16819. "type": "object",
  16820. "properties": {
  16821. "goodscode": {
  16822. "description": "商品代码",
  16823. "type": "string"
  16824. },
  16825. "goodsid": {
  16826. "description": "商品id",
  16827. "type": "integer"
  16828. },
  16829. "goodsname": {
  16830. "description": "商品名称",
  16831. "type": "string"
  16832. }
  16833. }
  16834. },
  16835. "models.SearchGoods": {
  16836. "type": "object",
  16837. "required": [
  16838. "goodscode",
  16839. "goodsid",
  16840. "goodsname",
  16841. "marketid",
  16842. "trademode"
  16843. ],
  16844. "properties": {
  16845. "goodscode": {
  16846. "description": "商品代码(内部)",
  16847. "type": "string"
  16848. },
  16849. "goodsid": {
  16850. "description": "商品ID(自增ID SEQ_GOODS)",
  16851. "type": "integer"
  16852. },
  16853. "goodsname": {
  16854. "description": "商品名称",
  16855. "type": "string"
  16856. },
  16857. "marketid": {
  16858. "description": "所属市场ID",
  16859. "type": "integer"
  16860. },
  16861. "marketname": {
  16862. "description": "市场名称",
  16863. "type": "string"
  16864. },
  16865. "trademode": {
  16866. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16867. "type": "integer"
  16868. }
  16869. }
  16870. },
  16871. "models.Systemparam": {
  16872. "type": "object",
  16873. "required": [
  16874. "paramcode"
  16875. ],
  16876. "properties": {
  16877. "loginid": {
  16878. "description": "更新用户账号,登录账号",
  16879. "type": "string"
  16880. },
  16881. "modifyflag": {
  16882. "description": "修改标志0 不允许修改 1 允许修改",
  16883. "type": "integer"
  16884. },
  16885. "paramcode": {
  16886. "description": "参数代码",
  16887. "type": "string"
  16888. },
  16889. "paramname": {
  16890. "description": "参数名",
  16891. "type": "string"
  16892. },
  16893. "paramtype": {
  16894. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  16895. "type": "integer"
  16896. },
  16897. "paramvalue": {
  16898. "description": "参数值",
  16899. "type": "string"
  16900. },
  16901. "paramvalue2": {
  16902. "description": "参数值(CLOB)",
  16903. "type": "string"
  16904. },
  16905. "regexpress": {
  16906. "description": "正则表达式",
  16907. "type": "string"
  16908. },
  16909. "remark": {
  16910. "description": "备注",
  16911. "type": "string"
  16912. },
  16913. "serverip": {
  16914. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  16915. "type": "string"
  16916. },
  16917. "showflag": {
  16918. "description": "是否显示0 不显示 1 显示",
  16919. "type": "integer"
  16920. },
  16921. "updatetime": {
  16922. "description": "更新时间",
  16923. "type": "string"
  16924. },
  16925. "userid": {
  16926. "description": "更新用户ID",
  16927. "type": "integer"
  16928. }
  16929. }
  16930. },
  16931. "models.Szdz3convertconfig": {
  16932. "type": "object",
  16933. "required": [
  16934. "converttype",
  16935. "innergoodsid",
  16936. "outergoodscode"
  16937. ],
  16938. "properties": {
  16939. "canin": {
  16940. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  16941. "type": "integer"
  16942. },
  16943. "canout": {
  16944. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  16945. "type": "integer"
  16946. },
  16947. "converttype": {
  16948. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  16949. "type": "integer"
  16950. },
  16951. "createtime": {
  16952. "description": "创建时间",
  16953. "type": "string"
  16954. },
  16955. "creatorid": {
  16956. "description": "创建人",
  16957. "type": "integer"
  16958. },
  16959. "daymaxvalue": {
  16960. "description": "当日最大转入限制",
  16961. "type": "number"
  16962. },
  16963. "freezedays": {
  16964. "description": "冻结天数 [5:花生米转交易]",
  16965. "type": "integer"
  16966. },
  16967. "innergoodsid": {
  16968. "description": "内部商品ID[交易]",
  16969. "type": "integer"
  16970. },
  16971. "inratio": {
  16972. "description": "目标值",
  16973. "type": "integer"
  16974. },
  16975. "modifierid": {
  16976. "description": "修改人",
  16977. "type": "integer"
  16978. },
  16979. "modifytime": {
  16980. "description": "修改时间",
  16981. "type": "string"
  16982. },
  16983. "outergoodscode": {
  16984. "description": "外部商品代码[JD\\PD]",
  16985. "type": "string"
  16986. },
  16987. "outratio": {
  16988. "description": "源值",
  16989. "type": "integer"
  16990. },
  16991. "pddecimalplace": {
  16992. "description": "PD小数位",
  16993. "type": "integer"
  16994. },
  16995. "timemaxvalue": {
  16996. "description": "单次最大转入限制",
  16997. "type": "number"
  16998. },
  16999. "timeminvalue": {
  17000. "description": "单次最小转入限制",
  17001. "type": "number"
  17002. }
  17003. }
  17004. },
  17005. "models.Szdz3searchwhitelist": {
  17006. "type": "object",
  17007. "required": [
  17008. "userid"
  17009. ],
  17010. "properties": {
  17011. "createtime": {
  17012. "description": "创建时间",
  17013. "type": "string"
  17014. },
  17015. "creatorid": {
  17016. "description": "创建人",
  17017. "type": "integer"
  17018. },
  17019. "modifierid": {
  17020. "description": "修改人",
  17021. "type": "integer"
  17022. },
  17023. "modifytime": {
  17024. "description": "修改时间",
  17025. "type": "string"
  17026. },
  17027. "userid": {
  17028. "description": "用户ID",
  17029. "type": "integer"
  17030. }
  17031. }
  17032. },
  17033. "models.Taaccount": {
  17034. "type": "object",
  17035. "required": [
  17036. "accountid",
  17037. "userid"
  17038. ],
  17039. "properties": {
  17040. "accountflag": {
  17041. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  17042. "type": "integer"
  17043. },
  17044. "accountid": {
  17045. "description": "资金账户ID",
  17046. "type": "integer"
  17047. },
  17048. "accountname": {
  17049. "description": "账户名称",
  17050. "type": "string"
  17051. },
  17052. "balance": {
  17053. "description": "期初余额",
  17054. "type": "number"
  17055. },
  17056. "capitalbalance": {
  17057. "description": "本金余额[外部子账户实际出入金余额]",
  17058. "type": "number"
  17059. },
  17060. "changeflag": {
  17061. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  17062. "type": "integer"
  17063. },
  17064. "changetime": {
  17065. "description": "账户状态变更时间",
  17066. "type": "string"
  17067. },
  17068. "closepl": {
  17069. "description": "今日平仓盈亏",
  17070. "type": "number"
  17071. },
  17072. "creditdecrease": {
  17073. "description": "今日授信减少",
  17074. "type": "number"
  17075. },
  17076. "creditincrease": {
  17077. "description": "今日授信增加",
  17078. "type": "number"
  17079. },
  17080. "currencyid": {
  17081. "description": "货币ID",
  17082. "type": "integer"
  17083. },
  17084. "currentbalance": {
  17085. "description": "期末余额",
  17086. "type": "number"
  17087. },
  17088. "freezecharge": {
  17089. "description": "手续费冻结",
  17090. "type": "number"
  17091. },
  17092. "freezemargin": {
  17093. "description": "冻结保证金",
  17094. "type": "number"
  17095. },
  17096. "fromaccountid": {
  17097. "description": "所属上级账户",
  17098. "type": "integer"
  17099. },
  17100. "inamount": {
  17101. "description": "今日入金金额(包括三方入金)",
  17102. "type": "number"
  17103. },
  17104. "ismain": {
  17105. "description": "是否母账号 0:不是母账户 1:是母账户",
  17106. "type": "integer"
  17107. },
  17108. "ismarketaccount": {
  17109. "description": "是否机构接单账号 0:不是 1:是",
  17110. "type": "integer"
  17111. },
  17112. "isreckonaccount": {
  17113. "description": "是否机构分润账号 0:不是 1:是",
  17114. "type": "integer"
  17115. },
  17116. "mortgagecredit": {
  17117. "description": "授信金额",
  17118. "type": "number"
  17119. },
  17120. "orifreezecharge": {
  17121. "description": "期初手续费冻结",
  17122. "type": "number"
  17123. },
  17124. "orifreezemargin": {
  17125. "description": "期初冻结保证金",
  17126. "type": "number"
  17127. },
  17128. "orimortgagecredit": {
  17129. "description": "期初授信金额",
  17130. "type": "number"
  17131. },
  17132. "oriothercredit": {
  17133. "description": "期初其它授信金额",
  17134. "type": "number"
  17135. },
  17136. "oriotherfreezemargin": {
  17137. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  17138. "type": "number"
  17139. },
  17140. "orioutamountfreeze": {
  17141. "description": "期初出金冻结",
  17142. "type": "number"
  17143. },
  17144. "oriusedmargin": {
  17145. "description": "期初占用保证金",
  17146. "type": "number"
  17147. },
  17148. "othercredit": {
  17149. "description": "其它授信金额",
  17150. "type": "number"
  17151. },
  17152. "othercreditdecrease": {
  17153. "description": "今日其它授信减少",
  17154. "type": "number"
  17155. },
  17156. "othercreditincrease": {
  17157. "description": "今日其它授信增加",
  17158. "type": "number"
  17159. },
  17160. "otherfreezemargin": {
  17161. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  17162. "type": "number"
  17163. },
  17164. "otherincome": {
  17165. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  17166. "type": "number"
  17167. },
  17168. "otherpay": {
  17169. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  17170. "type": "number"
  17171. },
  17172. "outamount": {
  17173. "description": "今日出金金额(包括三方出金)",
  17174. "type": "number"
  17175. },
  17176. "outamountfreeze": {
  17177. "description": "出金冻结",
  17178. "type": "number"
  17179. },
  17180. "outthreshold": {
  17181. "description": "出金阈值",
  17182. "type": "number"
  17183. },
  17184. "parentaccountid": {
  17185. "description": "所属根账号",
  17186. "type": "integer"
  17187. },
  17188. "paycharge": {
  17189. "description": "今日手续费支出",
  17190. "type": "number"
  17191. },
  17192. "relatedaccountstatus": {
  17193. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  17194. "type": "integer"
  17195. },
  17196. "relateduserid": {
  17197. "description": "关联用户",
  17198. "type": "integer"
  17199. },
  17200. "serivcegroup": {
  17201. "description": "服务分组",
  17202. "type": "integer"
  17203. },
  17204. "signstatus": {
  17205. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  17206. "type": "integer"
  17207. },
  17208. "sublevelpath": {
  17209. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  17210. "type": "string"
  17211. },
  17212. "taaccounttype": {
  17213. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  17214. "type": "integer"
  17215. },
  17216. "thirdinamount": {
  17217. "description": "今日三方入金",
  17218. "type": "number"
  17219. },
  17220. "thirdoutamount": {
  17221. "description": "今日三方出金",
  17222. "type": "number"
  17223. },
  17224. "tradestatus": {
  17225. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17226. "type": "integer"
  17227. },
  17228. "tradestatuschangetime": {
  17229. "description": "激活时间",
  17230. "type": "string"
  17231. },
  17232. "transferamount": {
  17233. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  17234. "type": "number"
  17235. },
  17236. "usedmargin": {
  17237. "description": "占用保证金",
  17238. "type": "number"
  17239. },
  17240. "userid": {
  17241. "description": "用户ID",
  17242. "type": "integer"
  17243. }
  17244. }
  17245. },
  17246. "models.Tablecolumnconfig": {
  17247. "type": "object",
  17248. "required": [
  17249. "autoid"
  17250. ],
  17251. "properties": {
  17252. "aligntype": {
  17253. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  17254. "type": "integer"
  17255. },
  17256. "autoid": {
  17257. "description": "AutoID",
  17258. "type": "integer"
  17259. },
  17260. "columnfield": {
  17261. "description": "列字段",
  17262. "type": "string"
  17263. },
  17264. "columntitle": {
  17265. "description": "列Title",
  17266. "type": "string"
  17267. },
  17268. "columnwidth": {
  17269. "description": "列宽",
  17270. "type": "string"
  17271. },
  17272. "formatterstring": {
  17273. "description": "格式化字符",
  17274. "type": "string"
  17275. },
  17276. "formattertype": {
  17277. "description": "格式化类型",
  17278. "type": "string"
  17279. },
  17280. "groupname": {
  17281. "description": "表头分组名称",
  17282. "type": "string"
  17283. },
  17284. "isshow": {
  17285. "description": "是否显示 - 0:不显示 1:显示",
  17286. "type": "integer"
  17287. },
  17288. "needsummary": {
  17289. "description": "是否需要汇总 - 0:不需要 1:需要",
  17290. "type": "integer"
  17291. },
  17292. "orderindex": {
  17293. "description": "顺序",
  17294. "type": "integer"
  17295. },
  17296. "remark": {
  17297. "description": "备注",
  17298. "type": "string"
  17299. },
  17300. "summarytype": {
  17301. "description": "汇总类型 - 1:加总 2:最后一个",
  17302. "type": "integer"
  17303. },
  17304. "tablekey": {
  17305. "description": "列表Key",
  17306. "type": "string"
  17307. }
  17308. }
  17309. },
  17310. "models.Useraccount": {
  17311. "type": "object",
  17312. "required": [
  17313. "userid"
  17314. ],
  17315. "properties": {
  17316. "accountname": {
  17317. "description": "账户名称(机构名称)",
  17318. "type": "string"
  17319. },
  17320. "accountstatus": {
  17321. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17322. "type": "integer"
  17323. },
  17324. "auditremark": {
  17325. "description": "审核备注",
  17326. "type": "string"
  17327. },
  17328. "audittime": {
  17329. "description": "审核时间",
  17330. "type": "string"
  17331. },
  17332. "audituserid": {
  17333. "description": "审核人",
  17334. "type": "integer"
  17335. },
  17336. "broker": {
  17337. "description": "所属经纪人ID",
  17338. "type": "integer"
  17339. },
  17340. "canceltime": {
  17341. "description": "销户时间",
  17342. "type": "string"
  17343. },
  17344. "canceluserid": {
  17345. "description": "销户人",
  17346. "type": "integer"
  17347. },
  17348. "createtime": {
  17349. "description": "创建时间",
  17350. "type": "string"
  17351. },
  17352. "creatorid": {
  17353. "description": "创建人",
  17354. "type": "integer"
  17355. },
  17356. "hasauth": {
  17357. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  17358. "type": "integer"
  17359. },
  17360. "isanonymous": {
  17361. "description": "是否匿名下单 - 0:否 1:是",
  17362. "type": "integer"
  17363. },
  17364. "maxinvestornum": {
  17365. "description": "最大用户数(经纪会员下投资者个数)",
  17366. "type": "integer"
  17367. },
  17368. "memberuserid": {
  17369. "description": "所属会员ID",
  17370. "type": "integer"
  17371. },
  17372. "modifierid": {
  17373. "description": "修改人",
  17374. "type": "integer"
  17375. },
  17376. "modifyremark": {
  17377. "description": "变更备注",
  17378. "type": "string"
  17379. },
  17380. "modifystatus": {
  17381. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  17382. "type": "integer"
  17383. },
  17384. "modifytime": {
  17385. "description": "修改时间",
  17386. "type": "string"
  17387. },
  17388. "parentuserid": {
  17389. "description": "所属机构ID",
  17390. "type": "integer"
  17391. },
  17392. "reckonaccountid": {
  17393. "description": "默认结算资金账号ID(机构分润使用) 作废",
  17394. "type": "integer"
  17395. },
  17396. "refercount": {
  17397. "description": "推荐总人数",
  17398. "type": "integer"
  17399. },
  17400. "refereeuserid": {
  17401. "description": "推荐人ID",
  17402. "type": "integer"
  17403. },
  17404. "refernum": {
  17405. "description": "推荐码",
  17406. "type": "string"
  17407. },
  17408. "subarealevelpath": {
  17409. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  17410. "type": "string"
  17411. },
  17412. "userid": {
  17413. "description": "用户ID",
  17414. "type": "integer"
  17415. },
  17416. "usertype": {
  17417. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  17418. "type": "integer"
  17419. }
  17420. }
  17421. },
  17422. "models.Userfavoritegoods": {
  17423. "type": "object",
  17424. "required": [
  17425. "goodsid"
  17426. ],
  17427. "properties": {
  17428. "goodsid": {
  17429. "description": "商品ID",
  17430. "type": "integer"
  17431. }
  17432. }
  17433. },
  17434. "models.Userinfo": {
  17435. "type": "object",
  17436. "required": [
  17437. "userid"
  17438. ],
  17439. "properties": {
  17440. "address": {
  17441. "description": "地址",
  17442. "type": "string"
  17443. },
  17444. "attachment1": {
  17445. "description": "附件1",
  17446. "type": "string"
  17447. },
  17448. "attachment2": {
  17449. "description": "附件2",
  17450. "type": "string"
  17451. },
  17452. "bankaccount": {
  17453. "description": "银行帐号 (加密存储)",
  17454. "type": "string"
  17455. },
  17456. "bankaccountname": {
  17457. "description": "收款人名称",
  17458. "type": "string"
  17459. },
  17460. "bankcardfrontphotourl": {
  17461. "description": "银行卡正面照地址",
  17462. "type": "string"
  17463. },
  17464. "bankid": {
  17465. "description": "银行编码",
  17466. "type": "string"
  17467. },
  17468. "bankname": {
  17469. "description": "银行名称",
  17470. "type": "string"
  17471. },
  17472. "biznature": {
  17473. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17474. "type": "integer"
  17475. },
  17476. "bizscope": {
  17477. "description": "企业经营范围(企业)",
  17478. "type": "string"
  17479. },
  17480. "cardbackphotourl": {
  17481. "description": "证件背面图片地址",
  17482. "type": "string"
  17483. },
  17484. "cardfrontphotourl": {
  17485. "description": "证件正面图片地址",
  17486. "type": "string"
  17487. },
  17488. "cardnum": {
  17489. "description": "证件号码(加密存储)",
  17490. "type": "string"
  17491. },
  17492. "cardtypeid": {
  17493. "description": "证件类型ID",
  17494. "type": "integer"
  17495. },
  17496. "cityid": {
  17497. "description": "市",
  17498. "type": "integer"
  17499. },
  17500. "company": {
  17501. "description": "公司(个人)",
  17502. "type": "string"
  17503. },
  17504. "contactname": {
  17505. "description": "联系人",
  17506. "type": "string"
  17507. },
  17508. "countryid": {
  17509. "description": "国家",
  17510. "type": "integer"
  17511. },
  17512. "createtime": {
  17513. "description": "创建时间",
  17514. "type": "string"
  17515. },
  17516. "creatorid": {
  17517. "description": "创建人",
  17518. "type": "integer"
  17519. },
  17520. "customername": {
  17521. "description": "客户名称(企业名称)",
  17522. "type": "string"
  17523. },
  17524. "districtid": {
  17525. "description": "地区",
  17526. "type": "integer"
  17527. },
  17528. "email": {
  17529. "description": "邮件(加密存储)",
  17530. "type": "string"
  17531. },
  17532. "fax": {
  17533. "description": "传真(加密存储)",
  17534. "type": "string"
  17535. },
  17536. "halfbodyphotourl": {
  17537. "description": "半身照地址",
  17538. "type": "string"
  17539. },
  17540. "hasencrypt": {
  17541. "description": "数据是否已加密 - 0:未加密 1:已加密",
  17542. "type": "integer"
  17543. },
  17544. "headurl": {
  17545. "description": "头像地址",
  17546. "type": "string"
  17547. },
  17548. "legalcardbackphotourl": {
  17549. "description": "法人身份证背面照地址",
  17550. "type": "string"
  17551. },
  17552. "legalcardfrontphotourl": {
  17553. "description": "法人身份证正面照地址",
  17554. "type": "string"
  17555. },
  17556. "legalpersonname": {
  17557. "description": "法人姓名(企业)",
  17558. "type": "string"
  17559. },
  17560. "mobile": {
  17561. "description": "手机号码(加密存储)",
  17562. "type": "string"
  17563. },
  17564. "mobile2": {
  17565. "description": "手机号码[明文-尚志]",
  17566. "type": "string"
  17567. },
  17568. "modifierid": {
  17569. "description": "修改人",
  17570. "type": "integer"
  17571. },
  17572. "modifiertime": {
  17573. "description": "修改时间",
  17574. "type": "string"
  17575. },
  17576. "needinvoice": {
  17577. "description": "是否需要发票 - 0:不需要 1:需要",
  17578. "type": "integer"
  17579. },
  17580. "nickname": {
  17581. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  17582. "type": "string"
  17583. },
  17584. "openmode": {
  17585. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  17586. "type": "integer"
  17587. },
  17588. "otherurl": {
  17589. "description": "其它图片地址[使用分号分隔]",
  17590. "type": "string"
  17591. },
  17592. "postalcode": {
  17593. "description": "邮政编码",
  17594. "type": "string"
  17595. },
  17596. "provinceid": {
  17597. "description": "省",
  17598. "type": "integer"
  17599. },
  17600. "qq": {
  17601. "description": "QQ(加密存储",
  17602. "type": "string"
  17603. },
  17604. "remark": {
  17605. "description": "备注",
  17606. "type": "string"
  17607. },
  17608. "sex": {
  17609. "description": "用户性别 0: 女 1: 男",
  17610. "type": "integer"
  17611. },
  17612. "signpdfurl": {
  17613. "description": "签约pdf文件",
  17614. "type": "string"
  17615. },
  17616. "telphone": {
  17617. "description": "联系电话(加密存储)",
  17618. "type": "string"
  17619. },
  17620. "userid": {
  17621. "description": "用户ID",
  17622. "type": "integer"
  17623. },
  17624. "userinfotype": {
  17625. "description": "用户信息类型 - 1:个人 2:企业",
  17626. "type": "integer"
  17627. },
  17628. "userstatus": {
  17629. "description": "用户状态 - 1:正常 2:注销",
  17630. "type": "integer"
  17631. },
  17632. "usertype": {
  17633. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  17634. "type": "integer"
  17635. },
  17636. "wechat": {
  17637. "description": "微信(加密存储)",
  17638. "type": "string"
  17639. },
  17640. "wskhinfo": {
  17641. "description": "开户申请信息(JSON)",
  17642. "type": "string"
  17643. }
  17644. }
  17645. },
  17646. "models.WRCategoryTree": {
  17647. "type": "object",
  17648. "required": [
  17649. "categoryid"
  17650. ],
  17651. "properties": {
  17652. "areauserid": {
  17653. "description": "所属机构",
  17654. "type": "integer"
  17655. },
  17656. "categorydesc": {
  17657. "description": "类别描述",
  17658. "type": "string"
  17659. },
  17660. "categoryid": {
  17661. "description": "类别ID(SEQ_WRCATEGORY)",
  17662. "type": "integer"
  17663. },
  17664. "categoryname": {
  17665. "description": "类别名称",
  17666. "type": "string"
  17667. },
  17668. "iconurl": {
  17669. "description": "图标地址",
  17670. "type": "string"
  17671. },
  17672. "orderindex": {
  17673. "description": "顺序",
  17674. "type": "integer"
  17675. },
  17676. "parentcategoryid": {
  17677. "description": "父类别ID",
  17678. "type": "integer"
  17679. },
  17680. "subcategory": {
  17681. "description": "子分类",
  17682. "type": "array",
  17683. "items": {
  17684. "$ref": "#/definitions/models.WRCategoryTree"
  17685. }
  17686. }
  17687. }
  17688. },
  17689. "models.WRSConverTDetail": {
  17690. "type": "object",
  17691. "properties": {
  17692. "convertratio": {
  17693. "description": "套保系数",
  17694. "type": "number"
  17695. },
  17696. "deliverygoodsid": {
  17697. "description": "现货品种ID",
  17698. "type": "integer"
  17699. },
  17700. "middlegoodscode": {
  17701. "description": "套保品种代码",
  17702. "type": "string"
  17703. },
  17704. "middlegoodsid": {
  17705. "description": "套保品种ID",
  17706. "type": "integer"
  17707. },
  17708. "middlegoodsname": {
  17709. "description": "套保品种名称",
  17710. "type": "string"
  17711. },
  17712. "modifytime": {
  17713. "description": "修改时间",
  17714. "type": "string"
  17715. },
  17716. "wrstandardid": {
  17717. "description": "现货商品ID",
  17718. "type": "integer"
  17719. }
  17720. }
  17721. },
  17722. "models.WRStandardInfo": {
  17723. "type": "object",
  17724. "required": [
  17725. "wrstandardid"
  17726. ],
  17727. "properties": {
  17728. "createtime": {
  17729. "description": "创建时间",
  17730. "type": "string"
  17731. },
  17732. "creatorid": {
  17733. "description": "创建人",
  17734. "type": "integer"
  17735. },
  17736. "deliverygoodsid": {
  17737. "description": "品种ID",
  17738. "type": "integer"
  17739. },
  17740. "deliverygoodsname": {
  17741. "description": "交割商品名称",
  17742. "type": "string"
  17743. },
  17744. "factoryitemjson": {
  17745. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  17746. "type": "string"
  17747. },
  17748. "isvalid": {
  17749. "description": "是否有效 - 0:无效 1:有效",
  17750. "type": "integer"
  17751. },
  17752. "minivalue": {
  17753. "description": "最小变动值",
  17754. "type": "integer"
  17755. },
  17756. "minivaluedp": {
  17757. "description": "最小变动值小数位",
  17758. "type": "integer"
  17759. },
  17760. "realminivalue": {
  17761. "description": "实际最小变动值",
  17762. "type": "integer"
  17763. },
  17764. "realminivaluedp": {
  17765. "description": "实际最小变动值小数位",
  17766. "type": "integer"
  17767. },
  17768. "unitid": {
  17769. "description": "单位ID",
  17770. "type": "integer"
  17771. },
  17772. "unitname": {
  17773. "description": "单位",
  17774. "type": "string"
  17775. },
  17776. "updatetime": {
  17777. "description": "更新时间",
  17778. "type": "string"
  17779. },
  17780. "updatorid": {
  17781. "description": "更新人",
  17782. "type": "integer"
  17783. },
  17784. "wrsstatus": {
  17785. "description": "状态 - 作废 - 0:未激活 1:正常",
  17786. "type": "integer"
  17787. },
  17788. "wrstandardcode": {
  17789. "description": "仓单标准代码",
  17790. "type": "string"
  17791. },
  17792. "wrstandardid": {
  17793. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17794. "type": "integer"
  17795. },
  17796. "wrstandardname": {
  17797. "description": "仓单标准名称",
  17798. "type": "string"
  17799. }
  17800. }
  17801. },
  17802. "models.Warehouseinfo": {
  17803. "type": "object",
  17804. "required": [
  17805. "autoid",
  17806. "warehousecode"
  17807. ],
  17808. "properties": {
  17809. "address": {
  17810. "description": "详细地址",
  17811. "type": "string"
  17812. },
  17813. "areauserid": {
  17814. "description": "所属机构",
  17815. "type": "integer"
  17816. },
  17817. "autoid": {
  17818. "description": "自增ID",
  17819. "type": "integer"
  17820. },
  17821. "cityid": {
  17822. "description": "市",
  17823. "type": "integer"
  17824. },
  17825. "contactname": {
  17826. "description": "联系人",
  17827. "type": "string"
  17828. },
  17829. "contactnum": {
  17830. "description": "联系电话",
  17831. "type": "string"
  17832. },
  17833. "countryid": {
  17834. "description": "国家",
  17835. "type": "integer"
  17836. },
  17837. "createtime": {
  17838. "description": "创建时间",
  17839. "type": "string"
  17840. },
  17841. "districtid": {
  17842. "description": "区",
  17843. "type": "integer"
  17844. },
  17845. "hasvideo": {
  17846. "description": "是否有视频 - 0:无 1:有",
  17847. "type": "integer"
  17848. },
  17849. "provinceid": {
  17850. "description": "省",
  17851. "type": "integer"
  17852. },
  17853. "remark": {
  17854. "description": "审核备注",
  17855. "type": "string"
  17856. },
  17857. "videourl": {
  17858. "description": "视频地址",
  17859. "type": "string"
  17860. },
  17861. "warehousecode": {
  17862. "description": "仓库代码",
  17863. "type": "string"
  17864. },
  17865. "warehousename": {
  17866. "description": "仓库名称",
  17867. "type": "string"
  17868. },
  17869. "warehousestatus": {
  17870. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17871. "type": "integer"
  17872. },
  17873. "warehousetype": {
  17874. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17875. "type": "integer"
  17876. }
  17877. }
  17878. },
  17879. "order.QueryHisTradeDetailRsp": {
  17880. "type": "object",
  17881. "required": [
  17882. "accountid",
  17883. "buyorsell",
  17884. "goodsid",
  17885. "histradedate",
  17886. "marketid",
  17887. "memberuserid",
  17888. "orderid",
  17889. "tradeamount",
  17890. "tradedate",
  17891. "tradeid",
  17892. "tradeprice",
  17893. "tradeqty",
  17894. "tradetime"
  17895. ],
  17896. "properties": {
  17897. "accountid": {
  17898. "description": "账户ID[报价币种]",
  17899. "type": "integer"
  17900. },
  17901. "buildtype": {
  17902. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  17903. "type": "integer"
  17904. },
  17905. "buyorsell": {
  17906. "description": "方向 - 0:买 1:卖",
  17907. "type": "integer"
  17908. },
  17909. "charge": {
  17910. "description": "手续费",
  17911. "type": "number"
  17912. },
  17913. "closecharge": {
  17914. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17915. "type": "number"
  17916. },
  17917. "closeexchagechargevalue": {
  17918. "description": "平仓交易所手续费设置值",
  17919. "type": "number"
  17920. },
  17921. "closefeealgorithm": {
  17922. "description": "平仓手续费收取方式 1:比率 2:固定",
  17923. "type": "integer"
  17924. },
  17925. "closememberchargevalue": {
  17926. "description": "平仓会员手续费设置值",
  17927. "type": "number"
  17928. },
  17929. "closepl": {
  17930. "description": "平仓盈亏",
  17931. "type": "number"
  17932. },
  17933. "closepl2": {
  17934. "description": "平仓盈亏[逐笔]",
  17935. "type": "number"
  17936. },
  17937. "closeqty": {
  17938. "description": "平仓数量(先建后平操作 需要记录)",
  17939. "type": "integer"
  17940. },
  17941. "creditamount": {
  17942. "description": "授信金额",
  17943. "type": "number"
  17944. },
  17945. "gcaccountid": {
  17946. "description": "账户ID[合约币种]",
  17947. "type": "integer"
  17948. },
  17949. "goodscode": {
  17950. "description": "商品代码",
  17951. "type": "string"
  17952. },
  17953. "goodsid": {
  17954. "description": "商品ID",
  17955. "type": "integer"
  17956. },
  17957. "goodsname": {
  17958. "description": "商品名称",
  17959. "type": "string"
  17960. },
  17961. "histradedate": {
  17962. "description": "历史交易日",
  17963. "type": "string"
  17964. },
  17965. "intclosepl": {
  17966. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  17967. "type": "integer"
  17968. },
  17969. "isconfirmexercise": {
  17970. "description": "是否确认行权- 0:否 1:是",
  17971. "type": "integer"
  17972. },
  17973. "ismain": {
  17974. "description": "是否主单 - 0:不是 1:是",
  17975. "type": "integer"
  17976. },
  17977. "ispreexercise": {
  17978. "description": "是否预申报- 0:否 1:是",
  17979. "type": "integer"
  17980. },
  17981. "isreckoned": {
  17982. "description": "是否结算 - 0:未结算 1:已结算",
  17983. "type": "integer"
  17984. },
  17985. "isvaliddata": {
  17986. "description": "是否有效 - 0:无效 1:有效",
  17987. "type": "integer"
  17988. },
  17989. "listingselecttype": {
  17990. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17991. "type": "integer"
  17992. },
  17993. "marketid": {
  17994. "description": "市场ID",
  17995. "type": "integer"
  17996. },
  17997. "marketname": {
  17998. "description": "市场名称",
  17999. "type": "string"
  18000. },
  18001. "matchaccountid": {
  18002. "description": "对手账号id",
  18003. "type": "integer"
  18004. },
  18005. "memberuserid": {
  18006. "description": "会员id 个人投资者 需要填写",
  18007. "type": "integer"
  18008. },
  18009. "opencharge": {
  18010. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18011. "type": "number"
  18012. },
  18013. "openexchagechargevalue": {
  18014. "description": "建仓交易所手续费设置值",
  18015. "type": "number"
  18016. },
  18017. "openfeealgorithm": {
  18018. "description": "建仓手续费收取方式 1:比率 2:固定",
  18019. "type": "integer"
  18020. },
  18021. "openmemberchargevalue": {
  18022. "description": "建仓会员手续费设置值",
  18023. "type": "number"
  18024. },
  18025. "openqty": {
  18026. "description": "开仓数量(先建后平操作 需要记录)",
  18027. "type": "integer"
  18028. },
  18029. "optiontype": {
  18030. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18031. "type": "integer"
  18032. },
  18033. "orderid": {
  18034. "description": "委托单号",
  18035. "type": "string"
  18036. },
  18037. "performanceplanid": {
  18038. "description": "履约计划ID[期权]",
  18039. "type": "integer"
  18040. },
  18041. "performancestatus": {
  18042. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  18043. "type": "integer"
  18044. },
  18045. "preexerciseprice": {
  18046. "description": "预申报价格",
  18047. "type": "number"
  18048. },
  18049. "premium": {
  18050. "description": "权利金 - [持仓单的权利金]",
  18051. "type": "number"
  18052. },
  18053. "relatedouttradeid": {
  18054. "description": "关联外部成交单ID",
  18055. "type": "integer"
  18056. },
  18057. "status": {
  18058. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  18059. "type": "integer"
  18060. },
  18061. "tradeamount": {
  18062. "description": "成交金额[账户币种,用于所有权]",
  18063. "type": "number"
  18064. },
  18065. "tradedate": {
  18066. "description": "交易日(yyyyMMdd)",
  18067. "type": "string"
  18068. },
  18069. "tradeid": {
  18070. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18071. "type": "string"
  18072. },
  18073. "trademode": {
  18074. "description": "交易模式",
  18075. "type": "integer"
  18076. },
  18077. "tradeprice": {
  18078. "description": "成交价格",
  18079. "type": "number"
  18080. },
  18081. "tradeproperty": {
  18082. "description": "交易属性",
  18083. "type": "integer"
  18084. },
  18085. "tradeqty": {
  18086. "description": "成交数量",
  18087. "type": "integer"
  18088. },
  18089. "tradetime": {
  18090. "description": "成交时间",
  18091. "type": "string"
  18092. },
  18093. "tradetype": {
  18094. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  18095. "type": "integer"
  18096. }
  18097. }
  18098. },
  18099. "order.QueryHisTradeOrderDetailRsp": {
  18100. "type": "object",
  18101. "required": [
  18102. "accountid",
  18103. "buildtype",
  18104. "buyorsell",
  18105. "goodsid",
  18106. "histradedate",
  18107. "marketid",
  18108. "memberuserid",
  18109. "operatetype",
  18110. "orderid",
  18111. "orderqty",
  18112. "ordertime",
  18113. "pricemode",
  18114. "tradedate",
  18115. "validtype"
  18116. ],
  18117. "properties": {
  18118. "accountid": {
  18119. "description": "账户ID[报价币种]",
  18120. "type": "integer"
  18121. },
  18122. "buildtype": {
  18123. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  18124. "type": "integer"
  18125. },
  18126. "buyorsell": {
  18127. "description": "买卖 - 0:买 1:卖",
  18128. "type": "integer"
  18129. },
  18130. "cancelorderid": {
  18131. "description": "撤单单号(撤单时填写)",
  18132. "type": "string"
  18133. },
  18134. "cancelqty": {
  18135. "description": "撤单数量",
  18136. "type": "integer"
  18137. },
  18138. "clientordertime": {
  18139. "description": "客户端委托时间",
  18140. "type": "string"
  18141. },
  18142. "clientticket": {
  18143. "description": "客户端流水号",
  18144. "type": "string"
  18145. },
  18146. "clienttype": {
  18147. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18148. "type": "integer"
  18149. },
  18150. "closeexchagechargevalue": {
  18151. "description": "平仓交易所手续费设置值",
  18152. "type": "number"
  18153. },
  18154. "closefeealgorithm": {
  18155. "description": "平仓手续费收取方式 1:比率 2:固定",
  18156. "type": "integer"
  18157. },
  18158. "closefreezecharge": {
  18159. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  18160. "type": "number"
  18161. },
  18162. "closememberchargevalue": {
  18163. "description": "平仓会员手续费设置值",
  18164. "type": "number"
  18165. },
  18166. "closeqty": {
  18167. "description": "平仓数量(先建后平操作 需要记录)",
  18168. "type": "integer"
  18169. },
  18170. "closetradeqty": {
  18171. "description": "平仓成交数量(先建后平操作,需要记录)",
  18172. "type": "integer"
  18173. },
  18174. "closeunfreezecharge": {
  18175. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  18176. "type": "number"
  18177. },
  18178. "delistingtype": {
  18179. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  18180. "type": "integer"
  18181. },
  18182. "freezecharge": {
  18183. "description": "冻结手续费",
  18184. "type": "number"
  18185. },
  18186. "freezemargin": {
  18187. "description": "冻结保证金(冻结交易金额)",
  18188. "type": "number"
  18189. },
  18190. "gcaccountid": {
  18191. "description": "账户ID[合约币种]",
  18192. "type": "integer"
  18193. },
  18194. "goodscode": {
  18195. "description": "商品代码",
  18196. "type": "string"
  18197. },
  18198. "goodsid": {
  18199. "description": "商品ID",
  18200. "type": "integer"
  18201. },
  18202. "goodsname": {
  18203. "description": "商品名称",
  18204. "type": "string"
  18205. },
  18206. "histradedate": {
  18207. "description": "历史交易日",
  18208. "type": "string"
  18209. },
  18210. "isconfirmexercise": {
  18211. "description": "是否确认行权- 0:否 1:是",
  18212. "type": "integer"
  18213. },
  18214. "ispreexercise": {
  18215. "description": "是否预申报- 0:否 1:是",
  18216. "type": "integer"
  18217. },
  18218. "isvaliddata": {
  18219. "description": "是否有效 - 0:无效 1:有效",
  18220. "type": "integer"
  18221. },
  18222. "listingselecttype": {
  18223. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18224. "type": "integer"
  18225. },
  18226. "marginalgorithm": {
  18227. "description": "保证金收取方式 1:比率 2:固定",
  18228. "type": "integer"
  18229. },
  18230. "marginvalue": {
  18231. "description": "即市保证金设置值",
  18232. "type": "number"
  18233. },
  18234. "marketid": {
  18235. "description": "市场ID",
  18236. "type": "integer"
  18237. },
  18238. "marketmaxsub": {
  18239. "description": "市价最大偏移范围",
  18240. "type": "number"
  18241. },
  18242. "marketname": {
  18243. "description": "市场名称",
  18244. "type": "string"
  18245. },
  18246. "memberuserid": {
  18247. "description": "所属会员UserID",
  18248. "type": "integer"
  18249. },
  18250. "openexchagechargevalue": {
  18251. "description": "建仓交易所手续费设置值",
  18252. "type": "number"
  18253. },
  18254. "openfeealgorithm": {
  18255. "description": "建仓手续费收取方式 1:比率 2:固定",
  18256. "type": "integer"
  18257. },
  18258. "openfreezecharge": {
  18259. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  18260. "type": "number"
  18261. },
  18262. "openmemberchargevalue": {
  18263. "description": "建仓会员手续费设置值",
  18264. "type": "number"
  18265. },
  18266. "openqty": {
  18267. "description": "开仓数量(先建后平操作,需要记录)",
  18268. "type": "integer"
  18269. },
  18270. "opentradeqty": {
  18271. "description": "开仓成交数量(先建后平操作,需要记录)",
  18272. "type": "integer"
  18273. },
  18274. "openunfreezecharge": {
  18275. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18276. "type": "number"
  18277. },
  18278. "operatetype": {
  18279. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18280. "type": "integer"
  18281. },
  18282. "operatorid": {
  18283. "description": "登录账号(LoginID)",
  18284. "type": "integer"
  18285. },
  18286. "optiontype": {
  18287. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18288. "type": "integer"
  18289. },
  18290. "orderid": {
  18291. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18292. "type": "string"
  18293. },
  18294. "orderprice": {
  18295. "description": "委托价格",
  18296. "type": "number"
  18297. },
  18298. "orderqty": {
  18299. "description": "委托数量",
  18300. "type": "integer"
  18301. },
  18302. "ordersrc": {
  18303. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18304. "type": "integer"
  18305. },
  18306. "orderstatus": {
  18307. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18308. "type": "integer"
  18309. },
  18310. "ordertime": {
  18311. "description": "委托时间",
  18312. "type": "string"
  18313. },
  18314. "preexerciseprice": {
  18315. "description": "预申报价格",
  18316. "type": "number"
  18317. },
  18318. "premium": {
  18319. "description": "权利金",
  18320. "type": "number"
  18321. },
  18322. "preorderid": {
  18323. "description": "关联预埋单号(止盈止损单时填写)",
  18324. "type": "string"
  18325. },
  18326. "pricemode": {
  18327. "description": "取价方式 - 1:市价 2: 限价",
  18328. "type": "integer"
  18329. },
  18330. "quoteid": {
  18331. "description": "报价单ID",
  18332. "type": "integer"
  18333. },
  18334. "relatedid": {
  18335. "description": "关联单号(交割单)",
  18336. "type": "string"
  18337. },
  18338. "retcode": {
  18339. "description": "错误代码",
  18340. "type": "integer"
  18341. },
  18342. "sessionid": {
  18343. "description": "会话ID",
  18344. "type": "integer"
  18345. },
  18346. "tradedate": {
  18347. "description": "交易日(yyyyMMdd)",
  18348. "type": "string"
  18349. },
  18350. "trademode": {
  18351. "description": "交易模式",
  18352. "type": "integer"
  18353. },
  18354. "tradeproperty": {
  18355. "description": "交易属性",
  18356. "type": "integer"
  18357. },
  18358. "tradeqty": {
  18359. "description": "成交数量",
  18360. "type": "integer"
  18361. },
  18362. "unfreezecharge": {
  18363. "description": "解冻手续费",
  18364. "type": "number"
  18365. },
  18366. "unfreezemargin": {
  18367. "description": "解冻保证金",
  18368. "type": "number"
  18369. },
  18370. "updatetime": {
  18371. "description": "更新时间",
  18372. "type": "string"
  18373. },
  18374. "uuid": {
  18375. "description": "发起端唯一id",
  18376. "type": "string"
  18377. },
  18378. "validtime": {
  18379. "description": "有效期限",
  18380. "type": "string"
  18381. },
  18382. "validtype": {
  18383. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18384. "type": "integer"
  18385. },
  18386. "volumetype": {
  18387. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18388. "type": "integer"
  18389. }
  18390. }
  18391. },
  18392. "order.QueryTradeDetailRsp": {
  18393. "type": "object",
  18394. "required": [
  18395. "accountid",
  18396. "buyorsell",
  18397. "goodsid",
  18398. "marketid",
  18399. "memberuserid",
  18400. "orderid",
  18401. "tradeamount",
  18402. "tradedate",
  18403. "tradeid",
  18404. "tradeprice",
  18405. "tradeqty",
  18406. "tradetime"
  18407. ],
  18408. "properties": {
  18409. "accountid": {
  18410. "description": "账户ID[报价币种]",
  18411. "type": "integer"
  18412. },
  18413. "buildtype": {
  18414. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  18415. "type": "integer"
  18416. },
  18417. "buyorsell": {
  18418. "description": "方向 - 0:买 1:卖",
  18419. "type": "integer"
  18420. },
  18421. "charge": {
  18422. "description": "手续费",
  18423. "type": "number"
  18424. },
  18425. "closecharge": {
  18426. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18427. "type": "number"
  18428. },
  18429. "closeexchagechargevalue": {
  18430. "description": "平仓交易所手续费设置值",
  18431. "type": "number"
  18432. },
  18433. "closefeealgorithm": {
  18434. "description": "平仓手续费收取方式 1:比率 2:固定",
  18435. "type": "integer"
  18436. },
  18437. "closememberchargevalue": {
  18438. "description": "平仓会员手续费设置值",
  18439. "type": "number"
  18440. },
  18441. "closepl": {
  18442. "description": "平仓盈亏",
  18443. "type": "number"
  18444. },
  18445. "closepl2": {
  18446. "description": "平仓盈亏[逐笔]",
  18447. "type": "number"
  18448. },
  18449. "closeqty": {
  18450. "description": "平仓数量(先建后平操作 需要记录)",
  18451. "type": "integer"
  18452. },
  18453. "creditamount": {
  18454. "description": "授信金额",
  18455. "type": "number"
  18456. },
  18457. "gcaccountid": {
  18458. "description": "账户ID[合约币种]",
  18459. "type": "integer"
  18460. },
  18461. "goodscode": {
  18462. "description": "商品代码",
  18463. "type": "string"
  18464. },
  18465. "goodsid": {
  18466. "description": "商品ID",
  18467. "type": "integer"
  18468. },
  18469. "goodsname": {
  18470. "description": "商品名称",
  18471. "type": "string"
  18472. },
  18473. "intclosepl": {
  18474. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  18475. "type": "integer"
  18476. },
  18477. "isconfirmexercise": {
  18478. "description": "是否确认行权- 0:否 1:是",
  18479. "type": "integer"
  18480. },
  18481. "ismain": {
  18482. "description": "是否主单 - 0:不是 1:是",
  18483. "type": "integer"
  18484. },
  18485. "ispreexercise": {
  18486. "description": "是否预申报- 0:否 1:是",
  18487. "type": "integer"
  18488. },
  18489. "isreckoned": {
  18490. "description": "是否结算 - 0:未结算 1:已结算",
  18491. "type": "integer"
  18492. },
  18493. "listingselecttype": {
  18494. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18495. "type": "integer"
  18496. },
  18497. "marketid": {
  18498. "description": "市场ID",
  18499. "type": "integer"
  18500. },
  18501. "marketname": {
  18502. "description": "市场名称",
  18503. "type": "string"
  18504. },
  18505. "matchaccountid": {
  18506. "description": "对手账号id",
  18507. "type": "integer"
  18508. },
  18509. "memberuserid": {
  18510. "description": "会员id 个人投资者 需要填写",
  18511. "type": "integer"
  18512. },
  18513. "opencharge": {
  18514. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18515. "type": "number"
  18516. },
  18517. "openexchagechargevalue": {
  18518. "description": "建仓交易所手续费设置值",
  18519. "type": "number"
  18520. },
  18521. "openfeealgorithm": {
  18522. "description": "建仓手续费收取方式 1:比率 2:固定",
  18523. "type": "integer"
  18524. },
  18525. "openmemberchargevalue": {
  18526. "description": "建仓会员手续费设置值",
  18527. "type": "number"
  18528. },
  18529. "openqty": {
  18530. "description": "开仓数量(先建后平操作 需要记录)",
  18531. "type": "integer"
  18532. },
  18533. "optiontype": {
  18534. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18535. "type": "integer"
  18536. },
  18537. "orderid": {
  18538. "description": "委托单号",
  18539. "type": "string"
  18540. },
  18541. "performanceplanid": {
  18542. "description": "履约计划ID[期权]",
  18543. "type": "integer"
  18544. },
  18545. "performancestatus": {
  18546. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  18547. "type": "integer"
  18548. },
  18549. "preexerciseprice": {
  18550. "description": "预申报价格",
  18551. "type": "number"
  18552. },
  18553. "premium": {
  18554. "description": "权利金 - [持仓单的权利金]",
  18555. "type": "number"
  18556. },
  18557. "relatedouttradeid": {
  18558. "description": "关联外部成交单ID",
  18559. "type": "integer"
  18560. },
  18561. "status": {
  18562. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  18563. "type": "integer"
  18564. },
  18565. "tradeamount": {
  18566. "description": "成交金额[账户币种,用于所有权]",
  18567. "type": "number"
  18568. },
  18569. "tradedate": {
  18570. "description": "交易日(yyyyMMdd)",
  18571. "type": "string"
  18572. },
  18573. "tradeid": {
  18574. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18575. "type": "string"
  18576. },
  18577. "trademode": {
  18578. "description": "交易模式",
  18579. "type": "integer"
  18580. },
  18581. "tradeprice": {
  18582. "description": "成交价格",
  18583. "type": "number"
  18584. },
  18585. "tradeproperty": {
  18586. "description": "交易属性",
  18587. "type": "integer"
  18588. },
  18589. "tradeqty": {
  18590. "description": "成交数量",
  18591. "type": "integer"
  18592. },
  18593. "tradetime": {
  18594. "description": "成交时间",
  18595. "type": "string"
  18596. },
  18597. "tradetype": {
  18598. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  18599. "type": "integer"
  18600. }
  18601. }
  18602. },
  18603. "order.QueryTradeOrderDetailRsp": {
  18604. "type": "object",
  18605. "required": [
  18606. "accountid",
  18607. "buildtype",
  18608. "buyorsell",
  18609. "goodsid",
  18610. "marketid",
  18611. "operatetype",
  18612. "orderqty",
  18613. "ordertime",
  18614. "pricemode",
  18615. "tradedate",
  18616. "validtype"
  18617. ],
  18618. "properties": {
  18619. "accountid": {
  18620. "description": "账户ID[报价币种]",
  18621. "type": "integer"
  18622. },
  18623. "buildtype": {
  18624. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  18625. "type": "integer"
  18626. },
  18627. "buyorsell": {
  18628. "description": "买卖 - 0:买 1:卖",
  18629. "type": "integer"
  18630. },
  18631. "cancelorderid": {
  18632. "description": "撤单单号(撤单时填写)",
  18633. "type": "string"
  18634. },
  18635. "cancelqty": {
  18636. "description": "撤单数量",
  18637. "type": "integer"
  18638. },
  18639. "clienttype": {
  18640. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18641. "type": "integer"
  18642. },
  18643. "closefreezecharge": {
  18644. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  18645. "type": "number"
  18646. },
  18647. "closeqty": {
  18648. "description": "平仓数量(先建后平操作 需要记录)",
  18649. "type": "integer"
  18650. },
  18651. "closetradeqty": {
  18652. "description": "平仓成交数量(先建后平操作,需要记录)",
  18653. "type": "integer"
  18654. },
  18655. "closeunfreezecharge": {
  18656. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  18657. "type": "number"
  18658. },
  18659. "delistingtype": {
  18660. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  18661. "type": "integer"
  18662. },
  18663. "enableqty": {
  18664. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  18665. "type": "integer"
  18666. },
  18667. "freezecharge": {
  18668. "description": "冻结手续费",
  18669. "type": "number"
  18670. },
  18671. "freezemargin": {
  18672. "description": "冻结保证金(冻结交易金额)",
  18673. "type": "number"
  18674. },
  18675. "goodscode": {
  18676. "description": "商品代码",
  18677. "type": "string"
  18678. },
  18679. "goodsid": {
  18680. "description": "商品ID",
  18681. "type": "integer"
  18682. },
  18683. "goodsname": {
  18684. "description": "商品名称",
  18685. "type": "string"
  18686. },
  18687. "listingselecttype": {
  18688. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18689. "type": "integer"
  18690. },
  18691. "marketid": {
  18692. "description": "市场ID",
  18693. "type": "integer"
  18694. },
  18695. "marketname": {
  18696. "description": "市场名称",
  18697. "type": "string"
  18698. },
  18699. "openfreezecharge": {
  18700. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  18701. "type": "number"
  18702. },
  18703. "openqty": {
  18704. "description": "开仓数量(先建后平操作,需要记录)",
  18705. "type": "integer"
  18706. },
  18707. "opentradeqty": {
  18708. "description": "开仓成交数量(先建后平操作,需要记录)",
  18709. "type": "integer"
  18710. },
  18711. "openunfreezecharge": {
  18712. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18713. "type": "number"
  18714. },
  18715. "operatetype": {
  18716. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18717. "type": "integer"
  18718. },
  18719. "operatorid": {
  18720. "description": "登录账号(LoginID)",
  18721. "type": "integer"
  18722. },
  18723. "orderid": {
  18724. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18725. "type": "string"
  18726. },
  18727. "orderprice": {
  18728. "description": "委托价格",
  18729. "type": "number"
  18730. },
  18731. "orderqty": {
  18732. "description": "委托数量",
  18733. "type": "integer"
  18734. },
  18735. "ordersrc": {
  18736. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18737. "type": "integer"
  18738. },
  18739. "orderstatus": {
  18740. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18741. "type": "integer"
  18742. },
  18743. "ordertime": {
  18744. "description": "委托时间",
  18745. "type": "string"
  18746. },
  18747. "preorderid": {
  18748. "description": "关联预埋单号(止盈止损单时填写)",
  18749. "type": "string"
  18750. },
  18751. "pricemode": {
  18752. "description": "取价方式 - 1:市价 2: 限价",
  18753. "type": "integer"
  18754. },
  18755. "relatedid": {
  18756. "description": "关联单号(交割单)",
  18757. "type": "string"
  18758. },
  18759. "tradedate": {
  18760. "description": "交易日(yyyyMMdd)",
  18761. "type": "string"
  18762. },
  18763. "trademode": {
  18764. "description": "交易模式",
  18765. "type": "integer"
  18766. },
  18767. "tradeqty": {
  18768. "description": "成交数量",
  18769. "type": "integer"
  18770. },
  18771. "unfreezecharge": {
  18772. "description": "解冻手续费",
  18773. "type": "number"
  18774. },
  18775. "unfreezemargin": {
  18776. "description": "解冻保证金",
  18777. "type": "number"
  18778. },
  18779. "validtime": {
  18780. "description": "有效期限",
  18781. "type": "string"
  18782. },
  18783. "validtype": {
  18784. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18785. "type": "integer"
  18786. },
  18787. "volumetype": {
  18788. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18789. "type": "integer"
  18790. }
  18791. }
  18792. },
  18793. "order.QueryTradePositionRsp": {
  18794. "type": "object",
  18795. "required": [
  18796. "goodsid"
  18797. ],
  18798. "properties": {
  18799. "accountid": {
  18800. "description": "资金账户",
  18801. "type": "integer"
  18802. },
  18803. "agreeunit": {
  18804. "description": "合约单位",
  18805. "type": "number"
  18806. },
  18807. "averageprice": {
  18808. "description": "持仓均价",
  18809. "type": "number"
  18810. },
  18811. "buyorsell": {
  18812. "description": "方向 - 0:买 1:卖",
  18813. "type": "integer"
  18814. },
  18815. "closetotalqty": {
  18816. "description": "平仓总数量",
  18817. "type": "integer"
  18818. },
  18819. "curholderamount": {
  18820. "description": "当前持仓总金额[商品币种]",
  18821. "type": "number"
  18822. },
  18823. "curpositionqty": {
  18824. "description": "当前持仓总数量",
  18825. "type": "integer"
  18826. },
  18827. "currencyid": {
  18828. "description": "报价货币ID",
  18829. "type": "integer"
  18830. },
  18831. "curtdposition": {
  18832. "description": "期末今日头寸",
  18833. "type": "integer"
  18834. },
  18835. "decimalplace": {
  18836. "description": "报价小数位",
  18837. "type": "integer"
  18838. },
  18839. "enableqty": {
  18840. "description": "可用量",
  18841. "type": "integer"
  18842. },
  18843. "fretdposition": {
  18844. "description": "冻结今日头寸",
  18845. "type": "integer"
  18846. },
  18847. "frozenqty": {
  18848. "description": "持仓冻结数量",
  18849. "type": "integer"
  18850. },
  18851. "goodscode": {
  18852. "description": "商品代码",
  18853. "type": "string"
  18854. },
  18855. "goodsid": {
  18856. "description": "商品Id",
  18857. "type": "integer"
  18858. },
  18859. "goodsname": {
  18860. "description": "商品名称",
  18861. "type": "string"
  18862. },
  18863. "goodunit": {
  18864. "description": "报价单位",
  18865. "type": "string"
  18866. },
  18867. "goodunitid": {
  18868. "description": "报价单位ID",
  18869. "type": "integer"
  18870. },
  18871. "holderamount": {
  18872. "description": "期初持仓总金额[商品币种]",
  18873. "type": "number"
  18874. },
  18875. "marketid": {
  18876. "description": "所属市场ID",
  18877. "type": "integer"
  18878. },
  18879. "openreqqty": {
  18880. "description": "开仓申请数量(用于比较最大持仓数量)",
  18881. "type": "integer"
  18882. },
  18883. "opentotalqty": {
  18884. "description": "开仓总数量",
  18885. "type": "integer"
  18886. },
  18887. "otherfrozenqty": {
  18888. "description": "持仓其他冻结数量(交割冻结)",
  18889. "type": "integer"
  18890. },
  18891. "positionqty": {
  18892. "description": "期初持仓数量",
  18893. "type": "integer"
  18894. },
  18895. "tnqty": {
  18896. "description": "T+N冻结总量",
  18897. "type": "integer"
  18898. },
  18899. "tnusedqty": {
  18900. "description": "T+N使用量(可以使用T+N的冻结数量)",
  18901. "type": "integer"
  18902. },
  18903. "trademode": {
  18904. "description": "交易模式",
  18905. "type": "integer"
  18906. },
  18907. "usedmargin": {
  18908. "description": "占用保证金[商品币种]",
  18909. "type": "number"
  18910. }
  18911. }
  18912. },
  18913. "quote.HistoryData": {
  18914. "type": "object",
  18915. "properties": {
  18916. "c": {
  18917. "description": "收盘价",
  18918. "type": "number"
  18919. },
  18920. "f": {
  18921. "description": "是否补充数据",
  18922. "type": "boolean"
  18923. },
  18924. "h": {
  18925. "description": "最高价",
  18926. "type": "number"
  18927. },
  18928. "hv": {
  18929. "description": "持仓量",
  18930. "type": "integer"
  18931. },
  18932. "l": {
  18933. "description": "最低价",
  18934. "type": "number"
  18935. },
  18936. "o": {
  18937. "description": "开盘价",
  18938. "type": "number"
  18939. },
  18940. "s": {
  18941. "description": "结算价,日线周期(包括)以上才有",
  18942. "type": "number"
  18943. },
  18944. "ts": {
  18945. "description": "时间",
  18946. "type": "string"
  18947. },
  18948. "tt": {
  18949. "description": "总金额",
  18950. "type": "number"
  18951. },
  18952. "tv": {
  18953. "description": "总量",
  18954. "type": "integer"
  18955. }
  18956. }
  18957. },
  18958. "quote.HistoryTikData": {
  18959. "type": "object",
  18960. "properties": {
  18961. "AV": {
  18962. "description": "卖量",
  18963. "type": "integer"
  18964. },
  18965. "Ask": {
  18966. "description": "卖价",
  18967. "type": "number"
  18968. },
  18969. "BV": {
  18970. "description": "买量",
  18971. "type": "integer"
  18972. },
  18973. "Bid": {
  18974. "description": "买价",
  18975. "type": "number"
  18976. },
  18977. "HI": {
  18978. "description": "单笔持仓",
  18979. "type": "integer"
  18980. },
  18981. "HV": {
  18982. "description": "持仓量",
  18983. "type": "integer"
  18984. },
  18985. "PE": {
  18986. "description": "现价",
  18987. "type": "number"
  18988. },
  18989. "TDR": {
  18990. "description": "交易方向,0:买 1:卖",
  18991. "type": "integer"
  18992. },
  18993. "TK": {
  18994. "description": "交易类型",
  18995. "type": "integer"
  18996. },
  18997. "TS": {
  18998. "description": "行情时间文本",
  18999. "type": "string"
  19000. },
  19001. "TT": {
  19002. "description": "现金额",
  19003. "type": "number"
  19004. },
  19005. "Vol": {
  19006. "description": "现量",
  19007. "type": "integer"
  19008. }
  19009. }
  19010. },
  19011. "quote.QueryQuoteDayRsp": {
  19012. "type": "object",
  19013. "properties": {
  19014. "ask": {
  19015. "description": "卖1",
  19016. "type": "number"
  19017. },
  19018. "ask10": {
  19019. "description": "卖10",
  19020. "type": "number"
  19021. },
  19022. "ask2": {
  19023. "description": "卖2",
  19024. "type": "number"
  19025. },
  19026. "ask3": {
  19027. "description": "卖3",
  19028. "type": "number"
  19029. },
  19030. "ask4": {
  19031. "description": "卖4",
  19032. "type": "number"
  19033. },
  19034. "ask5": {
  19035. "description": "卖5",
  19036. "type": "number"
  19037. },
  19038. "ask6": {
  19039. "description": "卖6",
  19040. "type": "number"
  19041. },
  19042. "ask7": {
  19043. "description": "卖7",
  19044. "type": "number"
  19045. },
  19046. "ask8": {
  19047. "description": "卖8",
  19048. "type": "number"
  19049. },
  19050. "ask9": {
  19051. "description": "卖9",
  19052. "type": "number"
  19053. },
  19054. "askorderid": {
  19055. "description": "卖单号1",
  19056. "type": "integer"
  19057. },
  19058. "askorderid2": {
  19059. "description": "卖单号2",
  19060. "type": "integer"
  19061. },
  19062. "askorderid3": {
  19063. "description": "卖单号3",
  19064. "type": "integer"
  19065. },
  19066. "askorderid4": {
  19067. "description": "卖单号4",
  19068. "type": "integer"
  19069. },
  19070. "askorderid5": {
  19071. "description": "卖单号5",
  19072. "type": "integer"
  19073. },
  19074. "askordervolume": {
  19075. "description": "卖单量1",
  19076. "type": "integer"
  19077. },
  19078. "askordervolume10": {
  19079. "description": "卖单量10",
  19080. "type": "integer"
  19081. },
  19082. "askordervolume2": {
  19083. "description": "卖单量2",
  19084. "type": "integer"
  19085. },
  19086. "askordervolume3": {
  19087. "description": "卖单量3",
  19088. "type": "integer"
  19089. },
  19090. "askordervolume4": {
  19091. "description": "卖单量4",
  19092. "type": "integer"
  19093. },
  19094. "askordervolume5": {
  19095. "description": "卖单量5",
  19096. "type": "integer"
  19097. },
  19098. "askordervolume6": {
  19099. "description": "卖单量6",
  19100. "type": "integer"
  19101. },
  19102. "askordervolume7": {
  19103. "description": "卖单量7",
  19104. "type": "integer"
  19105. },
  19106. "askordervolume8": {
  19107. "description": "卖单量8",
  19108. "type": "integer"
  19109. },
  19110. "askordervolume9": {
  19111. "description": "卖单量9",
  19112. "type": "integer"
  19113. },
  19114. "askqueueinfo": {
  19115. "description": "大利市卖港股用",
  19116. "type": "string"
  19117. },
  19118. "askvolume": {
  19119. "description": "卖量1",
  19120. "type": "integer"
  19121. },
  19122. "askvolume10": {
  19123. "description": "卖量10",
  19124. "type": "integer"
  19125. },
  19126. "askvolume2": {
  19127. "description": "卖量2",
  19128. "type": "integer"
  19129. },
  19130. "askvolume3": {
  19131. "description": "卖量3",
  19132. "type": "integer"
  19133. },
  19134. "askvolume4": {
  19135. "description": "卖量4",
  19136. "type": "integer"
  19137. },
  19138. "askvolume5": {
  19139. "description": "卖量5",
  19140. "type": "integer"
  19141. },
  19142. "askvolume6": {
  19143. "description": "卖量6",
  19144. "type": "integer"
  19145. },
  19146. "askvolume7": {
  19147. "description": "卖量7",
  19148. "type": "integer"
  19149. },
  19150. "askvolume8": {
  19151. "description": "卖量8",
  19152. "type": "integer"
  19153. },
  19154. "askvolume9": {
  19155. "description": "卖量9",
  19156. "type": "integer"
  19157. },
  19158. "averageprice": {
  19159. "description": "均价",
  19160. "type": "number"
  19161. },
  19162. "bid": {
  19163. "description": "买1",
  19164. "type": "number"
  19165. },
  19166. "bid10": {
  19167. "description": "买10",
  19168. "type": "number"
  19169. },
  19170. "bid2": {
  19171. "description": "买2",
  19172. "type": "number"
  19173. },
  19174. "bid3": {
  19175. "description": "买3",
  19176. "type": "number"
  19177. },
  19178. "bid4": {
  19179. "description": "买4",
  19180. "type": "number"
  19181. },
  19182. "bid5": {
  19183. "description": "买5",
  19184. "type": "number"
  19185. },
  19186. "bid6": {
  19187. "description": "买6",
  19188. "type": "number"
  19189. },
  19190. "bid7": {
  19191. "description": "买7",
  19192. "type": "number"
  19193. },
  19194. "bid8": {
  19195. "description": "买8",
  19196. "type": "number"
  19197. },
  19198. "bid9": {
  19199. "description": "买9",
  19200. "type": "number"
  19201. },
  19202. "bidorderid": {
  19203. "description": "买单号1",
  19204. "type": "integer"
  19205. },
  19206. "bidorderid2": {
  19207. "description": "买单号2",
  19208. "type": "integer"
  19209. },
  19210. "bidorderid3": {
  19211. "description": "买单号3",
  19212. "type": "integer"
  19213. },
  19214. "bidorderid4": {
  19215. "description": "买单号4",
  19216. "type": "integer"
  19217. },
  19218. "bidorderid5": {
  19219. "description": "买单号5",
  19220. "type": "integer"
  19221. },
  19222. "bidordervolume": {
  19223. "description": "买单量1",
  19224. "type": "integer"
  19225. },
  19226. "bidordervolume10": {
  19227. "description": "买单量10",
  19228. "type": "integer"
  19229. },
  19230. "bidordervolume2": {
  19231. "description": "买单量2",
  19232. "type": "integer"
  19233. },
  19234. "bidordervolume3": {
  19235. "description": "买单量3",
  19236. "type": "integer"
  19237. },
  19238. "bidordervolume4": {
  19239. "description": "买单量4",
  19240. "type": "integer"
  19241. },
  19242. "bidordervolume5": {
  19243. "description": "买单量5",
  19244. "type": "integer"
  19245. },
  19246. "bidordervolume6": {
  19247. "description": "买单量6",
  19248. "type": "integer"
  19249. },
  19250. "bidordervolume7": {
  19251. "description": "买单量7",
  19252. "type": "integer"
  19253. },
  19254. "bidordervolume8": {
  19255. "description": "买单量8",
  19256. "type": "integer"
  19257. },
  19258. "bidordervolume9": {
  19259. "description": "买单量9",
  19260. "type": "integer"
  19261. },
  19262. "bidqueueinfo": {
  19263. "description": "大利市买港股用",
  19264. "type": "string"
  19265. },
  19266. "bidvolume": {
  19267. "description": "买量1",
  19268. "type": "integer"
  19269. },
  19270. "bidvolume10": {
  19271. "description": "买量10",
  19272. "type": "integer"
  19273. },
  19274. "bidvolume2": {
  19275. "description": "买量2",
  19276. "type": "integer"
  19277. },
  19278. "bidvolume3": {
  19279. "description": "买量3",
  19280. "type": "integer"
  19281. },
  19282. "bidvolume4": {
  19283. "description": "买量4",
  19284. "type": "integer"
  19285. },
  19286. "bidvolume5": {
  19287. "description": "买量5",
  19288. "type": "integer"
  19289. },
  19290. "bidvolume6": {
  19291. "description": "买量6",
  19292. "type": "integer"
  19293. },
  19294. "bidvolume7": {
  19295. "description": "买量7",
  19296. "type": "integer"
  19297. },
  19298. "bidvolume8": {
  19299. "description": "买量8",
  19300. "type": "integer"
  19301. },
  19302. "bidvolume9": {
  19303. "description": "买量9",
  19304. "type": "integer"
  19305. },
  19306. "calloptionpremiums": {
  19307. "description": "认购期权1",
  19308. "type": "integer"
  19309. },
  19310. "calloptionpremiums2": {
  19311. "description": "认购期权2",
  19312. "type": "integer"
  19313. },
  19314. "calloptionpremiums3": {
  19315. "description": "认购期权3",
  19316. "type": "integer"
  19317. },
  19318. "calloptionpremiums4": {
  19319. "description": "认购期权4",
  19320. "type": "integer"
  19321. },
  19322. "calloptionpremiums5": {
  19323. "description": "认购期权5",
  19324. "type": "integer"
  19325. },
  19326. "cleartime": {
  19327. "description": "清盘时间",
  19328. "type": "integer"
  19329. },
  19330. "exchangecode": {
  19331. "description": "交易所代码",
  19332. "type": "integer"
  19333. },
  19334. "exchangedate": {
  19335. "description": "交易日",
  19336. "type": "integer"
  19337. },
  19338. "goodscode": {
  19339. "description": "商品代码",
  19340. "type": "string"
  19341. },
  19342. "grepmarketprice": {
  19343. "description": "暗盘价 港股专用",
  19344. "type": "number"
  19345. },
  19346. "highest": {
  19347. "description": "最高价",
  19348. "type": "number"
  19349. },
  19350. "holdincrement": {
  19351. "description": "单笔持仓",
  19352. "type": "integer"
  19353. },
  19354. "holdvolume": {
  19355. "description": "持仓",
  19356. "type": "integer"
  19357. },
  19358. "iep": {
  19359. "description": "平衡价 港股专用",
  19360. "type": "number"
  19361. },
  19362. "iev": {
  19363. "description": "平衡量 港股专用",
  19364. "type": "number"
  19365. },
  19366. "inventory": {
  19367. "description": "库存",
  19368. "type": "integer"
  19369. },
  19370. "iscleared": {
  19371. "description": "是否清盘标志",
  19372. "type": "integer"
  19373. },
  19374. "issettled": {
  19375. "description": "是否结算标志",
  19376. "type": "integer"
  19377. },
  19378. "last": {
  19379. "description": "最新价",
  19380. "type": "number"
  19381. },
  19382. "lastlot": {
  19383. "description": "最新成交手数",
  19384. "type": "integer"
  19385. },
  19386. "lasttime": {
  19387. "description": "行情时间(只有现价变化行情时间才变化)",
  19388. "type": "string"
  19389. },
  19390. "lastturnover": {
  19391. "description": "最新成交金额",
  19392. "type": "number"
  19393. },
  19394. "lastvolume": {
  19395. "description": "最新成交量",
  19396. "type": "integer"
  19397. },
  19398. "limitdown": {
  19399. "description": "跌停价",
  19400. "type": "number"
  19401. },
  19402. "limitup": {
  19403. "description": "涨停价",
  19404. "type": "number"
  19405. },
  19406. "lowest": {
  19407. "description": "最低价",
  19408. "type": "number"
  19409. },
  19410. "nontotalholdervolume": {
  19411. "description": "非交易持仓量",
  19412. "type": "integer"
  19413. },
  19414. "nontotallot": {
  19415. "description": "非交易总手数",
  19416. "type": "integer"
  19417. },
  19418. "nontotalturnover": {
  19419. "description": "非交易总金额",
  19420. "type": "integer"
  19421. },
  19422. "nontotalvolume": {
  19423. "description": "非交易总量",
  19424. "type": "integer"
  19425. },
  19426. "opened": {
  19427. "description": "开盘价",
  19428. "type": "number"
  19429. },
  19430. "opentime": {
  19431. "description": "开盘时间",
  19432. "type": "string"
  19433. },
  19434. "orderid": {
  19435. "description": "序号",
  19436. "type": "integer"
  19437. },
  19438. "preclose": {
  19439. "description": "昨收",
  19440. "type": "number"
  19441. },
  19442. "preholdvolume": {
  19443. "description": "昨持仓",
  19444. "type": "integer"
  19445. },
  19446. "presettle": {
  19447. "description": "昨结价",
  19448. "type": "number"
  19449. },
  19450. "publictradetype": {
  19451. "description": "公共交易标志类型 港股专用",
  19452. "type": "string"
  19453. },
  19454. "putoptionpremiums": {
  19455. "description": "认沽期权1",
  19456. "type": "integer"
  19457. },
  19458. "putoptionpremiums2": {
  19459. "description": "认沽期权2",
  19460. "type": "integer"
  19461. },
  19462. "putoptionpremiums3": {
  19463. "description": "认沽期权3",
  19464. "type": "integer"
  19465. },
  19466. "putoptionpremiums4": {
  19467. "description": "认沽期权4",
  19468. "type": "integer"
  19469. },
  19470. "putoptionpremiums5": {
  19471. "description": "认沽期权5",
  19472. "type": "integer"
  19473. },
  19474. "settle": {
  19475. "description": "结算价",
  19476. "type": "number"
  19477. },
  19478. "strikeprice": {
  19479. "description": "发行价",
  19480. "type": "number"
  19481. },
  19482. "totalaskvolume": {
  19483. "description": "内盘",
  19484. "type": "integer"
  19485. },
  19486. "totalbidvolume": {
  19487. "description": "外盘",
  19488. "type": "integer"
  19489. },
  19490. "totallot": {
  19491. "description": "总手数",
  19492. "type": "integer"
  19493. },
  19494. "totalturnover": {
  19495. "description": "总金额",
  19496. "type": "number"
  19497. },
  19498. "totalvolume": {
  19499. "description": "总量",
  19500. "type": "integer"
  19501. },
  19502. "utclasttime": {
  19503. "description": "utc的行情时间",
  19504. "type": "string"
  19505. }
  19506. }
  19507. },
  19508. "quote.QueryTSDataRsp": {
  19509. "type": "object",
  19510. "properties": {
  19511. "decimalPlace": {
  19512. "description": "小数位",
  19513. "type": "integer"
  19514. },
  19515. "endTime": {
  19516. "description": "结束时间",
  19517. "type": "string"
  19518. },
  19519. "goodsCode": {
  19520. "description": "商品代码",
  19521. "type": "string"
  19522. },
  19523. "historyDatas": {
  19524. "description": "历史数据",
  19525. "type": "array",
  19526. "items": {
  19527. "$ref": "#/definitions/quote.HistoryData"
  19528. }
  19529. },
  19530. "outGoodsCode": {
  19531. "description": "外部商品代码",
  19532. "type": "string"
  19533. },
  19534. "preSettle": {
  19535. "description": "昨结价",
  19536. "type": "number"
  19537. },
  19538. "startTime": {
  19539. "description": "开始时间",
  19540. "type": "string"
  19541. },
  19542. "tradeDate": {
  19543. "description": "交易日",
  19544. "type": "string"
  19545. }
  19546. }
  19547. },
  19548. "szdz.QueryConvertLogRsp": {
  19549. "type": "object",
  19550. "required": [
  19551. "logid"
  19552. ],
  19553. "properties": {
  19554. "accountid": {
  19555. "description": "资金账户ID",
  19556. "type": "integer"
  19557. },
  19558. "clientticket": {
  19559. "description": "客户端流水号",
  19560. "type": "string"
  19561. },
  19562. "converttype": {
  19563. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  19564. "type": "integer"
  19565. },
  19566. "createtime": {
  19567. "description": "记账时间",
  19568. "type": "string"
  19569. },
  19570. "daymaxvalue": {
  19571. "description": "配置当日最大转入限制",
  19572. "type": "number"
  19573. },
  19574. "daymaxvalue2": {
  19575. "description": "配置当日最大转入限制(转入)",
  19576. "type": "number"
  19577. },
  19578. "goodscode": {
  19579. "description": "商品代码",
  19580. "type": "string"
  19581. },
  19582. "goodsname": {
  19583. "description": "商品名称",
  19584. "type": "string"
  19585. },
  19586. "handlestatus": {
  19587. "description": "处理状态",
  19588. "type": "integer"
  19589. },
  19590. "innergoodsid": {
  19591. "description": "内部商品ID",
  19592. "type": "integer"
  19593. },
  19594. "inratio": {
  19595. "description": "配置转入比值",
  19596. "type": "integer"
  19597. },
  19598. "invalue": {
  19599. "description": "目标值",
  19600. "type": "number"
  19601. },
  19602. "logid": {
  19603. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19604. "type": "integer"
  19605. },
  19606. "mobile": {
  19607. "description": "手机号码(加密存储)",
  19608. "type": "string"
  19609. },
  19610. "outergoodscode": {
  19611. "description": "外部商品代码[JD\\PD]",
  19612. "type": "string"
  19613. },
  19614. "outratio": {
  19615. "description": "配置转出比值",
  19616. "type": "integer"
  19617. },
  19618. "outvalue": {
  19619. "description": "源值",
  19620. "type": "number"
  19621. },
  19622. "pddecimalplace": {
  19623. "description": "PD小数位",
  19624. "type": "integer"
  19625. },
  19626. "qty": {
  19627. "description": "数量",
  19628. "type": "string"
  19629. },
  19630. "remark": {
  19631. "description": "备注",
  19632. "type": "string"
  19633. },
  19634. "sessionid": {
  19635. "description": "会话ID",
  19636. "type": "integer"
  19637. },
  19638. "timemaxvalue": {
  19639. "description": "配置单次最大转入限制",
  19640. "type": "number"
  19641. },
  19642. "timemaxvalue2": {
  19643. "description": "配置单次最大转入限制(转入)",
  19644. "type": "number"
  19645. },
  19646. "timeminvalue": {
  19647. "description": "配置单次最小数量限制",
  19648. "type": "number"
  19649. },
  19650. "timeminvalue2": {
  19651. "description": "配置单次最小数量限制(转入)",
  19652. "type": "number"
  19653. },
  19654. "tradedate": {
  19655. "description": "交易日(yyyyMMdd)",
  19656. "type": "string"
  19657. },
  19658. "userid": {
  19659. "description": "用户ID",
  19660. "type": "integer"
  19661. }
  19662. }
  19663. },
  19664. "szdz.QueryGoodsPickupRsp": {
  19665. "type": "object",
  19666. "required": [
  19667. "takeorderid"
  19668. ],
  19669. "properties": {
  19670. "accountid": {
  19671. "description": "账户ID",
  19672. "type": "integer"
  19673. },
  19674. "address": {
  19675. "description": "提货人详细地址",
  19676. "type": "string"
  19677. },
  19678. "auditer": {
  19679. "description": "审核人",
  19680. "type": "integer"
  19681. },
  19682. "audittime": {
  19683. "description": "审核时间",
  19684. "type": "string"
  19685. },
  19686. "cardnum": {
  19687. "description": "提货人证件号码",
  19688. "type": "string"
  19689. },
  19690. "cardtypeid": {
  19691. "description": "提货人证件类型",
  19692. "type": "integer"
  19693. },
  19694. "checkremark": {
  19695. "description": "审核备注",
  19696. "type": "string"
  19697. },
  19698. "goodscode": {
  19699. "description": "商品代码",
  19700. "type": "string"
  19701. },
  19702. "goodsid": {
  19703. "description": "商品ID",
  19704. "type": "integer"
  19705. },
  19706. "goodsname": {
  19707. "description": "商品名称",
  19708. "type": "string"
  19709. },
  19710. "handlestatus": {
  19711. "description": "处理状态",
  19712. "type": "integer"
  19713. },
  19714. "marketid": {
  19715. "description": "市场ID",
  19716. "type": "integer"
  19717. },
  19718. "phonenum": {
  19719. "description": "提货人联系方式",
  19720. "type": "string"
  19721. },
  19722. "qty": {
  19723. "description": "提货数量",
  19724. "type": "number"
  19725. },
  19726. "recivername": {
  19727. "description": "提货人姓名",
  19728. "type": "string"
  19729. },
  19730. "reqtime": {
  19731. "description": "更新时间",
  19732. "type": "string"
  19733. },
  19734. "takemode": {
  19735. "description": "提货方式 - 2:自提 3:配送",
  19736. "type": "integer"
  19737. },
  19738. "takeorderid": {
  19739. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  19740. "type": "string"
  19741. },
  19742. "takeorderstatus": {
  19743. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  19744. "type": "integer"
  19745. },
  19746. "takeremark": {
  19747. "description": "提货备注",
  19748. "type": "string"
  19749. },
  19750. "tradedate": {
  19751. "description": "交易日(yyyyMMdd)",
  19752. "type": "string"
  19753. },
  19754. "userid": {
  19755. "description": "用户ID",
  19756. "type": "integer"
  19757. }
  19758. }
  19759. },
  19760. "szdz.QueryRecieptOrderRsp": {
  19761. "type": "object",
  19762. "required": [
  19763. "ordertime"
  19764. ],
  19765. "properties": {
  19766. "accountName": {
  19767. "description": "所属账号名称(已脱敏)",
  19768. "type": "string"
  19769. },
  19770. "accountid": {
  19771. "description": "资金账号",
  19772. "type": "integer"
  19773. },
  19774. "buyorsell": {
  19775. "description": "方向 - 0:买 1:卖",
  19776. "type": "integer"
  19777. },
  19778. "enableqty": {
  19779. "description": "可摘数量",
  19780. "type": "integer"
  19781. },
  19782. "goodscode": {
  19783. "description": "商品代码",
  19784. "type": "string"
  19785. },
  19786. "goodsid": {
  19787. "description": "商品ID",
  19788. "type": "integer"
  19789. },
  19790. "goodsname": {
  19791. "description": "商品名称",
  19792. "type": "string"
  19793. },
  19794. "orderid": {
  19795. "description": "委托单号",
  19796. "type": "string"
  19797. },
  19798. "orderprice": {
  19799. "description": "委托价格",
  19800. "type": "number"
  19801. },
  19802. "ordertime": {
  19803. "description": "委托时间",
  19804. "type": "string"
  19805. },
  19806. "tradedate": {
  19807. "description": "交易日(yyyyMMdd)",
  19808. "type": "string"
  19809. }
  19810. }
  19811. },
  19812. "szdz.QuerySZDZTradePositionRsp": {
  19813. "type": "object",
  19814. "properties": {
  19815. "accountid": {
  19816. "description": "账号Id",
  19817. "type": "integer"
  19818. },
  19819. "agreeunit": {
  19820. "description": "合约单位",
  19821. "type": "number"
  19822. },
  19823. "averageprice": {
  19824. "description": "持仓均价",
  19825. "type": "number"
  19826. },
  19827. "buyorsell": {
  19828. "description": "方向 - 0:买 1:卖",
  19829. "type": "integer"
  19830. },
  19831. "closetotalqty": {
  19832. "description": "平仓总数量",
  19833. "type": "integer"
  19834. },
  19835. "curholderamount": {
  19836. "description": "当前持仓总金额",
  19837. "type": "number"
  19838. },
  19839. "curpositionqty": {
  19840. "description": "当前持仓总数量",
  19841. "type": "integer"
  19842. },
  19843. "currencyid": {
  19844. "description": "报价货币ID",
  19845. "type": "integer"
  19846. },
  19847. "curtdposition": {
  19848. "description": "期末今日头寸",
  19849. "type": "integer"
  19850. },
  19851. "decimalplace": {
  19852. "description": "报价小数位",
  19853. "type": "integer"
  19854. },
  19855. "enableqty": {
  19856. "description": "可用量",
  19857. "type": "integer"
  19858. },
  19859. "fretdposition": {
  19860. "description": "冻结今日头寸",
  19861. "type": "integer"
  19862. },
  19863. "frozenqty": {
  19864. "description": "持仓冻结数量",
  19865. "type": "integer"
  19866. },
  19867. "goodscode": {
  19868. "description": "商品代码(内部)",
  19869. "type": "string"
  19870. },
  19871. "goodsid": {
  19872. "description": "商品Id",
  19873. "type": "integer"
  19874. },
  19875. "goodsname": {
  19876. "description": "商品名称",
  19877. "type": "string"
  19878. },
  19879. "goodunit": {
  19880. "description": "报价单位",
  19881. "type": "string"
  19882. },
  19883. "goodunitid": {
  19884. "description": "报价单位ID",
  19885. "type": "integer"
  19886. },
  19887. "holderamount": {
  19888. "description": "期初持仓总金额",
  19889. "type": "number"
  19890. },
  19891. "marketid": {
  19892. "description": "市场ID",
  19893. "type": "integer"
  19894. },
  19895. "openreqqty": {
  19896. "description": "开仓申请数量",
  19897. "type": "integer"
  19898. },
  19899. "opentotalqty": {
  19900. "description": "开仓总数量",
  19901. "type": "integer"
  19902. },
  19903. "otherfrozenqty": {
  19904. "description": "持仓其他冻结数量(交割冻结)",
  19905. "type": "integer"
  19906. },
  19907. "positionqty": {
  19908. "description": "期初持仓数量",
  19909. "type": "integer"
  19910. },
  19911. "szdz3freezqty": {
  19912. "description": "尚志大宗转换冻结总数量",
  19913. "type": "integer"
  19914. },
  19915. "tnqty": {
  19916. "description": "T+N冻结总量",
  19917. "type": "integer"
  19918. },
  19919. "tnusedqty": {
  19920. "description": "T+N使用量",
  19921. "type": "integer"
  19922. },
  19923. "trademode": {
  19924. "description": "交易模式",
  19925. "type": "integer"
  19926. },
  19927. "usedmargin": {
  19928. "description": "占用保证金",
  19929. "type": "number"
  19930. }
  19931. }
  19932. },
  19933. "taaccount.QueryAmountLogRsp": {
  19934. "type": "object",
  19935. "required": [
  19936. "accountid",
  19937. "amount",
  19938. "amountadjusttype",
  19939. "autoid",
  19940. "balance",
  19941. "createtime",
  19942. "currentbalance",
  19943. "operatetype"
  19944. ],
  19945. "properties": {
  19946. "OPERATETYPENAME": {
  19947. "description": "资金操作类型名称",
  19948. "type": "string"
  19949. },
  19950. "accountid": {
  19951. "description": "资金账户ID",
  19952. "type": "integer"
  19953. },
  19954. "agoodscode": {
  19955. "description": "竞拍商品代码",
  19956. "type": "string"
  19957. },
  19958. "agoodsname": {
  19959. "description": "竞拍商品名称",
  19960. "type": "string"
  19961. },
  19962. "amount": {
  19963. "description": "资金金额",
  19964. "type": "number"
  19965. },
  19966. "amountadjusttype": {
  19967. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  19968. "type": "integer"
  19969. },
  19970. "autoid": {
  19971. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  19972. "type": "integer"
  19973. },
  19974. "balance": {
  19975. "description": "期初余额",
  19976. "type": "number"
  19977. },
  19978. "businesscode": {
  19979. "description": "业务编号",
  19980. "type": "integer"
  19981. },
  19982. "createtime": {
  19983. "description": "发生时间",
  19984. "type": "string"
  19985. },
  19986. "currencyid": {
  19987. "description": "币种ID",
  19988. "type": "integer"
  19989. },
  19990. "currentbalance": {
  19991. "description": "期末余额(变动后金额)",
  19992. "type": "number"
  19993. },
  19994. "dgoodscode": {
  19995. "description": "交割商品代码",
  19996. "type": "string"
  19997. },
  19998. "dgoodsname": {
  19999. "description": "交割商品名称",
  20000. "type": "string"
  20001. },
  20002. "goodscode": {
  20003. "description": "商品代码",
  20004. "type": "string"
  20005. },
  20006. "goodsid": {
  20007. "description": "商品ID",
  20008. "type": "integer"
  20009. },
  20010. "goodsname": {
  20011. "description": "商品名称",
  20012. "type": "string"
  20013. },
  20014. "marketid": {
  20015. "description": "市场ID",
  20016. "type": "integer"
  20017. },
  20018. "marketname": {
  20019. "description": "市场名称",
  20020. "type": "string"
  20021. },
  20022. "moneyticket": {
  20023. "description": "资金流水号:银行端流水号",
  20024. "type": "integer"
  20025. },
  20026. "operatetype": {
  20027. "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:营销收款",
  20028. "type": "integer"
  20029. },
  20030. "relationorderid": {
  20031. "description": "关联单号",
  20032. "type": "string"
  20033. },
  20034. "remark": {
  20035. "description": "备注",
  20036. "type": "string"
  20037. },
  20038. "trademode": {
  20039. "description": "交易模式",
  20040. "type": "integer"
  20041. }
  20042. }
  20043. },
  20044. "taaccount.QueryHisAmountLogRsp": {
  20045. "type": "object",
  20046. "required": [
  20047. "accountid",
  20048. "amount",
  20049. "amountadjusttype",
  20050. "autoid",
  20051. "balance",
  20052. "createtime",
  20053. "currentbalance",
  20054. "histradedate",
  20055. "operatetype"
  20056. ],
  20057. "properties": {
  20058. "OPERATETYPENAME": {
  20059. "description": "资金操作类型名称",
  20060. "type": "string"
  20061. },
  20062. "accountid": {
  20063. "description": "资金账户ID",
  20064. "type": "integer"
  20065. },
  20066. "agoodscode": {
  20067. "description": "竞拍商品代码",
  20068. "type": "string"
  20069. },
  20070. "agoodsname": {
  20071. "description": "竞拍商品名称",
  20072. "type": "string"
  20073. },
  20074. "amount": {
  20075. "description": "资金金额",
  20076. "type": "number"
  20077. },
  20078. "amountadjusttype": {
  20079. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  20080. "type": "integer"
  20081. },
  20082. "autoid": {
  20083. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  20084. "type": "integer"
  20085. },
  20086. "balance": {
  20087. "description": "期初余额",
  20088. "type": "number"
  20089. },
  20090. "businesscode": {
  20091. "description": "业务编号",
  20092. "type": "integer"
  20093. },
  20094. "createtime": {
  20095. "description": "发生时间",
  20096. "type": "string"
  20097. },
  20098. "currencyid": {
  20099. "description": "币种ID",
  20100. "type": "integer"
  20101. },
  20102. "currentbalance": {
  20103. "description": "期末余额(变动后金额)",
  20104. "type": "number"
  20105. },
  20106. "dgoodscode": {
  20107. "description": "交割商品代码",
  20108. "type": "string"
  20109. },
  20110. "dgoodsname": {
  20111. "description": "交割商品名称",
  20112. "type": "string"
  20113. },
  20114. "goodscode": {
  20115. "description": "商品代码",
  20116. "type": "string"
  20117. },
  20118. "goodsid": {
  20119. "description": "商品ID",
  20120. "type": "integer"
  20121. },
  20122. "goodsname": {
  20123. "description": "商品名称",
  20124. "type": "string"
  20125. },
  20126. "histradedate": {
  20127. "description": "历史交易日",
  20128. "type": "string"
  20129. },
  20130. "isvaliddata": {
  20131. "description": "是否有效 - 0:无效 1:有效",
  20132. "type": "integer"
  20133. },
  20134. "marketid": {
  20135. "description": "市场ID",
  20136. "type": "integer"
  20137. },
  20138. "marketname": {
  20139. "description": "市场名称",
  20140. "type": "string"
  20141. },
  20142. "moneyticket": {
  20143. "description": "资金流水号:银行端流水号",
  20144. "type": "integer"
  20145. },
  20146. "operatetype": {
  20147. "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:营销收款",
  20148. "type": "integer"
  20149. },
  20150. "relationorderid": {
  20151. "description": "关联单号",
  20152. "type": "string"
  20153. },
  20154. "remark": {
  20155. "description": "备注",
  20156. "type": "string"
  20157. },
  20158. "trademode": {
  20159. "description": "交易模式",
  20160. "type": "integer"
  20161. }
  20162. }
  20163. },
  20164. "trade.QueryRecieptOrderRsp": {
  20165. "type": "object",
  20166. "required": [
  20167. "ordertime"
  20168. ],
  20169. "properties": {
  20170. "accountName": {
  20171. "description": "所属账号名称(已脱敏)",
  20172. "type": "string"
  20173. },
  20174. "accountid": {
  20175. "description": "资金账号",
  20176. "type": "integer"
  20177. },
  20178. "buyorsell": {
  20179. "description": "方向 - 0:买 1:卖",
  20180. "type": "integer"
  20181. },
  20182. "enableqty": {
  20183. "description": "可摘数量",
  20184. "type": "integer"
  20185. },
  20186. "goodscode": {
  20187. "description": "商品代码",
  20188. "type": "string"
  20189. },
  20190. "goodsid": {
  20191. "description": "商品ID",
  20192. "type": "integer"
  20193. },
  20194. "goodsname": {
  20195. "description": "商品名称",
  20196. "type": "string"
  20197. },
  20198. "orderid": {
  20199. "description": "委托单号",
  20200. "type": "string"
  20201. },
  20202. "orderprice": {
  20203. "description": "委托价格",
  20204. "type": "number"
  20205. },
  20206. "ordertime": {
  20207. "description": "委托时间",
  20208. "type": "string"
  20209. },
  20210. "tradedate": {
  20211. "description": "交易日(yyyyMMdd)",
  20212. "type": "string"
  20213. }
  20214. }
  20215. },
  20216. "user.LoginQueryRsp": {
  20217. "type": "object",
  20218. "properties": {
  20219. "externalExchanges": {
  20220. "description": "外部交易所",
  20221. "type": "array",
  20222. "items": {
  20223. "$ref": "#/definitions/models.Externalexchange"
  20224. }
  20225. },
  20226. "goodsgroups": {
  20227. "description": "商品组",
  20228. "type": "array",
  20229. "items": {
  20230. "$ref": "#/definitions/models.Goodsgroup"
  20231. }
  20232. },
  20233. "loginAccount": {
  20234. "description": "登录账号",
  20235. "$ref": "#/definitions/models.Loginaccount"
  20236. },
  20237. "markets": {
  20238. "description": "市场",
  20239. "type": "array",
  20240. "items": {
  20241. "$ref": "#/definitions/models.Market"
  20242. }
  20243. },
  20244. "systemParams": {
  20245. "description": "系统参数",
  20246. "type": "array",
  20247. "items": {
  20248. "$ref": "#/definitions/models.Systemparam"
  20249. }
  20250. },
  20251. "userAccount": {
  20252. "description": "用户账号",
  20253. "$ref": "#/definitions/models.Useraccount"
  20254. },
  20255. "userInfo": {
  20256. "description": "用户信息",
  20257. "$ref": "#/definitions/models.Userinfo"
  20258. },
  20259. "username": {
  20260. "description": "用户姓名",
  20261. "type": "string"
  20262. }
  20263. }
  20264. }
  20265. },
  20266. "securityDefinitions": {
  20267. "ApiKeyAuth": {
  20268. "type": "apiKey",
  20269. "name": "Authorization",
  20270. "in": "header"
  20271. }
  20272. }
  20273. }`
  20274. type swaggerInfo struct {
  20275. Version string
  20276. Host string
  20277. BasePath string
  20278. Schemes []string
  20279. Title string
  20280. Description string
  20281. }
  20282. // SwaggerInfo holds exported Swagger Info so clients can modify it
  20283. var SwaggerInfo = swaggerInfo{
  20284. Version: "1.0",
  20285. Host: "",
  20286. BasePath: "/api",
  20287. Schemes: []string{},
  20288. Title: "MTP2.0 查询服务 API",
  20289. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  20290. }
  20291. type s struct{}
  20292. func (s *s) ReadDoc() string {
  20293. sInfo := SwaggerInfo
  20294. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  20295. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  20296. "marshal": func(v interface{}) string {
  20297. a, _ := json.Marshal(v)
  20298. return string(a)
  20299. },
  20300. }).Parse(doc)
  20301. if err != nil {
  20302. return doc
  20303. }
  20304. var tpl bytes.Buffer
  20305. if err := t.Execute(&tpl, sInfo); err != nil {
  20306. return doc
  20307. }
  20308. return tpl.String()
  20309. }
  20310. func init() {
  20311. swag.Register(swag.Name, &s{})
  20312. }