docs.go 724 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetDivisions": {
  403. "get": {
  404. "produces": [
  405. "application/json"
  406. ],
  407. "tags": [
  408. "通用服务"
  409. ],
  410. "summary": "查询区域信息",
  411. "responses": {
  412. "200": {
  413. "description": "OK",
  414. "schema": {
  415. "$ref": "#/definitions/models.Division"
  416. }
  417. },
  418. "500": {
  419. "description": "Internal Server Error",
  420. "schema": {
  421. "$ref": "#/definitions/app.Response"
  422. }
  423. }
  424. }
  425. }
  426. },
  427. "/Common/GetPCMenus": {
  428. "get": {
  429. "produces": [
  430. "application/json"
  431. ],
  432. "tags": [
  433. "通用服务"
  434. ],
  435. "summary": "获取PC交易端菜单",
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "type": "array",
  441. "items": {
  442. "$ref": "#/definitions/models.OperationPrimaryMenu"
  443. }
  444. }
  445. },
  446. "500": {
  447. "description": "Internal Server Error",
  448. "schema": {
  449. "$ref": "#/definitions/app.Response"
  450. }
  451. }
  452. }
  453. }
  454. },
  455. "/Common/GetServerTime": {
  456. "get": {
  457. "produces": [
  458. "application/json"
  459. ],
  460. "tags": [
  461. "通用服务"
  462. ],
  463. "summary": "获取服务器时间",
  464. "responses": {
  465. "200": {
  466. "description": "OK",
  467. "schema": {
  468. "$ref": "#/definitions/app.Response"
  469. }
  470. },
  471. "500": {
  472. "description": "Internal Server Error",
  473. "schema": {
  474. "$ref": "#/definitions/app.Response"
  475. }
  476. }
  477. }
  478. }
  479. },
  480. "/Common/NoticeReaded": {
  481. "post": {
  482. "security": [
  483. {
  484. "ApiKeyAuth": []
  485. }
  486. ],
  487. "produces": [
  488. "application/json"
  489. ],
  490. "tags": [
  491. "通用服务"
  492. ],
  493. "summary": "通知公告设置已读请求",
  494. "parameters": [
  495. {
  496. "type": "integer",
  497. "description": "登录账号",
  498. "name": "loginID",
  499. "in": "query",
  500. "required": true
  501. },
  502. {
  503. "type": "integer",
  504. "description": "通知公告ID",
  505. "name": "noticeID",
  506. "in": "query",
  507. "required": true
  508. }
  509. ],
  510. "responses": {
  511. "200": {
  512. "description": "OK",
  513. "schema": {
  514. "$ref": "#/definitions/app.Response"
  515. }
  516. },
  517. "500": {
  518. "description": "Internal Server Error",
  519. "schema": {
  520. "$ref": "#/definitions/app.Response"
  521. }
  522. }
  523. }
  524. }
  525. },
  526. "/Common/QueryErrorInfos": {
  527. "get": {
  528. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  529. "produces": [
  530. "application/json"
  531. ],
  532. "tags": [
  533. "通用服务"
  534. ],
  535. "summary": "获取数据库错误信息",
  536. "parameters": [
  537. {
  538. "type": "string",
  539. "description": "起始行号前索引",
  540. "name": "rowNumber",
  541. "in": "query"
  542. }
  543. ],
  544. "responses": {
  545. "200": {
  546. "description": "OK",
  547. "schema": {
  548. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  549. }
  550. },
  551. "500": {
  552. "description": "Internal Server Error",
  553. "schema": {
  554. "$ref": "#/definitions/app.Response"
  555. }
  556. }
  557. }
  558. }
  559. },
  560. "/Common/QueryImageConfigs": {
  561. "get": {
  562. "produces": [
  563. "application/json"
  564. ],
  565. "tags": [
  566. "通用服务"
  567. ],
  568. "summary": "查询轮播图配置信息",
  569. "parameters": [
  570. {
  571. "type": "integer",
  572. "description": "类型 - 1:App首页轮播 2:我的",
  573. "name": "imageType",
  574. "in": "query"
  575. }
  576. ],
  577. "responses": {
  578. "200": {
  579. "description": "OK",
  580. "schema": {
  581. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  582. }
  583. },
  584. "500": {
  585. "description": "Internal Server Error",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. }
  590. }
  591. }
  592. },
  593. "/Common/QueryNotice": {
  594. "get": {
  595. "security": [
  596. {
  597. "ApiKeyAuth": []
  598. }
  599. ],
  600. "produces": [
  601. "application/json"
  602. ],
  603. "tags": [
  604. "通用服务"
  605. ],
  606. "summary": "通知公告系统消息查询",
  607. "parameters": [
  608. {
  609. "type": "integer",
  610. "description": "页码",
  611. "name": "page",
  612. "in": "query"
  613. },
  614. {
  615. "type": "integer",
  616. "description": "每页条数",
  617. "name": "pagesize",
  618. "in": "query"
  619. },
  620. {
  621. "type": "integer",
  622. "description": "登录账号",
  623. "name": "loginID",
  624. "in": "query",
  625. "required": true
  626. },
  627. {
  628. "type": "integer",
  629. "description": "消息类型 - 1:公告通知 2:系统消息",
  630. "name": "msgType",
  631. "in": "query"
  632. },
  633. {
  634. "type": "boolean",
  635. "description": "是否只获取未读信息",
  636. "name": "onlyUnRead",
  637. "in": "query"
  638. },
  639. {
  640. "type": "integer",
  641. "description": "自增ID,传入后会返回这个ID后面的记录",
  642. "name": "lastID",
  643. "in": "query"
  644. }
  645. ],
  646. "responses": {
  647. "200": {
  648. "description": "OK",
  649. "schema": {
  650. "$ref": "#/definitions/common.QueryNoticeRsp"
  651. }
  652. },
  653. "500": {
  654. "description": "Internal Server Error",
  655. "schema": {
  656. "$ref": "#/definitions/app.Response"
  657. }
  658. }
  659. }
  660. }
  661. },
  662. "/Common/QueryProvincesAndCities": {
  663. "get": {
  664. "produces": [
  665. "application/json"
  666. ],
  667. "tags": [
  668. "通用服务"
  669. ],
  670. "summary": "查询省市信息(不包括区)",
  671. "parameters": [
  672. {
  673. "type": "integer",
  674. "description": "省ID",
  675. "name": "provinceID",
  676. "in": "query"
  677. }
  678. ],
  679. "responses": {
  680. "200": {
  681. "description": "OK",
  682. "schema": {
  683. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  684. }
  685. },
  686. "500": {
  687. "description": "Internal Server Error",
  688. "schema": {
  689. "$ref": "#/definitions/app.Response"
  690. }
  691. }
  692. }
  693. }
  694. },
  695. "/Common/QueryTableDefine": {
  696. "get": {
  697. "produces": [
  698. "application/json"
  699. ],
  700. "tags": [
  701. "通用服务"
  702. ],
  703. "summary": "查询交易端列表头信息",
  704. "parameters": [
  705. {
  706. "type": "string",
  707. "description": "表key",
  708. "name": "tableKey",
  709. "in": "query"
  710. },
  711. {
  712. "type": "integer",
  713. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  714. "name": "tableType",
  715. "in": "query"
  716. }
  717. ],
  718. "responses": {
  719. "200": {
  720. "description": "OK",
  721. "schema": {
  722. "$ref": "#/definitions/common.QueryTableDefineRsp"
  723. }
  724. },
  725. "500": {
  726. "description": "Internal Server Error",
  727. "schema": {
  728. "$ref": "#/definitions/app.Response"
  729. }
  730. }
  731. }
  732. }
  733. },
  734. "/Common/QueryTraderMenu": {
  735. "get": {
  736. "produces": [
  737. "application/json"
  738. ],
  739. "tags": [
  740. "通用服务"
  741. ],
  742. "summary": "查询交易端菜单",
  743. "parameters": [
  744. {
  745. "type": "integer",
  746. "description": "登录账号",
  747. "name": "loginid",
  748. "in": "query",
  749. "required": true
  750. }
  751. ],
  752. "responses": {
  753. "200": {
  754. "description": "OK",
  755. "schema": {
  756. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  757. }
  758. },
  759. "500": {
  760. "description": "Internal Server Error",
  761. "schema": {
  762. "$ref": "#/definitions/app.Response"
  763. }
  764. }
  765. }
  766. }
  767. },
  768. "/Delivery/QueryDeliveryRelation": {
  769. "get": {
  770. "security": [
  771. {
  772. "ApiKeyAuth": []
  773. }
  774. ],
  775. "produces": [
  776. "application/json"
  777. ],
  778. "tags": [
  779. "交割服务"
  780. ],
  781. "summary": "查询商品交割关系表",
  782. "parameters": [
  783. {
  784. "type": "integer",
  785. "description": "商品ID",
  786. "name": "goodsid",
  787. "in": "query"
  788. },
  789. {
  790. "type": "integer",
  791. "description": "品种ID",
  792. "name": "deliverygoodsid",
  793. "in": "query"
  794. },
  795. {
  796. "type": "integer",
  797. "description": "市场ID",
  798. "name": "marketid",
  799. "in": "query"
  800. }
  801. ],
  802. "responses": {
  803. "200": {
  804. "description": "OK",
  805. "schema": {
  806. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  807. }
  808. },
  809. "500": {
  810. "description": "Internal Server Error",
  811. "schema": {
  812. "$ref": "#/definitions/app.Response"
  813. }
  814. }
  815. }
  816. }
  817. },
  818. "/Ermcp/GetErmcpGoods": {
  819. "get": {
  820. "security": [
  821. {
  822. "ApiKeyAuth": []
  823. }
  824. ],
  825. "produces": [
  826. "application/json"
  827. ],
  828. "tags": [
  829. "企业风险管理(app)"
  830. ],
  831. "summary": "查询企业风管期货商品信息",
  832. "parameters": [
  833. {
  834. "type": "string",
  835. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  836. "name": "lastUpdateTime",
  837. "in": "query"
  838. }
  839. ],
  840. "responses": {
  841. "200": {
  842. "description": "OK",
  843. "schema": {
  844. "$ref": "#/definitions/models.Goods"
  845. }
  846. },
  847. "500": {
  848. "description": "Internal Server Error",
  849. "schema": {
  850. "$ref": "#/definitions/app.Response"
  851. }
  852. }
  853. }
  854. }
  855. },
  856. "/Ermcp/GetErmcpGoodsSortByPosition": {
  857. "get": {
  858. "security": [
  859. {
  860. "ApiKeyAuth": []
  861. }
  862. ],
  863. "produces": [
  864. "application/json"
  865. ],
  866. "tags": [
  867. "企业风险管理(app)"
  868. ],
  869. "summary": "查询企业风管期货主力、次主力商品信息",
  870. "parameters": [
  871. {
  872. "type": "string",
  873. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  874. "name": "sortIndex",
  875. "in": "query"
  876. }
  877. ],
  878. "responses": {
  879. "200": {
  880. "description": "OK",
  881. "schema": {
  882. "$ref": "#/definitions/models.Goodssortbypreposition"
  883. }
  884. },
  885. "500": {
  886. "description": "Internal Server Error",
  887. "schema": {
  888. "$ref": "#/definitions/app.Response"
  889. }
  890. }
  891. }
  892. }
  893. },
  894. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  895. "get": {
  896. "security": [
  897. {
  898. "ApiKeyAuth": []
  899. }
  900. ],
  901. "produces": [
  902. "application/json"
  903. ],
  904. "tags": [
  905. "企业风险管理(app)"
  906. ],
  907. "summary": "获取企业风管终端权限",
  908. "parameters": [
  909. {
  910. "type": "integer",
  911. "description": "登录账号",
  912. "name": "loginID",
  913. "in": "query",
  914. "required": true
  915. }
  916. ],
  917. "responses": {
  918. "200": {
  919. "description": "OK",
  920. "schema": {
  921. "$ref": "#/definitions/models.Funcmenulist"
  922. }
  923. },
  924. "500": {
  925. "description": "Internal Server Error",
  926. "schema": {
  927. "$ref": "#/definitions/app.Response"
  928. }
  929. }
  930. }
  931. }
  932. },
  933. "/Ermcp/QryReportDayExposure": {
  934. "get": {
  935. "security": [
  936. {
  937. "ApiKeyAuth": []
  938. }
  939. ],
  940. "produces": [
  941. "application/json"
  942. ],
  943. "tags": [
  944. "企业风险管理(app)"
  945. ],
  946. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  947. "parameters": [
  948. {
  949. "type": "integer",
  950. "description": "用户ID",
  951. "name": "userid",
  952. "in": "query",
  953. "required": true
  954. },
  955. {
  956. "type": "string",
  957. "description": "交易日(格式:yyyyMMdd)",
  958. "name": "tradedate",
  959. "in": "query",
  960. "required": true
  961. }
  962. ],
  963. "responses": {
  964. "200": {
  965. "description": "OK",
  966. "schema": {
  967. "type": "array",
  968. "items": {
  969. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  970. }
  971. }
  972. },
  973. "500": {
  974. "description": "Internal Server Error",
  975. "schema": {
  976. "$ref": "#/definitions/app.Response"
  977. }
  978. }
  979. }
  980. }
  981. },
  982. "/Ermcp/QryReportDayFinance": {
  983. "get": {
  984. "security": [
  985. {
  986. "ApiKeyAuth": []
  987. }
  988. ],
  989. "produces": [
  990. "application/json"
  991. ],
  992. "tags": [
  993. "企业风险管理(app)"
  994. ],
  995. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  996. "parameters": [
  997. {
  998. "type": "integer",
  999. "description": "用户ID",
  1000. "name": "userid",
  1001. "in": "query",
  1002. "required": true
  1003. },
  1004. {
  1005. "type": "string",
  1006. "description": "交易日(格式:yyyyMMdd)",
  1007. "name": "tradedate",
  1008. "in": "query",
  1009. "required": true
  1010. }
  1011. ],
  1012. "responses": {
  1013. "200": {
  1014. "description": "OK",
  1015. "schema": {
  1016. "type": "array",
  1017. "items": {
  1018. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  1019. }
  1020. }
  1021. },
  1022. "500": {
  1023. "description": "Internal Server Error",
  1024. "schema": {
  1025. "$ref": "#/definitions/app.Response"
  1026. }
  1027. }
  1028. }
  1029. }
  1030. },
  1031. "/Ermcp/QryReportDayFinanceFp": {
  1032. "get": {
  1033. "security": [
  1034. {
  1035. "ApiKeyAuth": []
  1036. }
  1037. ],
  1038. "produces": [
  1039. "application/json"
  1040. ],
  1041. "tags": [
  1042. "企业风险管理(app)"
  1043. ],
  1044. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  1045. "parameters": [
  1046. {
  1047. "type": "integer",
  1048. "description": "用户ID",
  1049. "name": "userid",
  1050. "in": "query",
  1051. "required": true
  1052. },
  1053. {
  1054. "type": "string",
  1055. "description": "交易日(格式:yyyyMMdd)",
  1056. "name": "tradedate",
  1057. "in": "query",
  1058. "required": true
  1059. }
  1060. ],
  1061. "responses": {
  1062. "200": {
  1063. "description": "OK",
  1064. "schema": {
  1065. "type": "array",
  1066. "items": {
  1067. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1068. }
  1069. }
  1070. },
  1071. "500": {
  1072. "description": "Internal Server Error",
  1073. "schema": {
  1074. "$ref": "#/definitions/app.Response"
  1075. }
  1076. }
  1077. }
  1078. }
  1079. },
  1080. "/Ermcp/QryReportDayFinanceKx": {
  1081. "get": {
  1082. "security": [
  1083. {
  1084. "ApiKeyAuth": []
  1085. }
  1086. ],
  1087. "produces": [
  1088. "application/json"
  1089. ],
  1090. "tags": [
  1091. "企业风险管理(app)"
  1092. ],
  1093. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1094. "parameters": [
  1095. {
  1096. "type": "integer",
  1097. "description": "用户ID",
  1098. "name": "userid",
  1099. "in": "query",
  1100. "required": true
  1101. },
  1102. {
  1103. "type": "string",
  1104. "description": "交易日(格式:yyyyMMdd)",
  1105. "name": "tradedate",
  1106. "in": "query",
  1107. "required": true
  1108. }
  1109. ],
  1110. "responses": {
  1111. "200": {
  1112. "description": "OK",
  1113. "schema": {
  1114. "type": "array",
  1115. "items": {
  1116. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1117. }
  1118. }
  1119. },
  1120. "500": {
  1121. "description": "Internal Server Error",
  1122. "schema": {
  1123. "$ref": "#/definitions/app.Response"
  1124. }
  1125. }
  1126. }
  1127. }
  1128. },
  1129. "/Ermcp/QryReportDaySpot": {
  1130. "get": {
  1131. "security": [
  1132. {
  1133. "ApiKeyAuth": []
  1134. }
  1135. ],
  1136. "produces": [
  1137. "application/json"
  1138. ],
  1139. "tags": [
  1140. "企业风险管理(app)"
  1141. ],
  1142. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1143. "parameters": [
  1144. {
  1145. "type": "integer",
  1146. "description": "用户ID",
  1147. "name": "userid",
  1148. "in": "query",
  1149. "required": true
  1150. },
  1151. {
  1152. "type": "string",
  1153. "description": "交易日(格式:yyyyMMdd)",
  1154. "name": "tradedate",
  1155. "in": "query",
  1156. "required": true
  1157. }
  1158. ],
  1159. "responses": {
  1160. "200": {
  1161. "description": "OK",
  1162. "schema": {
  1163. "type": "array",
  1164. "items": {
  1165. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1166. }
  1167. }
  1168. },
  1169. "500": {
  1170. "description": "Internal Server Error",
  1171. "schema": {
  1172. "$ref": "#/definitions/app.Response"
  1173. }
  1174. }
  1175. }
  1176. }
  1177. },
  1178. "/Ermcp/QryReportDaySpotDetail": {
  1179. "get": {
  1180. "security": [
  1181. {
  1182. "ApiKeyAuth": []
  1183. }
  1184. ],
  1185. "produces": [
  1186. "application/json"
  1187. ],
  1188. "tags": [
  1189. "企业风险管理(app)"
  1190. ],
  1191. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1192. "parameters": [
  1193. {
  1194. "type": "integer",
  1195. "description": "用户ID",
  1196. "name": "userid",
  1197. "in": "query",
  1198. "required": true
  1199. },
  1200. {
  1201. "type": "integer",
  1202. "description": "现货商品id",
  1203. "name": "wrstandardid",
  1204. "in": "query",
  1205. "required": true
  1206. },
  1207. {
  1208. "type": "string",
  1209. "description": "交易日(格式:yyyyMMdd)",
  1210. "name": "tradedate",
  1211. "in": "query",
  1212. "required": true
  1213. }
  1214. ],
  1215. "responses": {
  1216. "200": {
  1217. "description": "OK",
  1218. "schema": {
  1219. "type": "array",
  1220. "items": {
  1221. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1222. }
  1223. }
  1224. },
  1225. "500": {
  1226. "description": "Internal Server Error",
  1227. "schema": {
  1228. "$ref": "#/definitions/app.Response"
  1229. }
  1230. }
  1231. }
  1232. }
  1233. },
  1234. "/Ermcp/QryReportMonthFinance": {
  1235. "get": {
  1236. "security": [
  1237. {
  1238. "ApiKeyAuth": []
  1239. }
  1240. ],
  1241. "produces": [
  1242. "application/json"
  1243. ],
  1244. "tags": [
  1245. "企业风险管理(app)"
  1246. ],
  1247. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1248. "parameters": [
  1249. {
  1250. "type": "integer",
  1251. "description": "用户ID",
  1252. "name": "userid",
  1253. "in": "query",
  1254. "required": true
  1255. },
  1256. {
  1257. "type": "string",
  1258. "description": "周期时间:月(格式:yyyyMM)",
  1259. "name": "cycletime",
  1260. "in": "query",
  1261. "required": true
  1262. }
  1263. ],
  1264. "responses": {
  1265. "200": {
  1266. "description": "OK",
  1267. "schema": {
  1268. "type": "array",
  1269. "items": {
  1270. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1271. }
  1272. }
  1273. },
  1274. "500": {
  1275. "description": "Internal Server Error",
  1276. "schema": {
  1277. "$ref": "#/definitions/app.Response"
  1278. }
  1279. }
  1280. }
  1281. }
  1282. },
  1283. "/Ermcp/QryReportMonthSpot": {
  1284. "get": {
  1285. "security": [
  1286. {
  1287. "ApiKeyAuth": []
  1288. }
  1289. ],
  1290. "produces": [
  1291. "application/json"
  1292. ],
  1293. "tags": [
  1294. "企业风险管理(app)"
  1295. ],
  1296. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1297. "parameters": [
  1298. {
  1299. "type": "integer",
  1300. "description": "用户ID",
  1301. "name": "userid",
  1302. "in": "query",
  1303. "required": true
  1304. },
  1305. {
  1306. "type": "string",
  1307. "description": "周期时间:月(格式:yyyyMM)",
  1308. "name": "cycletime",
  1309. "in": "query",
  1310. "required": true
  1311. }
  1312. ],
  1313. "responses": {
  1314. "200": {
  1315. "description": "OK",
  1316. "schema": {
  1317. "type": "array",
  1318. "items": {
  1319. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1320. }
  1321. }
  1322. },
  1323. "500": {
  1324. "description": "Internal Server Error",
  1325. "schema": {
  1326. "$ref": "#/definitions/app.Response"
  1327. }
  1328. }
  1329. }
  1330. }
  1331. },
  1332. "/Ermcp/QryReportMonthSpotDetail": {
  1333. "get": {
  1334. "security": [
  1335. {
  1336. "ApiKeyAuth": []
  1337. }
  1338. ],
  1339. "produces": [
  1340. "application/json"
  1341. ],
  1342. "tags": [
  1343. "企业风险管理(app)"
  1344. ],
  1345. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1346. "parameters": [
  1347. {
  1348. "type": "integer",
  1349. "description": "用户ID",
  1350. "name": "userid",
  1351. "in": "query",
  1352. "required": true
  1353. },
  1354. {
  1355. "type": "integer",
  1356. "description": "现货商品id",
  1357. "name": "wrstandardid",
  1358. "in": "query",
  1359. "required": true
  1360. },
  1361. {
  1362. "type": "string",
  1363. "description": "周期时间:月(格式:yyyyMM)",
  1364. "name": "cycletime",
  1365. "in": "query",
  1366. "required": true
  1367. }
  1368. ],
  1369. "responses": {
  1370. "200": {
  1371. "description": "OK",
  1372. "schema": {
  1373. "type": "array",
  1374. "items": {
  1375. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1376. }
  1377. }
  1378. },
  1379. "500": {
  1380. "description": "Internal Server Error",
  1381. "schema": {
  1382. "$ref": "#/definitions/app.Response"
  1383. }
  1384. }
  1385. }
  1386. }
  1387. },
  1388. "/Ermcp/QueryAreaStock": {
  1389. "get": {
  1390. "security": [
  1391. {
  1392. "ApiKeyAuth": []
  1393. }
  1394. ],
  1395. "produces": [
  1396. "application/json"
  1397. ],
  1398. "tags": [
  1399. "企业风险管理(app)"
  1400. ],
  1401. "summary": "查询机构库存(库存管理/当前库存)",
  1402. "parameters": [
  1403. {
  1404. "type": "integer",
  1405. "description": "用户ID",
  1406. "name": "userid",
  1407. "in": "query",
  1408. "required": true
  1409. }
  1410. ],
  1411. "responses": {
  1412. "200": {
  1413. "description": "OK",
  1414. "schema": {
  1415. "type": "array",
  1416. "items": {
  1417. "$ref": "#/definitions/models.ErmcpAreaStock"
  1418. }
  1419. }
  1420. },
  1421. "500": {
  1422. "description": "Internal Server Error",
  1423. "schema": {
  1424. "$ref": "#/definitions/app.Response"
  1425. }
  1426. }
  1427. }
  1428. }
  1429. },
  1430. "/Ermcp/QueryAreaStockApply": {
  1431. "get": {
  1432. "security": [
  1433. {
  1434. "ApiKeyAuth": []
  1435. }
  1436. ],
  1437. "produces": [
  1438. "application/json"
  1439. ],
  1440. "tags": [
  1441. "企业风险管理(app)"
  1442. ],
  1443. "summary": "查询库存申请(出入库记录|库存审核)",
  1444. "parameters": [
  1445. {
  1446. "type": "integer",
  1447. "description": "用户ID",
  1448. "name": "userid",
  1449. "in": "query",
  1450. "required": true
  1451. },
  1452. {
  1453. "type": "string",
  1454. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1455. "name": "inouttype",
  1456. "in": "query"
  1457. },
  1458. {
  1459. "type": "integer",
  1460. "description": "合同ID",
  1461. "name": "spotcontractid",
  1462. "in": "query"
  1463. },
  1464. {
  1465. "type": "integer",
  1466. "description": "现货商品ID",
  1467. "name": "wrstandardid",
  1468. "in": "query"
  1469. },
  1470. {
  1471. "type": "integer",
  1472. "description": "品牌ID",
  1473. "name": "spotgoodsbrandid",
  1474. "in": "query"
  1475. },
  1476. {
  1477. "type": "integer",
  1478. "description": "型号ID",
  1479. "name": "spotgoodsmodelid",
  1480. "in": "query"
  1481. },
  1482. {
  1483. "type": "integer",
  1484. "description": "仓库ID",
  1485. "name": "warehouseinfoid",
  1486. "in": "query"
  1487. },
  1488. {
  1489. "type": "string",
  1490. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1491. "name": "applystatus",
  1492. "in": "query"
  1493. }
  1494. ],
  1495. "responses": {
  1496. "200": {
  1497. "description": "OK",
  1498. "schema": {
  1499. "type": "array",
  1500. "items": {
  1501. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1502. }
  1503. }
  1504. },
  1505. "500": {
  1506. "description": "Internal Server Error",
  1507. "schema": {
  1508. "$ref": "#/definitions/app.Response"
  1509. }
  1510. }
  1511. }
  1512. }
  1513. },
  1514. "/Ermcp/QueryAreaStockApplySum": {
  1515. "get": {
  1516. "security": [
  1517. {
  1518. "ApiKeyAuth": []
  1519. }
  1520. ],
  1521. "produces": [
  1522. "application/json"
  1523. ],
  1524. "tags": [
  1525. "企业风险管理(app)"
  1526. ],
  1527. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1528. "parameters": [
  1529. {
  1530. "type": "integer",
  1531. "description": "合同ID",
  1532. "name": "spotcontractid",
  1533. "in": "query"
  1534. }
  1535. ],
  1536. "responses": {
  1537. "200": {
  1538. "description": "OK",
  1539. "schema": {
  1540. "type": "array",
  1541. "items": {
  1542. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1543. }
  1544. }
  1545. },
  1546. "500": {
  1547. "description": "Internal Server Error",
  1548. "schema": {
  1549. "$ref": "#/definitions/app.Response"
  1550. }
  1551. }
  1552. }
  1553. }
  1554. },
  1555. "/Ermcp/QueryAreaStockReport": {
  1556. "get": {
  1557. "security": [
  1558. {
  1559. "ApiKeyAuth": []
  1560. }
  1561. ],
  1562. "produces": [
  1563. "application/json"
  1564. ],
  1565. "tags": [
  1566. "企业风险管理(app)"
  1567. ],
  1568. "summary": "查询库存报表",
  1569. "parameters": [
  1570. {
  1571. "type": "integer",
  1572. "description": "用户ID",
  1573. "name": "userid",
  1574. "in": "query",
  1575. "required": true
  1576. },
  1577. {
  1578. "type": "integer",
  1579. "description": "查询类型 1-日报表 2-月报表",
  1580. "name": "querytype",
  1581. "in": "query",
  1582. "required": true
  1583. },
  1584. {
  1585. "type": "string",
  1586. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1587. "name": "querydate",
  1588. "in": "query",
  1589. "required": true
  1590. },
  1591. {
  1592. "type": "integer",
  1593. "description": "现货商品ID",
  1594. "name": "wrstandardid",
  1595. "in": "query"
  1596. },
  1597. {
  1598. "type": "integer",
  1599. "description": "品牌ID",
  1600. "name": "spotgoodsbrandid",
  1601. "in": "query"
  1602. },
  1603. {
  1604. "type": "integer",
  1605. "description": "型号ID",
  1606. "name": "spotgoodsmodelid",
  1607. "in": "query"
  1608. },
  1609. {
  1610. "type": "integer",
  1611. "description": "仓库ID",
  1612. "name": "warehouseinfoid",
  1613. "in": "query"
  1614. }
  1615. ],
  1616. "responses": {
  1617. "200": {
  1618. "description": "OK",
  1619. "schema": {
  1620. "type": "array",
  1621. "items": {
  1622. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  1623. }
  1624. }
  1625. },
  1626. "500": {
  1627. "description": "Internal Server Error",
  1628. "schema": {
  1629. "$ref": "#/definitions/app.Response"
  1630. }
  1631. }
  1632. }
  1633. }
  1634. },
  1635. "/Ermcp/QueryAreaStockReportDetail": {
  1636. "get": {
  1637. "security": [
  1638. {
  1639. "ApiKeyAuth": []
  1640. }
  1641. ],
  1642. "produces": [
  1643. "application/json"
  1644. ],
  1645. "tags": [
  1646. "企业风险管理(app)"
  1647. ],
  1648. "summary": "查询库存报表明细",
  1649. "parameters": [
  1650. {
  1651. "type": "integer",
  1652. "description": "用户ID",
  1653. "name": "userid",
  1654. "in": "query",
  1655. "required": true
  1656. },
  1657. {
  1658. "type": "integer",
  1659. "description": "查询类型 1-日报表明细 2-月报表明细",
  1660. "name": "querytype",
  1661. "in": "query",
  1662. "required": true
  1663. },
  1664. {
  1665. "type": "integer",
  1666. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  1667. "name": "detailtype",
  1668. "in": "query",
  1669. "required": true
  1670. },
  1671. {
  1672. "type": "string",
  1673. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1674. "name": "querydate",
  1675. "in": "query",
  1676. "required": true
  1677. },
  1678. {
  1679. "type": "integer",
  1680. "description": "现货商品ID",
  1681. "name": "wrstandardid",
  1682. "in": "query"
  1683. },
  1684. {
  1685. "type": "integer",
  1686. "description": "品牌ID",
  1687. "name": "spotgoodsbrandid",
  1688. "in": "query"
  1689. },
  1690. {
  1691. "type": "integer",
  1692. "description": "型号ID",
  1693. "name": "spotgoodsmodelid",
  1694. "in": "query"
  1695. },
  1696. {
  1697. "type": "integer",
  1698. "description": "仓库ID",
  1699. "name": "warehouseinfoid",
  1700. "in": "query"
  1701. }
  1702. ],
  1703. "responses": {
  1704. "200": {
  1705. "description": "OK",
  1706. "schema": {
  1707. "type": "array",
  1708. "items": {
  1709. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  1710. }
  1711. }
  1712. },
  1713. "500": {
  1714. "description": "Internal Server Error",
  1715. "schema": {
  1716. "$ref": "#/definitions/app.Response"
  1717. }
  1718. }
  1719. }
  1720. }
  1721. },
  1722. "/Ermcp/QueryAvaildGoodsGroup": {
  1723. "get": {
  1724. "security": [
  1725. {
  1726. "ApiKeyAuth": []
  1727. }
  1728. ],
  1729. "produces": [
  1730. "application/json"
  1731. ],
  1732. "tags": [
  1733. "企业风险管理(app)"
  1734. ],
  1735. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1736. "parameters": [
  1737. {
  1738. "type": "integer",
  1739. "description": "所属机构ID",
  1740. "name": "userid",
  1741. "in": "query",
  1742. "required": true
  1743. }
  1744. ],
  1745. "responses": {
  1746. "200": {
  1747. "description": "OK",
  1748. "schema": {
  1749. "type": "array",
  1750. "items": {
  1751. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1752. }
  1753. }
  1754. },
  1755. "500": {
  1756. "description": "Internal Server Error",
  1757. "schema": {
  1758. "$ref": "#/definitions/app.Response"
  1759. }
  1760. }
  1761. }
  1762. }
  1763. },
  1764. "/Ermcp/QueryBusinessDj": {
  1765. "get": {
  1766. "security": [
  1767. {
  1768. "ApiKeyAuth": []
  1769. }
  1770. ],
  1771. "produces": [
  1772. "application/json"
  1773. ],
  1774. "tags": [
  1775. "企业风险管理(app)"
  1776. ],
  1777. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1778. "parameters": [
  1779. {
  1780. "type": "integer",
  1781. "description": "用户ID",
  1782. "name": "UserId",
  1783. "in": "query",
  1784. "required": true
  1785. },
  1786. {
  1787. "type": "string",
  1788. "description": "现货合同ID, 不填则查所有",
  1789. "name": "relatedid",
  1790. "in": "query"
  1791. },
  1792. {
  1793. "type": "string",
  1794. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1795. "name": "applystatus",
  1796. "in": "query"
  1797. }
  1798. ],
  1799. "responses": {
  1800. "200": {
  1801. "description": "OK",
  1802. "schema": {
  1803. "type": "array",
  1804. "items": {
  1805. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1806. }
  1807. }
  1808. },
  1809. "500": {
  1810. "description": "Internal Server Error",
  1811. "schema": {
  1812. "$ref": "#/definitions/app.Response"
  1813. }
  1814. }
  1815. }
  1816. }
  1817. },
  1818. "/Ermcp/QueryBusinessFp": {
  1819. "get": {
  1820. "security": [
  1821. {
  1822. "ApiKeyAuth": []
  1823. }
  1824. ],
  1825. "produces": [
  1826. "application/json"
  1827. ],
  1828. "tags": [
  1829. "企业风险管理(app)"
  1830. ],
  1831. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1832. "parameters": [
  1833. {
  1834. "type": "integer",
  1835. "description": "用户ID",
  1836. "name": "UserId",
  1837. "in": "query",
  1838. "required": true
  1839. },
  1840. {
  1841. "type": "string",
  1842. "description": "现货合同ID, 不填则查所有",
  1843. "name": "relatedid",
  1844. "in": "query"
  1845. },
  1846. {
  1847. "type": "string",
  1848. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1849. "name": "applystatus",
  1850. "in": "query"
  1851. }
  1852. ],
  1853. "responses": {
  1854. "200": {
  1855. "description": "OK",
  1856. "schema": {
  1857. "type": "array",
  1858. "items": {
  1859. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1860. }
  1861. }
  1862. },
  1863. "500": {
  1864. "description": "Internal Server Error",
  1865. "schema": {
  1866. "$ref": "#/definitions/app.Response"
  1867. }
  1868. }
  1869. }
  1870. }
  1871. },
  1872. "/Ermcp/QueryBusinessJs": {
  1873. "get": {
  1874. "security": [
  1875. {
  1876. "ApiKeyAuth": []
  1877. }
  1878. ],
  1879. "produces": [
  1880. "application/json"
  1881. ],
  1882. "tags": [
  1883. "企业风险管理(app)"
  1884. ],
  1885. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1886. "parameters": [
  1887. {
  1888. "type": "integer",
  1889. "description": "用户ID",
  1890. "name": "UserId",
  1891. "in": "query",
  1892. "required": true
  1893. },
  1894. {
  1895. "type": "string",
  1896. "description": "现货合同ID, 不填则查所有",
  1897. "name": "relatedid",
  1898. "in": "query"
  1899. },
  1900. {
  1901. "type": "string",
  1902. "description": "操作申请id",
  1903. "name": "operateapplyid",
  1904. "in": "query"
  1905. },
  1906. {
  1907. "type": "string",
  1908. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1909. "name": "applystatus",
  1910. "in": "query"
  1911. }
  1912. ],
  1913. "responses": {
  1914. "200": {
  1915. "description": "OK",
  1916. "schema": {
  1917. "type": "array",
  1918. "items": {
  1919. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1920. }
  1921. }
  1922. },
  1923. "500": {
  1924. "description": "Internal Server Error",
  1925. "schema": {
  1926. "$ref": "#/definitions/app.Response"
  1927. }
  1928. }
  1929. }
  1930. }
  1931. },
  1932. "/Ermcp/QueryBusinessJsEx": {
  1933. "get": {
  1934. "security": [
  1935. {
  1936. "ApiKeyAuth": []
  1937. }
  1938. ],
  1939. "produces": [
  1940. "application/json"
  1941. ],
  1942. "tags": [
  1943. "企业风险管理(app)"
  1944. ],
  1945. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1946. "parameters": [
  1947. {
  1948. "type": "integer",
  1949. "description": "用户ID",
  1950. "name": "UserId",
  1951. "in": "query",
  1952. "required": true
  1953. },
  1954. {
  1955. "type": "string",
  1956. "description": "现货合同ID, 不填则查所有",
  1957. "name": "relatedid",
  1958. "in": "query"
  1959. },
  1960. {
  1961. "type": "string",
  1962. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1963. "name": "applystatus",
  1964. "in": "query"
  1965. }
  1966. ],
  1967. "responses": {
  1968. "200": {
  1969. "description": "OK",
  1970. "schema": {
  1971. "type": "array",
  1972. "items": {
  1973. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1974. }
  1975. }
  1976. },
  1977. "500": {
  1978. "description": "Internal Server Error",
  1979. "schema": {
  1980. "$ref": "#/definitions/app.Response"
  1981. }
  1982. }
  1983. }
  1984. }
  1985. },
  1986. "/Ermcp/QueryBusinessKx": {
  1987. "get": {
  1988. "security": [
  1989. {
  1990. "ApiKeyAuth": []
  1991. }
  1992. ],
  1993. "produces": [
  1994. "application/json"
  1995. ],
  1996. "tags": [
  1997. "企业风险管理(app)"
  1998. ],
  1999. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  2000. "parameters": [
  2001. {
  2002. "type": "integer",
  2003. "description": "用户ID",
  2004. "name": "UserId",
  2005. "in": "query",
  2006. "required": true
  2007. },
  2008. {
  2009. "type": "string",
  2010. "description": "现货合同ID, 不填则查所有",
  2011. "name": "relatedid",
  2012. "in": "query"
  2013. },
  2014. {
  2015. "type": "string",
  2016. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2017. "name": "applystatus",
  2018. "in": "query"
  2019. }
  2020. ],
  2021. "responses": {
  2022. "200": {
  2023. "description": "OK",
  2024. "schema": {
  2025. "type": "array",
  2026. "items": {
  2027. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2028. }
  2029. }
  2030. },
  2031. "500": {
  2032. "description": "Internal Server Error",
  2033. "schema": {
  2034. "$ref": "#/definitions/app.Response"
  2035. }
  2036. }
  2037. }
  2038. }
  2039. },
  2040. "/Ermcp/QueryChangeLog": {
  2041. "get": {
  2042. "security": [
  2043. {
  2044. "ApiKeyAuth": []
  2045. }
  2046. ],
  2047. "produces": [
  2048. "application/json"
  2049. ],
  2050. "tags": [
  2051. "企业风险管理(app)"
  2052. ],
  2053. "summary": "查询变更记录",
  2054. "parameters": [
  2055. {
  2056. "type": "string",
  2057. "description": "合同ID",
  2058. "name": "RelatedId",
  2059. "in": "query",
  2060. "required": true
  2061. }
  2062. ],
  2063. "responses": {
  2064. "200": {
  2065. "description": "OK",
  2066. "schema": {
  2067. "type": "array",
  2068. "items": {
  2069. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2070. }
  2071. }
  2072. },
  2073. "500": {
  2074. "description": "Internal Server Error",
  2075. "schema": {
  2076. "$ref": "#/definitions/app.Response"
  2077. }
  2078. }
  2079. }
  2080. }
  2081. },
  2082. "/Ermcp/QueryContract": {
  2083. "get": {
  2084. "security": [
  2085. {
  2086. "ApiKeyAuth": []
  2087. }
  2088. ],
  2089. "produces": [
  2090. "application/json"
  2091. ],
  2092. "tags": [
  2093. "企业风险管理(app)"
  2094. ],
  2095. "summary": "查询合同(采购和销售)",
  2096. "parameters": [
  2097. {
  2098. "type": "integer",
  2099. "description": "用户ID",
  2100. "name": "userId",
  2101. "in": "query",
  2102. "required": true
  2103. },
  2104. {
  2105. "type": "integer",
  2106. "description": "合同类型 1-采购, -1-销售",
  2107. "name": "contracttype",
  2108. "in": "query",
  2109. "required": true
  2110. },
  2111. {
  2112. "type": "integer",
  2113. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2114. "name": "querytype",
  2115. "in": "query",
  2116. "required": true
  2117. },
  2118. {
  2119. "type": "string",
  2120. "description": "合同ID(SpotContractId)",
  2121. "name": "contractid",
  2122. "in": "query"
  2123. }
  2124. ],
  2125. "responses": {
  2126. "200": {
  2127. "description": "OK",
  2128. "schema": {
  2129. "type": "array",
  2130. "items": {
  2131. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2132. }
  2133. }
  2134. },
  2135. "500": {
  2136. "description": "Internal Server Error",
  2137. "schema": {
  2138. "$ref": "#/definitions/app.Response"
  2139. }
  2140. }
  2141. }
  2142. }
  2143. },
  2144. "/Ermcp/QueryErmcpHisOrderDetails": {
  2145. "get": {
  2146. "security": [
  2147. {
  2148. "ApiKeyAuth": []
  2149. }
  2150. ],
  2151. "produces": [
  2152. "application/json"
  2153. ],
  2154. "tags": [
  2155. "企业风险管理(app)"
  2156. ],
  2157. "summary": "获取企业风管期货历史委托单信息",
  2158. "parameters": [
  2159. {
  2160. "type": "integer",
  2161. "description": "资金账户ID",
  2162. "name": "accountID",
  2163. "in": "query",
  2164. "required": true
  2165. },
  2166. {
  2167. "type": "string",
  2168. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2169. "name": "startDate",
  2170. "in": "query"
  2171. },
  2172. {
  2173. "type": "string",
  2174. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2175. "name": "endDate",
  2176. "in": "query"
  2177. }
  2178. ],
  2179. "responses": {
  2180. "200": {
  2181. "description": "OK",
  2182. "schema": {
  2183. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2184. }
  2185. },
  2186. "500": {
  2187. "description": "Internal Server Error",
  2188. "schema": {
  2189. "$ref": "#/definitions/app.Response"
  2190. }
  2191. }
  2192. }
  2193. }
  2194. },
  2195. "/Ermcp/QueryErmcpHisTradeDetails": {
  2196. "get": {
  2197. "security": [
  2198. {
  2199. "ApiKeyAuth": []
  2200. }
  2201. ],
  2202. "produces": [
  2203. "application/json"
  2204. ],
  2205. "tags": [
  2206. "企业风险管理(app)"
  2207. ],
  2208. "summary": "获取企业风管期货历史成交单信息",
  2209. "parameters": [
  2210. {
  2211. "type": "integer",
  2212. "description": "资金账户ID",
  2213. "name": "accountID",
  2214. "in": "query",
  2215. "required": true
  2216. },
  2217. {
  2218. "type": "integer",
  2219. "description": "商品ID",
  2220. "name": "goodsID",
  2221. "in": "query"
  2222. },
  2223. {
  2224. "type": "integer",
  2225. "description": "买卖方向,0:买 1:卖",
  2226. "name": "buyOrSell",
  2227. "in": "query"
  2228. },
  2229. {
  2230. "type": "integer",
  2231. "description": "关联委托单号",
  2232. "name": "orderID",
  2233. "in": "query"
  2234. },
  2235. {
  2236. "type": "string",
  2237. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2238. "name": "startDate",
  2239. "in": "query"
  2240. },
  2241. {
  2242. "type": "string",
  2243. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2244. "name": "endDate",
  2245. "in": "query"
  2246. }
  2247. ],
  2248. "responses": {
  2249. "200": {
  2250. "description": "OK",
  2251. "schema": {
  2252. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2253. }
  2254. },
  2255. "500": {
  2256. "description": "Internal Server Error",
  2257. "schema": {
  2258. "$ref": "#/definitions/app.Response"
  2259. }
  2260. }
  2261. }
  2262. }
  2263. },
  2264. "/Ermcp/QueryErmcpOrderDetails": {
  2265. "get": {
  2266. "security": [
  2267. {
  2268. "ApiKeyAuth": []
  2269. }
  2270. ],
  2271. "produces": [
  2272. "application/json"
  2273. ],
  2274. "tags": [
  2275. "企业风险管理(app)"
  2276. ],
  2277. "summary": "获取企业风管期货委托单信息",
  2278. "parameters": [
  2279. {
  2280. "type": "integer",
  2281. "description": "资金账户ID",
  2282. "name": "accountID",
  2283. "in": "query",
  2284. "required": true
  2285. }
  2286. ],
  2287. "responses": {
  2288. "200": {
  2289. "description": "OK",
  2290. "schema": {
  2291. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2292. }
  2293. },
  2294. "500": {
  2295. "description": "Internal Server Error",
  2296. "schema": {
  2297. "$ref": "#/definitions/app.Response"
  2298. }
  2299. }
  2300. }
  2301. }
  2302. },
  2303. "/Ermcp/QueryErmcpTradeDetails": {
  2304. "get": {
  2305. "security": [
  2306. {
  2307. "ApiKeyAuth": []
  2308. }
  2309. ],
  2310. "produces": [
  2311. "application/json"
  2312. ],
  2313. "tags": [
  2314. "企业风险管理(app)"
  2315. ],
  2316. "summary": "获取企业风管期货成交单信息",
  2317. "parameters": [
  2318. {
  2319. "type": "integer",
  2320. "description": "资金账户ID",
  2321. "name": "accountID",
  2322. "in": "query",
  2323. "required": true
  2324. },
  2325. {
  2326. "type": "integer",
  2327. "description": "商品ID",
  2328. "name": "goodsID",
  2329. "in": "query"
  2330. },
  2331. {
  2332. "type": "integer",
  2333. "description": "买卖方向,0:买 1:卖",
  2334. "name": "buyOrSell",
  2335. "in": "query"
  2336. },
  2337. {
  2338. "type": "integer",
  2339. "description": "关联委托单号",
  2340. "name": "orderID",
  2341. "in": "query"
  2342. }
  2343. ],
  2344. "responses": {
  2345. "200": {
  2346. "description": "OK",
  2347. "schema": {
  2348. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2349. }
  2350. },
  2351. "500": {
  2352. "description": "Internal Server Error",
  2353. "schema": {
  2354. "$ref": "#/definitions/app.Response"
  2355. }
  2356. }
  2357. }
  2358. }
  2359. },
  2360. "/Ermcp/QueryErmcpTradePosition": {
  2361. "get": {
  2362. "security": [
  2363. {
  2364. "ApiKeyAuth": []
  2365. }
  2366. ],
  2367. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2368. "produces": [
  2369. "application/json"
  2370. ],
  2371. "tags": [
  2372. "企业风险管理(app)"
  2373. ],
  2374. "summary": "获取企业风管期货持仓头寸信息",
  2375. "parameters": [
  2376. {
  2377. "type": "integer",
  2378. "description": "资金账户ID",
  2379. "name": "accountID",
  2380. "in": "query",
  2381. "required": true
  2382. },
  2383. {
  2384. "type": "integer",
  2385. "description": "所属市场ID",
  2386. "name": "marketID",
  2387. "in": "query"
  2388. }
  2389. ],
  2390. "responses": {
  2391. "200": {
  2392. "description": "OK",
  2393. "schema": {
  2394. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2395. }
  2396. },
  2397. "500": {
  2398. "description": "Internal Server Error",
  2399. "schema": {
  2400. "$ref": "#/definitions/app.Response"
  2401. }
  2402. }
  2403. }
  2404. }
  2405. },
  2406. "/Ermcp/QueryExposureDetail": {
  2407. "get": {
  2408. "security": [
  2409. {
  2410. "ApiKeyAuth": []
  2411. }
  2412. ],
  2413. "produces": [
  2414. "application/json"
  2415. ],
  2416. "tags": [
  2417. "企业风险管理(app)"
  2418. ],
  2419. "summary": "查询敞口现货明细",
  2420. "parameters": [
  2421. {
  2422. "type": "integer",
  2423. "description": "所属机构ID",
  2424. "name": "areaUserId",
  2425. "in": "query",
  2426. "required": true
  2427. },
  2428. {
  2429. "type": "integer",
  2430. "description": "套保商品",
  2431. "name": "middleGoodsId",
  2432. "in": "query",
  2433. "required": true
  2434. }
  2435. ],
  2436. "responses": {
  2437. "200": {
  2438. "description": "OK",
  2439. "schema": {
  2440. "type": "array",
  2441. "items": {
  2442. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2443. }
  2444. }
  2445. },
  2446. "500": {
  2447. "description": "Internal Server Error",
  2448. "schema": {
  2449. "$ref": "#/definitions/app.Response"
  2450. }
  2451. }
  2452. }
  2453. }
  2454. },
  2455. "/Ermcp/QueryExposureHedgePosition": {
  2456. "get": {
  2457. "security": [
  2458. {
  2459. "ApiKeyAuth": []
  2460. }
  2461. ],
  2462. "produces": [
  2463. "application/json"
  2464. ],
  2465. "tags": [
  2466. "企业风险管理(app)"
  2467. ],
  2468. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2469. "parameters": [
  2470. {
  2471. "type": "integer",
  2472. "description": "所属机构ID",
  2473. "name": "areaUserId",
  2474. "in": "query",
  2475. "required": true
  2476. }
  2477. ],
  2478. "responses": {
  2479. "200": {
  2480. "description": "OK",
  2481. "schema": {
  2482. "type": "array",
  2483. "items": {
  2484. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2485. }
  2486. }
  2487. },
  2488. "500": {
  2489. "description": "Internal Server Error",
  2490. "schema": {
  2491. "$ref": "#/definitions/app.Response"
  2492. }
  2493. }
  2494. }
  2495. }
  2496. },
  2497. "/Ermcp/QueryExposureHedgePositionDetail": {
  2498. "get": {
  2499. "security": [
  2500. {
  2501. "ApiKeyAuth": []
  2502. }
  2503. ],
  2504. "produces": [
  2505. "application/json"
  2506. ],
  2507. "tags": [
  2508. "企业风险管理(app)"
  2509. ],
  2510. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2511. "parameters": [
  2512. {
  2513. "type": "integer",
  2514. "description": "所属机构ID",
  2515. "name": "areaUserId",
  2516. "in": "query",
  2517. "required": true
  2518. },
  2519. {
  2520. "type": "integer",
  2521. "description": "商品id",
  2522. "name": "goodsId",
  2523. "in": "query",
  2524. "required": true
  2525. }
  2526. ],
  2527. "responses": {
  2528. "200": {
  2529. "description": "OK",
  2530. "schema": {
  2531. "type": "array",
  2532. "items": {
  2533. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2534. }
  2535. }
  2536. },
  2537. "500": {
  2538. "description": "Internal Server Error",
  2539. "schema": {
  2540. "$ref": "#/definitions/app.Response"
  2541. }
  2542. }
  2543. }
  2544. }
  2545. },
  2546. "/Ermcp/QueryExposureSpot": {
  2547. "get": {
  2548. "security": [
  2549. {
  2550. "ApiKeyAuth": []
  2551. }
  2552. ],
  2553. "produces": [
  2554. "application/json"
  2555. ],
  2556. "tags": [
  2557. "企业风险管理(app)"
  2558. ],
  2559. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2560. "parameters": [
  2561. {
  2562. "type": "integer",
  2563. "description": "所属机构ID",
  2564. "name": "areaUserId",
  2565. "in": "query",
  2566. "required": true
  2567. }
  2568. ],
  2569. "responses": {
  2570. "200": {
  2571. "description": "OK",
  2572. "schema": {
  2573. "type": "array",
  2574. "items": {
  2575. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2576. }
  2577. }
  2578. },
  2579. "500": {
  2580. "description": "Internal Server Error",
  2581. "schema": {
  2582. "$ref": "#/definitions/app.Response"
  2583. }
  2584. }
  2585. }
  2586. }
  2587. },
  2588. "/Ermcp/QueryExposureSpotDetail": {
  2589. "get": {
  2590. "security": [
  2591. {
  2592. "ApiKeyAuth": []
  2593. }
  2594. ],
  2595. "produces": [
  2596. "application/json"
  2597. ],
  2598. "tags": [
  2599. "企业风险管理(app)"
  2600. ],
  2601. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2602. "parameters": [
  2603. {
  2604. "type": "integer",
  2605. "description": "所属机构ID",
  2606. "name": "areaUserId",
  2607. "in": "query",
  2608. "required": true
  2609. },
  2610. {
  2611. "type": "integer",
  2612. "description": "现货品种ID",
  2613. "name": "wrstandardId",
  2614. "in": "query",
  2615. "required": true
  2616. }
  2617. ],
  2618. "responses": {
  2619. "200": {
  2620. "description": "OK",
  2621. "schema": {
  2622. "type": "array",
  2623. "items": {
  2624. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2625. }
  2626. }
  2627. },
  2628. "500": {
  2629. "description": "Internal Server Error",
  2630. "schema": {
  2631. "$ref": "#/definitions/app.Response"
  2632. }
  2633. }
  2634. }
  2635. }
  2636. },
  2637. "/Ermcp/QueryGGConvertConfig": {
  2638. "get": {
  2639. "security": [
  2640. {
  2641. "ApiKeyAuth": []
  2642. }
  2643. ],
  2644. "produces": [
  2645. "application/json"
  2646. ],
  2647. "tags": [
  2648. "企业风险管理(app)"
  2649. ],
  2650. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2651. "parameters": [
  2652. {
  2653. "type": "integer",
  2654. "description": "品种id(不填则查所有)",
  2655. "name": "goodsgroupid",
  2656. "in": "query"
  2657. }
  2658. ],
  2659. "responses": {
  2660. "200": {
  2661. "description": "OK",
  2662. "schema": {
  2663. "type": "array",
  2664. "items": {
  2665. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2666. }
  2667. }
  2668. },
  2669. "500": {
  2670. "description": "Internal Server Error",
  2671. "schema": {
  2672. "$ref": "#/definitions/app.Response"
  2673. }
  2674. }
  2675. }
  2676. }
  2677. },
  2678. "/Ermcp/QueryGoodsBrand": {
  2679. "get": {
  2680. "security": [
  2681. {
  2682. "ApiKeyAuth": []
  2683. }
  2684. ],
  2685. "produces": [
  2686. "application/json"
  2687. ],
  2688. "tags": [
  2689. "企业风险管理(app)"
  2690. ],
  2691. "summary": "查询商品品牌",
  2692. "parameters": [
  2693. {
  2694. "type": "integer",
  2695. "description": "用户ID",
  2696. "name": "userid",
  2697. "in": "query",
  2698. "required": true
  2699. },
  2700. {
  2701. "type": "integer",
  2702. "description": "现货商品ID",
  2703. "name": "wrstandardid",
  2704. "in": "query"
  2705. }
  2706. ],
  2707. "responses": {
  2708. "200": {
  2709. "description": "OK",
  2710. "schema": {
  2711. "type": "array",
  2712. "items": {
  2713. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2714. }
  2715. }
  2716. },
  2717. "500": {
  2718. "description": "Internal Server Error",
  2719. "schema": {
  2720. "$ref": "#/definitions/app.Response"
  2721. }
  2722. }
  2723. }
  2724. }
  2725. },
  2726. "/Ermcp/QueryGoodsModel": {
  2727. "get": {
  2728. "security": [
  2729. {
  2730. "ApiKeyAuth": []
  2731. }
  2732. ],
  2733. "produces": [
  2734. "application/json"
  2735. ],
  2736. "tags": [
  2737. "企业风险管理(app)"
  2738. ],
  2739. "summary": "查询商品型号",
  2740. "parameters": [
  2741. {
  2742. "type": "integer",
  2743. "description": "用户ID",
  2744. "name": "userid",
  2745. "in": "query",
  2746. "required": true
  2747. }
  2748. ],
  2749. "responses": {
  2750. "200": {
  2751. "description": "OK",
  2752. "schema": {
  2753. "type": "array",
  2754. "items": {
  2755. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2756. }
  2757. }
  2758. },
  2759. "500": {
  2760. "description": "Internal Server Error",
  2761. "schema": {
  2762. "$ref": "#/definitions/app.Response"
  2763. }
  2764. }
  2765. }
  2766. }
  2767. },
  2768. "/Ermcp/QueryHedgePlan": {
  2769. "get": {
  2770. "security": [
  2771. {
  2772. "ApiKeyAuth": []
  2773. }
  2774. ],
  2775. "produces": [
  2776. "application/json"
  2777. ],
  2778. "tags": [
  2779. "企业风险管理(app)"
  2780. ],
  2781. "summary": "查询套保计划",
  2782. "parameters": [
  2783. {
  2784. "type": "integer",
  2785. "description": "用户ID",
  2786. "name": "userId",
  2787. "in": "query",
  2788. "required": true
  2789. },
  2790. {
  2791. "type": "string",
  2792. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2793. "name": "HedgePlanStatus",
  2794. "in": "query",
  2795. "required": true
  2796. }
  2797. ],
  2798. "responses": {
  2799. "200": {
  2800. "description": "OK",
  2801. "schema": {
  2802. "type": "array",
  2803. "items": {
  2804. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2805. }
  2806. }
  2807. },
  2808. "500": {
  2809. "description": "Internal Server Error",
  2810. "schema": {
  2811. "$ref": "#/definitions/app.Response"
  2812. }
  2813. }
  2814. }
  2815. }
  2816. },
  2817. "/Ermcp/QueryHisExposure": {
  2818. "get": {
  2819. "security": [
  2820. {
  2821. "ApiKeyAuth": []
  2822. }
  2823. ],
  2824. "produces": [
  2825. "application/json"
  2826. ],
  2827. "tags": [
  2828. "企业风险管理(app)"
  2829. ],
  2830. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2831. "parameters": [
  2832. {
  2833. "type": "integer",
  2834. "description": "所属机构ID",
  2835. "name": "areaUserId",
  2836. "in": "query",
  2837. "required": true
  2838. },
  2839. {
  2840. "type": "integer",
  2841. "description": "每个品种记录数",
  2842. "name": "lastNum",
  2843. "in": "query",
  2844. "required": true
  2845. }
  2846. ],
  2847. "responses": {
  2848. "200": {
  2849. "description": "OK",
  2850. "schema": {
  2851. "type": "array",
  2852. "items": {
  2853. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2854. }
  2855. }
  2856. },
  2857. "500": {
  2858. "description": "Internal Server Error",
  2859. "schema": {
  2860. "$ref": "#/definitions/app.Response"
  2861. }
  2862. }
  2863. }
  2864. }
  2865. },
  2866. "/Ermcp/QueryMiddleGoods": {
  2867. "get": {
  2868. "security": [
  2869. {
  2870. "ApiKeyAuth": []
  2871. }
  2872. ],
  2873. "produces": [
  2874. "application/json"
  2875. ],
  2876. "tags": [
  2877. "企业风险管理(app)"
  2878. ],
  2879. "summary": "查询套保品种(菜单:套保品种)",
  2880. "parameters": [
  2881. {
  2882. "type": "integer",
  2883. "description": "所属机构ID",
  2884. "name": "userid",
  2885. "in": "query",
  2886. "required": true
  2887. },
  2888. {
  2889. "type": "integer",
  2890. "description": "状态 0-停用 1-正常",
  2891. "name": "status",
  2892. "in": "query",
  2893. "required": true
  2894. }
  2895. ],
  2896. "responses": {
  2897. "200": {
  2898. "description": "OK",
  2899. "schema": {
  2900. "type": "array",
  2901. "items": {
  2902. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2903. }
  2904. }
  2905. },
  2906. "500": {
  2907. "description": "Internal Server Error",
  2908. "schema": {
  2909. "$ref": "#/definitions/app.Response"
  2910. }
  2911. }
  2912. }
  2913. }
  2914. },
  2915. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2916. "get": {
  2917. "security": [
  2918. {
  2919. "ApiKeyAuth": []
  2920. }
  2921. ],
  2922. "produces": [
  2923. "application/json"
  2924. ],
  2925. "tags": [
  2926. "企业风险管理(app)"
  2927. ],
  2928. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2929. "parameters": [
  2930. {
  2931. "type": "integer",
  2932. "description": "所属机构ID",
  2933. "name": "userid",
  2934. "in": "query",
  2935. "required": true
  2936. },
  2937. {
  2938. "type": "integer",
  2939. "description": "套保品种id",
  2940. "name": "middlegoodsid",
  2941. "in": "query",
  2942. "required": true
  2943. }
  2944. ],
  2945. "responses": {
  2946. "200": {
  2947. "description": "OK",
  2948. "schema": {
  2949. "type": "array",
  2950. "items": {
  2951. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2952. }
  2953. }
  2954. },
  2955. "500": {
  2956. "description": "Internal Server Error",
  2957. "schema": {
  2958. "$ref": "#/definitions/app.Response"
  2959. }
  2960. }
  2961. }
  2962. }
  2963. },
  2964. "/Ermcp/QueryMiddleGoodsDetail": {
  2965. "get": {
  2966. "security": [
  2967. {
  2968. "ApiKeyAuth": []
  2969. }
  2970. ],
  2971. "produces": [
  2972. "application/json"
  2973. ],
  2974. "tags": [
  2975. "企业风险管理(app)"
  2976. ],
  2977. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2978. "parameters": [
  2979. {
  2980. "type": "integer",
  2981. "description": "所属机构ID",
  2982. "name": "userid",
  2983. "in": "query",
  2984. "required": true
  2985. },
  2986. {
  2987. "type": "integer",
  2988. "description": "套保品种id",
  2989. "name": "middlegoodsid",
  2990. "in": "query"
  2991. }
  2992. ],
  2993. "responses": {
  2994. "200": {
  2995. "description": "OK",
  2996. "schema": {
  2997. "type": "array",
  2998. "items": {
  2999. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3000. }
  3001. }
  3002. },
  3003. "500": {
  3004. "description": "Internal Server Error",
  3005. "schema": {
  3006. "$ref": "#/definitions/app.Response"
  3007. }
  3008. }
  3009. }
  3010. }
  3011. },
  3012. "/Ermcp/QueryPendingAuditInfo": {
  3013. "get": {
  3014. "security": [
  3015. {
  3016. "ApiKeyAuth": []
  3017. }
  3018. ],
  3019. "produces": [
  3020. "application/json"
  3021. ],
  3022. "tags": [
  3023. "企业风险管理(app)"
  3024. ],
  3025. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3026. "parameters": [
  3027. {
  3028. "type": "integer",
  3029. "description": "用户ID",
  3030. "name": "UserId",
  3031. "in": "query",
  3032. "required": true
  3033. }
  3034. ],
  3035. "responses": {
  3036. "200": {
  3037. "description": "OK",
  3038. "schema": {
  3039. "type": "array",
  3040. "items": {
  3041. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3042. }
  3043. }
  3044. },
  3045. "500": {
  3046. "description": "Internal Server Error",
  3047. "schema": {
  3048. "$ref": "#/definitions/app.Response"
  3049. }
  3050. }
  3051. }
  3052. }
  3053. },
  3054. "/Ermcp/QueryRealtimeExposure": {
  3055. "get": {
  3056. "security": [
  3057. {
  3058. "ApiKeyAuth": []
  3059. }
  3060. ],
  3061. "produces": [
  3062. "application/json"
  3063. ],
  3064. "tags": [
  3065. "企业风险管理(app)"
  3066. ],
  3067. "summary": "查询实时敞口",
  3068. "parameters": [
  3069. {
  3070. "type": "integer",
  3071. "description": "所属机构ID",
  3072. "name": "AreaUserID",
  3073. "in": "query",
  3074. "required": true
  3075. }
  3076. ],
  3077. "responses": {
  3078. "200": {
  3079. "description": "OK",
  3080. "schema": {
  3081. "type": "array",
  3082. "items": {
  3083. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3084. }
  3085. }
  3086. },
  3087. "500": {
  3088. "description": "Internal Server Error",
  3089. "schema": {
  3090. "$ref": "#/definitions/app.Response"
  3091. }
  3092. }
  3093. }
  3094. }
  3095. },
  3096. "/Ermcp/QueryRealtimeExposurePosition": {
  3097. "get": {
  3098. "security": [
  3099. {
  3100. "ApiKeyAuth": []
  3101. }
  3102. ],
  3103. "produces": [
  3104. "application/json"
  3105. ],
  3106. "tags": [
  3107. "企业风险管理(app)"
  3108. ],
  3109. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3110. "parameters": [
  3111. {
  3112. "type": "integer",
  3113. "description": "所属机构ID",
  3114. "name": "areaUserId",
  3115. "in": "query",
  3116. "required": true
  3117. },
  3118. {
  3119. "type": "integer",
  3120. "description": "套保商品ID",
  3121. "name": "middleGoodsId",
  3122. "in": "query",
  3123. "required": true
  3124. }
  3125. ],
  3126. "responses": {
  3127. "200": {
  3128. "description": "OK",
  3129. "schema": {
  3130. "type": "array",
  3131. "items": {
  3132. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3133. }
  3134. }
  3135. },
  3136. "500": {
  3137. "description": "Internal Server Error",
  3138. "schema": {
  3139. "$ref": "#/definitions/app.Response"
  3140. }
  3141. }
  3142. }
  3143. }
  3144. },
  3145. "/Ermcp/QuerySpotContract": {
  3146. "get": {
  3147. "security": [
  3148. {
  3149. "ApiKeyAuth": []
  3150. }
  3151. ],
  3152. "produces": [
  3153. "application/json"
  3154. ],
  3155. "tags": [
  3156. "企业风险管理(app)"
  3157. ],
  3158. "summary": "查询现货合同(对应现货合同菜单)",
  3159. "parameters": [
  3160. {
  3161. "type": "integer",
  3162. "description": "用户ID",
  3163. "name": "userId",
  3164. "in": "query",
  3165. "required": true
  3166. },
  3167. {
  3168. "type": "integer",
  3169. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3170. "name": "QueryType",
  3171. "in": "query",
  3172. "required": true
  3173. }
  3174. ],
  3175. "responses": {
  3176. "200": {
  3177. "description": "OK",
  3178. "schema": {
  3179. "type": "array",
  3180. "items": {
  3181. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3182. }
  3183. }
  3184. },
  3185. "500": {
  3186. "description": "Internal Server Error",
  3187. "schema": {
  3188. "$ref": "#/definitions/app.Response"
  3189. }
  3190. }
  3191. }
  3192. }
  3193. },
  3194. "/Ermcp/QueryUserInfo": {
  3195. "get": {
  3196. "security": [
  3197. {
  3198. "ApiKeyAuth": []
  3199. }
  3200. ],
  3201. "produces": [
  3202. "application/json"
  3203. ],
  3204. "tags": [
  3205. "企业风险管理(app)"
  3206. ],
  3207. "summary": "查询客户资料",
  3208. "parameters": [
  3209. {
  3210. "type": "integer",
  3211. "description": "所属机构用户ID",
  3212. "name": "MemberUserID",
  3213. "in": "query",
  3214. "required": true
  3215. },
  3216. {
  3217. "type": "integer",
  3218. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3219. "name": "queryType",
  3220. "in": "query",
  3221. "required": true
  3222. }
  3223. ],
  3224. "responses": {
  3225. "200": {
  3226. "description": "OK",
  3227. "schema": {
  3228. "type": "array",
  3229. "items": {
  3230. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3231. }
  3232. }
  3233. },
  3234. "500": {
  3235. "description": "Internal Server Error",
  3236. "schema": {
  3237. "$ref": "#/definitions/app.Response"
  3238. }
  3239. }
  3240. }
  3241. }
  3242. },
  3243. "/Ermcp/QueryWarehouseInfo": {
  3244. "get": {
  3245. "security": [
  3246. {
  3247. "ApiKeyAuth": []
  3248. }
  3249. ],
  3250. "produces": [
  3251. "application/json"
  3252. ],
  3253. "tags": [
  3254. "企业风险管理(app)"
  3255. ],
  3256. "summary": "查询仓库信息",
  3257. "parameters": [
  3258. {
  3259. "type": "integer",
  3260. "description": "用户ID",
  3261. "name": "userid",
  3262. "in": "query",
  3263. "required": true
  3264. },
  3265. {
  3266. "type": "string",
  3267. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3268. "name": "status",
  3269. "in": "query"
  3270. }
  3271. ],
  3272. "responses": {
  3273. "200": {
  3274. "description": "OK",
  3275. "schema": {
  3276. "type": "array",
  3277. "items": {
  3278. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3279. }
  3280. }
  3281. },
  3282. "500": {
  3283. "description": "Internal Server Error",
  3284. "schema": {
  3285. "$ref": "#/definitions/app.Response"
  3286. }
  3287. }
  3288. }
  3289. }
  3290. },
  3291. "/Ermcp/QueryWrStandard": {
  3292. "get": {
  3293. "security": [
  3294. {
  3295. "ApiKeyAuth": []
  3296. }
  3297. ],
  3298. "produces": [
  3299. "application/json"
  3300. ],
  3301. "tags": [
  3302. "企业风险管理(app)"
  3303. ],
  3304. "summary": "查询现货商品",
  3305. "parameters": [
  3306. {
  3307. "type": "integer",
  3308. "description": "所属机构ID",
  3309. "name": "userid",
  3310. "in": "query",
  3311. "required": true
  3312. },
  3313. {
  3314. "type": "integer",
  3315. "description": "状态 0-停用 1-正常",
  3316. "name": "status",
  3317. "in": "query",
  3318. "required": true
  3319. }
  3320. ],
  3321. "responses": {
  3322. "200": {
  3323. "description": "OK",
  3324. "schema": {
  3325. "type": "array",
  3326. "items": {
  3327. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3328. }
  3329. }
  3330. },
  3331. "500": {
  3332. "description": "Internal Server Error",
  3333. "schema": {
  3334. "$ref": "#/definitions/app.Response"
  3335. }
  3336. }
  3337. }
  3338. }
  3339. },
  3340. "/Ermcp/QueryWrStandardDetail": {
  3341. "get": {
  3342. "security": [
  3343. {
  3344. "ApiKeyAuth": []
  3345. }
  3346. ],
  3347. "produces": [
  3348. "application/json"
  3349. ],
  3350. "tags": [
  3351. "企业风险管理(app)"
  3352. ],
  3353. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  3354. "parameters": [
  3355. {
  3356. "type": "integer",
  3357. "description": "所属机构ID",
  3358. "name": "userid",
  3359. "in": "query",
  3360. "required": true
  3361. },
  3362. {
  3363. "type": "integer",
  3364. "description": "现货商品ID",
  3365. "name": "wrstandardid",
  3366. "in": "query"
  3367. },
  3368. {
  3369. "type": "integer",
  3370. "description": "可不填, 1-查询关联交易商品",
  3371. "name": "goods",
  3372. "in": "query"
  3373. }
  3374. ],
  3375. "responses": {
  3376. "200": {
  3377. "description": "OK",
  3378. "schema": {
  3379. "type": "array",
  3380. "items": {
  3381. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  3382. }
  3383. }
  3384. },
  3385. "500": {
  3386. "description": "Internal Server Error",
  3387. "schema": {
  3388. "$ref": "#/definitions/app.Response"
  3389. }
  3390. }
  3391. }
  3392. }
  3393. },
  3394. "/Erms2/QueryArbitrageStrategy": {
  3395. "get": {
  3396. "security": [
  3397. {
  3398. "ApiKeyAuth": []
  3399. }
  3400. ],
  3401. "produces": [
  3402. "application/json"
  3403. ],
  3404. "tags": [
  3405. "风险管理"
  3406. ],
  3407. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  3408. "parameters": [
  3409. {
  3410. "type": "integer",
  3411. "description": "账户ID",
  3412. "name": "userid",
  3413. "in": "query",
  3414. "required": true
  3415. },
  3416. {
  3417. "type": "string",
  3418. "description": "商品组ID(品种ID)",
  3419. "name": "goodsgroupid",
  3420. "in": "query"
  3421. }
  3422. ],
  3423. "responses": {
  3424. "200": {
  3425. "description": "OK",
  3426. "schema": {
  3427. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  3428. }
  3429. },
  3430. "500": {
  3431. "description": "Internal Server Error",
  3432. "schema": {
  3433. "$ref": "#/definitions/app.Response"
  3434. }
  3435. }
  3436. }
  3437. }
  3438. },
  3439. "/Erms2/QueryInnerTradeDetail": {
  3440. "get": {
  3441. "security": [
  3442. {
  3443. "ApiKeyAuth": []
  3444. }
  3445. ],
  3446. "produces": [
  3447. "application/json"
  3448. ],
  3449. "tags": [
  3450. "风险管理"
  3451. ],
  3452. "summary": "查询内部成交单信息",
  3453. "parameters": [
  3454. {
  3455. "type": "integer",
  3456. "description": "资金账户",
  3457. "name": "accountid",
  3458. "in": "query",
  3459. "required": true
  3460. }
  3461. ],
  3462. "responses": {
  3463. "200": {
  3464. "description": "OK",
  3465. "schema": {
  3466. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  3467. }
  3468. },
  3469. "500": {
  3470. "description": "Internal Server Error",
  3471. "schema": {
  3472. "$ref": "#/definitions/app.Response"
  3473. }
  3474. }
  3475. }
  3476. }
  3477. },
  3478. "/Erms2/QuerySpotContract": {
  3479. "get": {
  3480. "security": [
  3481. {
  3482. "ApiKeyAuth": []
  3483. }
  3484. ],
  3485. "produces": [
  3486. "application/json"
  3487. ],
  3488. "tags": [
  3489. "风险管理"
  3490. ],
  3491. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  3492. "parameters": [
  3493. {
  3494. "type": "integer",
  3495. "description": "策略申请ID",
  3496. "name": "asapplyid",
  3497. "in": "query",
  3498. "required": true
  3499. },
  3500. {
  3501. "type": "integer",
  3502. "description": "现货合同ID",
  3503. "name": "spotcontractid",
  3504. "in": "query"
  3505. }
  3506. ],
  3507. "responses": {
  3508. "200": {
  3509. "description": "OK",
  3510. "schema": {
  3511. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  3512. }
  3513. },
  3514. "500": {
  3515. "description": "Internal Server Error",
  3516. "schema": {
  3517. "$ref": "#/definitions/app.Response"
  3518. }
  3519. }
  3520. }
  3521. }
  3522. },
  3523. "/Erms3/AddErms2ASApply": {
  3524. "post": {
  3525. "security": [
  3526. {
  3527. "ApiKeyAuth": []
  3528. }
  3529. ],
  3530. "produces": [
  3531. "application/json"
  3532. ],
  3533. "tags": [
  3534. "风险管理v3"
  3535. ],
  3536. "summary": "新增期现套利业务申请",
  3537. "parameters": [
  3538. {
  3539. "description": "申请参数",
  3540. "name": "jsonBody",
  3541. "in": "body",
  3542. "required": true,
  3543. "schema": {
  3544. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  3545. }
  3546. }
  3547. ],
  3548. "responses": {
  3549. "200": {
  3550. "description": "OK",
  3551. "schema": {
  3552. "$ref": "#/definitions/app.Response"
  3553. }
  3554. },
  3555. "500": {
  3556. "description": "Internal Server Error",
  3557. "schema": {
  3558. "$ref": "#/definitions/app.Response"
  3559. }
  3560. }
  3561. }
  3562. }
  3563. },
  3564. "/Erms3/AddErms2SpotTradeApply": {
  3565. "post": {
  3566. "security": [
  3567. {
  3568. "ApiKeyAuth": []
  3569. }
  3570. ],
  3571. "produces": [
  3572. "application/json"
  3573. ],
  3574. "tags": [
  3575. "风险管理v3"
  3576. ],
  3577. "summary": "新增现货贸易业务申请",
  3578. "parameters": [
  3579. {
  3580. "description": "申请参数",
  3581. "name": "jsonBody",
  3582. "in": "body",
  3583. "required": true,
  3584. "schema": {
  3585. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  3586. }
  3587. }
  3588. ],
  3589. "responses": {
  3590. "200": {
  3591. "description": "OK",
  3592. "schema": {
  3593. "$ref": "#/definitions/app.Response"
  3594. }
  3595. },
  3596. "500": {
  3597. "description": "Internal Server Error",
  3598. "schema": {
  3599. "$ref": "#/definitions/app.Response"
  3600. }
  3601. }
  3602. }
  3603. }
  3604. },
  3605. "/Erms3/AddSpotContractApply": {
  3606. "post": {
  3607. "security": [
  3608. {
  3609. "ApiKeyAuth": []
  3610. }
  3611. ],
  3612. "produces": [
  3613. "application/json"
  3614. ],
  3615. "tags": [
  3616. "风险管理v3"
  3617. ],
  3618. "summary": "新增现货合同申请",
  3619. "parameters": [
  3620. {
  3621. "description": "申请参数",
  3622. "name": "jsonBody",
  3623. "in": "body",
  3624. "required": true,
  3625. "schema": {
  3626. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  3627. }
  3628. }
  3629. ],
  3630. "responses": {
  3631. "200": {
  3632. "description": "OK",
  3633. "schema": {
  3634. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  3635. }
  3636. },
  3637. "500": {
  3638. "description": "Internal Server Error",
  3639. "schema": {
  3640. "$ref": "#/definitions/app.Response"
  3641. }
  3642. }
  3643. }
  3644. }
  3645. },
  3646. "/Erms3/AddUserInfoApply": {
  3647. "post": {
  3648. "security": [
  3649. {
  3650. "ApiKeyAuth": []
  3651. }
  3652. ],
  3653. "produces": [
  3654. "application/json"
  3655. ],
  3656. "tags": [
  3657. "风险管理v3"
  3658. ],
  3659. "summary": "新增客户申请",
  3660. "parameters": [
  3661. {
  3662. "description": "用户信息",
  3663. "name": "jsonBody",
  3664. "in": "body",
  3665. "required": true,
  3666. "schema": {
  3667. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  3668. }
  3669. }
  3670. ],
  3671. "responses": {
  3672. "200": {
  3673. "description": "OK",
  3674. "schema": {
  3675. "$ref": "#/definitions/app.Response"
  3676. }
  3677. },
  3678. "500": {
  3679. "description": "Internal Server Error",
  3680. "schema": {
  3681. "$ref": "#/definitions/app.Response"
  3682. }
  3683. }
  3684. }
  3685. }
  3686. },
  3687. "/Erms3/ModifyUserInfoApply": {
  3688. "post": {
  3689. "security": [
  3690. {
  3691. "ApiKeyAuth": []
  3692. }
  3693. ],
  3694. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  3695. "produces": [
  3696. "application/json"
  3697. ],
  3698. "tags": [
  3699. "风险管理v3"
  3700. ],
  3701. "summary": "修改客户申请",
  3702. "parameters": [
  3703. {
  3704. "description": "用户信息",
  3705. "name": "jsonBody",
  3706. "in": "body",
  3707. "required": true,
  3708. "schema": {
  3709. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  3710. }
  3711. }
  3712. ],
  3713. "responses": {
  3714. "200": {
  3715. "description": "OK",
  3716. "schema": {
  3717. "$ref": "#/definitions/app.Response"
  3718. }
  3719. },
  3720. "500": {
  3721. "description": "Internal Server Error",
  3722. "schema": {
  3723. "$ref": "#/definitions/app.Response"
  3724. }
  3725. }
  3726. }
  3727. }
  3728. },
  3729. "/Erms3/QueryBusinessInfo": {
  3730. "get": {
  3731. "security": [
  3732. {
  3733. "ApiKeyAuth": []
  3734. }
  3735. ],
  3736. "produces": [
  3737. "application/json"
  3738. ],
  3739. "tags": [
  3740. "风险管理v3"
  3741. ],
  3742. "summary": "查询业务表单数据",
  3743. "parameters": [
  3744. {
  3745. "type": "string",
  3746. "description": "资金账号ID列表,用逗号分隔",
  3747. "name": "accountids",
  3748. "in": "query",
  3749. "required": true
  3750. },
  3751. {
  3752. "type": "integer",
  3753. "description": "状态,0为未结束 1为已结束",
  3754. "name": "status",
  3755. "in": "query",
  3756. "required": true
  3757. }
  3758. ],
  3759. "responses": {
  3760. "200": {
  3761. "description": "OK",
  3762. "schema": {
  3763. "type": "array",
  3764. "items": {
  3765. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3766. }
  3767. }
  3768. },
  3769. "500": {
  3770. "description": "Internal Server Error",
  3771. "schema": {
  3772. "$ref": "#/definitions/app.Response"
  3773. }
  3774. }
  3775. }
  3776. }
  3777. },
  3778. "/Erms3/QueryPendingAuditContract": {
  3779. "get": {
  3780. "security": [
  3781. {
  3782. "ApiKeyAuth": []
  3783. }
  3784. ],
  3785. "produces": [
  3786. "application/json"
  3787. ],
  3788. "tags": [
  3789. "风险管理v3"
  3790. ],
  3791. "summary": "查询待审核合同",
  3792. "parameters": [
  3793. {
  3794. "type": "string",
  3795. "description": "资金账号ID列表,逗号隔开",
  3796. "name": "accountids",
  3797. "in": "query",
  3798. "required": true
  3799. },
  3800. {
  3801. "type": "integer",
  3802. "description": "合同类型 1-采购 -1-销售",
  3803. "name": "contracttype",
  3804. "in": "query",
  3805. "required": true
  3806. },
  3807. {
  3808. "type": "integer",
  3809. "description": "合同模式 1-普通 2-回购",
  3810. "name": "contractmode",
  3811. "in": "query",
  3812. "required": true
  3813. }
  3814. ],
  3815. "responses": {
  3816. "200": {
  3817. "description": "OK",
  3818. "schema": {
  3819. "type": "array",
  3820. "items": {
  3821. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3822. }
  3823. }
  3824. },
  3825. "500": {
  3826. "description": "Internal Server Error",
  3827. "schema": {
  3828. "$ref": "#/definitions/app.Response"
  3829. }
  3830. }
  3831. }
  3832. }
  3833. },
  3834. "/Erms3/QueryPendingBusiness": {
  3835. "get": {
  3836. "security": [
  3837. {
  3838. "ApiKeyAuth": []
  3839. }
  3840. ],
  3841. "produces": [
  3842. "application/json"
  3843. ],
  3844. "tags": [
  3845. "风险管理v3"
  3846. ],
  3847. "summary": "查询待审核基差贸易业务",
  3848. "parameters": [
  3849. {
  3850. "type": "string",
  3851. "description": "资金账号ID列表,逗号隔开",
  3852. "name": "accountids",
  3853. "in": "query",
  3854. "required": true
  3855. }
  3856. ],
  3857. "responses": {
  3858. "200": {
  3859. "description": "OK",
  3860. "schema": {
  3861. "type": "array",
  3862. "items": {
  3863. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3864. }
  3865. }
  3866. },
  3867. "500": {
  3868. "description": "Internal Server Error",
  3869. "schema": {
  3870. "$ref": "#/definitions/app.Response"
  3871. }
  3872. }
  3873. }
  3874. }
  3875. },
  3876. "/Erms3/QuerySpotContractAppleForm": {
  3877. "get": {
  3878. "security": [
  3879. {
  3880. "ApiKeyAuth": []
  3881. }
  3882. ],
  3883. "produces": [
  3884. "application/json"
  3885. ],
  3886. "tags": [
  3887. "风险管理v3"
  3888. ],
  3889. "summary": "查询合同申请表单数据",
  3890. "parameters": [
  3891. {
  3892. "type": "integer",
  3893. "description": "登录账号",
  3894. "name": "loginID",
  3895. "in": "query",
  3896. "required": true
  3897. }
  3898. ],
  3899. "responses": {
  3900. "200": {
  3901. "description": "OK",
  3902. "schema": {
  3903. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3904. }
  3905. },
  3906. "500": {
  3907. "description": "Internal Server Error",
  3908. "schema": {
  3909. "$ref": "#/definitions/app.Response"
  3910. }
  3911. }
  3912. }
  3913. }
  3914. },
  3915. "/Erms3/QuerySpotContractDetail": {
  3916. "get": {
  3917. "security": [
  3918. {
  3919. "ApiKeyAuth": []
  3920. }
  3921. ],
  3922. "produces": [
  3923. "application/json"
  3924. ],
  3925. "tags": [
  3926. "风险管理v3"
  3927. ],
  3928. "summary": "查询合同详细信息",
  3929. "parameters": [
  3930. {
  3931. "type": "string",
  3932. "description": "资金账号ID列表,用逗号分隔",
  3933. "name": "accountids",
  3934. "in": "query",
  3935. "required": true
  3936. },
  3937. {
  3938. "type": "integer",
  3939. "description": "合同类型,1为采购合同 -1为销售合同",
  3940. "name": "contracttype",
  3941. "in": "query",
  3942. "required": true
  3943. },
  3944. {
  3945. "type": "integer",
  3946. "description": "合同模式,1为普通合同 2为回购销售合同",
  3947. "name": "contractmode",
  3948. "in": "query",
  3949. "required": true
  3950. },
  3951. {
  3952. "type": "integer",
  3953. "description": "状态,0为履约中 1为已完成",
  3954. "name": "status",
  3955. "in": "query",
  3956. "required": true
  3957. }
  3958. ],
  3959. "responses": {
  3960. "200": {
  3961. "description": "OK",
  3962. "schema": {
  3963. "type": "array",
  3964. "items": {
  3965. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3966. }
  3967. }
  3968. },
  3969. "500": {
  3970. "description": "Internal Server Error",
  3971. "schema": {
  3972. "$ref": "#/definitions/app.Response"
  3973. }
  3974. }
  3975. }
  3976. }
  3977. },
  3978. "/Erms3/QueryUserInfoApplies": {
  3979. "get": {
  3980. "security": [
  3981. {
  3982. "ApiKeyAuth": []
  3983. }
  3984. ],
  3985. "produces": [
  3986. "application/json"
  3987. ],
  3988. "tags": [
  3989. "风险管理v3"
  3990. ],
  3991. "summary": "客户申请信息查询",
  3992. "parameters": [
  3993. {
  3994. "type": "integer",
  3995. "description": "页码",
  3996. "name": "page",
  3997. "in": "query"
  3998. },
  3999. {
  4000. "type": "integer",
  4001. "description": "每页条数",
  4002. "name": "pagesize",
  4003. "in": "query"
  4004. },
  4005. {
  4006. "type": "string",
  4007. "description": "客户名称,支持模糊查询",
  4008. "name": "userName",
  4009. "in": "query"
  4010. }
  4011. ],
  4012. "responses": {
  4013. "200": {
  4014. "description": "OK",
  4015. "schema": {
  4016. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  4017. }
  4018. },
  4019. "500": {
  4020. "description": "Internal Server Error",
  4021. "schema": {
  4022. "$ref": "#/definitions/app.Response"
  4023. }
  4024. }
  4025. }
  4026. }
  4027. },
  4028. "/Erms3/QueryUserInfos": {
  4029. "get": {
  4030. "security": [
  4031. {
  4032. "ApiKeyAuth": []
  4033. }
  4034. ],
  4035. "produces": [
  4036. "application/json"
  4037. ],
  4038. "tags": [
  4039. "风险管理v3"
  4040. ],
  4041. "summary": "客户信息查询",
  4042. "parameters": [
  4043. {
  4044. "type": "integer",
  4045. "description": "页码",
  4046. "name": "page",
  4047. "in": "query"
  4048. },
  4049. {
  4050. "type": "integer",
  4051. "description": "每页条数",
  4052. "name": "pagesize",
  4053. "in": "query"
  4054. },
  4055. {
  4056. "type": "string",
  4057. "description": "客户名称,支持模糊查询",
  4058. "name": "userName",
  4059. "in": "query"
  4060. }
  4061. ],
  4062. "responses": {
  4063. "200": {
  4064. "description": "OK",
  4065. "schema": {
  4066. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  4067. }
  4068. },
  4069. "500": {
  4070. "description": "Internal Server Error",
  4071. "schema": {
  4072. "$ref": "#/definitions/app.Response"
  4073. }
  4074. }
  4075. }
  4076. }
  4077. },
  4078. "/HSBY/GetHsbyMyCount": {
  4079. "get": {
  4080. "security": [
  4081. {
  4082. "ApiKeyAuth": []
  4083. }
  4084. ],
  4085. "description": "说明: 不包括已完成的数量。",
  4086. "produces": [
  4087. "application/json"
  4088. ],
  4089. "tags": [
  4090. "定制【海商报业】"
  4091. ],
  4092. "summary": "获取我的订单与包裹数量",
  4093. "parameters": [
  4094. {
  4095. "type": "string",
  4096. "description": "资金账户列表,格式:1,2,3",
  4097. "name": "accountIDs",
  4098. "in": "query",
  4099. "required": true
  4100. }
  4101. ],
  4102. "responses": {
  4103. "200": {
  4104. "description": "OK",
  4105. "schema": {
  4106. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  4107. }
  4108. },
  4109. "500": {
  4110. "description": "Internal Server Error",
  4111. "schema": {
  4112. "$ref": "#/definitions/app.Response"
  4113. }
  4114. }
  4115. }
  4116. }
  4117. },
  4118. "/HSBY/QueryClientFixedADConfigs": {
  4119. "get": {
  4120. "security": [
  4121. {
  4122. "ApiKeyAuth": []
  4123. }
  4124. ],
  4125. "produces": [
  4126. "application/json"
  4127. ],
  4128. "tags": [
  4129. "定制【海商报业】"
  4130. ],
  4131. "summary": "获取终端固定广告配置",
  4132. "responses": {
  4133. "200": {
  4134. "description": "OK",
  4135. "schema": {
  4136. "$ref": "#/definitions/models.Clientfixedadconfig"
  4137. }
  4138. },
  4139. "500": {
  4140. "description": "Internal Server Error",
  4141. "schema": {
  4142. "$ref": "#/definitions/app.Response"
  4143. }
  4144. }
  4145. }
  4146. }
  4147. },
  4148. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  4149. "get": {
  4150. "security": [
  4151. {
  4152. "ApiKeyAuth": []
  4153. }
  4154. ],
  4155. "produces": [
  4156. "application/json"
  4157. ],
  4158. "tags": [
  4159. "定制【海商报业】"
  4160. ],
  4161. "summary": "查询\"我的订单 - 已完成\"单据信息",
  4162. "parameters": [
  4163. {
  4164. "type": "integer",
  4165. "description": "页码",
  4166. "name": "page",
  4167. "in": "query"
  4168. },
  4169. {
  4170. "type": "integer",
  4171. "description": "每页条数",
  4172. "name": "pagesize",
  4173. "in": "query"
  4174. },
  4175. {
  4176. "type": "string",
  4177. "description": "资金账户列表,格式:1,2,3",
  4178. "name": "accountIDs",
  4179. "in": "query",
  4180. "required": true
  4181. }
  4182. ],
  4183. "responses": {
  4184. "200": {
  4185. "description": "OK",
  4186. "schema": {
  4187. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  4188. }
  4189. },
  4190. "500": {
  4191. "description": "Internal Server Error",
  4192. "schema": {
  4193. "$ref": "#/definitions/app.Response"
  4194. }
  4195. }
  4196. }
  4197. }
  4198. },
  4199. "/HSBY/QueryHsbyGoodsOrderDetails": {
  4200. "get": {
  4201. "security": [
  4202. {
  4203. "ApiKeyAuth": []
  4204. }
  4205. ],
  4206. "description": "说明:查询结果已按委托价格和委托时间排序",
  4207. "produces": [
  4208. "application/json"
  4209. ],
  4210. "tags": [
  4211. "定制【海商报业】"
  4212. ],
  4213. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  4214. "parameters": [
  4215. {
  4216. "type": "integer",
  4217. "description": "商品ID",
  4218. "name": "goodsID",
  4219. "in": "query",
  4220. "required": true
  4221. },
  4222. {
  4223. "type": "string",
  4224. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  4225. "name": "accountIDs",
  4226. "in": "query"
  4227. },
  4228. {
  4229. "type": "integer",
  4230. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  4231. "name": "buyOrSell",
  4232. "in": "query"
  4233. },
  4234. {
  4235. "type": "number",
  4236. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  4237. "name": "price",
  4238. "in": "query"
  4239. },
  4240. {
  4241. "type": "integer",
  4242. "description": "档位,不传则默认为3档",
  4243. "name": "speed",
  4244. "in": "query"
  4245. }
  4246. ],
  4247. "responses": {
  4248. "200": {
  4249. "description": "OK",
  4250. "schema": {
  4251. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  4252. }
  4253. },
  4254. "500": {
  4255. "description": "Internal Server Error",
  4256. "schema": {
  4257. "$ref": "#/definitions/app.Response"
  4258. }
  4259. }
  4260. }
  4261. }
  4262. },
  4263. "/HSBY/QueryHsbyListingGoodsDetail": {
  4264. "get": {
  4265. "security": [
  4266. {
  4267. "ApiKeyAuth": []
  4268. }
  4269. ],
  4270. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  4271. "produces": [
  4272. "application/json"
  4273. ],
  4274. "tags": [
  4275. "定制【海商报业】"
  4276. ],
  4277. "summary": "查询二级市场(挂牌点选)商品信息详情",
  4278. "parameters": [
  4279. {
  4280. "type": "integer",
  4281. "description": "商品ID",
  4282. "name": "goodsID",
  4283. "in": "query",
  4284. "required": true
  4285. },
  4286. {
  4287. "type": "integer",
  4288. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  4289. "name": "accountID",
  4290. "in": "query"
  4291. }
  4292. ],
  4293. "responses": {
  4294. "200": {
  4295. "description": "OK",
  4296. "schema": {
  4297. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  4298. }
  4299. },
  4300. "500": {
  4301. "description": "Internal Server Error",
  4302. "schema": {
  4303. "$ref": "#/definitions/app.Response"
  4304. }
  4305. }
  4306. }
  4307. }
  4308. },
  4309. "/HSBY/QueryHsbyMarketGoodsDetail": {
  4310. "get": {
  4311. "security": [
  4312. {
  4313. "ApiKeyAuth": []
  4314. }
  4315. ],
  4316. "produces": [
  4317. "application/json"
  4318. ],
  4319. "tags": [
  4320. "定制【海商报业】"
  4321. ],
  4322. "summary": "查询三级市场(商城)商品信息详情",
  4323. "parameters": [
  4324. {
  4325. "type": "integer",
  4326. "description": "委托单号",
  4327. "name": "orderID",
  4328. "in": "query",
  4329. "required": true
  4330. },
  4331. {
  4332. "type": "integer",
  4333. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  4334. "name": "accountID",
  4335. "in": "query"
  4336. }
  4337. ],
  4338. "responses": {
  4339. "200": {
  4340. "description": "OK",
  4341. "schema": {
  4342. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4343. }
  4344. },
  4345. "500": {
  4346. "description": "Internal Server Error",
  4347. "schema": {
  4348. "$ref": "#/definitions/app.Response"
  4349. }
  4350. }
  4351. }
  4352. }
  4353. },
  4354. "/HSBY/QueryHsbyMarketGoodses": {
  4355. "get": {
  4356. "security": [
  4357. {
  4358. "ApiKeyAuth": []
  4359. }
  4360. ],
  4361. "produces": [
  4362. "application/json"
  4363. ],
  4364. "tags": [
  4365. "定制【海商报业】"
  4366. ],
  4367. "summary": "查询特卖商品列表(三级商城)",
  4368. "parameters": [
  4369. {
  4370. "type": "integer",
  4371. "description": "页码",
  4372. "name": "page",
  4373. "in": "query"
  4374. },
  4375. {
  4376. "type": "integer",
  4377. "description": "每页条数",
  4378. "name": "pagesize",
  4379. "in": "query"
  4380. },
  4381. {
  4382. "type": "string",
  4383. "description": "市场ID列表,格式:1,2,3",
  4384. "name": "marketIDs",
  4385. "in": "query",
  4386. "required": true
  4387. },
  4388. {
  4389. "type": "integer",
  4390. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  4391. "name": "accountID",
  4392. "in": "query",
  4393. "required": true
  4394. },
  4395. {
  4396. "type": "integer",
  4397. "description": "类别ID",
  4398. "name": "categoryID",
  4399. "in": "query"
  4400. },
  4401. {
  4402. "type": "string",
  4403. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4404. "name": "goodsIDs",
  4405. "in": "query"
  4406. },
  4407. {
  4408. "type": "integer",
  4409. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  4410. "name": "couponTypeID",
  4411. "in": "query"
  4412. }
  4413. ],
  4414. "responses": {
  4415. "200": {
  4416. "description": "OK",
  4417. "schema": {
  4418. "$ref": "#/definitions/models.HsbyMarketGoods"
  4419. }
  4420. },
  4421. "500": {
  4422. "description": "Internal Server Error",
  4423. "schema": {
  4424. "$ref": "#/definitions/app.Response"
  4425. }
  4426. }
  4427. }
  4428. }
  4429. },
  4430. "/HSBY/QueryHsbyMarkets": {
  4431. "get": {
  4432. "security": [
  4433. {
  4434. "ApiKeyAuth": []
  4435. }
  4436. ],
  4437. "produces": [
  4438. "application/json"
  4439. ],
  4440. "tags": [
  4441. "定制【海商报业】"
  4442. ],
  4443. "summary": "查询海商报业相关市场信息",
  4444. "responses": {
  4445. "200": {
  4446. "description": "OK",
  4447. "schema": {
  4448. "$ref": "#/definitions/models.HsbyMarketInfo"
  4449. }
  4450. },
  4451. "500": {
  4452. "description": "Internal Server Error",
  4453. "schema": {
  4454. "$ref": "#/definitions/app.Response"
  4455. }
  4456. }
  4457. }
  4458. }
  4459. },
  4460. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  4461. "get": {
  4462. "security": [
  4463. {
  4464. "ApiKeyAuth": []
  4465. }
  4466. ],
  4467. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  4468. "produces": [
  4469. "application/json"
  4470. ],
  4471. "tags": [
  4472. "定制【海商报业】"
  4473. ],
  4474. "summary": "查询“我的订单”信息",
  4475. "parameters": [
  4476. {
  4477. "type": "string",
  4478. "description": "资金账户列表,格式:1,2,3",
  4479. "name": "accountIDs",
  4480. "in": "query",
  4481. "required": true
  4482. }
  4483. ],
  4484. "responses": {
  4485. "200": {
  4486. "description": "OK",
  4487. "schema": {
  4488. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  4489. }
  4490. },
  4491. "500": {
  4492. "description": "Internal Server Error",
  4493. "schema": {
  4494. "$ref": "#/definitions/app.Response"
  4495. }
  4496. }
  4497. }
  4498. }
  4499. },
  4500. "/HSBY/QueryHsbyMyGoods": {
  4501. "get": {
  4502. "security": [
  4503. {
  4504. "ApiKeyAuth": []
  4505. }
  4506. ],
  4507. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  4508. "produces": [
  4509. "application/json"
  4510. ],
  4511. "tags": [
  4512. "定制【海商报业】"
  4513. ],
  4514. "summary": "查询“我的商品”信息",
  4515. "parameters": [
  4516. {
  4517. "type": "string",
  4518. "description": "资金账户列表,格式:1,2,3",
  4519. "name": "accountIDs",
  4520. "in": "query",
  4521. "required": true
  4522. }
  4523. ],
  4524. "responses": {
  4525. "200": {
  4526. "description": "OK",
  4527. "schema": {
  4528. "$ref": "#/definitions/models.HsbyMyGoods"
  4529. }
  4530. },
  4531. "500": {
  4532. "description": "Internal Server Error",
  4533. "schema": {
  4534. "$ref": "#/definitions/app.Response"
  4535. }
  4536. }
  4537. }
  4538. }
  4539. },
  4540. "/HSBY/QueryHsbyMyPackages": {
  4541. "get": {
  4542. "security": [
  4543. {
  4544. "ApiKeyAuth": []
  4545. }
  4546. ],
  4547. "produces": [
  4548. "application/json"
  4549. ],
  4550. "tags": [
  4551. "定制【海商报业】"
  4552. ],
  4553. "summary": "查询我的包裹信息",
  4554. "parameters": [
  4555. {
  4556. "type": "string",
  4557. "description": "资金账户列表,格式:1,2,3",
  4558. "name": "accountIDs",
  4559. "in": "query",
  4560. "required": true
  4561. },
  4562. {
  4563. "type": "integer",
  4564. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4565. "name": "takeOrderStatus",
  4566. "in": "query"
  4567. }
  4568. ],
  4569. "responses": {
  4570. "200": {
  4571. "description": "OK",
  4572. "schema": {
  4573. "$ref": "#/definitions/models.HsbyMyPackage"
  4574. }
  4575. },
  4576. "500": {
  4577. "description": "Internal Server Error",
  4578. "schema": {
  4579. "$ref": "#/definitions/app.Response"
  4580. }
  4581. }
  4582. }
  4583. }
  4584. },
  4585. "/HSBY/QueryHsbyPreGoodsDetail": {
  4586. "get": {
  4587. "security": [
  4588. {
  4589. "ApiKeyAuth": []
  4590. }
  4591. ],
  4592. "produces": [
  4593. "application/json"
  4594. ],
  4595. "tags": [
  4596. "定制【海商报业】"
  4597. ],
  4598. "summary": "查询一级市场(预售)商品信息详情",
  4599. "parameters": [
  4600. {
  4601. "type": "integer",
  4602. "description": "商品ID",
  4603. "name": "goodsID",
  4604. "in": "query",
  4605. "required": true
  4606. },
  4607. {
  4608. "type": "integer",
  4609. "description": "资金账户,主要用于获取预售商品购买上限",
  4610. "name": "accountID",
  4611. "in": "query"
  4612. }
  4613. ],
  4614. "responses": {
  4615. "200": {
  4616. "description": "OK",
  4617. "schema": {
  4618. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  4619. }
  4620. },
  4621. "500": {
  4622. "description": "Internal Server Error",
  4623. "schema": {
  4624. "$ref": "#/definitions/app.Response"
  4625. }
  4626. }
  4627. }
  4628. }
  4629. },
  4630. "/HSBY/QueryHsbyPreGoodses": {
  4631. "get": {
  4632. "security": [
  4633. {
  4634. "ApiKeyAuth": []
  4635. }
  4636. ],
  4637. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  4638. "produces": [
  4639. "application/json"
  4640. ],
  4641. "tags": [
  4642. "定制【海商报业】"
  4643. ],
  4644. "summary": "查询新品上市商品列表(一级市场预售)",
  4645. "parameters": [
  4646. {
  4647. "type": "integer",
  4648. "description": "页码",
  4649. "name": "page",
  4650. "in": "query"
  4651. },
  4652. {
  4653. "type": "integer",
  4654. "description": "每页条数",
  4655. "name": "pagesize",
  4656. "in": "query"
  4657. },
  4658. {
  4659. "type": "string",
  4660. "description": "市场ID列表,格式:1,2,3",
  4661. "name": "marketIDs",
  4662. "in": "query",
  4663. "required": true
  4664. },
  4665. {
  4666. "type": "integer",
  4667. "description": "目的地(省)ID",
  4668. "name": "descProvinceID",
  4669. "in": "query"
  4670. },
  4671. {
  4672. "type": "integer",
  4673. "description": "目的地(市)ID",
  4674. "name": "descCityID",
  4675. "in": "query"
  4676. }
  4677. ],
  4678. "responses": {
  4679. "200": {
  4680. "description": "OK",
  4681. "schema": {
  4682. "$ref": "#/definitions/models.HsbyPreGoods"
  4683. }
  4684. },
  4685. "500": {
  4686. "description": "Internal Server Error",
  4687. "schema": {
  4688. "$ref": "#/definitions/app.Response"
  4689. }
  4690. }
  4691. }
  4692. }
  4693. },
  4694. "/HSBY/QueryHsbySellMyDetails": {
  4695. "get": {
  4696. "security": [
  4697. {
  4698. "ApiKeyAuth": []
  4699. }
  4700. ],
  4701. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  4702. "produces": [
  4703. "application/json"
  4704. ],
  4705. "tags": [
  4706. "定制【海商报业】"
  4707. ],
  4708. "summary": "查询\"我的闲置\"单据信息",
  4709. "parameters": [
  4710. {
  4711. "type": "integer",
  4712. "description": "页码",
  4713. "name": "page",
  4714. "in": "query"
  4715. },
  4716. {
  4717. "type": "integer",
  4718. "description": "每页条数",
  4719. "name": "pagesize",
  4720. "in": "query"
  4721. },
  4722. {
  4723. "type": "string",
  4724. "description": "资金账户列表,格式:1,2,3",
  4725. "name": "accountIDs",
  4726. "in": "query",
  4727. "required": true
  4728. },
  4729. {
  4730. "type": "integer",
  4731. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  4732. "name": "orderType",
  4733. "in": "query"
  4734. }
  4735. ],
  4736. "responses": {
  4737. "200": {
  4738. "description": "OK",
  4739. "schema": {
  4740. "$ref": "#/definitions/models.HsbySellMyDetail"
  4741. }
  4742. },
  4743. "500": {
  4744. "description": "Internal Server Error",
  4745. "schema": {
  4746. "$ref": "#/definitions/app.Response"
  4747. }
  4748. }
  4749. }
  4750. }
  4751. },
  4752. "/HSBY/QueryHsbyTopGoodses": {
  4753. "get": {
  4754. "security": [
  4755. {
  4756. "ApiKeyAuth": []
  4757. }
  4758. ],
  4759. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4760. "produces": [
  4761. "application/json"
  4762. ],
  4763. "tags": [
  4764. "定制【海商报业】"
  4765. ],
  4766. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4767. "parameters": [
  4768. {
  4769. "type": "integer",
  4770. "description": "页码",
  4771. "name": "page",
  4772. "in": "query"
  4773. },
  4774. {
  4775. "type": "integer",
  4776. "description": "每页条数",
  4777. "name": "pagesize",
  4778. "in": "query"
  4779. },
  4780. {
  4781. "type": "string",
  4782. "description": "市场ID列表,格式:1,2,3",
  4783. "name": "marketIDs",
  4784. "in": "query",
  4785. "required": true
  4786. },
  4787. {
  4788. "type": "integer",
  4789. "description": "目的地(省)ID",
  4790. "name": "descProvinceID",
  4791. "in": "query"
  4792. },
  4793. {
  4794. "type": "integer",
  4795. "description": "目的地(市)ID",
  4796. "name": "descCityID",
  4797. "in": "query"
  4798. }
  4799. ],
  4800. "responses": {
  4801. "200": {
  4802. "description": "OK",
  4803. "schema": {
  4804. "$ref": "#/definitions/models.HsbyTopGoods"
  4805. }
  4806. },
  4807. "500": {
  4808. "description": "Internal Server Error",
  4809. "schema": {
  4810. "$ref": "#/definitions/app.Response"
  4811. }
  4812. }
  4813. }
  4814. }
  4815. },
  4816. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4817. "get": {
  4818. "security": [
  4819. {
  4820. "ApiKeyAuth": []
  4821. }
  4822. ],
  4823. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4824. "produces": [
  4825. "application/json"
  4826. ],
  4827. "tags": [
  4828. "定制【海商报业】"
  4829. ],
  4830. "summary": "查询游客三级市场(商城)商品信息详情",
  4831. "parameters": [
  4832. {
  4833. "type": "integer",
  4834. "description": "商品ID",
  4835. "name": "goodsID",
  4836. "in": "query",
  4837. "required": true
  4838. }
  4839. ],
  4840. "responses": {
  4841. "200": {
  4842. "description": "OK",
  4843. "schema": {
  4844. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4845. }
  4846. },
  4847. "500": {
  4848. "description": "Internal Server Error",
  4849. "schema": {
  4850. "$ref": "#/definitions/app.Response"
  4851. }
  4852. }
  4853. }
  4854. }
  4855. },
  4856. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4857. "get": {
  4858. "security": [
  4859. {
  4860. "ApiKeyAuth": []
  4861. }
  4862. ],
  4863. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4864. "produces": [
  4865. "application/json"
  4866. ],
  4867. "tags": [
  4868. "定制【海商报业】"
  4869. ],
  4870. "summary": "查询游客特卖商品列表(三级商城)",
  4871. "parameters": [
  4872. {
  4873. "type": "integer",
  4874. "description": "页码",
  4875. "name": "page",
  4876. "in": "query"
  4877. },
  4878. {
  4879. "type": "integer",
  4880. "description": "每页条数",
  4881. "name": "pagesize",
  4882. "in": "query"
  4883. },
  4884. {
  4885. "type": "string",
  4886. "description": "市场ID列表,格式:1,2,3",
  4887. "name": "marketIDs",
  4888. "in": "query",
  4889. "required": true
  4890. },
  4891. {
  4892. "type": "integer",
  4893. "description": "类别ID",
  4894. "name": "categoryID",
  4895. "in": "query"
  4896. },
  4897. {
  4898. "type": "string",
  4899. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4900. "name": "goodsIDs",
  4901. "in": "query"
  4902. }
  4903. ],
  4904. "responses": {
  4905. "200": {
  4906. "description": "OK",
  4907. "schema": {
  4908. "$ref": "#/definitions/models.HsbyMarketGoods"
  4909. }
  4910. },
  4911. "500": {
  4912. "description": "Internal Server Error",
  4913. "schema": {
  4914. "$ref": "#/definitions/app.Response"
  4915. }
  4916. }
  4917. }
  4918. }
  4919. },
  4920. "/HSBY/QueryMyCollectionOrders": {
  4921. "get": {
  4922. "security": [
  4923. {
  4924. "ApiKeyAuth": []
  4925. }
  4926. ],
  4927. "produces": [
  4928. "application/json"
  4929. ],
  4930. "tags": [
  4931. "定制【海商报业】"
  4932. ],
  4933. "summary": "我的闲置中收款信息查询",
  4934. "parameters": [
  4935. {
  4936. "type": "integer",
  4937. "description": "页码",
  4938. "name": "page",
  4939. "in": "query"
  4940. },
  4941. {
  4942. "type": "integer",
  4943. "description": "每页条数",
  4944. "name": "pagesize",
  4945. "in": "query"
  4946. },
  4947. {
  4948. "type": "string",
  4949. "description": "资金账户,格式:1,2,3",
  4950. "name": "accountIDs",
  4951. "in": "query",
  4952. "required": true
  4953. }
  4954. ],
  4955. "responses": {
  4956. "200": {
  4957. "description": "OK",
  4958. "schema": {
  4959. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4960. }
  4961. },
  4962. "500": {
  4963. "description": "Internal Server Error",
  4964. "schema": {
  4965. "$ref": "#/definitions/app.Response"
  4966. }
  4967. }
  4968. }
  4969. }
  4970. },
  4971. "/HSBY/QueryMyCouponHolds": {
  4972. "get": {
  4973. "security": [
  4974. {
  4975. "ApiKeyAuth": []
  4976. }
  4977. ],
  4978. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4979. "produces": [
  4980. "application/json"
  4981. ],
  4982. "tags": [
  4983. "定制【海商报业】"
  4984. ],
  4985. "summary": "我的优惠卷持仓查询",
  4986. "parameters": [
  4987. {
  4988. "type": "string",
  4989. "description": "资金账户列表,格式:1,2,3",
  4990. "name": "accountIDs",
  4991. "in": "query",
  4992. "required": true
  4993. },
  4994. {
  4995. "type": "string",
  4996. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4997. "name": "holdStatus",
  4998. "in": "query"
  4999. }
  5000. ],
  5001. "responses": {
  5002. "200": {
  5003. "description": "OK",
  5004. "schema": {
  5005. "$ref": "#/definitions/models.MyCouponHold"
  5006. }
  5007. },
  5008. "500": {
  5009. "description": "Internal Server Error",
  5010. "schema": {
  5011. "$ref": "#/definitions/app.Response"
  5012. }
  5013. }
  5014. }
  5015. }
  5016. },
  5017. "/HSBY/QueryMyCoupons": {
  5018. "get": {
  5019. "security": [
  5020. {
  5021. "ApiKeyAuth": []
  5022. }
  5023. ],
  5024. "produces": [
  5025. "application/json"
  5026. ],
  5027. "tags": [
  5028. "定制【海商报业】"
  5029. ],
  5030. "summary": "我的优惠卷查询",
  5031. "parameters": [
  5032. {
  5033. "type": "string",
  5034. "description": "资金账户列表,格式:1,2,3",
  5035. "name": "accountIDs",
  5036. "in": "query",
  5037. "required": true
  5038. },
  5039. {
  5040. "type": "integer",
  5041. "description": "商品ID, 一般与sellUserID配套传入",
  5042. "name": "goodsID",
  5043. "in": "query"
  5044. },
  5045. {
  5046. "type": "integer",
  5047. "description": "卖方UserID",
  5048. "name": "sellUserID",
  5049. "in": "query"
  5050. }
  5051. ],
  5052. "responses": {
  5053. "200": {
  5054. "description": "OK",
  5055. "schema": {
  5056. "$ref": "#/definitions/models.MyCoupon"
  5057. }
  5058. },
  5059. "500": {
  5060. "description": "Internal Server Error",
  5061. "schema": {
  5062. "$ref": "#/definitions/app.Response"
  5063. }
  5064. }
  5065. }
  5066. }
  5067. },
  5068. "/HSBY/QueryMyPayOrders": {
  5069. "get": {
  5070. "security": [
  5071. {
  5072. "ApiKeyAuth": []
  5073. }
  5074. ],
  5075. "produces": [
  5076. "application/json"
  5077. ],
  5078. "tags": [
  5079. "定制【海商报业】"
  5080. ],
  5081. "summary": "获取我的订单中待付款信息",
  5082. "parameters": [
  5083. {
  5084. "type": "integer",
  5085. "description": "页码",
  5086. "name": "page",
  5087. "in": "query"
  5088. },
  5089. {
  5090. "type": "integer",
  5091. "description": "每页条数",
  5092. "name": "pagesize",
  5093. "in": "query"
  5094. },
  5095. {
  5096. "type": "string",
  5097. "description": "资金账户列表,格式:1,2,3",
  5098. "name": "accountIDs",
  5099. "in": "query",
  5100. "required": true
  5101. },
  5102. {
  5103. "type": "integer",
  5104. "description": "买方委托单号",
  5105. "name": "buyOrderID",
  5106. "in": "query"
  5107. },
  5108. {
  5109. "type": "integer",
  5110. "description": "卖方委托单号",
  5111. "name": "sellOrderID",
  5112. "in": "query"
  5113. }
  5114. ],
  5115. "responses": {
  5116. "200": {
  5117. "description": "OK",
  5118. "schema": {
  5119. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  5120. }
  5121. },
  5122. "500": {
  5123. "description": "Internal Server Error",
  5124. "schema": {
  5125. "$ref": "#/definitions/app.Response"
  5126. }
  5127. }
  5128. }
  5129. }
  5130. },
  5131. "/HSBY/QueryMyUsedCoupon": {
  5132. "get": {
  5133. "security": [
  5134. {
  5135. "ApiKeyAuth": []
  5136. }
  5137. ],
  5138. "produces": [
  5139. "application/json"
  5140. ],
  5141. "tags": [
  5142. "定制【海商报业】"
  5143. ],
  5144. "summary": "已使用优惠卷查询",
  5145. "parameters": [
  5146. {
  5147. "type": "string",
  5148. "description": "资金账户列表,格式:1,2,3",
  5149. "name": "accountIDs",
  5150. "in": "query",
  5151. "required": true
  5152. }
  5153. ],
  5154. "responses": {
  5155. "200": {
  5156. "description": "OK",
  5157. "schema": {
  5158. "$ref": "#/definitions/models.MyUsedCoupon"
  5159. }
  5160. },
  5161. "500": {
  5162. "description": "Internal Server Error",
  5163. "schema": {
  5164. "$ref": "#/definitions/app.Response"
  5165. }
  5166. }
  5167. }
  5168. }
  5169. },
  5170. "/HSBY/QueryProvincesAndCities": {
  5171. "get": {
  5172. "security": [
  5173. {
  5174. "ApiKeyAuth": []
  5175. }
  5176. ],
  5177. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  5178. "produces": [
  5179. "application/json"
  5180. ],
  5181. "tags": [
  5182. "定制【海商报业】"
  5183. ],
  5184. "summary": "查询省市信息(不包括区)",
  5185. "parameters": [
  5186. {
  5187. "type": "integer",
  5188. "description": "省ID",
  5189. "name": "provinceID",
  5190. "in": "query"
  5191. }
  5192. ],
  5193. "responses": {
  5194. "200": {
  5195. "description": "OK",
  5196. "schema": {
  5197. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  5198. }
  5199. },
  5200. "500": {
  5201. "description": "Internal Server Error",
  5202. "schema": {
  5203. "$ref": "#/definitions/app.Response"
  5204. }
  5205. }
  5206. }
  5207. }
  5208. },
  5209. "/HSBY/SetHsbyMyPackagesStatus": {
  5210. "post": {
  5211. "security": [
  5212. {
  5213. "ApiKeyAuth": []
  5214. }
  5215. ],
  5216. "produces": [
  5217. "application/json"
  5218. ],
  5219. "tags": [
  5220. "定制【海商报业】"
  5221. ],
  5222. "summary": "设置我的包裹已收货状态",
  5223. "parameters": [
  5224. {
  5225. "type": "string",
  5226. "description": "提货单号",
  5227. "name": "takeOrderID",
  5228. "in": "query",
  5229. "required": true
  5230. },
  5231. {
  5232. "type": "integer",
  5233. "description": "资金账号",
  5234. "name": "accountID",
  5235. "in": "query",
  5236. "required": true
  5237. }
  5238. ],
  5239. "responses": {
  5240. "200": {
  5241. "description": "OK",
  5242. "schema": {
  5243. "$ref": "#/definitions/app.Response"
  5244. }
  5245. },
  5246. "500": {
  5247. "description": "Internal Server Error",
  5248. "schema": {
  5249. "$ref": "#/definitions/app.Response"
  5250. }
  5251. }
  5252. }
  5253. }
  5254. },
  5255. "/Market/QueryGoodsesByLoginID": {
  5256. "get": {
  5257. "security": [
  5258. {
  5259. "ApiKeyAuth": []
  5260. }
  5261. ],
  5262. "produces": [
  5263. "application/json"
  5264. ],
  5265. "tags": [
  5266. "通用市场"
  5267. ],
  5268. "summary": "获取登录账号有权限的商品信息",
  5269. "parameters": [
  5270. {
  5271. "type": "integer",
  5272. "description": "登录账号",
  5273. "name": "loginID",
  5274. "in": "query",
  5275. "required": true
  5276. },
  5277. {
  5278. "type": "string",
  5279. "description": "市场ID列表,格式:1,2,3",
  5280. "name": "marketIDs",
  5281. "in": "query"
  5282. }
  5283. ],
  5284. "responses": {
  5285. "200": {
  5286. "description": "OK",
  5287. "schema": {
  5288. "$ref": "#/definitions/models.Goods"
  5289. }
  5290. },
  5291. "500": {
  5292. "description": "Internal Server Error",
  5293. "schema": {
  5294. "$ref": "#/definitions/app.Response"
  5295. }
  5296. }
  5297. }
  5298. }
  5299. },
  5300. "/Market/QueryMarketRun": {
  5301. "get": {
  5302. "security": [
  5303. {
  5304. "ApiKeyAuth": []
  5305. }
  5306. ],
  5307. "produces": [
  5308. "application/json"
  5309. ],
  5310. "tags": [
  5311. "通用市场"
  5312. ],
  5313. "summary": "查询市场运行信息",
  5314. "parameters": [
  5315. {
  5316. "type": "integer",
  5317. "description": "市场ID,不传返回所有",
  5318. "name": "marketID",
  5319. "in": "query"
  5320. }
  5321. ],
  5322. "responses": {
  5323. "200": {
  5324. "description": "OK",
  5325. "schema": {
  5326. "$ref": "#/definitions/models.Marketrun"
  5327. }
  5328. },
  5329. "500": {
  5330. "description": "Internal Server Error",
  5331. "schema": {
  5332. "$ref": "#/definitions/app.Response"
  5333. }
  5334. }
  5335. }
  5336. }
  5337. },
  5338. "/Market/QueryMarketsByLoginID": {
  5339. "get": {
  5340. "security": [
  5341. {
  5342. "ApiKeyAuth": []
  5343. }
  5344. ],
  5345. "produces": [
  5346. "application/json"
  5347. ],
  5348. "tags": [
  5349. "通用市场"
  5350. ],
  5351. "summary": "获取登录账号有权限的市场信息",
  5352. "parameters": [
  5353. {
  5354. "type": "integer",
  5355. "description": "登录账号",
  5356. "name": "loginID",
  5357. "in": "query",
  5358. "required": true
  5359. }
  5360. ],
  5361. "responses": {
  5362. "200": {
  5363. "description": "OK",
  5364. "schema": {
  5365. "$ref": "#/definitions/models.Market"
  5366. }
  5367. },
  5368. "500": {
  5369. "description": "Internal Server Error",
  5370. "schema": {
  5371. "$ref": "#/definitions/app.Response"
  5372. }
  5373. }
  5374. }
  5375. }
  5376. },
  5377. "/Order/QueryHisTradeDetail": {
  5378. "get": {
  5379. "security": [
  5380. {
  5381. "ApiKeyAuth": []
  5382. }
  5383. ],
  5384. "produces": [
  5385. "application/json"
  5386. ],
  5387. "tags": [
  5388. "通用单据"
  5389. ],
  5390. "summary": "历史成交单查询(合约市场)",
  5391. "parameters": [
  5392. {
  5393. "type": "string",
  5394. "description": "资金账户 - 格式:1,2,3",
  5395. "name": "accountID",
  5396. "in": "query",
  5397. "required": true
  5398. },
  5399. {
  5400. "type": "integer",
  5401. "description": "成交单号",
  5402. "name": "tradeID",
  5403. "in": "query"
  5404. },
  5405. {
  5406. "type": "integer",
  5407. "description": "委托单号",
  5408. "name": "orderID",
  5409. "in": "query"
  5410. },
  5411. {
  5412. "type": "string",
  5413. "description": "交易模式 - 格式:1,2,3",
  5414. "name": "tradeMode",
  5415. "in": "query"
  5416. },
  5417. {
  5418. "type": "integer",
  5419. "description": "委托单据类型",
  5420. "name": "buildType",
  5421. "in": "query"
  5422. },
  5423. {
  5424. "type": "string",
  5425. "description": "成交类别 - 格式:1,2,3",
  5426. "name": "tradeType",
  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.QueryHisTradeDetailRsp"
  5447. }
  5448. },
  5449. "500": {
  5450. "description": "Internal Server Error",
  5451. "schema": {
  5452. "$ref": "#/definitions/app.Response"
  5453. }
  5454. }
  5455. }
  5456. }
  5457. },
  5458. "/Order/QueryHisTradeOrderDetail": {
  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": "string",
  5482. "description": "交易模式 - 格式:1,2,3",
  5483. "name": "tradeMode",
  5484. "in": "query"
  5485. },
  5486. {
  5487. "type": "string",
  5488. "description": "委托状态 - 格式:1,2,3",
  5489. "name": "orderStatus",
  5490. "in": "query"
  5491. },
  5492. {
  5493. "type": "integer",
  5494. "description": "委托单号",
  5495. "name": "orderID",
  5496. "in": "query"
  5497. },
  5498. {
  5499. "type": "string",
  5500. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5501. "name": "startDate",
  5502. "in": "query"
  5503. },
  5504. {
  5505. "type": "string",
  5506. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5507. "name": "endDate",
  5508. "in": "query"
  5509. }
  5510. ],
  5511. "responses": {
  5512. "200": {
  5513. "description": "OK",
  5514. "schema": {
  5515. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  5516. }
  5517. },
  5518. "500": {
  5519. "description": "Internal Server Error",
  5520. "schema": {
  5521. "$ref": "#/definitions/app.Response"
  5522. }
  5523. }
  5524. }
  5525. }
  5526. },
  5527. "/Order/QueryTradeDetail": {
  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": "integer",
  5551. "description": "成交单号",
  5552. "name": "tradeID",
  5553. "in": "query"
  5554. },
  5555. {
  5556. "type": "integer",
  5557. "description": "委托单号",
  5558. "name": "orderID",
  5559. "in": "query"
  5560. },
  5561. {
  5562. "type": "string",
  5563. "description": "交易模式 - 格式:1,2,3",
  5564. "name": "tradeMode",
  5565. "in": "query"
  5566. },
  5567. {
  5568. "type": "integer",
  5569. "description": "委托单据类型",
  5570. "name": "buildType",
  5571. "in": "query"
  5572. },
  5573. {
  5574. "type": "string",
  5575. "description": "成交类别 - 格式:1,2,3",
  5576. "name": "tradeType",
  5577. "in": "query"
  5578. }
  5579. ],
  5580. "responses": {
  5581. "200": {
  5582. "description": "OK",
  5583. "schema": {
  5584. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  5585. }
  5586. },
  5587. "500": {
  5588. "description": "Internal Server Error",
  5589. "schema": {
  5590. "$ref": "#/definitions/app.Response"
  5591. }
  5592. }
  5593. }
  5594. }
  5595. },
  5596. "/Order/QueryTradeOrderDetail": {
  5597. "get": {
  5598. "security": [
  5599. {
  5600. "ApiKeyAuth": []
  5601. }
  5602. ],
  5603. "produces": [
  5604. "application/json"
  5605. ],
  5606. "tags": [
  5607. "通用单据"
  5608. ],
  5609. "summary": "委托单查询请求(合约市场)",
  5610. "parameters": [
  5611. {
  5612. "type": "string",
  5613. "description": "资金账户 - 格式:1,2,3",
  5614. "name": "accountID",
  5615. "in": "query",
  5616. "required": true
  5617. },
  5618. {
  5619. "type": "string",
  5620. "description": "交易模式 - 格式:1,2,3",
  5621. "name": "tradeMode",
  5622. "in": "query"
  5623. },
  5624. {
  5625. "type": "string",
  5626. "description": "委托状态 - 格式:1,2,3",
  5627. "name": "orderStatus",
  5628. "in": "query"
  5629. },
  5630. {
  5631. "type": "integer",
  5632. "description": "委托单号",
  5633. "name": "orderID",
  5634. "in": "query"
  5635. }
  5636. ],
  5637. "responses": {
  5638. "200": {
  5639. "description": "OK",
  5640. "schema": {
  5641. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  5642. }
  5643. },
  5644. "500": {
  5645. "description": "Internal Server Error",
  5646. "schema": {
  5647. "$ref": "#/definitions/app.Response"
  5648. }
  5649. }
  5650. }
  5651. }
  5652. },
  5653. "/Order/QueryTradePosition": {
  5654. "get": {
  5655. "security": [
  5656. {
  5657. "ApiKeyAuth": []
  5658. }
  5659. ],
  5660. "produces": [
  5661. "application/json"
  5662. ],
  5663. "tags": [
  5664. "通用单据"
  5665. ],
  5666. "summary": "持仓汇总查询(合约市场)",
  5667. "parameters": [
  5668. {
  5669. "type": "string",
  5670. "description": "资金账户 - 格式:1,2,3",
  5671. "name": "accountID",
  5672. "in": "query",
  5673. "required": true
  5674. },
  5675. {
  5676. "type": "string",
  5677. "description": "交易模式 - 格式:1,2,3",
  5678. "name": "tradeMode",
  5679. "in": "query"
  5680. }
  5681. ],
  5682. "responses": {
  5683. "200": {
  5684. "description": "OK",
  5685. "schema": {
  5686. "$ref": "#/definitions/order.QueryTradePositionRsp"
  5687. }
  5688. },
  5689. "500": {
  5690. "description": "Internal Server Error",
  5691. "schema": {
  5692. "$ref": "#/definitions/app.Response"
  5693. }
  5694. }
  5695. }
  5696. }
  5697. },
  5698. "/Quote/QueryHistoryDatas": {
  5699. "get": {
  5700. "security": [
  5701. {
  5702. "ApiKeyAuth": []
  5703. }
  5704. ],
  5705. "produces": [
  5706. "application/json"
  5707. ],
  5708. "tags": [
  5709. "行情服务"
  5710. ],
  5711. "summary": "查询行情历史数据",
  5712. "parameters": [
  5713. {
  5714. "type": "integer",
  5715. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  5716. "name": "cycleType",
  5717. "in": "query",
  5718. "required": true
  5719. },
  5720. {
  5721. "type": "string",
  5722. "description": "商品代码",
  5723. "name": "goodsCode",
  5724. "in": "query",
  5725. "required": true
  5726. },
  5727. {
  5728. "type": "string",
  5729. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5730. "name": "startTime",
  5731. "in": "query"
  5732. },
  5733. {
  5734. "type": "string",
  5735. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5736. "name": "endTime",
  5737. "in": "query"
  5738. },
  5739. {
  5740. "type": "integer",
  5741. "description": "条数",
  5742. "name": "count",
  5743. "in": "query"
  5744. },
  5745. {
  5746. "type": "boolean",
  5747. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5748. "name": "isAsc",
  5749. "in": "query"
  5750. }
  5751. ],
  5752. "responses": {
  5753. "200": {
  5754. "description": "OK",
  5755. "schema": {
  5756. "$ref": "#/definitions/quote.HistoryData"
  5757. }
  5758. },
  5759. "500": {
  5760. "description": "Internal Server Error",
  5761. "schema": {
  5762. "$ref": "#/definitions/app.Response"
  5763. }
  5764. }
  5765. }
  5766. }
  5767. },
  5768. "/Quote/QueryHistoryTikDatas": {
  5769. "get": {
  5770. "security": [
  5771. {
  5772. "ApiKeyAuth": []
  5773. }
  5774. ],
  5775. "produces": [
  5776. "application/json"
  5777. ],
  5778. "tags": [
  5779. "行情服务"
  5780. ],
  5781. "summary": "查询行情Tik数据",
  5782. "parameters": [
  5783. {
  5784. "type": "string",
  5785. "description": "商品代码",
  5786. "name": "goodsCode",
  5787. "in": "query",
  5788. "required": true
  5789. },
  5790. {
  5791. "type": "string",
  5792. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5793. "name": "startTime",
  5794. "in": "query"
  5795. },
  5796. {
  5797. "type": "string",
  5798. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5799. "name": "endTime",
  5800. "in": "query"
  5801. },
  5802. {
  5803. "type": "integer",
  5804. "description": "条数",
  5805. "name": "count",
  5806. "in": "query"
  5807. },
  5808. {
  5809. "type": "boolean",
  5810. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5811. "name": "isAsc",
  5812. "in": "query"
  5813. }
  5814. ],
  5815. "responses": {
  5816. "200": {
  5817. "description": "OK",
  5818. "schema": {
  5819. "$ref": "#/definitions/quote.HistoryTikData"
  5820. }
  5821. },
  5822. "500": {
  5823. "description": "Internal Server Error",
  5824. "schema": {
  5825. "$ref": "#/definitions/app.Response"
  5826. }
  5827. }
  5828. }
  5829. }
  5830. },
  5831. "/Quote/QueryQuoteDay": {
  5832. "get": {
  5833. "security": [
  5834. {
  5835. "ApiKeyAuth": []
  5836. }
  5837. ],
  5838. "produces": [
  5839. "application/json"
  5840. ],
  5841. "tags": [
  5842. "行情服务"
  5843. ],
  5844. "summary": "获取商品盘面信息",
  5845. "parameters": [
  5846. {
  5847. "type": "string",
  5848. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5849. "name": "goodsCodes",
  5850. "in": "query",
  5851. "required": true
  5852. }
  5853. ],
  5854. "responses": {
  5855. "200": {
  5856. "description": "OK",
  5857. "schema": {
  5858. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5859. }
  5860. },
  5861. "500": {
  5862. "description": "Internal Server Error",
  5863. "schema": {
  5864. "$ref": "#/definitions/app.Response"
  5865. }
  5866. }
  5867. }
  5868. }
  5869. },
  5870. "/Quote/QueryTSData": {
  5871. "get": {
  5872. "security": [
  5873. {
  5874. "ApiKeyAuth": []
  5875. }
  5876. ],
  5877. "produces": [
  5878. "application/json"
  5879. ],
  5880. "tags": [
  5881. "行情服务"
  5882. ],
  5883. "summary": "分时图数据查询",
  5884. "parameters": [
  5885. {
  5886. "type": "string",
  5887. "description": "商品代码",
  5888. "name": "goodsCode",
  5889. "in": "query",
  5890. "required": true
  5891. }
  5892. ],
  5893. "responses": {
  5894. "200": {
  5895. "description": "OK",
  5896. "schema": {
  5897. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5898. }
  5899. },
  5900. "500": {
  5901. "description": "Internal Server Error",
  5902. "schema": {
  5903. "$ref": "#/definitions/app.Response"
  5904. }
  5905. }
  5906. }
  5907. }
  5908. },
  5909. "/SZDZ/QueryConvertConfig": {
  5910. "get": {
  5911. "security": [
  5912. {
  5913. "ApiKeyAuth": []
  5914. }
  5915. ],
  5916. "produces": [
  5917. "application/json"
  5918. ],
  5919. "tags": [
  5920. "定制【尚志大宗】"
  5921. ],
  5922. "summary": "查询交易系统转换设置",
  5923. "parameters": [
  5924. {
  5925. "type": "integer",
  5926. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5927. "name": "convertType",
  5928. "in": "query"
  5929. },
  5930. {
  5931. "type": "string",
  5932. "description": "外部商品代码[JD\\PD]",
  5933. "name": "outerGoodsCode",
  5934. "in": "query"
  5935. },
  5936. {
  5937. "type": "string",
  5938. "description": "内部商品ID列表[交易],格式:1,2,3",
  5939. "name": "innerGoodsIDs",
  5940. "in": "query"
  5941. }
  5942. ],
  5943. "responses": {
  5944. "200": {
  5945. "description": "OK",
  5946. "schema": {
  5947. "$ref": "#/definitions/models.Szdz3convertconfig"
  5948. }
  5949. },
  5950. "500": {
  5951. "description": "Internal Server Error",
  5952. "schema": {
  5953. "$ref": "#/definitions/app.Response"
  5954. }
  5955. }
  5956. }
  5957. }
  5958. },
  5959. "/SZDZ/QueryConvertLog": {
  5960. "get": {
  5961. "security": [
  5962. {
  5963. "ApiKeyAuth": []
  5964. }
  5965. ],
  5966. "produces": [
  5967. "application/json"
  5968. ],
  5969. "tags": [
  5970. "定制【尚志大宗】"
  5971. ],
  5972. "summary": "交易系统转换流水查询",
  5973. "parameters": [
  5974. {
  5975. "type": "string",
  5976. "description": "资金账户 - 格式:1,2,3",
  5977. "name": "accountID",
  5978. "in": "query",
  5979. "required": true
  5980. },
  5981. {
  5982. "type": "string",
  5983. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5984. "name": "startDate",
  5985. "in": "query"
  5986. },
  5987. {
  5988. "type": "string",
  5989. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5990. "name": "endDate",
  5991. "in": "query"
  5992. }
  5993. ],
  5994. "responses": {
  5995. "200": {
  5996. "description": "OK",
  5997. "schema": {
  5998. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5999. }
  6000. },
  6001. "500": {
  6002. "description": "Internal Server Error",
  6003. "schema": {
  6004. "$ref": "#/definitions/app.Response"
  6005. }
  6006. }
  6007. }
  6008. }
  6009. },
  6010. "/SZDZ/QueryGoodsPickup": {
  6011. "get": {
  6012. "security": [
  6013. {
  6014. "ApiKeyAuth": []
  6015. }
  6016. ],
  6017. "produces": [
  6018. "application/json"
  6019. ],
  6020. "tags": [
  6021. "定制【尚志大宗】"
  6022. ],
  6023. "summary": "商品提货单查询",
  6024. "parameters": [
  6025. {
  6026. "type": "string",
  6027. "description": "资金账户 - 格式:1,2,3",
  6028. "name": "accountID",
  6029. "in": "query",
  6030. "required": true
  6031. },
  6032. {
  6033. "type": "integer",
  6034. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6035. "name": "takeOrderStatus",
  6036. "in": "query"
  6037. }
  6038. ],
  6039. "responses": {
  6040. "200": {
  6041. "description": "OK",
  6042. "schema": {
  6043. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  6044. }
  6045. },
  6046. "500": {
  6047. "description": "Internal Server Error",
  6048. "schema": {
  6049. "$ref": "#/definitions/app.Response"
  6050. }
  6051. }
  6052. }
  6053. }
  6054. },
  6055. "/SZDZ/QueryRecieptOrder": {
  6056. "get": {
  6057. "security": [
  6058. {
  6059. "ApiKeyAuth": []
  6060. }
  6061. ],
  6062. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6063. "produces": [
  6064. "application/json"
  6065. ],
  6066. "tags": [
  6067. "定制【尚志大宗】"
  6068. ],
  6069. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  6070. "parameters": [
  6071. {
  6072. "type": "integer",
  6073. "description": "页码",
  6074. "name": "page",
  6075. "in": "query"
  6076. },
  6077. {
  6078. "type": "integer",
  6079. "description": "每页条数",
  6080. "name": "pagesize",
  6081. "in": "query"
  6082. },
  6083. {
  6084. "type": "integer",
  6085. "description": "商品ID",
  6086. "name": "goodsID",
  6087. "in": "query",
  6088. "required": true
  6089. },
  6090. {
  6091. "type": "string",
  6092. "description": "所属账户名称",
  6093. "name": "accountName",
  6094. "in": "query"
  6095. },
  6096. {
  6097. "type": "integer",
  6098. "description": "市场ID",
  6099. "name": "marketID",
  6100. "in": "query"
  6101. },
  6102. {
  6103. "type": "integer",
  6104. "description": "方向 - 0:买 1:卖",
  6105. "name": "buyorsell",
  6106. "in": "query",
  6107. "required": true
  6108. }
  6109. ],
  6110. "responses": {
  6111. "200": {
  6112. "description": "OK",
  6113. "schema": {
  6114. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  6115. }
  6116. },
  6117. "500": {
  6118. "description": "Internal Server Error",
  6119. "schema": {
  6120. "$ref": "#/definitions/app.Response"
  6121. }
  6122. }
  6123. }
  6124. }
  6125. },
  6126. "/SZDZ/QuerySZDZTradePosition": {
  6127. "get": {
  6128. "security": [
  6129. {
  6130. "ApiKeyAuth": []
  6131. }
  6132. ],
  6133. "produces": [
  6134. "application/json"
  6135. ],
  6136. "tags": [
  6137. "定制【尚志大宗】"
  6138. ],
  6139. "summary": "持仓汇总查询(尚志大宗)",
  6140. "parameters": [
  6141. {
  6142. "type": "integer",
  6143. "description": "资金账户",
  6144. "name": "accountID",
  6145. "in": "query",
  6146. "required": true
  6147. }
  6148. ],
  6149. "responses": {
  6150. "200": {
  6151. "description": "OK",
  6152. "schema": {
  6153. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  6154. }
  6155. },
  6156. "500": {
  6157. "description": "Internal Server Error",
  6158. "schema": {
  6159. "$ref": "#/definitions/app.Response"
  6160. }
  6161. }
  6162. }
  6163. }
  6164. },
  6165. "/SZDZ/SearchWhite": {
  6166. "get": {
  6167. "security": [
  6168. {
  6169. "ApiKeyAuth": []
  6170. }
  6171. ],
  6172. "produces": [
  6173. "application/json"
  6174. ],
  6175. "tags": [
  6176. "定制【尚志大宗】"
  6177. ],
  6178. "summary": "搜索白名单",
  6179. "parameters": [
  6180. {
  6181. "type": "integer",
  6182. "description": "用户ID",
  6183. "name": "userID",
  6184. "in": "query",
  6185. "required": true
  6186. }
  6187. ],
  6188. "responses": {
  6189. "200": {
  6190. "description": "OK",
  6191. "schema": {
  6192. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  6193. }
  6194. },
  6195. "500": {
  6196. "description": "Internal Server Error",
  6197. "schema": {
  6198. "$ref": "#/definitions/app.Response"
  6199. }
  6200. }
  6201. }
  6202. }
  6203. },
  6204. "/Search/SearchGoodses": {
  6205. "get": {
  6206. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  6207. "produces": [
  6208. "application/json"
  6209. ],
  6210. "tags": [
  6211. "检索服务"
  6212. ],
  6213. "summary": "检索商品信息",
  6214. "parameters": [
  6215. {
  6216. "type": "string",
  6217. "description": "检索内容",
  6218. "name": "content",
  6219. "in": "query",
  6220. "required": true
  6221. },
  6222. {
  6223. "type": "string",
  6224. "description": "交易模式,格式:1,2,3",
  6225. "name": "tradeModes",
  6226. "in": "query"
  6227. }
  6228. ],
  6229. "responses": {
  6230. "200": {
  6231. "description": "OK",
  6232. "schema": {
  6233. "$ref": "#/definitions/models.SearchGoods"
  6234. }
  6235. },
  6236. "500": {
  6237. "description": "Internal Server Error",
  6238. "schema": {
  6239. "$ref": "#/definitions/app.Response"
  6240. }
  6241. }
  6242. }
  6243. }
  6244. },
  6245. "/TaAccount/GetTaAccounts": {
  6246. "get": {
  6247. "security": [
  6248. {
  6249. "ApiKeyAuth": []
  6250. }
  6251. ],
  6252. "produces": [
  6253. "application/json"
  6254. ],
  6255. "tags": [
  6256. "资金账户"
  6257. ],
  6258. "summary": "获取资金账户信息",
  6259. "parameters": [
  6260. {
  6261. "type": "integer",
  6262. "description": "登录账户",
  6263. "name": "loginID",
  6264. "in": "query",
  6265. "required": true
  6266. },
  6267. {
  6268. "type": "integer",
  6269. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  6270. "name": "taAccountType",
  6271. "in": "query"
  6272. }
  6273. ],
  6274. "responses": {
  6275. "200": {
  6276. "description": "OK",
  6277. "schema": {
  6278. "$ref": "#/definitions/models.Taaccount"
  6279. }
  6280. },
  6281. "500": {
  6282. "description": "Internal Server Error",
  6283. "schema": {
  6284. "$ref": "#/definitions/app.Response"
  6285. }
  6286. }
  6287. }
  6288. }
  6289. },
  6290. "/TaAccount/QueryAmountLog": {
  6291. "get": {
  6292. "security": [
  6293. {
  6294. "ApiKeyAuth": []
  6295. }
  6296. ],
  6297. "produces": [
  6298. "application/json"
  6299. ],
  6300. "tags": [
  6301. "资金账户"
  6302. ],
  6303. "summary": "资金流水查询(当前)",
  6304. "parameters": [
  6305. {
  6306. "type": "integer",
  6307. "description": "页码",
  6308. "name": "page",
  6309. "in": "query"
  6310. },
  6311. {
  6312. "type": "integer",
  6313. "description": "每页条数",
  6314. "name": "pagesize",
  6315. "in": "query"
  6316. },
  6317. {
  6318. "type": "string",
  6319. "description": "资金账户 - 格式:1,2,3",
  6320. "name": "accountID",
  6321. "in": "query",
  6322. "required": true
  6323. },
  6324. {
  6325. "type": "string",
  6326. "description": "资金操作类型 - 格式:1,2,3",
  6327. "name": "OperateType",
  6328. "in": "query"
  6329. }
  6330. ],
  6331. "responses": {
  6332. "200": {
  6333. "description": "OK",
  6334. "schema": {
  6335. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  6336. }
  6337. },
  6338. "500": {
  6339. "description": "Internal Server Error",
  6340. "schema": {
  6341. "$ref": "#/definitions/app.Response"
  6342. }
  6343. }
  6344. }
  6345. }
  6346. },
  6347. "/TaAccount/QueryHisAmountLog": {
  6348. "get": {
  6349. "security": [
  6350. {
  6351. "ApiKeyAuth": []
  6352. }
  6353. ],
  6354. "produces": [
  6355. "application/json"
  6356. ],
  6357. "tags": [
  6358. "资金账户"
  6359. ],
  6360. "summary": "资金流水查询(历史)",
  6361. "parameters": [
  6362. {
  6363. "type": "integer",
  6364. "description": "页码",
  6365. "name": "page",
  6366. "in": "query"
  6367. },
  6368. {
  6369. "type": "integer",
  6370. "description": "每页条数",
  6371. "name": "pagesize",
  6372. "in": "query"
  6373. },
  6374. {
  6375. "type": "string",
  6376. "description": "资金账户 - 格式:1,2,3",
  6377. "name": "accountID",
  6378. "in": "query",
  6379. "required": true
  6380. },
  6381. {
  6382. "type": "string",
  6383. "description": "资金操作类型 - 格式:1,2,3",
  6384. "name": "OperateType",
  6385. "in": "query"
  6386. },
  6387. {
  6388. "type": "string",
  6389. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6390. "name": "startDate",
  6391. "in": "query"
  6392. },
  6393. {
  6394. "type": "string",
  6395. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6396. "name": "endDate",
  6397. "in": "query"
  6398. }
  6399. ],
  6400. "responses": {
  6401. "200": {
  6402. "description": "OK",
  6403. "schema": {
  6404. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  6405. }
  6406. },
  6407. "500": {
  6408. "description": "Internal Server Error",
  6409. "schema": {
  6410. "$ref": "#/definitions/app.Response"
  6411. }
  6412. }
  6413. }
  6414. }
  6415. },
  6416. "/Trade/QueryRecieptOrder": {
  6417. "get": {
  6418. "security": [
  6419. {
  6420. "ApiKeyAuth": []
  6421. }
  6422. ],
  6423. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6424. "produces": [
  6425. "application/json"
  6426. ],
  6427. "tags": [
  6428. "通用交易"
  6429. ],
  6430. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  6431. "parameters": [
  6432. {
  6433. "type": "integer",
  6434. "description": "页码",
  6435. "name": "page",
  6436. "in": "query"
  6437. },
  6438. {
  6439. "type": "integer",
  6440. "description": "每页条数",
  6441. "name": "pagesize",
  6442. "in": "query"
  6443. },
  6444. {
  6445. "type": "integer",
  6446. "description": "商品ID",
  6447. "name": "goodsID",
  6448. "in": "query",
  6449. "required": true
  6450. },
  6451. {
  6452. "type": "string",
  6453. "description": "所属账户名称",
  6454. "name": "accountName",
  6455. "in": "query"
  6456. },
  6457. {
  6458. "type": "integer",
  6459. "description": "市场ID",
  6460. "name": "marketID",
  6461. "in": "query"
  6462. },
  6463. {
  6464. "type": "integer",
  6465. "description": "方向 - 0:买 1:卖",
  6466. "name": "buyorsell",
  6467. "in": "query",
  6468. "required": true
  6469. }
  6470. ],
  6471. "responses": {
  6472. "200": {
  6473. "description": "OK",
  6474. "schema": {
  6475. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  6476. }
  6477. },
  6478. "500": {
  6479. "description": "Internal Server Error",
  6480. "schema": {
  6481. "$ref": "#/definitions/app.Response"
  6482. }
  6483. }
  6484. }
  6485. }
  6486. },
  6487. "/User/AddMessageBoard": {
  6488. "post": {
  6489. "security": [
  6490. {
  6491. "ApiKeyAuth": []
  6492. }
  6493. ],
  6494. "produces": [
  6495. "application/json"
  6496. ],
  6497. "tags": [
  6498. "用户信息"
  6499. ],
  6500. "summary": "添加用户留言板信息",
  6501. "parameters": [
  6502. {
  6503. "type": "integer",
  6504. "description": "用户ID",
  6505. "name": "userID",
  6506. "in": "query",
  6507. "required": true
  6508. },
  6509. {
  6510. "type": "string",
  6511. "description": "留言信息",
  6512. "name": "message",
  6513. "in": "query",
  6514. "required": true
  6515. },
  6516. {
  6517. "type": "string",
  6518. "description": "联系电话",
  6519. "name": "contactNum",
  6520. "in": "query",
  6521. "required": true
  6522. }
  6523. ],
  6524. "responses": {
  6525. "200": {
  6526. "description": "OK",
  6527. "schema": {
  6528. "$ref": "#/definitions/app.Response"
  6529. }
  6530. },
  6531. "500": {
  6532. "description": "Internal Server Error",
  6533. "schema": {
  6534. "$ref": "#/definitions/app.Response"
  6535. }
  6536. }
  6537. }
  6538. }
  6539. },
  6540. "/User/AddUserFavoriteGoods": {
  6541. "post": {
  6542. "security": [
  6543. {
  6544. "ApiKeyAuth": []
  6545. }
  6546. ],
  6547. "produces": [
  6548. "application/json"
  6549. ],
  6550. "tags": [
  6551. "用户信息"
  6552. ],
  6553. "summary": "添加用户商品收藏信息",
  6554. "parameters": [
  6555. {
  6556. "type": "integer",
  6557. "description": "用户ID",
  6558. "name": "userID",
  6559. "in": "query",
  6560. "required": true
  6561. },
  6562. {
  6563. "type": "integer",
  6564. "description": "商品ID",
  6565. "name": "goodsID",
  6566. "in": "query",
  6567. "required": true
  6568. }
  6569. ],
  6570. "responses": {
  6571. "200": {
  6572. "description": "OK",
  6573. "schema": {
  6574. "$ref": "#/definitions/app.Response"
  6575. }
  6576. },
  6577. "500": {
  6578. "description": "Internal Server Error",
  6579. "schema": {
  6580. "$ref": "#/definitions/app.Response"
  6581. }
  6582. }
  6583. }
  6584. }
  6585. },
  6586. "/User/GetLoginID": {
  6587. "get": {
  6588. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  6589. "produces": [
  6590. "application/json"
  6591. ],
  6592. "tags": [
  6593. "用户信息"
  6594. ],
  6595. "summary": "获取登录ID",
  6596. "parameters": [
  6597. {
  6598. "type": "string",
  6599. "description": "登录代码",
  6600. "name": "username",
  6601. "in": "query",
  6602. "required": true
  6603. }
  6604. ],
  6605. "responses": {
  6606. "200": {
  6607. "description": "OK",
  6608. "schema": {
  6609. "$ref": "#/definitions/app.Response"
  6610. }
  6611. },
  6612. "500": {
  6613. "description": "Internal Server Error",
  6614. "schema": {
  6615. "$ref": "#/definitions/app.Response"
  6616. }
  6617. }
  6618. }
  6619. }
  6620. },
  6621. "/User/GetUserAccount": {
  6622. "get": {
  6623. "security": [
  6624. {
  6625. "ApiKeyAuth": []
  6626. }
  6627. ],
  6628. "produces": [
  6629. "application/json"
  6630. ],
  6631. "tags": [
  6632. "用户信息"
  6633. ],
  6634. "summary": "获取用户账号信息",
  6635. "parameters": [
  6636. {
  6637. "type": "integer",
  6638. "description": "用户ID",
  6639. "name": "userID",
  6640. "in": "query",
  6641. "required": true
  6642. }
  6643. ],
  6644. "responses": {
  6645. "200": {
  6646. "description": "OK",
  6647. "schema": {
  6648. "$ref": "#/definitions/models.Useraccount"
  6649. }
  6650. },
  6651. "500": {
  6652. "description": "Internal Server Error",
  6653. "schema": {
  6654. "$ref": "#/definitions/app.Response"
  6655. }
  6656. }
  6657. }
  6658. }
  6659. },
  6660. "/User/GetUserAuthStatus": {
  6661. "get": {
  6662. "security": [
  6663. {
  6664. "ApiKeyAuth": []
  6665. }
  6666. ],
  6667. "produces": [
  6668. "application/json"
  6669. ],
  6670. "tags": [
  6671. "用户信息"
  6672. ],
  6673. "summary": "获取用户实名认证状态",
  6674. "parameters": [
  6675. {
  6676. "type": "integer",
  6677. "description": "用户ID",
  6678. "name": "userID",
  6679. "in": "query",
  6680. "required": true
  6681. }
  6682. ],
  6683. "responses": {
  6684. "200": {
  6685. "description": "OK",
  6686. "schema": {
  6687. "$ref": "#/definitions/app.Response"
  6688. }
  6689. },
  6690. "500": {
  6691. "description": "Internal Server Error",
  6692. "schema": {
  6693. "$ref": "#/definitions/app.Response"
  6694. }
  6695. }
  6696. }
  6697. }
  6698. },
  6699. "/User/LoginQuery": {
  6700. "get": {
  6701. "security": [
  6702. {
  6703. "ApiKeyAuth": []
  6704. }
  6705. ],
  6706. "produces": [
  6707. "application/json"
  6708. ],
  6709. "tags": [
  6710. "用户信息"
  6711. ],
  6712. "summary": "账户登录后信息查询",
  6713. "parameters": [
  6714. {
  6715. "type": "integer",
  6716. "description": "登录账号",
  6717. "name": "loginID",
  6718. "in": "query",
  6719. "required": true
  6720. }
  6721. ],
  6722. "responses": {
  6723. "200": {
  6724. "description": "OK",
  6725. "schema": {
  6726. "$ref": "#/definitions/user.LoginQueryRsp"
  6727. }
  6728. },
  6729. "500": {
  6730. "description": "Internal Server Error",
  6731. "schema": {
  6732. "$ref": "#/definitions/app.Response"
  6733. }
  6734. }
  6735. }
  6736. }
  6737. },
  6738. "/User/QueryMessageBoard": {
  6739. "get": {
  6740. "security": [
  6741. {
  6742. "ApiKeyAuth": []
  6743. }
  6744. ],
  6745. "produces": [
  6746. "application/json"
  6747. ],
  6748. "tags": [
  6749. "用户信息"
  6750. ],
  6751. "summary": "获取用户留言板信息",
  6752. "parameters": [
  6753. {
  6754. "type": "integer",
  6755. "description": "用户ID",
  6756. "name": "userID",
  6757. "in": "query",
  6758. "required": true
  6759. }
  6760. ],
  6761. "responses": {
  6762. "200": {
  6763. "description": "OK",
  6764. "schema": {
  6765. "$ref": "#/definitions/models.Messageboard"
  6766. }
  6767. },
  6768. "500": {
  6769. "description": "Internal Server Error",
  6770. "schema": {
  6771. "$ref": "#/definitions/app.Response"
  6772. }
  6773. }
  6774. }
  6775. }
  6776. },
  6777. "/User/QueryUserFavoriteGoodses": {
  6778. "get": {
  6779. "security": [
  6780. {
  6781. "ApiKeyAuth": []
  6782. }
  6783. ],
  6784. "produces": [
  6785. "application/json"
  6786. ],
  6787. "tags": [
  6788. "用户信息"
  6789. ],
  6790. "summary": "获取用户商品收藏信息",
  6791. "parameters": [
  6792. {
  6793. "type": "integer",
  6794. "description": "用户ID",
  6795. "name": "userID",
  6796. "in": "query",
  6797. "required": true
  6798. }
  6799. ],
  6800. "responses": {
  6801. "200": {
  6802. "description": "OK",
  6803. "schema": {
  6804. "$ref": "#/definitions/models.Userfavoritegoods"
  6805. }
  6806. },
  6807. "500": {
  6808. "description": "Internal Server Error",
  6809. "schema": {
  6810. "$ref": "#/definitions/app.Response"
  6811. }
  6812. }
  6813. }
  6814. }
  6815. },
  6816. "/User/QueryUserInfo": {
  6817. "get": {
  6818. "security": [
  6819. {
  6820. "ApiKeyAuth": []
  6821. }
  6822. ],
  6823. "produces": [
  6824. "application/json"
  6825. ],
  6826. "tags": [
  6827. "用户信息"
  6828. ],
  6829. "summary": "获取用户信息",
  6830. "parameters": [
  6831. {
  6832. "type": "integer",
  6833. "description": "用户ID",
  6834. "name": "userID",
  6835. "in": "query",
  6836. "required": true
  6837. },
  6838. {
  6839. "type": "boolean",
  6840. "description": "是否解密",
  6841. "name": "isDecrypt",
  6842. "in": "query"
  6843. }
  6844. ],
  6845. "responses": {
  6846. "200": {
  6847. "description": "OK",
  6848. "schema": {
  6849. "$ref": "#/definitions/models.Userinfo"
  6850. }
  6851. },
  6852. "500": {
  6853. "description": "Internal Server Error",
  6854. "schema": {
  6855. "$ref": "#/definitions/app.Response"
  6856. }
  6857. }
  6858. }
  6859. }
  6860. },
  6861. "/User/QueryUserReferNum": {
  6862. "get": {
  6863. "produces": [
  6864. "application/json"
  6865. ],
  6866. "tags": [
  6867. "用户信息"
  6868. ],
  6869. "summary": "获取用户邀请码",
  6870. "parameters": [
  6871. {
  6872. "type": "integer",
  6873. "description": "用户ID",
  6874. "name": "userID",
  6875. "in": "query",
  6876. "required": true
  6877. }
  6878. ],
  6879. "responses": {
  6880. "200": {
  6881. "description": "OK",
  6882. "schema": {
  6883. "$ref": "#/definitions/app.Response"
  6884. }
  6885. },
  6886. "500": {
  6887. "description": "Internal Server Error",
  6888. "schema": {
  6889. "$ref": "#/definitions/app.Response"
  6890. }
  6891. }
  6892. }
  6893. }
  6894. },
  6895. "/User/RemoveUserFavoriteGoods": {
  6896. "post": {
  6897. "security": [
  6898. {
  6899. "ApiKeyAuth": []
  6900. }
  6901. ],
  6902. "produces": [
  6903. "application/json"
  6904. ],
  6905. "tags": [
  6906. "用户信息"
  6907. ],
  6908. "summary": "移除用户商品收藏信息",
  6909. "parameters": [
  6910. {
  6911. "type": "integer",
  6912. "description": "用户ID",
  6913. "name": "userID",
  6914. "in": "query",
  6915. "required": true
  6916. },
  6917. {
  6918. "type": "integer",
  6919. "description": "商品ID",
  6920. "name": "goodsID",
  6921. "in": "query",
  6922. "required": true
  6923. }
  6924. ],
  6925. "responses": {
  6926. "200": {
  6927. "description": "OK",
  6928. "schema": {
  6929. "$ref": "#/definitions/app.Response"
  6930. }
  6931. },
  6932. "500": {
  6933. "description": "Internal Server Error",
  6934. "schema": {
  6935. "$ref": "#/definitions/app.Response"
  6936. }
  6937. }
  6938. }
  6939. }
  6940. },
  6941. "/User/UpdateUserAccountStatus": {
  6942. "post": {
  6943. "security": [
  6944. {
  6945. "ApiKeyAuth": []
  6946. }
  6947. ],
  6948. "produces": [
  6949. "application/json"
  6950. ],
  6951. "tags": [
  6952. "用户信息"
  6953. ],
  6954. "summary": "更新用户状态",
  6955. "parameters": [
  6956. {
  6957. "type": "integer",
  6958. "description": "用户ID",
  6959. "name": "userID",
  6960. "in": "query",
  6961. "required": true
  6962. },
  6963. {
  6964. "type": "integer",
  6965. "description": "账户状态 - 4:正常 6:注销(停用)",
  6966. "name": "accountStatus",
  6967. "in": "query",
  6968. "required": true
  6969. }
  6970. ],
  6971. "responses": {
  6972. "200": {
  6973. "description": "OK",
  6974. "schema": {
  6975. "$ref": "#/definitions/app.Response"
  6976. }
  6977. },
  6978. "500": {
  6979. "description": "Internal Server Error",
  6980. "schema": {
  6981. "$ref": "#/definitions/app.Response"
  6982. }
  6983. }
  6984. }
  6985. }
  6986. },
  6987. "/WR/GetWRCategoryInfo": {
  6988. "get": {
  6989. "produces": [
  6990. "application/json"
  6991. ],
  6992. "tags": [
  6993. "仓单服务"
  6994. ],
  6995. "summary": "获取现货分类信息",
  6996. "responses": {
  6997. "200": {
  6998. "description": "OK",
  6999. "schema": {
  7000. "$ref": "#/definitions/models.WRCategoryTree"
  7001. }
  7002. },
  7003. "500": {
  7004. "description": "Internal Server Error",
  7005. "schema": {
  7006. "$ref": "#/definitions/app.Response"
  7007. }
  7008. }
  7009. }
  7010. }
  7011. },
  7012. "/WRTrade/GetAllDeliveryGoods": {
  7013. "get": {
  7014. "security": [
  7015. {
  7016. "ApiKeyAuth": []
  7017. },
  7018. {
  7019. "ApiKeyAuth": []
  7020. }
  7021. ],
  7022. "produces": [
  7023. "application/json",
  7024. "application/json"
  7025. ],
  7026. "tags": [
  7027. "仓单贸易",
  7028. "仓单贸易"
  7029. ],
  7030. "summary": "获取带仓单分类的种类信息",
  7031. "responses": {
  7032. "200": {
  7033. "description": "OK",
  7034. "schema": {
  7035. "$ref": "#/definitions/app.Response"
  7036. }
  7037. },
  7038. "500": {
  7039. "description": "Internal Server Error",
  7040. "schema": {
  7041. "$ref": "#/definitions/app.Response"
  7042. }
  7043. }
  7044. }
  7045. }
  7046. }
  7047. },
  7048. "definitions": {
  7049. "app.Response": {
  7050. "type": "object",
  7051. "properties": {
  7052. "code": {
  7053. "type": "integer"
  7054. },
  7055. "data": {
  7056. "type": "object"
  7057. },
  7058. "msg": {
  7059. "type": "string"
  7060. },
  7061. "page": {
  7062. "description": "页码",
  7063. "type": "integer"
  7064. },
  7065. "pagesize": {
  7066. "description": "每页条数",
  7067. "type": "integer"
  7068. },
  7069. "total": {
  7070. "description": "总条数",
  7071. "type": "integer"
  7072. }
  7073. }
  7074. },
  7075. "common.QueryImageConfigsRsp": {
  7076. "type": "object",
  7077. "required": [
  7078. "configid"
  7079. ],
  7080. "properties": {
  7081. "areauserid": {
  7082. "description": "所属机构ID",
  7083. "type": "integer"
  7084. },
  7085. "configid": {
  7086. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  7087. "type": "integer"
  7088. },
  7089. "createdate": {
  7090. "description": "创建时间",
  7091. "type": "string"
  7092. },
  7093. "creatorid": {
  7094. "description": "创建人",
  7095. "type": "integer"
  7096. },
  7097. "imagepath": {
  7098. "description": "图片",
  7099. "type": "string"
  7100. },
  7101. "imagetype": {
  7102. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  7103. "type": "integer"
  7104. },
  7105. "isshow": {
  7106. "description": "是否展示 - 0:不展示 1:展示",
  7107. "type": "integer"
  7108. },
  7109. "marketid": {
  7110. "description": "市场ID",
  7111. "type": "integer"
  7112. },
  7113. "modifierid": {
  7114. "description": "操作人",
  7115. "type": "integer"
  7116. },
  7117. "sort": {
  7118. "description": "排序",
  7119. "type": "integer"
  7120. },
  7121. "title": {
  7122. "description": "标题",
  7123. "type": "string"
  7124. },
  7125. "trademode": {
  7126. "description": "交易模式",
  7127. "type": "integer"
  7128. },
  7129. "updatedate": {
  7130. "description": "修改时间",
  7131. "type": "string"
  7132. },
  7133. "url": {
  7134. "description": "链接(地址或商品ID)",
  7135. "type": "string"
  7136. },
  7137. "urltype": {
  7138. "description": "链接类型 - 1:直接地址 2:商品ID",
  7139. "type": "integer"
  7140. }
  7141. }
  7142. },
  7143. "common.QueryNoticeRsp": {
  7144. "type": "object",
  7145. "required": [
  7146. "autoid"
  7147. ],
  7148. "properties": {
  7149. "auditoruserid": {
  7150. "description": "审核人",
  7151. "type": "integer"
  7152. },
  7153. "auditremark": {
  7154. "description": "审核备注",
  7155. "type": "string"
  7156. },
  7157. "audittime": {
  7158. "description": "审核日期",
  7159. "type": "string"
  7160. },
  7161. "autoid": {
  7162. "description": "自增ID",
  7163. "type": "integer"
  7164. },
  7165. "content": {
  7166. "description": "内容",
  7167. "type": "string"
  7168. },
  7169. "createtime": {
  7170. "description": "创建时间",
  7171. "type": "string"
  7172. },
  7173. "creatorid": {
  7174. "description": "建仓人",
  7175. "type": "integer"
  7176. },
  7177. "endtime": {
  7178. "description": "结束时间",
  7179. "type": "string"
  7180. },
  7181. "istop": {
  7182. "description": "是否置顶 - 0:不置顶 1:置顶",
  7183. "type": "integer"
  7184. },
  7185. "msgiconurl": {
  7186. "description": "消息图标Url",
  7187. "type": "string"
  7188. },
  7189. "msgtype": {
  7190. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  7191. "type": "integer"
  7192. },
  7193. "publisher": {
  7194. "description": "消息发布者",
  7195. "type": "string"
  7196. },
  7197. "readed": {
  7198. "description": "是否已读",
  7199. "type": "boolean"
  7200. },
  7201. "scheduletime": {
  7202. "description": "计划发送时间",
  7203. "type": "string"
  7204. },
  7205. "sendtype": {
  7206. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  7207. "type": "integer"
  7208. },
  7209. "sentstatus": {
  7210. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  7211. "type": "integer"
  7212. },
  7213. "title": {
  7214. "description": "标题",
  7215. "type": "string"
  7216. },
  7217. "userid": {
  7218. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  7219. "type": "integer"
  7220. }
  7221. }
  7222. },
  7223. "common.QueryProvincesAndCitiesRsp": {
  7224. "type": "object",
  7225. "properties": {
  7226. "cities": {
  7227. "description": "市",
  7228. "type": "array",
  7229. "items": {
  7230. "$ref": "#/definitions/models.Division"
  7231. }
  7232. },
  7233. "province": {
  7234. "description": "省",
  7235. "type": "object",
  7236. "$ref": "#/definitions/models.Division"
  7237. }
  7238. }
  7239. },
  7240. "common.QueryTableDefineRsp": {
  7241. "type": "object",
  7242. "required": [
  7243. "tablekey"
  7244. ],
  7245. "properties": {
  7246. "columns": {
  7247. "description": "列头信息数组",
  7248. "type": "array",
  7249. "items": {
  7250. "$ref": "#/definitions/models.Tablecolumnconfig"
  7251. }
  7252. },
  7253. "remark": {
  7254. "description": "Remark",
  7255. "type": "string"
  7256. },
  7257. "tabelmenu": {
  7258. "description": "列表菜单",
  7259. "type": "string"
  7260. },
  7261. "tablekey": {
  7262. "description": "列表Key",
  7263. "type": "string"
  7264. },
  7265. "tablename": {
  7266. "description": "列表名称",
  7267. "type": "string"
  7268. },
  7269. "tabletype": {
  7270. "description": "列表类型 - 1:管理端 2:终端",
  7271. "type": "integer"
  7272. }
  7273. }
  7274. },
  7275. "common.QueryTraderMenuRsp": {
  7276. "type": "object",
  7277. "properties": {
  7278. "OperationMenu": {
  7279. "description": "功能菜单",
  7280. "type": "array",
  7281. "items": {
  7282. "$ref": "#/definitions/models.OperationPrimaryMenu"
  7283. }
  7284. },
  7285. "QuoteMenu": {
  7286. "description": "报价牌分类菜单",
  7287. "type": "array",
  7288. "items": {
  7289. "$ref": "#/definitions/models.QuotePrimaryMenu"
  7290. }
  7291. }
  7292. }
  7293. },
  7294. "cptrade.Cptradepositioncancel": {
  7295. "type": "object",
  7296. "required": [
  7297. "cancelid"
  7298. ],
  7299. "properties": {
  7300. "accountid": {
  7301. "description": "申请人账户ID",
  7302. "type": "integer"
  7303. },
  7304. "applystatus": {
  7305. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7306. "type": "integer"
  7307. },
  7308. "applytime": {
  7309. "description": "申请时间",
  7310. "type": "string"
  7311. },
  7312. "cancelid": {
  7313. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  7314. "type": "integer"
  7315. },
  7316. "cancelqty": {
  7317. "description": "注销数量",
  7318. "type": "integer"
  7319. },
  7320. "createtime": {
  7321. "description": "创建时间",
  7322. "type": "string"
  7323. },
  7324. "creatorid": {
  7325. "description": "创建人ID",
  7326. "type": "integer"
  7327. },
  7328. "creatorname": {
  7329. "description": "创建人",
  7330. "type": "string"
  7331. },
  7332. "goodscode": {
  7333. "description": "订单商品代码",
  7334. "type": "string"
  7335. },
  7336. "goodsid": {
  7337. "description": "商品ID",
  7338. "type": "integer"
  7339. },
  7340. "goodsname": {
  7341. "description": "订单商品名称",
  7342. "type": "string"
  7343. },
  7344. "goodunit": {
  7345. "description": "报价单位",
  7346. "type": "string"
  7347. },
  7348. "handlestatus": {
  7349. "description": "处理状态",
  7350. "type": "integer"
  7351. },
  7352. "marketid": {
  7353. "description": "市场ID",
  7354. "type": "integer"
  7355. },
  7356. "marketname": {
  7357. "description": "市场名称",
  7358. "type": "string"
  7359. },
  7360. "tradedate": {
  7361. "description": "交易日(yyyyMMdd)",
  7362. "type": "string"
  7363. },
  7364. "userid": {
  7365. "description": "申请人ID",
  7366. "type": "integer"
  7367. }
  7368. }
  7369. },
  7370. "cptrade.Cptradepresaleapply": {
  7371. "type": "object",
  7372. "required": [
  7373. "applyid"
  7374. ],
  7375. "properties": {
  7376. "accountid": {
  7377. "description": "申请人账户ID",
  7378. "type": "integer"
  7379. },
  7380. "applyid": {
  7381. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  7382. "type": "integer"
  7383. },
  7384. "applyremark": {
  7385. "description": "申请备注",
  7386. "type": "string"
  7387. },
  7388. "applystatus": {
  7389. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7390. "type": "integer"
  7391. },
  7392. "applytime": {
  7393. "description": "申请时间",
  7394. "type": "string"
  7395. },
  7396. "attachmenturl": {
  7397. "description": "附件地址",
  7398. "type": "string"
  7399. },
  7400. "endtime": {
  7401. "description": "预售结束时间",
  7402. "type": "string"
  7403. },
  7404. "goodscode": {
  7405. "description": "商品代码",
  7406. "type": "string"
  7407. },
  7408. "goodsid": {
  7409. "description": "商品ID",
  7410. "type": "integer"
  7411. },
  7412. "goodsname": {
  7413. "description": "商品名称",
  7414. "type": "string"
  7415. },
  7416. "goodunit": {
  7417. "description": "报价单位",
  7418. "type": "string"
  7419. },
  7420. "handlestatus": {
  7421. "description": "处理状态",
  7422. "type": "integer"
  7423. },
  7424. "marketid": {
  7425. "description": "预售市场ID",
  7426. "type": "integer"
  7427. },
  7428. "marketname": {
  7429. "description": "预售市场名称",
  7430. "type": "string"
  7431. },
  7432. "presaleqty": {
  7433. "description": "预售数量",
  7434. "type": "integer"
  7435. },
  7436. "relatedgoodscode": {
  7437. "description": "关联交易合约代码",
  7438. "type": "string"
  7439. },
  7440. "relatedgoodsid": {
  7441. "description": "关联交易合约ID",
  7442. "type": "integer"
  7443. },
  7444. "relatedgoodsname": {
  7445. "description": "关联交易合约名称",
  7446. "type": "string"
  7447. },
  7448. "starttime": {
  7449. "description": "预售开始时间",
  7450. "type": "string"
  7451. },
  7452. "tradedate": {
  7453. "description": "交易日(yyyyMMdd)",
  7454. "type": "string"
  7455. },
  7456. "trademode": {
  7457. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  7458. "type": "integer"
  7459. },
  7460. "userid": {
  7461. "description": "申请人ID",
  7462. "type": "integer"
  7463. }
  7464. }
  7465. },
  7466. "cptrade.Cptradeusergoodsdata": {
  7467. "type": "object",
  7468. "required": [
  7469. "accountid",
  7470. "goodsid"
  7471. ],
  7472. "properties": {
  7473. "EnabledQty": {
  7474. "description": "可用量",
  7475. "type": "integer"
  7476. },
  7477. "GoodsCode": {
  7478. "description": "订单商品代码",
  7479. "type": "string"
  7480. },
  7481. "GoodsName": {
  7482. "description": "订单商品名称",
  7483. "type": "string"
  7484. },
  7485. "WRStandardCode": {
  7486. "description": "仓单标准代码",
  7487. "type": "string"
  7488. },
  7489. "WRStandardName": {
  7490. "description": "仓单标准名称",
  7491. "type": "string"
  7492. },
  7493. "accountid": {
  7494. "description": "账户ID",
  7495. "type": "integer"
  7496. },
  7497. "cancelqty": {
  7498. "description": "注销量",
  7499. "type": "integer"
  7500. },
  7501. "curpresaleqty": {
  7502. "description": "当前预售量",
  7503. "type": "integer"
  7504. },
  7505. "deliveryqty": {
  7506. "description": "交割量",
  7507. "type": "integer"
  7508. },
  7509. "freezeamount": {
  7510. "description": "冻结金额",
  7511. "type": "number"
  7512. },
  7513. "goodsid": {
  7514. "description": "商品ID",
  7515. "type": "integer"
  7516. },
  7517. "goodunit": {
  7518. "description": "报价单位",
  7519. "type": "string"
  7520. },
  7521. "hasspotfreeze": {
  7522. "description": "是否有现货冻结 - 0:否 1:有",
  7523. "type": "integer"
  7524. },
  7525. "inqty": {
  7526. "description": "转入量(总数量)",
  7527. "type": "integer"
  7528. },
  7529. "marketid": {
  7530. "description": "市场ID",
  7531. "type": "integer"
  7532. },
  7533. "presaledamount": {
  7534. "description": "已预售总金额",
  7535. "type": "integer"
  7536. },
  7537. "presaledqty": {
  7538. "description": "已预售量",
  7539. "type": "integer"
  7540. },
  7541. "userid": {
  7542. "description": "用户ID",
  7543. "type": "integer"
  7544. },
  7545. "wrstandardid": {
  7546. "description": "仓单标准ID",
  7547. "type": "integer"
  7548. }
  7549. }
  7550. },
  7551. "cptrade.QueryCPTradeMyBidRsp": {
  7552. "type": "object",
  7553. "required": [
  7554. "accountid",
  7555. "goodsid",
  7556. "marketid",
  7557. "orderid",
  7558. "orderqty",
  7559. "ordertime",
  7560. "tradeprice",
  7561. "tradeqty"
  7562. ],
  7563. "properties": {
  7564. "accountid": {
  7565. "description": "账户ID[报价币种]",
  7566. "type": "integer"
  7567. },
  7568. "goodsid": {
  7569. "description": "商品ID",
  7570. "type": "integer"
  7571. },
  7572. "goodunit": {
  7573. "description": "报价单位",
  7574. "type": "string"
  7575. },
  7576. "marketid": {
  7577. "description": "市场ID",
  7578. "type": "integer"
  7579. },
  7580. "orderid": {
  7581. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7582. "type": "integer"
  7583. },
  7584. "orderprice": {
  7585. "description": "委托价格",
  7586. "type": "number"
  7587. },
  7588. "orderqty": {
  7589. "description": "委托数量",
  7590. "type": "integer"
  7591. },
  7592. "ordertime": {
  7593. "description": "委托时间",
  7594. "type": "string"
  7595. },
  7596. "ordertotalprice": {
  7597. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  7598. "type": "number"
  7599. },
  7600. "ordertotalweight": {
  7601. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  7602. "type": "integer"
  7603. },
  7604. "totaltotalprice": {
  7605. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  7606. "type": "number"
  7607. },
  7608. "tradeprice": {
  7609. "description": "成交价格",
  7610. "type": "number"
  7611. },
  7612. "tradeqty": {
  7613. "description": "成交数量",
  7614. "type": "integer"
  7615. }
  7616. }
  7617. },
  7618. "cptrade.QueryCPTradeOrderDetailRsq": {
  7619. "type": "object",
  7620. "required": [
  7621. "accountid",
  7622. "buildtype",
  7623. "buyorsell",
  7624. "goodsid",
  7625. "marketid",
  7626. "memberuserid",
  7627. "operatetype",
  7628. "orderqty",
  7629. "ordertime",
  7630. "pricemode",
  7631. "strorderid",
  7632. "tradedate",
  7633. "validtype"
  7634. ],
  7635. "properties": {
  7636. "accountid": {
  7637. "description": "账户ID[报价币种]",
  7638. "type": "integer"
  7639. },
  7640. "buildtype": {
  7641. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7642. "type": "integer"
  7643. },
  7644. "buyorsell": {
  7645. "description": "买卖 - 0:买 1:卖",
  7646. "type": "integer"
  7647. },
  7648. "cancelorderid": {
  7649. "description": "撤单单号(撤单时填写)",
  7650. "type": "integer"
  7651. },
  7652. "cancelqty": {
  7653. "description": "撤单数量",
  7654. "type": "integer"
  7655. },
  7656. "clientordertime": {
  7657. "description": "客户端委托时间",
  7658. "type": "string"
  7659. },
  7660. "clientticket": {
  7661. "description": "客户端流水号",
  7662. "type": "string"
  7663. },
  7664. "clienttype": {
  7665. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7666. "type": "integer"
  7667. },
  7668. "closeexchagechargevalue": {
  7669. "description": "平仓交易所手续费设置值",
  7670. "type": "number"
  7671. },
  7672. "closefeealgorithm": {
  7673. "description": "平仓手续费收取方式 1:比率 2:固定",
  7674. "type": "integer"
  7675. },
  7676. "closefreezecharge": {
  7677. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7678. "type": "number"
  7679. },
  7680. "closememberchargevalue": {
  7681. "description": "平仓会员手续费设置值",
  7682. "type": "number"
  7683. },
  7684. "closeqty": {
  7685. "description": "平仓数量(先建后平操作 需要记录)",
  7686. "type": "integer"
  7687. },
  7688. "closetradeqty": {
  7689. "description": "平仓成交数量(先建后平操作,需要记录)",
  7690. "type": "integer"
  7691. },
  7692. "closeunfreezecharge": {
  7693. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7694. "type": "number"
  7695. },
  7696. "delistingtype": {
  7697. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7698. "type": "integer"
  7699. },
  7700. "freezecharge": {
  7701. "description": "冻结手续费",
  7702. "type": "number"
  7703. },
  7704. "freezemargin": {
  7705. "description": "冻结保证金(冻结交易金额)",
  7706. "type": "number"
  7707. },
  7708. "gcaccountid": {
  7709. "description": "账户ID[合约币种]",
  7710. "type": "integer"
  7711. },
  7712. "goodsid": {
  7713. "description": "商品ID",
  7714. "type": "integer"
  7715. },
  7716. "isconfirmexercise": {
  7717. "description": "是否确认行权- 0:否 1:是",
  7718. "type": "integer"
  7719. },
  7720. "ispreexercise": {
  7721. "description": "是否预申报- 0:否 1:是",
  7722. "type": "integer"
  7723. },
  7724. "listingselecttype": {
  7725. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7726. "type": "integer"
  7727. },
  7728. "marginalgorithm": {
  7729. "description": "保证金收取方式 1:比率 2:固定",
  7730. "type": "integer"
  7731. },
  7732. "marginvalue": {
  7733. "description": "即市保证金设置值",
  7734. "type": "number"
  7735. },
  7736. "marketid": {
  7737. "description": "市场ID",
  7738. "type": "integer"
  7739. },
  7740. "marketmaxsub": {
  7741. "description": "市价最大偏移范围",
  7742. "type": "number"
  7743. },
  7744. "memberuserid": {
  7745. "description": "所属会员UserID",
  7746. "type": "integer"
  7747. },
  7748. "openexchagechargevalue": {
  7749. "description": "建仓交易所手续费设置值",
  7750. "type": "number"
  7751. },
  7752. "openfeealgorithm": {
  7753. "description": "建仓手续费收取方式 1:比率 2:固定",
  7754. "type": "integer"
  7755. },
  7756. "openfreezecharge": {
  7757. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7758. "type": "number"
  7759. },
  7760. "openmemberchargevalue": {
  7761. "description": "建仓会员手续费设置值",
  7762. "type": "number"
  7763. },
  7764. "openqty": {
  7765. "description": "开仓数量(先建后平操作,需要记录)",
  7766. "type": "integer"
  7767. },
  7768. "opentradeqty": {
  7769. "description": "开仓成交数量(先建后平操作,需要记录)",
  7770. "type": "integer"
  7771. },
  7772. "openunfreezecharge": {
  7773. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7774. "type": "number"
  7775. },
  7776. "operatetype": {
  7777. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7778. "type": "integer"
  7779. },
  7780. "operatorid": {
  7781. "description": "登录账号(LoginID)",
  7782. "type": "integer"
  7783. },
  7784. "optiontype": {
  7785. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7786. "type": "integer"
  7787. },
  7788. "orderprice": {
  7789. "description": "委托价格",
  7790. "type": "number"
  7791. },
  7792. "orderqty": {
  7793. "description": "委托数量",
  7794. "type": "integer"
  7795. },
  7796. "ordersrc": {
  7797. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7798. "type": "integer"
  7799. },
  7800. "orderstatus": {
  7801. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7802. "type": "integer"
  7803. },
  7804. "ordertime": {
  7805. "description": "委托时间",
  7806. "type": "string"
  7807. },
  7808. "preexerciseprice": {
  7809. "description": "预申报价格",
  7810. "type": "number"
  7811. },
  7812. "premium": {
  7813. "description": "权利金",
  7814. "type": "number"
  7815. },
  7816. "preorderid": {
  7817. "description": "关联预埋单号(止盈止损单时填写)",
  7818. "type": "integer"
  7819. },
  7820. "pricemode": {
  7821. "description": "取价方式 - 1:市价 2: 限价",
  7822. "type": "integer"
  7823. },
  7824. "quoteid": {
  7825. "description": "报价单ID",
  7826. "type": "integer"
  7827. },
  7828. "relatedid": {
  7829. "description": "关联单号(交割单)",
  7830. "type": "integer"
  7831. },
  7832. "retcode": {
  7833. "description": "错误代码",
  7834. "type": "integer"
  7835. },
  7836. "sessionid": {
  7837. "description": "会话ID",
  7838. "type": "integer"
  7839. },
  7840. "strorderid": {
  7841. "description": "委托单号",
  7842. "type": "string"
  7843. },
  7844. "tradedate": {
  7845. "description": "交易日(yyyyMMdd)",
  7846. "type": "string"
  7847. },
  7848. "tradeproperty": {
  7849. "description": "交易属性",
  7850. "type": "integer"
  7851. },
  7852. "tradeqty": {
  7853. "description": "成交数量",
  7854. "type": "integer"
  7855. },
  7856. "unfreezecharge": {
  7857. "description": "解冻手续费",
  7858. "type": "number"
  7859. },
  7860. "unfreezemargin": {
  7861. "description": "解冻保证金",
  7862. "type": "number"
  7863. },
  7864. "updatetime": {
  7865. "description": "更新时间",
  7866. "type": "string"
  7867. },
  7868. "uuid": {
  7869. "description": "发起端唯一id",
  7870. "type": "string"
  7871. },
  7872. "validtime": {
  7873. "description": "有效期限",
  7874. "type": "string"
  7875. },
  7876. "validtype": {
  7877. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7878. "type": "integer"
  7879. },
  7880. "volumetype": {
  7881. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7882. "type": "integer"
  7883. }
  7884. }
  7885. },
  7886. "cptrade.QueryMyCPTradeGoodsRsp": {
  7887. "type": "object",
  7888. "required": [
  7889. "goodscode",
  7890. "goodsid",
  7891. "goodsname",
  7892. "marketid",
  7893. "relatedgoodscode",
  7894. "relatedgoodsname"
  7895. ],
  7896. "properties": {
  7897. "accountid": {
  7898. "description": "卖方账户ID",
  7899. "type": "integer"
  7900. },
  7901. "agreeunit": {
  7902. "description": "合约单位",
  7903. "type": "number"
  7904. },
  7905. "applyid": {
  7906. "description": "关联申请ID",
  7907. "type": "integer"
  7908. },
  7909. "attachmenturl": {
  7910. "description": "附件地址",
  7911. "type": "string"
  7912. },
  7913. "createtime": {
  7914. "description": "创建时间",
  7915. "type": "string"
  7916. },
  7917. "currencyid": {
  7918. "description": "报价货币ID",
  7919. "type": "integer"
  7920. },
  7921. "decimalplace": {
  7922. "description": "报价小数位",
  7923. "type": "integer"
  7924. },
  7925. "endtime": {
  7926. "description": "预售结束时间",
  7927. "type": "string"
  7928. },
  7929. "floorprice": {
  7930. "description": "底价[大宗式竞拍]",
  7931. "type": "number"
  7932. },
  7933. "goodscode": {
  7934. "description": "商品代码(预售)",
  7935. "type": "string"
  7936. },
  7937. "goodsdetail": {
  7938. "description": "详情[大宗]",
  7939. "type": "string"
  7940. },
  7941. "goodsid": {
  7942. "description": "商品ID(自增ID SEQ_GOODS)",
  7943. "type": "integer"
  7944. },
  7945. "goodsname": {
  7946. "description": "商品名称(预售)",
  7947. "type": "string"
  7948. },
  7949. "goodunit": {
  7950. "description": "报价单位",
  7951. "type": "string"
  7952. },
  7953. "goodunitid": {
  7954. "description": "报价单位ID",
  7955. "type": "integer"
  7956. },
  7957. "marketid": {
  7958. "description": "所属市场ID",
  7959. "type": "integer"
  7960. },
  7961. "marketname": {
  7962. "description": "预售市场名称",
  7963. "type": "string"
  7964. },
  7965. "presaledamount": {
  7966. "description": "已预售总金额(预售结束时更新)",
  7967. "type": "number"
  7968. },
  7969. "presaledqty": {
  7970. "description": "已预售量(预售结束时更新)",
  7971. "type": "integer"
  7972. },
  7973. "presalemode": {
  7974. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7975. "type": "integer"
  7976. },
  7977. "presaleqty": {
  7978. "description": "预售数量",
  7979. "type": "integer"
  7980. },
  7981. "refprice": {
  7982. "description": "参考价格[一口价]",
  7983. "type": "number"
  7984. },
  7985. "relatedgoodscode": {
  7986. "description": "商品代码(订单)",
  7987. "type": "string"
  7988. },
  7989. "relatedgoodsid": {
  7990. "description": "关联交易合约ID",
  7991. "type": "integer"
  7992. },
  7993. "relatedgoodsname": {
  7994. "description": "商品名称(订单)",
  7995. "type": "string"
  7996. },
  7997. "relatedmarketid": {
  7998. "description": "关联交易合约市场ID",
  7999. "type": "integer"
  8000. },
  8001. "sellstatus": {
  8002. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8003. "type": "integer"
  8004. },
  8005. "startprice": {
  8006. "description": "起拍价[大宗式竞拍]",
  8007. "type": "number"
  8008. },
  8009. "starttime": {
  8010. "description": "预售开始时间",
  8011. "type": "string"
  8012. },
  8013. "tradedate": {
  8014. "description": "交易日(yyyyMMdd)",
  8015. "type": "string"
  8016. },
  8017. "tradeprice": {
  8018. "description": "成交价[大宗]",
  8019. "type": "number"
  8020. },
  8021. "userid": {
  8022. "description": "卖方用户ID",
  8023. "type": "integer"
  8024. }
  8025. }
  8026. },
  8027. "cptrade.QueryPresaleGoodsExRsp": {
  8028. "type": "object",
  8029. "required": [
  8030. "goodsid"
  8031. ],
  8032. "properties": {
  8033. "attachmenturl": {
  8034. "description": "附件地址",
  8035. "type": "string"
  8036. },
  8037. "createtime": {
  8038. "description": "创建时间",
  8039. "type": "string"
  8040. },
  8041. "endtime": {
  8042. "description": "预售结束时间",
  8043. "type": "string"
  8044. },
  8045. "floorprice": {
  8046. "description": "底价[大宗式竞拍]",
  8047. "type": "number"
  8048. },
  8049. "goodsdetail": {
  8050. "description": "详情[大宗]",
  8051. "type": "string"
  8052. },
  8053. "goodsid": {
  8054. "description": "商品ID(预售)",
  8055. "type": "integer"
  8056. },
  8057. "goodunit": {
  8058. "description": "报价单位",
  8059. "type": "string"
  8060. },
  8061. "marketid": {
  8062. "description": "预售市场ID - 根据预售模式选择市场",
  8063. "type": "integer"
  8064. },
  8065. "presaledamount": {
  8066. "description": "已预售总金额(预售结束时更新)",
  8067. "type": "number"
  8068. },
  8069. "presaledqty": {
  8070. "description": "已预售量(预售结束时更新)",
  8071. "type": "integer"
  8072. },
  8073. "presalemode": {
  8074. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8075. "type": "integer"
  8076. },
  8077. "presaleqty": {
  8078. "description": "预售数量",
  8079. "type": "integer"
  8080. },
  8081. "refprice": {
  8082. "description": "参考价格[一口价]",
  8083. "type": "number"
  8084. },
  8085. "relatedgoodsid": {
  8086. "description": "关联交易合约ID",
  8087. "type": "integer"
  8088. },
  8089. "relatedmarketid": {
  8090. "description": "关联交易合约市场ID",
  8091. "type": "integer"
  8092. },
  8093. "sellstatus": {
  8094. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8095. "type": "integer"
  8096. },
  8097. "startprice": {
  8098. "description": "起拍价[大宗式竞拍]",
  8099. "type": "number"
  8100. },
  8101. "starttime": {
  8102. "description": "预售开始时间",
  8103. "type": "string"
  8104. },
  8105. "tradedate": {
  8106. "description": "交易日(yyyyMMdd)",
  8107. "type": "string"
  8108. },
  8109. "tradeprice": {
  8110. "description": "成交价[大宗]",
  8111. "type": "number"
  8112. }
  8113. }
  8114. },
  8115. "delivery.QueryDeliveryRelationRsp": {
  8116. "type": "object",
  8117. "required": [
  8118. "begindate",
  8119. "enddate",
  8120. "goodsid",
  8121. "mindeliveryqty",
  8122. "xdeliveryratio"
  8123. ],
  8124. "properties": {
  8125. "begindate": {
  8126. "description": "起始日期(yyyyMMdd)",
  8127. "type": "string"
  8128. },
  8129. "buytemplateid": {
  8130. "description": "买履约计划模板ID",
  8131. "type": "integer"
  8132. },
  8133. "deliverygoodscode": {
  8134. "description": "品种代码",
  8135. "type": "string"
  8136. },
  8137. "deliverygoodsid": {
  8138. "description": "交割商品",
  8139. "type": "integer"
  8140. },
  8141. "deliverygoodsname": {
  8142. "description": "品种名称",
  8143. "type": "string"
  8144. },
  8145. "deliverymode": {
  8146. "description": "交割方式 - 1:点选式 2:申报式",
  8147. "type": "integer"
  8148. },
  8149. "deliverypricerule": {
  8150. "description": "交割价规则- 1:行情价 2:建仓价",
  8151. "type": "integer"
  8152. },
  8153. "deliverytype": {
  8154. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  8155. "type": "integer"
  8156. },
  8157. "enddate": {
  8158. "description": "结束日期(yyyyMMdd)",
  8159. "type": "string"
  8160. },
  8161. "goodscode": {
  8162. "description": "商品代码",
  8163. "type": "string"
  8164. },
  8165. "goodsid": {
  8166. "description": "交易合约ID",
  8167. "type": "integer"
  8168. },
  8169. "goodsname": {
  8170. "description": "商品名称",
  8171. "type": "string"
  8172. },
  8173. "marketid": {
  8174. "description": "市场ID",
  8175. "type": "integer"
  8176. },
  8177. "mindeliveryqty": {
  8178. "description": "最小交割系数(K)",
  8179. "type": "integer"
  8180. },
  8181. "p2deliveryprice": {
  8182. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  8183. "type": "number"
  8184. },
  8185. "p2deliveryratio": {
  8186. "description": "P2合约系数(p)",
  8187. "type": "integer"
  8188. },
  8189. "p2goodsid": {
  8190. "description": "P2合约ID",
  8191. "type": "integer"
  8192. },
  8193. "p2pricemode": {
  8194. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  8195. "type": "integer"
  8196. },
  8197. "pdeliveryprice": {
  8198. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  8199. "type": "number"
  8200. },
  8201. "pdeliveryratio": {
  8202. "description": "P合约系数(n)",
  8203. "type": "integer"
  8204. },
  8205. "pgoodsid": {
  8206. "description": "P合约ID",
  8207. "type": "integer"
  8208. },
  8209. "ppricemode": {
  8210. "description": "P合约价格方式 - 1:商品价 2:固定值",
  8211. "type": "integer"
  8212. },
  8213. "rratio": {
  8214. "description": "兑换系数(R)",
  8215. "type": "integer"
  8216. },
  8217. "rratio1": {
  8218. "description": "兑换系数(交易合约)(R1)",
  8219. "type": "integer"
  8220. },
  8221. "rratio2": {
  8222. "description": "兑换系数(仓单标准)(R2)",
  8223. "type": "integer"
  8224. },
  8225. "selltemplateid": {
  8226. "description": "卖履约计划模板ID",
  8227. "type": "integer"
  8228. },
  8229. "wrstandardid": {
  8230. "description": "仓单标准ID",
  8231. "type": "integer"
  8232. },
  8233. "xdeliveryratio": {
  8234. "description": "交易合约系数(m)",
  8235. "type": "integer"
  8236. }
  8237. }
  8238. },
  8239. "ermcp.ExposureDetailRsp": {
  8240. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  8241. },
  8242. "ermcp.ExposureHedgePosDetailRsp": {
  8243. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  8244. },
  8245. "ermcp.ExposureHedgePositionRsp": {
  8246. "$ref": "#/definitions/models.ErmcpHedgePosition"
  8247. },
  8248. "ermcp.ExposureSpotDetailRsp": {
  8249. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  8250. },
  8251. "ermcp.ExposureSpotRsp": {
  8252. "$ref": "#/definitions/models.AreaSpotModel"
  8253. },
  8254. "ermcp.HisExposureRsp": {
  8255. "$ref": "#/definitions/models.ErmcpHisExposureS"
  8256. },
  8257. "ermcp.PendingAuditCntRsp": {
  8258. "$ref": "#/definitions/models.ErmcpPendingAudit"
  8259. },
  8260. "ermcp.QryAreaStockApplyRsp": {
  8261. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  8262. },
  8263. "ermcp.QryAvalidGPRsp": {
  8264. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  8265. },
  8266. "ermcp.QryBusinessDjRsp": {
  8267. "type": "object",
  8268. "properties": {
  8269. "amount": {
  8270. "description": "点价金额=(点价价格+升贴水)*点价数量",
  8271. "type": "number"
  8272. },
  8273. "applyid": {
  8274. "description": "申请人",
  8275. "type": "string"
  8276. },
  8277. "applyname": {
  8278. "description": "申请人名称",
  8279. "type": "string"
  8280. },
  8281. "applystatus": {
  8282. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8283. "type": "integer"
  8284. },
  8285. "applytime": {
  8286. "description": "申请时间",
  8287. "type": "string"
  8288. },
  8289. "attachurl": {
  8290. "description": "附件",
  8291. "type": "string"
  8292. },
  8293. "auditid": {
  8294. "description": "审核人ID",
  8295. "type": "string"
  8296. },
  8297. "auditname": {
  8298. "description": "审核人名称",
  8299. "type": "string"
  8300. },
  8301. "audittime": {
  8302. "description": "审核时间",
  8303. "type": "string"
  8304. },
  8305. "buyusername": {
  8306. "description": "采购方名称",
  8307. "type": "string"
  8308. },
  8309. "contractno": {
  8310. "description": "合同编号",
  8311. "type": "string"
  8312. },
  8313. "contractstatus": {
  8314. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8315. "type": "integer"
  8316. },
  8317. "contracttype": {
  8318. "description": "现货合同类型 - 1:采购 -1:销售",
  8319. "type": "integer"
  8320. },
  8321. "enumdicname": {
  8322. "description": "单位名称",
  8323. "type": "string"
  8324. },
  8325. "goodscode": {
  8326. "description": "点价合约",
  8327. "type": "string"
  8328. },
  8329. "goodsname": {
  8330. "description": "商品名称",
  8331. "type": "string"
  8332. },
  8333. "operateapplyid": {
  8334. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8335. "type": "string"
  8336. },
  8337. "operateapplytype": {
  8338. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8339. "type": "integer"
  8340. },
  8341. "pricedPrice": {
  8342. "description": "点价价格(非必填)",
  8343. "type": "number"
  8344. },
  8345. "pricedQty": {
  8346. "description": "点价数量(非必填)",
  8347. "type": "number"
  8348. },
  8349. "pricemove": {
  8350. "description": "升贴水",
  8351. "type": "number"
  8352. },
  8353. "pricetype": {
  8354. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8355. "type": "integer"
  8356. },
  8357. "relatedid": {
  8358. "description": "现货合同ID",
  8359. "type": "string"
  8360. },
  8361. "sellusername": {
  8362. "description": "销售方名字",
  8363. "type": "string"
  8364. },
  8365. "userid": {
  8366. "description": "用户ID",
  8367. "type": "integer"
  8368. },
  8369. "wrstandardcode": {
  8370. "description": "现货商品代码",
  8371. "type": "string"
  8372. },
  8373. "wrstandardid": {
  8374. "description": "现货商品id",
  8375. "type": "integer"
  8376. },
  8377. "wrstandardname": {
  8378. "description": "现货商品名称",
  8379. "type": "string"
  8380. }
  8381. }
  8382. },
  8383. "ermcp.QryBussinessFpRsp": {
  8384. "type": "object",
  8385. "properties": {
  8386. "applyid": {
  8387. "description": "申请人",
  8388. "type": "string"
  8389. },
  8390. "applyname": {
  8391. "description": "申请人名称",
  8392. "type": "string"
  8393. },
  8394. "applystatus": {
  8395. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8396. "type": "integer"
  8397. },
  8398. "applytime": {
  8399. "description": "申请时间",
  8400. "type": "string"
  8401. },
  8402. "attachurl": {
  8403. "description": "附件",
  8404. "type": "string"
  8405. },
  8406. "auditid": {
  8407. "description": "审核人ID",
  8408. "type": "string"
  8409. },
  8410. "auditname": {
  8411. "description": "审核人名称",
  8412. "type": "string"
  8413. },
  8414. "audittime": {
  8415. "description": "审核时间",
  8416. "type": "string"
  8417. },
  8418. "buyusername": {
  8419. "description": "采购方名称",
  8420. "type": "string"
  8421. },
  8422. "contractno": {
  8423. "description": "合同编号",
  8424. "type": "string"
  8425. },
  8426. "contractstatus": {
  8427. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8428. "type": "integer"
  8429. },
  8430. "contracttype": {
  8431. "description": "现货合同类型 - 1:采购 -1:销售",
  8432. "type": "integer"
  8433. },
  8434. "enumdicname": {
  8435. "description": "单位名称",
  8436. "type": "string"
  8437. },
  8438. "goodscode": {
  8439. "description": "点价合约",
  8440. "type": "string"
  8441. },
  8442. "goodsname": {
  8443. "description": "商品名称",
  8444. "type": "string"
  8445. },
  8446. "invoiceAmount": {
  8447. "description": "已开收票金额(销售为开票,采购为收票)",
  8448. "type": "number"
  8449. },
  8450. "operateapplyid": {
  8451. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8452. "type": "string"
  8453. },
  8454. "operateapplytype": {
  8455. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8456. "type": "integer"
  8457. },
  8458. "pricemove": {
  8459. "description": "升贴水",
  8460. "type": "number"
  8461. },
  8462. "pricetype": {
  8463. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8464. "type": "integer"
  8465. },
  8466. "relatedid": {
  8467. "description": "现货合同ID",
  8468. "type": "string"
  8469. },
  8470. "sellusername": {
  8471. "description": "销售方名字",
  8472. "type": "string"
  8473. },
  8474. "userid": {
  8475. "description": "用户ID",
  8476. "type": "integer"
  8477. },
  8478. "wrstandardcode": {
  8479. "description": "现货商品代码",
  8480. "type": "string"
  8481. },
  8482. "wrstandardid": {
  8483. "description": "现货商品id",
  8484. "type": "integer"
  8485. },
  8486. "wrstandardname": {
  8487. "description": "现货商品名称",
  8488. "type": "string"
  8489. }
  8490. }
  8491. },
  8492. "ermcp.QryBussinessJsExRsp": {
  8493. "type": "object",
  8494. "properties": {
  8495. "applyid": {
  8496. "description": "申请人",
  8497. "type": "string"
  8498. },
  8499. "applyname": {
  8500. "description": "申请人名称",
  8501. "type": "string"
  8502. },
  8503. "applystatus": {
  8504. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8505. "type": "integer"
  8506. },
  8507. "applytime": {
  8508. "description": "申请时间",
  8509. "type": "string"
  8510. },
  8511. "attachurl": {
  8512. "description": "附件",
  8513. "type": "string"
  8514. },
  8515. "auditid": {
  8516. "description": "审核人ID",
  8517. "type": "string"
  8518. },
  8519. "auditname": {
  8520. "description": "审核人名称",
  8521. "type": "string"
  8522. },
  8523. "audittime": {
  8524. "description": "审核时间",
  8525. "type": "string"
  8526. },
  8527. "buyusername": {
  8528. "description": "采购方名称",
  8529. "type": "string"
  8530. },
  8531. "contractno": {
  8532. "description": "合同编号",
  8533. "type": "string"
  8534. },
  8535. "contractstatus": {
  8536. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8537. "type": "integer"
  8538. },
  8539. "contracttype": {
  8540. "description": "现货合同类型 - 1:采购 -1:销售",
  8541. "type": "integer"
  8542. },
  8543. "enumdicname": {
  8544. "description": "单位名称",
  8545. "type": "string"
  8546. },
  8547. "goodscode": {
  8548. "description": "点价合约",
  8549. "type": "string"
  8550. },
  8551. "goodsname": {
  8552. "description": "商品名称",
  8553. "type": "string"
  8554. },
  8555. "operateapplyid": {
  8556. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8557. "type": "string"
  8558. },
  8559. "operateapplytype": {
  8560. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8561. "type": "integer"
  8562. },
  8563. "pricemove": {
  8564. "description": "升贴水",
  8565. "type": "number"
  8566. },
  8567. "pricetype": {
  8568. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8569. "type": "integer"
  8570. },
  8571. "reckontype": {
  8572. "description": "结算类型",
  8573. "type": "string"
  8574. },
  8575. "reckonvalue": {
  8576. "description": "值",
  8577. "type": "number"
  8578. },
  8579. "relatedid": {
  8580. "description": "现货合同ID",
  8581. "type": "string"
  8582. },
  8583. "sellusername": {
  8584. "description": "销售方名字",
  8585. "type": "string"
  8586. },
  8587. "userid": {
  8588. "description": "用户ID",
  8589. "type": "integer"
  8590. },
  8591. "wrstandardcode": {
  8592. "description": "现货商品代码",
  8593. "type": "string"
  8594. },
  8595. "wrstandardid": {
  8596. "description": "现货商品id",
  8597. "type": "integer"
  8598. },
  8599. "wrstandardname": {
  8600. "description": "现货商品名称",
  8601. "type": "string"
  8602. }
  8603. }
  8604. },
  8605. "ermcp.QryBussinessJsRsp": {
  8606. "type": "object",
  8607. "properties": {
  8608. "addmargin": {
  8609. "description": "追加保证金(非必填)",
  8610. "type": "number"
  8611. },
  8612. "applyid": {
  8613. "description": "申请人",
  8614. "type": "string"
  8615. },
  8616. "applyname": {
  8617. "description": "申请人名称",
  8618. "type": "string"
  8619. },
  8620. "applystatus": {
  8621. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8622. "type": "integer"
  8623. },
  8624. "applytime": {
  8625. "description": "申请时间",
  8626. "type": "string"
  8627. },
  8628. "attachurl": {
  8629. "description": "附件",
  8630. "type": "string"
  8631. },
  8632. "auditid": {
  8633. "description": "审核人ID",
  8634. "type": "string"
  8635. },
  8636. "auditname": {
  8637. "description": "审核人名称",
  8638. "type": "string"
  8639. },
  8640. "audittime": {
  8641. "description": "审核时间",
  8642. "type": "string"
  8643. },
  8644. "buyusername": {
  8645. "description": "采购方名称",
  8646. "type": "string"
  8647. },
  8648. "contractno": {
  8649. "description": "合同编号",
  8650. "type": "string"
  8651. },
  8652. "contractstatus": {
  8653. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8654. "type": "integer"
  8655. },
  8656. "contracttype": {
  8657. "description": "现货合同类型 - 1:采购 -1:销售",
  8658. "type": "integer"
  8659. },
  8660. "decmargin": {
  8661. "description": "减少保证金(非必填)",
  8662. "type": "number"
  8663. },
  8664. "enumdicname": {
  8665. "description": "单位名称",
  8666. "type": "string"
  8667. },
  8668. "goodscode": {
  8669. "description": "点价合约",
  8670. "type": "string"
  8671. },
  8672. "goodsname": {
  8673. "description": "商品名称",
  8674. "type": "string"
  8675. },
  8676. "operateapplyid": {
  8677. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8678. "type": "string"
  8679. },
  8680. "operateapplytype": {
  8681. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8682. "type": "integer"
  8683. },
  8684. "pricemove": {
  8685. "description": "升贴水",
  8686. "type": "number"
  8687. },
  8688. "pricetype": {
  8689. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8690. "type": "integer"
  8691. },
  8692. "reckonadjustamount": {
  8693. "description": "结算调整金额(非必填)",
  8694. "type": "number"
  8695. },
  8696. "reckonosamount": {
  8697. "description": "结算溢短金额(非必填)",
  8698. "type": "number"
  8699. },
  8700. "reckonotheramount": {
  8701. "description": "结算其他费用(非必填)",
  8702. "type": "number"
  8703. },
  8704. "reckonrealqty": {
  8705. "description": "结算实际数量(非必填)",
  8706. "type": "number"
  8707. },
  8708. "relatedid": {
  8709. "description": "现货合同ID",
  8710. "type": "string"
  8711. },
  8712. "sellusername": {
  8713. "description": "销售方名字",
  8714. "type": "string"
  8715. },
  8716. "userid": {
  8717. "description": "用户ID",
  8718. "type": "integer"
  8719. },
  8720. "wrstandardcode": {
  8721. "description": "现货商品代码",
  8722. "type": "string"
  8723. },
  8724. "wrstandardid": {
  8725. "description": "现货商品id",
  8726. "type": "integer"
  8727. },
  8728. "wrstandardname": {
  8729. "description": "现货商品名称",
  8730. "type": "string"
  8731. }
  8732. }
  8733. },
  8734. "ermcp.QryBussinessKxRsp": {
  8735. "type": "object",
  8736. "properties": {
  8737. "applyid": {
  8738. "description": "申请人",
  8739. "type": "string"
  8740. },
  8741. "applyname": {
  8742. "description": "申请人名称",
  8743. "type": "string"
  8744. },
  8745. "applystatus": {
  8746. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8747. "type": "integer"
  8748. },
  8749. "applytime": {
  8750. "description": "申请时间",
  8751. "type": "string"
  8752. },
  8753. "attachurl": {
  8754. "description": "附件",
  8755. "type": "string"
  8756. },
  8757. "auditid": {
  8758. "description": "审核人ID",
  8759. "type": "string"
  8760. },
  8761. "auditname": {
  8762. "description": "审核人名称",
  8763. "type": "string"
  8764. },
  8765. "audittime": {
  8766. "description": "审核时间",
  8767. "type": "string"
  8768. },
  8769. "buyusername": {
  8770. "description": "采购方名称",
  8771. "type": "string"
  8772. },
  8773. "contractno": {
  8774. "description": "合同编号",
  8775. "type": "string"
  8776. },
  8777. "contractstatus": {
  8778. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8779. "type": "integer"
  8780. },
  8781. "contracttype": {
  8782. "description": "现货合同类型 - 1:采购 -1:销售",
  8783. "type": "integer"
  8784. },
  8785. "deductamount": {
  8786. "description": "退款(非必填)",
  8787. "type": "number"
  8788. },
  8789. "enumdicname": {
  8790. "description": "单位名称",
  8791. "type": "string"
  8792. },
  8793. "goodscode": {
  8794. "description": "点价合约",
  8795. "type": "string"
  8796. },
  8797. "goodsname": {
  8798. "description": "商品名称",
  8799. "type": "string"
  8800. },
  8801. "kxtype": {
  8802. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  8803. "type": "integer"
  8804. },
  8805. "operateapplyid": {
  8806. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8807. "type": "string"
  8808. },
  8809. "operateapplytype": {
  8810. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8811. "type": "integer"
  8812. },
  8813. "payamount": {
  8814. "description": "收付款(非必填)",
  8815. "type": "number"
  8816. },
  8817. "pricemove": {
  8818. "description": "升贴水",
  8819. "type": "number"
  8820. },
  8821. "pricetype": {
  8822. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8823. "type": "integer"
  8824. },
  8825. "relatedid": {
  8826. "description": "现货合同ID",
  8827. "type": "string"
  8828. },
  8829. "sellusername": {
  8830. "description": "销售方名字",
  8831. "type": "string"
  8832. },
  8833. "userid": {
  8834. "description": "用户ID",
  8835. "type": "integer"
  8836. },
  8837. "wrstandardcode": {
  8838. "description": "现货商品代码",
  8839. "type": "string"
  8840. },
  8841. "wrstandardid": {
  8842. "description": "现货商品id",
  8843. "type": "integer"
  8844. },
  8845. "wrstandardname": {
  8846. "description": "现货商品名称",
  8847. "type": "string"
  8848. }
  8849. }
  8850. },
  8851. "ermcp.QryErmcpRsp": {
  8852. "$ref": "#/definitions/models.ErmcpModel"
  8853. },
  8854. "ermcp.QryGGCovertCfgRsp": {
  8855. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  8856. },
  8857. "ermcp.QryHedgePlanRsp": {
  8858. "$ref": "#/definitions/models.ErmcpHedgePlan"
  8859. },
  8860. "ermcp.QryMGChangeLogRsp": {
  8861. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  8862. },
  8863. "ermcp.QryMiddleGoodsDetailRsp": {
  8864. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  8865. },
  8866. "ermcp.QryMiddleGoodsRsp": {
  8867. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8868. },
  8869. "ermcp.QryOPLogRsp": {
  8870. "$ref": "#/definitions/models.ErmcpOPLogModel"
  8871. },
  8872. "ermcp.QryReportDaySpotDetailRsp": {
  8873. "$ref": "#/definitions/models.ErmcpReportOPLog"
  8874. },
  8875. "ermcp.QryReportExposureDayRsp": {
  8876. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  8877. },
  8878. "ermcp.QryReportFinanceDayRsp": {
  8879. "$ref": "#/definitions/models.ErmcpReportDayFR"
  8880. },
  8881. "ermcp.QryReportFinanceKxRsp": {
  8882. "$ref": "#/definitions/models.ErmcpReportOPLog"
  8883. },
  8884. "ermcp.QryReportFinanceMonRsp": {
  8885. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  8886. },
  8887. "ermcp.QryReportSpotDayRsp": {
  8888. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  8889. },
  8890. "ermcp.QryReportSpotMonRsp": {
  8891. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  8892. },
  8893. "ermcp.QryReportSpotMonthDetailRsp": {
  8894. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  8895. },
  8896. "ermcp.QrySpotContractRsp": {
  8897. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  8898. },
  8899. "ermcp.QryUserInfoRsp": {
  8900. "$ref": "#/definitions/models.ErmcpUserModel"
  8901. },
  8902. "ermcp.QryWarehouseRsp": {
  8903. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  8904. },
  8905. "ermcp.QryWrStandardDetailRsp": {
  8906. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  8907. },
  8908. "ermcp.QryWrStandardRsp": {
  8909. "$ref": "#/definitions/models.ErmcpWrstandard"
  8910. },
  8911. "ermcp.QueryAreaStockApplySumRsp": {
  8912. "$ref": "#/definitions/models.ErmcpAreaStockApplySum"
  8913. },
  8914. "ermcp.QueryErmcpTradePositionRsp": {
  8915. "type": "object",
  8916. "properties": {
  8917. "agreeunit": {
  8918. "description": "合约单位",
  8919. "type": "number"
  8920. },
  8921. "buyorsell": {
  8922. "description": "方向 - 0:买 1:卖",
  8923. "type": "integer"
  8924. },
  8925. "curpositionqty": {
  8926. "description": "持仓(总仓数量, 期末头寸)",
  8927. "type": "integer"
  8928. },
  8929. "curtdposition": {
  8930. "description": "今仓数量(期末今日头寸)",
  8931. "type": "integer"
  8932. },
  8933. "curtdpositionenabled": {
  8934. "description": "今仓可用",
  8935. "type": "integer"
  8936. },
  8937. "decimalplace": {
  8938. "description": "报价小数位",
  8939. "type": "integer"
  8940. },
  8941. "enableqty": {
  8942. "description": "可用(总仓可用)",
  8943. "type": "integer"
  8944. },
  8945. "exexchangename": {
  8946. "description": "外部交易所名称",
  8947. "type": "string"
  8948. },
  8949. "goodscode": {
  8950. "description": "商品代码(内部)",
  8951. "type": "string"
  8952. },
  8953. "goodsid": {
  8954. "description": "商品ID(自增ID SEQ_GOODS)",
  8955. "type": "integer"
  8956. },
  8957. "goodsname": {
  8958. "description": "商品名称",
  8959. "type": "string"
  8960. },
  8961. "last": {
  8962. "description": "现价",
  8963. "type": "number"
  8964. },
  8965. "marketid": {
  8966. "description": "所属市场ID",
  8967. "type": "integer"
  8968. },
  8969. "openaverageprice": {
  8970. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  8971. "type": "number"
  8972. },
  8973. "opencost": {
  8974. "description": "开仓成本",
  8975. "type": "number"
  8976. },
  8977. "openpl": {
  8978. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  8979. "type": "number"
  8980. },
  8981. "outgoodscode": {
  8982. "description": "商品代码(外部)",
  8983. "type": "string"
  8984. },
  8985. "positionaverageprice": {
  8986. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  8987. "type": "number"
  8988. },
  8989. "positioncost": {
  8990. "description": "持仓成本",
  8991. "type": "number"
  8992. },
  8993. "positionpl": {
  8994. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  8995. "type": "number"
  8996. },
  8997. "positionplrate": {
  8998. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  8999. "type": "number"
  9000. },
  9001. "usedmargin": {
  9002. "description": "占用保证金",
  9003. "type": "number"
  9004. }
  9005. }
  9006. },
  9007. "ermcp.RealtimeExposurePositionRsp": {
  9008. "$ref": "#/definitions/models.ErmcpExposurePostion"
  9009. },
  9010. "ermcp.RealtimeExposureRsp": {
  9011. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  9012. },
  9013. "erms2.QueryArbitrageStrategyRsp": {
  9014. "type": "object",
  9015. "required": [
  9016. "asapplyid"
  9017. ],
  9018. "properties": {
  9019. "applybasis": {
  9020. "description": "申请基差",
  9021. "type": "number"
  9022. },
  9023. "asapplyid": {
  9024. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9025. "type": "string"
  9026. },
  9027. "asname": {
  9028. "description": "策略名称",
  9029. "type": "string"
  9030. },
  9031. "asno": {
  9032. "description": "策略编号",
  9033. "type": "string"
  9034. },
  9035. "basischangepl": {
  9036. "description": "基差变动损益[结算更新]",
  9037. "type": "number"
  9038. },
  9039. "biztype": {
  9040. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9041. "type": "integer"
  9042. },
  9043. "closetradedate": {
  9044. "description": "完结交易日(yyyyMMdd)",
  9045. "type": "string"
  9046. },
  9047. "curbasis": {
  9048. "description": "当前基差[结算更新]",
  9049. "type": "number"
  9050. },
  9051. "deliverygoodsid": {
  9052. "description": "现货品种ID",
  9053. "type": "integer"
  9054. },
  9055. "futureavgprice": {
  9056. "description": "期货建仓均价",
  9057. "type": "number"
  9058. },
  9059. "futurecloseamount": {
  9060. "description": "期货平仓金额",
  9061. "type": "number"
  9062. },
  9063. "futurecloseqty": {
  9064. "description": "期货平仓数量",
  9065. "type": "number"
  9066. },
  9067. "futureopenamount": {
  9068. "description": "期货开仓金额",
  9069. "type": "number"
  9070. },
  9071. "futureopenqty": {
  9072. "description": "期货开仓数量",
  9073. "type": "number"
  9074. },
  9075. "futurepl": {
  9076. "description": "期货总盈亏[结算更新]",
  9077. "type": "number"
  9078. },
  9079. "futureqty": {
  9080. "description": "期货持仓数量",
  9081. "type": "number"
  9082. },
  9083. "futurequote": {
  9084. "description": "期货额度",
  9085. "type": "number"
  9086. },
  9087. "goodsgroupid": {
  9088. "description": "期货品种ID",
  9089. "type": "integer"
  9090. },
  9091. "marketid": {
  9092. "description": "市场ID",
  9093. "type": "integer"
  9094. },
  9095. "netexposure": {
  9096. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9097. "type": "number"
  9098. },
  9099. "netexposurepl": {
  9100. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9101. "type": "number"
  9102. },
  9103. "netexposurerate": {
  9104. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9105. "type": "number"
  9106. },
  9107. "openbasis": {
  9108. "description": "建仓基差",
  9109. "type": "number"
  9110. },
  9111. "pricedspotqty": {
  9112. "description": "已定价现货数量",
  9113. "type": "number"
  9114. },
  9115. "pricedspotqtynotax": {
  9116. "description": "已定价现货不含税数量",
  9117. "type": "number"
  9118. },
  9119. "remark": {
  9120. "description": "备注",
  9121. "type": "string"
  9122. },
  9123. "spotavgprice": {
  9124. "description": "现货均价",
  9125. "type": "number"
  9126. },
  9127. "spotbuyamount": {
  9128. "description": "现货采购金额",
  9129. "type": "number"
  9130. },
  9131. "spotbuyqty": {
  9132. "description": "现货采购数量",
  9133. "type": "number"
  9134. },
  9135. "spotpl": {
  9136. "description": "现货总盈亏[结算更新]",
  9137. "type": "number"
  9138. },
  9139. "spotquota": {
  9140. "description": "现货额度",
  9141. "type": "number"
  9142. },
  9143. "spotsellamount": {
  9144. "description": "现货销售金额",
  9145. "type": "number"
  9146. },
  9147. "spotsellqty": {
  9148. "description": "现货销售数量",
  9149. "type": "number"
  9150. },
  9151. "spotusedquota": {
  9152. "description": "现货占用资金",
  9153. "type": "number"
  9154. },
  9155. "strategystatus": {
  9156. "description": "策略状态 - 0:未结束 1:已结束",
  9157. "type": "integer"
  9158. },
  9159. "totalpl": {
  9160. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9161. "type": "number"
  9162. },
  9163. "tradedate": {
  9164. "description": "交易日(yyyyMMdd)",
  9165. "type": "string"
  9166. },
  9167. "updatetime": {
  9168. "description": "更新时间",
  9169. "type": "string"
  9170. },
  9171. "usedquota": {
  9172. "description": "已占用资金",
  9173. "type": "number"
  9174. },
  9175. "userid": {
  9176. "description": "所属机构",
  9177. "type": "integer"
  9178. }
  9179. }
  9180. },
  9181. "erms2.QueryInnerTradeDetailRsp": {
  9182. "type": "object",
  9183. "required": [
  9184. "asapplyid",
  9185. "buyorsell",
  9186. "goodscode",
  9187. "goodsgroupid",
  9188. "goodsgroupname",
  9189. "goodsname",
  9190. "tradeid"
  9191. ],
  9192. "properties": {
  9193. "accountid": {
  9194. "description": "账号ID",
  9195. "type": "integer"
  9196. },
  9197. "agreeunit": {
  9198. "description": "合约单位",
  9199. "type": "number"
  9200. },
  9201. "asapplyid": {
  9202. "description": "策略申请ID",
  9203. "type": "integer"
  9204. },
  9205. "asname": {
  9206. "description": "策略名称",
  9207. "type": "string"
  9208. },
  9209. "asno": {
  9210. "description": "策略编号",
  9211. "type": "string"
  9212. },
  9213. "buyorsell": {
  9214. "description": "方向 - 0:买 1:卖",
  9215. "type": "integer"
  9216. },
  9217. "channelbuildtype": {
  9218. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9219. "type": "integer"
  9220. },
  9221. "closetype": {
  9222. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9223. "type": "integer"
  9224. },
  9225. "decimalplace": {
  9226. "description": "报价小数位",
  9227. "type": "integer"
  9228. },
  9229. "detailtype": {
  9230. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9231. "type": "integer"
  9232. },
  9233. "exexchangecode": {
  9234. "description": "外部交易所代码",
  9235. "type": "string"
  9236. },
  9237. "exexchangename": {
  9238. "description": "外部交易所名称",
  9239. "type": "string"
  9240. },
  9241. "goodscode": {
  9242. "description": "商品代码(合约)",
  9243. "type": "string"
  9244. },
  9245. "goodsgroupid": {
  9246. "description": "商品组ID(品种ID)",
  9247. "type": "integer"
  9248. },
  9249. "goodsgroupname": {
  9250. "description": "商品组名称(品种)",
  9251. "type": "string"
  9252. },
  9253. "goodsid": {
  9254. "description": "商品ID",
  9255. "type": "integer"
  9256. },
  9257. "goodsname": {
  9258. "description": "商品名称(合约)",
  9259. "type": "string"
  9260. },
  9261. "goodunit": {
  9262. "description": "报价单位",
  9263. "type": "string"
  9264. },
  9265. "marketid": {
  9266. "description": "市场ID",
  9267. "type": "integer"
  9268. },
  9269. "orderid": {
  9270. "description": "委托单号",
  9271. "type": "string"
  9272. },
  9273. "outgoodscode": {
  9274. "description": "商品代码(外部)",
  9275. "type": "string"
  9276. },
  9277. "relatedouttradeid": {
  9278. "description": "关联外部成交单ID",
  9279. "type": "string"
  9280. },
  9281. "remark": {
  9282. "description": "备注",
  9283. "type": "string"
  9284. },
  9285. "spotcontractid": {
  9286. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  9287. "type": "integer"
  9288. },
  9289. "spotcontractno": {
  9290. "description": "现货合同编号",
  9291. "type": "string"
  9292. },
  9293. "tradeid": {
  9294. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9295. "type": "string"
  9296. },
  9297. "tradeprice": {
  9298. "description": "成交价格",
  9299. "type": "number"
  9300. },
  9301. "tradeqty": {
  9302. "description": "成交数量",
  9303. "type": "integer"
  9304. },
  9305. "tradetime": {
  9306. "description": "成交时间",
  9307. "type": "string"
  9308. },
  9309. "updatetime": {
  9310. "description": "更新时间",
  9311. "type": "string"
  9312. }
  9313. }
  9314. },
  9315. "erms2.QuerySpotContractRsp": {
  9316. "type": "object",
  9317. "required": [
  9318. "spotcontractid"
  9319. ],
  9320. "properties": {
  9321. "accountid": {
  9322. "description": "资金账户ID",
  9323. "type": "integer"
  9324. },
  9325. "areauserid": {
  9326. "description": "所属机构",
  9327. "type": "integer"
  9328. },
  9329. "closedate": {
  9330. "description": "终止日期",
  9331. "type": "string"
  9332. },
  9333. "closeremark": {
  9334. "description": "结束备注",
  9335. "type": "string"
  9336. },
  9337. "closetradedate": {
  9338. "description": "完结交易日(yyyyMMdd)",
  9339. "type": "string"
  9340. },
  9341. "closetype": {
  9342. "description": "终止类型 - 1:违约 2:提前终止",
  9343. "type": "integer"
  9344. },
  9345. "contractamount": {
  9346. "description": "合同金额",
  9347. "type": "number"
  9348. },
  9349. "contractattachment": {
  9350. "description": "合同附件",
  9351. "type": "string"
  9352. },
  9353. "contractno": {
  9354. "description": "现货合同编号",
  9355. "type": "string"
  9356. },
  9357. "contractqty": {
  9358. "description": "合同数量(数值) (用于计算)",
  9359. "type": "number"
  9360. },
  9361. "contractqtychar": {
  9362. "description": "合同数量\\已订价数量 (用于显示)",
  9363. "type": "string"
  9364. },
  9365. "contractstatus": {
  9366. "description": "合同状态 - 0:未结束 1:已结束",
  9367. "type": "integer"
  9368. },
  9369. "contracttype": {
  9370. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  9371. "type": "integer"
  9372. },
  9373. "customeraccountid": {
  9374. "description": "客户资金账户ID",
  9375. "type": "integer"
  9376. },
  9377. "customeruserid": {
  9378. "description": "客户ID",
  9379. "type": "integer"
  9380. },
  9381. "deliverygoodsdesc": {
  9382. "description": "品种说明",
  9383. "type": "string"
  9384. },
  9385. "deliverygoodsid": {
  9386. "description": "现货品种ID",
  9387. "type": "integer"
  9388. },
  9389. "handlestatus": {
  9390. "description": "处理状态",
  9391. "type": "integer"
  9392. },
  9393. "invoiceatt": {
  9394. "description": "发票附件",
  9395. "type": "string"
  9396. },
  9397. "invoicedatetime": {
  9398. "description": "开收票更新时间",
  9399. "type": "string"
  9400. },
  9401. "invoiceopentime": {
  9402. "description": "开票时间",
  9403. "type": "string"
  9404. },
  9405. "invoiceremark": {
  9406. "description": "发票备注",
  9407. "type": "string"
  9408. },
  9409. "invoicestatus": {
  9410. "description": "开收票状态 - 0:未开票 1:已开票",
  9411. "type": "integer"
  9412. },
  9413. "lastdate": {
  9414. "description": "交货时间",
  9415. "type": "string"
  9416. },
  9417. "marketid": {
  9418. "description": "市场ID",
  9419. "type": "integer"
  9420. },
  9421. "paydatetime": {
  9422. "description": "收付款更新时间",
  9423. "type": "string"
  9424. },
  9425. "payremark": {
  9426. "description": "收付款备注",
  9427. "type": "string"
  9428. },
  9429. "paystatus": {
  9430. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  9431. "type": "integer"
  9432. },
  9433. "positionqty": {
  9434. "description": "头寸数量 - 合同数量去小数部分",
  9435. "type": "integer"
  9436. },
  9437. "producttype": {
  9438. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9439. "type": "integer"
  9440. },
  9441. "relatedqty": {
  9442. "description": "已关联数量",
  9443. "type": "number"
  9444. },
  9445. "relatedstatus": {
  9446. "description": "关联完结状态 - 0:未结束 1:已结束",
  9447. "type": "integer"
  9448. },
  9449. "remark": {
  9450. "description": "备注",
  9451. "type": "string"
  9452. },
  9453. "signdate": {
  9454. "description": "签订日期",
  9455. "type": "string"
  9456. },
  9457. "spotcontractid": {
  9458. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  9459. "type": "string"
  9460. },
  9461. "spotdatetime": {
  9462. "description": "收发货更新时间",
  9463. "type": "string"
  9464. },
  9465. "spotprice": {
  9466. "description": "价格",
  9467. "type": "number"
  9468. },
  9469. "spotremark": {
  9470. "description": "收发货备注",
  9471. "type": "string"
  9472. },
  9473. "spotstatus": {
  9474. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  9475. "type": "integer"
  9476. },
  9477. "tradedate": {
  9478. "description": "交易日(yyyyMMdd)",
  9479. "type": "string"
  9480. },
  9481. "userid": {
  9482. "description": "业务员用户ID",
  9483. "type": "integer"
  9484. },
  9485. "warehouseid": {
  9486. "description": "仓库ID",
  9487. "type": "integer"
  9488. },
  9489. "wrfactortypeid": {
  9490. "description": "仓单要素类型ID",
  9491. "type": "integer"
  9492. },
  9493. "wrstandardid": {
  9494. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  9495. "type": "integer"
  9496. }
  9497. }
  9498. },
  9499. "erms3.AddErms2ASApplyReq": {
  9500. "type": "object",
  9501. "required": [
  9502. "asapplyid"
  9503. ],
  9504. "properties": {
  9505. "applybasis": {
  9506. "description": "申请基差",
  9507. "type": "number"
  9508. },
  9509. "applystatus": {
  9510. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9511. "type": "integer"
  9512. },
  9513. "asapplyid": {
  9514. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  9515. "type": "integer"
  9516. },
  9517. "asname": {
  9518. "description": "策略名称",
  9519. "type": "string"
  9520. },
  9521. "asno": {
  9522. "description": "策略编号",
  9523. "type": "string"
  9524. },
  9525. "auditid": {
  9526. "description": "审核人",
  9527. "type": "integer"
  9528. },
  9529. "auditremark": {
  9530. "description": "审核备注",
  9531. "type": "string"
  9532. },
  9533. "audittime": {
  9534. "description": "审核时间",
  9535. "type": "string"
  9536. },
  9537. "biztype": {
  9538. "description": "业务类型 - 1:正向套利 2:反向套利",
  9539. "type": "integer"
  9540. },
  9541. "createtime": {
  9542. "description": "创建时间",
  9543. "type": "string"
  9544. },
  9545. "creatorid": {
  9546. "description": "创建人",
  9547. "type": "integer"
  9548. },
  9549. "deliverygoodsid": {
  9550. "description": "现货品种ID",
  9551. "type": "integer"
  9552. },
  9553. "futurequote": {
  9554. "description": "期货额度",
  9555. "type": "number"
  9556. },
  9557. "goodsgroupid": {
  9558. "description": "期货品种ID",
  9559. "type": "integer"
  9560. },
  9561. "marketid": {
  9562. "description": "市场ID",
  9563. "type": "integer"
  9564. },
  9565. "remark": {
  9566. "description": "备注",
  9567. "type": "string"
  9568. },
  9569. "spotquota": {
  9570. "description": "现货额度",
  9571. "type": "number"
  9572. },
  9573. "tradedate": {
  9574. "description": "交易日(yyyyMMdd)",
  9575. "type": "string"
  9576. },
  9577. "userid": {
  9578. "description": "所属机构",
  9579. "type": "integer"
  9580. }
  9581. }
  9582. },
  9583. "erms3.AddErms2SpotTradeApplyReq": {
  9584. "type": "object",
  9585. "required": [
  9586. "spottradeid"
  9587. ],
  9588. "properties": {
  9589. "applyjsondetail": {
  9590. "description": "申请明细(JSON)",
  9591. "type": "string"
  9592. },
  9593. "applystatus": {
  9594. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9595. "type": "integer"
  9596. },
  9597. "areauserid": {
  9598. "description": "所属机构",
  9599. "type": "integer"
  9600. },
  9601. "auditid": {
  9602. "description": "审核人",
  9603. "type": "integer"
  9604. },
  9605. "auditremark": {
  9606. "description": "审核备注",
  9607. "type": "string"
  9608. },
  9609. "audittime": {
  9610. "description": "审核时间",
  9611. "type": "string"
  9612. },
  9613. "createtime": {
  9614. "description": "创建时间",
  9615. "type": "string"
  9616. },
  9617. "creatorid": {
  9618. "description": "创建人",
  9619. "type": "integer"
  9620. },
  9621. "deliverygoodsid": {
  9622. "description": "现货品种ID",
  9623. "type": "integer"
  9624. },
  9625. "futureaccountid": {
  9626. "description": "期货资金账户",
  9627. "type": "integer"
  9628. },
  9629. "goodsgroupid": {
  9630. "description": "期货品种",
  9631. "type": "integer"
  9632. },
  9633. "marketid": {
  9634. "description": "市场ID",
  9635. "type": "integer"
  9636. },
  9637. "remark": {
  9638. "description": "备注",
  9639. "type": "string"
  9640. },
  9641. "spotaccountid": {
  9642. "description": "现货资金账户",
  9643. "type": "integer"
  9644. },
  9645. "spottradeid": {
  9646. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  9647. "type": "integer"
  9648. },
  9649. "spottradename": {
  9650. "description": "业务名称",
  9651. "type": "string"
  9652. },
  9653. "spottradeno": {
  9654. "description": "业务编号",
  9655. "type": "string"
  9656. },
  9657. "tradedate": {
  9658. "description": "交易日(yyyyMMdd)",
  9659. "type": "string"
  9660. },
  9661. "wrstandardid": {
  9662. "description": "仓单标准ID",
  9663. "type": "integer"
  9664. }
  9665. }
  9666. },
  9667. "erms3.AddSpotContractApplyReq": {
  9668. "type": "object",
  9669. "required": [
  9670. "accountid",
  9671. "areauserid",
  9672. "contractno",
  9673. "contracttype",
  9674. "customeraccountid",
  9675. "customeruserid",
  9676. "details",
  9677. "orimargin",
  9678. "signdate"
  9679. ],
  9680. "properties": {
  9681. "accountid": {
  9682. "description": "资金账户ID",
  9683. "type": "integer"
  9684. },
  9685. "areauserid": {
  9686. "description": "所属机构",
  9687. "type": "integer"
  9688. },
  9689. "contractattachment": {
  9690. "description": "合同附件",
  9691. "type": "string"
  9692. },
  9693. "contractno": {
  9694. "description": "现货合同编号",
  9695. "type": "string"
  9696. },
  9697. "contracttype": {
  9698. "description": "现货合同类型 - 1:采购 -1:销售",
  9699. "type": "integer"
  9700. },
  9701. "creatorid": {
  9702. "description": "申请人",
  9703. "type": "integer"
  9704. },
  9705. "customeraccountid": {
  9706. "description": "客户资金账户ID",
  9707. "type": "integer"
  9708. },
  9709. "customeruserid": {
  9710. "description": "客户ID",
  9711. "type": "integer"
  9712. },
  9713. "details": {
  9714. "description": "明细",
  9715. "type": "array",
  9716. "items": {
  9717. "$ref": "#/definitions/erms3.SoptContractDetail"
  9718. }
  9719. },
  9720. "orimargin": {
  9721. "description": "初始保证金",
  9722. "type": "number"
  9723. },
  9724. "remark": {
  9725. "description": "备注",
  9726. "type": "string"
  9727. },
  9728. "signdate": {
  9729. "description": "签订日期",
  9730. "type": "string"
  9731. }
  9732. }
  9733. },
  9734. "erms3.AddSpotContractApplyRsp": {
  9735. "type": "object",
  9736. "required": [
  9737. "contractno"
  9738. ],
  9739. "properties": {
  9740. "contractno": {
  9741. "description": "现货合同编号",
  9742. "type": "string"
  9743. },
  9744. "spotcontractid": {
  9745. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  9746. "type": "integer"
  9747. }
  9748. }
  9749. },
  9750. "erms3.AddUserInfoApplyReq": {
  9751. "type": "object",
  9752. "required": [
  9753. "userid"
  9754. ],
  9755. "properties": {
  9756. "accountid": {
  9757. "description": "交易系统帐号Id (加密存储)",
  9758. "type": "integer"
  9759. },
  9760. "areacode": {
  9761. "description": "机构代码",
  9762. "type": "string"
  9763. },
  9764. "areaid": {
  9765. "description": "机构Id",
  9766. "type": "integer"
  9767. },
  9768. "attachment1": {
  9769. "description": "附件1",
  9770. "type": "string"
  9771. },
  9772. "attachment2": {
  9773. "description": "附件2",
  9774. "type": "string"
  9775. },
  9776. "attachment3": {
  9777. "description": "附件3",
  9778. "type": "string"
  9779. },
  9780. "attachment4": {
  9781. "description": "附件4",
  9782. "type": "string"
  9783. },
  9784. "attachment5": {
  9785. "description": "附件5",
  9786. "type": "string"
  9787. },
  9788. "auditedby": {
  9789. "description": "审核人",
  9790. "type": "string"
  9791. },
  9792. "auditime": {
  9793. "description": "审核时间",
  9794. "type": "string"
  9795. },
  9796. "bankaccount": {
  9797. "description": "银行帐号 (加密存储)",
  9798. "type": "string"
  9799. },
  9800. "bankaccountname": {
  9801. "description": "收款人名称",
  9802. "type": "string"
  9803. },
  9804. "bankcardbackphotourl": {
  9805. "description": "银行卡背面照地址",
  9806. "type": "string"
  9807. },
  9808. "bankcardfrontphotourl": {
  9809. "description": "银行卡正面照地址",
  9810. "type": "string"
  9811. },
  9812. "bankid": {
  9813. "description": "银行编码",
  9814. "type": "string"
  9815. },
  9816. "bankname": {
  9817. "description": "银行名称",
  9818. "type": "string"
  9819. },
  9820. "bankpictureurl": {
  9821. "description": "银行卡正面地址",
  9822. "type": "string"
  9823. },
  9824. "biznature": {
  9825. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9826. "type": "integer"
  9827. },
  9828. "bizscope": {
  9829. "description": "企业经营范围(企业)",
  9830. "type": "string"
  9831. },
  9832. "biztype": {
  9833. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  9834. "type": "integer"
  9835. },
  9836. "brokerid": {
  9837. "description": "经纪人ID(加密存储)",
  9838. "type": "string"
  9839. },
  9840. "cardaddress": {
  9841. "description": "证件地址 (加密存储)",
  9842. "type": "string"
  9843. },
  9844. "cardbackphotourl": {
  9845. "description": "背面证件照地址",
  9846. "type": "string"
  9847. },
  9848. "cardfrontphotourl": {
  9849. "description": "正面证件照地址",
  9850. "type": "string"
  9851. },
  9852. "cardnum": {
  9853. "description": "证件号码 (加密存储)",
  9854. "type": "string"
  9855. },
  9856. "cardtype": {
  9857. "description": "证件类型",
  9858. "type": "integer"
  9859. },
  9860. "cityid": {
  9861. "description": "市",
  9862. "type": "integer"
  9863. },
  9864. "company": {
  9865. "description": "公司(个人)",
  9866. "type": "string"
  9867. },
  9868. "contactcardbackphotourl": {
  9869. "description": "联系人证件背面图片地址",
  9870. "type": "string"
  9871. },
  9872. "contactcardfrontphotourl": {
  9873. "description": "联系人证件正面图片地址",
  9874. "type": "string"
  9875. },
  9876. "contactname": {
  9877. "description": "联系人",
  9878. "type": "string"
  9879. },
  9880. "countryid": {
  9881. "description": "国家",
  9882. "type": "integer"
  9883. },
  9884. "createtime": {
  9885. "description": "开户申请时间",
  9886. "type": "string"
  9887. },
  9888. "cusbankid": {
  9889. "description": "签约类型",
  9890. "type": "string"
  9891. },
  9892. "cusbankname": {
  9893. "description": "签约类型名称",
  9894. "type": "string"
  9895. },
  9896. "customername": {
  9897. "description": "客户名称(企业名称)",
  9898. "type": "string"
  9899. },
  9900. "districtid": {
  9901. "description": "地区",
  9902. "type": "integer"
  9903. },
  9904. "email": {
  9905. "description": "Email地址(加密存储)",
  9906. "type": "string"
  9907. },
  9908. "halfbodyphotourl": {
  9909. "description": "半身照地址",
  9910. "type": "string"
  9911. },
  9912. "headurl": {
  9913. "description": "头像地址",
  9914. "type": "string"
  9915. },
  9916. "ipaddress": {
  9917. "description": "IP地址",
  9918. "type": "string"
  9919. },
  9920. "isvalidate": {
  9921. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  9922. "type": "string"
  9923. },
  9924. "legalcardbackphotourl": {
  9925. "description": "法人身份证背面照地址",
  9926. "type": "string"
  9927. },
  9928. "legalcardfrontphotourl": {
  9929. "description": "法人身份证正面照地址",
  9930. "type": "string"
  9931. },
  9932. "legalpersonname": {
  9933. "description": "法人姓名(企业)",
  9934. "type": "string"
  9935. },
  9936. "logincode": {
  9937. "description": "登录帐号 (加密存储)",
  9938. "type": "string"
  9939. },
  9940. "memberareaid": {
  9941. "description": "所属会员ID",
  9942. "type": "integer"
  9943. },
  9944. "mobile2": {
  9945. "description": "手机号码[明文-尚志]",
  9946. "type": "string"
  9947. },
  9948. "mobilephone": {
  9949. "description": "手机号码 (加密存储)",
  9950. "type": "string"
  9951. },
  9952. "modifiedby": {
  9953. "description": "修改人帐号",
  9954. "type": "integer"
  9955. },
  9956. "modifiedtime": {
  9957. "description": "修改时间",
  9958. "type": "string"
  9959. },
  9960. "nickname": {
  9961. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  9962. "type": "string"
  9963. },
  9964. "openmode": {
  9965. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  9966. "type": "integer"
  9967. },
  9968. "otherurl": {
  9969. "description": "其它图片地址[使用分号分隔]",
  9970. "type": "string"
  9971. },
  9972. "postalcode": {
  9973. "description": "邮政编码",
  9974. "type": "string"
  9975. },
  9976. "provinceid": {
  9977. "description": "省",
  9978. "type": "integer"
  9979. },
  9980. "proxystatementurl": {
  9981. "description": "授权委托书",
  9982. "type": "string"
  9983. },
  9984. "qq": {
  9985. "description": "QQ(加密存储",
  9986. "type": "string"
  9987. },
  9988. "referral": {
  9989. "description": "推荐人编码",
  9990. "type": "string"
  9991. },
  9992. "remark": {
  9993. "description": "备注",
  9994. "type": "string"
  9995. },
  9996. "removebeforestatus": {
  9997. "description": "REMOVEBEFORESTATUS",
  9998. "type": "integer"
  9999. },
  10000. "sex": {
  10001. "description": "性别 - 0:女 1:男",
  10002. "type": "integer"
  10003. },
  10004. "signedstatus": {
  10005. "description": "账户一号签签约状态",
  10006. "type": "integer"
  10007. },
  10008. "signpdfurl": {
  10009. "description": "签约pdf文件",
  10010. "type": "string"
  10011. },
  10012. "subbranch": {
  10013. "description": "开户支行",
  10014. "type": "string"
  10015. },
  10016. "telphone": {
  10017. "description": "联系电话(加密存储)",
  10018. "type": "string"
  10019. },
  10020. "userid": {
  10021. "description": "用户ID(自增ID)",
  10022. "type": "integer"
  10023. },
  10024. "userinfotype": {
  10025. "description": "用户信息类型 - 1:个人 2:企业",
  10026. "type": "integer"
  10027. },
  10028. "username": {
  10029. "description": "用户姓名",
  10030. "type": "string"
  10031. },
  10032. "userstate": {
  10033. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10034. "type": "integer"
  10035. },
  10036. "usertype": {
  10037. "description": "用户类型 - 1:投资者 2:机构",
  10038. "type": "integer"
  10039. },
  10040. "videourl": {
  10041. "description": "视频地址",
  10042. "type": "string"
  10043. },
  10044. "wechat": {
  10045. "description": "微信号 (加密存储)",
  10046. "type": "string"
  10047. }
  10048. }
  10049. },
  10050. "erms3.CustomerInfo": {
  10051. "type": "object",
  10052. "required": [
  10053. "userid"
  10054. ],
  10055. "properties": {
  10056. "accountids": {
  10057. "description": "资金账户ID列表",
  10058. "type": "array",
  10059. "items": {
  10060. "type": "integer"
  10061. }
  10062. },
  10063. "customername": {
  10064. "description": "名称(企业名称)",
  10065. "type": "string"
  10066. },
  10067. "mobile": {
  10068. "description": "手机号码",
  10069. "type": "string"
  10070. },
  10071. "userid": {
  10072. "description": "用户ID",
  10073. "type": "integer"
  10074. }
  10075. }
  10076. },
  10077. "erms3.ModifyUserInfoApplyReq": {
  10078. "type": "object",
  10079. "required": [
  10080. "userid"
  10081. ],
  10082. "properties": {
  10083. "accountid": {
  10084. "description": "交易系统帐号Id (加密存储)",
  10085. "type": "integer"
  10086. },
  10087. "areacode": {
  10088. "description": "机构代码",
  10089. "type": "string"
  10090. },
  10091. "areaid": {
  10092. "description": "机构Id",
  10093. "type": "integer"
  10094. },
  10095. "attachment1": {
  10096. "description": "附件1",
  10097. "type": "string"
  10098. },
  10099. "attachment2": {
  10100. "description": "附件2",
  10101. "type": "string"
  10102. },
  10103. "attachment3": {
  10104. "description": "附件3",
  10105. "type": "string"
  10106. },
  10107. "attachment4": {
  10108. "description": "附件4",
  10109. "type": "string"
  10110. },
  10111. "attachment5": {
  10112. "description": "附件5",
  10113. "type": "string"
  10114. },
  10115. "auditedby": {
  10116. "description": "审核人",
  10117. "type": "string"
  10118. },
  10119. "auditime": {
  10120. "description": "审核时间",
  10121. "type": "string"
  10122. },
  10123. "bankaccount": {
  10124. "description": "银行帐号 (加密存储)",
  10125. "type": "string"
  10126. },
  10127. "bankaccountname": {
  10128. "description": "收款人名称",
  10129. "type": "string"
  10130. },
  10131. "bankcardbackphotourl": {
  10132. "description": "银行卡背面照地址",
  10133. "type": "string"
  10134. },
  10135. "bankcardfrontphotourl": {
  10136. "description": "银行卡正面照地址",
  10137. "type": "string"
  10138. },
  10139. "bankid": {
  10140. "description": "银行编码",
  10141. "type": "string"
  10142. },
  10143. "bankname": {
  10144. "description": "银行名称",
  10145. "type": "string"
  10146. },
  10147. "bankpictureurl": {
  10148. "description": "银行卡正面地址",
  10149. "type": "string"
  10150. },
  10151. "biznature": {
  10152. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10153. "type": "integer"
  10154. },
  10155. "bizscope": {
  10156. "description": "企业经营范围(企业)",
  10157. "type": "string"
  10158. },
  10159. "biztype": {
  10160. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10161. "type": "integer"
  10162. },
  10163. "brokerid": {
  10164. "description": "经纪人ID(加密存储)",
  10165. "type": "string"
  10166. },
  10167. "cardaddress": {
  10168. "description": "证件地址 (加密存储)",
  10169. "type": "string"
  10170. },
  10171. "cardbackphotourl": {
  10172. "description": "背面证件照地址",
  10173. "type": "string"
  10174. },
  10175. "cardfrontphotourl": {
  10176. "description": "正面证件照地址",
  10177. "type": "string"
  10178. },
  10179. "cardnum": {
  10180. "description": "证件号码 (加密存储)",
  10181. "type": "string"
  10182. },
  10183. "cardtype": {
  10184. "description": "证件类型",
  10185. "type": "integer"
  10186. },
  10187. "cityid": {
  10188. "description": "市",
  10189. "type": "integer"
  10190. },
  10191. "company": {
  10192. "description": "公司(个人)",
  10193. "type": "string"
  10194. },
  10195. "contactcardbackphotourl": {
  10196. "description": "联系人证件背面图片地址",
  10197. "type": "string"
  10198. },
  10199. "contactcardfrontphotourl": {
  10200. "description": "联系人证件正面图片地址",
  10201. "type": "string"
  10202. },
  10203. "contactname": {
  10204. "description": "联系人",
  10205. "type": "string"
  10206. },
  10207. "countryid": {
  10208. "description": "国家",
  10209. "type": "integer"
  10210. },
  10211. "createtime": {
  10212. "description": "开户申请时间",
  10213. "type": "string"
  10214. },
  10215. "cusbankid": {
  10216. "description": "签约类型",
  10217. "type": "string"
  10218. },
  10219. "cusbankname": {
  10220. "description": "签约类型名称",
  10221. "type": "string"
  10222. },
  10223. "customername": {
  10224. "description": "客户名称(企业名称)",
  10225. "type": "string"
  10226. },
  10227. "districtid": {
  10228. "description": "地区",
  10229. "type": "integer"
  10230. },
  10231. "email": {
  10232. "description": "Email地址(加密存储)",
  10233. "type": "string"
  10234. },
  10235. "halfbodyphotourl": {
  10236. "description": "半身照地址",
  10237. "type": "string"
  10238. },
  10239. "headurl": {
  10240. "description": "头像地址",
  10241. "type": "string"
  10242. },
  10243. "ipaddress": {
  10244. "description": "IP地址",
  10245. "type": "string"
  10246. },
  10247. "isvalidate": {
  10248. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10249. "type": "string"
  10250. },
  10251. "legalcardbackphotourl": {
  10252. "description": "法人身份证背面照地址",
  10253. "type": "string"
  10254. },
  10255. "legalcardfrontphotourl": {
  10256. "description": "法人身份证正面照地址",
  10257. "type": "string"
  10258. },
  10259. "legalpersonname": {
  10260. "description": "法人姓名(企业)",
  10261. "type": "string"
  10262. },
  10263. "logincode": {
  10264. "description": "登录帐号 (加密存储)",
  10265. "type": "string"
  10266. },
  10267. "memberareaid": {
  10268. "description": "所属会员ID",
  10269. "type": "integer"
  10270. },
  10271. "mobile2": {
  10272. "description": "手机号码[明文-尚志]",
  10273. "type": "string"
  10274. },
  10275. "mobilephone": {
  10276. "description": "手机号码 (加密存储)",
  10277. "type": "string"
  10278. },
  10279. "modifiedby": {
  10280. "description": "修改人帐号",
  10281. "type": "integer"
  10282. },
  10283. "modifiedtime": {
  10284. "description": "修改时间",
  10285. "type": "string"
  10286. },
  10287. "nickname": {
  10288. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10289. "type": "string"
  10290. },
  10291. "openmode": {
  10292. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10293. "type": "integer"
  10294. },
  10295. "otherurl": {
  10296. "description": "其它图片地址[使用分号分隔]",
  10297. "type": "string"
  10298. },
  10299. "postalcode": {
  10300. "description": "邮政编码",
  10301. "type": "string"
  10302. },
  10303. "provinceid": {
  10304. "description": "省",
  10305. "type": "integer"
  10306. },
  10307. "proxystatementurl": {
  10308. "description": "授权委托书",
  10309. "type": "string"
  10310. },
  10311. "qq": {
  10312. "description": "QQ(加密存储",
  10313. "type": "string"
  10314. },
  10315. "referral": {
  10316. "description": "推荐人编码",
  10317. "type": "string"
  10318. },
  10319. "remark": {
  10320. "description": "备注",
  10321. "type": "string"
  10322. },
  10323. "removebeforestatus": {
  10324. "description": "REMOVEBEFORESTATUS",
  10325. "type": "integer"
  10326. },
  10327. "sex": {
  10328. "description": "性别 - 0:女 1:男",
  10329. "type": "integer"
  10330. },
  10331. "signedstatus": {
  10332. "description": "账户一号签签约状态",
  10333. "type": "integer"
  10334. },
  10335. "signpdfurl": {
  10336. "description": "签约pdf文件",
  10337. "type": "string"
  10338. },
  10339. "subbranch": {
  10340. "description": "开户支行",
  10341. "type": "string"
  10342. },
  10343. "telphone": {
  10344. "description": "联系电话(加密存储)",
  10345. "type": "string"
  10346. },
  10347. "userid": {
  10348. "description": "用户ID(自增ID)",
  10349. "type": "integer"
  10350. },
  10351. "userinfotype": {
  10352. "description": "用户信息类型 - 1:个人 2:企业",
  10353. "type": "integer"
  10354. },
  10355. "username": {
  10356. "description": "用户姓名",
  10357. "type": "string"
  10358. },
  10359. "userstate": {
  10360. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10361. "type": "integer"
  10362. },
  10363. "usertype": {
  10364. "description": "用户类型 - 1:投资者 2:机构",
  10365. "type": "integer"
  10366. },
  10367. "videourl": {
  10368. "description": "视频地址",
  10369. "type": "string"
  10370. },
  10371. "wechat": {
  10372. "description": "微信号 (加密存储)",
  10373. "type": "string"
  10374. }
  10375. }
  10376. },
  10377. "erms3.QryAuditContractRsp": {
  10378. "type": "object",
  10379. "required": [
  10380. "matchcustomername",
  10381. "spotcontractid"
  10382. ],
  10383. "properties": {
  10384. "accountid": {
  10385. "description": "交易员ID",
  10386. "type": "string"
  10387. },
  10388. "applystatus": {
  10389. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10390. "type": "integer"
  10391. },
  10392. "curdeliveryqty": {
  10393. "description": "未交收量",
  10394. "type": "integer"
  10395. },
  10396. "customername": {
  10397. "description": "采购方ID",
  10398. "type": "string"
  10399. },
  10400. "deliverygoodsid": {
  10401. "description": "品种ID",
  10402. "type": "string"
  10403. },
  10404. "deliveryqty": {
  10405. "description": "交收量",
  10406. "type": "integer"
  10407. },
  10408. "enumdicname": {
  10409. "description": "单位名称",
  10410. "type": "string"
  10411. },
  10412. "matchaccountid": {
  10413. "description": "业务员ID",
  10414. "type": "string"
  10415. },
  10416. "matchcustomername": {
  10417. "description": "销售方ID",
  10418. "type": "string"
  10419. },
  10420. "pricedqty": {
  10421. "description": "定价量",
  10422. "type": "number"
  10423. },
  10424. "signdate": {
  10425. "description": "签订日期",
  10426. "type": "string"
  10427. },
  10428. "spotcontractid": {
  10429. "description": "合同ID",
  10430. "type": "string"
  10431. },
  10432. "totaldqty": {
  10433. "description": "合同量",
  10434. "type": "number"
  10435. },
  10436. "unpricedqty": {
  10437. "description": "未定价量",
  10438. "type": "number"
  10439. },
  10440. "wrstandardname": {
  10441. "description": "商品名称",
  10442. "type": "string"
  10443. }
  10444. }
  10445. },
  10446. "erms3.QryPendingBizRsp": {
  10447. "$ref": "#/definitions/models.PendingAuditBizModel"
  10448. },
  10449. "erms3.QueryBusinessInfoRsp": {
  10450. "type": "object",
  10451. "properties": {
  10452. "businessid": {
  10453. "description": "业务ID.",
  10454. "type": "integer"
  10455. },
  10456. "buyamount": {
  10457. "description": "采购额.",
  10458. "type": "number"
  10459. },
  10460. "buyqty": {
  10461. "description": "采购量.",
  10462. "type": "string"
  10463. },
  10464. "futurepl": {
  10465. "description": "期货盈亏.",
  10466. "type": "number"
  10467. },
  10468. "futureqty": {
  10469. "description": "期货敞口.",
  10470. "type": "string"
  10471. },
  10472. "goodsid": {
  10473. "description": "商品名称/商品代码.",
  10474. "type": "string"
  10475. },
  10476. "hedgingqty": {
  10477. "description": "套保量.",
  10478. "type": "string"
  10479. },
  10480. "sellamount": {
  10481. "description": "销售额.",
  10482. "type": "number"
  10483. },
  10484. "sellqty": {
  10485. "description": "销售量.",
  10486. "type": "string"
  10487. },
  10488. "spotmarketvalue": {
  10489. "description": "现货市值.",
  10490. "type": "number"
  10491. },
  10492. "spotpl": {
  10493. "description": "浮动权益.",
  10494. "type": "number"
  10495. },
  10496. "spotqty": {
  10497. "description": "现货量.",
  10498. "type": "string"
  10499. },
  10500. "statu": {
  10501. "description": "状态,0-未结束 1-已结束.",
  10502. "type": "integer"
  10503. },
  10504. "totalpl": {
  10505. "description": "总盈亏.",
  10506. "type": "number"
  10507. },
  10508. "totalqty": {
  10509. "description": "总敞口.",
  10510. "type": "string"
  10511. },
  10512. "type": {
  10513. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  10514. "type": "integer"
  10515. }
  10516. }
  10517. },
  10518. "erms3.QuerySpotContractAppleFormRsp": {
  10519. "type": "object",
  10520. "properties": {
  10521. "goodses": {
  10522. "description": "合约列表",
  10523. "type": "array",
  10524. "items": {
  10525. "$ref": "#/definitions/models.GoodsIDAndName"
  10526. }
  10527. },
  10528. "oppositeusers": {
  10529. "description": "对方账号列表",
  10530. "type": "array",
  10531. "items": {
  10532. "$ref": "#/definitions/erms3.CustomerInfo"
  10533. }
  10534. },
  10535. "ouruser": {
  10536. "description": "我方账号",
  10537. "type": "object",
  10538. "$ref": "#/definitions/erms3.CustomerInfo"
  10539. },
  10540. "warehouseinfos": {
  10541. "description": "仓库信息列表",
  10542. "type": "array",
  10543. "items": {
  10544. "$ref": "#/definitions/models.Warehouseinfo"
  10545. }
  10546. },
  10547. "wrstandards": {
  10548. "description": "仓单标准列表",
  10549. "type": "array",
  10550. "items": {
  10551. "$ref": "#/definitions/models.WRStandardInfo"
  10552. }
  10553. }
  10554. }
  10555. },
  10556. "erms3.QuerySpotContractInfoRsp": {
  10557. "type": "object",
  10558. "properties": {
  10559. "accountid": {
  10560. "description": "表示交易员ID.",
  10561. "type": "integer"
  10562. },
  10563. "curdeliveryqty": {
  10564. "description": "表示未交收量.",
  10565. "type": "number"
  10566. },
  10567. "customername": {
  10568. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  10569. "type": "string"
  10570. },
  10571. "deliverygoodsid": {
  10572. "description": "表示品种ID.",
  10573. "type": "string"
  10574. },
  10575. "deliveryqty": {
  10576. "description": "表示交收量.",
  10577. "type": "number"
  10578. },
  10579. "matchaccountid": {
  10580. "description": "表示业务员ID.",
  10581. "type": "integer"
  10582. },
  10583. "matchcustomername": {
  10584. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  10585. "type": "string"
  10586. },
  10587. "priceqty": {
  10588. "description": "表示定价量.",
  10589. "type": "number"
  10590. },
  10591. "relatedbizid": {
  10592. "description": "表示业务ID.",
  10593. "type": "string"
  10594. },
  10595. "signdate": {
  10596. "description": "表示签订日期.",
  10597. "type": "string"
  10598. },
  10599. "spotcontractid": {
  10600. "description": "合同ID",
  10601. "type": "string"
  10602. },
  10603. "status": {
  10604. "description": "表示状态,0-履约中 1-已完成.",
  10605. "type": "integer"
  10606. },
  10607. "totalqty": {
  10608. "description": "表示合同量.",
  10609. "type": "number"
  10610. },
  10611. "unpricedqty": {
  10612. "description": "表示未定价量.",
  10613. "type": "number"
  10614. },
  10615. "wrstandardname": {
  10616. "description": "表示商品ID.",
  10617. "type": "string"
  10618. }
  10619. }
  10620. },
  10621. "erms3.QueryUserInfoAppliesRsp": {
  10622. "type": "object",
  10623. "required": [
  10624. "userid"
  10625. ],
  10626. "properties": {
  10627. "biznature": {
  10628. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10629. "type": "integer"
  10630. },
  10631. "contactname": {
  10632. "description": "联系人",
  10633. "type": "string"
  10634. },
  10635. "createtime": {
  10636. "description": "开户申请时间",
  10637. "type": "string"
  10638. },
  10639. "userid": {
  10640. "description": "用户ID(自增ID)",
  10641. "type": "integer"
  10642. },
  10643. "userinfotype": {
  10644. "description": "用户信息类型 - 1:个人 2:企业",
  10645. "type": "integer"
  10646. },
  10647. "username": {
  10648. "description": "用户姓名",
  10649. "type": "string"
  10650. },
  10651. "userstate": {
  10652. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10653. "type": "integer"
  10654. }
  10655. }
  10656. },
  10657. "erms3.QueryUserInfosRsp": {
  10658. "type": "object",
  10659. "required": [
  10660. "userid"
  10661. ],
  10662. "properties": {
  10663. "biznature": {
  10664. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10665. "type": "integer"
  10666. },
  10667. "contactname": {
  10668. "description": "联系人",
  10669. "type": "string"
  10670. },
  10671. "customername": {
  10672. "description": "客户名称(企业名称)",
  10673. "type": "string"
  10674. },
  10675. "userid": {
  10676. "description": "用户ID",
  10677. "type": "integer"
  10678. },
  10679. "userinfotype": {
  10680. "description": "用户信息类型 - 1:个人 2:企业",
  10681. "type": "integer"
  10682. },
  10683. "userstatus": {
  10684. "description": "用户状态 - 1:正常 2:注销",
  10685. "type": "integer"
  10686. }
  10687. }
  10688. },
  10689. "erms3.SoptContractDetail": {
  10690. "type": "object",
  10691. "required": [
  10692. "deliverygoodsid",
  10693. "producttype",
  10694. "unitname",
  10695. "warehouseid",
  10696. "wrstandardid",
  10697. "wrstandardname"
  10698. ],
  10699. "properties": {
  10700. "deliverygoodsdesc": {
  10701. "description": "现货品种说明",
  10702. "type": "string"
  10703. },
  10704. "deliverygoodsid": {
  10705. "description": "现货品种ID",
  10706. "type": "integer"
  10707. },
  10708. "deliverygoodsname": {
  10709. "description": "现货品种名称",
  10710. "type": "string"
  10711. },
  10712. "pointdesc": {
  10713. "description": "点价描述",
  10714. "type": "string"
  10715. },
  10716. "producttype": {
  10717. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  10718. "type": "integer"
  10719. },
  10720. "producttypename": {
  10721. "description": "产品类型名称",
  10722. "type": "string"
  10723. },
  10724. "spotPointOrderVoList": {
  10725. "description": "点价列表",
  10726. "type": "array",
  10727. "items": {
  10728. "$ref": "#/definitions/erms3.SpotPointOrder"
  10729. }
  10730. },
  10731. "spotPriceOrderList": {
  10732. "description": "定价列表",
  10733. "type": "array",
  10734. "items": {
  10735. "$ref": "#/definitions/erms3.SpotPriceOrder"
  10736. }
  10737. },
  10738. "unitname": {
  10739. "description": "单位名称",
  10740. "type": "string"
  10741. },
  10742. "warehouseid": {
  10743. "description": "仓库ID",
  10744. "type": "integer"
  10745. },
  10746. "warehousename": {
  10747. "description": "仓库名称",
  10748. "type": "string"
  10749. },
  10750. "wrstandardid": {
  10751. "description": "交易标的ID",
  10752. "type": "integer"
  10753. },
  10754. "wrstandardname": {
  10755. "description": "交易标的名称",
  10756. "type": "string"
  10757. }
  10758. }
  10759. },
  10760. "erms3.SpotPointOrder": {
  10761. "type": "object",
  10762. "required": [
  10763. "basic",
  10764. "goodsid",
  10765. "qty"
  10766. ],
  10767. "properties": {
  10768. "basic": {
  10769. "description": "基差",
  10770. "type": "number"
  10771. },
  10772. "deliveryenddate": {
  10773. "description": "交收结束日期",
  10774. "type": "string"
  10775. },
  10776. "deliverystartdate": {
  10777. "description": "交收开始日期",
  10778. "type": "string"
  10779. },
  10780. "enddate": {
  10781. "description": "点价结束日期",
  10782. "type": "string"
  10783. },
  10784. "goodsid": {
  10785. "description": "商品ID",
  10786. "type": "integer"
  10787. },
  10788. "goodsname": {
  10789. "description": "商品名称",
  10790. "type": "string"
  10791. },
  10792. "qty": {
  10793. "description": "数量",
  10794. "type": "number"
  10795. },
  10796. "startdate": {
  10797. "description": "点价开始日期",
  10798. "type": "string"
  10799. }
  10800. }
  10801. },
  10802. "erms3.SpotPriceOrder": {
  10803. "type": "object",
  10804. "required": [
  10805. "amount",
  10806. "price",
  10807. "qty"
  10808. ],
  10809. "properties": {
  10810. "amount": {
  10811. "description": "金额",
  10812. "type": "number"
  10813. },
  10814. "deliveryenddate": {
  10815. "description": "交收结束日期",
  10816. "type": "string"
  10817. },
  10818. "deliverystartdate": {
  10819. "description": "交收开始日期",
  10820. "type": "string"
  10821. },
  10822. "price": {
  10823. "description": "价格",
  10824. "type": "number"
  10825. },
  10826. "qty": {
  10827. "description": "数量",
  10828. "type": "number"
  10829. }
  10830. }
  10831. },
  10832. "hsby.GetHsbyMyCountRsp": {
  10833. "type": "object",
  10834. "properties": {
  10835. "myCouponCount": {
  10836. "description": "我的优惠卷数量",
  10837. "type": "integer"
  10838. },
  10839. "myOrderDetailListingCount": {
  10840. "description": "我的订单求购中数量",
  10841. "type": "integer"
  10842. },
  10843. "myOrderDetailPreCount": {
  10844. "description": "我的订单抢购中数量",
  10845. "type": "integer"
  10846. },
  10847. "myPackageUnReceiveCount": {
  10848. "description": "我的包裹待收货数量",
  10849. "type": "integer"
  10850. },
  10851. "myPackageUnSendCount": {
  10852. "description": "我的包裹待发货数量",
  10853. "type": "integer"
  10854. },
  10855. "myPayOrderCount": {
  10856. "description": "我的订单待付款数量",
  10857. "type": "integer"
  10858. }
  10859. }
  10860. },
  10861. "hsby.QueryProvincesAndCitiesRsp": {
  10862. "type": "object",
  10863. "properties": {
  10864. "cities": {
  10865. "description": "市",
  10866. "type": "array",
  10867. "items": {
  10868. "$ref": "#/definitions/models.Division"
  10869. }
  10870. },
  10871. "province": {
  10872. "description": "省",
  10873. "type": "object",
  10874. "$ref": "#/definitions/models.Division"
  10875. }
  10876. }
  10877. },
  10878. "models.AreaSpotModel": {
  10879. "type": "object",
  10880. "properties": {
  10881. "areauserid": {
  10882. "description": "所属机构",
  10883. "type": "integer"
  10884. },
  10885. "decreaseqty": {
  10886. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  10887. "type": "number"
  10888. },
  10889. "increaseqty": {
  10890. "description": "增加数量=销售计划数量+采购已定价数量",
  10891. "type": "number"
  10892. },
  10893. "oritoalspotqty": {
  10894. "description": "昨日数量",
  10895. "type": "number"
  10896. },
  10897. "totalspotqty": {
  10898. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  10899. "type": "number"
  10900. },
  10901. "updatetime": {
  10902. "description": "更新时间",
  10903. "type": "string"
  10904. },
  10905. "wrstandardcode": {
  10906. "description": "现货品种代码",
  10907. "type": "string"
  10908. },
  10909. "wrstandardid": {
  10910. "description": "现货商品ID",
  10911. "type": "integer"
  10912. },
  10913. "wrstandardname": {
  10914. "description": "现货品种",
  10915. "type": "string"
  10916. }
  10917. }
  10918. },
  10919. "models.Clientfixedadconfig": {
  10920. "type": "object",
  10921. "required": [
  10922. "adsort",
  10923. "adtype"
  10924. ],
  10925. "properties": {
  10926. "adsort": {
  10927. "description": "排序",
  10928. "type": "integer"
  10929. },
  10930. "adtype": {
  10931. "description": "广告位类型 - 1:新品抢购(HSBY)",
  10932. "type": "integer"
  10933. },
  10934. "areauserid": {
  10935. "description": "所属机构ID",
  10936. "type": "integer"
  10937. },
  10938. "createdate": {
  10939. "description": "创建时间",
  10940. "type": "string"
  10941. },
  10942. "creatorid": {
  10943. "description": "创建人",
  10944. "type": "integer"
  10945. },
  10946. "imagepath": {
  10947. "description": "图片",
  10948. "type": "string"
  10949. },
  10950. "isshow": {
  10951. "description": "是否展示 - 0:不展示 1:展示",
  10952. "type": "integer"
  10953. },
  10954. "modifierid": {
  10955. "description": "操作人",
  10956. "type": "integer"
  10957. },
  10958. "recsize": {
  10959. "description": "推荐尺寸",
  10960. "type": "string"
  10961. },
  10962. "title": {
  10963. "description": "标题",
  10964. "type": "string"
  10965. },
  10966. "updatedate": {
  10967. "description": "更新时间",
  10968. "type": "string"
  10969. },
  10970. "urlcontent": {
  10971. "description": "链接(地址或商品ID)",
  10972. "type": "string"
  10973. },
  10974. "urltype": {
  10975. "description": "链接类型 - 1:直接地址 2:商品ID",
  10976. "type": "integer"
  10977. }
  10978. }
  10979. },
  10980. "models.Division": {
  10981. "type": "object",
  10982. "required": [
  10983. "autoid",
  10984. "divisioncode"
  10985. ],
  10986. "properties": {
  10987. "autoid": {
  10988. "description": "自增ID",
  10989. "type": "integer"
  10990. },
  10991. "divisioncode": {
  10992. "description": "行政代码",
  10993. "type": "string"
  10994. },
  10995. "divisionlevel": {
  10996. "description": "行政级别",
  10997. "type": "string"
  10998. },
  10999. "divisionname": {
  11000. "description": "行政名称",
  11001. "type": "string"
  11002. },
  11003. "modifierid": {
  11004. "description": "修改人",
  11005. "type": "integer"
  11006. },
  11007. "modifytime": {
  11008. "description": "修改时间",
  11009. "type": "string"
  11010. },
  11011. "parentcode": {
  11012. "description": "上级行政代码",
  11013. "type": "string"
  11014. },
  11015. "pathname": {
  11016. "description": "路径名称",
  11017. "type": "string"
  11018. },
  11019. "postcode": {
  11020. "description": "邮政编码",
  11021. "type": "string"
  11022. },
  11023. "separablename": {
  11024. "description": "可拆分的全称",
  11025. "type": "string"
  11026. },
  11027. "shortcode": {
  11028. "description": "地区简码",
  11029. "type": "string"
  11030. }
  11031. }
  11032. },
  11033. "models.Enumdicitem": {
  11034. "type": "object",
  11035. "required": [
  11036. "autoid",
  11037. "enumdiccode",
  11038. "enumdicid",
  11039. "enumitemname"
  11040. ],
  11041. "properties": {
  11042. "autoid": {
  11043. "description": "自增ID",
  11044. "type": "integer"
  11045. },
  11046. "bankmappedvalue": {
  11047. "description": "银行服务对应值",
  11048. "type": "string"
  11049. },
  11050. "enumdiccode": {
  11051. "description": "所属枚举代码",
  11052. "type": "string"
  11053. },
  11054. "enumdicid": {
  11055. "description": "所属枚举ID",
  11056. "type": "integer"
  11057. },
  11058. "enumdicname": {
  11059. "description": "枚举项名称",
  11060. "type": "string"
  11061. },
  11062. "enumitemname": {
  11063. "description": "枚举项值",
  11064. "type": "integer"
  11065. },
  11066. "enumitemstatus": {
  11067. "description": "枚举项状态 - 1.启用 2.不启用",
  11068. "type": "integer"
  11069. },
  11070. "enumitemvalue": {
  11071. "description": "通用值 - [币种通用简写]",
  11072. "type": "string"
  11073. },
  11074. "param1": {
  11075. "description": "参数1[币种:币种小数位]",
  11076. "type": "string"
  11077. },
  11078. "param2": {
  11079. "description": "参数1[币种:币种显示单位]",
  11080. "type": "string"
  11081. },
  11082. "remark": {
  11083. "description": "备注",
  11084. "type": "string"
  11085. }
  11086. }
  11087. },
  11088. "models.ErmcpAreaSpotDetailModel": {
  11089. "type": "object",
  11090. "properties": {
  11091. "contracttype": {
  11092. "description": "合同类型 1-采购 -1-销售",
  11093. "type": "integer"
  11094. },
  11095. "createtime": {
  11096. "description": "创建时间",
  11097. "type": "string"
  11098. },
  11099. "enumdicname": {
  11100. "description": "现货商品单位名称",
  11101. "type": "string"
  11102. },
  11103. "logtype": {
  11104. "description": "记录类型 1-套保 2-现货合同",
  11105. "type": "integer"
  11106. },
  11107. "qty": {
  11108. "description": "数量",
  11109. "type": "number"
  11110. },
  11111. "recordname": {
  11112. "description": "类型名称",
  11113. "type": "string"
  11114. },
  11115. "relatedid": {
  11116. "description": "套保计划ID/现货合同ID",
  11117. "type": "string"
  11118. },
  11119. "relatedno": {
  11120. "description": "编号",
  11121. "type": "string"
  11122. },
  11123. "strtime": {
  11124. "description": "时间",
  11125. "type": "string"
  11126. },
  11127. "wrstandardcode": {
  11128. "description": "现货商品代码",
  11129. "type": "string"
  11130. },
  11131. "wrstandardname": {
  11132. "description": "现货商品名称",
  11133. "type": "string"
  11134. }
  11135. }
  11136. },
  11137. "models.ErmcpAreaStock": {
  11138. "type": "object",
  11139. "properties": {
  11140. "brandname": {
  11141. "description": "品牌名称",
  11142. "type": "string"
  11143. },
  11144. "curstock": {
  11145. "description": "期末库存量(今日量)",
  11146. "type": "number"
  11147. },
  11148. "deliverygoodsid": {
  11149. "description": "现货品种ID",
  11150. "type": "integer"
  11151. },
  11152. "enumdicname": {
  11153. "description": "单位名称",
  11154. "type": "string"
  11155. },
  11156. "modelname": {
  11157. "description": "型号名称",
  11158. "type": "string"
  11159. },
  11160. "oristock": {
  11161. "description": "期初库存量(昨日量)",
  11162. "type": "number"
  11163. },
  11164. "spotgoodsbrandid": {
  11165. "description": "现货品牌ID",
  11166. "type": "integer"
  11167. },
  11168. "spotgoodsmodelid": {
  11169. "description": "现货型号ID",
  11170. "type": "integer"
  11171. },
  11172. "todaybuyinqty": {
  11173. "description": "今日采购入库量",
  11174. "type": "number"
  11175. },
  11176. "todayproduceinqty": {
  11177. "description": "今日生产入库量",
  11178. "type": "number"
  11179. },
  11180. "todayproduceoutqty": {
  11181. "description": "今日生产出库量",
  11182. "type": "number"
  11183. },
  11184. "todayselloutqty": {
  11185. "description": "今日销售出库量",
  11186. "type": "number"
  11187. },
  11188. "unitid": {
  11189. "description": "单位id",
  11190. "type": "integer"
  11191. },
  11192. "updatetime": {
  11193. "description": "更新时间",
  11194. "type": "string"
  11195. },
  11196. "userid": {
  11197. "description": "机构ID",
  11198. "type": "integer"
  11199. },
  11200. "username": {
  11201. "description": "机构名称",
  11202. "type": "string"
  11203. },
  11204. "warehousecode": {
  11205. "description": "仓库代码",
  11206. "type": "string"
  11207. },
  11208. "warehouseinfoid": {
  11209. "description": "仓库ID",
  11210. "type": "string"
  11211. },
  11212. "warehousename": {
  11213. "description": "仓库名称",
  11214. "type": "string"
  11215. },
  11216. "warehousetype": {
  11217. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11218. "type": "integer"
  11219. },
  11220. "wrstandardcode": {
  11221. "description": "现货商品代码",
  11222. "type": "string"
  11223. },
  11224. "wrstandardid": {
  11225. "description": "现货商品ID",
  11226. "type": "string"
  11227. },
  11228. "wrstandardname": {
  11229. "description": "现货商品名称",
  11230. "type": "string"
  11231. }
  11232. }
  11233. },
  11234. "models.ErmcpAreaStockApply": {
  11235. "type": "object",
  11236. "properties": {
  11237. "applyid": {
  11238. "description": "申请人",
  11239. "type": "integer"
  11240. },
  11241. "applyname": {
  11242. "description": "申请人名称",
  11243. "type": "string"
  11244. },
  11245. "applyremark": {
  11246. "description": "申请备注",
  11247. "type": "string"
  11248. },
  11249. "applysrc": {
  11250. "description": "申请来源 - 1:管理端 2:终端",
  11251. "type": "integer"
  11252. },
  11253. "applystatus": {
  11254. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11255. "type": "integer"
  11256. },
  11257. "applytime": {
  11258. "description": "申请时间",
  11259. "type": "string"
  11260. },
  11261. "auditid": {
  11262. "description": "审核人",
  11263. "type": "integer"
  11264. },
  11265. "auditname": {
  11266. "description": "审核人名称",
  11267. "type": "string"
  11268. },
  11269. "auditremark": {
  11270. "description": "审核备注",
  11271. "type": "string"
  11272. },
  11273. "auditsrc": {
  11274. "description": "审核来源 - 1:管理端 2:终端",
  11275. "type": "integer"
  11276. },
  11277. "audittime": {
  11278. "description": "审核时间",
  11279. "type": "string"
  11280. },
  11281. "audittradedate": {
  11282. "description": "审核交易日(yyyyMMdd)",
  11283. "type": "string"
  11284. },
  11285. "brandname": {
  11286. "description": "品牌名称",
  11287. "type": "string"
  11288. },
  11289. "buyuserid": {
  11290. "description": "采购方userid",
  11291. "type": "integer"
  11292. },
  11293. "buyusername": {
  11294. "description": "采购方名称",
  11295. "type": "string"
  11296. },
  11297. "contractno": {
  11298. "description": "合同编号",
  11299. "type": "string"
  11300. },
  11301. "contractqty": {
  11302. "description": "合同量",
  11303. "type": "number"
  11304. },
  11305. "contracttype": {
  11306. "description": "现货合同类型 - 1:采购 -1:销售",
  11307. "type": "integer"
  11308. },
  11309. "deliverygoodsid": {
  11310. "description": "现货品种ID",
  11311. "type": "integer"
  11312. },
  11313. "enumdicname": {
  11314. "description": "现货商品单位名称",
  11315. "type": "string"
  11316. },
  11317. "inoutapplyid": {
  11318. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  11319. "type": "string"
  11320. },
  11321. "inouttype": {
  11322. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11323. "type": "integer"
  11324. },
  11325. "modelname": {
  11326. "description": "型号名称",
  11327. "type": "string"
  11328. },
  11329. "pricetype": {
  11330. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11331. "type": "integer"
  11332. },
  11333. "qty": {
  11334. "description": "数量",
  11335. "type": "number"
  11336. },
  11337. "selluserid": {
  11338. "description": "销售方userid",
  11339. "type": "integer"
  11340. },
  11341. "sellusername": {
  11342. "description": "销售方名称",
  11343. "type": "string"
  11344. },
  11345. "spotcontractid": {
  11346. "description": "关联现货合同ID",
  11347. "type": "string"
  11348. },
  11349. "spotgoodsbrandid": {
  11350. "description": "现货品牌ID",
  11351. "type": "integer"
  11352. },
  11353. "spotgoodsmodelid": {
  11354. "description": "现货型号ID",
  11355. "type": "integer"
  11356. },
  11357. "unitid": {
  11358. "description": "单位id",
  11359. "type": "integer"
  11360. },
  11361. "userid": {
  11362. "description": "机构ID",
  11363. "type": "integer"
  11364. },
  11365. "warehousecode": {
  11366. "description": "仓库代码",
  11367. "type": "string"
  11368. },
  11369. "warehouseinfoid": {
  11370. "description": "现货仓库ID",
  11371. "type": "string"
  11372. },
  11373. "warehousename": {
  11374. "description": "仓库名称",
  11375. "type": "string"
  11376. },
  11377. "warehousetype": {
  11378. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11379. "type": "integer"
  11380. },
  11381. "wrstandardcode": {
  11382. "description": "现货商品代码",
  11383. "type": "string"
  11384. },
  11385. "wrstandardid": {
  11386. "description": "现货商品ID",
  11387. "type": "string"
  11388. },
  11389. "wrstandardname": {
  11390. "description": "现货商品名称",
  11391. "type": "string"
  11392. }
  11393. }
  11394. },
  11395. "models.ErmcpAreaStockApplySum": {
  11396. "type": "object",
  11397. "properties": {
  11398. "brandname": {
  11399. "description": "品牌名称",
  11400. "type": "string"
  11401. },
  11402. "inouttype": {
  11403. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11404. "type": "integer"
  11405. },
  11406. "modelname": {
  11407. "description": "型号名称",
  11408. "type": "string"
  11409. },
  11410. "spotcontractid": {
  11411. "description": "关联现货合同ID",
  11412. "type": "string"
  11413. },
  11414. "spotgoodsbrandid": {
  11415. "description": "品牌id",
  11416. "type": "integer"
  11417. },
  11418. "spotgoodsmodelid": {
  11419. "description": "型号id",
  11420. "type": "integer"
  11421. },
  11422. "totalqty": {
  11423. "description": "总数量",
  11424. "type": "number"
  11425. }
  11426. }
  11427. },
  11428. "models.ErmcpAreaStockReport": {
  11429. "type": "object",
  11430. "properties": {
  11431. "brandname": {
  11432. "description": "品牌名称",
  11433. "type": "string"
  11434. },
  11435. "curstock": {
  11436. "description": "期末库存量",
  11437. "type": "number"
  11438. },
  11439. "deliverygoodsid": {
  11440. "description": "现货品种ID",
  11441. "type": "integer"
  11442. },
  11443. "enumdicname": {
  11444. "description": "单位名称",
  11445. "type": "string"
  11446. },
  11447. "modelname": {
  11448. "description": "型号名称",
  11449. "type": "string"
  11450. },
  11451. "oristock": {
  11452. "description": "期初库存量",
  11453. "type": "number"
  11454. },
  11455. "spotgoodsbrandid": {
  11456. "description": "现货品牌ID",
  11457. "type": "integer"
  11458. },
  11459. "spotgoodsmodelid": {
  11460. "description": "现货型号ID",
  11461. "type": "integer"
  11462. },
  11463. "todaybuyinqty": {
  11464. "description": "今日采购入库量",
  11465. "type": "number"
  11466. },
  11467. "todayproduceinqty": {
  11468. "description": "今日生产入库量",
  11469. "type": "number"
  11470. },
  11471. "todayproduceoutqty": {
  11472. "description": "今日生产出库量",
  11473. "type": "number"
  11474. },
  11475. "todayselloutqty": {
  11476. "description": "今日销售出库量",
  11477. "type": "number"
  11478. },
  11479. "unitid": {
  11480. "description": "单位id",
  11481. "type": "integer"
  11482. },
  11483. "updatetime": {
  11484. "description": "更新时间",
  11485. "type": "string"
  11486. },
  11487. "userid": {
  11488. "description": "机构ID",
  11489. "type": "integer"
  11490. },
  11491. "username": {
  11492. "description": "机构名称",
  11493. "type": "string"
  11494. },
  11495. "warehousecode": {
  11496. "description": "仓库代码",
  11497. "type": "string"
  11498. },
  11499. "warehouseinfoid": {
  11500. "description": "仓库ID",
  11501. "type": "string"
  11502. },
  11503. "warehousename": {
  11504. "description": "仓库名称",
  11505. "type": "string"
  11506. },
  11507. "warehousetype": {
  11508. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11509. "type": "integer"
  11510. },
  11511. "wrstandardcode": {
  11512. "description": "现货商品代码",
  11513. "type": "string"
  11514. },
  11515. "wrstandardid": {
  11516. "description": "现货商品ID",
  11517. "type": "string"
  11518. },
  11519. "wrstandardname": {
  11520. "description": "现货商品名称",
  11521. "type": "string"
  11522. }
  11523. }
  11524. },
  11525. "models.ErmcpAvalidGoodsGroupModel": {
  11526. "type": "object",
  11527. "properties": {
  11528. "goodsgroupid": {
  11529. "description": "期货品种id",
  11530. "type": "integer"
  11531. },
  11532. "goodsgroupname": {
  11533. "description": "期货品种名称",
  11534. "type": "string"
  11535. },
  11536. "goodunitid": {
  11537. "description": "品种单位id",
  11538. "type": "integer"
  11539. },
  11540. "goodunitname": {
  11541. "description": "品种单位名称",
  11542. "type": "string"
  11543. },
  11544. "outergroupcode": {
  11545. "description": "期货品种代码",
  11546. "type": "string"
  11547. }
  11548. }
  11549. },
  11550. "models.ErmcpExposureDetailModel": {
  11551. "type": "object",
  11552. "properties": {
  11553. "areauserid": {
  11554. "description": "机构ID",
  11555. "type": "integer"
  11556. },
  11557. "changeQty": {
  11558. "description": "套保变动量",
  11559. "type": "number"
  11560. },
  11561. "contracttype": {
  11562. "description": "现货合同类型 - 1:采购 -1:销售",
  11563. "type": "integer"
  11564. },
  11565. "convertfactor": {
  11566. "description": "标仓系数",
  11567. "type": "number"
  11568. },
  11569. "convertratio": {
  11570. "description": "套保系数",
  11571. "type": "number"
  11572. },
  11573. "createtime": {
  11574. "description": "时间",
  11575. "type": "string"
  11576. },
  11577. "enumdicname": {
  11578. "description": "现货商品单位名称",
  11579. "type": "string"
  11580. },
  11581. "logtype": {
  11582. "description": "类型 - 1:套保计划 2:现货合同",
  11583. "type": "integer"
  11584. },
  11585. "middlegoodsId": {
  11586. "description": "套保商品id",
  11587. "type": "integer"
  11588. },
  11589. "middlegoodscode": {
  11590. "description": "套保商品代码",
  11591. "type": "string"
  11592. },
  11593. "middlegoodsname": {
  11594. "description": "套保商品名称",
  11595. "type": "string"
  11596. },
  11597. "qty": {
  11598. "description": "数量",
  11599. "type": "number"
  11600. },
  11601. "relateNo": {
  11602. "description": "现货合同/套保计划编号",
  11603. "type": "string"
  11604. },
  11605. "wrstandardcode": {
  11606. "description": "现货商品代码",
  11607. "type": "string"
  11608. },
  11609. "wrstandardid": {
  11610. "description": "现货商品ID",
  11611. "type": "integer"
  11612. },
  11613. "wrstandardname": {
  11614. "description": "现货商品名称",
  11615. "type": "string"
  11616. }
  11617. }
  11618. },
  11619. "models.ErmcpExposurePostion": {
  11620. "type": "object",
  11621. "properties": {
  11622. "agreeunit": {
  11623. "description": "合约单位",
  11624. "type": "string"
  11625. },
  11626. "areauserid": {
  11627. "description": "所属机构id",
  11628. "type": "integer"
  11629. },
  11630. "convertratio": {
  11631. "description": "期货品种系数(折算系数)",
  11632. "type": "number"
  11633. },
  11634. "curqty": {
  11635. "description": "当前持仓",
  11636. "type": "integer"
  11637. },
  11638. "diffhedgeqty": {
  11639. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  11640. "type": "number"
  11641. },
  11642. "diffqty": {
  11643. "description": "持仓变动量=当前持仓-昨日持仓",
  11644. "type": "integer"
  11645. },
  11646. "goodscode": {
  11647. "description": "商品代码",
  11648. "type": "string"
  11649. },
  11650. "goodsid": {
  11651. "description": "商品id",
  11652. "type": "integer"
  11653. },
  11654. "goodsname": {
  11655. "description": "商品名称",
  11656. "type": "string"
  11657. },
  11658. "middlegoodsid": {
  11659. "description": "套保商品id",
  11660. "type": "integer"
  11661. },
  11662. "ydqty": {
  11663. "description": "昨日持仓",
  11664. "type": "integer"
  11665. }
  11666. }
  11667. },
  11668. "models.ErmcpGGConvertCfg": {
  11669. "type": "object",
  11670. "properties": {
  11671. "convertratio": {
  11672. "description": "折算系数",
  11673. "type": "number"
  11674. },
  11675. "destgoodsgroupid": {
  11676. "description": "目标品种ID",
  11677. "type": "integer"
  11678. },
  11679. "dstcode": {
  11680. "description": "目录品种代码",
  11681. "type": "string"
  11682. },
  11683. "dstexchangecode": {
  11684. "description": "目标期货交易所",
  11685. "type": "string"
  11686. },
  11687. "dstname": {
  11688. "description": "目标品种名称",
  11689. "type": "string"
  11690. },
  11691. "dstunitid": {
  11692. "description": "目标品种单位ID",
  11693. "type": "integer"
  11694. },
  11695. "dstunitidname": {
  11696. "description": "目标品种单位名称",
  11697. "type": "string"
  11698. },
  11699. "modifytime": {
  11700. "description": "修改时间",
  11701. "type": "string"
  11702. },
  11703. "srccode": {
  11704. "description": "源品种代码",
  11705. "type": "string"
  11706. },
  11707. "srcexchangecode": {
  11708. "description": "源期货交易所",
  11709. "type": "string"
  11710. },
  11711. "srcgoodsgroupid": {
  11712. "description": "源品种ID",
  11713. "type": "integer"
  11714. },
  11715. "srcname": {
  11716. "description": "源品种名称",
  11717. "type": "string"
  11718. },
  11719. "srcunitid": {
  11720. "description": "源品种单位ID",
  11721. "type": "integer"
  11722. },
  11723. "srcunitidname": {
  11724. "description": "源品种单位名称",
  11725. "type": "string"
  11726. }
  11727. }
  11728. },
  11729. "models.ErmcpGoodsBrand": {
  11730. "type": "object",
  11731. "properties": {
  11732. "areauserid": {
  11733. "description": "所属机构",
  11734. "type": "integer"
  11735. },
  11736. "brandid": {
  11737. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  11738. "type": "integer"
  11739. },
  11740. "brandname": {
  11741. "description": "品牌名称",
  11742. "type": "string"
  11743. },
  11744. "createtime": {
  11745. "description": "创建时间",
  11746. "type": "string"
  11747. },
  11748. "creatorid": {
  11749. "description": "创建人",
  11750. "type": "integer"
  11751. },
  11752. "creatorsrc": {
  11753. "description": "创建人来源 - 1:管理端 2:终端",
  11754. "type": "integer"
  11755. },
  11756. "deliverygoodsid": {
  11757. "description": "现货品种ID",
  11758. "type": "integer"
  11759. },
  11760. "isvalid": {
  11761. "description": "是否有效 - 0:无效 1:有效",
  11762. "type": "integer"
  11763. },
  11764. "updatetime": {
  11765. "description": "更新时间",
  11766. "type": "string"
  11767. },
  11768. "updatorid": {
  11769. "description": "更新人",
  11770. "type": "integer"
  11771. },
  11772. "updatorsrc": {
  11773. "description": "更新人来源 - 1:管理端 2:终端",
  11774. "type": "integer"
  11775. },
  11776. "wrstandardid": {
  11777. "description": "现货商品ID",
  11778. "type": "integer"
  11779. }
  11780. }
  11781. },
  11782. "models.ErmcpGoodsModel": {
  11783. "type": "object",
  11784. "properties": {
  11785. "areauserid": {
  11786. "description": "所属机构",
  11787. "type": "integer"
  11788. },
  11789. "convertfactor": {
  11790. "description": "标仓系数",
  11791. "type": "number"
  11792. },
  11793. "createtime": {
  11794. "description": "创建时间",
  11795. "type": "string"
  11796. },
  11797. "creatorid": {
  11798. "description": "创建人",
  11799. "type": "integer"
  11800. },
  11801. "creatorsrc": {
  11802. "description": "创建人来源 - 1:管理端 2:终端",
  11803. "type": "integer"
  11804. },
  11805. "deliverygoodsid": {
  11806. "description": "现货品种ID",
  11807. "type": "integer"
  11808. },
  11809. "isvalid": {
  11810. "description": "是否有效 - 0:无效 1:有效",
  11811. "type": "integer"
  11812. },
  11813. "modelid": {
  11814. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  11815. "type": "integer"
  11816. },
  11817. "modelname": {
  11818. "description": "型号名称",
  11819. "type": "string"
  11820. },
  11821. "updatetime": {
  11822. "description": "更新时间",
  11823. "type": "string"
  11824. },
  11825. "updatorid": {
  11826. "description": "更新人",
  11827. "type": "integer"
  11828. },
  11829. "updatorsrc": {
  11830. "description": "更新人来源 - 1:管理端 2:终端",
  11831. "type": "integer"
  11832. },
  11833. "wrstandardid": {
  11834. "description": "现货商品ID",
  11835. "type": "integer"
  11836. }
  11837. }
  11838. },
  11839. "models.ErmcpHedgePlan": {
  11840. "type": "object",
  11841. "properties": {
  11842. "areauserid": {
  11843. "description": "用户ID",
  11844. "type": "integer"
  11845. },
  11846. "audittime": {
  11847. "description": "审核时间",
  11848. "type": "string"
  11849. },
  11850. "contracttype": {
  11851. "description": "计划类型 - 1:采购 -1:销售",
  11852. "type": "integer"
  11853. },
  11854. "convertfactor": {
  11855. "description": "标仓系数",
  11856. "type": "number"
  11857. },
  11858. "createtime": {
  11859. "description": "创建时间",
  11860. "type": "string"
  11861. },
  11862. "deliverygoodsid": {
  11863. "description": "现货品种ID",
  11864. "type": "integer"
  11865. },
  11866. "deliverygoodsname": {
  11867. "description": "现货品种名称",
  11868. "type": "string"
  11869. },
  11870. "enumdicname": {
  11871. "description": "单位名称",
  11872. "type": "string"
  11873. },
  11874. "hedgeplanid": {
  11875. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  11876. "type": "string"
  11877. },
  11878. "hedgeplanno": {
  11879. "description": "套保计划编号(名称)",
  11880. "type": "string"
  11881. },
  11882. "hedgeplanstatus": {
  11883. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11884. "type": "integer"
  11885. },
  11886. "planqty": {
  11887. "description": "计划数量",
  11888. "type": "number"
  11889. },
  11890. "plantime": {
  11891. "description": "计划时间",
  11892. "type": "string"
  11893. },
  11894. "producttype": {
  11895. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11896. "type": "integer"
  11897. },
  11898. "remark": {
  11899. "description": "备注",
  11900. "type": "string"
  11901. },
  11902. "spotgoodsdesc": {
  11903. "description": "商品型号",
  11904. "type": "string"
  11905. },
  11906. "unitid": {
  11907. "description": "单位id",
  11908. "type": "integer"
  11909. },
  11910. "updatetime": {
  11911. "description": "更新时间",
  11912. "type": "string"
  11913. },
  11914. "wrstandardid": {
  11915. "description": "现货商品ID",
  11916. "type": "integer"
  11917. },
  11918. "wrstandardname": {
  11919. "description": "现货商品名称",
  11920. "type": "string"
  11921. }
  11922. }
  11923. },
  11924. "models.ErmcpHedgePosition": {
  11925. "type": "object",
  11926. "properties": {
  11927. "accountid": {
  11928. "description": "资金账号[外部母账户]",
  11929. "type": "integer"
  11930. },
  11931. "curbuyposition": {
  11932. "description": "期末买头寸",
  11933. "type": "integer"
  11934. },
  11935. "cursellposition": {
  11936. "description": "期末卖头寸",
  11937. "type": "integer"
  11938. },
  11939. "curtdbuyposition": {
  11940. "description": "期末今日买头寸",
  11941. "type": "integer"
  11942. },
  11943. "curtdsellposition": {
  11944. "description": "期末今日卖头寸",
  11945. "type": "integer"
  11946. },
  11947. "curydbuyposition": {
  11948. "description": "期末上日买头寸",
  11949. "type": "integer"
  11950. },
  11951. "curydsellposition": {
  11952. "description": "期末上日卖头寸",
  11953. "type": "integer"
  11954. },
  11955. "decreaseqty": {
  11956. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  11957. "type": "integer"
  11958. },
  11959. "fretdbuyposition": {
  11960. "description": "冻结今日买头寸",
  11961. "type": "integer"
  11962. },
  11963. "fretdsellposition": {
  11964. "description": "冻结今日卖头寸",
  11965. "type": "integer"
  11966. },
  11967. "freydbuyposition": {
  11968. "description": "冻结上日买头寸",
  11969. "type": "integer"
  11970. },
  11971. "freydsellposition": {
  11972. "description": "冻结上日卖头寸",
  11973. "type": "integer"
  11974. },
  11975. "goodscode": {
  11976. "description": "商品代码",
  11977. "type": "string"
  11978. },
  11979. "goodsid": {
  11980. "description": "商品id",
  11981. "type": "integer"
  11982. },
  11983. "goodsname": {
  11984. "description": "商品名称",
  11985. "type": "string"
  11986. },
  11987. "hedgeaccountcode": {
  11988. "description": "对冲账号",
  11989. "type": "string"
  11990. },
  11991. "hedgegoodsid": {
  11992. "description": "对冲合约ID",
  11993. "type": "integer"
  11994. },
  11995. "increaseqty": {
  11996. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  11997. "type": "integer"
  11998. },
  11999. "marketid": {
  12000. "description": "市场ID",
  12001. "type": "integer"
  12002. },
  12003. "relateduserid": {
  12004. "description": "关联用户id",
  12005. "type": "integer"
  12006. },
  12007. "totalcurqty": {
  12008. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  12009. "type": "integer"
  12010. },
  12011. "totalydqty": {
  12012. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  12013. "type": "integer"
  12014. },
  12015. "tradedate": {
  12016. "description": "交易日(yyyyMMdd)",
  12017. "type": "string"
  12018. },
  12019. "ydbuyposition": {
  12020. "description": "期初买头寸",
  12021. "type": "integer"
  12022. },
  12023. "ydsellposition": {
  12024. "description": "期初卖头寸",
  12025. "type": "integer"
  12026. }
  12027. }
  12028. },
  12029. "models.ErmcpHedgePositionDetail": {
  12030. "type": "object",
  12031. "properties": {
  12032. "buyorsell": {
  12033. "description": "买卖方向 0-买 1-卖",
  12034. "type": "integer"
  12035. },
  12036. "channelbuildtype": {
  12037. "description": "开平方向 1-建仓 2-平仓",
  12038. "type": "integer"
  12039. },
  12040. "goodscode": {
  12041. "description": "商品代码",
  12042. "type": "string"
  12043. },
  12044. "goodsname": {
  12045. "description": "商品名称",
  12046. "type": "string"
  12047. },
  12048. "hedgegoodsid": {
  12049. "description": "商品id",
  12050. "type": "integer"
  12051. },
  12052. "tradeqty": {
  12053. "description": "数量(成交数量)",
  12054. "type": "integer"
  12055. },
  12056. "tradetime": {
  12057. "description": "时间(成交时间)",
  12058. "type": "string"
  12059. }
  12060. }
  12061. },
  12062. "models.ErmcpHisExposure": {
  12063. "type": "object",
  12064. "properties": {
  12065. "needhedgeexposoure": {
  12066. "description": "应套保敞口",
  12067. "type": "number"
  12068. },
  12069. "reckondate": {
  12070. "description": "日照时期(yyyyMMdd)",
  12071. "type": "string"
  12072. },
  12073. "totalexposure": {
  12074. "description": "总敞口",
  12075. "type": "number"
  12076. }
  12077. }
  12078. },
  12079. "models.ErmcpHisExposureS": {
  12080. "type": "object",
  12081. "properties": {
  12082. "data": {
  12083. "description": "历史敞口",
  12084. "type": "array",
  12085. "items": {
  12086. "$ref": "#/definitions/models.ErmcpHisExposure"
  12087. }
  12088. },
  12089. "enumdicname": {
  12090. "description": "单位名称",
  12091. "type": "string"
  12092. },
  12093. "middlegoodscode": {
  12094. "description": "套保品种代码",
  12095. "type": "string"
  12096. },
  12097. "middlegoodsid": {
  12098. "description": "套保品种ID",
  12099. "type": "integer"
  12100. },
  12101. "middlegoodsname": {
  12102. "description": "套保品种名称",
  12103. "type": "string"
  12104. }
  12105. }
  12106. },
  12107. "models.ErmcpMiddleGoodsChangeLog": {
  12108. "type": "object",
  12109. "properties": {
  12110. "aftervalue": {
  12111. "description": "变更后",
  12112. "type": "number"
  12113. },
  12114. "applyid": {
  12115. "description": "操作人",
  12116. "type": "integer"
  12117. },
  12118. "applyname": {
  12119. "description": "操作人名称",
  12120. "type": "string"
  12121. },
  12122. "applysrc": {
  12123. "description": "操作来源 - 1:管理端 2:终端",
  12124. "type": "integer"
  12125. },
  12126. "beforevalue": {
  12127. "description": "变更前",
  12128. "type": "number"
  12129. },
  12130. "changelogtype": {
  12131. "description": "变更流水类型 - 1:套保比率变更",
  12132. "type": "integer"
  12133. },
  12134. "handlestatus": {
  12135. "description": "处理状态",
  12136. "type": "integer"
  12137. },
  12138. "logdatetime": {
  12139. "description": "流水日期",
  12140. "type": "string"
  12141. },
  12142. "logid": {
  12143. "description": "流水ID",
  12144. "type": "integer"
  12145. },
  12146. "logremark": {
  12147. "description": "流水备注",
  12148. "type": "string"
  12149. },
  12150. "middlegoodsid": {
  12151. "description": "套保品种ID",
  12152. "type": "integer"
  12153. },
  12154. "tradedate": {
  12155. "description": "交易日(yyyyMMdd)",
  12156. "type": "string"
  12157. },
  12158. "updatetime": {
  12159. "description": "更新时间",
  12160. "type": "string"
  12161. }
  12162. }
  12163. },
  12164. "models.ErmcpMiddleGoodsDetail": {
  12165. "type": "object",
  12166. "properties": {
  12167. "cvList": {
  12168. "description": "期货品种折算列表",
  12169. "type": "array",
  12170. "items": {
  12171. "$ref": "#/definitions/models.GoodsGroupConvert"
  12172. }
  12173. },
  12174. "mg": {
  12175. "description": "套保品种基本信息",
  12176. "type": "object",
  12177. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  12178. }
  12179. }
  12180. },
  12181. "models.ErmcpMiddleGoodsModel": {
  12182. "type": "object",
  12183. "properties": {
  12184. "areauserid": {
  12185. "description": "机构用户ID",
  12186. "type": "integer"
  12187. },
  12188. "createtime": {
  12189. "description": "修改时间",
  12190. "type": "string"
  12191. },
  12192. "enumdicname": {
  12193. "description": "单位名称",
  12194. "type": "string"
  12195. },
  12196. "evaluateratio": {
  12197. "description": "估价系数",
  12198. "type": "number"
  12199. },
  12200. "goodsgroupid": {
  12201. "description": "关联期货品种ID",
  12202. "type": "integer"
  12203. },
  12204. "isvalid": {
  12205. "description": "状态 0-无效(停用) 1-有效(正常)",
  12206. "type": "integer"
  12207. },
  12208. "middlegoodscode": {
  12209. "description": "套保品种代码",
  12210. "type": "string"
  12211. },
  12212. "middlegoodsid": {
  12213. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  12214. "type": "integer"
  12215. },
  12216. "middlegoodsname": {
  12217. "description": "套保品种名称",
  12218. "type": "string"
  12219. },
  12220. "modifytime": {
  12221. "description": "修改时间",
  12222. "type": "string"
  12223. },
  12224. "needhedgeratio": {
  12225. "description": "套保比率",
  12226. "type": "number"
  12227. },
  12228. "qtydecimalplace": {
  12229. "description": "数量小数位",
  12230. "type": "integer"
  12231. },
  12232. "relatedgoodsid": {
  12233. "description": "关联交易商品ID",
  12234. "type": "integer"
  12235. },
  12236. "relatedgoodstype": {
  12237. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  12238. "type": "integer"
  12239. },
  12240. "remark": {
  12241. "description": "备注",
  12242. "type": "string"
  12243. }
  12244. }
  12245. },
  12246. "models.ErmcpModel": {
  12247. "type": "object",
  12248. "properties": {
  12249. "accountname": {
  12250. "description": "账户名称",
  12251. "type": "string"
  12252. },
  12253. "attachment": {
  12254. "description": "附件",
  12255. "type": "string"
  12256. },
  12257. "audittime": {
  12258. "description": "审核时间",
  12259. "type": "string"
  12260. },
  12261. "brandname": {
  12262. "description": "品牌名称",
  12263. "type": "string"
  12264. },
  12265. "contracctstatus": {
  12266. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12267. "type": "integer"
  12268. },
  12269. "contractmargin": {
  12270. "description": "合同保证金",
  12271. "type": "number"
  12272. },
  12273. "contractno": {
  12274. "description": "合同编号",
  12275. "type": "string"
  12276. },
  12277. "contracttype": {
  12278. "description": "合同类型 1-采购, -1-销售",
  12279. "type": "integer"
  12280. },
  12281. "convertfactor": {
  12282. "description": "标仓系数",
  12283. "type": "number"
  12284. },
  12285. "createtime": {
  12286. "description": "创建时间",
  12287. "type": "string"
  12288. },
  12289. "daikaiamount": {
  12290. "description": "待开票额",
  12291. "type": "number"
  12292. },
  12293. "deliveryenddate": {
  12294. "description": "交割结束日",
  12295. "type": "string"
  12296. },
  12297. "deliverygoodscode": {
  12298. "description": "现货品种代码",
  12299. "type": "string"
  12300. },
  12301. "deliverygoodsid": {
  12302. "description": "现货商品ID",
  12303. "type": "integer"
  12304. },
  12305. "deliverygoodsname": {
  12306. "description": "现货品种名称",
  12307. "type": "string"
  12308. },
  12309. "deliverystartdate": {
  12310. "description": "交割开始日",
  12311. "type": "string"
  12312. },
  12313. "enddate": {
  12314. "description": "点价结束日",
  12315. "type": "string"
  12316. },
  12317. "enumdicname": {
  12318. "description": "单位名称",
  12319. "type": "string"
  12320. },
  12321. "goodscode": {
  12322. "description": "点价商品代码",
  12323. "type": "string"
  12324. },
  12325. "goodsid": {
  12326. "description": "点价商品ID",
  12327. "type": "integer"
  12328. },
  12329. "goodsname": {
  12330. "description": "点价商品名称",
  12331. "type": "string"
  12332. },
  12333. "invoiceamount": {
  12334. "description": "已开票额",
  12335. "type": "number"
  12336. },
  12337. "loanamount": {
  12338. "description": "贷款总额=已定价额+调整金额",
  12339. "type": "number"
  12340. },
  12341. "margin": {
  12342. "description": "保证金",
  12343. "type": "number"
  12344. },
  12345. "modelname": {
  12346. "description": "型号名称",
  12347. "type": "string"
  12348. },
  12349. "payamount": {
  12350. "description": "已收付额(收款或付款)",
  12351. "type": "number"
  12352. },
  12353. "price": {
  12354. "description": "价格",
  12355. "type": "number"
  12356. },
  12357. "pricedamount": {
  12358. "description": "已定价额",
  12359. "type": "number"
  12360. },
  12361. "pricedavg": {
  12362. "description": "已点均价",
  12363. "type": "number"
  12364. },
  12365. "pricedqty": {
  12366. "description": "已定价量",
  12367. "type": "number"
  12368. },
  12369. "pricemove": {
  12370. "description": "升贴水",
  12371. "type": "number"
  12372. },
  12373. "pricetype": {
  12374. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12375. "type": "integer"
  12376. },
  12377. "producttype": {
  12378. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12379. "type": "integer"
  12380. },
  12381. "qty": {
  12382. "description": "合同量",
  12383. "type": "number"
  12384. },
  12385. "reckonadjustamount": {
  12386. "description": "调整金额",
  12387. "type": "number"
  12388. },
  12389. "reckonedamount": {
  12390. "description": "已收付额(已确定额)",
  12391. "type": "number"
  12392. },
  12393. "reckonotheramount": {
  12394. "description": "其它费用",
  12395. "type": "number"
  12396. },
  12397. "reckonrealqty": {
  12398. "description": "已确定量",
  12399. "type": "number"
  12400. },
  12401. "remark": {
  12402. "description": "备注",
  12403. "type": "string"
  12404. },
  12405. "spotcontractid": {
  12406. "description": "合同ID",
  12407. "type": "string"
  12408. },
  12409. "spotgoodsbrandid": {
  12410. "description": "现货品牌ID",
  12411. "type": "integer"
  12412. },
  12413. "spotgoodsdesc": {
  12414. "description": "商品型号(商品规格)",
  12415. "type": "string"
  12416. },
  12417. "spotgoodsmodelid": {
  12418. "description": "现货型号ID",
  12419. "type": "integer"
  12420. },
  12421. "startdate": {
  12422. "description": "点价开始日",
  12423. "type": "string"
  12424. },
  12425. "totalamount": {
  12426. "description": "合计总额",
  12427. "type": "number"
  12428. },
  12429. "unpayamount": {
  12430. "description": "待支收额(支付或收款)",
  12431. "type": "number"
  12432. },
  12433. "unpricedqty": {
  12434. "description": "未定价量",
  12435. "type": "number"
  12436. },
  12437. "unsureqty": {
  12438. "description": "未确定量",
  12439. "type": "number"
  12440. },
  12441. "userid": {
  12442. "description": "用户ID",
  12443. "type": "integer"
  12444. },
  12445. "wrstandardcode": {
  12446. "description": "现货商品代码",
  12447. "type": "string"
  12448. },
  12449. "wrstandardid": {
  12450. "description": "现货商品ID",
  12451. "type": "integer"
  12452. },
  12453. "wrstandardname": {
  12454. "description": "现货商品名称",
  12455. "type": "string"
  12456. }
  12457. }
  12458. },
  12459. "models.ErmcpOPLogModel": {
  12460. "type": "object",
  12461. "properties": {
  12462. "aftervalue": {
  12463. "description": "变更后",
  12464. "type": "number"
  12465. },
  12466. "applyid": {
  12467. "description": "操作人ID",
  12468. "type": "string"
  12469. },
  12470. "applyname": {
  12471. "description": "操作人名称",
  12472. "type": "string"
  12473. },
  12474. "beforevalue": {
  12475. "description": "变更前",
  12476. "type": "number"
  12477. },
  12478. "biztype": {
  12479. "description": "业务类型 - 1:套保计划 2:现货合同",
  12480. "type": "integer"
  12481. },
  12482. "contracttype": {
  12483. "description": "现货合同类型 - 1:采购 -1:销售",
  12484. "type": "integer"
  12485. },
  12486. "logvalue": {
  12487. "description": "数值",
  12488. "type": "number"
  12489. },
  12490. "operatelogtype": {
  12491. "description": "操作流水类型",
  12492. "type": "integer"
  12493. },
  12494. "operatelogtypedesc": {
  12495. "description": "操作流水类型名称",
  12496. "type": "string"
  12497. },
  12498. "relatedid": {
  12499. "description": "现货合同ID\\套保计划",
  12500. "type": "string"
  12501. },
  12502. "updatetime": {
  12503. "description": "更新时间",
  12504. "type": "string"
  12505. }
  12506. }
  12507. },
  12508. "models.ErmcpPendingAudit": {
  12509. "type": "object",
  12510. "properties": {
  12511. "areastockqty": {
  12512. "description": "待审核数量: 库存申请",
  12513. "type": "integer"
  12514. },
  12515. "businessdjqty": {
  12516. "description": "待审核数量: 点价",
  12517. "type": "integer"
  12518. },
  12519. "businessfpqty": {
  12520. "description": "待审核数量: 发票",
  12521. "type": "integer"
  12522. },
  12523. "businessjsqty": {
  12524. "description": "待审核数量: 结算",
  12525. "type": "integer"
  12526. },
  12527. "businesskxqty": {
  12528. "description": "待审核数量: 款项",
  12529. "type": "integer"
  12530. },
  12531. "hedgeplanqty": {
  12532. "description": "待审核数量: 套保计划",
  12533. "type": "integer"
  12534. },
  12535. "spotcontractqty": {
  12536. "description": "待审核数量: 现货合同",
  12537. "type": "integer"
  12538. },
  12539. "userqty": {
  12540. "description": "待审核数量: 用户",
  12541. "type": "integer"
  12542. }
  12543. }
  12544. },
  12545. "models.ErmcpRealExposureModel": {
  12546. "type": "object",
  12547. "properties": {
  12548. "AreaUserID": {
  12549. "description": "所属机构",
  12550. "type": "integer"
  12551. },
  12552. "BuyFutureQty": {
  12553. "description": "买入期货数量",
  12554. "type": "number"
  12555. },
  12556. "BuyPlanQty": {
  12557. "description": "采购计划数量",
  12558. "type": "number"
  12559. },
  12560. "BuyPricedQty": {
  12561. "description": "采购合同已定价数量",
  12562. "type": "number"
  12563. },
  12564. "MiddleGoodsCode": {
  12565. "description": "套保品种代码",
  12566. "type": "string"
  12567. },
  12568. "MiddleGoodsHedgeRatio": {
  12569. "description": "应套保比例",
  12570. "type": "number"
  12571. },
  12572. "MiddleGoodsID": {
  12573. "description": "套保品种",
  12574. "type": "integer"
  12575. },
  12576. "MiddleGoodsName": {
  12577. "description": "套保品种名称",
  12578. "type": "string"
  12579. },
  12580. "NeedHedgeExposoure": {
  12581. "description": "应套保敞口",
  12582. "type": "number"
  12583. },
  12584. "NeedHedgeRatio": {
  12585. "description": "应套保敞口比例",
  12586. "type": "number"
  12587. },
  12588. "OriBuyFutureQty": {
  12589. "description": "期初买入期货数量",
  12590. "type": "number"
  12591. },
  12592. "OriBuyPlanQty": {
  12593. "description": "期初采购计划数量",
  12594. "type": "number"
  12595. },
  12596. "OriBuyPricedQty": {
  12597. "description": "期初采购合同已定价数量",
  12598. "type": "number"
  12599. },
  12600. "OriSellFutureQty": {
  12601. "description": "期初卖出期货数量",
  12602. "type": "number"
  12603. },
  12604. "OriSellPlanQty": {
  12605. "description": "期初销售计划数量",
  12606. "type": "number"
  12607. },
  12608. "OriSellPricedQty": {
  12609. "description": "期初销售合同已定价数量",
  12610. "type": "number"
  12611. },
  12612. "SellFutureQty": {
  12613. "description": "卖出期货数量",
  12614. "type": "number"
  12615. },
  12616. "SellPlanQty": {
  12617. "description": "销售计划数量",
  12618. "type": "number"
  12619. },
  12620. "SellPricedQty": {
  12621. "description": "销售合同已定价数量",
  12622. "type": "number"
  12623. },
  12624. "TotalExposure": {
  12625. "description": "总敞口",
  12626. "type": "number"
  12627. },
  12628. "TotalFutureQty": {
  12629. "description": "期货数量",
  12630. "type": "number"
  12631. },
  12632. "TotalHedgeRatio": {
  12633. "description": "敞口比例",
  12634. "type": "number"
  12635. },
  12636. "TotalNeedHedgeQty": {
  12637. "description": "期货应套保量",
  12638. "type": "number"
  12639. },
  12640. "TotalSpotQty": {
  12641. "description": "现货数量",
  12642. "type": "number"
  12643. },
  12644. "diffFutuQty": {
  12645. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  12646. "type": "number"
  12647. },
  12648. "diffSpotQty": {
  12649. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  12650. "type": "number"
  12651. },
  12652. "enumdicname": {
  12653. "description": "单位名称",
  12654. "type": "string"
  12655. },
  12656. "oriTotalFutuQty": {
  12657. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  12658. "type": "number"
  12659. },
  12660. "oriTotalSpotQty": {
  12661. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  12662. "type": "number"
  12663. }
  12664. }
  12665. },
  12666. "models.ErmcpReportDayExposure": {
  12667. "type": "object",
  12668. "properties": {
  12669. "areauserid": {
  12670. "description": "所属机构",
  12671. "type": "integer"
  12672. },
  12673. "buyfutureqty": {
  12674. "description": "买入期货数量",
  12675. "type": "number"
  12676. },
  12677. "buyplanqty": {
  12678. "description": "采购计划数量",
  12679. "type": "number"
  12680. },
  12681. "buypricedqty": {
  12682. "description": "采购合同已定价数量",
  12683. "type": "number"
  12684. },
  12685. "diffFutuQty": {
  12686. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  12687. "type": "number"
  12688. },
  12689. "diffSpotQty": {
  12690. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  12691. "type": "number"
  12692. },
  12693. "enumdicname": {
  12694. "description": "单位名称",
  12695. "type": "string"
  12696. },
  12697. "middlegoodscode": {
  12698. "description": "套保品种代码",
  12699. "type": "string"
  12700. },
  12701. "middlegoodshedgeratio": {
  12702. "description": "应套保比例",
  12703. "type": "number"
  12704. },
  12705. "middlegoodsid": {
  12706. "description": "套保品种ID",
  12707. "type": "integer"
  12708. },
  12709. "middlegoodsname": {
  12710. "description": "套保品种名称",
  12711. "type": "string"
  12712. },
  12713. "needhedgeexposoure": {
  12714. "description": "应套保敞口",
  12715. "type": "number"
  12716. },
  12717. "needhedgeratio": {
  12718. "description": "应套保敞口比例",
  12719. "type": "number"
  12720. },
  12721. "oriTotalFutuQty": {
  12722. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  12723. "type": "number"
  12724. },
  12725. "oriTotalSpotQty": {
  12726. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  12727. "type": "number"
  12728. },
  12729. "oribuyfutureqty": {
  12730. "description": "期初买入期货数量",
  12731. "type": "number"
  12732. },
  12733. "oribuyplanqty": {
  12734. "description": "期初采购计划数量",
  12735. "type": "number"
  12736. },
  12737. "oribuypricedqty": {
  12738. "description": "期初采购合同已定价数量",
  12739. "type": "number"
  12740. },
  12741. "orisellfutureqty": {
  12742. "description": "期初卖出期货数量",
  12743. "type": "number"
  12744. },
  12745. "orisellplanqty": {
  12746. "description": "期初销售计划数量",
  12747. "type": "number"
  12748. },
  12749. "orisellpricedqty": {
  12750. "description": "期初销售合同已定价数量",
  12751. "type": "number"
  12752. },
  12753. "reckondate": {
  12754. "description": "日照时期(yyyyMMdd)",
  12755. "type": "string"
  12756. },
  12757. "sellfutureqty": {
  12758. "description": "卖出期货数量",
  12759. "type": "number"
  12760. },
  12761. "sellplanqty": {
  12762. "description": "销售计划数量",
  12763. "type": "number"
  12764. },
  12765. "sellpricedqty": {
  12766. "description": "销售合同已定价数量",
  12767. "type": "number"
  12768. },
  12769. "totalexposure": {
  12770. "description": "总敞口",
  12771. "type": "number"
  12772. },
  12773. "totalfutureqty": {
  12774. "description": "期货数量",
  12775. "type": "number"
  12776. },
  12777. "totalhedgeratio": {
  12778. "description": "敞口比例",
  12779. "type": "number"
  12780. },
  12781. "totalneedhedgeqty": {
  12782. "description": "期货应套保量",
  12783. "type": "number"
  12784. },
  12785. "totalspotqty": {
  12786. "description": "现货数量",
  12787. "type": "number"
  12788. }
  12789. }
  12790. },
  12791. "models.ErmcpReportDayFR": {
  12792. "type": "object",
  12793. "properties": {
  12794. "areauserid": {
  12795. "description": "所属机构",
  12796. "type": "integer"
  12797. },
  12798. "collectinvoiceamount": {
  12799. "description": "今日开票金额",
  12800. "type": "number"
  12801. },
  12802. "collectinvoicecount": {
  12803. "description": "今日开票笔数",
  12804. "type": "integer"
  12805. },
  12806. "collectmoneyamount": {
  12807. "description": "今日收款金额",
  12808. "type": "number"
  12809. },
  12810. "collectmoneycount": {
  12811. "description": "今日收款笔数",
  12812. "type": "integer"
  12813. },
  12814. "payinvoiceamount": {
  12815. "description": "今日收票金额",
  12816. "type": "number"
  12817. },
  12818. "payinvoicecount": {
  12819. "description": "今日收票笔数",
  12820. "type": "integer"
  12821. },
  12822. "paymoneyamount": {
  12823. "description": "今日付款金额",
  12824. "type": "number"
  12825. },
  12826. "paymoneycount": {
  12827. "description": "今日付款笔数",
  12828. "type": "integer"
  12829. },
  12830. "reckondate": {
  12831. "description": "日照时期(yyyyMMdd)",
  12832. "type": "string"
  12833. },
  12834. "updatetime": {
  12835. "description": "更新时间",
  12836. "type": "string"
  12837. }
  12838. }
  12839. },
  12840. "models.ErmcpReportDaySpot": {
  12841. "type": "object",
  12842. "properties": {
  12843. "areauserid": {
  12844. "description": "所属机构T",
  12845. "type": "integer"
  12846. },
  12847. "buyinqty": {
  12848. "description": "采购入库量",
  12849. "type": "number"
  12850. },
  12851. "enumdicname": {
  12852. "description": "现货商品单位名称",
  12853. "type": "string"
  12854. },
  12855. "reckondate": {
  12856. "description": "日照时期(yyyyMMdd)",
  12857. "type": "string"
  12858. },
  12859. "selloutqty": {
  12860. "description": "销售出库量",
  12861. "type": "number"
  12862. },
  12863. "todaybuyreckonqty": {
  12864. "description": "采购确定量",
  12865. "type": "number"
  12866. },
  12867. "todaysellreckonqty": {
  12868. "description": "销售确定量",
  12869. "type": "number"
  12870. },
  12871. "totalbuypricedqty": {
  12872. "description": "采购定价量 = 期末 - 期初",
  12873. "type": "number"
  12874. },
  12875. "totalsellpricedqty": {
  12876. "description": "销售定价量 = 期末 - 期初",
  12877. "type": "number"
  12878. },
  12879. "wrstandardcode": {
  12880. "description": "现货商品代码",
  12881. "type": "string"
  12882. },
  12883. "wrstandardid": {
  12884. "description": "现货商品ID",
  12885. "type": "integer"
  12886. },
  12887. "wrstandardname": {
  12888. "description": "现货商品名称",
  12889. "type": "string"
  12890. }
  12891. }
  12892. },
  12893. "models.ErmcpReportMonSpot": {
  12894. "type": "object",
  12895. "properties": {
  12896. "areauserid": {
  12897. "description": "所属机构T",
  12898. "type": "integer"
  12899. },
  12900. "buyinqty": {
  12901. "description": "采购入库量",
  12902. "type": "number"
  12903. },
  12904. "cycletime": {
  12905. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12906. "type": "string"
  12907. },
  12908. "cycletype": {
  12909. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12910. "type": "integer"
  12911. },
  12912. "enumdicname": {
  12913. "description": "现货商品单位名称",
  12914. "type": "string"
  12915. },
  12916. "selloutqty": {
  12917. "description": "销售出库量",
  12918. "type": "number"
  12919. },
  12920. "todaybuyreckonqty": {
  12921. "description": "采购确定量",
  12922. "type": "number"
  12923. },
  12924. "todaysellreckonqty": {
  12925. "description": "销售确定量",
  12926. "type": "number"
  12927. },
  12928. "totalbuypricedqty": {
  12929. "description": "采购定价量 = 期末 - 期初",
  12930. "type": "number"
  12931. },
  12932. "totalsellpricedqty": {
  12933. "description": "销售定价量 = 期末 - 期初",
  12934. "type": "number"
  12935. },
  12936. "wrstandardcode": {
  12937. "description": "现货商品代码",
  12938. "type": "string"
  12939. },
  12940. "wrstandardid": {
  12941. "description": "现货商品ID",
  12942. "type": "integer"
  12943. },
  12944. "wrstandardname": {
  12945. "description": "现货商品名称",
  12946. "type": "string"
  12947. }
  12948. }
  12949. },
  12950. "models.ErmcpReportMonthFR": {
  12951. "type": "object",
  12952. "properties": {
  12953. "areauserid": {
  12954. "description": "所属机构【原值】",
  12955. "type": "integer"
  12956. },
  12957. "collectinvoiceamount": {
  12958. "description": "今日开票金额【汇总】",
  12959. "type": "number"
  12960. },
  12961. "collectinvoicecount": {
  12962. "description": "今日开票笔数【汇总】",
  12963. "type": "integer"
  12964. },
  12965. "collectmoneyamount": {
  12966. "description": "今日收款金额【汇总】",
  12967. "type": "number"
  12968. },
  12969. "collectmoneycount": {
  12970. "description": "今日收款笔数 【汇总】",
  12971. "type": "integer"
  12972. },
  12973. "cycletime": {
  12974. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12975. "type": "string"
  12976. },
  12977. "cycletype": {
  12978. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12979. "type": "integer"
  12980. },
  12981. "dayFr": {
  12982. "description": "日报表明细",
  12983. "type": "array",
  12984. "items": {
  12985. "$ref": "#/definitions/models.ErmcpReportDayFR"
  12986. }
  12987. },
  12988. "payinvoiceamount": {
  12989. "description": "今日收票金额【汇总】",
  12990. "type": "number"
  12991. },
  12992. "payinvoicecount": {
  12993. "description": "今日收票笔数【汇总】",
  12994. "type": "integer"
  12995. },
  12996. "paymoneyamount": {
  12997. "description": "今日付款金额【汇总】",
  12998. "type": "number"
  12999. },
  13000. "paymoneycount": {
  13001. "description": "今日付款笔数【汇总】",
  13002. "type": "integer"
  13003. },
  13004. "updatetime": {
  13005. "description": "更新时间",
  13006. "type": "string"
  13007. }
  13008. }
  13009. },
  13010. "models.ErmcpReportOPLog": {
  13011. "type": "object",
  13012. "properties": {
  13013. "applyid": {
  13014. "description": "操作人",
  13015. "type": "integer"
  13016. },
  13017. "applyname": {
  13018. "description": "操作人名称",
  13019. "type": "string"
  13020. },
  13021. "biztype": {
  13022. "description": "业务类型 - 1:套保计划 2:现货合同",
  13023. "type": "integer"
  13024. },
  13025. "brandname": {
  13026. "description": "品牌名称",
  13027. "type": "string"
  13028. },
  13029. "contracttype": {
  13030. "description": "现货合同类型 - 1:采购 -1:销售",
  13031. "type": "integer"
  13032. },
  13033. "enumdicName": {
  13034. "description": "单位名称",
  13035. "type": "string"
  13036. },
  13037. "logdatetime": {
  13038. "description": "流水日期(时间)",
  13039. "type": "string"
  13040. },
  13041. "logid": {
  13042. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  13043. "type": "string"
  13044. },
  13045. "logtypename": {
  13046. "description": "合同类型(名称)",
  13047. "type": "string"
  13048. },
  13049. "logvalue": {
  13050. "description": "数值",
  13051. "type": "string"
  13052. },
  13053. "modelname": {
  13054. "description": "型号名称",
  13055. "type": "string"
  13056. },
  13057. "operatelogtype": {
  13058. "description": "操作流水类型 -",
  13059. "type": "integer"
  13060. },
  13061. "optypename": {
  13062. "description": "流水类型名称",
  13063. "type": "string"
  13064. },
  13065. "relatedid": {
  13066. "description": "现货合同ID\\套保计划",
  13067. "type": "string"
  13068. },
  13069. "relatedno": {
  13070. "description": "合同编号",
  13071. "type": "string"
  13072. },
  13073. "tradedate": {
  13074. "description": "交易日(yyyyMMdd)",
  13075. "type": "string"
  13076. },
  13077. "userid": {
  13078. "description": "机构ID",
  13079. "type": "integer"
  13080. },
  13081. "wrstandardcode": {
  13082. "description": "现货商品代码",
  13083. "type": "string"
  13084. },
  13085. "wrstandardid": {
  13086. "description": "现货商品ID",
  13087. "type": "integer"
  13088. },
  13089. "wrstandardname": {
  13090. "description": "现货商品名称",
  13091. "type": "string"
  13092. }
  13093. }
  13094. },
  13095. "models.ErmcpSpotContractModel": {
  13096. "type": "object",
  13097. "properties": {
  13098. "amount": {
  13099. "description": "金额 [1:一口价、3:暂定价]",
  13100. "type": "number"
  13101. },
  13102. "attachment": {
  13103. "description": "附件",
  13104. "type": "string"
  13105. },
  13106. "auditremark": {
  13107. "description": "审核意见",
  13108. "type": "string"
  13109. },
  13110. "audittime": {
  13111. "description": "审核时间",
  13112. "type": "string"
  13113. },
  13114. "brandname": {
  13115. "description": "品牌名称",
  13116. "type": "string"
  13117. },
  13118. "buyuserid": {
  13119. "description": "采购方ID",
  13120. "type": "integer"
  13121. },
  13122. "buyusername": {
  13123. "description": "采购方名称",
  13124. "type": "string"
  13125. },
  13126. "contracctstatus": {
  13127. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13128. "type": "integer"
  13129. },
  13130. "contractmargin": {
  13131. "description": "合同保证金",
  13132. "type": "number"
  13133. },
  13134. "contractno": {
  13135. "description": "现货合同编号",
  13136. "type": "string"
  13137. },
  13138. "contracttype": {
  13139. "description": "现货合同类型 - 1:采购 -1:销售",
  13140. "type": "integer"
  13141. },
  13142. "convertfactor": {
  13143. "description": "标仓系数",
  13144. "type": "number"
  13145. },
  13146. "createtime": {
  13147. "description": "创建时间",
  13148. "type": "string"
  13149. },
  13150. "deliveryenddate": {
  13151. "description": "交收期(结束)",
  13152. "type": "string"
  13153. },
  13154. "deliverygoodscode": {
  13155. "description": "现货品种代码",
  13156. "type": "string"
  13157. },
  13158. "deliverygoodsid": {
  13159. "description": "现货品种ID",
  13160. "type": "integer"
  13161. },
  13162. "deliverygoodsname": {
  13163. "description": "现货品种名称",
  13164. "type": "string"
  13165. },
  13166. "deliverystartdate": {
  13167. "description": "交收期(开始)",
  13168. "type": "string"
  13169. },
  13170. "enddate": {
  13171. "description": "点价结束日期 [2:点价 3:暂定价]",
  13172. "type": "string"
  13173. },
  13174. "enumdicname": {
  13175. "description": "单位名称",
  13176. "type": "string"
  13177. },
  13178. "goodscode": {
  13179. "description": "点价合约代码",
  13180. "type": "string"
  13181. },
  13182. "goodsid": {
  13183. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  13184. "type": "integer"
  13185. },
  13186. "goodsname": {
  13187. "description": "点价商品名称",
  13188. "type": "string"
  13189. },
  13190. "margin": {
  13191. "description": "当前保证金",
  13192. "type": "number"
  13193. },
  13194. "modelname": {
  13195. "description": "型号名称",
  13196. "type": "string"
  13197. },
  13198. "price": {
  13199. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  13200. "type": "number"
  13201. },
  13202. "pricemove": {
  13203. "description": "升贴水 [2:点价 3:暂定价]",
  13204. "type": "number"
  13205. },
  13206. "pricetype": {
  13207. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13208. "type": "integer"
  13209. },
  13210. "producttype": {
  13211. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13212. "type": "integer"
  13213. },
  13214. "qty": {
  13215. "description": "数量",
  13216. "type": "number"
  13217. },
  13218. "remark": {
  13219. "description": "备注",
  13220. "type": "string"
  13221. },
  13222. "selluserid": {
  13223. "description": "销售方ID",
  13224. "type": "integer"
  13225. },
  13226. "sellusername": {
  13227. "description": "销售方名称",
  13228. "type": "string"
  13229. },
  13230. "spotcontractid": {
  13231. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  13232. "type": "string"
  13233. },
  13234. "spotgoodsbrandid": {
  13235. "description": "现货品牌ID",
  13236. "type": "integer"
  13237. },
  13238. "spotgoodsdesc": {
  13239. "description": "商品型号",
  13240. "type": "string"
  13241. },
  13242. "spotgoodsmodelid": {
  13243. "description": "现货型号ID",
  13244. "type": "integer"
  13245. },
  13246. "startdate": {
  13247. "description": "点价开始日期 [2:点价 3:暂定价]",
  13248. "type": "string"
  13249. },
  13250. "updatetime": {
  13251. "description": "更新时间",
  13252. "type": "string"
  13253. },
  13254. "userid": {
  13255. "description": "机构ID",
  13256. "type": "integer"
  13257. },
  13258. "wrstandardcode": {
  13259. "description": "现货商品代码",
  13260. "type": "string"
  13261. },
  13262. "wrstandardid": {
  13263. "description": "现货商品ID",
  13264. "type": "integer"
  13265. },
  13266. "wrstandardname": {
  13267. "description": "现货商品名称",
  13268. "type": "string"
  13269. }
  13270. }
  13271. },
  13272. "models.ErmcpUserModel": {
  13273. "type": "object",
  13274. "properties": {
  13275. "address": {
  13276. "description": "通讯地址",
  13277. "type": "string"
  13278. },
  13279. "attachment1": {
  13280. "description": "附件1",
  13281. "type": "string"
  13282. },
  13283. "audittime": {
  13284. "description": "审核时间",
  13285. "type": "string"
  13286. },
  13287. "cardfrontphotourl": {
  13288. "description": "证件正面图片地址",
  13289. "type": "string"
  13290. },
  13291. "cardnum": {
  13292. "description": "证件号码",
  13293. "type": "string"
  13294. },
  13295. "cardtype": {
  13296. "description": "证件类型",
  13297. "type": "integer"
  13298. },
  13299. "cardtypename": {
  13300. "description": "证件类型名称",
  13301. "type": "string"
  13302. },
  13303. "cityid": {
  13304. "description": "市",
  13305. "type": "integer"
  13306. },
  13307. "countryid": {
  13308. "description": "国家",
  13309. "type": "integer"
  13310. },
  13311. "createtime": {
  13312. "description": "创建时间",
  13313. "type": "string"
  13314. },
  13315. "customername": {
  13316. "description": "企业名称",
  13317. "type": "string"
  13318. },
  13319. "districtid": {
  13320. "description": "区域",
  13321. "type": "integer"
  13322. },
  13323. "memberuserid": {
  13324. "description": "所属机构ID",
  13325. "type": "integer"
  13326. },
  13327. "mobile": {
  13328. "description": "手机号码",
  13329. "type": "string"
  13330. },
  13331. "modifytime": {
  13332. "description": "修改时间",
  13333. "type": "string"
  13334. },
  13335. "provinceid": {
  13336. "description": "省",
  13337. "type": "integer"
  13338. },
  13339. "remark": {
  13340. "description": "备注",
  13341. "type": "string"
  13342. },
  13343. "status": {
  13344. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  13345. "type": "integer"
  13346. },
  13347. "statusdesc": {
  13348. "description": "账户状态中文描述",
  13349. "type": "string"
  13350. },
  13351. "telphone": {
  13352. "description": "联系电话",
  13353. "type": "string"
  13354. },
  13355. "userid": {
  13356. "description": "用户ID",
  13357. "type": "integer"
  13358. },
  13359. "userinfotype": {
  13360. "description": "客户类型",
  13361. "type": "string"
  13362. }
  13363. }
  13364. },
  13365. "models.ErmcpWareHouseInfo": {
  13366. "type": "object",
  13367. "properties": {
  13368. "address": {
  13369. "description": "详细地址",
  13370. "type": "string"
  13371. },
  13372. "areauserid": {
  13373. "description": "所属机构",
  13374. "type": "integer"
  13375. },
  13376. "autoid": {
  13377. "description": "自增ID(仓库ID)",
  13378. "type": "integer"
  13379. },
  13380. "cityid": {
  13381. "description": "市",
  13382. "type": "integer"
  13383. },
  13384. "contactname": {
  13385. "description": "联系人",
  13386. "type": "string"
  13387. },
  13388. "contactnum": {
  13389. "description": "联系电话",
  13390. "type": "string"
  13391. },
  13392. "countryid": {
  13393. "description": "国家",
  13394. "type": "integer"
  13395. },
  13396. "createtime": {
  13397. "description": "创建时间",
  13398. "type": "string"
  13399. },
  13400. "districtid": {
  13401. "description": "区",
  13402. "type": "integer"
  13403. },
  13404. "hasvideo": {
  13405. "description": "是否有视频 - 0:无 1:有",
  13406. "type": "integer"
  13407. },
  13408. "provinceid": {
  13409. "description": "省",
  13410. "type": "integer"
  13411. },
  13412. "remark": {
  13413. "description": "审核备注",
  13414. "type": "string"
  13415. },
  13416. "videourl": {
  13417. "description": "视频地址",
  13418. "type": "string"
  13419. },
  13420. "warehousecode": {
  13421. "description": "仓库代码",
  13422. "type": "string"
  13423. },
  13424. "warehousename": {
  13425. "description": "仓库名称",
  13426. "type": "string"
  13427. },
  13428. "warehousestatus": {
  13429. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  13430. "type": "integer"
  13431. },
  13432. "warehousetype": {
  13433. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13434. "type": "integer"
  13435. }
  13436. }
  13437. },
  13438. "models.ErmcpWrstandDetail": {
  13439. "type": "object",
  13440. "properties": {
  13441. "gbList": {
  13442. "description": "品牌列表",
  13443. "type": "array",
  13444. "items": {
  13445. "$ref": "#/definitions/models.GoodsBrand"
  13446. }
  13447. },
  13448. "goodsList": {
  13449. "description": "关联交易商品列表",
  13450. "type": "array",
  13451. "items": {
  13452. "$ref": "#/definitions/models.RelatedGoodsEx"
  13453. }
  13454. },
  13455. "gtList": {
  13456. "description": "型号列表",
  13457. "type": "array",
  13458. "items": {
  13459. "$ref": "#/definitions/models.GoodsTypeModel"
  13460. }
  13461. },
  13462. "wrd": {
  13463. "description": "基本信息",
  13464. "type": "object",
  13465. "$ref": "#/definitions/models.ErmcpWrstandard"
  13466. },
  13467. "wrsList": {
  13468. "description": "套保信息列表",
  13469. "type": "array",
  13470. "items": {
  13471. "$ref": "#/definitions/models.WRSConverTDetail"
  13472. }
  13473. }
  13474. }
  13475. },
  13476. "models.ErmcpWrstandard": {
  13477. "type": "object",
  13478. "properties": {
  13479. "areauserid": {
  13480. "description": "所属机构",
  13481. "type": "integer"
  13482. },
  13483. "createtime": {
  13484. "description": "创建时间",
  13485. "type": "string"
  13486. },
  13487. "creatorid": {
  13488. "description": "创建人",
  13489. "type": "integer"
  13490. },
  13491. "deliverygoodsid": {
  13492. "description": "品种ID",
  13493. "type": "integer"
  13494. },
  13495. "enumdicname": {
  13496. "description": "单位名称",
  13497. "type": "string"
  13498. },
  13499. "isvalid": {
  13500. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  13501. "type": "integer"
  13502. },
  13503. "minivalue": {
  13504. "description": "最小变动值",
  13505. "type": "integer"
  13506. },
  13507. "minivaluedp": {
  13508. "description": "最小变动值小数位",
  13509. "type": "integer"
  13510. },
  13511. "realminivalue": {
  13512. "description": "实际最小变动值",
  13513. "type": "integer"
  13514. },
  13515. "realminivaluedp": {
  13516. "description": "实际最小变动值小数位",
  13517. "type": "integer"
  13518. },
  13519. "remark": {
  13520. "description": "备注",
  13521. "type": "string"
  13522. },
  13523. "unitid": {
  13524. "description": "单位ID",
  13525. "type": "integer"
  13526. },
  13527. "updatetime": {
  13528. "description": "更新时间",
  13529. "type": "string"
  13530. },
  13531. "wrstandardcode": {
  13532. "description": "现货商品代码",
  13533. "type": "string"
  13534. },
  13535. "wrstandardid": {
  13536. "description": "现货商品ID(SEQ_WRSTANDARD)",
  13537. "type": "integer"
  13538. },
  13539. "wrstandardname": {
  13540. "description": "现货商品名称",
  13541. "type": "string"
  13542. }
  13543. }
  13544. },
  13545. "models.Externalexchange": {
  13546. "type": "object",
  13547. "required": [
  13548. "autoid"
  13549. ],
  13550. "properties": {
  13551. "autoid": {
  13552. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  13553. "type": "integer"
  13554. },
  13555. "exchangefullname": {
  13556. "description": "外部交易所全称",
  13557. "type": "string"
  13558. },
  13559. "exexchangecode": {
  13560. "description": "外部交易所代码",
  13561. "type": "string"
  13562. },
  13563. "exexchangename": {
  13564. "description": "外部交易所名称(简称)",
  13565. "type": "string"
  13566. },
  13567. "ismarketprice": {
  13568. "description": "是否支持市价 - 0:不支持 1:支持",
  13569. "type": "integer"
  13570. },
  13571. "quotegear": {
  13572. "description": "行情档位(1-10)",
  13573. "type": "integer"
  13574. },
  13575. "showbrokerflag": {
  13576. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  13577. "type": "integer"
  13578. },
  13579. "updatetime": {
  13580. "description": "更新时间",
  13581. "type": "string"
  13582. }
  13583. }
  13584. },
  13585. "models.Funcmenulist": {
  13586. "type": "object",
  13587. "required": [
  13588. "resourcecode"
  13589. ],
  13590. "properties": {
  13591. "iconame": {
  13592. "description": "菜单图标",
  13593. "type": "string"
  13594. },
  13595. "menutype": {
  13596. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  13597. "type": "integer"
  13598. },
  13599. "parentcode": {
  13600. "description": "上级资源代码",
  13601. "type": "string"
  13602. },
  13603. "remark": {
  13604. "description": "备注",
  13605. "type": "string"
  13606. },
  13607. "resourcecode": {
  13608. "description": "资源代码",
  13609. "type": "string"
  13610. },
  13611. "resourcelevel": {
  13612. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  13613. "type": "integer"
  13614. },
  13615. "resourcename": {
  13616. "description": "资源名",
  13617. "type": "string"
  13618. },
  13619. "sort": {
  13620. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  13621. "type": "integer"
  13622. },
  13623. "url": {
  13624. "description": "URL",
  13625. "type": "string"
  13626. }
  13627. }
  13628. },
  13629. "models.Goods": {
  13630. "type": "object",
  13631. "required": [
  13632. "goodscode",
  13633. "goodsid",
  13634. "goodsname",
  13635. "marketid"
  13636. ],
  13637. "properties": {
  13638. "agreeunit": {
  13639. "description": "合约单位",
  13640. "type": "number"
  13641. },
  13642. "auditaccountid": {
  13643. "description": "审核操作员账号",
  13644. "type": "integer"
  13645. },
  13646. "audittime": {
  13647. "description": "审核时间",
  13648. "type": "string"
  13649. },
  13650. "cancelaccountid": {
  13651. "description": "注销操作员账号",
  13652. "type": "integer"
  13653. },
  13654. "canceltime": {
  13655. "description": "注销时间",
  13656. "type": "string"
  13657. },
  13658. "closepricemode": {
  13659. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  13660. "type": "integer"
  13661. },
  13662. "closepriceparam": {
  13663. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  13664. "type": "number"
  13665. },
  13666. "createtime": {
  13667. "description": "创建时间",
  13668. "type": "string"
  13669. },
  13670. "creatorid": {
  13671. "description": "创建人",
  13672. "type": "integer"
  13673. },
  13674. "currencyid": {
  13675. "description": "报价货币ID",
  13676. "type": "integer"
  13677. },
  13678. "cutmode": {
  13679. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  13680. "type": "integer"
  13681. },
  13682. "decimalplace": {
  13683. "description": "报价小数位",
  13684. "type": "integer"
  13685. },
  13686. "delistingdate": {
  13687. "description": "商品退市时间(状态:退市) -- 已作废",
  13688. "type": "string"
  13689. },
  13690. "delistingmode": {
  13691. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  13692. "type": "integer"
  13693. },
  13694. "deliveryflag": {
  13695. "description": "交割标志 - 0:不可交割 1:可交割",
  13696. "type": "integer"
  13697. },
  13698. "forceclosemode": {
  13699. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  13700. "type": "integer"
  13701. },
  13702. "forceclosevalue": {
  13703. "description": "定期强平参数 [收益权]",
  13704. "type": "integer"
  13705. },
  13706. "goodscode": {
  13707. "description": "商品代码(内部)",
  13708. "type": "string"
  13709. },
  13710. "goodscurrencyid": {
  13711. "description": "合约货币ID",
  13712. "type": "integer"
  13713. },
  13714. "goodsgroupid": {
  13715. "description": "所属商品组ID",
  13716. "type": "integer"
  13717. },
  13718. "goodsid": {
  13719. "description": "商品ID(自增ID SEQ_GOODS)",
  13720. "type": "integer"
  13721. },
  13722. "goodsname": {
  13723. "description": "商品名称",
  13724. "type": "string"
  13725. },
  13726. "goodsquotetype": {
  13727. "description": "合约报价类型: 1-直接报价 2-间接报价",
  13728. "type": "integer"
  13729. },
  13730. "goodsstatus": {
  13731. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  13732. "type": "integer"
  13733. },
  13734. "goodstradetype": {
  13735. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  13736. "type": "integer"
  13737. },
  13738. "goodunitid": {
  13739. "description": "报价单位ID",
  13740. "type": "integer"
  13741. },
  13742. "hasquoter": {
  13743. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  13744. "type": "integer"
  13745. },
  13746. "hqprotecttime": {
  13747. "description": "行情保护时间(秒)",
  13748. "type": "integer"
  13749. },
  13750. "innerdealmode": {
  13751. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  13752. "type": "integer"
  13753. },
  13754. "isbuylimited": {
  13755. "description": "是否限制建仓量 - 0:不限制 1:限制",
  13756. "type": "integer"
  13757. },
  13758. "lasttradedate": {
  13759. "description": "最后交易日期(状态:待退市)",
  13760. "type": "string"
  13761. },
  13762. "listingdate": {
  13763. "description": "交易开始日期",
  13764. "type": "string"
  13765. },
  13766. "marketid": {
  13767. "description": "所属市场ID",
  13768. "type": "integer"
  13769. },
  13770. "modifierid": {
  13771. "description": "修改人",
  13772. "type": "integer"
  13773. },
  13774. "modifystatus": {
  13775. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  13776. "type": "integer"
  13777. },
  13778. "modifytime": {
  13779. "description": "修改时间",
  13780. "type": "string"
  13781. },
  13782. "outerdealmode": {
  13783. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  13784. "type": "integer"
  13785. },
  13786. "outgoodscode": {
  13787. "description": "商品代码(外部)",
  13788. "type": "string"
  13789. },
  13790. "qtydecimalplace": {
  13791. "description": "成交量小数位",
  13792. "type": "integer"
  13793. },
  13794. "quotegear": {
  13795. "description": "行情档位(1-10)",
  13796. "type": "integer"
  13797. },
  13798. "quoteminunit": {
  13799. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13800. "type": "integer"
  13801. },
  13802. "quoteshowtype": {
  13803. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  13804. "type": "integer"
  13805. },
  13806. "quoteshowtypeinterval": {
  13807. "description": "行情报价间隔时间(秒)(成交价时为0)",
  13808. "type": "integer"
  13809. },
  13810. "remark": {
  13811. "description": "备注",
  13812. "type": "string"
  13813. }
  13814. }
  13815. },
  13816. "models.GoodsBrand": {
  13817. "type": "object",
  13818. "properties": {
  13819. "brandid": {
  13820. "description": "品牌ID",
  13821. "type": "integer"
  13822. },
  13823. "brandname": {
  13824. "description": "品牌名称",
  13825. "type": "string"
  13826. },
  13827. "isvalid": {
  13828. "description": "是否有效 - 0:无效 1:有效",
  13829. "type": "integer"
  13830. }
  13831. }
  13832. },
  13833. "models.GoodsGroupConvert": {
  13834. "type": "object",
  13835. "properties": {
  13836. "convertratio": {
  13837. "description": "折算系数",
  13838. "type": "number"
  13839. },
  13840. "dstgoodsgroupid": {
  13841. "description": "目标期货品种ID",
  13842. "type": "integer"
  13843. },
  13844. "goodsgroupname": {
  13845. "description": "期货品种名称",
  13846. "type": "string"
  13847. },
  13848. "outergroupcode": {
  13849. "description": "期货品种代码",
  13850. "type": "string"
  13851. },
  13852. "srcgoodsgroupid": {
  13853. "description": "源期货品种ID",
  13854. "type": "integer"
  13855. }
  13856. }
  13857. },
  13858. "models.GoodsIDAndName": {
  13859. "type": "object",
  13860. "required": [
  13861. "goodscode",
  13862. "goodsid",
  13863. "goodsname",
  13864. "marketid"
  13865. ],
  13866. "properties": {
  13867. "goodscode": {
  13868. "description": "商品代码(内部)",
  13869. "type": "string"
  13870. },
  13871. "goodsid": {
  13872. "description": "商品ID(自增ID SEQ_GOODS)",
  13873. "type": "integer"
  13874. },
  13875. "goodsname": {
  13876. "description": "商品名称",
  13877. "type": "string"
  13878. },
  13879. "marketid": {
  13880. "description": "所属市场ID",
  13881. "type": "integer"
  13882. }
  13883. }
  13884. },
  13885. "models.GoodsTypeModel": {
  13886. "type": "object",
  13887. "properties": {
  13888. "modelid": {
  13889. "description": "型号ID",
  13890. "type": "integer"
  13891. },
  13892. "modelname": {
  13893. "description": "型号名称",
  13894. "type": "string"
  13895. },
  13896. "updatetime": {
  13897. "description": "更新时间",
  13898. "type": "string"
  13899. }
  13900. }
  13901. },
  13902. "models.Goodsgroup": {
  13903. "type": "object",
  13904. "required": [
  13905. "goodsgroupid",
  13906. "goodsgroupname",
  13907. "goodsgroupstatus",
  13908. "marketid"
  13909. ],
  13910. "properties": {
  13911. "agreeunit": {
  13912. "description": "合约单位",
  13913. "type": "number"
  13914. },
  13915. "canshort": {
  13916. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  13917. "type": "integer"
  13918. },
  13919. "closepricemode": {
  13920. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  13921. "type": "integer"
  13922. },
  13923. "closepriceparam": {
  13924. "description": "强平最新价浮动比例 - 方式为2时使用",
  13925. "type": "number"
  13926. },
  13927. "createtime": {
  13928. "description": "创建时间",
  13929. "type": "string"
  13930. },
  13931. "creatorid": {
  13932. "description": "创建人",
  13933. "type": "integer"
  13934. },
  13935. "currencyid": {
  13936. "description": "报价货币ID",
  13937. "type": "integer"
  13938. },
  13939. "decimalplace": {
  13940. "description": "报价小数位",
  13941. "type": "integer"
  13942. },
  13943. "exercisetype": {
  13944. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  13945. "type": "integer"
  13946. },
  13947. "exexchangeid": {
  13948. "description": "外部交易所ID[通道交易]",
  13949. "type": "integer"
  13950. },
  13951. "goodsgroupid": {
  13952. "description": "商品组ID(自增ID)",
  13953. "type": "integer"
  13954. },
  13955. "goodsgroupname": {
  13956. "description": "商品组名称",
  13957. "type": "string"
  13958. },
  13959. "goodsgroupstatus": {
  13960. "description": "商品组状态 - 1:正常 2:注销",
  13961. "type": "integer"
  13962. },
  13963. "goodunitid": {
  13964. "description": "报价单位ID",
  13965. "type": "integer"
  13966. },
  13967. "innerdealmode": {
  13968. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  13969. "type": "integer"
  13970. },
  13971. "isbuylimited": {
  13972. "description": "是否限制建仓量 - 0:不限制 1:限制",
  13973. "type": "integer"
  13974. },
  13975. "marketid": {
  13976. "description": "所属市场ID",
  13977. "type": "integer"
  13978. },
  13979. "modifierid": {
  13980. "description": "修改人",
  13981. "type": "integer"
  13982. },
  13983. "modifytime": {
  13984. "description": "修改时间",
  13985. "type": "string"
  13986. },
  13987. "outerdealmode": {
  13988. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  13989. "type": "integer"
  13990. },
  13991. "outergroupcode": {
  13992. "description": "外部商品组代码[通道交易]",
  13993. "type": "string"
  13994. },
  13995. "premiumdecimalplace": {
  13996. "description": "权利金小数位[场外期权]",
  13997. "type": "integer"
  13998. },
  13999. "premiumspreadalgorithm": {
  14000. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  14001. "type": "integer"
  14002. },
  14003. "premiumspreadvalue": {
  14004. "description": "权利金点差值[场外期权]",
  14005. "type": "number"
  14006. },
  14007. "qtydecimalplace": {
  14008. "description": "成交量小数位",
  14009. "type": "integer"
  14010. },
  14011. "quotegear": {
  14012. "description": "行情档位(1-10)",
  14013. "type": "integer"
  14014. },
  14015. "quoteminunit": {
  14016. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14017. "type": "integer"
  14018. },
  14019. "quoterid": {
  14020. "description": "报价商ID[场外期权]",
  14021. "type": "integer"
  14022. },
  14023. "quotesourcegroupid": {
  14024. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14025. "type": "integer"
  14026. },
  14027. "syncgoodsqty": {
  14028. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14029. "type": "integer"
  14030. }
  14031. }
  14032. },
  14033. "models.Goodssortbypreposition": {
  14034. "type": "object",
  14035. "required": [
  14036. "goodscode",
  14037. "tradedate"
  14038. ],
  14039. "properties": {
  14040. "goodscode": {
  14041. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  14042. "type": "string"
  14043. },
  14044. "goodsgroupcode": {
  14045. "description": "品种代码",
  14046. "type": "string"
  14047. },
  14048. "prepositionqty": {
  14049. "description": "昨持仓量",
  14050. "type": "integer"
  14051. },
  14052. "sortindex": {
  14053. "description": "排序",
  14054. "type": "integer"
  14055. },
  14056. "tradedate": {
  14057. "description": "交易日",
  14058. "type": "string"
  14059. },
  14060. "updatetime": {
  14061. "description": "更新时间",
  14062. "type": "string"
  14063. }
  14064. }
  14065. },
  14066. "models.HsbyBuyMyPayOrder": {
  14067. "type": "object",
  14068. "required": [
  14069. "goodscode",
  14070. "goodsname",
  14071. "tradeid",
  14072. "trademode"
  14073. ],
  14074. "properties": {
  14075. "agreeunit": {
  14076. "description": "合约单位",
  14077. "type": "number"
  14078. },
  14079. "buyaccountid": {
  14080. "description": "买方账号ID[报价币种]",
  14081. "type": "integer"
  14082. },
  14083. "buyorderid": {
  14084. "description": "买方委托单号",
  14085. "type": "string"
  14086. },
  14087. "createtime": {
  14088. "description": "创建时间",
  14089. "type": "string"
  14090. },
  14091. "currencysign": {
  14092. "description": "货币符号",
  14093. "type": "string"
  14094. },
  14095. "decimalplace": {
  14096. "description": "报价小数位",
  14097. "type": "integer"
  14098. },
  14099. "goodscode": {
  14100. "description": "商品代码(内部)",
  14101. "type": "string"
  14102. },
  14103. "goodsid": {
  14104. "description": "商品ID",
  14105. "type": "integer"
  14106. },
  14107. "goodsname": {
  14108. "description": "商品名称",
  14109. "type": "string"
  14110. },
  14111. "marketid": {
  14112. "description": "市场ID",
  14113. "type": "integer"
  14114. },
  14115. "offamount": {
  14116. "description": "优惠金额",
  14117. "type": "number"
  14118. },
  14119. "originalamount": {
  14120. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  14121. "type": "number"
  14122. },
  14123. "payamount": {
  14124. "description": "支付金额 = TradeAmount + TradeCharge",
  14125. "type": "number"
  14126. },
  14127. "payflag": {
  14128. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  14129. "type": "integer"
  14130. },
  14131. "paylimitedtime": {
  14132. "description": "支付期限",
  14133. "type": "string"
  14134. },
  14135. "paytime": {
  14136. "description": "付款时间",
  14137. "type": "string"
  14138. },
  14139. "picurls1": {
  14140. "description": "预售商品介绍图片[多张用逗号分隔]",
  14141. "type": "string"
  14142. },
  14143. "picurls2": {
  14144. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14145. "type": "string"
  14146. },
  14147. "sellaccountid": {
  14148. "description": "卖方账号ID[报价币种]",
  14149. "type": "integer"
  14150. },
  14151. "sellorderid": {
  14152. "description": "卖方委托单号",
  14153. "type": "string"
  14154. },
  14155. "tradeamount": {
  14156. "description": "成交金额",
  14157. "type": "number"
  14158. },
  14159. "tradecharge": {
  14160. "description": "成交手续费(买方)",
  14161. "type": "number"
  14162. },
  14163. "tradedate": {
  14164. "description": "交易日(yyyyMMdd)",
  14165. "type": "string"
  14166. },
  14167. "tradeid": {
  14168. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14169. "type": "string"
  14170. },
  14171. "trademode": {
  14172. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14173. "type": "integer"
  14174. },
  14175. "tradeprice": {
  14176. "description": "成交价格",
  14177. "type": "number"
  14178. },
  14179. "tradeqty": {
  14180. "description": "成交数量",
  14181. "type": "integer"
  14182. },
  14183. "vendorname1": {
  14184. "description": "预售商品供应商名称",
  14185. "type": "string"
  14186. },
  14187. "vendorname2": {
  14188. "description": "挂牌商品供应商名称",
  14189. "type": "string"
  14190. }
  14191. }
  14192. },
  14193. "models.HsbyBuyMyTradeDetail": {
  14194. "type": "object",
  14195. "required": [
  14196. "accountid",
  14197. "buyorsell",
  14198. "goodscode",
  14199. "goodsid",
  14200. "goodsname",
  14201. "marketid",
  14202. "orderid",
  14203. "qty",
  14204. "time",
  14205. "trademode"
  14206. ],
  14207. "properties": {
  14208. "accountid": {
  14209. "description": "账户ID[报价币种]",
  14210. "type": "integer"
  14211. },
  14212. "agreeunit": {
  14213. "description": "合约单位",
  14214. "type": "number"
  14215. },
  14216. "amount": {
  14217. "description": "金额 = 价格 * 数量 * 合约单位",
  14218. "type": "number"
  14219. },
  14220. "buyorsell": {
  14221. "description": "买卖 - 0:买 1:卖",
  14222. "type": "integer"
  14223. },
  14224. "currencysign": {
  14225. "description": "货币符号",
  14226. "type": "string"
  14227. },
  14228. "decimalplace": {
  14229. "description": "报价小数位",
  14230. "type": "integer"
  14231. },
  14232. "goodscode": {
  14233. "description": "商品代码(内部)",
  14234. "type": "string"
  14235. },
  14236. "goodsid": {
  14237. "description": "商品ID",
  14238. "type": "integer"
  14239. },
  14240. "goodsname": {
  14241. "description": "商品名称",
  14242. "type": "string"
  14243. },
  14244. "marketid": {
  14245. "description": "市场ID",
  14246. "type": "integer"
  14247. },
  14248. "orderamount": {
  14249. "description": "委托金额",
  14250. "type": "number"
  14251. },
  14252. "orderid": {
  14253. "description": "单号(成交单号)",
  14254. "type": "string"
  14255. },
  14256. "picurls1": {
  14257. "description": "预售商品介绍图片[多张用逗号分隔]",
  14258. "type": "string"
  14259. },
  14260. "picurls2": {
  14261. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14262. "type": "string"
  14263. },
  14264. "price": {
  14265. "description": "价格",
  14266. "type": "number"
  14267. },
  14268. "qty": {
  14269. "description": "数量",
  14270. "type": "integer"
  14271. },
  14272. "time": {
  14273. "description": "时间",
  14274. "type": "string"
  14275. },
  14276. "trademode": {
  14277. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14278. "type": "integer"
  14279. },
  14280. "vendorname1": {
  14281. "description": "预售商品供应商名称",
  14282. "type": "string"
  14283. },
  14284. "vendorname2": {
  14285. "description": "挂牌商品供应商名称",
  14286. "type": "string"
  14287. }
  14288. }
  14289. },
  14290. "models.HsbyGoodsOrderDetail": {
  14291. "type": "object",
  14292. "required": [
  14293. "buyorsell",
  14294. "orderid",
  14295. "ordertime"
  14296. ],
  14297. "properties": {
  14298. "buyorsell": {
  14299. "description": "买卖 - 0:买 1:卖",
  14300. "type": "integer"
  14301. },
  14302. "currencysign": {
  14303. "description": "货币符号",
  14304. "type": "string"
  14305. },
  14306. "customername": {
  14307. "description": "客户名称(企业名称),已脱敏",
  14308. "type": "string"
  14309. },
  14310. "enableqty": {
  14311. "description": "可用数量",
  14312. "type": "integer"
  14313. },
  14314. "goodunit": {
  14315. "description": "报价单位",
  14316. "type": "string"
  14317. },
  14318. "orderid": {
  14319. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14320. "type": "string"
  14321. },
  14322. "orderprice": {
  14323. "description": "委托价格",
  14324. "type": "number"
  14325. },
  14326. "ordertime": {
  14327. "description": "委托时间",
  14328. "type": "string"
  14329. }
  14330. }
  14331. },
  14332. "models.HsbyListingGoodsDetail": {
  14333. "type": "object",
  14334. "required": [
  14335. "goodscode",
  14336. "goodsid",
  14337. "goodsname",
  14338. "marketid",
  14339. "trademode"
  14340. ],
  14341. "properties": {
  14342. "agreeunit": {
  14343. "description": "合约单位",
  14344. "type": "number"
  14345. },
  14346. "buymaxqty": {
  14347. "description": "购买上限 [71] - 0为不限",
  14348. "type": "integer"
  14349. },
  14350. "currency": {
  14351. "description": "货币",
  14352. "type": "string"
  14353. },
  14354. "currencysign": {
  14355. "description": "货币符号",
  14356. "type": "string"
  14357. },
  14358. "decimalplace": {
  14359. "description": "报价小数位",
  14360. "type": "integer"
  14361. },
  14362. "desccityid": {
  14363. "description": "目的地(市)ID",
  14364. "type": "integer"
  14365. },
  14366. "descprovinceid": {
  14367. "description": "目的地(省)ID",
  14368. "type": "integer"
  14369. },
  14370. "goodscode": {
  14371. "description": "商品代码(内部)",
  14372. "type": "string"
  14373. },
  14374. "goodsdesc": {
  14375. "description": "商品详情",
  14376. "type": "string"
  14377. },
  14378. "goodsid": {
  14379. "description": "商品ID(自增ID SEQ_GOODS)",
  14380. "type": "integer"
  14381. },
  14382. "goodsname": {
  14383. "description": "商品名称",
  14384. "type": "string"
  14385. },
  14386. "goodsprice": {
  14387. "description": "商品价格",
  14388. "type": "number"
  14389. },
  14390. "hotindex": {
  14391. "description": "景点热度",
  14392. "type": "integer"
  14393. },
  14394. "last": {
  14395. "description": "现价",
  14396. "type": "number"
  14397. },
  14398. "limitdown": {
  14399. "description": "跌停价",
  14400. "type": "number"
  14401. },
  14402. "limitup": {
  14403. "description": "涨停价",
  14404. "type": "number"
  14405. },
  14406. "lotsize": {
  14407. "description": "手数最小变动单位",
  14408. "type": "integer"
  14409. },
  14410. "marketid": {
  14411. "description": "所属市场ID",
  14412. "type": "integer"
  14413. },
  14414. "picurls": {
  14415. "description": "介绍图片[多张用逗号分隔]",
  14416. "type": "string"
  14417. },
  14418. "quoteminunit": {
  14419. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14420. "type": "integer"
  14421. },
  14422. "stepvalue": {
  14423. "description": "价格最小变动单位",
  14424. "type": "number"
  14425. },
  14426. "trademode": {
  14427. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14428. "type": "integer"
  14429. },
  14430. "vendorattr": {
  14431. "description": "供应商附件(多张,逗号分隔)",
  14432. "type": "string"
  14433. },
  14434. "vendorname": {
  14435. "description": "供应商名称",
  14436. "type": "string"
  14437. },
  14438. "vendorphone": {
  14439. "description": "供应商客服电话",
  14440. "type": "string"
  14441. },
  14442. "videourls": {
  14443. "description": "介绍视频[多张用逗号分隔]",
  14444. "type": "string"
  14445. }
  14446. }
  14447. },
  14448. "models.HsbyMarketGoods": {
  14449. "type": "object",
  14450. "required": [
  14451. "accountid",
  14452. "buyorsell",
  14453. "goodscode",
  14454. "goodsid",
  14455. "goodsname",
  14456. "marketid",
  14457. "orderid",
  14458. "trademode"
  14459. ],
  14460. "properties": {
  14461. "accountid": {
  14462. "description": "账户ID[报价币种]",
  14463. "type": "integer"
  14464. },
  14465. "agreeunit": {
  14466. "description": "合约单位",
  14467. "type": "number"
  14468. },
  14469. "buyorsell": {
  14470. "description": "买卖 - 0:买 1:卖",
  14471. "type": "integer"
  14472. },
  14473. "categoryid": {
  14474. "description": "类别ID(WRCATEGORY)",
  14475. "type": "integer"
  14476. },
  14477. "currency": {
  14478. "description": "货币",
  14479. "type": "string"
  14480. },
  14481. "currencysign": {
  14482. "description": "货币符号",
  14483. "type": "string"
  14484. },
  14485. "customername": {
  14486. "description": "卖家名称",
  14487. "type": "string"
  14488. },
  14489. "decimalplace": {
  14490. "description": "报价小数位",
  14491. "type": "integer"
  14492. },
  14493. "goodscode": {
  14494. "description": "商品代码(内部)",
  14495. "type": "string"
  14496. },
  14497. "goodsid": {
  14498. "description": "商品ID",
  14499. "type": "integer"
  14500. },
  14501. "goodsname": {
  14502. "description": "商品名称",
  14503. "type": "string"
  14504. },
  14505. "goodsprice": {
  14506. "description": "商品价格",
  14507. "type": "number"
  14508. },
  14509. "hascoupon": {
  14510. "description": "是否可用优惠卷",
  14511. "type": "boolean"
  14512. },
  14513. "hotindex": {
  14514. "description": "景点热度",
  14515. "type": "integer"
  14516. },
  14517. "marketid": {
  14518. "description": "市场ID",
  14519. "type": "integer"
  14520. },
  14521. "orderid": {
  14522. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14523. "type": "string"
  14524. },
  14525. "orderprice": {
  14526. "description": "委托价格",
  14527. "type": "number"
  14528. },
  14529. "orderstatus": {
  14530. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14531. "type": "integer"
  14532. },
  14533. "picurls": {
  14534. "description": "介绍图片[多张用逗号分隔]",
  14535. "type": "string"
  14536. },
  14537. "quoteminunit": {
  14538. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14539. "type": "integer"
  14540. },
  14541. "sellUserID": {
  14542. "description": "卖方UserID",
  14543. "type": "integer"
  14544. },
  14545. "trademode": {
  14546. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14547. "type": "integer"
  14548. },
  14549. "videourls": {
  14550. "description": "介绍视频[多张用逗号分隔]",
  14551. "type": "string"
  14552. }
  14553. }
  14554. },
  14555. "models.HsbyMarketGoodsDetail": {
  14556. "type": "object",
  14557. "required": [
  14558. "accountid",
  14559. "buyorsell",
  14560. "goodscode",
  14561. "goodsid",
  14562. "goodsname",
  14563. "marketid",
  14564. "orderid",
  14565. "orderqty",
  14566. "trademode"
  14567. ],
  14568. "properties": {
  14569. "accountid": {
  14570. "description": "账户ID[报价币种]",
  14571. "type": "integer"
  14572. },
  14573. "agreeunit": {
  14574. "description": "合约单位",
  14575. "type": "number"
  14576. },
  14577. "buymaxqty": {
  14578. "description": "购买上限 [71] - 0为不限",
  14579. "type": "integer"
  14580. },
  14581. "buyorsell": {
  14582. "description": "买卖 - 0:买 1:卖",
  14583. "type": "integer"
  14584. },
  14585. "cancelqty": {
  14586. "description": "撤单数量",
  14587. "type": "integer"
  14588. },
  14589. "categoryid": {
  14590. "description": "类别ID(WRCATEGORY)",
  14591. "type": "integer"
  14592. },
  14593. "currency": {
  14594. "description": "货币",
  14595. "type": "string"
  14596. },
  14597. "currencysign": {
  14598. "description": "货币符号",
  14599. "type": "string"
  14600. },
  14601. "customername": {
  14602. "description": "卖家名称",
  14603. "type": "string"
  14604. },
  14605. "decimalplace": {
  14606. "description": "报价小数位",
  14607. "type": "integer"
  14608. },
  14609. "goodscode": {
  14610. "description": "商品代码(内部)",
  14611. "type": "string"
  14612. },
  14613. "goodsdesc": {
  14614. "description": "商品详情",
  14615. "type": "string"
  14616. },
  14617. "goodsid": {
  14618. "description": "商品ID",
  14619. "type": "integer"
  14620. },
  14621. "goodsname": {
  14622. "description": "商品名称",
  14623. "type": "string"
  14624. },
  14625. "goodsprice": {
  14626. "description": "商品价格",
  14627. "type": "number"
  14628. },
  14629. "hotindex": {
  14630. "description": "景点热度",
  14631. "type": "integer"
  14632. },
  14633. "lotsize": {
  14634. "description": "手数最小变动单位",
  14635. "type": "integer"
  14636. },
  14637. "marketid": {
  14638. "description": "市场ID",
  14639. "type": "integer"
  14640. },
  14641. "orderid": {
  14642. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14643. "type": "string"
  14644. },
  14645. "orderprice": {
  14646. "description": "委托价格",
  14647. "type": "number"
  14648. },
  14649. "orderqty": {
  14650. "description": "委托数量",
  14651. "type": "integer"
  14652. },
  14653. "orderstatus": {
  14654. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14655. "type": "integer"
  14656. },
  14657. "picurls": {
  14658. "description": "介绍图片[多张用逗号分隔]",
  14659. "type": "string"
  14660. },
  14661. "quoteminunit": {
  14662. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14663. "type": "integer"
  14664. },
  14665. "sellUserID": {
  14666. "description": "卖方UserID",
  14667. "type": "integer"
  14668. },
  14669. "trademode": {
  14670. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14671. "type": "integer"
  14672. },
  14673. "tradeqty": {
  14674. "description": "成交数量",
  14675. "type": "integer"
  14676. },
  14677. "vendorattr": {
  14678. "description": "供应商附件(多张,逗号分隔)",
  14679. "type": "string"
  14680. },
  14681. "vendorname": {
  14682. "description": "供应商名称",
  14683. "type": "string"
  14684. },
  14685. "vendorphone": {
  14686. "description": "供应商客服电话",
  14687. "type": "string"
  14688. },
  14689. "videourls": {
  14690. "description": "介绍视频[多张用逗号分隔]",
  14691. "type": "string"
  14692. }
  14693. }
  14694. },
  14695. "models.HsbyMarketInfo": {
  14696. "type": "object",
  14697. "required": [
  14698. "marketid",
  14699. "marketstatus",
  14700. "trademode"
  14701. ],
  14702. "properties": {
  14703. "marketid": {
  14704. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  14705. "type": "integer"
  14706. },
  14707. "marketname": {
  14708. "description": "市场名称",
  14709. "type": "string"
  14710. },
  14711. "marketstatus": {
  14712. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  14713. "type": "integer"
  14714. },
  14715. "trademode": {
  14716. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14717. "type": "integer"
  14718. }
  14719. }
  14720. },
  14721. "models.HsbyMyGoods": {
  14722. "type": "object",
  14723. "required": [
  14724. "accountid",
  14725. "goodscode",
  14726. "goodsid",
  14727. "goodsname",
  14728. "marketid",
  14729. "trademode"
  14730. ],
  14731. "properties": {
  14732. "accountid": {
  14733. "description": "账号Id",
  14734. "type": "integer"
  14735. },
  14736. "agreeunit": {
  14737. "description": "合约单位",
  14738. "type": "number"
  14739. },
  14740. "buyaverageprice": {
  14741. "description": "持仓均价",
  14742. "type": "number"
  14743. },
  14744. "buycurholderamount": {
  14745. "description": "买当前持仓总金额[商品币种]",
  14746. "type": "number"
  14747. },
  14748. "buycurpositionqty": {
  14749. "description": "买当前持仓总数量",
  14750. "type": "integer"
  14751. },
  14752. "buymaxqty": {
  14753. "description": "购买上限 [71] - 0为不限",
  14754. "type": "integer"
  14755. },
  14756. "currencysign": {
  14757. "description": "货币符号",
  14758. "type": "string"
  14759. },
  14760. "decimalplace": {
  14761. "description": "报价小数位",
  14762. "type": "integer"
  14763. },
  14764. "enableqty": {
  14765. "description": "可用数量",
  14766. "type": "integer"
  14767. },
  14768. "goodscode": {
  14769. "description": "商品代码(内部)",
  14770. "type": "string"
  14771. },
  14772. "goodsid": {
  14773. "description": "商品Id",
  14774. "type": "integer"
  14775. },
  14776. "goodsname": {
  14777. "description": "商品名称",
  14778. "type": "string"
  14779. },
  14780. "goodsprice": {
  14781. "description": "商品价格",
  14782. "type": "number"
  14783. },
  14784. "goodsstatus": {
  14785. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  14786. "type": "integer"
  14787. },
  14788. "last": {
  14789. "description": "现价(仅使用于挂牌点选)",
  14790. "type": "number"
  14791. },
  14792. "limitdown": {
  14793. "description": "跌停价(仅使用于挂牌点选)",
  14794. "type": "number"
  14795. },
  14796. "limitup": {
  14797. "description": "涨停价(仅使用于挂牌点选)",
  14798. "type": "number"
  14799. },
  14800. "lotsize": {
  14801. "description": "手数最小变动单位",
  14802. "type": "integer"
  14803. },
  14804. "marketid": {
  14805. "description": "所属市场ID",
  14806. "type": "integer"
  14807. },
  14808. "picurls": {
  14809. "description": "介绍图片[多张用逗号分隔]",
  14810. "type": "string"
  14811. },
  14812. "quoteminunit": {
  14813. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14814. "type": "integer"
  14815. },
  14816. "stepvalue": {
  14817. "description": "价格最小变动单位",
  14818. "type": "number"
  14819. },
  14820. "trademode": {
  14821. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14822. "type": "integer"
  14823. }
  14824. }
  14825. },
  14826. "models.HsbyMyPackage": {
  14827. "type": "object",
  14828. "required": [
  14829. "goodscode",
  14830. "goodsname",
  14831. "takeorderid",
  14832. "trademode"
  14833. ],
  14834. "properties": {
  14835. "accountid": {
  14836. "description": "账户ID",
  14837. "type": "integer"
  14838. },
  14839. "address": {
  14840. "description": "提货人详细地址",
  14841. "type": "string"
  14842. },
  14843. "agreeunit": {
  14844. "description": "合约单位",
  14845. "type": "number"
  14846. },
  14847. "amount": {
  14848. "description": "提货金额",
  14849. "type": "number"
  14850. },
  14851. "auditer": {
  14852. "description": "审核人",
  14853. "type": "integer"
  14854. },
  14855. "audittime": {
  14856. "description": "审核时间",
  14857. "type": "string"
  14858. },
  14859. "averageprice": {
  14860. "description": "均价",
  14861. "type": "number"
  14862. },
  14863. "cardnum": {
  14864. "description": "提货人证件号码",
  14865. "type": "string"
  14866. },
  14867. "cardtypeid": {
  14868. "description": "提货人证件类型",
  14869. "type": "integer"
  14870. },
  14871. "checkremark": {
  14872. "description": "审核备注",
  14873. "type": "string"
  14874. },
  14875. "currencysign": {
  14876. "description": "货币符号",
  14877. "type": "string"
  14878. },
  14879. "decimalplace": {
  14880. "description": "报价小数位",
  14881. "type": "integer"
  14882. },
  14883. "goodscode": {
  14884. "description": "商品代码(内部)",
  14885. "type": "string"
  14886. },
  14887. "goodsid": {
  14888. "description": "商品ID",
  14889. "type": "integer"
  14890. },
  14891. "goodsname": {
  14892. "description": "商品名称",
  14893. "type": "string"
  14894. },
  14895. "handlestatus": {
  14896. "description": "处理状态",
  14897. "type": "integer"
  14898. },
  14899. "marketid": {
  14900. "description": "市场ID",
  14901. "type": "integer"
  14902. },
  14903. "phonenum": {
  14904. "description": "提货人联系方式",
  14905. "type": "string"
  14906. },
  14907. "picurls": {
  14908. "description": "介绍图片[多张用逗号分隔]",
  14909. "type": "string"
  14910. },
  14911. "qty": {
  14912. "description": "提货数量",
  14913. "type": "number"
  14914. },
  14915. "recivername": {
  14916. "description": "提货人姓名",
  14917. "type": "string"
  14918. },
  14919. "reqtime": {
  14920. "description": "更新时间",
  14921. "type": "string"
  14922. },
  14923. "takemode": {
  14924. "description": "提货方式 - 2:自提 3:配送",
  14925. "type": "integer"
  14926. },
  14927. "takeorderid": {
  14928. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  14929. "type": "string"
  14930. },
  14931. "takeorderstatus": {
  14932. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  14933. "type": "integer"
  14934. },
  14935. "takeremark": {
  14936. "description": "提货备注",
  14937. "type": "string"
  14938. },
  14939. "tradedate": {
  14940. "description": "交易日(yyyyMMdd)",
  14941. "type": "string"
  14942. },
  14943. "trademode": {
  14944. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14945. "type": "integer"
  14946. },
  14947. "userid": {
  14948. "description": "用户ID",
  14949. "type": "integer"
  14950. },
  14951. "vendorname": {
  14952. "description": "供应商名称",
  14953. "type": "string"
  14954. }
  14955. }
  14956. },
  14957. "models.HsbyPreGoods": {
  14958. "type": "object",
  14959. "required": [
  14960. "goodscode",
  14961. "goodsid",
  14962. "goodsname",
  14963. "marketid",
  14964. "trademode"
  14965. ],
  14966. "properties": {
  14967. "agreeunit": {
  14968. "description": "合约单位",
  14969. "type": "number"
  14970. },
  14971. "currency": {
  14972. "description": "货币",
  14973. "type": "string"
  14974. },
  14975. "currencysign": {
  14976. "description": "货币符号",
  14977. "type": "string"
  14978. },
  14979. "decimalplace": {
  14980. "description": "报价小数位",
  14981. "type": "integer"
  14982. },
  14983. "desccityid": {
  14984. "description": "目的地(市)",
  14985. "type": "integer"
  14986. },
  14987. "descprovinceid": {
  14988. "description": "目的地(省)",
  14989. "type": "integer"
  14990. },
  14991. "enableqty": {
  14992. "description": "剩余数量",
  14993. "type": "integer"
  14994. },
  14995. "goodscode": {
  14996. "description": "商品代码(内部)",
  14997. "type": "string"
  14998. },
  14999. "goodsid": {
  15000. "description": "商品ID(自增ID SEQ_GOODS)",
  15001. "type": "integer"
  15002. },
  15003. "goodsname": {
  15004. "description": "商品名称",
  15005. "type": "string"
  15006. },
  15007. "goodsstatus": {
  15008. "description": "商品状态- 2:未上市 3:上市",
  15009. "type": "integer"
  15010. },
  15011. "lasttradedate": {
  15012. "description": "最后交易日期(状态:待退市)",
  15013. "type": "string"
  15014. },
  15015. "listingdate": {
  15016. "description": "交易开始日期",
  15017. "type": "string"
  15018. },
  15019. "marketid": {
  15020. "description": "所属市场ID",
  15021. "type": "integer"
  15022. },
  15023. "picurls": {
  15024. "description": "介绍图片[多张用逗号分隔]",
  15025. "type": "string"
  15026. },
  15027. "presaledqty": {
  15028. "description": "已预售量(预售结束时更新)",
  15029. "type": "integer"
  15030. },
  15031. "presaleqty": {
  15032. "description": "预售数量",
  15033. "type": "integer"
  15034. },
  15035. "quoteminunit": {
  15036. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15037. "type": "integer"
  15038. },
  15039. "refprice": {
  15040. "description": "参考价格[一口价]",
  15041. "type": "number"
  15042. },
  15043. "relatedgoodsid": {
  15044. "description": "关联交易合约ID",
  15045. "type": "integer"
  15046. },
  15047. "trademode": {
  15048. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15049. "type": "integer"
  15050. },
  15051. "videourls": {
  15052. "description": "介绍视频[多张用逗号分隔]",
  15053. "type": "string"
  15054. }
  15055. }
  15056. },
  15057. "models.HsbyPreGoodsDetail": {
  15058. "type": "object",
  15059. "required": [
  15060. "goodscode",
  15061. "goodsid",
  15062. "goodsname",
  15063. "marketid",
  15064. "trademode"
  15065. ],
  15066. "properties": {
  15067. "agreeunit": {
  15068. "description": "合约单位",
  15069. "type": "number"
  15070. },
  15071. "buymaxqty": {
  15072. "description": "购买上限 [71] - 0为不限",
  15073. "type": "integer"
  15074. },
  15075. "currency": {
  15076. "description": "货币",
  15077. "type": "string"
  15078. },
  15079. "currencysign": {
  15080. "description": "货币符号",
  15081. "type": "string"
  15082. },
  15083. "customername": {
  15084. "description": "发行单位",
  15085. "type": "string"
  15086. },
  15087. "decimalplace": {
  15088. "description": "报价小数位",
  15089. "type": "integer"
  15090. },
  15091. "desccityid": {
  15092. "description": "目的地(市)ID",
  15093. "type": "integer"
  15094. },
  15095. "descprovinceid": {
  15096. "description": "目的地(省)ID",
  15097. "type": "integer"
  15098. },
  15099. "enableqty": {
  15100. "description": "剩余数量",
  15101. "type": "integer"
  15102. },
  15103. "goodscode": {
  15104. "description": "商品代码(内部)",
  15105. "type": "string"
  15106. },
  15107. "goodsdesc": {
  15108. "description": "商品详情",
  15109. "type": "string"
  15110. },
  15111. "goodsid": {
  15112. "description": "商品ID(自增ID SEQ_GOODS)",
  15113. "type": "integer"
  15114. },
  15115. "goodsname": {
  15116. "description": "商品名称",
  15117. "type": "string"
  15118. },
  15119. "goodsstatus": {
  15120. "description": "商品状态- 2:未上市 3:上市",
  15121. "type": "integer"
  15122. },
  15123. "goodunit": {
  15124. "description": "报价单位",
  15125. "type": "string"
  15126. },
  15127. "lasttradedate": {
  15128. "description": "最后交易日期(状态:待退市)",
  15129. "type": "string"
  15130. },
  15131. "listingdate": {
  15132. "description": "交易开始日期",
  15133. "type": "string"
  15134. },
  15135. "lotsize": {
  15136. "description": "手数最小变动单位",
  15137. "type": "integer"
  15138. },
  15139. "marketid": {
  15140. "description": "所属市场ID",
  15141. "type": "integer"
  15142. },
  15143. "picurls": {
  15144. "description": "介绍图片[多张用逗号分隔]",
  15145. "type": "string"
  15146. },
  15147. "presaledqty": {
  15148. "description": "已预售量(预售结束时更新)",
  15149. "type": "integer"
  15150. },
  15151. "presaleqty": {
  15152. "description": "预售数量",
  15153. "type": "integer"
  15154. },
  15155. "quoteminunit": {
  15156. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15157. "type": "integer"
  15158. },
  15159. "refprice": {
  15160. "description": "参考价格[一口价]",
  15161. "type": "number"
  15162. },
  15163. "relatedgoodsid": {
  15164. "description": "关联交易合约ID",
  15165. "type": "integer"
  15166. },
  15167. "stepvalue": {
  15168. "description": "价格最小变动单位",
  15169. "type": "number"
  15170. },
  15171. "trademode": {
  15172. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15173. "type": "integer"
  15174. },
  15175. "vendorattr": {
  15176. "description": "供应商附件(多张,逗号分隔)",
  15177. "type": "string"
  15178. },
  15179. "vendorname": {
  15180. "description": "供应商名称",
  15181. "type": "string"
  15182. },
  15183. "vendorphone": {
  15184. "description": "供应商客服电话",
  15185. "type": "string"
  15186. },
  15187. "videourls": {
  15188. "description": "介绍视频[多张用逗号分隔]",
  15189. "type": "string"
  15190. }
  15191. }
  15192. },
  15193. "models.HsbySellCollectionOrder": {
  15194. "type": "object",
  15195. "required": [
  15196. "goodscode",
  15197. "goodsname",
  15198. "tradeid",
  15199. "trademode"
  15200. ],
  15201. "properties": {
  15202. "agreeunit": {
  15203. "description": "合约单位",
  15204. "type": "number"
  15205. },
  15206. "buyaccountid": {
  15207. "description": "买方账号ID[报价币种]",
  15208. "type": "integer"
  15209. },
  15210. "buyorderid": {
  15211. "description": "买方委托单号",
  15212. "type": "string"
  15213. },
  15214. "createtime": {
  15215. "description": "创建时间",
  15216. "type": "string"
  15217. },
  15218. "currencysign": {
  15219. "description": "货币符号",
  15220. "type": "string"
  15221. },
  15222. "decimalplace": {
  15223. "description": "报价小数位",
  15224. "type": "integer"
  15225. },
  15226. "goodscode": {
  15227. "description": "商品代码(内部)",
  15228. "type": "string"
  15229. },
  15230. "goodsid": {
  15231. "description": "商品ID",
  15232. "type": "integer"
  15233. },
  15234. "goodsname": {
  15235. "description": "商品名称",
  15236. "type": "string"
  15237. },
  15238. "marketid": {
  15239. "description": "市场ID",
  15240. "type": "integer"
  15241. },
  15242. "offamount": {
  15243. "description": "优惠金额",
  15244. "type": "number"
  15245. },
  15246. "payamount": {
  15247. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  15248. "type": "number"
  15249. },
  15250. "payflag": {
  15251. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  15252. "type": "integer"
  15253. },
  15254. "paylimitedtime": {
  15255. "description": "支付期限",
  15256. "type": "string"
  15257. },
  15258. "paytime": {
  15259. "description": "付款时间",
  15260. "type": "string"
  15261. },
  15262. "picurls": {
  15263. "description": "商品介绍图片[多张用逗号分隔]",
  15264. "type": "string"
  15265. },
  15266. "sellaccountid": {
  15267. "description": "卖方账号ID[报价币种]",
  15268. "type": "integer"
  15269. },
  15270. "sellorderid": {
  15271. "description": "卖方委托单号",
  15272. "type": "string"
  15273. },
  15274. "tradeamount": {
  15275. "description": "成交金额",
  15276. "type": "number"
  15277. },
  15278. "tradecharge": {
  15279. "description": "成交手续费(买方)",
  15280. "type": "number"
  15281. },
  15282. "tradedate": {
  15283. "description": "交易日(yyyyMMdd)",
  15284. "type": "string"
  15285. },
  15286. "tradeid": {
  15287. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15288. "type": "string"
  15289. },
  15290. "trademode": {
  15291. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15292. "type": "integer"
  15293. },
  15294. "tradeprice": {
  15295. "description": "成交价格",
  15296. "type": "number"
  15297. },
  15298. "tradeqty": {
  15299. "description": "成交数量",
  15300. "type": "integer"
  15301. }
  15302. }
  15303. },
  15304. "models.HsbySellMyDetail": {
  15305. "type": "object",
  15306. "required": [
  15307. "accountid",
  15308. "buyorsell",
  15309. "goodscode",
  15310. "goodsid",
  15311. "goodsname",
  15312. "marketid",
  15313. "orderid",
  15314. "time",
  15315. "trademode"
  15316. ],
  15317. "properties": {
  15318. "accountid": {
  15319. "description": "账户ID[报价币种]",
  15320. "type": "integer"
  15321. },
  15322. "agreeunit": {
  15323. "description": "合约单位",
  15324. "type": "number"
  15325. },
  15326. "buyorsell": {
  15327. "description": "买卖 - 0:买 1:卖",
  15328. "type": "integer"
  15329. },
  15330. "currencysign": {
  15331. "description": "货币符号",
  15332. "type": "string"
  15333. },
  15334. "decimalplace": {
  15335. "description": "报价小数位",
  15336. "type": "integer"
  15337. },
  15338. "goodscode": {
  15339. "description": "商品代码(内部)",
  15340. "type": "string"
  15341. },
  15342. "goodsid": {
  15343. "description": "商品ID",
  15344. "type": "integer"
  15345. },
  15346. "goodsname": {
  15347. "description": "商品名称",
  15348. "type": "string"
  15349. },
  15350. "marketid": {
  15351. "description": "市场ID",
  15352. "type": "integer"
  15353. },
  15354. "orderid": {
  15355. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  15356. "type": "string"
  15357. },
  15358. "ordertype": {
  15359. "description": "单据类型:0 - 发布中, 1 - 已完成",
  15360. "type": "integer"
  15361. },
  15362. "picurls": {
  15363. "description": "介绍图片[多张用逗号分隔]",
  15364. "type": "string"
  15365. },
  15366. "price": {
  15367. "description": "价格",
  15368. "type": "number"
  15369. },
  15370. "qty": {
  15371. "description": "数量",
  15372. "type": "integer"
  15373. },
  15374. "time": {
  15375. "description": "时间",
  15376. "type": "string"
  15377. },
  15378. "trademode": {
  15379. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15380. "type": "integer"
  15381. },
  15382. "vendorname": {
  15383. "description": "供应商名称",
  15384. "type": "string"
  15385. }
  15386. }
  15387. },
  15388. "models.HsbyTopGoods": {
  15389. "type": "object",
  15390. "required": [
  15391. "goodscode",
  15392. "goodsid",
  15393. "goodsname",
  15394. "marketid",
  15395. "trademode"
  15396. ],
  15397. "properties": {
  15398. "agreeunit": {
  15399. "description": "合约单位",
  15400. "type": "number"
  15401. },
  15402. "currency": {
  15403. "description": "货币",
  15404. "type": "string"
  15405. },
  15406. "currencysign": {
  15407. "description": "货币符号",
  15408. "type": "string"
  15409. },
  15410. "decimalplace": {
  15411. "description": "报价小数位",
  15412. "type": "integer"
  15413. },
  15414. "desccityid": {
  15415. "description": "目的地(市)",
  15416. "type": "integer"
  15417. },
  15418. "descprovinceid": {
  15419. "description": "目的地(省)",
  15420. "type": "integer"
  15421. },
  15422. "goodscode": {
  15423. "description": "商品代码(内部)",
  15424. "type": "string"
  15425. },
  15426. "goodsid": {
  15427. "description": "商品ID(自增ID SEQ_GOODS)",
  15428. "type": "integer"
  15429. },
  15430. "goodsname": {
  15431. "description": "商品名称",
  15432. "type": "string"
  15433. },
  15434. "hotindex": {
  15435. "description": "景点热度",
  15436. "type": "integer"
  15437. },
  15438. "last": {
  15439. "description": "现价",
  15440. "type": "number"
  15441. },
  15442. "marketid": {
  15443. "description": "所属市场ID",
  15444. "type": "integer"
  15445. },
  15446. "picurls": {
  15447. "description": "介绍图片[多张用逗号分隔]",
  15448. "type": "string"
  15449. },
  15450. "quoteminunit": {
  15451. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15452. "type": "integer"
  15453. },
  15454. "trademode": {
  15455. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15456. "type": "integer"
  15457. },
  15458. "videourls": {
  15459. "description": "介绍视频[多张用逗号分隔]",
  15460. "type": "string"
  15461. }
  15462. }
  15463. },
  15464. "models.HybsMyBuyOrderDetail": {
  15465. "type": "object",
  15466. "required": [
  15467. "accountid",
  15468. "buyorsell",
  15469. "goodscode",
  15470. "goodsid",
  15471. "goodsname",
  15472. "marketid",
  15473. "orderid",
  15474. "orderqty",
  15475. "ordertime",
  15476. "trademode"
  15477. ],
  15478. "properties": {
  15479. "accountid": {
  15480. "description": "账户ID[报价币种]",
  15481. "type": "integer"
  15482. },
  15483. "agreeunit": {
  15484. "description": "合约单位",
  15485. "type": "number"
  15486. },
  15487. "buyorsell": {
  15488. "description": "买卖 - 0:买 1:卖",
  15489. "type": "integer"
  15490. },
  15491. "cancelqty": {
  15492. "description": "撤单数量",
  15493. "type": "integer"
  15494. },
  15495. "currencysign": {
  15496. "description": "货币符号",
  15497. "type": "string"
  15498. },
  15499. "decimalplace": {
  15500. "description": "报价小数位",
  15501. "type": "integer"
  15502. },
  15503. "goodscode": {
  15504. "description": "商品代码(内部)",
  15505. "type": "string"
  15506. },
  15507. "goodsid": {
  15508. "description": "商品ID",
  15509. "type": "integer"
  15510. },
  15511. "goodsname": {
  15512. "description": "商品名称",
  15513. "type": "string"
  15514. },
  15515. "listingselecttype": {
  15516. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15517. "type": "integer"
  15518. },
  15519. "marketid": {
  15520. "description": "市场ID",
  15521. "type": "integer"
  15522. },
  15523. "mybuystatus": {
  15524. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  15525. "type": "integer"
  15526. },
  15527. "orderamount": {
  15528. "description": "委托金额",
  15529. "type": "number"
  15530. },
  15531. "orderid": {
  15532. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15533. "type": "string"
  15534. },
  15535. "orderprice": {
  15536. "description": "委托价格",
  15537. "type": "number"
  15538. },
  15539. "orderqty": {
  15540. "description": "委托数量",
  15541. "type": "integer"
  15542. },
  15543. "orderstatus": {
  15544. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15545. "type": "integer"
  15546. },
  15547. "ordertime": {
  15548. "description": "委托时间",
  15549. "type": "string"
  15550. },
  15551. "picurls1": {
  15552. "description": "预售商品介绍图片[多张用逗号分隔]",
  15553. "type": "string"
  15554. },
  15555. "picurls2": {
  15556. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  15557. "type": "string"
  15558. },
  15559. "trademode": {
  15560. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15561. "type": "integer"
  15562. },
  15563. "tradeqty": {
  15564. "description": "成交数量",
  15565. "type": "integer"
  15566. },
  15567. "vendorname1": {
  15568. "description": "预售商品供应商名称",
  15569. "type": "string"
  15570. },
  15571. "vendorname2": {
  15572. "description": "挂牌商品供应商名称",
  15573. "type": "string"
  15574. }
  15575. }
  15576. },
  15577. "models.Loginaccount": {
  15578. "type": "object",
  15579. "required": [
  15580. "loginid"
  15581. ],
  15582. "properties": {
  15583. "canoutin": {
  15584. "description": "是否可出入金 - 0:不可 1:可",
  15585. "type": "integer"
  15586. },
  15587. "clientroleid": {
  15588. "description": "终端角色ID",
  15589. "type": "integer"
  15590. },
  15591. "haslogined": {
  15592. "description": "是否已登录 - 0:未登录 1:已登录",
  15593. "type": "integer"
  15594. },
  15595. "hasupdatedpwd": {
  15596. "description": "是否已更改密码 - 0:未修改 1:已修改",
  15597. "type": "integer"
  15598. },
  15599. "lastloginip": {
  15600. "description": "最新登录地址",
  15601. "type": "string"
  15602. },
  15603. "lastloginmode": {
  15604. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15605. "type": "integer"
  15606. },
  15607. "lastloginremark": {
  15608. "description": "最新登录描述",
  15609. "type": "string"
  15610. },
  15611. "lastlogintime": {
  15612. "description": "最新登录时间",
  15613. "type": "string"
  15614. },
  15615. "logincode": {
  15616. "description": "登录代码",
  15617. "type": "string"
  15618. },
  15619. "loginfailnum": {
  15620. "description": "连续登录失败次数(登录成功时清零)",
  15621. "type": "integer"
  15622. },
  15623. "loginid": {
  15624. "description": "登陆账号",
  15625. "type": "integer"
  15626. },
  15627. "loginport": {
  15628. "description": "最新登录端口",
  15629. "type": "integer"
  15630. },
  15631. "loginstatus": {
  15632. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  15633. "type": "integer"
  15634. },
  15635. "loginusertype": {
  15636. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  15637. "type": "integer"
  15638. },
  15639. "modifierid": {
  15640. "description": "修改人",
  15641. "type": "integer"
  15642. },
  15643. "modifytime": {
  15644. "description": "修改时间",
  15645. "type": "string"
  15646. },
  15647. "pwdwrongcount": {
  15648. "description": "密码错误次数",
  15649. "type": "integer"
  15650. },
  15651. "taaccountrighttype": {
  15652. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  15653. "type": "integer"
  15654. },
  15655. "unfreezetime": {
  15656. "description": "账户解冻时间",
  15657. "type": "string"
  15658. },
  15659. "userid": {
  15660. "description": "用户ID",
  15661. "type": "integer"
  15662. }
  15663. }
  15664. },
  15665. "models.Market": {
  15666. "type": "object",
  15667. "required": [
  15668. "marketid",
  15669. "marketstatus",
  15670. "openmethod",
  15671. "reckonpricealgorithm",
  15672. "trademode",
  15673. "tradeproperty"
  15674. ],
  15675. "properties": {
  15676. "auctionwrtype": {
  15677. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  15678. "type": "integer"
  15679. },
  15680. "canacceptquote": {
  15681. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  15682. "type": "integer"
  15683. },
  15684. "cangoodsexercise": {
  15685. "description": "[期权]是否可现货行权- 0:否 1:是",
  15686. "type": "integer"
  15687. },
  15688. "cangoodsexercisetype": {
  15689. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  15690. "type": "integer"
  15691. },
  15692. "canmanualquotestrike": {
  15693. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  15694. "type": "integer"
  15695. },
  15696. "canmutistage": {
  15697. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  15698. "type": "integer"
  15699. },
  15700. "canpreexercise": {
  15701. "description": "[期权]是否可预申报- 0:否 1:是",
  15702. "type": "integer"
  15703. },
  15704. "clearinterval": {
  15705. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  15706. "type": "integer"
  15707. },
  15708. "contracttmp": {
  15709. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  15710. "type": "string"
  15711. },
  15712. "exchareaid": {
  15713. "description": "所属交易所,可以没有",
  15714. "type": "integer"
  15715. },
  15716. "goodstype": {
  15717. "description": "商品类型 - 1:交易商品 2:仓单商品",
  15718. "type": "integer"
  15719. },
  15720. "hasrebate": {
  15721. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  15722. "type": "integer"
  15723. },
  15724. "hastradecredit": {
  15725. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  15726. "type": "integer"
  15727. },
  15728. "haswr": {
  15729. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  15730. "type": "integer"
  15731. },
  15732. "isdeductmargin": {
  15733. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  15734. "type": "integer"
  15735. },
  15736. "isrecordsource": {
  15737. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  15738. "type": "integer"
  15739. },
  15740. "isreleasemargin": {
  15741. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  15742. "type": "integer"
  15743. },
  15744. "marginformula": {
  15745. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  15746. "type": "integer"
  15747. },
  15748. "marginformula2": {
  15749. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  15750. "type": "integer"
  15751. },
  15752. "marketid": {
  15753. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  15754. "type": "integer"
  15755. },
  15756. "marketname": {
  15757. "description": "市场名称",
  15758. "type": "string"
  15759. },
  15760. "marketserviceid": {
  15761. "description": "市场服务ID",
  15762. "type": "integer"
  15763. },
  15764. "marketstatus": {
  15765. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  15766. "type": "integer"
  15767. },
  15768. "markettype": {
  15769. "description": "市场类型- 1:非交易服务 2:交易服务",
  15770. "type": "integer"
  15771. },
  15772. "matchermode": {
  15773. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  15774. "type": "integer"
  15775. },
  15776. "openmethod": {
  15777. "description": "开盘模式 - 0 自动 1手动",
  15778. "type": "integer"
  15779. },
  15780. "otcuserid": {
  15781. "description": "场外期权做市商[场外期权]",
  15782. "type": "integer"
  15783. },
  15784. "outersynctime": {
  15785. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  15786. "type": "string"
  15787. },
  15788. "pendingflag": {
  15789. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  15790. "type": "integer"
  15791. },
  15792. "pendingtime": {
  15793. "description": "待开市时间[通道交易-对冲](HH:mm)",
  15794. "type": "string"
  15795. },
  15796. "performancetempid": {
  15797. "description": "履约计划模板ID - 作废",
  15798. "type": "integer"
  15799. },
  15800. "premiumquotemode": {
  15801. "description": "权利金报价方式 - 1:自动 2:手动",
  15802. "type": "integer"
  15803. },
  15804. "rebateratio": {
  15805. "description": "返利比率[竞价式]",
  15806. "type": "number"
  15807. },
  15808. "reckonorder": {
  15809. "description": "结算顺序",
  15810. "type": "integer"
  15811. },
  15812. "reckonpricealgorithm": {
  15813. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  15814. "type": "integer"
  15815. },
  15816. "reckonpriceparam": {
  15817. "description": "结算价参数",
  15818. "type": "integer"
  15819. },
  15820. "reckontime": {
  15821. "description": "结算时间[通道交易-对冲](HH:mm)",
  15822. "type": "string"
  15823. },
  15824. "roleprioritytype": {
  15825. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  15826. "type": "integer"
  15827. },
  15828. "selllistingauditflag": {
  15829. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  15830. "type": "integer"
  15831. },
  15832. "trademarkettype": {
  15833. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  15834. "type": "integer"
  15835. },
  15836. "trademode": {
  15837. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15838. "type": "integer"
  15839. },
  15840. "tradeproperty": {
  15841. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  15842. "type": "integer"
  15843. },
  15844. "tradetype": {
  15845. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  15846. "type": "integer"
  15847. }
  15848. }
  15849. },
  15850. "models.Marketrun": {
  15851. "type": "object",
  15852. "required": [
  15853. "marketid",
  15854. "nexttradedate",
  15855. "reckonflag",
  15856. "runstatus",
  15857. "tradedate",
  15858. "tradedate2"
  15859. ],
  15860. "properties": {
  15861. "afternexttradedate": {
  15862. "description": "下下交易日",
  15863. "type": "string"
  15864. },
  15865. "clearquoteflag": {
  15866. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  15867. "type": "integer"
  15868. },
  15869. "lastreckondate": {
  15870. "description": "最新交易日(结算成功)",
  15871. "type": "string"
  15872. },
  15873. "machinedate": {
  15874. "description": "机器时间",
  15875. "type": "string"
  15876. },
  15877. "manualflag": {
  15878. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  15879. "type": "integer"
  15880. },
  15881. "marketid": {
  15882. "description": "市场ID",
  15883. "type": "integer"
  15884. },
  15885. "nexttradedate": {
  15886. "description": "下一交易日",
  15887. "type": "string"
  15888. },
  15889. "pretradedate": {
  15890. "description": "上一交易日",
  15891. "type": "string"
  15892. },
  15893. "reckonflag": {
  15894. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  15895. "type": "integer"
  15896. },
  15897. "runstatus": {
  15898. "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.今日免清算",
  15899. "type": "integer"
  15900. },
  15901. "sectionid": {
  15902. "description": "时间段号[多时段时用]",
  15903. "type": "integer"
  15904. },
  15905. "tradedate": {
  15906. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  15907. "type": "string"
  15908. },
  15909. "tradedate2": {
  15910. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  15911. "type": "string"
  15912. },
  15913. "updatetime": {
  15914. "description": "更新时间",
  15915. "type": "string"
  15916. }
  15917. }
  15918. },
  15919. "models.Messageboard": {
  15920. "type": "object",
  15921. "required": [
  15922. "messageboardid"
  15923. ],
  15924. "properties": {
  15925. "contactnum": {
  15926. "description": "联系电话",
  15927. "type": "string"
  15928. },
  15929. "createtime": {
  15930. "description": "创建时间",
  15931. "type": "string"
  15932. },
  15933. "message": {
  15934. "description": "留言信息",
  15935. "type": "string"
  15936. },
  15937. "messageboardid": {
  15938. "description": "留言簿ID(SEQ_MessageBoard)",
  15939. "type": "integer"
  15940. },
  15941. "userid": {
  15942. "description": "用户ID",
  15943. "type": "integer"
  15944. }
  15945. }
  15946. },
  15947. "models.MyCoupon": {
  15948. "type": "object",
  15949. "required": [
  15950. "accountid",
  15951. "coupontypeid"
  15952. ],
  15953. "properties": {
  15954. "accountid": {
  15955. "description": "资金账户ID",
  15956. "type": "integer"
  15957. },
  15958. "areauserid": {
  15959. "description": "所属机构",
  15960. "type": "integer"
  15961. },
  15962. "conditionvalue": {
  15963. "description": "条件阈值(可为0)",
  15964. "type": "number"
  15965. },
  15966. "couponcategroy": {
  15967. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  15968. "type": "integer"
  15969. },
  15970. "couponname": {
  15971. "description": "优惠券名称",
  15972. "type": "string"
  15973. },
  15974. "coupontypeid": {
  15975. "description": "优惠券类型ID",
  15976. "type": "string"
  15977. },
  15978. "couponvalue": {
  15979. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  15980. "type": "number"
  15981. },
  15982. "curfreezeqty": {
  15983. "description": "期末冻结数量",
  15984. "type": "integer"
  15985. },
  15986. "curqty": {
  15987. "description": "期末数量",
  15988. "type": "integer"
  15989. },
  15990. "isgeneral": {
  15991. "description": "是否通用券 - 0:否 1:是",
  15992. "type": "integer"
  15993. },
  15994. "isunusable": {
  15995. "description": "是否不可用",
  15996. "type": "boolean"
  15997. },
  15998. "limitedflag": {
  15999. "description": "是否指定商品 - 0:不限 1:限制",
  16000. "type": "integer"
  16001. },
  16002. "limitedgoodsids": {
  16003. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  16004. "type": "string"
  16005. },
  16006. "orifreezeqty": {
  16007. "description": "期初冻结数量",
  16008. "type": "integer"
  16009. },
  16010. "oriqty": {
  16011. "description": "期初数量",
  16012. "type": "integer"
  16013. },
  16014. "reasontype": {
  16015. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  16016. "type": "integer"
  16017. },
  16018. "todaydecrease": {
  16019. "description": "今日减少",
  16020. "type": "integer"
  16021. },
  16022. "todayincrease": {
  16023. "description": "今日增加",
  16024. "type": "integer"
  16025. },
  16026. "userid": {
  16027. "description": "用户ID",
  16028. "type": "integer"
  16029. },
  16030. "userscope": {
  16031. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  16032. "type": "string"
  16033. }
  16034. }
  16035. },
  16036. "models.MyCouponHold": {
  16037. "type": "object",
  16038. "required": [
  16039. "couponholdid"
  16040. ],
  16041. "properties": {
  16042. "accountid": {
  16043. "description": "资金账户ID",
  16044. "type": "integer"
  16045. },
  16046. "conditionvalue": {
  16047. "description": "条件阈值(可为0)",
  16048. "type": "number"
  16049. },
  16050. "couponcategroy": {
  16051. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  16052. "type": "integer"
  16053. },
  16054. "couponholdid": {
  16055. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  16056. "type": "string"
  16057. },
  16058. "couponname": {
  16059. "description": "优惠券名称",
  16060. "type": "string"
  16061. },
  16062. "coupontypeid": {
  16063. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  16064. "type": "string"
  16065. },
  16066. "couponvalue": {
  16067. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  16068. "type": "number"
  16069. },
  16070. "createtime": {
  16071. "description": "创建时间",
  16072. "type": "string"
  16073. },
  16074. "enddate": {
  16075. "description": "结束日期",
  16076. "type": "string"
  16077. },
  16078. "giveapplyid": {
  16079. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  16080. "type": "integer"
  16081. },
  16082. "holdstatus": {
  16083. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  16084. "type": "integer"
  16085. },
  16086. "isgeneral": {
  16087. "description": "是否通用券 - 0:否 1:是",
  16088. "type": "integer"
  16089. },
  16090. "limitedflag": {
  16091. "description": "是否指定商品 - 0:不限 1:限制",
  16092. "type": "integer"
  16093. },
  16094. "limitedgoodsids": {
  16095. "description": "指定商品IDs[逗号分隔]",
  16096. "type": "string"
  16097. },
  16098. "qty": {
  16099. "description": "数量(按1平铺)",
  16100. "type": "integer"
  16101. },
  16102. "startdate": {
  16103. "description": "开始日期",
  16104. "type": "string"
  16105. },
  16106. "userid": {
  16107. "description": "用户ID",
  16108. "type": "integer"
  16109. },
  16110. "userscope": {
  16111. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  16112. "type": "string"
  16113. }
  16114. }
  16115. },
  16116. "models.MyUsedCoupon": {
  16117. "type": "object",
  16118. "required": [
  16119. "coupontypeid",
  16120. "orderid"
  16121. ],
  16122. "properties": {
  16123. "accountid": {
  16124. "description": "资金账户ID(买方)",
  16125. "type": "integer"
  16126. },
  16127. "conditionvalue": {
  16128. "description": "条件阈值(可为0)",
  16129. "type": "number"
  16130. },
  16131. "couponcategroy": {
  16132. "description": "种类 - 1:现金券 2:折扣券",
  16133. "type": "integer"
  16134. },
  16135. "couponname": {
  16136. "description": "优惠券名称",
  16137. "type": "string"
  16138. },
  16139. "coupontypeid": {
  16140. "description": "优惠券类型ID(买方)",
  16141. "type": "string"
  16142. },
  16143. "couponvalue": {
  16144. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  16145. "type": "number"
  16146. },
  16147. "createtime": {
  16148. "description": "创建时间",
  16149. "type": "string"
  16150. },
  16151. "goodsid": {
  16152. "description": "商品ID",
  16153. "type": "integer"
  16154. },
  16155. "handlestatus": {
  16156. "description": "处理状态",
  16157. "type": "integer"
  16158. },
  16159. "marketid": {
  16160. "description": "市场ID",
  16161. "type": "integer"
  16162. },
  16163. "offamount": {
  16164. "description": "优惠金额",
  16165. "type": "number"
  16166. },
  16167. "orderid": {
  16168. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16169. "type": "string"
  16170. },
  16171. "sellaccountid": {
  16172. "description": "资金账户ID(卖方)",
  16173. "type": "integer"
  16174. },
  16175. "tradeamount": {
  16176. "description": "成交金额",
  16177. "type": "number"
  16178. },
  16179. "tradeid": {
  16180. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16181. "type": "string"
  16182. },
  16183. "usedqty": {
  16184. "description": "使用数量",
  16185. "type": "integer"
  16186. }
  16187. }
  16188. },
  16189. "models.OperationPrimaryMenu": {
  16190. "type": "object",
  16191. "properties": {
  16192. "Children": {
  16193. "description": "二级功能菜单",
  16194. "type": "array",
  16195. "items": {
  16196. "$ref": "#/definitions/models.OperationSecondaryMenu"
  16197. }
  16198. },
  16199. "Key": {
  16200. "description": "菜单KEY",
  16201. "type": "string"
  16202. },
  16203. "Label": {
  16204. "description": "菜单标题",
  16205. "type": "string"
  16206. }
  16207. }
  16208. },
  16209. "models.OperationSecondaryMenu": {
  16210. "type": "object",
  16211. "properties": {
  16212. "Key": {
  16213. "description": "菜单KEY",
  16214. "type": "string"
  16215. },
  16216. "Label": {
  16217. "description": "菜单标题",
  16218. "type": "string"
  16219. },
  16220. "TabList": {
  16221. "description": "三级功能菜单",
  16222. "type": "array",
  16223. "items": {
  16224. "$ref": "#/definitions/models.OperationTabMenu"
  16225. }
  16226. }
  16227. }
  16228. },
  16229. "models.OperationTabMenu": {
  16230. "type": "object",
  16231. "properties": {
  16232. "Key": {
  16233. "description": "菜单KEY",
  16234. "type": "string"
  16235. },
  16236. "Label": {
  16237. "description": "菜单标题",
  16238. "type": "string"
  16239. }
  16240. }
  16241. },
  16242. "models.PendingAuditBizModel": {
  16243. "type": "object",
  16244. "properties": {
  16245. "accountid": {
  16246. "description": "现货账户",
  16247. "type": "string"
  16248. },
  16249. "areaname": {
  16250. "description": "所属部门",
  16251. "type": "string"
  16252. },
  16253. "bizid": {
  16254. "description": "业务ID",
  16255. "type": "string"
  16256. },
  16257. "bizname": {
  16258. "description": "业务名称",
  16259. "type": "string"
  16260. },
  16261. "status": {
  16262. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16263. "type": "integer"
  16264. },
  16265. "type": {
  16266. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  16267. "type": "integer"
  16268. }
  16269. }
  16270. },
  16271. "models.QueryErrorInfosRsp": {
  16272. "type": "object",
  16273. "required": [
  16274. "errorid"
  16275. ],
  16276. "properties": {
  16277. "description": {
  16278. "description": "异常描述",
  16279. "type": "string"
  16280. },
  16281. "errorcode": {
  16282. "description": "异常代码",
  16283. "type": "string"
  16284. },
  16285. "errorid": {
  16286. "description": "异常ID",
  16287. "type": "integer"
  16288. },
  16289. "modulecode": {
  16290. "description": "所属模块",
  16291. "type": "string"
  16292. },
  16293. "operatecode": {
  16294. "description": "所属操作",
  16295. "type": "string"
  16296. },
  16297. "rownumber": {
  16298. "description": "行号",
  16299. "type": "string"
  16300. }
  16301. }
  16302. },
  16303. "models.QueryHedgeOrderDetailRsp": {
  16304. "type": "object",
  16305. "properties": {
  16306. "accountid": {
  16307. "description": "账户ID",
  16308. "type": "integer"
  16309. },
  16310. "buyorsell": {
  16311. "description": "买卖 - 0:买 1:卖",
  16312. "type": "integer"
  16313. },
  16314. "cancellogincode": {
  16315. "description": "撤单人",
  16316. "type": "string"
  16317. },
  16318. "channelbuildtype": {
  16319. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  16320. "type": "integer"
  16321. },
  16322. "channelinnerorderstatus": {
  16323. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  16324. "type": "integer"
  16325. },
  16326. "channeloperatetype": {
  16327. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  16328. "type": "integer"
  16329. },
  16330. "closetype": {
  16331. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16332. "type": "integer"
  16333. },
  16334. "curexchangerate": {
  16335. "description": "当前汇率",
  16336. "type": "number"
  16337. },
  16338. "exchangefullname": {
  16339. "description": "外部交易所全称",
  16340. "type": "string"
  16341. },
  16342. "goodscode": {
  16343. "description": "商品代码(内部)",
  16344. "type": "string"
  16345. },
  16346. "goodsid": {
  16347. "description": "商品ID",
  16348. "type": "integer"
  16349. },
  16350. "goodsname": {
  16351. "description": "商品名称",
  16352. "type": "string"
  16353. },
  16354. "marketid": {
  16355. "description": "市场ID",
  16356. "type": "integer"
  16357. },
  16358. "openfreezemargin": {
  16359. "description": "冻结保证金(冻结交易金额)",
  16360. "type": "number"
  16361. },
  16362. "orderid": {
  16363. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16364. "type": "string"
  16365. },
  16366. "orderlogincode": {
  16367. "description": "委托人",
  16368. "type": "string"
  16369. },
  16370. "orderprice": {
  16371. "description": "委托价格(账户)",
  16372. "type": "number"
  16373. },
  16374. "orderqty": {
  16375. "description": "委托数量",
  16376. "type": "integer"
  16377. },
  16378. "ordertime": {
  16379. "description": "委托时间",
  16380. "type": "string"
  16381. },
  16382. "pricemode": {
  16383. "description": "取价方式 - 1:市价 2: 限价",
  16384. "type": "integer"
  16385. },
  16386. "tradedate": {
  16387. "description": "交易日(yyyyMMdd)",
  16388. "type": "string"
  16389. },
  16390. "tradeqty": {
  16391. "description": "成交数量",
  16392. "type": "integer"
  16393. }
  16394. }
  16395. },
  16396. "models.QueryHedgeTradeDetailRsp": {
  16397. "type": "object",
  16398. "properties": {
  16399. "accountid": {
  16400. "description": "账号ID",
  16401. "type": "integer"
  16402. },
  16403. "buyorsell": {
  16404. "description": "方向 - 0:买 1:卖",
  16405. "type": "integer"
  16406. },
  16407. "channelbuildtype": {
  16408. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  16409. "type": "integer"
  16410. },
  16411. "closecharge": {
  16412. "description": "平仓手续费(账户)",
  16413. "type": "number"
  16414. },
  16415. "closecharge2": {
  16416. "description": "平仓手续费(商品)",
  16417. "type": "number"
  16418. },
  16419. "closetype": {
  16420. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16421. "type": "integer"
  16422. },
  16423. "curexchangerate": {
  16424. "description": "当前汇率",
  16425. "type": "number"
  16426. },
  16427. "exchangefullname": {
  16428. "description": "外部交易所全称",
  16429. "type": "string"
  16430. },
  16431. "goodscode": {
  16432. "description": "商品代码(内部)",
  16433. "type": "string"
  16434. },
  16435. "goodsid": {
  16436. "description": "商品ID",
  16437. "type": "integer"
  16438. },
  16439. "goodsname": {
  16440. "description": "商品名称",
  16441. "type": "string"
  16442. },
  16443. "marketid": {
  16444. "description": "市场ID",
  16445. "type": "integer"
  16446. },
  16447. "opencharge": {
  16448. "description": "建仓手续费(账户)",
  16449. "type": "number"
  16450. },
  16451. "opencharge2": {
  16452. "description": "建仓手续费(商品)",
  16453. "type": "number"
  16454. },
  16455. "orderid": {
  16456. "description": "委托单号",
  16457. "type": "string"
  16458. },
  16459. "orderlogincode": {
  16460. "description": "委托人",
  16461. "type": "string"
  16462. },
  16463. "tradeamount": {
  16464. "description": "成交金额(账户)",
  16465. "type": "number"
  16466. },
  16467. "tradedate": {
  16468. "description": "交易日(yyyyMMdd)",
  16469. "type": "string"
  16470. },
  16471. "tradeid": {
  16472. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16473. "type": "string"
  16474. },
  16475. "tradeprice": {
  16476. "description": "成交价格",
  16477. "type": "number"
  16478. },
  16479. "tradeqty": {
  16480. "description": "成交数量",
  16481. "type": "integer"
  16482. },
  16483. "tradetime": {
  16484. "description": "成交时间",
  16485. "type": "string"
  16486. },
  16487. "tradetype": {
  16488. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  16489. "type": "integer"
  16490. }
  16491. }
  16492. },
  16493. "models.QuotePrimaryMenu": {
  16494. "type": "object",
  16495. "properties": {
  16496. "Index": {
  16497. "description": "序号",
  16498. "type": "integer"
  16499. },
  16500. "Key": {
  16501. "description": "键名",
  16502. "type": "string"
  16503. },
  16504. "Name": {
  16505. "description": "菜单名称",
  16506. "type": "string"
  16507. },
  16508. "SubMenus": {
  16509. "description": "子菜单",
  16510. "type": "array",
  16511. "items": {
  16512. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  16513. }
  16514. },
  16515. "SubTitleType": {
  16516. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  16517. "type": "integer"
  16518. },
  16519. "TradeModes": {
  16520. "description": "包含市场交易类型",
  16521. "type": "string"
  16522. }
  16523. }
  16524. },
  16525. "models.QuoteSecondaryMenu": {
  16526. "type": "object",
  16527. "properties": {
  16528. "ExExchangeCode": {
  16529. "description": "外部交易所代码",
  16530. "type": "string"
  16531. },
  16532. "ExExchangeID": {
  16533. "description": "外部交易所ID",
  16534. "type": "integer"
  16535. },
  16536. "GoodsGroupIDs": {
  16537. "description": "商品组ID列表",
  16538. "type": "array",
  16539. "items": {
  16540. "type": "integer"
  16541. }
  16542. },
  16543. "Index": {
  16544. "description": "序号",
  16545. "type": "integer"
  16546. },
  16547. "MarketID": {
  16548. "description": "市场ID",
  16549. "type": "integer"
  16550. },
  16551. "MenuTitle": {
  16552. "description": "菜单标题(市场名称或外部交易所名称)",
  16553. "type": "string"
  16554. },
  16555. "TradeMode": {
  16556. "description": "交易模式",
  16557. "type": "integer"
  16558. }
  16559. }
  16560. },
  16561. "models.RelatedGoodsEx": {
  16562. "type": "object",
  16563. "properties": {
  16564. "goodscode": {
  16565. "description": "商品代码",
  16566. "type": "string"
  16567. },
  16568. "goodsid": {
  16569. "description": "商品id",
  16570. "type": "integer"
  16571. },
  16572. "goodsname": {
  16573. "description": "商品名称",
  16574. "type": "string"
  16575. }
  16576. }
  16577. },
  16578. "models.SearchGoods": {
  16579. "type": "object",
  16580. "required": [
  16581. "goodscode",
  16582. "goodsid",
  16583. "goodsname",
  16584. "marketid",
  16585. "trademode"
  16586. ],
  16587. "properties": {
  16588. "goodscode": {
  16589. "description": "商品代码(内部)",
  16590. "type": "string"
  16591. },
  16592. "goodsid": {
  16593. "description": "商品ID(自增ID SEQ_GOODS)",
  16594. "type": "integer"
  16595. },
  16596. "goodsname": {
  16597. "description": "商品名称",
  16598. "type": "string"
  16599. },
  16600. "marketid": {
  16601. "description": "所属市场ID",
  16602. "type": "integer"
  16603. },
  16604. "marketname": {
  16605. "description": "市场名称",
  16606. "type": "string"
  16607. },
  16608. "trademode": {
  16609. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16610. "type": "integer"
  16611. }
  16612. }
  16613. },
  16614. "models.Systemparam": {
  16615. "type": "object",
  16616. "required": [
  16617. "paramcode"
  16618. ],
  16619. "properties": {
  16620. "loginid": {
  16621. "description": "更新用户账号,登录账号",
  16622. "type": "string"
  16623. },
  16624. "modifyflag": {
  16625. "description": "修改标志0 不允许修改 1 允许修改",
  16626. "type": "integer"
  16627. },
  16628. "paramcode": {
  16629. "description": "参数代码",
  16630. "type": "string"
  16631. },
  16632. "paramname": {
  16633. "description": "参数名",
  16634. "type": "string"
  16635. },
  16636. "paramtype": {
  16637. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  16638. "type": "integer"
  16639. },
  16640. "paramvalue": {
  16641. "description": "参数值",
  16642. "type": "string"
  16643. },
  16644. "paramvalue2": {
  16645. "description": "参数值(CLOB)",
  16646. "type": "string"
  16647. },
  16648. "regexpress": {
  16649. "description": "正则表达式",
  16650. "type": "string"
  16651. },
  16652. "remark": {
  16653. "description": "备注",
  16654. "type": "string"
  16655. },
  16656. "serverip": {
  16657. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  16658. "type": "string"
  16659. },
  16660. "showflag": {
  16661. "description": "是否显示0 不显示 1 显示",
  16662. "type": "integer"
  16663. },
  16664. "updatetime": {
  16665. "description": "更新时间",
  16666. "type": "string"
  16667. },
  16668. "userid": {
  16669. "description": "更新用户ID",
  16670. "type": "integer"
  16671. }
  16672. }
  16673. },
  16674. "models.Szdz3convertconfig": {
  16675. "type": "object",
  16676. "required": [
  16677. "converttype",
  16678. "innergoodsid",
  16679. "outergoodscode"
  16680. ],
  16681. "properties": {
  16682. "canin": {
  16683. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  16684. "type": "integer"
  16685. },
  16686. "canout": {
  16687. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  16688. "type": "integer"
  16689. },
  16690. "converttype": {
  16691. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  16692. "type": "integer"
  16693. },
  16694. "createtime": {
  16695. "description": "创建时间",
  16696. "type": "string"
  16697. },
  16698. "creatorid": {
  16699. "description": "创建人",
  16700. "type": "integer"
  16701. },
  16702. "daymaxvalue": {
  16703. "description": "当日最大转入限制",
  16704. "type": "number"
  16705. },
  16706. "freezedays": {
  16707. "description": "冻结天数 [5:花生米转交易]",
  16708. "type": "integer"
  16709. },
  16710. "innergoodsid": {
  16711. "description": "内部商品ID[交易]",
  16712. "type": "integer"
  16713. },
  16714. "inratio": {
  16715. "description": "目标值",
  16716. "type": "integer"
  16717. },
  16718. "modifierid": {
  16719. "description": "修改人",
  16720. "type": "integer"
  16721. },
  16722. "modifytime": {
  16723. "description": "修改时间",
  16724. "type": "string"
  16725. },
  16726. "outergoodscode": {
  16727. "description": "外部商品代码[JD\\PD]",
  16728. "type": "string"
  16729. },
  16730. "outratio": {
  16731. "description": "源值",
  16732. "type": "integer"
  16733. },
  16734. "pddecimalplace": {
  16735. "description": "PD小数位",
  16736. "type": "integer"
  16737. },
  16738. "timemaxvalue": {
  16739. "description": "单次最大转入限制",
  16740. "type": "number"
  16741. },
  16742. "timeminvalue": {
  16743. "description": "单次最小转入限制",
  16744. "type": "number"
  16745. }
  16746. }
  16747. },
  16748. "models.Szdz3searchwhitelist": {
  16749. "type": "object",
  16750. "required": [
  16751. "userid"
  16752. ],
  16753. "properties": {
  16754. "createtime": {
  16755. "description": "创建时间",
  16756. "type": "string"
  16757. },
  16758. "creatorid": {
  16759. "description": "创建人",
  16760. "type": "integer"
  16761. },
  16762. "modifierid": {
  16763. "description": "修改人",
  16764. "type": "integer"
  16765. },
  16766. "modifytime": {
  16767. "description": "修改时间",
  16768. "type": "string"
  16769. },
  16770. "userid": {
  16771. "description": "用户ID",
  16772. "type": "integer"
  16773. }
  16774. }
  16775. },
  16776. "models.Taaccount": {
  16777. "type": "object",
  16778. "required": [
  16779. "accountid",
  16780. "userid"
  16781. ],
  16782. "properties": {
  16783. "accountflag": {
  16784. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  16785. "type": "integer"
  16786. },
  16787. "accountid": {
  16788. "description": "资金账户ID",
  16789. "type": "integer"
  16790. },
  16791. "accountname": {
  16792. "description": "账户名称",
  16793. "type": "string"
  16794. },
  16795. "balance": {
  16796. "description": "期初余额",
  16797. "type": "number"
  16798. },
  16799. "capitalbalance": {
  16800. "description": "本金余额[外部子账户实际出入金余额]",
  16801. "type": "number"
  16802. },
  16803. "changeflag": {
  16804. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  16805. "type": "integer"
  16806. },
  16807. "changetime": {
  16808. "description": "账户状态变更时间",
  16809. "type": "string"
  16810. },
  16811. "closepl": {
  16812. "description": "今日平仓盈亏",
  16813. "type": "number"
  16814. },
  16815. "creditdecrease": {
  16816. "description": "今日授信减少",
  16817. "type": "number"
  16818. },
  16819. "creditincrease": {
  16820. "description": "今日授信增加",
  16821. "type": "number"
  16822. },
  16823. "currencyid": {
  16824. "description": "货币ID",
  16825. "type": "integer"
  16826. },
  16827. "currentbalance": {
  16828. "description": "期末余额",
  16829. "type": "number"
  16830. },
  16831. "freezecharge": {
  16832. "description": "手续费冻结",
  16833. "type": "number"
  16834. },
  16835. "freezemargin": {
  16836. "description": "冻结保证金",
  16837. "type": "number"
  16838. },
  16839. "fromaccountid": {
  16840. "description": "所属上级账户",
  16841. "type": "integer"
  16842. },
  16843. "inamount": {
  16844. "description": "今日入金金额(包括三方入金)",
  16845. "type": "number"
  16846. },
  16847. "ismain": {
  16848. "description": "是否母账号 0:不是母账户 1:是母账户",
  16849. "type": "integer"
  16850. },
  16851. "ismarketaccount": {
  16852. "description": "是否机构接单账号 0:不是 1:是",
  16853. "type": "integer"
  16854. },
  16855. "isreckonaccount": {
  16856. "description": "是否机构分润账号 0:不是 1:是",
  16857. "type": "integer"
  16858. },
  16859. "mortgagecredit": {
  16860. "description": "授信金额",
  16861. "type": "number"
  16862. },
  16863. "orifreezecharge": {
  16864. "description": "期初手续费冻结",
  16865. "type": "number"
  16866. },
  16867. "orifreezemargin": {
  16868. "description": "期初冻结保证金",
  16869. "type": "number"
  16870. },
  16871. "orimortgagecredit": {
  16872. "description": "期初授信金额",
  16873. "type": "number"
  16874. },
  16875. "oriothercredit": {
  16876. "description": "期初其它授信金额",
  16877. "type": "number"
  16878. },
  16879. "oriotherfreezemargin": {
  16880. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  16881. "type": "number"
  16882. },
  16883. "orioutamountfreeze": {
  16884. "description": "期初出金冻结",
  16885. "type": "number"
  16886. },
  16887. "oriusedmargin": {
  16888. "description": "期初占用保证金",
  16889. "type": "number"
  16890. },
  16891. "othercredit": {
  16892. "description": "其它授信金额",
  16893. "type": "number"
  16894. },
  16895. "othercreditdecrease": {
  16896. "description": "今日其它授信减少",
  16897. "type": "number"
  16898. },
  16899. "othercreditincrease": {
  16900. "description": "今日其它授信增加",
  16901. "type": "number"
  16902. },
  16903. "otherfreezemargin": {
  16904. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  16905. "type": "number"
  16906. },
  16907. "otherincome": {
  16908. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  16909. "type": "number"
  16910. },
  16911. "otherpay": {
  16912. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  16913. "type": "number"
  16914. },
  16915. "outamount": {
  16916. "description": "今日出金金额(包括三方出金)",
  16917. "type": "number"
  16918. },
  16919. "outamountfreeze": {
  16920. "description": "出金冻结",
  16921. "type": "number"
  16922. },
  16923. "outthreshold": {
  16924. "description": "出金阈值",
  16925. "type": "number"
  16926. },
  16927. "parentaccountid": {
  16928. "description": "所属根账号",
  16929. "type": "integer"
  16930. },
  16931. "paycharge": {
  16932. "description": "今日手续费支出",
  16933. "type": "number"
  16934. },
  16935. "relatedaccountstatus": {
  16936. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  16937. "type": "integer"
  16938. },
  16939. "relateduserid": {
  16940. "description": "关联用户",
  16941. "type": "integer"
  16942. },
  16943. "serivcegroup": {
  16944. "description": "服务分组",
  16945. "type": "integer"
  16946. },
  16947. "signstatus": {
  16948. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  16949. "type": "integer"
  16950. },
  16951. "sublevelpath": {
  16952. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  16953. "type": "string"
  16954. },
  16955. "taaccounttype": {
  16956. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  16957. "type": "integer"
  16958. },
  16959. "thirdinamount": {
  16960. "description": "今日三方入金",
  16961. "type": "number"
  16962. },
  16963. "thirdoutamount": {
  16964. "description": "今日三方出金",
  16965. "type": "number"
  16966. },
  16967. "tradestatus": {
  16968. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16969. "type": "integer"
  16970. },
  16971. "tradestatuschangetime": {
  16972. "description": "激活时间",
  16973. "type": "string"
  16974. },
  16975. "transferamount": {
  16976. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  16977. "type": "number"
  16978. },
  16979. "usedmargin": {
  16980. "description": "占用保证金",
  16981. "type": "number"
  16982. },
  16983. "userid": {
  16984. "description": "用户ID",
  16985. "type": "integer"
  16986. }
  16987. }
  16988. },
  16989. "models.Tablecolumnconfig": {
  16990. "type": "object",
  16991. "required": [
  16992. "autoid"
  16993. ],
  16994. "properties": {
  16995. "aligntype": {
  16996. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  16997. "type": "integer"
  16998. },
  16999. "autoid": {
  17000. "description": "AutoID",
  17001. "type": "integer"
  17002. },
  17003. "columnfield": {
  17004. "description": "列字段",
  17005. "type": "string"
  17006. },
  17007. "columntitle": {
  17008. "description": "列Title",
  17009. "type": "string"
  17010. },
  17011. "columnwidth": {
  17012. "description": "列宽",
  17013. "type": "string"
  17014. },
  17015. "formatterstring": {
  17016. "description": "格式化字符",
  17017. "type": "string"
  17018. },
  17019. "formattertype": {
  17020. "description": "格式化类型",
  17021. "type": "string"
  17022. },
  17023. "groupname": {
  17024. "description": "表头分组名称",
  17025. "type": "string"
  17026. },
  17027. "isshow": {
  17028. "description": "是否显示 - 0:不显示 1:显示",
  17029. "type": "integer"
  17030. },
  17031. "needsummary": {
  17032. "description": "是否需要汇总 - 0:不需要 1:需要",
  17033. "type": "integer"
  17034. },
  17035. "orderindex": {
  17036. "description": "顺序",
  17037. "type": "integer"
  17038. },
  17039. "remark": {
  17040. "description": "备注",
  17041. "type": "string"
  17042. },
  17043. "summarytype": {
  17044. "description": "汇总类型 - 1:加总 2:最后一个",
  17045. "type": "integer"
  17046. },
  17047. "tablekey": {
  17048. "description": "列表Key",
  17049. "type": "string"
  17050. }
  17051. }
  17052. },
  17053. "models.Useraccount": {
  17054. "type": "object",
  17055. "required": [
  17056. "userid"
  17057. ],
  17058. "properties": {
  17059. "accountname": {
  17060. "description": "账户名称(机构名称)",
  17061. "type": "string"
  17062. },
  17063. "accountstatus": {
  17064. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17065. "type": "integer"
  17066. },
  17067. "auditremark": {
  17068. "description": "审核备注",
  17069. "type": "string"
  17070. },
  17071. "audittime": {
  17072. "description": "审核时间",
  17073. "type": "string"
  17074. },
  17075. "audituserid": {
  17076. "description": "审核人",
  17077. "type": "integer"
  17078. },
  17079. "broker": {
  17080. "description": "所属经纪人ID",
  17081. "type": "integer"
  17082. },
  17083. "canceltime": {
  17084. "description": "销户时间",
  17085. "type": "string"
  17086. },
  17087. "canceluserid": {
  17088. "description": "销户人",
  17089. "type": "integer"
  17090. },
  17091. "createtime": {
  17092. "description": "创建时间",
  17093. "type": "string"
  17094. },
  17095. "creatorid": {
  17096. "description": "创建人",
  17097. "type": "integer"
  17098. },
  17099. "hasauth": {
  17100. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  17101. "type": "integer"
  17102. },
  17103. "isanonymous": {
  17104. "description": "是否匿名下单 - 0:否 1:是",
  17105. "type": "integer"
  17106. },
  17107. "maxinvestornum": {
  17108. "description": "最大用户数(经纪会员下投资者个数)",
  17109. "type": "integer"
  17110. },
  17111. "memberuserid": {
  17112. "description": "所属会员ID",
  17113. "type": "integer"
  17114. },
  17115. "modifierid": {
  17116. "description": "修改人",
  17117. "type": "integer"
  17118. },
  17119. "modifyremark": {
  17120. "description": "变更备注",
  17121. "type": "string"
  17122. },
  17123. "modifystatus": {
  17124. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  17125. "type": "integer"
  17126. },
  17127. "modifytime": {
  17128. "description": "修改时间",
  17129. "type": "string"
  17130. },
  17131. "parentuserid": {
  17132. "description": "所属机构ID",
  17133. "type": "integer"
  17134. },
  17135. "reckonaccountid": {
  17136. "description": "默认结算资金账号ID(机构分润使用) 作废",
  17137. "type": "integer"
  17138. },
  17139. "refercount": {
  17140. "description": "推荐总人数",
  17141. "type": "integer"
  17142. },
  17143. "refereeuserid": {
  17144. "description": "推荐人ID",
  17145. "type": "integer"
  17146. },
  17147. "refernum": {
  17148. "description": "推荐码",
  17149. "type": "string"
  17150. },
  17151. "subarealevelpath": {
  17152. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  17153. "type": "string"
  17154. },
  17155. "userid": {
  17156. "description": "用户ID",
  17157. "type": "integer"
  17158. },
  17159. "usertype": {
  17160. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  17161. "type": "integer"
  17162. }
  17163. }
  17164. },
  17165. "models.Userfavoritegoods": {
  17166. "type": "object",
  17167. "required": [
  17168. "goodsid"
  17169. ],
  17170. "properties": {
  17171. "goodsid": {
  17172. "description": "商品ID",
  17173. "type": "integer"
  17174. }
  17175. }
  17176. },
  17177. "models.Userinfo": {
  17178. "type": "object",
  17179. "required": [
  17180. "userid"
  17181. ],
  17182. "properties": {
  17183. "address": {
  17184. "description": "地址",
  17185. "type": "string"
  17186. },
  17187. "attachment1": {
  17188. "description": "附件1",
  17189. "type": "string"
  17190. },
  17191. "attachment2": {
  17192. "description": "附件2",
  17193. "type": "string"
  17194. },
  17195. "bankaccount": {
  17196. "description": "银行帐号 (加密存储)",
  17197. "type": "string"
  17198. },
  17199. "bankaccountname": {
  17200. "description": "收款人名称",
  17201. "type": "string"
  17202. },
  17203. "bankcardfrontphotourl": {
  17204. "description": "银行卡正面照地址",
  17205. "type": "string"
  17206. },
  17207. "bankid": {
  17208. "description": "银行编码",
  17209. "type": "string"
  17210. },
  17211. "bankname": {
  17212. "description": "银行名称",
  17213. "type": "string"
  17214. },
  17215. "biznature": {
  17216. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17217. "type": "integer"
  17218. },
  17219. "bizscope": {
  17220. "description": "企业经营范围(企业)",
  17221. "type": "string"
  17222. },
  17223. "cardbackphotourl": {
  17224. "description": "证件背面图片地址",
  17225. "type": "string"
  17226. },
  17227. "cardfrontphotourl": {
  17228. "description": "证件正面图片地址",
  17229. "type": "string"
  17230. },
  17231. "cardnum": {
  17232. "description": "证件号码(加密存储)",
  17233. "type": "string"
  17234. },
  17235. "cardtypeid": {
  17236. "description": "证件类型ID",
  17237. "type": "integer"
  17238. },
  17239. "cityid": {
  17240. "description": "市",
  17241. "type": "integer"
  17242. },
  17243. "company": {
  17244. "description": "公司(个人)",
  17245. "type": "string"
  17246. },
  17247. "contactname": {
  17248. "description": "联系人",
  17249. "type": "string"
  17250. },
  17251. "countryid": {
  17252. "description": "国家",
  17253. "type": "integer"
  17254. },
  17255. "createtime": {
  17256. "description": "创建时间",
  17257. "type": "string"
  17258. },
  17259. "creatorid": {
  17260. "description": "创建人",
  17261. "type": "integer"
  17262. },
  17263. "customername": {
  17264. "description": "客户名称(企业名称)",
  17265. "type": "string"
  17266. },
  17267. "districtid": {
  17268. "description": "地区",
  17269. "type": "integer"
  17270. },
  17271. "email": {
  17272. "description": "邮件(加密存储)",
  17273. "type": "string"
  17274. },
  17275. "fax": {
  17276. "description": "传真(加密存储)",
  17277. "type": "string"
  17278. },
  17279. "halfbodyphotourl": {
  17280. "description": "半身照地址",
  17281. "type": "string"
  17282. },
  17283. "hasencrypt": {
  17284. "description": "数据是否已加密 - 0:未加密 1:已加密",
  17285. "type": "integer"
  17286. },
  17287. "headurl": {
  17288. "description": "头像地址",
  17289. "type": "string"
  17290. },
  17291. "legalcardbackphotourl": {
  17292. "description": "法人身份证背面照地址",
  17293. "type": "string"
  17294. },
  17295. "legalcardfrontphotourl": {
  17296. "description": "法人身份证正面照地址",
  17297. "type": "string"
  17298. },
  17299. "legalpersonname": {
  17300. "description": "法人姓名(企业)",
  17301. "type": "string"
  17302. },
  17303. "mobile": {
  17304. "description": "手机号码(加密存储)",
  17305. "type": "string"
  17306. },
  17307. "mobile2": {
  17308. "description": "手机号码[明文-尚志]",
  17309. "type": "string"
  17310. },
  17311. "modifierid": {
  17312. "description": "修改人",
  17313. "type": "integer"
  17314. },
  17315. "modifiertime": {
  17316. "description": "修改时间",
  17317. "type": "string"
  17318. },
  17319. "needinvoice": {
  17320. "description": "是否需要发票 - 0:不需要 1:需要",
  17321. "type": "integer"
  17322. },
  17323. "nickname": {
  17324. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  17325. "type": "string"
  17326. },
  17327. "openmode": {
  17328. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  17329. "type": "integer"
  17330. },
  17331. "otherurl": {
  17332. "description": "其它图片地址[使用分号分隔]",
  17333. "type": "string"
  17334. },
  17335. "postalcode": {
  17336. "description": "邮政编码",
  17337. "type": "string"
  17338. },
  17339. "provinceid": {
  17340. "description": "省",
  17341. "type": "integer"
  17342. },
  17343. "qq": {
  17344. "description": "QQ(加密存储",
  17345. "type": "string"
  17346. },
  17347. "remark": {
  17348. "description": "备注",
  17349. "type": "string"
  17350. },
  17351. "sex": {
  17352. "description": "用户性别 0: 女 1: 男",
  17353. "type": "integer"
  17354. },
  17355. "signpdfurl": {
  17356. "description": "签约pdf文件",
  17357. "type": "string"
  17358. },
  17359. "telphone": {
  17360. "description": "联系电话(加密存储)",
  17361. "type": "string"
  17362. },
  17363. "userid": {
  17364. "description": "用户ID",
  17365. "type": "integer"
  17366. },
  17367. "userinfotype": {
  17368. "description": "用户信息类型 - 1:个人 2:企业",
  17369. "type": "integer"
  17370. },
  17371. "userstatus": {
  17372. "description": "用户状态 - 1:正常 2:注销",
  17373. "type": "integer"
  17374. },
  17375. "usertype": {
  17376. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  17377. "type": "integer"
  17378. },
  17379. "wechat": {
  17380. "description": "微信(加密存储)",
  17381. "type": "string"
  17382. },
  17383. "wskhinfo": {
  17384. "description": "开户申请信息(JSON)",
  17385. "type": "string"
  17386. }
  17387. }
  17388. },
  17389. "models.WRCategoryTree": {
  17390. "type": "object",
  17391. "required": [
  17392. "categoryid"
  17393. ],
  17394. "properties": {
  17395. "areauserid": {
  17396. "description": "所属机构",
  17397. "type": "integer"
  17398. },
  17399. "categorydesc": {
  17400. "description": "类别描述",
  17401. "type": "string"
  17402. },
  17403. "categoryid": {
  17404. "description": "类别ID(SEQ_WRCATEGORY)",
  17405. "type": "integer"
  17406. },
  17407. "categoryname": {
  17408. "description": "类别名称",
  17409. "type": "string"
  17410. },
  17411. "iconurl": {
  17412. "description": "图标地址",
  17413. "type": "string"
  17414. },
  17415. "orderindex": {
  17416. "description": "顺序",
  17417. "type": "integer"
  17418. },
  17419. "parentcategoryid": {
  17420. "description": "父类别ID",
  17421. "type": "integer"
  17422. },
  17423. "subcategory": {
  17424. "description": "子分类",
  17425. "type": "array",
  17426. "items": {
  17427. "$ref": "#/definitions/models.WRCategoryTree"
  17428. }
  17429. }
  17430. }
  17431. },
  17432. "models.WRSConverTDetail": {
  17433. "type": "object",
  17434. "properties": {
  17435. "convertratio": {
  17436. "description": "套保系数",
  17437. "type": "number"
  17438. },
  17439. "deliverygoodsid": {
  17440. "description": "现货品种ID",
  17441. "type": "integer"
  17442. },
  17443. "middlegoodscode": {
  17444. "description": "套保品种代码",
  17445. "type": "string"
  17446. },
  17447. "middlegoodsid": {
  17448. "description": "套保品种ID",
  17449. "type": "integer"
  17450. },
  17451. "middlegoodsname": {
  17452. "description": "套保品种名称",
  17453. "type": "string"
  17454. },
  17455. "modifytime": {
  17456. "description": "修改时间",
  17457. "type": "string"
  17458. },
  17459. "wrstandardid": {
  17460. "description": "现货商品ID",
  17461. "type": "integer"
  17462. }
  17463. }
  17464. },
  17465. "models.WRStandardInfo": {
  17466. "type": "object",
  17467. "required": [
  17468. "wrstandardid"
  17469. ],
  17470. "properties": {
  17471. "createtime": {
  17472. "description": "创建时间",
  17473. "type": "string"
  17474. },
  17475. "creatorid": {
  17476. "description": "创建人",
  17477. "type": "integer"
  17478. },
  17479. "deliverygoodsid": {
  17480. "description": "品种ID",
  17481. "type": "integer"
  17482. },
  17483. "deliverygoodsname": {
  17484. "description": "交割商品名称",
  17485. "type": "string"
  17486. },
  17487. "factoryitemjson": {
  17488. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  17489. "type": "string"
  17490. },
  17491. "isvalid": {
  17492. "description": "是否有效 - 0:无效 1:有效",
  17493. "type": "integer"
  17494. },
  17495. "minivalue": {
  17496. "description": "最小变动值",
  17497. "type": "integer"
  17498. },
  17499. "minivaluedp": {
  17500. "description": "最小变动值小数位",
  17501. "type": "integer"
  17502. },
  17503. "realminivalue": {
  17504. "description": "实际最小变动值",
  17505. "type": "integer"
  17506. },
  17507. "realminivaluedp": {
  17508. "description": "实际最小变动值小数位",
  17509. "type": "integer"
  17510. },
  17511. "unitid": {
  17512. "description": "单位ID",
  17513. "type": "integer"
  17514. },
  17515. "unitname": {
  17516. "description": "单位",
  17517. "type": "string"
  17518. },
  17519. "updatetime": {
  17520. "description": "更新时间",
  17521. "type": "string"
  17522. },
  17523. "updatorid": {
  17524. "description": "更新人",
  17525. "type": "integer"
  17526. },
  17527. "wrsstatus": {
  17528. "description": "状态 - 作废 - 0:未激活 1:正常",
  17529. "type": "integer"
  17530. },
  17531. "wrstandardcode": {
  17532. "description": "仓单标准代码",
  17533. "type": "string"
  17534. },
  17535. "wrstandardid": {
  17536. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17537. "type": "integer"
  17538. },
  17539. "wrstandardname": {
  17540. "description": "仓单标准名称",
  17541. "type": "string"
  17542. }
  17543. }
  17544. },
  17545. "models.Warehouseinfo": {
  17546. "type": "object",
  17547. "required": [
  17548. "autoid",
  17549. "warehousecode"
  17550. ],
  17551. "properties": {
  17552. "address": {
  17553. "description": "详细地址",
  17554. "type": "string"
  17555. },
  17556. "areauserid": {
  17557. "description": "所属机构",
  17558. "type": "integer"
  17559. },
  17560. "autoid": {
  17561. "description": "自增ID",
  17562. "type": "integer"
  17563. },
  17564. "cityid": {
  17565. "description": "市",
  17566. "type": "integer"
  17567. },
  17568. "contactname": {
  17569. "description": "联系人",
  17570. "type": "string"
  17571. },
  17572. "contactnum": {
  17573. "description": "联系电话",
  17574. "type": "string"
  17575. },
  17576. "countryid": {
  17577. "description": "国家",
  17578. "type": "integer"
  17579. },
  17580. "createtime": {
  17581. "description": "创建时间",
  17582. "type": "string"
  17583. },
  17584. "districtid": {
  17585. "description": "区",
  17586. "type": "integer"
  17587. },
  17588. "hasvideo": {
  17589. "description": "是否有视频 - 0:无 1:有",
  17590. "type": "integer"
  17591. },
  17592. "provinceid": {
  17593. "description": "省",
  17594. "type": "integer"
  17595. },
  17596. "remark": {
  17597. "description": "审核备注",
  17598. "type": "string"
  17599. },
  17600. "videourl": {
  17601. "description": "视频地址",
  17602. "type": "string"
  17603. },
  17604. "warehousecode": {
  17605. "description": "仓库代码",
  17606. "type": "string"
  17607. },
  17608. "warehousename": {
  17609. "description": "仓库名称",
  17610. "type": "string"
  17611. },
  17612. "warehousestatus": {
  17613. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17614. "type": "integer"
  17615. },
  17616. "warehousetype": {
  17617. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17618. "type": "integer"
  17619. }
  17620. }
  17621. },
  17622. "order.QueryHisTradeDetailRsp": {
  17623. "type": "object",
  17624. "required": [
  17625. "accountid",
  17626. "buyorsell",
  17627. "goodsid",
  17628. "histradedate",
  17629. "marketid",
  17630. "memberuserid",
  17631. "orderid",
  17632. "tradeamount",
  17633. "tradedate",
  17634. "tradeid",
  17635. "tradeprice",
  17636. "tradeqty",
  17637. "tradetime"
  17638. ],
  17639. "properties": {
  17640. "accountid": {
  17641. "description": "账户ID[报价币种]",
  17642. "type": "integer"
  17643. },
  17644. "buildtype": {
  17645. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  17646. "type": "integer"
  17647. },
  17648. "buyorsell": {
  17649. "description": "方向 - 0:买 1:卖",
  17650. "type": "integer"
  17651. },
  17652. "charge": {
  17653. "description": "手续费",
  17654. "type": "number"
  17655. },
  17656. "closecharge": {
  17657. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17658. "type": "number"
  17659. },
  17660. "closeexchagechargevalue": {
  17661. "description": "平仓交易所手续费设置值",
  17662. "type": "number"
  17663. },
  17664. "closefeealgorithm": {
  17665. "description": "平仓手续费收取方式 1:比率 2:固定",
  17666. "type": "integer"
  17667. },
  17668. "closememberchargevalue": {
  17669. "description": "平仓会员手续费设置值",
  17670. "type": "number"
  17671. },
  17672. "closepl": {
  17673. "description": "平仓盈亏",
  17674. "type": "number"
  17675. },
  17676. "closepl2": {
  17677. "description": "平仓盈亏[逐笔]",
  17678. "type": "number"
  17679. },
  17680. "closeqty": {
  17681. "description": "平仓数量(先建后平操作 需要记录)",
  17682. "type": "integer"
  17683. },
  17684. "creditamount": {
  17685. "description": "授信金额",
  17686. "type": "number"
  17687. },
  17688. "gcaccountid": {
  17689. "description": "账户ID[合约币种]",
  17690. "type": "integer"
  17691. },
  17692. "goodscode": {
  17693. "description": "商品代码",
  17694. "type": "string"
  17695. },
  17696. "goodsid": {
  17697. "description": "商品ID",
  17698. "type": "integer"
  17699. },
  17700. "goodsname": {
  17701. "description": "商品名称",
  17702. "type": "string"
  17703. },
  17704. "histradedate": {
  17705. "description": "历史交易日",
  17706. "type": "string"
  17707. },
  17708. "intclosepl": {
  17709. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  17710. "type": "integer"
  17711. },
  17712. "isconfirmexercise": {
  17713. "description": "是否确认行权- 0:否 1:是",
  17714. "type": "integer"
  17715. },
  17716. "ismain": {
  17717. "description": "是否主单 - 0:不是 1:是",
  17718. "type": "integer"
  17719. },
  17720. "ispreexercise": {
  17721. "description": "是否预申报- 0:否 1:是",
  17722. "type": "integer"
  17723. },
  17724. "isreckoned": {
  17725. "description": "是否结算 - 0:未结算 1:已结算",
  17726. "type": "integer"
  17727. },
  17728. "isvaliddata": {
  17729. "description": "是否有效 - 0:无效 1:有效",
  17730. "type": "integer"
  17731. },
  17732. "listingselecttype": {
  17733. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17734. "type": "integer"
  17735. },
  17736. "marketid": {
  17737. "description": "市场ID",
  17738. "type": "integer"
  17739. },
  17740. "marketname": {
  17741. "description": "市场名称",
  17742. "type": "string"
  17743. },
  17744. "matchaccountid": {
  17745. "description": "对手账号id",
  17746. "type": "integer"
  17747. },
  17748. "memberuserid": {
  17749. "description": "会员id 个人投资者 需要填写",
  17750. "type": "integer"
  17751. },
  17752. "opencharge": {
  17753. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17754. "type": "number"
  17755. },
  17756. "openexchagechargevalue": {
  17757. "description": "建仓交易所手续费设置值",
  17758. "type": "number"
  17759. },
  17760. "openfeealgorithm": {
  17761. "description": "建仓手续费收取方式 1:比率 2:固定",
  17762. "type": "integer"
  17763. },
  17764. "openmemberchargevalue": {
  17765. "description": "建仓会员手续费设置值",
  17766. "type": "number"
  17767. },
  17768. "openqty": {
  17769. "description": "开仓数量(先建后平操作 需要记录)",
  17770. "type": "integer"
  17771. },
  17772. "optiontype": {
  17773. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17774. "type": "integer"
  17775. },
  17776. "orderid": {
  17777. "description": "委托单号",
  17778. "type": "string"
  17779. },
  17780. "performanceplanid": {
  17781. "description": "履约计划ID[期权]",
  17782. "type": "integer"
  17783. },
  17784. "performancestatus": {
  17785. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  17786. "type": "integer"
  17787. },
  17788. "preexerciseprice": {
  17789. "description": "预申报价格",
  17790. "type": "number"
  17791. },
  17792. "premium": {
  17793. "description": "权利金 - [持仓单的权利金]",
  17794. "type": "number"
  17795. },
  17796. "relatedouttradeid": {
  17797. "description": "关联外部成交单ID",
  17798. "type": "integer"
  17799. },
  17800. "status": {
  17801. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  17802. "type": "integer"
  17803. },
  17804. "tradeamount": {
  17805. "description": "成交金额[账户币种,用于所有权]",
  17806. "type": "number"
  17807. },
  17808. "tradedate": {
  17809. "description": "交易日(yyyyMMdd)",
  17810. "type": "string"
  17811. },
  17812. "tradeid": {
  17813. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17814. "type": "string"
  17815. },
  17816. "trademode": {
  17817. "description": "交易模式",
  17818. "type": "integer"
  17819. },
  17820. "tradeprice": {
  17821. "description": "成交价格",
  17822. "type": "number"
  17823. },
  17824. "tradeproperty": {
  17825. "description": "交易属性",
  17826. "type": "integer"
  17827. },
  17828. "tradeqty": {
  17829. "description": "成交数量",
  17830. "type": "integer"
  17831. },
  17832. "tradetime": {
  17833. "description": "成交时间",
  17834. "type": "string"
  17835. },
  17836. "tradetype": {
  17837. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  17838. "type": "integer"
  17839. }
  17840. }
  17841. },
  17842. "order.QueryHisTradeOrderDetailRsp": {
  17843. "type": "object",
  17844. "required": [
  17845. "accountid",
  17846. "buildtype",
  17847. "buyorsell",
  17848. "goodsid",
  17849. "histradedate",
  17850. "marketid",
  17851. "memberuserid",
  17852. "operatetype",
  17853. "orderid",
  17854. "orderqty",
  17855. "ordertime",
  17856. "pricemode",
  17857. "tradedate",
  17858. "validtype"
  17859. ],
  17860. "properties": {
  17861. "accountid": {
  17862. "description": "账户ID[报价币种]",
  17863. "type": "integer"
  17864. },
  17865. "buildtype": {
  17866. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17867. "type": "integer"
  17868. },
  17869. "buyorsell": {
  17870. "description": "买卖 - 0:买 1:卖",
  17871. "type": "integer"
  17872. },
  17873. "cancelorderid": {
  17874. "description": "撤单单号(撤单时填写)",
  17875. "type": "string"
  17876. },
  17877. "cancelqty": {
  17878. "description": "撤单数量",
  17879. "type": "integer"
  17880. },
  17881. "clientordertime": {
  17882. "description": "客户端委托时间",
  17883. "type": "string"
  17884. },
  17885. "clientticket": {
  17886. "description": "客户端流水号",
  17887. "type": "string"
  17888. },
  17889. "clienttype": {
  17890. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17891. "type": "integer"
  17892. },
  17893. "closeexchagechargevalue": {
  17894. "description": "平仓交易所手续费设置值",
  17895. "type": "number"
  17896. },
  17897. "closefeealgorithm": {
  17898. "description": "平仓手续费收取方式 1:比率 2:固定",
  17899. "type": "integer"
  17900. },
  17901. "closefreezecharge": {
  17902. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17903. "type": "number"
  17904. },
  17905. "closememberchargevalue": {
  17906. "description": "平仓会员手续费设置值",
  17907. "type": "number"
  17908. },
  17909. "closeqty": {
  17910. "description": "平仓数量(先建后平操作 需要记录)",
  17911. "type": "integer"
  17912. },
  17913. "closetradeqty": {
  17914. "description": "平仓成交数量(先建后平操作,需要记录)",
  17915. "type": "integer"
  17916. },
  17917. "closeunfreezecharge": {
  17918. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17919. "type": "number"
  17920. },
  17921. "delistingtype": {
  17922. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17923. "type": "integer"
  17924. },
  17925. "freezecharge": {
  17926. "description": "冻结手续费",
  17927. "type": "number"
  17928. },
  17929. "freezemargin": {
  17930. "description": "冻结保证金(冻结交易金额)",
  17931. "type": "number"
  17932. },
  17933. "gcaccountid": {
  17934. "description": "账户ID[合约币种]",
  17935. "type": "integer"
  17936. },
  17937. "goodscode": {
  17938. "description": "商品代码",
  17939. "type": "string"
  17940. },
  17941. "goodsid": {
  17942. "description": "商品ID",
  17943. "type": "integer"
  17944. },
  17945. "goodsname": {
  17946. "description": "商品名称",
  17947. "type": "string"
  17948. },
  17949. "histradedate": {
  17950. "description": "历史交易日",
  17951. "type": "string"
  17952. },
  17953. "isconfirmexercise": {
  17954. "description": "是否确认行权- 0:否 1:是",
  17955. "type": "integer"
  17956. },
  17957. "ispreexercise": {
  17958. "description": "是否预申报- 0:否 1:是",
  17959. "type": "integer"
  17960. },
  17961. "isvaliddata": {
  17962. "description": "是否有效 - 0:无效 1:有效",
  17963. "type": "integer"
  17964. },
  17965. "listingselecttype": {
  17966. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17967. "type": "integer"
  17968. },
  17969. "marginalgorithm": {
  17970. "description": "保证金收取方式 1:比率 2:固定",
  17971. "type": "integer"
  17972. },
  17973. "marginvalue": {
  17974. "description": "即市保证金设置值",
  17975. "type": "number"
  17976. },
  17977. "marketid": {
  17978. "description": "市场ID",
  17979. "type": "integer"
  17980. },
  17981. "marketmaxsub": {
  17982. "description": "市价最大偏移范围",
  17983. "type": "number"
  17984. },
  17985. "marketname": {
  17986. "description": "市场名称",
  17987. "type": "string"
  17988. },
  17989. "memberuserid": {
  17990. "description": "所属会员UserID",
  17991. "type": "integer"
  17992. },
  17993. "openexchagechargevalue": {
  17994. "description": "建仓交易所手续费设置值",
  17995. "type": "number"
  17996. },
  17997. "openfeealgorithm": {
  17998. "description": "建仓手续费收取方式 1:比率 2:固定",
  17999. "type": "integer"
  18000. },
  18001. "openfreezecharge": {
  18002. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  18003. "type": "number"
  18004. },
  18005. "openmemberchargevalue": {
  18006. "description": "建仓会员手续费设置值",
  18007. "type": "number"
  18008. },
  18009. "openqty": {
  18010. "description": "开仓数量(先建后平操作,需要记录)",
  18011. "type": "integer"
  18012. },
  18013. "opentradeqty": {
  18014. "description": "开仓成交数量(先建后平操作,需要记录)",
  18015. "type": "integer"
  18016. },
  18017. "openunfreezecharge": {
  18018. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18019. "type": "number"
  18020. },
  18021. "operatetype": {
  18022. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18023. "type": "integer"
  18024. },
  18025. "operatorid": {
  18026. "description": "登录账号(LoginID)",
  18027. "type": "integer"
  18028. },
  18029. "optiontype": {
  18030. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18031. "type": "integer"
  18032. },
  18033. "orderid": {
  18034. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18035. "type": "string"
  18036. },
  18037. "orderprice": {
  18038. "description": "委托价格",
  18039. "type": "number"
  18040. },
  18041. "orderqty": {
  18042. "description": "委托数量",
  18043. "type": "integer"
  18044. },
  18045. "ordersrc": {
  18046. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18047. "type": "integer"
  18048. },
  18049. "orderstatus": {
  18050. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18051. "type": "integer"
  18052. },
  18053. "ordertime": {
  18054. "description": "委托时间",
  18055. "type": "string"
  18056. },
  18057. "preexerciseprice": {
  18058. "description": "预申报价格",
  18059. "type": "number"
  18060. },
  18061. "premium": {
  18062. "description": "权利金",
  18063. "type": "number"
  18064. },
  18065. "preorderid": {
  18066. "description": "关联预埋单号(止盈止损单时填写)",
  18067. "type": "string"
  18068. },
  18069. "pricemode": {
  18070. "description": "取价方式 - 1:市价 2: 限价",
  18071. "type": "integer"
  18072. },
  18073. "quoteid": {
  18074. "description": "报价单ID",
  18075. "type": "integer"
  18076. },
  18077. "relatedid": {
  18078. "description": "关联单号(交割单)",
  18079. "type": "string"
  18080. },
  18081. "retcode": {
  18082. "description": "错误代码",
  18083. "type": "integer"
  18084. },
  18085. "sessionid": {
  18086. "description": "会话ID",
  18087. "type": "integer"
  18088. },
  18089. "tradedate": {
  18090. "description": "交易日(yyyyMMdd)",
  18091. "type": "string"
  18092. },
  18093. "trademode": {
  18094. "description": "交易模式",
  18095. "type": "integer"
  18096. },
  18097. "tradeproperty": {
  18098. "description": "交易属性",
  18099. "type": "integer"
  18100. },
  18101. "tradeqty": {
  18102. "description": "成交数量",
  18103. "type": "integer"
  18104. },
  18105. "unfreezecharge": {
  18106. "description": "解冻手续费",
  18107. "type": "number"
  18108. },
  18109. "unfreezemargin": {
  18110. "description": "解冻保证金",
  18111. "type": "number"
  18112. },
  18113. "updatetime": {
  18114. "description": "更新时间",
  18115. "type": "string"
  18116. },
  18117. "uuid": {
  18118. "description": "发起端唯一id",
  18119. "type": "string"
  18120. },
  18121. "validtime": {
  18122. "description": "有效期限",
  18123. "type": "string"
  18124. },
  18125. "validtype": {
  18126. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18127. "type": "integer"
  18128. },
  18129. "volumetype": {
  18130. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18131. "type": "integer"
  18132. }
  18133. }
  18134. },
  18135. "order.QueryTradeDetailRsp": {
  18136. "type": "object",
  18137. "required": [
  18138. "accountid",
  18139. "buyorsell",
  18140. "goodsid",
  18141. "marketid",
  18142. "memberuserid",
  18143. "orderid",
  18144. "tradeamount",
  18145. "tradedate",
  18146. "tradeid",
  18147. "tradeprice",
  18148. "tradeqty",
  18149. "tradetime"
  18150. ],
  18151. "properties": {
  18152. "accountid": {
  18153. "description": "账户ID[报价币种]",
  18154. "type": "integer"
  18155. },
  18156. "buildtype": {
  18157. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  18158. "type": "integer"
  18159. },
  18160. "buyorsell": {
  18161. "description": "方向 - 0:买 1:卖",
  18162. "type": "integer"
  18163. },
  18164. "charge": {
  18165. "description": "手续费",
  18166. "type": "number"
  18167. },
  18168. "closecharge": {
  18169. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18170. "type": "number"
  18171. },
  18172. "closeexchagechargevalue": {
  18173. "description": "平仓交易所手续费设置值",
  18174. "type": "number"
  18175. },
  18176. "closefeealgorithm": {
  18177. "description": "平仓手续费收取方式 1:比率 2:固定",
  18178. "type": "integer"
  18179. },
  18180. "closememberchargevalue": {
  18181. "description": "平仓会员手续费设置值",
  18182. "type": "number"
  18183. },
  18184. "closepl": {
  18185. "description": "平仓盈亏",
  18186. "type": "number"
  18187. },
  18188. "closepl2": {
  18189. "description": "平仓盈亏[逐笔]",
  18190. "type": "number"
  18191. },
  18192. "closeqty": {
  18193. "description": "平仓数量(先建后平操作 需要记录)",
  18194. "type": "integer"
  18195. },
  18196. "creditamount": {
  18197. "description": "授信金额",
  18198. "type": "number"
  18199. },
  18200. "gcaccountid": {
  18201. "description": "账户ID[合约币种]",
  18202. "type": "integer"
  18203. },
  18204. "goodscode": {
  18205. "description": "商品代码",
  18206. "type": "string"
  18207. },
  18208. "goodsid": {
  18209. "description": "商品ID",
  18210. "type": "integer"
  18211. },
  18212. "goodsname": {
  18213. "description": "商品名称",
  18214. "type": "string"
  18215. },
  18216. "intclosepl": {
  18217. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  18218. "type": "integer"
  18219. },
  18220. "isconfirmexercise": {
  18221. "description": "是否确认行权- 0:否 1:是",
  18222. "type": "integer"
  18223. },
  18224. "ismain": {
  18225. "description": "是否主单 - 0:不是 1:是",
  18226. "type": "integer"
  18227. },
  18228. "ispreexercise": {
  18229. "description": "是否预申报- 0:否 1:是",
  18230. "type": "integer"
  18231. },
  18232. "isreckoned": {
  18233. "description": "是否结算 - 0:未结算 1:已结算",
  18234. "type": "integer"
  18235. },
  18236. "listingselecttype": {
  18237. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18238. "type": "integer"
  18239. },
  18240. "marketid": {
  18241. "description": "市场ID",
  18242. "type": "integer"
  18243. },
  18244. "marketname": {
  18245. "description": "市场名称",
  18246. "type": "string"
  18247. },
  18248. "matchaccountid": {
  18249. "description": "对手账号id",
  18250. "type": "integer"
  18251. },
  18252. "memberuserid": {
  18253. "description": "会员id 个人投资者 需要填写",
  18254. "type": "integer"
  18255. },
  18256. "opencharge": {
  18257. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18258. "type": "number"
  18259. },
  18260. "openexchagechargevalue": {
  18261. "description": "建仓交易所手续费设置值",
  18262. "type": "number"
  18263. },
  18264. "openfeealgorithm": {
  18265. "description": "建仓手续费收取方式 1:比率 2:固定",
  18266. "type": "integer"
  18267. },
  18268. "openmemberchargevalue": {
  18269. "description": "建仓会员手续费设置值",
  18270. "type": "number"
  18271. },
  18272. "openqty": {
  18273. "description": "开仓数量(先建后平操作 需要记录)",
  18274. "type": "integer"
  18275. },
  18276. "optiontype": {
  18277. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18278. "type": "integer"
  18279. },
  18280. "orderid": {
  18281. "description": "委托单号",
  18282. "type": "string"
  18283. },
  18284. "performanceplanid": {
  18285. "description": "履约计划ID[期权]",
  18286. "type": "integer"
  18287. },
  18288. "performancestatus": {
  18289. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  18290. "type": "integer"
  18291. },
  18292. "preexerciseprice": {
  18293. "description": "预申报价格",
  18294. "type": "number"
  18295. },
  18296. "premium": {
  18297. "description": "权利金 - [持仓单的权利金]",
  18298. "type": "number"
  18299. },
  18300. "relatedouttradeid": {
  18301. "description": "关联外部成交单ID",
  18302. "type": "integer"
  18303. },
  18304. "status": {
  18305. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  18306. "type": "integer"
  18307. },
  18308. "tradeamount": {
  18309. "description": "成交金额[账户币种,用于所有权]",
  18310. "type": "number"
  18311. },
  18312. "tradedate": {
  18313. "description": "交易日(yyyyMMdd)",
  18314. "type": "string"
  18315. },
  18316. "tradeid": {
  18317. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18318. "type": "string"
  18319. },
  18320. "trademode": {
  18321. "description": "交易模式",
  18322. "type": "integer"
  18323. },
  18324. "tradeprice": {
  18325. "description": "成交价格",
  18326. "type": "number"
  18327. },
  18328. "tradeproperty": {
  18329. "description": "交易属性",
  18330. "type": "integer"
  18331. },
  18332. "tradeqty": {
  18333. "description": "成交数量",
  18334. "type": "integer"
  18335. },
  18336. "tradetime": {
  18337. "description": "成交时间",
  18338. "type": "string"
  18339. },
  18340. "tradetype": {
  18341. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  18342. "type": "integer"
  18343. }
  18344. }
  18345. },
  18346. "order.QueryTradeOrderDetailRsp": {
  18347. "type": "object",
  18348. "required": [
  18349. "accountid",
  18350. "buildtype",
  18351. "buyorsell",
  18352. "goodsid",
  18353. "marketid",
  18354. "operatetype",
  18355. "orderqty",
  18356. "ordertime",
  18357. "pricemode",
  18358. "tradedate",
  18359. "validtype"
  18360. ],
  18361. "properties": {
  18362. "accountid": {
  18363. "description": "账户ID[报价币种]",
  18364. "type": "integer"
  18365. },
  18366. "buildtype": {
  18367. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  18368. "type": "integer"
  18369. },
  18370. "buyorsell": {
  18371. "description": "买卖 - 0:买 1:卖",
  18372. "type": "integer"
  18373. },
  18374. "cancelorderid": {
  18375. "description": "撤单单号(撤单时填写)",
  18376. "type": "string"
  18377. },
  18378. "cancelqty": {
  18379. "description": "撤单数量",
  18380. "type": "integer"
  18381. },
  18382. "clienttype": {
  18383. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18384. "type": "integer"
  18385. },
  18386. "closefreezecharge": {
  18387. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  18388. "type": "number"
  18389. },
  18390. "closeqty": {
  18391. "description": "平仓数量(先建后平操作 需要记录)",
  18392. "type": "integer"
  18393. },
  18394. "closetradeqty": {
  18395. "description": "平仓成交数量(先建后平操作,需要记录)",
  18396. "type": "integer"
  18397. },
  18398. "closeunfreezecharge": {
  18399. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  18400. "type": "number"
  18401. },
  18402. "delistingtype": {
  18403. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  18404. "type": "integer"
  18405. },
  18406. "enableqty": {
  18407. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  18408. "type": "integer"
  18409. },
  18410. "freezecharge": {
  18411. "description": "冻结手续费",
  18412. "type": "number"
  18413. },
  18414. "freezemargin": {
  18415. "description": "冻结保证金(冻结交易金额)",
  18416. "type": "number"
  18417. },
  18418. "goodscode": {
  18419. "description": "商品代码",
  18420. "type": "string"
  18421. },
  18422. "goodsid": {
  18423. "description": "商品ID",
  18424. "type": "integer"
  18425. },
  18426. "goodsname": {
  18427. "description": "商品名称",
  18428. "type": "string"
  18429. },
  18430. "listingselecttype": {
  18431. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18432. "type": "integer"
  18433. },
  18434. "marketid": {
  18435. "description": "市场ID",
  18436. "type": "integer"
  18437. },
  18438. "marketname": {
  18439. "description": "市场名称",
  18440. "type": "string"
  18441. },
  18442. "openfreezecharge": {
  18443. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  18444. "type": "number"
  18445. },
  18446. "openqty": {
  18447. "description": "开仓数量(先建后平操作,需要记录)",
  18448. "type": "integer"
  18449. },
  18450. "opentradeqty": {
  18451. "description": "开仓成交数量(先建后平操作,需要记录)",
  18452. "type": "integer"
  18453. },
  18454. "openunfreezecharge": {
  18455. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18456. "type": "number"
  18457. },
  18458. "operatetype": {
  18459. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18460. "type": "integer"
  18461. },
  18462. "operatorid": {
  18463. "description": "登录账号(LoginID)",
  18464. "type": "integer"
  18465. },
  18466. "orderid": {
  18467. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18468. "type": "string"
  18469. },
  18470. "orderprice": {
  18471. "description": "委托价格",
  18472. "type": "number"
  18473. },
  18474. "orderqty": {
  18475. "description": "委托数量",
  18476. "type": "integer"
  18477. },
  18478. "ordersrc": {
  18479. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18480. "type": "integer"
  18481. },
  18482. "orderstatus": {
  18483. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18484. "type": "integer"
  18485. },
  18486. "ordertime": {
  18487. "description": "委托时间",
  18488. "type": "string"
  18489. },
  18490. "preorderid": {
  18491. "description": "关联预埋单号(止盈止损单时填写)",
  18492. "type": "string"
  18493. },
  18494. "pricemode": {
  18495. "description": "取价方式 - 1:市价 2: 限价",
  18496. "type": "integer"
  18497. },
  18498. "relatedid": {
  18499. "description": "关联单号(交割单)",
  18500. "type": "string"
  18501. },
  18502. "tradedate": {
  18503. "description": "交易日(yyyyMMdd)",
  18504. "type": "string"
  18505. },
  18506. "trademode": {
  18507. "description": "交易模式",
  18508. "type": "integer"
  18509. },
  18510. "tradeqty": {
  18511. "description": "成交数量",
  18512. "type": "integer"
  18513. },
  18514. "unfreezecharge": {
  18515. "description": "解冻手续费",
  18516. "type": "number"
  18517. },
  18518. "unfreezemargin": {
  18519. "description": "解冻保证金",
  18520. "type": "number"
  18521. },
  18522. "validtime": {
  18523. "description": "有效期限",
  18524. "type": "string"
  18525. },
  18526. "validtype": {
  18527. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18528. "type": "integer"
  18529. },
  18530. "volumetype": {
  18531. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18532. "type": "integer"
  18533. }
  18534. }
  18535. },
  18536. "order.QueryTradePositionRsp": {
  18537. "type": "object",
  18538. "required": [
  18539. "goodsid"
  18540. ],
  18541. "properties": {
  18542. "accountid": {
  18543. "description": "资金账户",
  18544. "type": "integer"
  18545. },
  18546. "agreeunit": {
  18547. "description": "合约单位",
  18548. "type": "number"
  18549. },
  18550. "averageprice": {
  18551. "description": "持仓均价",
  18552. "type": "number"
  18553. },
  18554. "buyorsell": {
  18555. "description": "方向 - 0:买 1:卖",
  18556. "type": "integer"
  18557. },
  18558. "closetotalqty": {
  18559. "description": "平仓总数量",
  18560. "type": "integer"
  18561. },
  18562. "curholderamount": {
  18563. "description": "当前持仓总金额[商品币种]",
  18564. "type": "number"
  18565. },
  18566. "curpositionqty": {
  18567. "description": "当前持仓总数量",
  18568. "type": "integer"
  18569. },
  18570. "currencyid": {
  18571. "description": "报价货币ID",
  18572. "type": "integer"
  18573. },
  18574. "curtdposition": {
  18575. "description": "期末今日头寸",
  18576. "type": "integer"
  18577. },
  18578. "decimalplace": {
  18579. "description": "报价小数位",
  18580. "type": "integer"
  18581. },
  18582. "enableqty": {
  18583. "description": "可用量",
  18584. "type": "integer"
  18585. },
  18586. "fretdposition": {
  18587. "description": "冻结今日头寸",
  18588. "type": "integer"
  18589. },
  18590. "frozenqty": {
  18591. "description": "持仓冻结数量",
  18592. "type": "integer"
  18593. },
  18594. "goodscode": {
  18595. "description": "商品代码",
  18596. "type": "string"
  18597. },
  18598. "goodsid": {
  18599. "description": "商品Id",
  18600. "type": "integer"
  18601. },
  18602. "goodsname": {
  18603. "description": "商品名称",
  18604. "type": "string"
  18605. },
  18606. "goodunit": {
  18607. "description": "报价单位",
  18608. "type": "string"
  18609. },
  18610. "goodunitid": {
  18611. "description": "报价单位ID",
  18612. "type": "integer"
  18613. },
  18614. "holderamount": {
  18615. "description": "期初持仓总金额[商品币种]",
  18616. "type": "number"
  18617. },
  18618. "marketid": {
  18619. "description": "所属市场ID",
  18620. "type": "integer"
  18621. },
  18622. "openreqqty": {
  18623. "description": "开仓申请数量(用于比较最大持仓数量)",
  18624. "type": "integer"
  18625. },
  18626. "opentotalqty": {
  18627. "description": "开仓总数量",
  18628. "type": "integer"
  18629. },
  18630. "otherfrozenqty": {
  18631. "description": "持仓其他冻结数量(交割冻结)",
  18632. "type": "integer"
  18633. },
  18634. "positionqty": {
  18635. "description": "期初持仓数量",
  18636. "type": "integer"
  18637. },
  18638. "tnqty": {
  18639. "description": "T+N冻结总量",
  18640. "type": "integer"
  18641. },
  18642. "tnusedqty": {
  18643. "description": "T+N使用量(可以使用T+N的冻结数量)",
  18644. "type": "integer"
  18645. },
  18646. "trademode": {
  18647. "description": "交易模式",
  18648. "type": "integer"
  18649. },
  18650. "usedmargin": {
  18651. "description": "占用保证金[商品币种]",
  18652. "type": "number"
  18653. }
  18654. }
  18655. },
  18656. "quote.HistoryData": {
  18657. "type": "object",
  18658. "properties": {
  18659. "c": {
  18660. "description": "收盘价",
  18661. "type": "number"
  18662. },
  18663. "f": {
  18664. "description": "是否补充数据",
  18665. "type": "boolean"
  18666. },
  18667. "h": {
  18668. "description": "最高价",
  18669. "type": "number"
  18670. },
  18671. "hv": {
  18672. "description": "持仓量",
  18673. "type": "integer"
  18674. },
  18675. "l": {
  18676. "description": "最低价",
  18677. "type": "number"
  18678. },
  18679. "o": {
  18680. "description": "开盘价",
  18681. "type": "number"
  18682. },
  18683. "s": {
  18684. "description": "结算价,日线周期(包括)以上才有",
  18685. "type": "number"
  18686. },
  18687. "ts": {
  18688. "description": "时间",
  18689. "type": "string"
  18690. },
  18691. "tt": {
  18692. "description": "总金额",
  18693. "type": "number"
  18694. },
  18695. "tv": {
  18696. "description": "总量",
  18697. "type": "integer"
  18698. }
  18699. }
  18700. },
  18701. "quote.HistoryTikData": {
  18702. "type": "object",
  18703. "properties": {
  18704. "AV": {
  18705. "description": "卖量",
  18706. "type": "integer"
  18707. },
  18708. "Ask": {
  18709. "description": "卖价",
  18710. "type": "number"
  18711. },
  18712. "BV": {
  18713. "description": "买量",
  18714. "type": "integer"
  18715. },
  18716. "Bid": {
  18717. "description": "买价",
  18718. "type": "number"
  18719. },
  18720. "HI": {
  18721. "description": "单笔持仓",
  18722. "type": "integer"
  18723. },
  18724. "HV": {
  18725. "description": "持仓量",
  18726. "type": "integer"
  18727. },
  18728. "PE": {
  18729. "description": "现价",
  18730. "type": "number"
  18731. },
  18732. "TDR": {
  18733. "description": "交易方向,0:买 1:卖",
  18734. "type": "integer"
  18735. },
  18736. "TK": {
  18737. "description": "交易类型",
  18738. "type": "integer"
  18739. },
  18740. "TS": {
  18741. "description": "行情时间文本",
  18742. "type": "string"
  18743. },
  18744. "TT": {
  18745. "description": "现金额",
  18746. "type": "number"
  18747. },
  18748. "Vol": {
  18749. "description": "现量",
  18750. "type": "integer"
  18751. }
  18752. }
  18753. },
  18754. "quote.QueryQuoteDayRsp": {
  18755. "type": "object",
  18756. "properties": {
  18757. "ask": {
  18758. "description": "卖1",
  18759. "type": "number"
  18760. },
  18761. "ask10": {
  18762. "description": "卖10",
  18763. "type": "number"
  18764. },
  18765. "ask2": {
  18766. "description": "卖2",
  18767. "type": "number"
  18768. },
  18769. "ask3": {
  18770. "description": "卖3",
  18771. "type": "number"
  18772. },
  18773. "ask4": {
  18774. "description": "卖4",
  18775. "type": "number"
  18776. },
  18777. "ask5": {
  18778. "description": "卖5",
  18779. "type": "number"
  18780. },
  18781. "ask6": {
  18782. "description": "卖6",
  18783. "type": "number"
  18784. },
  18785. "ask7": {
  18786. "description": "卖7",
  18787. "type": "number"
  18788. },
  18789. "ask8": {
  18790. "description": "卖8",
  18791. "type": "number"
  18792. },
  18793. "ask9": {
  18794. "description": "卖9",
  18795. "type": "number"
  18796. },
  18797. "askorderid": {
  18798. "description": "卖单号1",
  18799. "type": "integer"
  18800. },
  18801. "askorderid2": {
  18802. "description": "卖单号2",
  18803. "type": "integer"
  18804. },
  18805. "askorderid3": {
  18806. "description": "卖单号3",
  18807. "type": "integer"
  18808. },
  18809. "askorderid4": {
  18810. "description": "卖单号4",
  18811. "type": "integer"
  18812. },
  18813. "askorderid5": {
  18814. "description": "卖单号5",
  18815. "type": "integer"
  18816. },
  18817. "askordervolume": {
  18818. "description": "卖单量1",
  18819. "type": "integer"
  18820. },
  18821. "askordervolume10": {
  18822. "description": "卖单量10",
  18823. "type": "integer"
  18824. },
  18825. "askordervolume2": {
  18826. "description": "卖单量2",
  18827. "type": "integer"
  18828. },
  18829. "askordervolume3": {
  18830. "description": "卖单量3",
  18831. "type": "integer"
  18832. },
  18833. "askordervolume4": {
  18834. "description": "卖单量4",
  18835. "type": "integer"
  18836. },
  18837. "askordervolume5": {
  18838. "description": "卖单量5",
  18839. "type": "integer"
  18840. },
  18841. "askordervolume6": {
  18842. "description": "卖单量6",
  18843. "type": "integer"
  18844. },
  18845. "askordervolume7": {
  18846. "description": "卖单量7",
  18847. "type": "integer"
  18848. },
  18849. "askordervolume8": {
  18850. "description": "卖单量8",
  18851. "type": "integer"
  18852. },
  18853. "askordervolume9": {
  18854. "description": "卖单量9",
  18855. "type": "integer"
  18856. },
  18857. "askqueueinfo": {
  18858. "description": "大利市卖港股用",
  18859. "type": "string"
  18860. },
  18861. "askvolume": {
  18862. "description": "卖量1",
  18863. "type": "integer"
  18864. },
  18865. "askvolume10": {
  18866. "description": "卖量10",
  18867. "type": "integer"
  18868. },
  18869. "askvolume2": {
  18870. "description": "卖量2",
  18871. "type": "integer"
  18872. },
  18873. "askvolume3": {
  18874. "description": "卖量3",
  18875. "type": "integer"
  18876. },
  18877. "askvolume4": {
  18878. "description": "卖量4",
  18879. "type": "integer"
  18880. },
  18881. "askvolume5": {
  18882. "description": "卖量5",
  18883. "type": "integer"
  18884. },
  18885. "askvolume6": {
  18886. "description": "卖量6",
  18887. "type": "integer"
  18888. },
  18889. "askvolume7": {
  18890. "description": "卖量7",
  18891. "type": "integer"
  18892. },
  18893. "askvolume8": {
  18894. "description": "卖量8",
  18895. "type": "integer"
  18896. },
  18897. "askvolume9": {
  18898. "description": "卖量9",
  18899. "type": "integer"
  18900. },
  18901. "averageprice": {
  18902. "description": "均价",
  18903. "type": "number"
  18904. },
  18905. "bid": {
  18906. "description": "买1",
  18907. "type": "number"
  18908. },
  18909. "bid10": {
  18910. "description": "买10",
  18911. "type": "number"
  18912. },
  18913. "bid2": {
  18914. "description": "买2",
  18915. "type": "number"
  18916. },
  18917. "bid3": {
  18918. "description": "买3",
  18919. "type": "number"
  18920. },
  18921. "bid4": {
  18922. "description": "买4",
  18923. "type": "number"
  18924. },
  18925. "bid5": {
  18926. "description": "买5",
  18927. "type": "number"
  18928. },
  18929. "bid6": {
  18930. "description": "买6",
  18931. "type": "number"
  18932. },
  18933. "bid7": {
  18934. "description": "买7",
  18935. "type": "number"
  18936. },
  18937. "bid8": {
  18938. "description": "买8",
  18939. "type": "number"
  18940. },
  18941. "bid9": {
  18942. "description": "买9",
  18943. "type": "number"
  18944. },
  18945. "bidorderid": {
  18946. "description": "买单号1",
  18947. "type": "integer"
  18948. },
  18949. "bidorderid2": {
  18950. "description": "买单号2",
  18951. "type": "integer"
  18952. },
  18953. "bidorderid3": {
  18954. "description": "买单号3",
  18955. "type": "integer"
  18956. },
  18957. "bidorderid4": {
  18958. "description": "买单号4",
  18959. "type": "integer"
  18960. },
  18961. "bidorderid5": {
  18962. "description": "买单号5",
  18963. "type": "integer"
  18964. },
  18965. "bidordervolume": {
  18966. "description": "买单量1",
  18967. "type": "integer"
  18968. },
  18969. "bidordervolume10": {
  18970. "description": "买单量10",
  18971. "type": "integer"
  18972. },
  18973. "bidordervolume2": {
  18974. "description": "买单量2",
  18975. "type": "integer"
  18976. },
  18977. "bidordervolume3": {
  18978. "description": "买单量3",
  18979. "type": "integer"
  18980. },
  18981. "bidordervolume4": {
  18982. "description": "买单量4",
  18983. "type": "integer"
  18984. },
  18985. "bidordervolume5": {
  18986. "description": "买单量5",
  18987. "type": "integer"
  18988. },
  18989. "bidordervolume6": {
  18990. "description": "买单量6",
  18991. "type": "integer"
  18992. },
  18993. "bidordervolume7": {
  18994. "description": "买单量7",
  18995. "type": "integer"
  18996. },
  18997. "bidordervolume8": {
  18998. "description": "买单量8",
  18999. "type": "integer"
  19000. },
  19001. "bidordervolume9": {
  19002. "description": "买单量9",
  19003. "type": "integer"
  19004. },
  19005. "bidqueueinfo": {
  19006. "description": "大利市买港股用",
  19007. "type": "string"
  19008. },
  19009. "bidvolume": {
  19010. "description": "买量1",
  19011. "type": "integer"
  19012. },
  19013. "bidvolume10": {
  19014. "description": "买量10",
  19015. "type": "integer"
  19016. },
  19017. "bidvolume2": {
  19018. "description": "买量2",
  19019. "type": "integer"
  19020. },
  19021. "bidvolume3": {
  19022. "description": "买量3",
  19023. "type": "integer"
  19024. },
  19025. "bidvolume4": {
  19026. "description": "买量4",
  19027. "type": "integer"
  19028. },
  19029. "bidvolume5": {
  19030. "description": "买量5",
  19031. "type": "integer"
  19032. },
  19033. "bidvolume6": {
  19034. "description": "买量6",
  19035. "type": "integer"
  19036. },
  19037. "bidvolume7": {
  19038. "description": "买量7",
  19039. "type": "integer"
  19040. },
  19041. "bidvolume8": {
  19042. "description": "买量8",
  19043. "type": "integer"
  19044. },
  19045. "bidvolume9": {
  19046. "description": "买量9",
  19047. "type": "integer"
  19048. },
  19049. "calloptionpremiums": {
  19050. "description": "认购期权1",
  19051. "type": "integer"
  19052. },
  19053. "calloptionpremiums2": {
  19054. "description": "认购期权2",
  19055. "type": "integer"
  19056. },
  19057. "calloptionpremiums3": {
  19058. "description": "认购期权3",
  19059. "type": "integer"
  19060. },
  19061. "calloptionpremiums4": {
  19062. "description": "认购期权4",
  19063. "type": "integer"
  19064. },
  19065. "calloptionpremiums5": {
  19066. "description": "认购期权5",
  19067. "type": "integer"
  19068. },
  19069. "cleartime": {
  19070. "description": "清盘时间",
  19071. "type": "integer"
  19072. },
  19073. "exchangecode": {
  19074. "description": "交易所代码",
  19075. "type": "integer"
  19076. },
  19077. "exchangedate": {
  19078. "description": "交易日",
  19079. "type": "integer"
  19080. },
  19081. "goodscode": {
  19082. "description": "商品代码",
  19083. "type": "string"
  19084. },
  19085. "grepmarketprice": {
  19086. "description": "暗盘价 港股专用",
  19087. "type": "number"
  19088. },
  19089. "highest": {
  19090. "description": "最高价",
  19091. "type": "number"
  19092. },
  19093. "holdincrement": {
  19094. "description": "单笔持仓",
  19095. "type": "integer"
  19096. },
  19097. "holdvolume": {
  19098. "description": "持仓",
  19099. "type": "integer"
  19100. },
  19101. "iep": {
  19102. "description": "平衡价 港股专用",
  19103. "type": "number"
  19104. },
  19105. "iev": {
  19106. "description": "平衡量 港股专用",
  19107. "type": "number"
  19108. },
  19109. "inventory": {
  19110. "description": "库存",
  19111. "type": "integer"
  19112. },
  19113. "iscleared": {
  19114. "description": "是否清盘标志",
  19115. "type": "integer"
  19116. },
  19117. "issettled": {
  19118. "description": "是否结算标志",
  19119. "type": "integer"
  19120. },
  19121. "last": {
  19122. "description": "最新价",
  19123. "type": "number"
  19124. },
  19125. "lastlot": {
  19126. "description": "最新成交手数",
  19127. "type": "integer"
  19128. },
  19129. "lasttime": {
  19130. "description": "行情时间(只有现价变化行情时间才变化)",
  19131. "type": "string"
  19132. },
  19133. "lastturnover": {
  19134. "description": "最新成交金额",
  19135. "type": "number"
  19136. },
  19137. "lastvolume": {
  19138. "description": "最新成交量",
  19139. "type": "integer"
  19140. },
  19141. "limitdown": {
  19142. "description": "跌停价",
  19143. "type": "number"
  19144. },
  19145. "limitup": {
  19146. "description": "涨停价",
  19147. "type": "number"
  19148. },
  19149. "lowest": {
  19150. "description": "最低价",
  19151. "type": "number"
  19152. },
  19153. "nontotalholdervolume": {
  19154. "description": "非交易持仓量",
  19155. "type": "integer"
  19156. },
  19157. "nontotallot": {
  19158. "description": "非交易总手数",
  19159. "type": "integer"
  19160. },
  19161. "nontotalturnover": {
  19162. "description": "非交易总金额",
  19163. "type": "integer"
  19164. },
  19165. "nontotalvolume": {
  19166. "description": "非交易总量",
  19167. "type": "integer"
  19168. },
  19169. "opened": {
  19170. "description": "开盘价",
  19171. "type": "number"
  19172. },
  19173. "opentime": {
  19174. "description": "开盘时间",
  19175. "type": "string"
  19176. },
  19177. "orderid": {
  19178. "description": "序号",
  19179. "type": "integer"
  19180. },
  19181. "preclose": {
  19182. "description": "昨收",
  19183. "type": "number"
  19184. },
  19185. "preholdvolume": {
  19186. "description": "昨持仓",
  19187. "type": "integer"
  19188. },
  19189. "presettle": {
  19190. "description": "昨结价",
  19191. "type": "number"
  19192. },
  19193. "publictradetype": {
  19194. "description": "公共交易标志类型 港股专用",
  19195. "type": "string"
  19196. },
  19197. "putoptionpremiums": {
  19198. "description": "认沽期权1",
  19199. "type": "integer"
  19200. },
  19201. "putoptionpremiums2": {
  19202. "description": "认沽期权2",
  19203. "type": "integer"
  19204. },
  19205. "putoptionpremiums3": {
  19206. "description": "认沽期权3",
  19207. "type": "integer"
  19208. },
  19209. "putoptionpremiums4": {
  19210. "description": "认沽期权4",
  19211. "type": "integer"
  19212. },
  19213. "putoptionpremiums5": {
  19214. "description": "认沽期权5",
  19215. "type": "integer"
  19216. },
  19217. "settle": {
  19218. "description": "结算价",
  19219. "type": "number"
  19220. },
  19221. "strikeprice": {
  19222. "description": "发行价",
  19223. "type": "number"
  19224. },
  19225. "totalaskvolume": {
  19226. "description": "内盘",
  19227. "type": "integer"
  19228. },
  19229. "totalbidvolume": {
  19230. "description": "外盘",
  19231. "type": "integer"
  19232. },
  19233. "totallot": {
  19234. "description": "总手数",
  19235. "type": "integer"
  19236. },
  19237. "totalturnover": {
  19238. "description": "总金额",
  19239. "type": "number"
  19240. },
  19241. "totalvolume": {
  19242. "description": "总量",
  19243. "type": "integer"
  19244. },
  19245. "utclasttime": {
  19246. "description": "utc的行情时间",
  19247. "type": "string"
  19248. }
  19249. }
  19250. },
  19251. "quote.QueryTSDataRsp": {
  19252. "type": "object",
  19253. "properties": {
  19254. "decimalPlace": {
  19255. "description": "小数位",
  19256. "type": "integer"
  19257. },
  19258. "endTime": {
  19259. "description": "结束时间",
  19260. "type": "string"
  19261. },
  19262. "goodsCode": {
  19263. "description": "商品代码",
  19264. "type": "string"
  19265. },
  19266. "historyDatas": {
  19267. "description": "历史数据",
  19268. "type": "array",
  19269. "items": {
  19270. "$ref": "#/definitions/quote.HistoryData"
  19271. }
  19272. },
  19273. "outGoodsCode": {
  19274. "description": "外部商品代码",
  19275. "type": "string"
  19276. },
  19277. "preSettle": {
  19278. "description": "昨结价",
  19279. "type": "number"
  19280. },
  19281. "removeCount": {
  19282. "description": "交易日中休市时周期点数",
  19283. "type": "integer"
  19284. },
  19285. "runSteps": {
  19286. "description": "交易日开休市计划",
  19287. "type": "array",
  19288. "items": {
  19289. "$ref": "#/definitions/quote.TSDataRunStep"
  19290. }
  19291. },
  19292. "startTime": {
  19293. "description": "开始时间",
  19294. "type": "string"
  19295. },
  19296. "tradeDate": {
  19297. "description": "交易日",
  19298. "type": "string"
  19299. }
  19300. }
  19301. },
  19302. "quote.TSDataRunStep": {
  19303. "type": "object",
  19304. "properties": {
  19305. "end": {
  19306. "description": "真实结束时间",
  19307. "type": "string"
  19308. },
  19309. "endflag": {
  19310. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  19311. "type": "integer"
  19312. },
  19313. "endtime": {
  19314. "description": "结束时间(HH:mm)",
  19315. "type": "string"
  19316. },
  19317. "endweekday": {
  19318. "description": "结束周几",
  19319. "type": "integer"
  19320. },
  19321. "groupid": {
  19322. "description": "分组ID",
  19323. "type": "integer"
  19324. },
  19325. "runstep": {
  19326. "description": "运行阶段 - 2:连续交易",
  19327. "type": "integer"
  19328. },
  19329. "sectionid": {
  19330. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  19331. "type": "integer"
  19332. },
  19333. "start": {
  19334. "description": "真实开始时间",
  19335. "type": "string"
  19336. },
  19337. "startflag": {
  19338. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  19339. "type": "integer"
  19340. },
  19341. "starttime": {
  19342. "description": "起始时间(HH:mm)",
  19343. "type": "string"
  19344. },
  19345. "startweekday": {
  19346. "description": "起始周几",
  19347. "type": "integer"
  19348. },
  19349. "tradeweekday": {
  19350. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  19351. "type": "integer"
  19352. }
  19353. }
  19354. },
  19355. "szdz.QueryConvertLogRsp": {
  19356. "type": "object",
  19357. "required": [
  19358. "logid"
  19359. ],
  19360. "properties": {
  19361. "accountid": {
  19362. "description": "资金账户ID",
  19363. "type": "integer"
  19364. },
  19365. "clientticket": {
  19366. "description": "客户端流水号",
  19367. "type": "string"
  19368. },
  19369. "converttype": {
  19370. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  19371. "type": "integer"
  19372. },
  19373. "createtime": {
  19374. "description": "记账时间",
  19375. "type": "string"
  19376. },
  19377. "daymaxvalue": {
  19378. "description": "配置当日最大转入限制",
  19379. "type": "number"
  19380. },
  19381. "daymaxvalue2": {
  19382. "description": "配置当日最大转入限制(转入)",
  19383. "type": "number"
  19384. },
  19385. "goodscode": {
  19386. "description": "商品代码",
  19387. "type": "string"
  19388. },
  19389. "goodsname": {
  19390. "description": "商品名称",
  19391. "type": "string"
  19392. },
  19393. "handlestatus": {
  19394. "description": "处理状态",
  19395. "type": "integer"
  19396. },
  19397. "innergoodsid": {
  19398. "description": "内部商品ID",
  19399. "type": "integer"
  19400. },
  19401. "inratio": {
  19402. "description": "配置转入比值",
  19403. "type": "integer"
  19404. },
  19405. "invalue": {
  19406. "description": "目标值",
  19407. "type": "number"
  19408. },
  19409. "logid": {
  19410. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19411. "type": "integer"
  19412. },
  19413. "mobile": {
  19414. "description": "手机号码(加密存储)",
  19415. "type": "string"
  19416. },
  19417. "outergoodscode": {
  19418. "description": "外部商品代码[JD\\PD]",
  19419. "type": "string"
  19420. },
  19421. "outratio": {
  19422. "description": "配置转出比值",
  19423. "type": "integer"
  19424. },
  19425. "outvalue": {
  19426. "description": "源值",
  19427. "type": "number"
  19428. },
  19429. "pddecimalplace": {
  19430. "description": "PD小数位",
  19431. "type": "integer"
  19432. },
  19433. "qty": {
  19434. "description": "数量",
  19435. "type": "string"
  19436. },
  19437. "remark": {
  19438. "description": "备注",
  19439. "type": "string"
  19440. },
  19441. "sessionid": {
  19442. "description": "会话ID",
  19443. "type": "integer"
  19444. },
  19445. "timemaxvalue": {
  19446. "description": "配置单次最大转入限制",
  19447. "type": "number"
  19448. },
  19449. "timemaxvalue2": {
  19450. "description": "配置单次最大转入限制(转入)",
  19451. "type": "number"
  19452. },
  19453. "timeminvalue": {
  19454. "description": "配置单次最小数量限制",
  19455. "type": "number"
  19456. },
  19457. "timeminvalue2": {
  19458. "description": "配置单次最小数量限制(转入)",
  19459. "type": "number"
  19460. },
  19461. "tradedate": {
  19462. "description": "交易日(yyyyMMdd)",
  19463. "type": "string"
  19464. },
  19465. "userid": {
  19466. "description": "用户ID",
  19467. "type": "integer"
  19468. }
  19469. }
  19470. },
  19471. "szdz.QueryGoodsPickupRsp": {
  19472. "type": "object",
  19473. "required": [
  19474. "takeorderid"
  19475. ],
  19476. "properties": {
  19477. "accountid": {
  19478. "description": "账户ID",
  19479. "type": "integer"
  19480. },
  19481. "address": {
  19482. "description": "提货人详细地址",
  19483. "type": "string"
  19484. },
  19485. "auditer": {
  19486. "description": "审核人",
  19487. "type": "integer"
  19488. },
  19489. "audittime": {
  19490. "description": "审核时间",
  19491. "type": "string"
  19492. },
  19493. "cardnum": {
  19494. "description": "提货人证件号码",
  19495. "type": "string"
  19496. },
  19497. "cardtypeid": {
  19498. "description": "提货人证件类型",
  19499. "type": "integer"
  19500. },
  19501. "checkremark": {
  19502. "description": "审核备注",
  19503. "type": "string"
  19504. },
  19505. "goodscode": {
  19506. "description": "商品代码",
  19507. "type": "string"
  19508. },
  19509. "goodsid": {
  19510. "description": "商品ID",
  19511. "type": "integer"
  19512. },
  19513. "goodsname": {
  19514. "description": "商品名称",
  19515. "type": "string"
  19516. },
  19517. "handlestatus": {
  19518. "description": "处理状态",
  19519. "type": "integer"
  19520. },
  19521. "marketid": {
  19522. "description": "市场ID",
  19523. "type": "integer"
  19524. },
  19525. "phonenum": {
  19526. "description": "提货人联系方式",
  19527. "type": "string"
  19528. },
  19529. "qty": {
  19530. "description": "提货数量",
  19531. "type": "number"
  19532. },
  19533. "recivername": {
  19534. "description": "提货人姓名",
  19535. "type": "string"
  19536. },
  19537. "reqtime": {
  19538. "description": "更新时间",
  19539. "type": "string"
  19540. },
  19541. "takemode": {
  19542. "description": "提货方式 - 2:自提 3:配送",
  19543. "type": "integer"
  19544. },
  19545. "takeorderid": {
  19546. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  19547. "type": "string"
  19548. },
  19549. "takeorderstatus": {
  19550. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  19551. "type": "integer"
  19552. },
  19553. "takeremark": {
  19554. "description": "提货备注",
  19555. "type": "string"
  19556. },
  19557. "tradedate": {
  19558. "description": "交易日(yyyyMMdd)",
  19559. "type": "string"
  19560. },
  19561. "userid": {
  19562. "description": "用户ID",
  19563. "type": "integer"
  19564. }
  19565. }
  19566. },
  19567. "szdz.QueryRecieptOrderRsp": {
  19568. "type": "object",
  19569. "required": [
  19570. "ordertime"
  19571. ],
  19572. "properties": {
  19573. "accountName": {
  19574. "description": "所属账号名称(已脱敏)",
  19575. "type": "string"
  19576. },
  19577. "accountid": {
  19578. "description": "资金账号",
  19579. "type": "integer"
  19580. },
  19581. "buyorsell": {
  19582. "description": "方向 - 0:买 1:卖",
  19583. "type": "integer"
  19584. },
  19585. "enableqty": {
  19586. "description": "可摘数量",
  19587. "type": "integer"
  19588. },
  19589. "goodscode": {
  19590. "description": "商品代码",
  19591. "type": "string"
  19592. },
  19593. "goodsid": {
  19594. "description": "商品ID",
  19595. "type": "integer"
  19596. },
  19597. "goodsname": {
  19598. "description": "商品名称",
  19599. "type": "string"
  19600. },
  19601. "orderid": {
  19602. "description": "委托单号",
  19603. "type": "string"
  19604. },
  19605. "orderprice": {
  19606. "description": "委托价格",
  19607. "type": "number"
  19608. },
  19609. "ordertime": {
  19610. "description": "委托时间",
  19611. "type": "string"
  19612. },
  19613. "tradedate": {
  19614. "description": "交易日(yyyyMMdd)",
  19615. "type": "string"
  19616. }
  19617. }
  19618. },
  19619. "szdz.QuerySZDZTradePositionRsp": {
  19620. "type": "object",
  19621. "properties": {
  19622. "accountid": {
  19623. "description": "账号Id",
  19624. "type": "integer"
  19625. },
  19626. "agreeunit": {
  19627. "description": "合约单位",
  19628. "type": "number"
  19629. },
  19630. "averageprice": {
  19631. "description": "持仓均价",
  19632. "type": "number"
  19633. },
  19634. "buyorsell": {
  19635. "description": "方向 - 0:买 1:卖",
  19636. "type": "integer"
  19637. },
  19638. "closetotalqty": {
  19639. "description": "平仓总数量",
  19640. "type": "integer"
  19641. },
  19642. "curholderamount": {
  19643. "description": "当前持仓总金额",
  19644. "type": "number"
  19645. },
  19646. "curpositionqty": {
  19647. "description": "当前持仓总数量",
  19648. "type": "integer"
  19649. },
  19650. "currencyid": {
  19651. "description": "报价货币ID",
  19652. "type": "integer"
  19653. },
  19654. "curtdposition": {
  19655. "description": "期末今日头寸",
  19656. "type": "integer"
  19657. },
  19658. "decimalplace": {
  19659. "description": "报价小数位",
  19660. "type": "integer"
  19661. },
  19662. "enableqty": {
  19663. "description": "可用量",
  19664. "type": "integer"
  19665. },
  19666. "fretdposition": {
  19667. "description": "冻结今日头寸",
  19668. "type": "integer"
  19669. },
  19670. "frozenqty": {
  19671. "description": "持仓冻结数量",
  19672. "type": "integer"
  19673. },
  19674. "goodscode": {
  19675. "description": "商品代码(内部)",
  19676. "type": "string"
  19677. },
  19678. "goodsid": {
  19679. "description": "商品Id",
  19680. "type": "integer"
  19681. },
  19682. "goodsname": {
  19683. "description": "商品名称",
  19684. "type": "string"
  19685. },
  19686. "goodunit": {
  19687. "description": "报价单位",
  19688. "type": "string"
  19689. },
  19690. "goodunitid": {
  19691. "description": "报价单位ID",
  19692. "type": "integer"
  19693. },
  19694. "holderamount": {
  19695. "description": "期初持仓总金额",
  19696. "type": "number"
  19697. },
  19698. "marketid": {
  19699. "description": "市场ID",
  19700. "type": "integer"
  19701. },
  19702. "openreqqty": {
  19703. "description": "开仓申请数量",
  19704. "type": "integer"
  19705. },
  19706. "opentotalqty": {
  19707. "description": "开仓总数量",
  19708. "type": "integer"
  19709. },
  19710. "otherfrozenqty": {
  19711. "description": "持仓其他冻结数量(交割冻结)",
  19712. "type": "integer"
  19713. },
  19714. "positionqty": {
  19715. "description": "期初持仓数量",
  19716. "type": "integer"
  19717. },
  19718. "szdz3freezqty": {
  19719. "description": "尚志大宗转换冻结总数量",
  19720. "type": "integer"
  19721. },
  19722. "tnqty": {
  19723. "description": "T+N冻结总量",
  19724. "type": "integer"
  19725. },
  19726. "tnusedqty": {
  19727. "description": "T+N使用量",
  19728. "type": "integer"
  19729. },
  19730. "trademode": {
  19731. "description": "交易模式",
  19732. "type": "integer"
  19733. },
  19734. "usedmargin": {
  19735. "description": "占用保证金",
  19736. "type": "number"
  19737. }
  19738. }
  19739. },
  19740. "taaccount.QueryAmountLogRsp": {
  19741. "type": "object",
  19742. "required": [
  19743. "accountid",
  19744. "amount",
  19745. "amountadjusttype",
  19746. "autoid",
  19747. "balance",
  19748. "createtime",
  19749. "currentbalance",
  19750. "operatetype"
  19751. ],
  19752. "properties": {
  19753. "OPERATETYPENAME": {
  19754. "description": "资金操作类型名称",
  19755. "type": "string"
  19756. },
  19757. "accountid": {
  19758. "description": "资金账户ID",
  19759. "type": "integer"
  19760. },
  19761. "agoodscode": {
  19762. "description": "竞拍商品代码",
  19763. "type": "string"
  19764. },
  19765. "agoodsname": {
  19766. "description": "竞拍商品名称",
  19767. "type": "string"
  19768. },
  19769. "amount": {
  19770. "description": "资金金额",
  19771. "type": "number"
  19772. },
  19773. "amountadjusttype": {
  19774. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  19775. "type": "integer"
  19776. },
  19777. "autoid": {
  19778. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  19779. "type": "integer"
  19780. },
  19781. "balance": {
  19782. "description": "期初余额",
  19783. "type": "number"
  19784. },
  19785. "businesscode": {
  19786. "description": "业务编号",
  19787. "type": "integer"
  19788. },
  19789. "createtime": {
  19790. "description": "发生时间",
  19791. "type": "string"
  19792. },
  19793. "currencyid": {
  19794. "description": "币种ID",
  19795. "type": "integer"
  19796. },
  19797. "currentbalance": {
  19798. "description": "期末余额(变动后金额)",
  19799. "type": "number"
  19800. },
  19801. "dgoodscode": {
  19802. "description": "交割商品代码",
  19803. "type": "string"
  19804. },
  19805. "dgoodsname": {
  19806. "description": "交割商品名称",
  19807. "type": "string"
  19808. },
  19809. "goodscode": {
  19810. "description": "商品代码",
  19811. "type": "string"
  19812. },
  19813. "goodsid": {
  19814. "description": "商品ID",
  19815. "type": "integer"
  19816. },
  19817. "goodsname": {
  19818. "description": "商品名称",
  19819. "type": "string"
  19820. },
  19821. "marketid": {
  19822. "description": "市场ID",
  19823. "type": "integer"
  19824. },
  19825. "marketname": {
  19826. "description": "市场名称",
  19827. "type": "string"
  19828. },
  19829. "moneyticket": {
  19830. "description": "资金流水号:银行端流水号",
  19831. "type": "integer"
  19832. },
  19833. "operatetype": {
  19834. "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:营销收款",
  19835. "type": "integer"
  19836. },
  19837. "relationorderid": {
  19838. "description": "关联单号",
  19839. "type": "string"
  19840. },
  19841. "remark": {
  19842. "description": "备注",
  19843. "type": "string"
  19844. },
  19845. "trademode": {
  19846. "description": "交易模式",
  19847. "type": "integer"
  19848. }
  19849. }
  19850. },
  19851. "taaccount.QueryHisAmountLogRsp": {
  19852. "type": "object",
  19853. "required": [
  19854. "accountid",
  19855. "amount",
  19856. "amountadjusttype",
  19857. "autoid",
  19858. "balance",
  19859. "createtime",
  19860. "currentbalance",
  19861. "histradedate",
  19862. "operatetype"
  19863. ],
  19864. "properties": {
  19865. "OPERATETYPENAME": {
  19866. "description": "资金操作类型名称",
  19867. "type": "string"
  19868. },
  19869. "accountid": {
  19870. "description": "资金账户ID",
  19871. "type": "integer"
  19872. },
  19873. "agoodscode": {
  19874. "description": "竞拍商品代码",
  19875. "type": "string"
  19876. },
  19877. "agoodsname": {
  19878. "description": "竞拍商品名称",
  19879. "type": "string"
  19880. },
  19881. "amount": {
  19882. "description": "资金金额",
  19883. "type": "number"
  19884. },
  19885. "amountadjusttype": {
  19886. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  19887. "type": "integer"
  19888. },
  19889. "autoid": {
  19890. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  19891. "type": "integer"
  19892. },
  19893. "balance": {
  19894. "description": "期初余额",
  19895. "type": "number"
  19896. },
  19897. "businesscode": {
  19898. "description": "业务编号",
  19899. "type": "integer"
  19900. },
  19901. "createtime": {
  19902. "description": "发生时间",
  19903. "type": "string"
  19904. },
  19905. "currencyid": {
  19906. "description": "币种ID",
  19907. "type": "integer"
  19908. },
  19909. "currentbalance": {
  19910. "description": "期末余额(变动后金额)",
  19911. "type": "number"
  19912. },
  19913. "dgoodscode": {
  19914. "description": "交割商品代码",
  19915. "type": "string"
  19916. },
  19917. "dgoodsname": {
  19918. "description": "交割商品名称",
  19919. "type": "string"
  19920. },
  19921. "goodscode": {
  19922. "description": "商品代码",
  19923. "type": "string"
  19924. },
  19925. "goodsid": {
  19926. "description": "商品ID",
  19927. "type": "integer"
  19928. },
  19929. "goodsname": {
  19930. "description": "商品名称",
  19931. "type": "string"
  19932. },
  19933. "histradedate": {
  19934. "description": "历史交易日",
  19935. "type": "string"
  19936. },
  19937. "isvaliddata": {
  19938. "description": "是否有效 - 0:无效 1:有效",
  19939. "type": "integer"
  19940. },
  19941. "marketid": {
  19942. "description": "市场ID",
  19943. "type": "integer"
  19944. },
  19945. "marketname": {
  19946. "description": "市场名称",
  19947. "type": "string"
  19948. },
  19949. "moneyticket": {
  19950. "description": "资金流水号:银行端流水号",
  19951. "type": "integer"
  19952. },
  19953. "operatetype": {
  19954. "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:营销收款",
  19955. "type": "integer"
  19956. },
  19957. "relationorderid": {
  19958. "description": "关联单号",
  19959. "type": "string"
  19960. },
  19961. "remark": {
  19962. "description": "备注",
  19963. "type": "string"
  19964. },
  19965. "trademode": {
  19966. "description": "交易模式",
  19967. "type": "integer"
  19968. }
  19969. }
  19970. },
  19971. "trade.QueryRecieptOrderRsp": {
  19972. "type": "object",
  19973. "required": [
  19974. "ordertime"
  19975. ],
  19976. "properties": {
  19977. "accountName": {
  19978. "description": "所属账号名称(已脱敏)",
  19979. "type": "string"
  19980. },
  19981. "accountid": {
  19982. "description": "资金账号",
  19983. "type": "integer"
  19984. },
  19985. "buyorsell": {
  19986. "description": "方向 - 0:买 1:卖",
  19987. "type": "integer"
  19988. },
  19989. "enableqty": {
  19990. "description": "可摘数量",
  19991. "type": "integer"
  19992. },
  19993. "goodscode": {
  19994. "description": "商品代码",
  19995. "type": "string"
  19996. },
  19997. "goodsid": {
  19998. "description": "商品ID",
  19999. "type": "integer"
  20000. },
  20001. "goodsname": {
  20002. "description": "商品名称",
  20003. "type": "string"
  20004. },
  20005. "orderid": {
  20006. "description": "委托单号",
  20007. "type": "string"
  20008. },
  20009. "orderprice": {
  20010. "description": "委托价格",
  20011. "type": "number"
  20012. },
  20013. "ordertime": {
  20014. "description": "委托时间",
  20015. "type": "string"
  20016. },
  20017. "tradedate": {
  20018. "description": "交易日(yyyyMMdd)",
  20019. "type": "string"
  20020. }
  20021. }
  20022. },
  20023. "user.LoginQueryRsp": {
  20024. "type": "object",
  20025. "properties": {
  20026. "externalExchanges": {
  20027. "description": "外部交易所",
  20028. "type": "array",
  20029. "items": {
  20030. "$ref": "#/definitions/models.Externalexchange"
  20031. }
  20032. },
  20033. "goodsgroups": {
  20034. "description": "商品组",
  20035. "type": "array",
  20036. "items": {
  20037. "$ref": "#/definitions/models.Goodsgroup"
  20038. }
  20039. },
  20040. "loginAccount": {
  20041. "description": "登录账号",
  20042. "type": "object",
  20043. "$ref": "#/definitions/models.Loginaccount"
  20044. },
  20045. "markets": {
  20046. "description": "市场",
  20047. "type": "array",
  20048. "items": {
  20049. "$ref": "#/definitions/models.Market"
  20050. }
  20051. },
  20052. "systemParams": {
  20053. "description": "系统参数",
  20054. "type": "array",
  20055. "items": {
  20056. "$ref": "#/definitions/models.Systemparam"
  20057. }
  20058. },
  20059. "userAccount": {
  20060. "description": "用户账号",
  20061. "type": "object",
  20062. "$ref": "#/definitions/models.Useraccount"
  20063. },
  20064. "userInfo": {
  20065. "description": "用户信息",
  20066. "type": "object",
  20067. "$ref": "#/definitions/models.Userinfo"
  20068. },
  20069. "username": {
  20070. "description": "用户姓名",
  20071. "type": "string"
  20072. }
  20073. }
  20074. }
  20075. },
  20076. "securityDefinitions": {
  20077. "ApiKeyAuth": {
  20078. "type": "apiKey",
  20079. "name": "Authorization",
  20080. "in": "header"
  20081. }
  20082. }
  20083. }`
  20084. type swaggerInfo struct {
  20085. Version string
  20086. Host string
  20087. BasePath string
  20088. Schemes []string
  20089. Title string
  20090. Description string
  20091. }
  20092. // SwaggerInfo holds exported Swagger Info so clients can modify it
  20093. var SwaggerInfo = swaggerInfo{
  20094. Version: "1.0",
  20095. Host: "",
  20096. BasePath: "/api",
  20097. Schemes: []string{},
  20098. Title: "MTP2.0 查询服务 API",
  20099. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  20100. }
  20101. type s struct{}
  20102. func (s *s) ReadDoc() string {
  20103. sInfo := SwaggerInfo
  20104. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  20105. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  20106. "marshal": func(v interface{}) string {
  20107. a, _ := json.Marshal(v)
  20108. return string(a)
  20109. },
  20110. }).Parse(doc)
  20111. if err != nil {
  20112. return doc
  20113. }
  20114. var tpl bytes.Buffer
  20115. if err := t.Execute(&tpl, sInfo); err != nil {
  20116. return doc
  20117. }
  20118. return tpl.String()
  20119. }
  20120. func init() {
  20121. swag.Register(swag.Name, &s{})
  20122. }