docs.go 1.4 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903
  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://www.muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetClientMenus": {
  402. "get": {
  403. "security": [
  404. {
  405. "ApiKeyAuth": []
  406. }
  407. ],
  408. "produces": [
  409. "application/json"
  410. ],
  411. "tags": [
  412. "通用服务"
  413. ],
  414. "summary": "获取交易端菜单",
  415. "parameters": [
  416. {
  417. "type": "integer",
  418. "description": "登录账号",
  419. "name": "loginID",
  420. "in": "query",
  421. "required": true
  422. },
  423. {
  424. "type": "integer",
  425. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  426. "name": "clientType",
  427. "in": "query"
  428. },
  429. {
  430. "type": "string",
  431. "description": "分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台",
  432. "name": "name",
  433. "in": "query"
  434. }
  435. ],
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "type": "array",
  441. "items": {
  442. "$ref": "#/definitions/common.ClientMenu"
  443. }
  444. }
  445. },
  446. "500": {
  447. "description": "Internal Server Error",
  448. "schema": {
  449. "$ref": "#/definitions/app.Response"
  450. }
  451. }
  452. }
  453. }
  454. },
  455. "/Common/GetDivisions": {
  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/models.Division"
  469. }
  470. },
  471. "500": {
  472. "description": "Internal Server Error",
  473. "schema": {
  474. "$ref": "#/definitions/app.Response"
  475. }
  476. }
  477. }
  478. }
  479. },
  480. "/Common/GetServerTime": {
  481. "get": {
  482. "produces": [
  483. "application/json"
  484. ],
  485. "tags": [
  486. "通用服务"
  487. ],
  488. "summary": "获取服务器时间",
  489. "responses": {
  490. "200": {
  491. "description": "OK",
  492. "schema": {
  493. "$ref": "#/definitions/app.Response"
  494. }
  495. },
  496. "500": {
  497. "description": "Internal Server Error",
  498. "schema": {
  499. "$ref": "#/definitions/app.Response"
  500. }
  501. }
  502. }
  503. }
  504. },
  505. "/Common/NoticeReaded": {
  506. "post": {
  507. "security": [
  508. {
  509. "ApiKeyAuth": []
  510. }
  511. ],
  512. "produces": [
  513. "application/json"
  514. ],
  515. "tags": [
  516. "通用服务"
  517. ],
  518. "summary": "通知公告设置已读请求",
  519. "parameters": [
  520. {
  521. "type": "integer",
  522. "description": "登录账号",
  523. "name": "loginID",
  524. "in": "query",
  525. "required": true
  526. },
  527. {
  528. "type": "integer",
  529. "description": "通知公告ID",
  530. "name": "noticeID",
  531. "in": "query",
  532. "required": true
  533. }
  534. ],
  535. "responses": {
  536. "200": {
  537. "description": "OK",
  538. "schema": {
  539. "$ref": "#/definitions/app.Response"
  540. }
  541. },
  542. "500": {
  543. "description": "Internal Server Error",
  544. "schema": {
  545. "$ref": "#/definitions/app.Response"
  546. }
  547. }
  548. }
  549. }
  550. },
  551. "/Common/QueryErrorInfos": {
  552. "get": {
  553. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  554. "produces": [
  555. "application/json"
  556. ],
  557. "tags": [
  558. "通用服务"
  559. ],
  560. "summary": "获取数据库错误信息",
  561. "parameters": [
  562. {
  563. "type": "string",
  564. "description": "起始行号前索引",
  565. "name": "rowNumber",
  566. "in": "query"
  567. }
  568. ],
  569. "responses": {
  570. "200": {
  571. "description": "OK",
  572. "schema": {
  573. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  574. }
  575. },
  576. "500": {
  577. "description": "Internal Server Error",
  578. "schema": {
  579. "$ref": "#/definitions/app.Response"
  580. }
  581. }
  582. }
  583. }
  584. },
  585. "/Common/QueryImageConfigs": {
  586. "get": {
  587. "produces": [
  588. "application/json"
  589. ],
  590. "tags": [
  591. "通用服务"
  592. ],
  593. "summary": "查询轮播图配置信息",
  594. "parameters": [
  595. {
  596. "type": "integer",
  597. "description": "用户id",
  598. "name": "userId",
  599. "in": "query"
  600. },
  601. {
  602. "type": "integer",
  603. "description": "类型 - 1:App首页轮播 2:我的",
  604. "name": "imageType",
  605. "in": "query"
  606. }
  607. ],
  608. "responses": {
  609. "200": {
  610. "description": "OK",
  611. "schema": {
  612. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  613. }
  614. },
  615. "500": {
  616. "description": "Internal Server Error",
  617. "schema": {
  618. "$ref": "#/definitions/app.Response"
  619. }
  620. }
  621. }
  622. }
  623. },
  624. "/Common/QueryNotice": {
  625. "get": {
  626. "security": [
  627. {
  628. "ApiKeyAuth": []
  629. }
  630. ],
  631. "produces": [
  632. "application/json"
  633. ],
  634. "tags": [
  635. "通用服务"
  636. ],
  637. "summary": "通知公告系统消息查询",
  638. "parameters": [
  639. {
  640. "type": "integer",
  641. "description": "页码",
  642. "name": "page",
  643. "in": "query"
  644. },
  645. {
  646. "type": "integer",
  647. "description": "每页条数",
  648. "name": "pagesize",
  649. "in": "query"
  650. },
  651. {
  652. "type": "integer",
  653. "description": "登录账号",
  654. "name": "loginID",
  655. "in": "query",
  656. "required": true
  657. },
  658. {
  659. "type": "integer",
  660. "description": "消息类型 - 1:公告通知 2:系统消息",
  661. "name": "msgType",
  662. "in": "query"
  663. },
  664. {
  665. "type": "boolean",
  666. "description": "是否只获取未读信息",
  667. "name": "onlyUnRead",
  668. "in": "query"
  669. },
  670. {
  671. "type": "integer",
  672. "description": "自增ID,传入后会返回这个ID后面的记录",
  673. "name": "lastID",
  674. "in": "query"
  675. }
  676. ],
  677. "responses": {
  678. "200": {
  679. "description": "OK",
  680. "schema": {
  681. "$ref": "#/definitions/common.QueryNoticeRsp"
  682. }
  683. },
  684. "500": {
  685. "description": "Internal Server Error",
  686. "schema": {
  687. "$ref": "#/definitions/app.Response"
  688. }
  689. }
  690. }
  691. }
  692. },
  693. "/Common/QueryProvincesAndCities": {
  694. "get": {
  695. "produces": [
  696. "application/json"
  697. ],
  698. "tags": [
  699. "通用服务"
  700. ],
  701. "summary": "查询省市信息(不包括区)",
  702. "parameters": [
  703. {
  704. "type": "integer",
  705. "description": "省ID",
  706. "name": "provinceID",
  707. "in": "query"
  708. }
  709. ],
  710. "responses": {
  711. "200": {
  712. "description": "OK",
  713. "schema": {
  714. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  715. }
  716. },
  717. "500": {
  718. "description": "Internal Server Error",
  719. "schema": {
  720. "$ref": "#/definitions/app.Response"
  721. }
  722. }
  723. }
  724. }
  725. },
  726. "/Common/QueryTableDefine": {
  727. "get": {
  728. "produces": [
  729. "application/json"
  730. ],
  731. "tags": [
  732. "通用服务"
  733. ],
  734. "summary": "查询交易端列表头信息",
  735. "parameters": [
  736. {
  737. "type": "string",
  738. "description": "表key",
  739. "name": "tableKey",
  740. "in": "query"
  741. },
  742. {
  743. "type": "integer",
  744. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  745. "name": "tableType",
  746. "in": "query"
  747. }
  748. ],
  749. "responses": {
  750. "200": {
  751. "description": "OK",
  752. "schema": {
  753. "$ref": "#/definitions/common.QueryTableDefineRsp"
  754. }
  755. },
  756. "500": {
  757. "description": "Internal Server Error",
  758. "schema": {
  759. "$ref": "#/definitions/app.Response"
  760. }
  761. }
  762. }
  763. }
  764. },
  765. "/Common/QueryTraderMenu": {
  766. "get": {
  767. "produces": [
  768. "application/json"
  769. ],
  770. "tags": [
  771. "通用服务"
  772. ],
  773. "summary": "查询交易端菜单",
  774. "parameters": [
  775. {
  776. "type": "integer",
  777. "description": "登录账号",
  778. "name": "loginid",
  779. "in": "query",
  780. "required": true
  781. }
  782. ],
  783. "responses": {
  784. "200": {
  785. "description": "OK",
  786. "schema": {
  787. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  788. }
  789. },
  790. "500": {
  791. "description": "Internal Server Error",
  792. "schema": {
  793. "$ref": "#/definitions/app.Response"
  794. }
  795. }
  796. }
  797. }
  798. },
  799. "/Delivery/QueryDeliveryRelation": {
  800. "get": {
  801. "security": [
  802. {
  803. "ApiKeyAuth": []
  804. }
  805. ],
  806. "produces": [
  807. "application/json"
  808. ],
  809. "tags": [
  810. "交割服务"
  811. ],
  812. "summary": "查询商品交割关系表",
  813. "parameters": [
  814. {
  815. "type": "integer",
  816. "description": "商品ID",
  817. "name": "goodsid",
  818. "in": "query"
  819. },
  820. {
  821. "type": "integer",
  822. "description": "品种ID",
  823. "name": "deliverygoodsid",
  824. "in": "query"
  825. },
  826. {
  827. "type": "integer",
  828. "description": "市场ID",
  829. "name": "marketid",
  830. "in": "query"
  831. }
  832. ],
  833. "responses": {
  834. "200": {
  835. "description": "OK",
  836. "schema": {
  837. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  838. }
  839. },
  840. "500": {
  841. "description": "Internal Server Error",
  842. "schema": {
  843. "$ref": "#/definitions/app.Response"
  844. }
  845. }
  846. }
  847. }
  848. },
  849. "/Ermcp/GetErmcpGoods": {
  850. "get": {
  851. "security": [
  852. {
  853. "ApiKeyAuth": []
  854. }
  855. ],
  856. "produces": [
  857. "application/json"
  858. ],
  859. "tags": [
  860. "企业风险管理(app)"
  861. ],
  862. "summary": "查询企业风管期货商品信息",
  863. "parameters": [
  864. {
  865. "type": "string",
  866. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  867. "name": "lastUpdateTime",
  868. "in": "query"
  869. }
  870. ],
  871. "responses": {
  872. "200": {
  873. "description": "OK",
  874. "schema": {
  875. "$ref": "#/definitions/models.ErmcpGoods"
  876. }
  877. },
  878. "500": {
  879. "description": "Internal Server Error",
  880. "schema": {
  881. "$ref": "#/definitions/app.Response"
  882. }
  883. }
  884. }
  885. }
  886. },
  887. "/Ermcp/GetErmcpGoodsSortByPosition": {
  888. "get": {
  889. "security": [
  890. {
  891. "ApiKeyAuth": []
  892. }
  893. ],
  894. "produces": [
  895. "application/json"
  896. ],
  897. "tags": [
  898. "企业风险管理(app)"
  899. ],
  900. "summary": "查询企业风管期货主力、次主力商品信息",
  901. "parameters": [
  902. {
  903. "type": "string",
  904. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  905. "name": "sortIndex",
  906. "in": "query"
  907. }
  908. ],
  909. "responses": {
  910. "200": {
  911. "description": "OK",
  912. "schema": {
  913. "$ref": "#/definitions/models.Goodssortbypreposition"
  914. }
  915. },
  916. "500": {
  917. "description": "Internal Server Error",
  918. "schema": {
  919. "$ref": "#/definitions/app.Response"
  920. }
  921. }
  922. }
  923. }
  924. },
  925. "/Ermcp/GetErmcpOutAccountStatus": {
  926. "get": {
  927. "security": [
  928. {
  929. "ApiKeyAuth": []
  930. }
  931. ],
  932. "produces": [
  933. "application/json"
  934. ],
  935. "tags": [
  936. "企业风险管理(app)"
  937. ],
  938. "summary": "获取目标登录账号当前对冲账号在线状态",
  939. "parameters": [
  940. {
  941. "type": "integer",
  942. "description": "登录账号",
  943. "name": "loginID",
  944. "in": "query",
  945. "required": true
  946. }
  947. ],
  948. "responses": {
  949. "200": {
  950. "description": "OK",
  951. "schema": {
  952. "$ref": "#/definitions/models.Hedgemarketopenlog"
  953. }
  954. },
  955. "500": {
  956. "description": "Internal Server Error",
  957. "schema": {
  958. "$ref": "#/definitions/app.Response"
  959. }
  960. }
  961. }
  962. }
  963. },
  964. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  965. "get": {
  966. "security": [
  967. {
  968. "ApiKeyAuth": []
  969. }
  970. ],
  971. "produces": [
  972. "application/json"
  973. ],
  974. "tags": [
  975. "企业风险管理(app)"
  976. ],
  977. "summary": "获取企业风管终端权限",
  978. "parameters": [
  979. {
  980. "type": "integer",
  981. "description": "登录账号",
  982. "name": "loginID",
  983. "in": "query",
  984. "required": true
  985. }
  986. ],
  987. "responses": {
  988. "200": {
  989. "description": "OK",
  990. "schema": {
  991. "$ref": "#/definitions/models.Funcmenulist"
  992. }
  993. },
  994. "500": {
  995. "description": "Internal Server Error",
  996. "schema": {
  997. "$ref": "#/definitions/app.Response"
  998. }
  999. }
  1000. }
  1001. }
  1002. },
  1003. "/Ermcp/QueryAccMgrBizGroupSet": {
  1004. "get": {
  1005. "security": [
  1006. {
  1007. "ApiKeyAuth": []
  1008. }
  1009. ],
  1010. "produces": [
  1011. "application/json"
  1012. ],
  1013. "tags": [
  1014. "企业风险管理(app)"
  1015. ],
  1016. "summary": "查询业务类型分组(账户管理/账户设置)",
  1017. "parameters": [
  1018. {
  1019. "type": "integer",
  1020. "description": "用户ID",
  1021. "name": "userid",
  1022. "in": "query",
  1023. "required": true
  1024. },
  1025. {
  1026. "type": "integer",
  1027. "description": "现货商品id",
  1028. "name": "deliverygoodsid",
  1029. "in": "query"
  1030. }
  1031. ],
  1032. "responses": {
  1033. "200": {
  1034. "description": "OK",
  1035. "schema": {
  1036. "type": "array",
  1037. "items": {
  1038. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1039. }
  1040. }
  1041. },
  1042. "500": {
  1043. "description": "Internal Server Error",
  1044. "schema": {
  1045. "$ref": "#/definitions/app.Response"
  1046. }
  1047. }
  1048. }
  1049. }
  1050. },
  1051. "/Ermcp/QueryAccMgrLoginUser": {
  1052. "get": {
  1053. "security": [
  1054. {
  1055. "ApiKeyAuth": []
  1056. }
  1057. ],
  1058. "produces": [
  1059. "application/json"
  1060. ],
  1061. "tags": [
  1062. "企业风险管理(app)"
  1063. ],
  1064. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1065. "parameters": [
  1066. {
  1067. "type": "integer",
  1068. "description": "用户ID",
  1069. "name": "userid",
  1070. "in": "query",
  1071. "required": true
  1072. },
  1073. {
  1074. "type": "integer",
  1075. "description": "用户类型 2-机构 7-企业成员",
  1076. "name": "usertype",
  1077. "in": "query"
  1078. },
  1079. {
  1080. "type": "integer",
  1081. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1082. "name": "querytype",
  1083. "in": "query",
  1084. "required": true
  1085. }
  1086. ],
  1087. "responses": {
  1088. "200": {
  1089. "description": "OK",
  1090. "schema": {
  1091. "type": "array",
  1092. "items": {
  1093. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1094. }
  1095. }
  1096. },
  1097. "500": {
  1098. "description": "Internal Server Error",
  1099. "schema": {
  1100. "$ref": "#/definitions/app.Response"
  1101. }
  1102. }
  1103. }
  1104. }
  1105. },
  1106. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1107. "get": {
  1108. "security": [
  1109. {
  1110. "ApiKeyAuth": []
  1111. }
  1112. ],
  1113. "produces": [
  1114. "application/json"
  1115. ],
  1116. "tags": [
  1117. "企业风险管理(app)"
  1118. ],
  1119. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1120. "parameters": [
  1121. {
  1122. "type": "integer",
  1123. "description": "用户ID",
  1124. "name": "userid",
  1125. "in": "query"
  1126. },
  1127. {
  1128. "type": "integer",
  1129. "description": "主账号id",
  1130. "name": "accountid",
  1131. "in": "query"
  1132. }
  1133. ],
  1134. "responses": {
  1135. "200": {
  1136. "description": "OK",
  1137. "schema": {
  1138. "type": "array",
  1139. "items": {
  1140. "$ref": "#/definitions/models.MainAccountInfo"
  1141. }
  1142. }
  1143. },
  1144. "500": {
  1145. "description": "Internal Server Error",
  1146. "schema": {
  1147. "$ref": "#/definitions/app.Response"
  1148. }
  1149. }
  1150. }
  1151. }
  1152. },
  1153. "/Ermcp/QueryAccMgrRole": {
  1154. "get": {
  1155. "security": [
  1156. {
  1157. "ApiKeyAuth": []
  1158. }
  1159. ],
  1160. "produces": [
  1161. "application/json"
  1162. ],
  1163. "tags": [
  1164. "企业风险管理(app)"
  1165. ],
  1166. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1167. "parameters": [
  1168. {
  1169. "type": "integer",
  1170. "description": "用户ID",
  1171. "name": "userid",
  1172. "in": "query",
  1173. "required": true
  1174. }
  1175. ],
  1176. "responses": {
  1177. "200": {
  1178. "description": "OK",
  1179. "schema": {
  1180. "type": "array",
  1181. "items": {
  1182. "$ref": "#/definitions/models.ErmcpRole"
  1183. }
  1184. }
  1185. },
  1186. "500": {
  1187. "description": "Internal Server Error",
  1188. "schema": {
  1189. "$ref": "#/definitions/app.Response"
  1190. }
  1191. }
  1192. }
  1193. }
  1194. },
  1195. "/Ermcp/QueryAccMgrRoleMenu": {
  1196. "get": {
  1197. "security": [
  1198. {
  1199. "ApiKeyAuth": []
  1200. }
  1201. ],
  1202. "produces": [
  1203. "application/json"
  1204. ],
  1205. "tags": [
  1206. "企业风险管理(app)"
  1207. ],
  1208. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1209. "parameters": [
  1210. {
  1211. "type": "integer",
  1212. "description": "用户ID",
  1213. "name": "userid",
  1214. "in": "query",
  1215. "required": true
  1216. },
  1217. {
  1218. "type": "string",
  1219. "description": "角色id(可多个,逗号隔开)",
  1220. "name": "roleid",
  1221. "in": "query"
  1222. },
  1223. {
  1224. "type": "integer",
  1225. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1226. "name": "menutype",
  1227. "in": "query"
  1228. }
  1229. ],
  1230. "responses": {
  1231. "200": {
  1232. "description": "OK",
  1233. "schema": {
  1234. "type": "array",
  1235. "items": {
  1236. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1237. }
  1238. }
  1239. },
  1240. "500": {
  1241. "description": "Internal Server Error",
  1242. "schema": {
  1243. "$ref": "#/definitions/app.Response"
  1244. }
  1245. }
  1246. }
  1247. }
  1248. },
  1249. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1250. "get": {
  1251. "security": [
  1252. {
  1253. "ApiKeyAuth": []
  1254. }
  1255. ],
  1256. "produces": [
  1257. "application/json"
  1258. ],
  1259. "tags": [
  1260. "企业风险管理(app)"
  1261. ],
  1262. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1263. "parameters": [
  1264. {
  1265. "type": "integer",
  1266. "description": "用户ID",
  1267. "name": "userid",
  1268. "in": "query",
  1269. "required": true
  1270. },
  1271. {
  1272. "type": "integer",
  1273. "description": "账号id",
  1274. "name": "accountid",
  1275. "in": "query"
  1276. }
  1277. ],
  1278. "responses": {
  1279. "200": {
  1280. "description": "OK",
  1281. "schema": {
  1282. "type": "array",
  1283. "items": {
  1284. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1285. }
  1286. }
  1287. },
  1288. "500": {
  1289. "description": "Internal Server Error",
  1290. "schema": {
  1291. "$ref": "#/definitions/app.Response"
  1292. }
  1293. }
  1294. }
  1295. }
  1296. },
  1297. "/Ermcp/QueryAccMgrTaaccount": {
  1298. "get": {
  1299. "security": [
  1300. {
  1301. "ApiKeyAuth": []
  1302. }
  1303. ],
  1304. "produces": [
  1305. "application/json"
  1306. ],
  1307. "tags": [
  1308. "企业风险管理(app)"
  1309. ],
  1310. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1311. "parameters": [
  1312. {
  1313. "type": "integer",
  1314. "description": "用户ID",
  1315. "name": "userid",
  1316. "in": "query",
  1317. "required": true
  1318. }
  1319. ],
  1320. "responses": {
  1321. "200": {
  1322. "description": "OK",
  1323. "schema": {
  1324. "type": "array",
  1325. "items": {
  1326. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1327. }
  1328. }
  1329. },
  1330. "500": {
  1331. "description": "Internal Server Error",
  1332. "schema": {
  1333. "$ref": "#/definitions/app.Response"
  1334. }
  1335. }
  1336. }
  1337. }
  1338. },
  1339. "/Ermcp/QueryAvaildGoodsGroup": {
  1340. "get": {
  1341. "security": [
  1342. {
  1343. "ApiKeyAuth": []
  1344. }
  1345. ],
  1346. "produces": [
  1347. "application/json"
  1348. ],
  1349. "tags": [
  1350. "企业风险管理(app)"
  1351. ],
  1352. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1353. "parameters": [
  1354. {
  1355. "type": "integer",
  1356. "description": "所属机构ID",
  1357. "name": "userid",
  1358. "in": "query",
  1359. "required": true
  1360. }
  1361. ],
  1362. "responses": {
  1363. "200": {
  1364. "description": "OK",
  1365. "schema": {
  1366. "type": "array",
  1367. "items": {
  1368. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1369. }
  1370. }
  1371. },
  1372. "500": {
  1373. "description": "Internal Server Error",
  1374. "schema": {
  1375. "$ref": "#/definitions/app.Response"
  1376. }
  1377. }
  1378. }
  1379. }
  1380. },
  1381. "/Ermcp/QueryBusinessDj": {
  1382. "get": {
  1383. "security": [
  1384. {
  1385. "ApiKeyAuth": []
  1386. }
  1387. ],
  1388. "produces": [
  1389. "application/json"
  1390. ],
  1391. "tags": [
  1392. "企业风险管理(app)"
  1393. ],
  1394. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1395. "parameters": [
  1396. {
  1397. "type": "integer",
  1398. "description": "用户ID",
  1399. "name": "UserId",
  1400. "in": "query",
  1401. "required": true
  1402. },
  1403. {
  1404. "type": "integer",
  1405. "description": "用户类型 2-机构 7-企业成员",
  1406. "name": "usertype",
  1407. "in": "query"
  1408. },
  1409. {
  1410. "type": "string",
  1411. "description": "现货合同ID, 不填则查所有",
  1412. "name": "relatedid",
  1413. "in": "query"
  1414. },
  1415. {
  1416. "type": "string",
  1417. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1418. "name": "applystatus",
  1419. "in": "query"
  1420. }
  1421. ],
  1422. "responses": {
  1423. "200": {
  1424. "description": "OK",
  1425. "schema": {
  1426. "type": "array",
  1427. "items": {
  1428. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1429. }
  1430. }
  1431. },
  1432. "500": {
  1433. "description": "Internal Server Error",
  1434. "schema": {
  1435. "$ref": "#/definitions/app.Response"
  1436. }
  1437. }
  1438. }
  1439. }
  1440. },
  1441. "/Ermcp/QueryBusinessFp": {
  1442. "get": {
  1443. "security": [
  1444. {
  1445. "ApiKeyAuth": []
  1446. }
  1447. ],
  1448. "produces": [
  1449. "application/json"
  1450. ],
  1451. "tags": [
  1452. "企业风险管理(app)"
  1453. ],
  1454. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1455. "parameters": [
  1456. {
  1457. "type": "integer",
  1458. "description": "用户ID",
  1459. "name": "UserId",
  1460. "in": "query",
  1461. "required": true
  1462. },
  1463. {
  1464. "type": "integer",
  1465. "description": "用户类型 2-机构 7-企业成员",
  1466. "name": "usertype",
  1467. "in": "query"
  1468. },
  1469. {
  1470. "type": "string",
  1471. "description": "现货合同ID, 不填则查所有",
  1472. "name": "relatedid",
  1473. "in": "query"
  1474. },
  1475. {
  1476. "type": "string",
  1477. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1478. "name": "applystatus",
  1479. "in": "query"
  1480. }
  1481. ],
  1482. "responses": {
  1483. "200": {
  1484. "description": "OK",
  1485. "schema": {
  1486. "type": "array",
  1487. "items": {
  1488. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1489. }
  1490. }
  1491. },
  1492. "500": {
  1493. "description": "Internal Server Error",
  1494. "schema": {
  1495. "$ref": "#/definitions/app.Response"
  1496. }
  1497. }
  1498. }
  1499. }
  1500. },
  1501. "/Ermcp/QueryBusinessJs": {
  1502. "get": {
  1503. "security": [
  1504. {
  1505. "ApiKeyAuth": []
  1506. }
  1507. ],
  1508. "produces": [
  1509. "application/json"
  1510. ],
  1511. "tags": [
  1512. "企业风险管理(app)"
  1513. ],
  1514. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1515. "parameters": [
  1516. {
  1517. "type": "integer",
  1518. "description": "用户ID",
  1519. "name": "UserId",
  1520. "in": "query",
  1521. "required": true
  1522. },
  1523. {
  1524. "type": "integer",
  1525. "description": "用户类型 2-机构 7-企业成员",
  1526. "name": "usertype",
  1527. "in": "query"
  1528. },
  1529. {
  1530. "type": "string",
  1531. "description": "现货合同ID, 不填则查所有",
  1532. "name": "relatedid",
  1533. "in": "query"
  1534. },
  1535. {
  1536. "type": "string",
  1537. "description": "操作申请id",
  1538. "name": "operateapplyid",
  1539. "in": "query"
  1540. },
  1541. {
  1542. "type": "string",
  1543. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1544. "name": "applystatus",
  1545. "in": "query"
  1546. }
  1547. ],
  1548. "responses": {
  1549. "200": {
  1550. "description": "OK",
  1551. "schema": {
  1552. "type": "array",
  1553. "items": {
  1554. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1555. }
  1556. }
  1557. },
  1558. "500": {
  1559. "description": "Internal Server Error",
  1560. "schema": {
  1561. "$ref": "#/definitions/app.Response"
  1562. }
  1563. }
  1564. }
  1565. }
  1566. },
  1567. "/Ermcp/QueryBusinessJsEx": {
  1568. "get": {
  1569. "security": [
  1570. {
  1571. "ApiKeyAuth": []
  1572. }
  1573. ],
  1574. "produces": [
  1575. "application/json"
  1576. ],
  1577. "tags": [
  1578. "企业风险管理(app)"
  1579. ],
  1580. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1581. "parameters": [
  1582. {
  1583. "type": "integer",
  1584. "description": "用户ID",
  1585. "name": "UserId",
  1586. "in": "query",
  1587. "required": true
  1588. },
  1589. {
  1590. "type": "integer",
  1591. "description": "用户类型 2-机构 7-企业成员",
  1592. "name": "usertype",
  1593. "in": "query"
  1594. },
  1595. {
  1596. "type": "string",
  1597. "description": "现货合同ID, 不填则查所有",
  1598. "name": "relatedid",
  1599. "in": "query"
  1600. },
  1601. {
  1602. "type": "string",
  1603. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1604. "name": "applystatus",
  1605. "in": "query"
  1606. }
  1607. ],
  1608. "responses": {
  1609. "200": {
  1610. "description": "OK",
  1611. "schema": {
  1612. "type": "array",
  1613. "items": {
  1614. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1615. }
  1616. }
  1617. },
  1618. "500": {
  1619. "description": "Internal Server Error",
  1620. "schema": {
  1621. "$ref": "#/definitions/app.Response"
  1622. }
  1623. }
  1624. }
  1625. }
  1626. },
  1627. "/Ermcp/QueryBusinessKx": {
  1628. "get": {
  1629. "security": [
  1630. {
  1631. "ApiKeyAuth": []
  1632. }
  1633. ],
  1634. "produces": [
  1635. "application/json"
  1636. ],
  1637. "tags": [
  1638. "企业风险管理(app)"
  1639. ],
  1640. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1641. "parameters": [
  1642. {
  1643. "type": "integer",
  1644. "description": "用户ID",
  1645. "name": "UserId",
  1646. "in": "query",
  1647. "required": true
  1648. },
  1649. {
  1650. "type": "integer",
  1651. "description": "用户类型 2-机构 7-企业成员",
  1652. "name": "usertype",
  1653. "in": "query"
  1654. },
  1655. {
  1656. "type": "string",
  1657. "description": "现货合同ID, 不填则查所有",
  1658. "name": "relatedid",
  1659. "in": "query"
  1660. },
  1661. {
  1662. "type": "string",
  1663. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1664. "name": "applystatus",
  1665. "in": "query"
  1666. }
  1667. ],
  1668. "responses": {
  1669. "200": {
  1670. "description": "OK",
  1671. "schema": {
  1672. "type": "array",
  1673. "items": {
  1674. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1675. }
  1676. }
  1677. },
  1678. "500": {
  1679. "description": "Internal Server Error",
  1680. "schema": {
  1681. "$ref": "#/definitions/app.Response"
  1682. }
  1683. }
  1684. }
  1685. }
  1686. },
  1687. "/Ermcp/QueryChangeLog": {
  1688. "get": {
  1689. "security": [
  1690. {
  1691. "ApiKeyAuth": []
  1692. }
  1693. ],
  1694. "produces": [
  1695. "application/json"
  1696. ],
  1697. "tags": [
  1698. "企业风险管理(app)"
  1699. ],
  1700. "summary": "查询变更记录",
  1701. "parameters": [
  1702. {
  1703. "type": "string",
  1704. "description": "合同ID",
  1705. "name": "RelatedId",
  1706. "in": "query",
  1707. "required": true
  1708. }
  1709. ],
  1710. "responses": {
  1711. "200": {
  1712. "description": "OK",
  1713. "schema": {
  1714. "type": "array",
  1715. "items": {
  1716. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1717. }
  1718. }
  1719. },
  1720. "500": {
  1721. "description": "Internal Server Error",
  1722. "schema": {
  1723. "$ref": "#/definitions/app.Response"
  1724. }
  1725. }
  1726. }
  1727. }
  1728. },
  1729. "/Ermcp/QueryErmcpHisOrderDetails": {
  1730. "get": {
  1731. "security": [
  1732. {
  1733. "ApiKeyAuth": []
  1734. }
  1735. ],
  1736. "produces": [
  1737. "application/json"
  1738. ],
  1739. "tags": [
  1740. "企业风险管理(app)"
  1741. ],
  1742. "summary": "获取企业风管期货历史委托单信息",
  1743. "parameters": [
  1744. {
  1745. "type": "integer",
  1746. "description": "资金账户ID",
  1747. "name": "accountID",
  1748. "in": "query",
  1749. "required": true
  1750. },
  1751. {
  1752. "type": "string",
  1753. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1754. "name": "startDate",
  1755. "in": "query"
  1756. },
  1757. {
  1758. "type": "string",
  1759. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1760. "name": "endDate",
  1761. "in": "query"
  1762. }
  1763. ],
  1764. "responses": {
  1765. "200": {
  1766. "description": "OK",
  1767. "schema": {
  1768. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1769. }
  1770. },
  1771. "500": {
  1772. "description": "Internal Server Error",
  1773. "schema": {
  1774. "$ref": "#/definitions/app.Response"
  1775. }
  1776. }
  1777. }
  1778. }
  1779. },
  1780. "/Ermcp/QueryErmcpHisTradeDetails": {
  1781. "get": {
  1782. "security": [
  1783. {
  1784. "ApiKeyAuth": []
  1785. }
  1786. ],
  1787. "produces": [
  1788. "application/json"
  1789. ],
  1790. "tags": [
  1791. "企业风险管理(app)"
  1792. ],
  1793. "summary": "获取企业风管期货历史成交单信息",
  1794. "parameters": [
  1795. {
  1796. "type": "integer",
  1797. "description": "资金账户ID",
  1798. "name": "accountID",
  1799. "in": "query",
  1800. "required": true
  1801. },
  1802. {
  1803. "type": "integer",
  1804. "description": "商品ID",
  1805. "name": "goodsID",
  1806. "in": "query"
  1807. },
  1808. {
  1809. "type": "integer",
  1810. "description": "买卖方向,0:买 1:卖",
  1811. "name": "buyOrSell",
  1812. "in": "query"
  1813. },
  1814. {
  1815. "type": "integer",
  1816. "description": "关联委托单号",
  1817. "name": "orderID",
  1818. "in": "query"
  1819. },
  1820. {
  1821. "type": "string",
  1822. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1823. "name": "startDate",
  1824. "in": "query"
  1825. },
  1826. {
  1827. "type": "string",
  1828. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1829. "name": "endDate",
  1830. "in": "query"
  1831. }
  1832. ],
  1833. "responses": {
  1834. "200": {
  1835. "description": "OK",
  1836. "schema": {
  1837. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1838. }
  1839. },
  1840. "500": {
  1841. "description": "Internal Server Error",
  1842. "schema": {
  1843. "$ref": "#/definitions/app.Response"
  1844. }
  1845. }
  1846. }
  1847. }
  1848. },
  1849. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1850. "get": {
  1851. "security": [
  1852. {
  1853. "ApiKeyAuth": []
  1854. }
  1855. ],
  1856. "produces": [
  1857. "application/json"
  1858. ],
  1859. "tags": [
  1860. "企业风险管理(app)"
  1861. ],
  1862. "summary": "获取企业风管期货内部持仓单信息",
  1863. "parameters": [
  1864. {
  1865. "type": "integer",
  1866. "description": "资金账户ID",
  1867. "name": "accountID",
  1868. "in": "query",
  1869. "required": true
  1870. },
  1871. {
  1872. "type": "integer",
  1873. "description": "商品ID",
  1874. "name": "goodsID",
  1875. "in": "query"
  1876. },
  1877. {
  1878. "type": "integer",
  1879. "description": "买卖方向,0:买 1:卖",
  1880. "name": "buyOrSell",
  1881. "in": "query"
  1882. }
  1883. ],
  1884. "responses": {
  1885. "200": {
  1886. "description": "OK",
  1887. "schema": {
  1888. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1889. }
  1890. },
  1891. "500": {
  1892. "description": "Internal Server Error",
  1893. "schema": {
  1894. "$ref": "#/definitions/app.Response"
  1895. }
  1896. }
  1897. }
  1898. }
  1899. },
  1900. "/Ermcp/QueryErmcpOrderDetails": {
  1901. "get": {
  1902. "security": [
  1903. {
  1904. "ApiKeyAuth": []
  1905. }
  1906. ],
  1907. "produces": [
  1908. "application/json"
  1909. ],
  1910. "tags": [
  1911. "企业风险管理(app)"
  1912. ],
  1913. "summary": "获取企业风管期货委托单信息",
  1914. "parameters": [
  1915. {
  1916. "type": "integer",
  1917. "description": "资金账户ID",
  1918. "name": "accountID",
  1919. "in": "query",
  1920. "required": true
  1921. }
  1922. ],
  1923. "responses": {
  1924. "200": {
  1925. "description": "OK",
  1926. "schema": {
  1927. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1928. }
  1929. },
  1930. "500": {
  1931. "description": "Internal Server Error",
  1932. "schema": {
  1933. "$ref": "#/definitions/app.Response"
  1934. }
  1935. }
  1936. }
  1937. }
  1938. },
  1939. "/Ermcp/QueryErmcpTradeDetails": {
  1940. "get": {
  1941. "security": [
  1942. {
  1943. "ApiKeyAuth": []
  1944. }
  1945. ],
  1946. "produces": [
  1947. "application/json"
  1948. ],
  1949. "tags": [
  1950. "企业风险管理(app)"
  1951. ],
  1952. "summary": "获取企业风管期货成交单信息",
  1953. "parameters": [
  1954. {
  1955. "type": "integer",
  1956. "description": "资金账户ID",
  1957. "name": "accountID",
  1958. "in": "query",
  1959. "required": true
  1960. },
  1961. {
  1962. "type": "integer",
  1963. "description": "商品ID",
  1964. "name": "goodsID",
  1965. "in": "query"
  1966. },
  1967. {
  1968. "type": "integer",
  1969. "description": "买卖方向,0:买 1:卖",
  1970. "name": "buyOrSell",
  1971. "in": "query"
  1972. },
  1973. {
  1974. "type": "integer",
  1975. "description": "关联委托单号",
  1976. "name": "orderID",
  1977. "in": "query"
  1978. }
  1979. ],
  1980. "responses": {
  1981. "200": {
  1982. "description": "OK",
  1983. "schema": {
  1984. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1985. }
  1986. },
  1987. "500": {
  1988. "description": "Internal Server Error",
  1989. "schema": {
  1990. "$ref": "#/definitions/app.Response"
  1991. }
  1992. }
  1993. }
  1994. }
  1995. },
  1996. "/Ermcp/QueryErmcpTradePosition": {
  1997. "get": {
  1998. "security": [
  1999. {
  2000. "ApiKeyAuth": []
  2001. }
  2002. ],
  2003. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2004. "produces": [
  2005. "application/json"
  2006. ],
  2007. "tags": [
  2008. "企业风险管理(app)"
  2009. ],
  2010. "summary": "获取企业风管期货持仓头寸信息",
  2011. "parameters": [
  2012. {
  2013. "type": "integer",
  2014. "description": "资金账户ID",
  2015. "name": "accountID",
  2016. "in": "query",
  2017. "required": true
  2018. },
  2019. {
  2020. "type": "integer",
  2021. "description": "所属市场ID",
  2022. "name": "marketID",
  2023. "in": "query"
  2024. }
  2025. ],
  2026. "responses": {
  2027. "200": {
  2028. "description": "OK",
  2029. "schema": {
  2030. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2031. }
  2032. },
  2033. "500": {
  2034. "description": "Internal Server Error",
  2035. "schema": {
  2036. "$ref": "#/definitions/app.Response"
  2037. }
  2038. }
  2039. }
  2040. }
  2041. },
  2042. "/Ermcp/QueryExposureDetail": {
  2043. "get": {
  2044. "security": [
  2045. {
  2046. "ApiKeyAuth": []
  2047. }
  2048. ],
  2049. "produces": [
  2050. "application/json"
  2051. ],
  2052. "tags": [
  2053. "企业风险管理(app)"
  2054. ],
  2055. "summary": "查询敞口现货明细",
  2056. "parameters": [
  2057. {
  2058. "type": "integer",
  2059. "description": "所属机构ID",
  2060. "name": "areaUserId",
  2061. "in": "query",
  2062. "required": true
  2063. },
  2064. {
  2065. "type": "integer",
  2066. "description": "套保商品",
  2067. "name": "middleGoodsId",
  2068. "in": "query",
  2069. "required": true
  2070. }
  2071. ],
  2072. "responses": {
  2073. "200": {
  2074. "description": "OK",
  2075. "schema": {
  2076. "type": "array",
  2077. "items": {
  2078. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2079. }
  2080. }
  2081. },
  2082. "500": {
  2083. "description": "Internal Server Error",
  2084. "schema": {
  2085. "$ref": "#/definitions/app.Response"
  2086. }
  2087. }
  2088. }
  2089. }
  2090. },
  2091. "/Ermcp/QueryExposureGoods": {
  2092. "get": {
  2093. "security": [
  2094. {
  2095. "ApiKeyAuth": []
  2096. }
  2097. ],
  2098. "produces": [
  2099. "application/json"
  2100. ],
  2101. "tags": [
  2102. "企业风险管理(app)"
  2103. ],
  2104. "summary": "查询敞口主力合约",
  2105. "parameters": [
  2106. {
  2107. "type": "integer",
  2108. "description": "套保商品id",
  2109. "name": "middlegoodsid",
  2110. "in": "query",
  2111. "required": true
  2112. }
  2113. ],
  2114. "responses": {
  2115. "200": {
  2116. "description": "OK",
  2117. "schema": {
  2118. "type": "array",
  2119. "items": {
  2120. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2121. }
  2122. }
  2123. },
  2124. "500": {
  2125. "description": "Internal Server Error",
  2126. "schema": {
  2127. "$ref": "#/definitions/app.Response"
  2128. }
  2129. }
  2130. }
  2131. }
  2132. },
  2133. "/Ermcp/QueryExposureHedgePosition": {
  2134. "get": {
  2135. "security": [
  2136. {
  2137. "ApiKeyAuth": []
  2138. }
  2139. ],
  2140. "produces": [
  2141. "application/json"
  2142. ],
  2143. "tags": [
  2144. "企业风险管理(app)"
  2145. ],
  2146. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2147. "parameters": [
  2148. {
  2149. "type": "integer",
  2150. "description": "用户id",
  2151. "name": "userid",
  2152. "in": "query",
  2153. "required": true
  2154. }
  2155. ],
  2156. "responses": {
  2157. "200": {
  2158. "description": "OK",
  2159. "schema": {
  2160. "type": "array",
  2161. "items": {
  2162. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2163. }
  2164. }
  2165. },
  2166. "500": {
  2167. "description": "Internal Server Error",
  2168. "schema": {
  2169. "$ref": "#/definitions/app.Response"
  2170. }
  2171. }
  2172. }
  2173. }
  2174. },
  2175. "/Ermcp/QueryExposureHedgePositionDetail": {
  2176. "get": {
  2177. "security": [
  2178. {
  2179. "ApiKeyAuth": []
  2180. }
  2181. ],
  2182. "produces": [
  2183. "application/json"
  2184. ],
  2185. "tags": [
  2186. "企业风险管理(app)"
  2187. ],
  2188. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2189. "parameters": [
  2190. {
  2191. "type": "integer",
  2192. "description": "所属机构ID",
  2193. "name": "userid",
  2194. "in": "query",
  2195. "required": true
  2196. },
  2197. {
  2198. "type": "integer",
  2199. "description": "商品id",
  2200. "name": "goodsId",
  2201. "in": "query",
  2202. "required": true
  2203. }
  2204. ],
  2205. "responses": {
  2206. "200": {
  2207. "description": "OK",
  2208. "schema": {
  2209. "type": "array",
  2210. "items": {
  2211. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2212. }
  2213. }
  2214. },
  2215. "500": {
  2216. "description": "Internal Server Error",
  2217. "schema": {
  2218. "$ref": "#/definitions/app.Response"
  2219. }
  2220. }
  2221. }
  2222. }
  2223. },
  2224. "/Ermcp/QueryExposureSpot": {
  2225. "get": {
  2226. "security": [
  2227. {
  2228. "ApiKeyAuth": []
  2229. }
  2230. ],
  2231. "produces": [
  2232. "application/json"
  2233. ],
  2234. "tags": [
  2235. "企业风险管理(app)"
  2236. ],
  2237. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2238. "parameters": [
  2239. {
  2240. "type": "integer",
  2241. "description": "所属机构ID",
  2242. "name": "areaUserId",
  2243. "in": "query",
  2244. "required": true
  2245. }
  2246. ],
  2247. "responses": {
  2248. "200": {
  2249. "description": "OK",
  2250. "schema": {
  2251. "type": "array",
  2252. "items": {
  2253. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2254. }
  2255. }
  2256. },
  2257. "500": {
  2258. "description": "Internal Server Error",
  2259. "schema": {
  2260. "$ref": "#/definitions/app.Response"
  2261. }
  2262. }
  2263. }
  2264. }
  2265. },
  2266. "/Ermcp/QueryExposureSpotDetail": {
  2267. "get": {
  2268. "security": [
  2269. {
  2270. "ApiKeyAuth": []
  2271. }
  2272. ],
  2273. "produces": [
  2274. "application/json"
  2275. ],
  2276. "tags": [
  2277. "企业风险管理(app)"
  2278. ],
  2279. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2280. "parameters": [
  2281. {
  2282. "type": "integer",
  2283. "description": "所属机构ID",
  2284. "name": "areaUserId",
  2285. "in": "query",
  2286. "required": true
  2287. },
  2288. {
  2289. "type": "integer",
  2290. "description": "现货品种ID",
  2291. "name": "wrstandardId",
  2292. "in": "query",
  2293. "required": true
  2294. }
  2295. ],
  2296. "responses": {
  2297. "200": {
  2298. "description": "OK",
  2299. "schema": {
  2300. "type": "array",
  2301. "items": {
  2302. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2303. }
  2304. }
  2305. },
  2306. "500": {
  2307. "description": "Internal Server Error",
  2308. "schema": {
  2309. "$ref": "#/definitions/app.Response"
  2310. }
  2311. }
  2312. }
  2313. }
  2314. },
  2315. "/Ermcp/QueryFuturesCompany": {
  2316. "get": {
  2317. "security": [
  2318. {
  2319. "ApiKeyAuth": []
  2320. }
  2321. ],
  2322. "produces": [
  2323. "application/json"
  2324. ],
  2325. "tags": [
  2326. "企业风险管理(app)"
  2327. ],
  2328. "summary": "查询期货公司",
  2329. "responses": {
  2330. "200": {
  2331. "description": "OK",
  2332. "schema": {
  2333. "type": "array",
  2334. "items": {
  2335. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2336. }
  2337. }
  2338. },
  2339. "500": {
  2340. "description": "Internal Server Error",
  2341. "schema": {
  2342. "$ref": "#/definitions/app.Response"
  2343. }
  2344. }
  2345. }
  2346. }
  2347. },
  2348. "/Ermcp/QueryGGConvertConfig": {
  2349. "get": {
  2350. "security": [
  2351. {
  2352. "ApiKeyAuth": []
  2353. }
  2354. ],
  2355. "produces": [
  2356. "application/json"
  2357. ],
  2358. "tags": [
  2359. "企业风险管理(app)"
  2360. ],
  2361. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2362. "parameters": [
  2363. {
  2364. "type": "integer",
  2365. "description": "品种id(不填则查所有)",
  2366. "name": "goodsgroupid",
  2367. "in": "query"
  2368. }
  2369. ],
  2370. "responses": {
  2371. "200": {
  2372. "description": "OK",
  2373. "schema": {
  2374. "type": "array",
  2375. "items": {
  2376. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2377. }
  2378. }
  2379. },
  2380. "500": {
  2381. "description": "Internal Server Error",
  2382. "schema": {
  2383. "$ref": "#/definitions/app.Response"
  2384. }
  2385. }
  2386. }
  2387. }
  2388. },
  2389. "/Ermcp/QueryGoodsBrand": {
  2390. "get": {
  2391. "security": [
  2392. {
  2393. "ApiKeyAuth": []
  2394. }
  2395. ],
  2396. "produces": [
  2397. "application/json"
  2398. ],
  2399. "tags": [
  2400. "企业风险管理(app)"
  2401. ],
  2402. "summary": "查询商品品牌",
  2403. "parameters": [
  2404. {
  2405. "type": "integer",
  2406. "description": "用户ID",
  2407. "name": "userid",
  2408. "in": "query",
  2409. "required": true
  2410. },
  2411. {
  2412. "type": "integer",
  2413. "description": "现货商品ID",
  2414. "name": "wrstandardid",
  2415. "in": "query"
  2416. }
  2417. ],
  2418. "responses": {
  2419. "200": {
  2420. "description": "OK",
  2421. "schema": {
  2422. "type": "array",
  2423. "items": {
  2424. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2425. }
  2426. }
  2427. },
  2428. "500": {
  2429. "description": "Internal Server Error",
  2430. "schema": {
  2431. "$ref": "#/definitions/app.Response"
  2432. }
  2433. }
  2434. }
  2435. }
  2436. },
  2437. "/Ermcp/QueryGoodsModel": {
  2438. "get": {
  2439. "security": [
  2440. {
  2441. "ApiKeyAuth": []
  2442. }
  2443. ],
  2444. "produces": [
  2445. "application/json"
  2446. ],
  2447. "tags": [
  2448. "企业风险管理(app)"
  2449. ],
  2450. "summary": "查询商品型号",
  2451. "parameters": [
  2452. {
  2453. "type": "integer",
  2454. "description": "用户ID",
  2455. "name": "userid",
  2456. "in": "query",
  2457. "required": true
  2458. }
  2459. ],
  2460. "responses": {
  2461. "200": {
  2462. "description": "OK",
  2463. "schema": {
  2464. "type": "array",
  2465. "items": {
  2466. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2467. }
  2468. }
  2469. },
  2470. "500": {
  2471. "description": "Internal Server Error",
  2472. "schema": {
  2473. "$ref": "#/definitions/app.Response"
  2474. }
  2475. }
  2476. }
  2477. }
  2478. },
  2479. "/Ermcp/QueryHisExposure": {
  2480. "get": {
  2481. "security": [
  2482. {
  2483. "ApiKeyAuth": []
  2484. }
  2485. ],
  2486. "produces": [
  2487. "application/json"
  2488. ],
  2489. "tags": [
  2490. "企业风险管理(app)"
  2491. ],
  2492. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2493. "parameters": [
  2494. {
  2495. "type": "integer",
  2496. "description": "用户id",
  2497. "name": "userid",
  2498. "in": "query",
  2499. "required": true
  2500. },
  2501. {
  2502. "type": "integer",
  2503. "description": "每个品种记录数",
  2504. "name": "lastNum",
  2505. "in": "query",
  2506. "required": true
  2507. }
  2508. ],
  2509. "responses": {
  2510. "200": {
  2511. "description": "OK",
  2512. "schema": {
  2513. "type": "array",
  2514. "items": {
  2515. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2516. }
  2517. }
  2518. },
  2519. "500": {
  2520. "description": "Internal Server Error",
  2521. "schema": {
  2522. "$ref": "#/definitions/app.Response"
  2523. }
  2524. }
  2525. }
  2526. }
  2527. },
  2528. "/Ermcp/QueryMiddleGoods": {
  2529. "get": {
  2530. "security": [
  2531. {
  2532. "ApiKeyAuth": []
  2533. }
  2534. ],
  2535. "produces": [
  2536. "application/json"
  2537. ],
  2538. "tags": [
  2539. "企业风险管理(app)"
  2540. ],
  2541. "summary": "查询套保品种(菜单:套保品种)",
  2542. "parameters": [
  2543. {
  2544. "type": "integer",
  2545. "description": "所属机构ID",
  2546. "name": "userid",
  2547. "in": "query",
  2548. "required": true
  2549. },
  2550. {
  2551. "type": "integer",
  2552. "description": "状态 0-停用 1-正常",
  2553. "name": "status",
  2554. "in": "query",
  2555. "required": true
  2556. }
  2557. ],
  2558. "responses": {
  2559. "200": {
  2560. "description": "OK",
  2561. "schema": {
  2562. "type": "array",
  2563. "items": {
  2564. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2565. }
  2566. }
  2567. },
  2568. "500": {
  2569. "description": "Internal Server Error",
  2570. "schema": {
  2571. "$ref": "#/definitions/app.Response"
  2572. }
  2573. }
  2574. }
  2575. }
  2576. },
  2577. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2578. "get": {
  2579. "security": [
  2580. {
  2581. "ApiKeyAuth": []
  2582. }
  2583. ],
  2584. "produces": [
  2585. "application/json"
  2586. ],
  2587. "tags": [
  2588. "企业风险管理(app)"
  2589. ],
  2590. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2591. "parameters": [
  2592. {
  2593. "type": "integer",
  2594. "description": "所属机构ID",
  2595. "name": "userid",
  2596. "in": "query",
  2597. "required": true
  2598. },
  2599. {
  2600. "type": "integer",
  2601. "description": "套保品种id",
  2602. "name": "middlegoodsid",
  2603. "in": "query",
  2604. "required": true
  2605. }
  2606. ],
  2607. "responses": {
  2608. "200": {
  2609. "description": "OK",
  2610. "schema": {
  2611. "type": "array",
  2612. "items": {
  2613. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2614. }
  2615. }
  2616. },
  2617. "500": {
  2618. "description": "Internal Server Error",
  2619. "schema": {
  2620. "$ref": "#/definitions/app.Response"
  2621. }
  2622. }
  2623. }
  2624. }
  2625. },
  2626. "/Ermcp/QueryMiddleGoodsDetail": {
  2627. "get": {
  2628. "security": [
  2629. {
  2630. "ApiKeyAuth": []
  2631. }
  2632. ],
  2633. "produces": [
  2634. "application/json"
  2635. ],
  2636. "tags": [
  2637. "企业风险管理(app)"
  2638. ],
  2639. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2640. "parameters": [
  2641. {
  2642. "type": "integer",
  2643. "description": "所属机构ID",
  2644. "name": "userid",
  2645. "in": "query",
  2646. "required": true
  2647. },
  2648. {
  2649. "type": "integer",
  2650. "description": "套保品种id",
  2651. "name": "middlegoodsid",
  2652. "in": "query"
  2653. }
  2654. ],
  2655. "responses": {
  2656. "200": {
  2657. "description": "OK",
  2658. "schema": {
  2659. "type": "array",
  2660. "items": {
  2661. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2662. }
  2663. }
  2664. },
  2665. "500": {
  2666. "description": "Internal Server Error",
  2667. "schema": {
  2668. "$ref": "#/definitions/app.Response"
  2669. }
  2670. }
  2671. }
  2672. }
  2673. },
  2674. "/Ermcp/QueryPendingAuditInfo": {
  2675. "get": {
  2676. "security": [
  2677. {
  2678. "ApiKeyAuth": []
  2679. }
  2680. ],
  2681. "produces": [
  2682. "application/json"
  2683. ],
  2684. "tags": [
  2685. "企业风险管理(app)"
  2686. ],
  2687. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2688. "parameters": [
  2689. {
  2690. "type": "integer",
  2691. "description": "用户ID",
  2692. "name": "UserId",
  2693. "in": "query",
  2694. "required": true
  2695. }
  2696. ],
  2697. "responses": {
  2698. "200": {
  2699. "description": "OK",
  2700. "schema": {
  2701. "type": "array",
  2702. "items": {
  2703. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2704. }
  2705. }
  2706. },
  2707. "500": {
  2708. "description": "Internal Server Error",
  2709. "schema": {
  2710. "$ref": "#/definitions/app.Response"
  2711. }
  2712. }
  2713. }
  2714. }
  2715. },
  2716. "/Ermcp/QueryRealtimeExposure": {
  2717. "get": {
  2718. "security": [
  2719. {
  2720. "ApiKeyAuth": []
  2721. }
  2722. ],
  2723. "produces": [
  2724. "application/json"
  2725. ],
  2726. "tags": [
  2727. "企业风险管理(app)"
  2728. ],
  2729. "summary": "查询实时敞口",
  2730. "parameters": [
  2731. {
  2732. "type": "integer",
  2733. "description": "所属机构ID",
  2734. "name": "userid",
  2735. "in": "query",
  2736. "required": true
  2737. }
  2738. ],
  2739. "responses": {
  2740. "200": {
  2741. "description": "OK",
  2742. "schema": {
  2743. "type": "array",
  2744. "items": {
  2745. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2746. }
  2747. }
  2748. },
  2749. "500": {
  2750. "description": "Internal Server Error",
  2751. "schema": {
  2752. "$ref": "#/definitions/app.Response"
  2753. }
  2754. }
  2755. }
  2756. }
  2757. },
  2758. "/Ermcp/QueryRealtimeExposurePosition": {
  2759. "get": {
  2760. "security": [
  2761. {
  2762. "ApiKeyAuth": []
  2763. }
  2764. ],
  2765. "produces": [
  2766. "application/json"
  2767. ],
  2768. "tags": [
  2769. "企业风险管理(app)"
  2770. ],
  2771. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2772. "parameters": [
  2773. {
  2774. "type": "integer",
  2775. "description": "用户id",
  2776. "name": "userid",
  2777. "in": "query",
  2778. "required": true
  2779. },
  2780. {
  2781. "type": "integer",
  2782. "description": "套保商品ID",
  2783. "name": "middleGoodsId",
  2784. "in": "query",
  2785. "required": true
  2786. }
  2787. ],
  2788. "responses": {
  2789. "200": {
  2790. "description": "OK",
  2791. "schema": {
  2792. "type": "array",
  2793. "items": {
  2794. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2795. }
  2796. }
  2797. },
  2798. "500": {
  2799. "description": "Internal Server Error",
  2800. "schema": {
  2801. "$ref": "#/definitions/app.Response"
  2802. }
  2803. }
  2804. }
  2805. }
  2806. },
  2807. "/Ermcp/QueryRoleMenu": {
  2808. "get": {
  2809. "security": [
  2810. {
  2811. "ApiKeyAuth": []
  2812. }
  2813. ],
  2814. "produces": [
  2815. "application/json"
  2816. ],
  2817. "tags": [
  2818. "企业风险管理(app)"
  2819. ],
  2820. "summary": "查询角色菜单和权限",
  2821. "parameters": [
  2822. {
  2823. "type": "integer",
  2824. "description": "登录ID",
  2825. "name": "loginid",
  2826. "in": "query",
  2827. "required": true
  2828. },
  2829. {
  2830. "type": "integer",
  2831. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2832. "name": "menutype",
  2833. "in": "query"
  2834. }
  2835. ],
  2836. "responses": {
  2837. "200": {
  2838. "description": "OK",
  2839. "schema": {
  2840. "type": "array",
  2841. "items": {
  2842. "$ref": "#/definitions/models.RoleMenu"
  2843. }
  2844. }
  2845. },
  2846. "500": {
  2847. "description": "Internal Server Error",
  2848. "schema": {
  2849. "$ref": "#/definitions/app.Response"
  2850. }
  2851. }
  2852. }
  2853. }
  2854. },
  2855. "/Ermcp/QueryTradeConfigTMP": {
  2856. "get": {
  2857. "security": [
  2858. {
  2859. "ApiKeyAuth": []
  2860. }
  2861. ],
  2862. "produces": [
  2863. "application/json"
  2864. ],
  2865. "tags": [
  2866. "企业风险管理(app)"
  2867. ],
  2868. "summary": "查询交易模板配置",
  2869. "parameters": [
  2870. {
  2871. "type": "integer",
  2872. "description": "所属机构id",
  2873. "name": "areauserid",
  2874. "in": "query"
  2875. }
  2876. ],
  2877. "responses": {
  2878. "200": {
  2879. "description": "OK",
  2880. "schema": {
  2881. "type": "array",
  2882. "items": {
  2883. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2884. }
  2885. }
  2886. },
  2887. "500": {
  2888. "description": "Internal Server Error",
  2889. "schema": {
  2890. "$ref": "#/definitions/app.Response"
  2891. }
  2892. }
  2893. }
  2894. }
  2895. },
  2896. "/Ermcp/QueryUserInfo": {
  2897. "get": {
  2898. "security": [
  2899. {
  2900. "ApiKeyAuth": []
  2901. }
  2902. ],
  2903. "produces": [
  2904. "application/json"
  2905. ],
  2906. "tags": [
  2907. "企业风险管理(app)"
  2908. ],
  2909. "summary": "查询客户资料",
  2910. "parameters": [
  2911. {
  2912. "type": "integer",
  2913. "description": "所属机构用户ID",
  2914. "name": "MemberUserID",
  2915. "in": "query",
  2916. "required": true
  2917. },
  2918. {
  2919. "type": "integer",
  2920. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2921. "name": "queryType",
  2922. "in": "query",
  2923. "required": true
  2924. }
  2925. ],
  2926. "responses": {
  2927. "200": {
  2928. "description": "OK",
  2929. "schema": {
  2930. "type": "array",
  2931. "items": {
  2932. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2933. }
  2934. }
  2935. },
  2936. "500": {
  2937. "description": "Internal Server Error",
  2938. "schema": {
  2939. "$ref": "#/definitions/app.Response"
  2940. }
  2941. }
  2942. }
  2943. }
  2944. },
  2945. "/Ermcp/QueryWarehouseInfo": {
  2946. "get": {
  2947. "security": [
  2948. {
  2949. "ApiKeyAuth": []
  2950. }
  2951. ],
  2952. "produces": [
  2953. "application/json"
  2954. ],
  2955. "tags": [
  2956. "企业风险管理(app)"
  2957. ],
  2958. "summary": "查询仓库信息",
  2959. "parameters": [
  2960. {
  2961. "type": "integer",
  2962. "description": "用户ID",
  2963. "name": "userid",
  2964. "in": "query",
  2965. "required": true
  2966. },
  2967. {
  2968. "type": "string",
  2969. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2970. "name": "status",
  2971. "in": "query"
  2972. }
  2973. ],
  2974. "responses": {
  2975. "200": {
  2976. "description": "OK",
  2977. "schema": {
  2978. "type": "array",
  2979. "items": {
  2980. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2981. }
  2982. }
  2983. },
  2984. "500": {
  2985. "description": "Internal Server Error",
  2986. "schema": {
  2987. "$ref": "#/definitions/app.Response"
  2988. }
  2989. }
  2990. }
  2991. }
  2992. },
  2993. "/Ermcp3/QryAreaExpourseContractDetail": {
  2994. "get": {
  2995. "security": [
  2996. {
  2997. "ApiKeyAuth": []
  2998. }
  2999. ],
  3000. "produces": [
  3001. "application/json"
  3002. ],
  3003. "tags": [
  3004. "企业风险管理v3(app)"
  3005. ],
  3006. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3007. "parameters": [
  3008. {
  3009. "type": "integer",
  3010. "description": "用户ID",
  3011. "name": "userid",
  3012. "in": "query",
  3013. "required": true
  3014. },
  3015. {
  3016. "type": "integer",
  3017. "description": "套保商品id",
  3018. "name": "middlegoodsid",
  3019. "in": "query",
  3020. "required": true
  3021. },
  3022. {
  3023. "type": "integer",
  3024. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3025. "name": "cycletype",
  3026. "in": "query",
  3027. "required": true
  3028. },
  3029. {
  3030. "type": "string",
  3031. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3032. "name": "cycletime",
  3033. "in": "query",
  3034. "required": true
  3035. }
  3036. ],
  3037. "responses": {
  3038. "200": {
  3039. "description": "OK",
  3040. "schema": {
  3041. "type": "array",
  3042. "items": {
  3043. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3044. }
  3045. }
  3046. },
  3047. "500": {
  3048. "description": "Internal Server Error",
  3049. "schema": {
  3050. "$ref": "#/definitions/app.Response"
  3051. }
  3052. }
  3053. }
  3054. }
  3055. },
  3056. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3057. "get": {
  3058. "security": [
  3059. {
  3060. "ApiKeyAuth": []
  3061. }
  3062. ],
  3063. "produces": [
  3064. "application/json"
  3065. ],
  3066. "tags": [
  3067. "企业风险管理v3(app)"
  3068. ],
  3069. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3070. "parameters": [
  3071. {
  3072. "type": "integer",
  3073. "description": "用户ID",
  3074. "name": "userid",
  3075. "in": "query",
  3076. "required": true
  3077. },
  3078. {
  3079. "type": "integer",
  3080. "description": "套保商品id",
  3081. "name": "middlegoodsid",
  3082. "in": "query",
  3083. "required": true
  3084. },
  3085. {
  3086. "type": "integer",
  3087. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3088. "name": "cycletype",
  3089. "in": "query",
  3090. "required": true
  3091. },
  3092. {
  3093. "type": "string",
  3094. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3095. "name": "cycletime",
  3096. "in": "query",
  3097. "required": true
  3098. }
  3099. ],
  3100. "responses": {
  3101. "200": {
  3102. "description": "OK",
  3103. "schema": {
  3104. "type": "array",
  3105. "items": {
  3106. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3107. }
  3108. }
  3109. },
  3110. "500": {
  3111. "description": "Internal Server Error",
  3112. "schema": {
  3113. "$ref": "#/definitions/app.Response"
  3114. }
  3115. }
  3116. }
  3117. }
  3118. },
  3119. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3120. "get": {
  3121. "security": [
  3122. {
  3123. "ApiKeyAuth": []
  3124. }
  3125. ],
  3126. "produces": [
  3127. "application/json"
  3128. ],
  3129. "tags": [
  3130. "企业风险管理v3(app)"
  3131. ],
  3132. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3133. "parameters": [
  3134. {
  3135. "type": "integer",
  3136. "description": "用户ID",
  3137. "name": "userid",
  3138. "in": "query",
  3139. "required": true
  3140. },
  3141. {
  3142. "type": "integer",
  3143. "description": "套保商品id",
  3144. "name": "middlegoodsid",
  3145. "in": "query",
  3146. "required": true
  3147. },
  3148. {
  3149. "type": "integer",
  3150. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3151. "name": "cycletype",
  3152. "in": "query",
  3153. "required": true
  3154. },
  3155. {
  3156. "type": "string",
  3157. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3158. "name": "cycletime",
  3159. "in": "query",
  3160. "required": true
  3161. }
  3162. ],
  3163. "responses": {
  3164. "200": {
  3165. "description": "OK",
  3166. "schema": {
  3167. "type": "array",
  3168. "items": {
  3169. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3170. }
  3171. }
  3172. },
  3173. "500": {
  3174. "description": "Internal Server Error",
  3175. "schema": {
  3176. "$ref": "#/definitions/app.Response"
  3177. }
  3178. }
  3179. }
  3180. }
  3181. },
  3182. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3183. "get": {
  3184. "security": [
  3185. {
  3186. "ApiKeyAuth": []
  3187. }
  3188. ],
  3189. "produces": [
  3190. "application/json"
  3191. ],
  3192. "tags": [
  3193. "企业风险管理v3(app)"
  3194. ],
  3195. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3196. "parameters": [
  3197. {
  3198. "type": "integer",
  3199. "description": "用户ID",
  3200. "name": "userid",
  3201. "in": "query",
  3202. "required": true
  3203. },
  3204. {
  3205. "type": "integer",
  3206. "description": "套保商品id",
  3207. "name": "middlegoodsid",
  3208. "in": "query",
  3209. "required": true
  3210. },
  3211. {
  3212. "type": "integer",
  3213. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3214. "name": "cycletype",
  3215. "in": "query",
  3216. "required": true
  3217. },
  3218. {
  3219. "type": "string",
  3220. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3221. "name": "cycletime",
  3222. "in": "query",
  3223. "required": true
  3224. }
  3225. ],
  3226. "responses": {
  3227. "200": {
  3228. "description": "OK",
  3229. "schema": {
  3230. "type": "array",
  3231. "items": {
  3232. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3233. }
  3234. }
  3235. },
  3236. "500": {
  3237. "description": "Internal Server Error",
  3238. "schema": {
  3239. "$ref": "#/definitions/app.Response"
  3240. }
  3241. }
  3242. }
  3243. }
  3244. },
  3245. "/Ermcp3/QryAreaExpourseReport": {
  3246. "get": {
  3247. "security": [
  3248. {
  3249. "ApiKeyAuth": []
  3250. }
  3251. ],
  3252. "produces": [
  3253. "application/json"
  3254. ],
  3255. "tags": [
  3256. "企业风险管理v3(app)"
  3257. ],
  3258. "summary": "查询敞口报表",
  3259. "parameters": [
  3260. {
  3261. "type": "integer",
  3262. "description": "用户ID",
  3263. "name": "userid",
  3264. "in": "query",
  3265. "required": true
  3266. },
  3267. {
  3268. "type": "integer",
  3269. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3270. "name": "querytype",
  3271. "in": "query",
  3272. "required": true
  3273. },
  3274. {
  3275. "type": "integer",
  3276. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3277. "name": "cycletype",
  3278. "in": "query",
  3279. "required": true
  3280. },
  3281. {
  3282. "type": "string",
  3283. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3284. "name": "cycletime",
  3285. "in": "query",
  3286. "required": true
  3287. }
  3288. ],
  3289. "responses": {
  3290. "200": {
  3291. "description": "OK",
  3292. "schema": {
  3293. "type": "array",
  3294. "items": {
  3295. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3296. }
  3297. }
  3298. },
  3299. "500": {
  3300. "description": "Internal Server Error",
  3301. "schema": {
  3302. "$ref": "#/definitions/app.Response"
  3303. }
  3304. }
  3305. }
  3306. }
  3307. },
  3308. "/Ermcp3/QryAreaSpotplReport": {
  3309. "get": {
  3310. "security": [
  3311. {
  3312. "ApiKeyAuth": []
  3313. }
  3314. ],
  3315. "produces": [
  3316. "application/json"
  3317. ],
  3318. "tags": [
  3319. "企业风险管理v3(app)"
  3320. ],
  3321. "summary": "查询现货报表",
  3322. "parameters": [
  3323. {
  3324. "type": "integer",
  3325. "description": "用户ID",
  3326. "name": "userid",
  3327. "in": "query",
  3328. "required": true
  3329. },
  3330. {
  3331. "type": "integer",
  3332. "description": "查询类型 1-报表 2-报表明细",
  3333. "name": "querytype",
  3334. "in": "query",
  3335. "required": true
  3336. },
  3337. {
  3338. "type": "integer",
  3339. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3340. "name": "cycletype",
  3341. "in": "query",
  3342. "required": true
  3343. },
  3344. {
  3345. "type": "string",
  3346. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3347. "name": "cycletime",
  3348. "in": "query",
  3349. "required": true
  3350. },
  3351. {
  3352. "type": "integer",
  3353. "description": "现货品种id(明细必填)",
  3354. "name": "deliverygoodsid",
  3355. "in": "query"
  3356. },
  3357. {
  3358. "type": "integer",
  3359. "description": "币种id(明细必填)",
  3360. "name": "currencyid",
  3361. "in": "query"
  3362. }
  3363. ],
  3364. "responses": {
  3365. "200": {
  3366. "description": "OK",
  3367. "schema": {
  3368. "type": "array",
  3369. "items": {
  3370. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3371. }
  3372. }
  3373. },
  3374. "500": {
  3375. "description": "Internal Server Error",
  3376. "schema": {
  3377. "$ref": "#/definitions/app.Response"
  3378. }
  3379. }
  3380. }
  3381. }
  3382. },
  3383. "/Ermcp3/QryAreaStockReport": {
  3384. "get": {
  3385. "security": [
  3386. {
  3387. "ApiKeyAuth": []
  3388. }
  3389. ],
  3390. "produces": [
  3391. "application/json"
  3392. ],
  3393. "tags": [
  3394. "企业风险管理v3(app)"
  3395. ],
  3396. "summary": "查询库存报表",
  3397. "parameters": [
  3398. {
  3399. "type": "integer",
  3400. "description": "用户ID",
  3401. "name": "userid",
  3402. "in": "query",
  3403. "required": true
  3404. },
  3405. {
  3406. "type": "integer",
  3407. "description": "查询类型 1-报表 2-报表明细",
  3408. "name": "querytype",
  3409. "in": "query",
  3410. "required": true
  3411. },
  3412. {
  3413. "type": "integer",
  3414. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3415. "name": "cycletype",
  3416. "in": "query",
  3417. "required": true
  3418. },
  3419. {
  3420. "type": "string",
  3421. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3422. "name": "cycletime",
  3423. "in": "query",
  3424. "required": true
  3425. },
  3426. {
  3427. "type": "string",
  3428. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3429. "name": "sumfields",
  3430. "in": "query"
  3431. },
  3432. {
  3433. "type": "integer",
  3434. "description": "品种ID",
  3435. "name": "deliverygoodsid",
  3436. "in": "query"
  3437. },
  3438. {
  3439. "type": "integer",
  3440. "description": "品类ID",
  3441. "name": "wrstandardid",
  3442. "in": "query"
  3443. },
  3444. {
  3445. "type": "integer",
  3446. "description": "品牌ID",
  3447. "name": "spotgoodsbrandid",
  3448. "in": "query"
  3449. },
  3450. {
  3451. "type": "integer",
  3452. "description": "仓库ID",
  3453. "name": "warehouseinfoid",
  3454. "in": "query"
  3455. }
  3456. ],
  3457. "responses": {
  3458. "200": {
  3459. "description": "OK",
  3460. "schema": {
  3461. "type": "array",
  3462. "items": {
  3463. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3464. }
  3465. }
  3466. },
  3467. "500": {
  3468. "description": "Internal Server Error",
  3469. "schema": {
  3470. "$ref": "#/definitions/app.Response"
  3471. }
  3472. }
  3473. }
  3474. }
  3475. },
  3476. "/Ermcp3/QryAreaSumPL": {
  3477. "get": {
  3478. "security": [
  3479. {
  3480. "ApiKeyAuth": []
  3481. }
  3482. ],
  3483. "produces": [
  3484. "application/json"
  3485. ],
  3486. "tags": [
  3487. "企业风险管理v3(app)"
  3488. ],
  3489. "summary": "查询汇总损益表",
  3490. "parameters": [
  3491. {
  3492. "type": "integer",
  3493. "description": "用户ID",
  3494. "name": "userid",
  3495. "in": "query",
  3496. "required": true
  3497. },
  3498. {
  3499. "type": "integer",
  3500. "description": "查询类型 1-报表 2-报表明细",
  3501. "name": "querytype",
  3502. "in": "query",
  3503. "required": true
  3504. },
  3505. {
  3506. "type": "integer",
  3507. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3508. "name": "cycletype",
  3509. "in": "query",
  3510. "required": true
  3511. },
  3512. {
  3513. "type": "string",
  3514. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3515. "name": "cycletime",
  3516. "in": "query",
  3517. "required": true
  3518. },
  3519. {
  3520. "type": "integer",
  3521. "description": "币种id(明细必填)",
  3522. "name": "currencyid",
  3523. "in": "query"
  3524. }
  3525. ],
  3526. "responses": {
  3527. "200": {
  3528. "description": "OK",
  3529. "schema": {
  3530. "type": "array",
  3531. "items": {
  3532. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3533. }
  3534. }
  3535. },
  3536. "500": {
  3537. "description": "Internal Server Error",
  3538. "schema": {
  3539. "$ref": "#/definitions/app.Response"
  3540. }
  3541. }
  3542. }
  3543. }
  3544. },
  3545. "/Ermcp3/QryFinanceReport": {
  3546. "get": {
  3547. "security": [
  3548. {
  3549. "ApiKeyAuth": []
  3550. }
  3551. ],
  3552. "produces": [
  3553. "application/json"
  3554. ],
  3555. "tags": [
  3556. "企业风险管理v3(app)"
  3557. ],
  3558. "summary": "查询财务报表",
  3559. "parameters": [
  3560. {
  3561. "type": "integer",
  3562. "description": "用户ID",
  3563. "name": "userid",
  3564. "in": "query",
  3565. "required": true
  3566. },
  3567. {
  3568. "type": "integer",
  3569. "description": "查询类型 1-报表 2-报表明细",
  3570. "name": "querytype",
  3571. "in": "query",
  3572. "required": true
  3573. },
  3574. {
  3575. "type": "integer",
  3576. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3577. "name": "cycletype",
  3578. "in": "query",
  3579. "required": true
  3580. },
  3581. {
  3582. "type": "string",
  3583. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3584. "name": "cycletime",
  3585. "in": "query",
  3586. "required": true
  3587. },
  3588. {
  3589. "type": "integer",
  3590. "description": "币种id(报表明细必填)",
  3591. "name": "currencyid",
  3592. "in": "query"
  3593. },
  3594. {
  3595. "type": "string",
  3596. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3597. "name": "sumfields",
  3598. "in": "query"
  3599. }
  3600. ],
  3601. "responses": {
  3602. "200": {
  3603. "description": "OK",
  3604. "schema": {
  3605. "type": "array",
  3606. "items": {
  3607. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3608. }
  3609. }
  3610. },
  3611. "500": {
  3612. "description": "Internal Server Error",
  3613. "schema": {
  3614. "$ref": "#/definitions/app.Response"
  3615. }
  3616. }
  3617. }
  3618. }
  3619. },
  3620. "/Ermcp3/QrySCMiddleGoodsReport": {
  3621. "get": {
  3622. "security": [
  3623. {
  3624. "ApiKeyAuth": []
  3625. }
  3626. ],
  3627. "produces": [
  3628. "application/json"
  3629. ],
  3630. "tags": [
  3631. "企业风险管理v3(app)"
  3632. ],
  3633. "summary": "查询定价报表",
  3634. "parameters": [
  3635. {
  3636. "type": "integer",
  3637. "description": "用户ID",
  3638. "name": "userid",
  3639. "in": "query",
  3640. "required": true
  3641. },
  3642. {
  3643. "type": "integer",
  3644. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3645. "name": "cycletype",
  3646. "in": "query",
  3647. "required": true
  3648. },
  3649. {
  3650. "type": "string",
  3651. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3652. "name": "cycletime",
  3653. "in": "query",
  3654. "required": true
  3655. },
  3656. {
  3657. "type": "integer",
  3658. "description": "现货合同id",
  3659. "name": "spotcontractid",
  3660. "in": "query"
  3661. },
  3662. {
  3663. "type": "integer",
  3664. "description": "套保品种id",
  3665. "name": "middlegoodsid",
  3666. "in": "query"
  3667. },
  3668. {
  3669. "type": "integer",
  3670. "description": "现货品种id",
  3671. "name": "deliverygoodsid",
  3672. "in": "query"
  3673. },
  3674. {
  3675. "type": "integer",
  3676. "description": "现货商品id",
  3677. "name": "wrstandardid",
  3678. "in": "query"
  3679. }
  3680. ],
  3681. "responses": {
  3682. "200": {
  3683. "description": "OK",
  3684. "schema": {
  3685. "type": "array",
  3686. "items": {
  3687. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3688. }
  3689. }
  3690. },
  3691. "500": {
  3692. "description": "Internal Server Error",
  3693. "schema": {
  3694. "$ref": "#/definitions/app.Response"
  3695. }
  3696. }
  3697. }
  3698. }
  3699. },
  3700. "/Ermcp3/QryTaFutureDataReport": {
  3701. "get": {
  3702. "security": [
  3703. {
  3704. "ApiKeyAuth": []
  3705. }
  3706. ],
  3707. "produces": [
  3708. "application/json"
  3709. ],
  3710. "tags": [
  3711. "企业风险管理v3(app)"
  3712. ],
  3713. "summary": "查询期货报表",
  3714. "parameters": [
  3715. {
  3716. "type": "integer",
  3717. "description": "用户ID",
  3718. "name": "userid",
  3719. "in": "query",
  3720. "required": true
  3721. },
  3722. {
  3723. "type": "integer",
  3724. "description": "查询类型 1-报表 2-报表明细",
  3725. "name": "querytype",
  3726. "in": "query",
  3727. "required": true
  3728. },
  3729. {
  3730. "type": "integer",
  3731. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3732. "name": "cycletype",
  3733. "in": "query",
  3734. "required": true
  3735. },
  3736. {
  3737. "type": "string",
  3738. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3739. "name": "cycletime",
  3740. "in": "query",
  3741. "required": true
  3742. },
  3743. {
  3744. "type": "integer",
  3745. "description": "币种id(查明细必填)",
  3746. "name": "currencyid",
  3747. "in": "query"
  3748. },
  3749. {
  3750. "type": "integer",
  3751. "description": "品种id(查明细必填)",
  3752. "name": "goodsgroupid",
  3753. "in": "query"
  3754. },
  3755. {
  3756. "type": "integer",
  3757. "description": "商品id(查明细必填)",
  3758. "name": "goodsid",
  3759. "in": "query"
  3760. },
  3761. {
  3762. "type": "integer",
  3763. "description": "买卖方向(查明细必填)",
  3764. "name": "buyorsell",
  3765. "in": "query"
  3766. }
  3767. ],
  3768. "responses": {
  3769. "200": {
  3770. "description": "OK",
  3771. "schema": {
  3772. "type": "array",
  3773. "items": {
  3774. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3775. }
  3776. }
  3777. },
  3778. "500": {
  3779. "description": "Internal Server Error",
  3780. "schema": {
  3781. "$ref": "#/definitions/app.Response"
  3782. }
  3783. }
  3784. }
  3785. }
  3786. },
  3787. "/Ermcp3/QueryAreaStock": {
  3788. "get": {
  3789. "security": [
  3790. {
  3791. "ApiKeyAuth": []
  3792. }
  3793. ],
  3794. "produces": [
  3795. "application/json"
  3796. ],
  3797. "tags": [
  3798. "企业风险管理v3(app)"
  3799. ],
  3800. "summary": "查询机构库存(库存管理/当前库存)",
  3801. "parameters": [
  3802. {
  3803. "type": "integer",
  3804. "description": "用户ID",
  3805. "name": "userid",
  3806. "in": "query",
  3807. "required": true
  3808. }
  3809. ],
  3810. "responses": {
  3811. "200": {
  3812. "description": "OK",
  3813. "schema": {
  3814. "type": "array",
  3815. "items": {
  3816. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3817. }
  3818. }
  3819. },
  3820. "500": {
  3821. "description": "Internal Server Error",
  3822. "schema": {
  3823. "$ref": "#/definitions/app.Response"
  3824. }
  3825. }
  3826. }
  3827. }
  3828. },
  3829. "/Ermcp3/QueryAreaStockApply": {
  3830. "get": {
  3831. "security": [
  3832. {
  3833. "ApiKeyAuth": []
  3834. }
  3835. ],
  3836. "produces": [
  3837. "application/json"
  3838. ],
  3839. "tags": [
  3840. "企业风险管理v3(app)"
  3841. ],
  3842. "summary": "查询库存申请(出入库记录|库存审核)",
  3843. "parameters": [
  3844. {
  3845. "type": "integer",
  3846. "description": "用户ID",
  3847. "name": "userid",
  3848. "in": "query",
  3849. "required": true
  3850. },
  3851. {
  3852. "type": "integer",
  3853. "description": "用户类型 2-机构 7-企业成员",
  3854. "name": "usertype",
  3855. "in": "query"
  3856. },
  3857. {
  3858. "type": "integer",
  3859. "description": "现货商品ID",
  3860. "name": "deliverygoodsid",
  3861. "in": "query"
  3862. },
  3863. {
  3864. "type": "string",
  3865. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3866. "name": "inouttype",
  3867. "in": "query"
  3868. },
  3869. {
  3870. "type": "integer",
  3871. "description": "合同ID",
  3872. "name": "spotcontractid",
  3873. "in": "query"
  3874. },
  3875. {
  3876. "type": "integer",
  3877. "description": "品类ID",
  3878. "name": "wrstandardid",
  3879. "in": "query"
  3880. },
  3881. {
  3882. "type": "integer",
  3883. "description": "品牌ID",
  3884. "name": "spotgoodsbrandid",
  3885. "in": "query"
  3886. },
  3887. {
  3888. "type": "integer",
  3889. "description": "仓库ID",
  3890. "name": "warehouseinfoid",
  3891. "in": "query"
  3892. },
  3893. {
  3894. "type": "string",
  3895. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3896. "name": "applystatus",
  3897. "in": "query"
  3898. }
  3899. ],
  3900. "responses": {
  3901. "200": {
  3902. "description": "OK",
  3903. "schema": {
  3904. "type": "array",
  3905. "items": {
  3906. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3907. }
  3908. }
  3909. },
  3910. "500": {
  3911. "description": "Internal Server Error",
  3912. "schema": {
  3913. "$ref": "#/definitions/app.Response"
  3914. }
  3915. }
  3916. }
  3917. }
  3918. },
  3919. "/Ermcp3/QueryAreaStockApplySum": {
  3920. "get": {
  3921. "security": [
  3922. {
  3923. "ApiKeyAuth": []
  3924. }
  3925. ],
  3926. "produces": [
  3927. "application/json"
  3928. ],
  3929. "tags": [
  3930. "企业风险管理v3(app)"
  3931. ],
  3932. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3933. "parameters": [
  3934. {
  3935. "type": "integer",
  3936. "description": "合同ID",
  3937. "name": "spotcontractid",
  3938. "in": "query",
  3939. "required": true
  3940. }
  3941. ],
  3942. "responses": {
  3943. "200": {
  3944. "description": "OK",
  3945. "schema": {
  3946. "type": "array",
  3947. "items": {
  3948. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3949. }
  3950. }
  3951. },
  3952. "500": {
  3953. "description": "Internal Server Error",
  3954. "schema": {
  3955. "$ref": "#/definitions/app.Response"
  3956. }
  3957. }
  3958. }
  3959. }
  3960. },
  3961. "/Ermcp3/QueryDGFactoryItem": {
  3962. "get": {
  3963. "security": [
  3964. {
  3965. "ApiKeyAuth": []
  3966. }
  3967. ],
  3968. "produces": [
  3969. "application/json"
  3970. ],
  3971. "tags": [
  3972. "企业风险管理v3(app)"
  3973. ],
  3974. "summary": "查询品种要素定义项",
  3975. "parameters": [
  3976. {
  3977. "type": "integer",
  3978. "description": "用户id",
  3979. "name": "userid",
  3980. "in": "query"
  3981. },
  3982. {
  3983. "type": "integer",
  3984. "description": "用户类型 2-机构 7-企业成员",
  3985. "name": "usertype",
  3986. "in": "query"
  3987. },
  3988. {
  3989. "type": "integer",
  3990. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3991. "name": "dgfactoryitemid",
  3992. "in": "query"
  3993. },
  3994. {
  3995. "type": "integer",
  3996. "description": "现货品种ID",
  3997. "name": "deliverygoodsid",
  3998. "in": "query"
  3999. },
  4000. {
  4001. "type": "integer",
  4002. "description": "要素项类型",
  4003. "name": "dgfactoryitemtypeid",
  4004. "in": "query"
  4005. },
  4006. {
  4007. "type": "integer",
  4008. "description": "顺序",
  4009. "name": "orderindex",
  4010. "in": "query"
  4011. }
  4012. ],
  4013. "responses": {
  4014. "200": {
  4015. "description": "OK",
  4016. "schema": {
  4017. "type": "array",
  4018. "items": {
  4019. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4020. }
  4021. }
  4022. },
  4023. "500": {
  4024. "description": "Internal Server Error",
  4025. "schema": {
  4026. "$ref": "#/definitions/app.Response"
  4027. }
  4028. }
  4029. }
  4030. }
  4031. },
  4032. "/Ermcp3/QueryDeliveryGoods": {
  4033. "get": {
  4034. "security": [
  4035. {
  4036. "ApiKeyAuth": []
  4037. }
  4038. ],
  4039. "produces": [
  4040. "application/json"
  4041. ],
  4042. "tags": [
  4043. "企业风险管理v3(app)"
  4044. ],
  4045. "summary": "查询现货商品",
  4046. "parameters": [
  4047. {
  4048. "type": "integer",
  4049. "description": "用户id",
  4050. "name": "userid",
  4051. "in": "query",
  4052. "required": true
  4053. },
  4054. {
  4055. "type": "integer",
  4056. "description": "用户类型 2-机构 7-企业成员",
  4057. "name": "usertype",
  4058. "in": "query"
  4059. },
  4060. {
  4061. "type": "integer",
  4062. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4063. "name": "excludecfg",
  4064. "in": "query"
  4065. }
  4066. ],
  4067. "responses": {
  4068. "200": {
  4069. "description": "OK",
  4070. "schema": {
  4071. "type": "array",
  4072. "items": {
  4073. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4074. }
  4075. }
  4076. },
  4077. "500": {
  4078. "description": "Internal Server Error",
  4079. "schema": {
  4080. "$ref": "#/definitions/app.Response"
  4081. }
  4082. }
  4083. }
  4084. }
  4085. },
  4086. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4087. "get": {
  4088. "security": [
  4089. {
  4090. "ApiKeyAuth": []
  4091. }
  4092. ],
  4093. "produces": [
  4094. "application/json"
  4095. ],
  4096. "tags": [
  4097. "企业风险管理v3(app)"
  4098. ],
  4099. "summary": "查询现货商品详情",
  4100. "parameters": [
  4101. {
  4102. "type": "integer",
  4103. "description": "用户id",
  4104. "name": "userid",
  4105. "in": "query",
  4106. "required": true
  4107. },
  4108. {
  4109. "type": "integer",
  4110. "description": "用户类型 2-机构 7-企业成员",
  4111. "name": "usertype",
  4112. "in": "query"
  4113. },
  4114. {
  4115. "type": "integer",
  4116. "description": "现货商品id",
  4117. "name": "deliverygoodsid",
  4118. "in": "query"
  4119. }
  4120. ],
  4121. "responses": {
  4122. "200": {
  4123. "description": "OK",
  4124. "schema": {
  4125. "type": "array",
  4126. "items": {
  4127. "$ref": "#/definitions/models.XHDeliveryGoods"
  4128. }
  4129. }
  4130. },
  4131. "500": {
  4132. "description": "Internal Server Error",
  4133. "schema": {
  4134. "$ref": "#/definitions/app.Response"
  4135. }
  4136. }
  4137. }
  4138. }
  4139. },
  4140. "/Ermcp3/QueryExposureDetail": {
  4141. "get": {
  4142. "security": [
  4143. {
  4144. "ApiKeyAuth": []
  4145. }
  4146. ],
  4147. "produces": [
  4148. "application/json"
  4149. ],
  4150. "tags": [
  4151. "企业风险管理v3(app)"
  4152. ],
  4153. "summary": "查询敞口现货明细",
  4154. "parameters": [
  4155. {
  4156. "type": "integer",
  4157. "description": "用户id",
  4158. "name": "userid",
  4159. "in": "query",
  4160. "required": true
  4161. },
  4162. {
  4163. "type": "integer",
  4164. "description": "用户类型 2-机构 7-企业成员",
  4165. "name": "usertype",
  4166. "in": "query"
  4167. },
  4168. {
  4169. "type": "integer",
  4170. "description": "套保商品",
  4171. "name": "middlegoodsid",
  4172. "in": "query",
  4173. "required": true
  4174. }
  4175. ],
  4176. "responses": {
  4177. "200": {
  4178. "description": "OK",
  4179. "schema": {
  4180. "type": "array",
  4181. "items": {
  4182. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4183. }
  4184. }
  4185. },
  4186. "500": {
  4187. "description": "Internal Server Error",
  4188. "schema": {
  4189. "$ref": "#/definitions/app.Response"
  4190. }
  4191. }
  4192. }
  4193. }
  4194. },
  4195. "/Ermcp3/QueryExposureSpot": {
  4196. "get": {
  4197. "security": [
  4198. {
  4199. "ApiKeyAuth": []
  4200. }
  4201. ],
  4202. "produces": [
  4203. "application/json"
  4204. ],
  4205. "tags": [
  4206. "企业风险管理v3(app)"
  4207. ],
  4208. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4209. "parameters": [
  4210. {
  4211. "type": "integer",
  4212. "description": "用户id",
  4213. "name": "userid",
  4214. "in": "query",
  4215. "required": true
  4216. },
  4217. {
  4218. "type": "integer",
  4219. "description": "用户类型 2-机构 7-企业成员",
  4220. "name": "usertype",
  4221. "in": "query"
  4222. }
  4223. ],
  4224. "responses": {
  4225. "200": {
  4226. "description": "OK",
  4227. "schema": {
  4228. "type": "array",
  4229. "items": {
  4230. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4231. }
  4232. }
  4233. },
  4234. "500": {
  4235. "description": "Internal Server Error",
  4236. "schema": {
  4237. "$ref": "#/definitions/app.Response"
  4238. }
  4239. }
  4240. }
  4241. }
  4242. },
  4243. "/Ermcp3/QueryExposureSpotDetail": {
  4244. "get": {
  4245. "security": [
  4246. {
  4247. "ApiKeyAuth": []
  4248. }
  4249. ],
  4250. "produces": [
  4251. "application/json"
  4252. ],
  4253. "tags": [
  4254. "企业风险管理v3(app)"
  4255. ],
  4256. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4257. "parameters": [
  4258. {
  4259. "type": "integer",
  4260. "description": "用户id",
  4261. "name": "userid",
  4262. "in": "query",
  4263. "required": true
  4264. },
  4265. {
  4266. "type": "integer",
  4267. "description": "用户类型 2-机构 7-企业成员",
  4268. "name": "usertype",
  4269. "in": "query"
  4270. },
  4271. {
  4272. "type": "integer",
  4273. "description": "现货商品ID",
  4274. "name": "wrstandardid",
  4275. "in": "query",
  4276. "required": true
  4277. }
  4278. ],
  4279. "responses": {
  4280. "200": {
  4281. "description": "OK",
  4282. "schema": {
  4283. "type": "array",
  4284. "items": {
  4285. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4286. }
  4287. }
  4288. },
  4289. "500": {
  4290. "description": "Internal Server Error",
  4291. "schema": {
  4292. "$ref": "#/definitions/app.Response"
  4293. }
  4294. }
  4295. }
  4296. }
  4297. },
  4298. "/Ermcp3/QueryGoodsGroup": {
  4299. "get": {
  4300. "security": [
  4301. {
  4302. "ApiKeyAuth": []
  4303. }
  4304. ],
  4305. "produces": [
  4306. "application/json"
  4307. ],
  4308. "tags": [
  4309. "企业风险管理v3(app)"
  4310. ],
  4311. "summary": "查询期货商品组",
  4312. "parameters": [
  4313. {
  4314. "type": "integer",
  4315. "description": "用户id",
  4316. "name": "userid",
  4317. "in": "query",
  4318. "required": true
  4319. },
  4320. {
  4321. "type": "integer",
  4322. "description": "用户类型 2-机构 7-企业成员",
  4323. "name": "usertype",
  4324. "in": "query"
  4325. },
  4326. {
  4327. "type": "integer",
  4328. "description": "排除套保品中已关联的商品组 1-排除",
  4329. "name": "excludecfg",
  4330. "in": "query"
  4331. }
  4332. ],
  4333. "responses": {
  4334. "200": {
  4335. "description": "OK",
  4336. "schema": {
  4337. "type": "array",
  4338. "items": {
  4339. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4340. }
  4341. }
  4342. },
  4343. "500": {
  4344. "description": "Internal Server Error",
  4345. "schema": {
  4346. "$ref": "#/definitions/app.Response"
  4347. }
  4348. }
  4349. }
  4350. }
  4351. },
  4352. "/Ermcp3/QueryGoodsWrstandard": {
  4353. "get": {
  4354. "security": [
  4355. {
  4356. "ApiKeyAuth": []
  4357. }
  4358. ],
  4359. "produces": [
  4360. "application/json"
  4361. ],
  4362. "tags": [
  4363. "企业风险管理v3(app)"
  4364. ],
  4365. "summary": "查询商品品类",
  4366. "parameters": [
  4367. {
  4368. "type": "integer",
  4369. "description": "用户id",
  4370. "name": "userid",
  4371. "in": "query",
  4372. "required": true
  4373. },
  4374. {
  4375. "type": "integer",
  4376. "description": "用户类型 2-机构 7-企业成员",
  4377. "name": "usertype",
  4378. "in": "query"
  4379. },
  4380. {
  4381. "type": "integer",
  4382. "description": "现货商品id",
  4383. "name": "deliverygoodsid",
  4384. "in": "query"
  4385. }
  4386. ],
  4387. "responses": {
  4388. "200": {
  4389. "description": "OK",
  4390. "schema": {
  4391. "type": "array",
  4392. "items": {
  4393. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4394. }
  4395. }
  4396. },
  4397. "500": {
  4398. "description": "Internal Server Error",
  4399. "schema": {
  4400. "$ref": "#/definitions/app.Response"
  4401. }
  4402. }
  4403. }
  4404. }
  4405. },
  4406. "/Ermcp3/QueryGoodsbrand": {
  4407. "get": {
  4408. "security": [
  4409. {
  4410. "ApiKeyAuth": []
  4411. }
  4412. ],
  4413. "produces": [
  4414. "application/json"
  4415. ],
  4416. "tags": [
  4417. "企业风险管理v3(app)"
  4418. ],
  4419. "summary": "查询商品品牌",
  4420. "parameters": [
  4421. {
  4422. "type": "integer",
  4423. "description": "用户id",
  4424. "name": "userid",
  4425. "in": "query",
  4426. "required": true
  4427. },
  4428. {
  4429. "type": "integer",
  4430. "description": "用户类型 2-机构 7-企业成员",
  4431. "name": "usertype",
  4432. "in": "query"
  4433. }
  4434. ],
  4435. "responses": {
  4436. "200": {
  4437. "description": "OK",
  4438. "schema": {
  4439. "type": "array",
  4440. "items": {
  4441. "$ref": "#/definitions/models.Ermcp3Brand"
  4442. }
  4443. }
  4444. },
  4445. "500": {
  4446. "description": "Internal Server Error",
  4447. "schema": {
  4448. "$ref": "#/definitions/app.Response"
  4449. }
  4450. }
  4451. }
  4452. }
  4453. },
  4454. "/Ermcp3/QueryHedgePlan": {
  4455. "get": {
  4456. "security": [
  4457. {
  4458. "ApiKeyAuth": []
  4459. }
  4460. ],
  4461. "produces": [
  4462. "application/json"
  4463. ],
  4464. "tags": [
  4465. "企业风险管理v3(app)"
  4466. ],
  4467. "summary": "查询套保计划",
  4468. "parameters": [
  4469. {
  4470. "type": "integer",
  4471. "description": "用户ID",
  4472. "name": "userid",
  4473. "in": "query",
  4474. "required": true
  4475. },
  4476. {
  4477. "type": "integer",
  4478. "description": "用户类型 2-机构 7-企业成员",
  4479. "name": "usertype",
  4480. "in": "query"
  4481. },
  4482. {
  4483. "type": "string",
  4484. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4485. "name": "hedgeplanstatus",
  4486. "in": "query",
  4487. "required": true
  4488. }
  4489. ],
  4490. "responses": {
  4491. "200": {
  4492. "description": "OK",
  4493. "schema": {
  4494. "type": "array",
  4495. "items": {
  4496. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4497. }
  4498. }
  4499. },
  4500. "500": {
  4501. "description": "Internal Server Error",
  4502. "schema": {
  4503. "$ref": "#/definitions/app.Response"
  4504. }
  4505. }
  4506. }
  4507. }
  4508. },
  4509. "/Ermcp3/QueryInnerTradeLink": {
  4510. "get": {
  4511. "security": [
  4512. {
  4513. "ApiKeyAuth": []
  4514. }
  4515. ],
  4516. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4517. "produces": [
  4518. "application/json"
  4519. ],
  4520. "tags": [
  4521. "企业风险管理v3(app)"
  4522. ],
  4523. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4524. "parameters": [
  4525. {
  4526. "type": "integer",
  4527. "description": "外部成交单号",
  4528. "name": "outtradeid",
  4529. "in": "query",
  4530. "required": true
  4531. }
  4532. ],
  4533. "responses": {
  4534. "200": {
  4535. "description": "OK",
  4536. "schema": {
  4537. "type": "array",
  4538. "items": {
  4539. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4540. }
  4541. }
  4542. },
  4543. "500": {
  4544. "description": "Internal Server Error",
  4545. "schema": {
  4546. "$ref": "#/definitions/app.Response"
  4547. }
  4548. }
  4549. }
  4550. }
  4551. },
  4552. "/Ermcp3/QueryMiddleGoodsDetail": {
  4553. "get": {
  4554. "security": [
  4555. {
  4556. "ApiKeyAuth": []
  4557. }
  4558. ],
  4559. "produces": [
  4560. "application/json"
  4561. ],
  4562. "tags": [
  4563. "企业风险管理v3(app)"
  4564. ],
  4565. "summary": "查询套保品种详情(套保品种/商品详情)",
  4566. "parameters": [
  4567. {
  4568. "type": "integer",
  4569. "description": "用户id",
  4570. "name": "userid",
  4571. "in": "query",
  4572. "required": true
  4573. },
  4574. {
  4575. "type": "integer",
  4576. "description": "用户类型 2-机构 7-企业成员",
  4577. "name": "usertype",
  4578. "in": "query"
  4579. },
  4580. {
  4581. "type": "integer",
  4582. "description": "套保品种id",
  4583. "name": "middlegoodsid",
  4584. "in": "query"
  4585. }
  4586. ],
  4587. "responses": {
  4588. "200": {
  4589. "description": "OK",
  4590. "schema": {
  4591. "type": "array",
  4592. "items": {
  4593. "$ref": "#/definitions/models.TBMiddleGoods"
  4594. }
  4595. }
  4596. },
  4597. "500": {
  4598. "description": "Internal Server Error",
  4599. "schema": {
  4600. "$ref": "#/definitions/app.Response"
  4601. }
  4602. }
  4603. }
  4604. }
  4605. },
  4606. "/Ermcp3/QueryOutTradeLink": {
  4607. "get": {
  4608. "security": [
  4609. {
  4610. "ApiKeyAuth": []
  4611. }
  4612. ],
  4613. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4614. "produces": [
  4615. "application/json"
  4616. ],
  4617. "tags": [
  4618. "企业风险管理v3(app)"
  4619. ],
  4620. "summary": "查询外部成交单关联",
  4621. "parameters": [
  4622. {
  4623. "type": "integer",
  4624. "description": "用户ID(填登录用户的userid)",
  4625. "name": "userid",
  4626. "in": "query",
  4627. "required": true
  4628. },
  4629. {
  4630. "type": "string",
  4631. "description": "外部订单号(模糊匹配)",
  4632. "name": "outtradeid",
  4633. "in": "query"
  4634. },
  4635. {
  4636. "type": "string",
  4637. "description": "合约名称/代码(模糊匹配)",
  4638. "name": "goodsname",
  4639. "in": "query"
  4640. },
  4641. {
  4642. "type": "integer",
  4643. "description": "关联状态 0-未关联 1-已关联",
  4644. "name": "hasinnerorder",
  4645. "in": "query"
  4646. }
  4647. ],
  4648. "responses": {
  4649. "200": {
  4650. "description": "OK",
  4651. "schema": {
  4652. "type": "array",
  4653. "items": {
  4654. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4655. }
  4656. }
  4657. },
  4658. "500": {
  4659. "description": "Internal Server Error",
  4660. "schema": {
  4661. "$ref": "#/definitions/app.Response"
  4662. }
  4663. }
  4664. }
  4665. }
  4666. },
  4667. "/Ermcp3/QueryPaAreaAuditCfg": {
  4668. "get": {
  4669. "security": [
  4670. {
  4671. "ApiKeyAuth": []
  4672. }
  4673. ],
  4674. "produces": [
  4675. "application/json"
  4676. ],
  4677. "tags": [
  4678. "企业风险管理v3(app)"
  4679. ],
  4680. "summary": "查询审核设置",
  4681. "parameters": [
  4682. {
  4683. "type": "integer",
  4684. "description": "用户id",
  4685. "name": "userid",
  4686. "in": "query",
  4687. "required": true
  4688. }
  4689. ],
  4690. "responses": {
  4691. "200": {
  4692. "description": "OK",
  4693. "schema": {
  4694. "type": "array",
  4695. "items": {
  4696. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4697. }
  4698. }
  4699. },
  4700. "500": {
  4701. "description": "Internal Server Error",
  4702. "schema": {
  4703. "$ref": "#/definitions/app.Response"
  4704. }
  4705. }
  4706. }
  4707. }
  4708. },
  4709. "/Ermcp3/QueryPaAreaSubject": {
  4710. "get": {
  4711. "security": [
  4712. {
  4713. "ApiKeyAuth": []
  4714. }
  4715. ],
  4716. "produces": [
  4717. "application/json"
  4718. ],
  4719. "tags": [
  4720. "企业风险管理v3(app)"
  4721. ],
  4722. "summary": "查询交易主体",
  4723. "parameters": [
  4724. {
  4725. "type": "integer",
  4726. "description": "用户id",
  4727. "name": "userid",
  4728. "in": "query",
  4729. "required": true
  4730. },
  4731. {
  4732. "type": "integer",
  4733. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4734. "name": "subjectid",
  4735. "in": "query"
  4736. },
  4737. {
  4738. "type": "integer",
  4739. "description": "主体类型 - 1:交易主体 2:业务部门",
  4740. "name": "subjecttype",
  4741. "in": "query"
  4742. },
  4743. {
  4744. "type": "integer",
  4745. "description": "主体状态 - 1:正常 2: 停用",
  4746. "name": "subjectstatus",
  4747. "in": "query"
  4748. }
  4749. ],
  4750. "responses": {
  4751. "200": {
  4752. "description": "OK",
  4753. "schema": {
  4754. "type": "array",
  4755. "items": {
  4756. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4757. }
  4758. }
  4759. },
  4760. "500": {
  4761. "description": "Internal Server Error",
  4762. "schema": {
  4763. "$ref": "#/definitions/app.Response"
  4764. }
  4765. }
  4766. }
  4767. }
  4768. },
  4769. "/Ermcp3/QueryPaTradeLink": {
  4770. "get": {
  4771. "security": [
  4772. {
  4773. "ApiKeyAuth": []
  4774. }
  4775. ],
  4776. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4777. "produces": [
  4778. "application/json"
  4779. ],
  4780. "tags": [
  4781. "企业风险管理v3(app)"
  4782. ],
  4783. "summary": "查询期现单据关联",
  4784. "parameters": [
  4785. {
  4786. "type": "integer",
  4787. "description": "用户ID",
  4788. "name": "userid",
  4789. "in": "query",
  4790. "required": true
  4791. }
  4792. ],
  4793. "responses": {
  4794. "200": {
  4795. "description": "OK",
  4796. "schema": {
  4797. "type": "array",
  4798. "items": {
  4799. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4800. }
  4801. }
  4802. },
  4803. "500": {
  4804. "description": "Internal Server Error",
  4805. "schema": {
  4806. "$ref": "#/definitions/app.Response"
  4807. }
  4808. }
  4809. }
  4810. }
  4811. },
  4812. "/Ermcp3/QueryPaTradeLinkDetail": {
  4813. "get": {
  4814. "security": [
  4815. {
  4816. "ApiKeyAuth": []
  4817. }
  4818. ],
  4819. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  4820. "produces": [
  4821. "application/json"
  4822. ],
  4823. "tags": [
  4824. "企业风险管理v3(app)"
  4825. ],
  4826. "summary": "查询期现关联记录",
  4827. "parameters": [
  4828. {
  4829. "type": "integer",
  4830. "description": "用户ID(填登录用户的userid)",
  4831. "name": "userid",
  4832. "in": "query",
  4833. "required": true
  4834. },
  4835. {
  4836. "type": "string",
  4837. "description": "期货订单号(模糊匹配)",
  4838. "name": "tradeid",
  4839. "in": "query"
  4840. },
  4841. {
  4842. "type": "string",
  4843. "description": "现货编号(模糊匹配)",
  4844. "name": "contractno",
  4845. "in": "query"
  4846. },
  4847. {
  4848. "type": "string",
  4849. "description": "期货账户(模糊匹配)",
  4850. "name": "taname",
  4851. "in": "query"
  4852. }
  4853. ],
  4854. "responses": {
  4855. "200": {
  4856. "description": "OK",
  4857. "schema": {
  4858. "type": "array",
  4859. "items": {
  4860. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  4861. }
  4862. }
  4863. },
  4864. "500": {
  4865. "description": "Internal Server Error",
  4866. "schema": {
  4867. "$ref": "#/definitions/app.Response"
  4868. }
  4869. }
  4870. }
  4871. }
  4872. },
  4873. "/Ermcp3/QueryParamChangeApp": {
  4874. "get": {
  4875. "security": [
  4876. {
  4877. "ApiKeyAuth": []
  4878. }
  4879. ],
  4880. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  4881. "produces": [
  4882. "application/json"
  4883. ],
  4884. "tags": [
  4885. "企业风险管理v3(app)"
  4886. ],
  4887. "summary": "查询现货商品参数变更申请(流水)",
  4888. "parameters": [
  4889. {
  4890. "type": "integer",
  4891. "description": "用户ID",
  4892. "name": "userid",
  4893. "in": "query",
  4894. "required": true
  4895. },
  4896. {
  4897. "type": "integer",
  4898. "description": "现货品种id",
  4899. "name": "deliverygoodsid",
  4900. "in": "query"
  4901. },
  4902. {
  4903. "type": "integer",
  4904. "description": "现货商品id",
  4905. "name": "wrstandardid",
  4906. "in": "query"
  4907. },
  4908. {
  4909. "type": "integer",
  4910. "description": "套保商品id",
  4911. "name": "middlegoodsid",
  4912. "in": "query"
  4913. },
  4914. {
  4915. "type": "integer",
  4916. "description": "操作类型 1:新增 2:修改",
  4917. "name": "operatetype",
  4918. "in": "query"
  4919. },
  4920. {
  4921. "type": "integer",
  4922. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  4923. "name": "paramchangetype",
  4924. "in": "query"
  4925. },
  4926. {
  4927. "type": "string",
  4928. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4929. "name": "ftstatus",
  4930. "in": "query"
  4931. }
  4932. ],
  4933. "responses": {
  4934. "200": {
  4935. "description": "OK",
  4936. "schema": {
  4937. "type": "array",
  4938. "items": {
  4939. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  4940. }
  4941. }
  4942. },
  4943. "500": {
  4944. "description": "Internal Server Error",
  4945. "schema": {
  4946. "$ref": "#/definitions/app.Response"
  4947. }
  4948. }
  4949. }
  4950. }
  4951. },
  4952. "/Ermcp3/QueryRootUserAccount": {
  4953. "get": {
  4954. "security": [
  4955. {
  4956. "ApiKeyAuth": []
  4957. }
  4958. ],
  4959. "produces": [
  4960. "application/json"
  4961. ],
  4962. "tags": [
  4963. "企业风险管理v3(app)"
  4964. ],
  4965. "summary": "查询顶级用户信息",
  4966. "parameters": [
  4967. {
  4968. "type": "integer",
  4969. "description": "用户ID",
  4970. "name": "userid",
  4971. "in": "query",
  4972. "required": true
  4973. }
  4974. ],
  4975. "responses": {
  4976. "200": {
  4977. "description": "OK",
  4978. "schema": {
  4979. "type": "array",
  4980. "items": {
  4981. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4982. }
  4983. }
  4984. },
  4985. "500": {
  4986. "description": "Internal Server Error",
  4987. "schema": {
  4988. "$ref": "#/definitions/app.Response"
  4989. }
  4990. }
  4991. }
  4992. }
  4993. },
  4994. "/Ermcp3/QuerySCMiddleGoods": {
  4995. "get": {
  4996. "security": [
  4997. {
  4998. "ApiKeyAuth": []
  4999. }
  5000. ],
  5001. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5002. "produces": [
  5003. "application/json"
  5004. ],
  5005. "tags": [
  5006. "企业风险管理v3(app)"
  5007. ],
  5008. "summary": "查询现货订单",
  5009. "parameters": [
  5010. {
  5011. "type": "integer",
  5012. "description": "用户ID(填登录用户的userid)",
  5013. "name": "userid",
  5014. "in": "query",
  5015. "required": true
  5016. },
  5017. {
  5018. "type": "integer",
  5019. "description": "买卖方向 0-买 1-卖",
  5020. "name": "buyorsell",
  5021. "in": "query",
  5022. "required": true
  5023. },
  5024. {
  5025. "type": "integer",
  5026. "description": "商品组id",
  5027. "name": "goodsgroupid",
  5028. "in": "query",
  5029. "required": true
  5030. },
  5031. {
  5032. "type": "string",
  5033. "description": "现货编号(模糊匹配)",
  5034. "name": "contractno",
  5035. "in": "query"
  5036. },
  5037. {
  5038. "type": "string",
  5039. "description": "对手方(模糊匹配)",
  5040. "name": "customername",
  5041. "in": "query"
  5042. },
  5043. {
  5044. "type": "string",
  5045. "description": "现货商品名称(模糊匹配)",
  5046. "name": "wrstandardname",
  5047. "in": "query"
  5048. }
  5049. ],
  5050. "responses": {
  5051. "200": {
  5052. "description": "OK",
  5053. "schema": {
  5054. "type": "array",
  5055. "items": {
  5056. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5057. }
  5058. }
  5059. },
  5060. "500": {
  5061. "description": "Internal Server Error",
  5062. "schema": {
  5063. "$ref": "#/definitions/app.Response"
  5064. }
  5065. }
  5066. }
  5067. }
  5068. },
  5069. "/Ermcp3/QuerySpotContract": {
  5070. "get": {
  5071. "security": [
  5072. {
  5073. "ApiKeyAuth": []
  5074. }
  5075. ],
  5076. "produces": [
  5077. "application/json"
  5078. ],
  5079. "tags": [
  5080. "企业风险管理v3(app)"
  5081. ],
  5082. "summary": "查询现货合同",
  5083. "parameters": [
  5084. {
  5085. "type": "integer",
  5086. "description": "用户id(当指定contractid, userid可不填)",
  5087. "name": "userid",
  5088. "in": "query",
  5089. "required": true
  5090. },
  5091. {
  5092. "type": "integer",
  5093. "description": "用户类型 2-机构 7-企业成员",
  5094. "name": "usertype",
  5095. "in": "query"
  5096. },
  5097. {
  5098. "type": "integer",
  5099. "description": "合同类型 1-采购, -1-销售",
  5100. "name": "contracttype",
  5101. "in": "query"
  5102. },
  5103. {
  5104. "type": "integer",
  5105. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成 (当指定contractid, querytype可不填)",
  5106. "name": "querytype",
  5107. "in": "query",
  5108. "required": true
  5109. },
  5110. {
  5111. "type": "string",
  5112. "description": "合同ID(SpotContractId)",
  5113. "name": "contractid",
  5114. "in": "query"
  5115. }
  5116. ],
  5117. "responses": {
  5118. "200": {
  5119. "description": "OK",
  5120. "schema": {
  5121. "type": "array",
  5122. "items": {
  5123. "$ref": "#/definitions/models.Ermcp3Contract"
  5124. }
  5125. }
  5126. },
  5127. "500": {
  5128. "description": "Internal Server Error",
  5129. "schema": {
  5130. "$ref": "#/definitions/app.Response"
  5131. }
  5132. }
  5133. }
  5134. }
  5135. },
  5136. "/Ermcp3/QuerySpotContractBS": {
  5137. "get": {
  5138. "security": [
  5139. {
  5140. "ApiKeyAuth": []
  5141. }
  5142. ],
  5143. "produces": [
  5144. "application/json"
  5145. ],
  5146. "tags": [
  5147. "企业风险管理v3(app)"
  5148. ],
  5149. "summary": "查询合同(采购/销售)",
  5150. "parameters": [
  5151. {
  5152. "type": "integer",
  5153. "description": "用户id",
  5154. "name": "userid",
  5155. "in": "query",
  5156. "required": true
  5157. },
  5158. {
  5159. "type": "integer",
  5160. "description": "用户类型 2-机构 7-企业成员",
  5161. "name": "usertype",
  5162. "in": "query"
  5163. },
  5164. {
  5165. "type": "integer",
  5166. "description": "合同类型 1-采购, -1-销售",
  5167. "name": "contracttype",
  5168. "in": "query",
  5169. "required": true
  5170. },
  5171. {
  5172. "type": "integer",
  5173. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5174. "name": "querytype",
  5175. "in": "query",
  5176. "required": true
  5177. },
  5178. {
  5179. "type": "string",
  5180. "description": "合同ID(SpotContractId)",
  5181. "name": "contractid",
  5182. "in": "query"
  5183. }
  5184. ],
  5185. "responses": {
  5186. "200": {
  5187. "description": "OK",
  5188. "schema": {
  5189. "type": "array",
  5190. "items": {
  5191. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5192. }
  5193. }
  5194. },
  5195. "500": {
  5196. "description": "Internal Server Error",
  5197. "schema": {
  5198. "$ref": "#/definitions/app.Response"
  5199. }
  5200. }
  5201. }
  5202. }
  5203. },
  5204. "/Ermcp3/QuerySpotGoodsPrice": {
  5205. "get": {
  5206. "security": [
  5207. {
  5208. "ApiKeyAuth": []
  5209. }
  5210. ],
  5211. "produces": [
  5212. "application/json"
  5213. ],
  5214. "tags": [
  5215. "企业风险管理v3(app)"
  5216. ],
  5217. "summary": "查询现货市价(现货市价)",
  5218. "parameters": [
  5219. {
  5220. "type": "integer",
  5221. "description": "用户ID",
  5222. "name": "userid",
  5223. "in": "query",
  5224. "required": true
  5225. }
  5226. ],
  5227. "responses": {
  5228. "200": {
  5229. "description": "OK",
  5230. "schema": {
  5231. "type": "array",
  5232. "items": {
  5233. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5234. }
  5235. }
  5236. },
  5237. "500": {
  5238. "description": "Internal Server Error",
  5239. "schema": {
  5240. "$ref": "#/definitions/app.Response"
  5241. }
  5242. }
  5243. }
  5244. }
  5245. },
  5246. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5247. "get": {
  5248. "security": [
  5249. {
  5250. "ApiKeyAuth": []
  5251. }
  5252. ],
  5253. "produces": [
  5254. "application/json"
  5255. ],
  5256. "tags": [
  5257. "企业风险管理v3(app)"
  5258. ],
  5259. "summary": "查询现货市价详情(现货市价/详情)",
  5260. "parameters": [
  5261. {
  5262. "type": "integer",
  5263. "description": "用户ID",
  5264. "name": "userid",
  5265. "in": "query",
  5266. "required": true
  5267. },
  5268. {
  5269. "type": "integer",
  5270. "description": "现货商品ID",
  5271. "name": "deliverygoodsid",
  5272. "in": "query",
  5273. "required": true
  5274. },
  5275. {
  5276. "type": "integer",
  5277. "description": "品牌ID",
  5278. "name": "brandid",
  5279. "in": "query"
  5280. },
  5281. {
  5282. "type": "integer",
  5283. "description": "品类ID",
  5284. "name": "wrstandardid",
  5285. "in": "query"
  5286. }
  5287. ],
  5288. "responses": {
  5289. "200": {
  5290. "description": "OK",
  5291. "schema": {
  5292. "type": "array",
  5293. "items": {
  5294. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5295. }
  5296. }
  5297. },
  5298. "500": {
  5299. "description": "Internal Server Error",
  5300. "schema": {
  5301. "$ref": "#/definitions/app.Response"
  5302. }
  5303. }
  5304. }
  5305. }
  5306. },
  5307. "/Ermcp3/QuerySubTaaccount": {
  5308. "get": {
  5309. "security": [
  5310. {
  5311. "ApiKeyAuth": []
  5312. }
  5313. ],
  5314. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5315. "produces": [
  5316. "application/json"
  5317. ],
  5318. "tags": [
  5319. "企业风险管理v3(app)"
  5320. ],
  5321. "summary": "查询期货子账户",
  5322. "parameters": [
  5323. {
  5324. "type": "integer",
  5325. "description": "母账号id",
  5326. "name": "parentaccountid",
  5327. "in": "query"
  5328. },
  5329. {
  5330. "type": "string",
  5331. "description": "母账号代码",
  5332. "name": "parentaccountcode",
  5333. "in": "query"
  5334. }
  5335. ],
  5336. "responses": {
  5337. "200": {
  5338. "description": "OK",
  5339. "schema": {
  5340. "type": "array",
  5341. "items": {
  5342. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5343. }
  5344. }
  5345. },
  5346. "500": {
  5347. "description": "Internal Server Error",
  5348. "schema": {
  5349. "$ref": "#/definitions/app.Response"
  5350. }
  5351. }
  5352. }
  5353. }
  5354. },
  5355. "/Erms2/QueryArbitrageStrategy": {
  5356. "get": {
  5357. "security": [
  5358. {
  5359. "ApiKeyAuth": []
  5360. }
  5361. ],
  5362. "produces": [
  5363. "application/json"
  5364. ],
  5365. "tags": [
  5366. "风险管理"
  5367. ],
  5368. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5369. "parameters": [
  5370. {
  5371. "type": "integer",
  5372. "description": "账户ID",
  5373. "name": "userid",
  5374. "in": "query",
  5375. "required": true
  5376. },
  5377. {
  5378. "type": "string",
  5379. "description": "商品组ID(品种ID)",
  5380. "name": "goodsgroupid",
  5381. "in": "query"
  5382. }
  5383. ],
  5384. "responses": {
  5385. "200": {
  5386. "description": "OK",
  5387. "schema": {
  5388. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5389. }
  5390. },
  5391. "500": {
  5392. "description": "Internal Server Error",
  5393. "schema": {
  5394. "$ref": "#/definitions/app.Response"
  5395. }
  5396. }
  5397. }
  5398. }
  5399. },
  5400. "/Erms2/QueryInnerTradeDetail": {
  5401. "get": {
  5402. "security": [
  5403. {
  5404. "ApiKeyAuth": []
  5405. }
  5406. ],
  5407. "produces": [
  5408. "application/json"
  5409. ],
  5410. "tags": [
  5411. "风险管理"
  5412. ],
  5413. "summary": "查询内部成交单信息",
  5414. "parameters": [
  5415. {
  5416. "type": "integer",
  5417. "description": "资金账户",
  5418. "name": "accountid",
  5419. "in": "query",
  5420. "required": true
  5421. }
  5422. ],
  5423. "responses": {
  5424. "200": {
  5425. "description": "OK",
  5426. "schema": {
  5427. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5428. }
  5429. },
  5430. "500": {
  5431. "description": "Internal Server Error",
  5432. "schema": {
  5433. "$ref": "#/definitions/app.Response"
  5434. }
  5435. }
  5436. }
  5437. }
  5438. },
  5439. "/Erms2/QuerySpotContract": {
  5440. "get": {
  5441. "security": [
  5442. {
  5443. "ApiKeyAuth": []
  5444. }
  5445. ],
  5446. "produces": [
  5447. "application/json"
  5448. ],
  5449. "tags": [
  5450. "风险管理"
  5451. ],
  5452. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5453. "parameters": [
  5454. {
  5455. "type": "integer",
  5456. "description": "策略申请ID",
  5457. "name": "asapplyid",
  5458. "in": "query",
  5459. "required": true
  5460. },
  5461. {
  5462. "type": "integer",
  5463. "description": "现货合同ID",
  5464. "name": "spotcontractid",
  5465. "in": "query"
  5466. }
  5467. ],
  5468. "responses": {
  5469. "200": {
  5470. "description": "OK",
  5471. "schema": {
  5472. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5473. }
  5474. },
  5475. "500": {
  5476. "description": "Internal Server Error",
  5477. "schema": {
  5478. "$ref": "#/definitions/app.Response"
  5479. }
  5480. }
  5481. }
  5482. }
  5483. },
  5484. "/Erms3/AddErms2ASApply": {
  5485. "post": {
  5486. "security": [
  5487. {
  5488. "ApiKeyAuth": []
  5489. }
  5490. ],
  5491. "produces": [
  5492. "application/json"
  5493. ],
  5494. "tags": [
  5495. "风险管理v3"
  5496. ],
  5497. "summary": "新增期现套利业务申请",
  5498. "parameters": [
  5499. {
  5500. "description": "申请参数",
  5501. "name": "jsonBody",
  5502. "in": "body",
  5503. "required": true,
  5504. "schema": {
  5505. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5506. }
  5507. }
  5508. ],
  5509. "responses": {
  5510. "200": {
  5511. "description": "OK",
  5512. "schema": {
  5513. "$ref": "#/definitions/app.Response"
  5514. }
  5515. },
  5516. "500": {
  5517. "description": "Internal Server Error",
  5518. "schema": {
  5519. "$ref": "#/definitions/app.Response"
  5520. }
  5521. }
  5522. }
  5523. }
  5524. },
  5525. "/Erms3/AddErms2SpotTradeApply": {
  5526. "post": {
  5527. "security": [
  5528. {
  5529. "ApiKeyAuth": []
  5530. }
  5531. ],
  5532. "produces": [
  5533. "application/json"
  5534. ],
  5535. "tags": [
  5536. "风险管理v3"
  5537. ],
  5538. "summary": "新增现货贸易业务申请",
  5539. "parameters": [
  5540. {
  5541. "description": "申请参数",
  5542. "name": "jsonBody",
  5543. "in": "body",
  5544. "required": true,
  5545. "schema": {
  5546. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5547. }
  5548. }
  5549. ],
  5550. "responses": {
  5551. "200": {
  5552. "description": "OK",
  5553. "schema": {
  5554. "$ref": "#/definitions/app.Response"
  5555. }
  5556. },
  5557. "500": {
  5558. "description": "Internal Server Error",
  5559. "schema": {
  5560. "$ref": "#/definitions/app.Response"
  5561. }
  5562. }
  5563. }
  5564. }
  5565. },
  5566. "/Erms3/AddSpotContractApply": {
  5567. "post": {
  5568. "security": [
  5569. {
  5570. "ApiKeyAuth": []
  5571. }
  5572. ],
  5573. "produces": [
  5574. "application/json"
  5575. ],
  5576. "tags": [
  5577. "风险管理v3"
  5578. ],
  5579. "summary": "新增现货合同申请",
  5580. "parameters": [
  5581. {
  5582. "description": "申请参数",
  5583. "name": "jsonBody",
  5584. "in": "body",
  5585. "required": true,
  5586. "schema": {
  5587. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5588. }
  5589. }
  5590. ],
  5591. "responses": {
  5592. "200": {
  5593. "description": "OK",
  5594. "schema": {
  5595. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5596. }
  5597. },
  5598. "500": {
  5599. "description": "Internal Server Error",
  5600. "schema": {
  5601. "$ref": "#/definitions/app.Response"
  5602. }
  5603. }
  5604. }
  5605. }
  5606. },
  5607. "/Erms3/AddUserInfoApply": {
  5608. "post": {
  5609. "security": [
  5610. {
  5611. "ApiKeyAuth": []
  5612. }
  5613. ],
  5614. "produces": [
  5615. "application/json"
  5616. ],
  5617. "tags": [
  5618. "风险管理v3"
  5619. ],
  5620. "summary": "新增客户申请",
  5621. "parameters": [
  5622. {
  5623. "description": "用户信息",
  5624. "name": "jsonBody",
  5625. "in": "body",
  5626. "required": true,
  5627. "schema": {
  5628. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5629. }
  5630. }
  5631. ],
  5632. "responses": {
  5633. "200": {
  5634. "description": "OK",
  5635. "schema": {
  5636. "$ref": "#/definitions/app.Response"
  5637. }
  5638. },
  5639. "500": {
  5640. "description": "Internal Server Error",
  5641. "schema": {
  5642. "$ref": "#/definitions/app.Response"
  5643. }
  5644. }
  5645. }
  5646. }
  5647. },
  5648. "/Erms3/DeleteUserInfoApply": {
  5649. "get": {
  5650. "security": [
  5651. {
  5652. "ApiKeyAuth": []
  5653. }
  5654. ],
  5655. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5656. "produces": [
  5657. "application/json"
  5658. ],
  5659. "tags": [
  5660. "风险管理v3"
  5661. ],
  5662. "summary": "删除客户申请",
  5663. "parameters": [
  5664. {
  5665. "type": "integer",
  5666. "description": "用户ID",
  5667. "name": "userID",
  5668. "in": "query",
  5669. "required": true
  5670. }
  5671. ],
  5672. "responses": {
  5673. "200": {
  5674. "description": "OK",
  5675. "schema": {
  5676. "$ref": "#/definitions/app.Response"
  5677. }
  5678. },
  5679. "500": {
  5680. "description": "Internal Server Error",
  5681. "schema": {
  5682. "$ref": "#/definitions/app.Response"
  5683. }
  5684. }
  5685. }
  5686. }
  5687. },
  5688. "/Erms3/ModifyUserInfoApply": {
  5689. "post": {
  5690. "security": [
  5691. {
  5692. "ApiKeyAuth": []
  5693. }
  5694. ],
  5695. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5696. "produces": [
  5697. "application/json"
  5698. ],
  5699. "tags": [
  5700. "风险管理v3"
  5701. ],
  5702. "summary": "修改客户申请",
  5703. "parameters": [
  5704. {
  5705. "description": "用户信息",
  5706. "name": "jsonBody",
  5707. "in": "body",
  5708. "required": true,
  5709. "schema": {
  5710. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5711. }
  5712. }
  5713. ],
  5714. "responses": {
  5715. "200": {
  5716. "description": "OK",
  5717. "schema": {
  5718. "$ref": "#/definitions/app.Response"
  5719. }
  5720. },
  5721. "500": {
  5722. "description": "Internal Server Error",
  5723. "schema": {
  5724. "$ref": "#/definitions/app.Response"
  5725. }
  5726. }
  5727. }
  5728. }
  5729. },
  5730. "/Erms3/QueryBusinessInfo": {
  5731. "get": {
  5732. "security": [
  5733. {
  5734. "ApiKeyAuth": []
  5735. }
  5736. ],
  5737. "produces": [
  5738. "application/json"
  5739. ],
  5740. "tags": [
  5741. "风险管理v3"
  5742. ],
  5743. "summary": "查询业务表单数据",
  5744. "parameters": [
  5745. {
  5746. "type": "string",
  5747. "description": "资金账号ID列表,用逗号分隔",
  5748. "name": "accountids",
  5749. "in": "query",
  5750. "required": true
  5751. },
  5752. {
  5753. "type": "integer",
  5754. "description": "状态,0为未结束 1为已结束",
  5755. "name": "status",
  5756. "in": "query",
  5757. "required": true
  5758. }
  5759. ],
  5760. "responses": {
  5761. "200": {
  5762. "description": "OK",
  5763. "schema": {
  5764. "type": "array",
  5765. "items": {
  5766. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5767. }
  5768. }
  5769. },
  5770. "500": {
  5771. "description": "Internal Server Error",
  5772. "schema": {
  5773. "$ref": "#/definitions/app.Response"
  5774. }
  5775. }
  5776. }
  5777. }
  5778. },
  5779. "/Erms3/QueryPendingAuditContract": {
  5780. "get": {
  5781. "security": [
  5782. {
  5783. "ApiKeyAuth": []
  5784. }
  5785. ],
  5786. "produces": [
  5787. "application/json"
  5788. ],
  5789. "tags": [
  5790. "风险管理v3"
  5791. ],
  5792. "summary": "查询待审核合同",
  5793. "parameters": [
  5794. {
  5795. "type": "string",
  5796. "description": "资金账号ID列表,逗号隔开",
  5797. "name": "accountids",
  5798. "in": "query",
  5799. "required": true
  5800. },
  5801. {
  5802. "type": "integer",
  5803. "description": "合同类型 1-采购 -1-销售",
  5804. "name": "contracttype",
  5805. "in": "query",
  5806. "required": true
  5807. },
  5808. {
  5809. "type": "integer",
  5810. "description": "合同模式 1-普通 2-回购",
  5811. "name": "contractmode",
  5812. "in": "query",
  5813. "required": true
  5814. }
  5815. ],
  5816. "responses": {
  5817. "200": {
  5818. "description": "OK",
  5819. "schema": {
  5820. "type": "array",
  5821. "items": {
  5822. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5823. }
  5824. }
  5825. },
  5826. "500": {
  5827. "description": "Internal Server Error",
  5828. "schema": {
  5829. "$ref": "#/definitions/app.Response"
  5830. }
  5831. }
  5832. }
  5833. }
  5834. },
  5835. "/Erms3/QueryPendingBusiness": {
  5836. "get": {
  5837. "security": [
  5838. {
  5839. "ApiKeyAuth": []
  5840. }
  5841. ],
  5842. "produces": [
  5843. "application/json"
  5844. ],
  5845. "tags": [
  5846. "风险管理v3"
  5847. ],
  5848. "summary": "查询待审核基差贸易业务",
  5849. "parameters": [
  5850. {
  5851. "type": "string",
  5852. "description": "资金账号ID列表,逗号隔开",
  5853. "name": "accountids",
  5854. "in": "query",
  5855. "required": true
  5856. }
  5857. ],
  5858. "responses": {
  5859. "200": {
  5860. "description": "OK",
  5861. "schema": {
  5862. "type": "array",
  5863. "items": {
  5864. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5865. }
  5866. }
  5867. },
  5868. "500": {
  5869. "description": "Internal Server Error",
  5870. "schema": {
  5871. "$ref": "#/definitions/app.Response"
  5872. }
  5873. }
  5874. }
  5875. }
  5876. },
  5877. "/Erms3/QuerySpotContractAppleForm": {
  5878. "get": {
  5879. "security": [
  5880. {
  5881. "ApiKeyAuth": []
  5882. }
  5883. ],
  5884. "produces": [
  5885. "application/json"
  5886. ],
  5887. "tags": [
  5888. "风险管理v3"
  5889. ],
  5890. "summary": "查询合同申请表单数据",
  5891. "parameters": [
  5892. {
  5893. "type": "integer",
  5894. "description": "登录账号",
  5895. "name": "loginID",
  5896. "in": "query",
  5897. "required": true
  5898. }
  5899. ],
  5900. "responses": {
  5901. "200": {
  5902. "description": "OK",
  5903. "schema": {
  5904. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5905. }
  5906. },
  5907. "500": {
  5908. "description": "Internal Server Error",
  5909. "schema": {
  5910. "$ref": "#/definitions/app.Response"
  5911. }
  5912. }
  5913. }
  5914. }
  5915. },
  5916. "/Erms3/QuerySpotContractDetail": {
  5917. "get": {
  5918. "security": [
  5919. {
  5920. "ApiKeyAuth": []
  5921. }
  5922. ],
  5923. "produces": [
  5924. "application/json"
  5925. ],
  5926. "tags": [
  5927. "风险管理v3"
  5928. ],
  5929. "summary": "查询合同详细信息",
  5930. "parameters": [
  5931. {
  5932. "type": "string",
  5933. "description": "资金账号ID列表,用逗号分隔",
  5934. "name": "accountids",
  5935. "in": "query",
  5936. "required": true
  5937. },
  5938. {
  5939. "type": "integer",
  5940. "description": "合同类型,1为采购合同 -1为销售合同",
  5941. "name": "contracttype",
  5942. "in": "query",
  5943. "required": true
  5944. },
  5945. {
  5946. "type": "integer",
  5947. "description": "合同模式,1为普通合同 2为回购销售合同",
  5948. "name": "contractmode",
  5949. "in": "query",
  5950. "required": true
  5951. },
  5952. {
  5953. "type": "integer",
  5954. "description": "状态,0为履约中 1为已完成",
  5955. "name": "status",
  5956. "in": "query",
  5957. "required": true
  5958. }
  5959. ],
  5960. "responses": {
  5961. "200": {
  5962. "description": "OK",
  5963. "schema": {
  5964. "type": "array",
  5965. "items": {
  5966. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5967. }
  5968. }
  5969. },
  5970. "500": {
  5971. "description": "Internal Server Error",
  5972. "schema": {
  5973. "$ref": "#/definitions/app.Response"
  5974. }
  5975. }
  5976. }
  5977. }
  5978. },
  5979. "/Erms3/QueryUserInfoApplies": {
  5980. "get": {
  5981. "security": [
  5982. {
  5983. "ApiKeyAuth": []
  5984. }
  5985. ],
  5986. "produces": [
  5987. "application/json"
  5988. ],
  5989. "tags": [
  5990. "风险管理v3"
  5991. ],
  5992. "summary": "客户申请信息查询",
  5993. "parameters": [
  5994. {
  5995. "type": "integer",
  5996. "description": "页码",
  5997. "name": "page",
  5998. "in": "query"
  5999. },
  6000. {
  6001. "type": "integer",
  6002. "description": "每页条数",
  6003. "name": "pagesize",
  6004. "in": "query"
  6005. },
  6006. {
  6007. "type": "string",
  6008. "description": "客户名称,支持模糊查询",
  6009. "name": "userName",
  6010. "in": "query"
  6011. }
  6012. ],
  6013. "responses": {
  6014. "200": {
  6015. "description": "OK",
  6016. "schema": {
  6017. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6018. }
  6019. },
  6020. "500": {
  6021. "description": "Internal Server Error",
  6022. "schema": {
  6023. "$ref": "#/definitions/app.Response"
  6024. }
  6025. }
  6026. }
  6027. }
  6028. },
  6029. "/Erms3/QueryUserInfos": {
  6030. "get": {
  6031. "security": [
  6032. {
  6033. "ApiKeyAuth": []
  6034. }
  6035. ],
  6036. "produces": [
  6037. "application/json"
  6038. ],
  6039. "tags": [
  6040. "风险管理v3"
  6041. ],
  6042. "summary": "客户信息查询",
  6043. "parameters": [
  6044. {
  6045. "type": "integer",
  6046. "description": "页码",
  6047. "name": "page",
  6048. "in": "query"
  6049. },
  6050. {
  6051. "type": "integer",
  6052. "description": "每页条数",
  6053. "name": "pagesize",
  6054. "in": "query"
  6055. },
  6056. {
  6057. "type": "string",
  6058. "description": "客户名称,支持模糊查询",
  6059. "name": "userName",
  6060. "in": "query"
  6061. }
  6062. ],
  6063. "responses": {
  6064. "200": {
  6065. "description": "OK",
  6066. "schema": {
  6067. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6068. }
  6069. },
  6070. "500": {
  6071. "description": "Internal Server Error",
  6072. "schema": {
  6073. "$ref": "#/definitions/app.Response"
  6074. }
  6075. }
  6076. }
  6077. }
  6078. },
  6079. "/HSBY/GetHsbyMyCount": {
  6080. "get": {
  6081. "security": [
  6082. {
  6083. "ApiKeyAuth": []
  6084. }
  6085. ],
  6086. "description": "说明: 不包括已完成的数量。",
  6087. "produces": [
  6088. "application/json"
  6089. ],
  6090. "tags": [
  6091. "定制【海商报业】"
  6092. ],
  6093. "summary": "获取我的订单与包裹数量",
  6094. "parameters": [
  6095. {
  6096. "type": "string",
  6097. "description": "资金账户列表,格式:1,2,3",
  6098. "name": "accountIDs",
  6099. "in": "query",
  6100. "required": true
  6101. }
  6102. ],
  6103. "responses": {
  6104. "200": {
  6105. "description": "OK",
  6106. "schema": {
  6107. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6108. }
  6109. },
  6110. "500": {
  6111. "description": "Internal Server Error",
  6112. "schema": {
  6113. "$ref": "#/definitions/app.Response"
  6114. }
  6115. }
  6116. }
  6117. }
  6118. },
  6119. "/HSBY/QueryClientFixedADConfigs": {
  6120. "get": {
  6121. "security": [
  6122. {
  6123. "ApiKeyAuth": []
  6124. }
  6125. ],
  6126. "produces": [
  6127. "application/json"
  6128. ],
  6129. "tags": [
  6130. "定制【海商报业】"
  6131. ],
  6132. "summary": "获取终端固定广告配置",
  6133. "responses": {
  6134. "200": {
  6135. "description": "OK",
  6136. "schema": {
  6137. "$ref": "#/definitions/models.Clientfixedadconfig"
  6138. }
  6139. },
  6140. "500": {
  6141. "description": "Internal Server Error",
  6142. "schema": {
  6143. "$ref": "#/definitions/app.Response"
  6144. }
  6145. }
  6146. }
  6147. }
  6148. },
  6149. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6150. "get": {
  6151. "security": [
  6152. {
  6153. "ApiKeyAuth": []
  6154. }
  6155. ],
  6156. "produces": [
  6157. "application/json"
  6158. ],
  6159. "tags": [
  6160. "定制【海商报业】"
  6161. ],
  6162. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6163. "parameters": [
  6164. {
  6165. "type": "integer",
  6166. "description": "页码",
  6167. "name": "page",
  6168. "in": "query"
  6169. },
  6170. {
  6171. "type": "integer",
  6172. "description": "每页条数",
  6173. "name": "pagesize",
  6174. "in": "query"
  6175. },
  6176. {
  6177. "type": "string",
  6178. "description": "资金账户列表,格式:1,2,3",
  6179. "name": "accountIDs",
  6180. "in": "query",
  6181. "required": true
  6182. }
  6183. ],
  6184. "responses": {
  6185. "200": {
  6186. "description": "OK",
  6187. "schema": {
  6188. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6189. }
  6190. },
  6191. "500": {
  6192. "description": "Internal Server Error",
  6193. "schema": {
  6194. "$ref": "#/definitions/app.Response"
  6195. }
  6196. }
  6197. }
  6198. }
  6199. },
  6200. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6201. "get": {
  6202. "security": [
  6203. {
  6204. "ApiKeyAuth": []
  6205. }
  6206. ],
  6207. "description": "说明:查询结果已按委托价格和委托时间排序",
  6208. "produces": [
  6209. "application/json"
  6210. ],
  6211. "tags": [
  6212. "定制【海商报业】"
  6213. ],
  6214. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6215. "parameters": [
  6216. {
  6217. "type": "integer",
  6218. "description": "商品ID",
  6219. "name": "goodsID",
  6220. "in": "query",
  6221. "required": true
  6222. },
  6223. {
  6224. "type": "string",
  6225. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6226. "name": "accountIDs",
  6227. "in": "query"
  6228. },
  6229. {
  6230. "type": "integer",
  6231. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6232. "name": "buyOrSell",
  6233. "in": "query"
  6234. },
  6235. {
  6236. "type": "number",
  6237. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6238. "name": "price",
  6239. "in": "query"
  6240. },
  6241. {
  6242. "type": "integer",
  6243. "description": "档位,不传则默认为3档",
  6244. "name": "speed",
  6245. "in": "query"
  6246. }
  6247. ],
  6248. "responses": {
  6249. "200": {
  6250. "description": "OK",
  6251. "schema": {
  6252. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6253. }
  6254. },
  6255. "500": {
  6256. "description": "Internal Server Error",
  6257. "schema": {
  6258. "$ref": "#/definitions/app.Response"
  6259. }
  6260. }
  6261. }
  6262. }
  6263. },
  6264. "/HSBY/QueryHsbyListingGoodsDetail": {
  6265. "get": {
  6266. "security": [
  6267. {
  6268. "ApiKeyAuth": []
  6269. }
  6270. ],
  6271. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6272. "produces": [
  6273. "application/json"
  6274. ],
  6275. "tags": [
  6276. "定制【海商报业】"
  6277. ],
  6278. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6279. "parameters": [
  6280. {
  6281. "type": "integer",
  6282. "description": "商品ID",
  6283. "name": "goodsID",
  6284. "in": "query",
  6285. "required": true
  6286. },
  6287. {
  6288. "type": "integer",
  6289. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6290. "name": "accountID",
  6291. "in": "query"
  6292. }
  6293. ],
  6294. "responses": {
  6295. "200": {
  6296. "description": "OK",
  6297. "schema": {
  6298. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6299. }
  6300. },
  6301. "500": {
  6302. "description": "Internal Server Error",
  6303. "schema": {
  6304. "$ref": "#/definitions/app.Response"
  6305. }
  6306. }
  6307. }
  6308. }
  6309. },
  6310. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6311. "get": {
  6312. "security": [
  6313. {
  6314. "ApiKeyAuth": []
  6315. }
  6316. ],
  6317. "produces": [
  6318. "application/json"
  6319. ],
  6320. "tags": [
  6321. "定制【海商报业】"
  6322. ],
  6323. "summary": "查询三级市场(商城)商品信息详情",
  6324. "parameters": [
  6325. {
  6326. "type": "integer",
  6327. "description": "委托单号",
  6328. "name": "orderID",
  6329. "in": "query",
  6330. "required": true
  6331. },
  6332. {
  6333. "type": "integer",
  6334. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6335. "name": "accountID",
  6336. "in": "query"
  6337. }
  6338. ],
  6339. "responses": {
  6340. "200": {
  6341. "description": "OK",
  6342. "schema": {
  6343. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6344. }
  6345. },
  6346. "500": {
  6347. "description": "Internal Server Error",
  6348. "schema": {
  6349. "$ref": "#/definitions/app.Response"
  6350. }
  6351. }
  6352. }
  6353. }
  6354. },
  6355. "/HSBY/QueryHsbyMarketGoodses": {
  6356. "get": {
  6357. "security": [
  6358. {
  6359. "ApiKeyAuth": []
  6360. }
  6361. ],
  6362. "produces": [
  6363. "application/json"
  6364. ],
  6365. "tags": [
  6366. "定制【海商报业】"
  6367. ],
  6368. "summary": "查询特卖商品列表(三级商城)",
  6369. "parameters": [
  6370. {
  6371. "type": "integer",
  6372. "description": "页码",
  6373. "name": "page",
  6374. "in": "query"
  6375. },
  6376. {
  6377. "type": "integer",
  6378. "description": "每页条数",
  6379. "name": "pagesize",
  6380. "in": "query"
  6381. },
  6382. {
  6383. "type": "string",
  6384. "description": "市场ID列表,格式:1,2,3",
  6385. "name": "marketIDs",
  6386. "in": "query",
  6387. "required": true
  6388. },
  6389. {
  6390. "type": "integer",
  6391. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6392. "name": "accountID",
  6393. "in": "query",
  6394. "required": true
  6395. },
  6396. {
  6397. "type": "integer",
  6398. "description": "类别ID",
  6399. "name": "categoryID",
  6400. "in": "query"
  6401. },
  6402. {
  6403. "type": "string",
  6404. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6405. "name": "goodsIDs",
  6406. "in": "query"
  6407. },
  6408. {
  6409. "type": "integer",
  6410. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6411. "name": "couponTypeID",
  6412. "in": "query"
  6413. }
  6414. ],
  6415. "responses": {
  6416. "200": {
  6417. "description": "OK",
  6418. "schema": {
  6419. "$ref": "#/definitions/models.HsbyMarketGoods"
  6420. }
  6421. },
  6422. "500": {
  6423. "description": "Internal Server Error",
  6424. "schema": {
  6425. "$ref": "#/definitions/app.Response"
  6426. }
  6427. }
  6428. }
  6429. }
  6430. },
  6431. "/HSBY/QueryHsbyMarkets": {
  6432. "get": {
  6433. "security": [
  6434. {
  6435. "ApiKeyAuth": []
  6436. }
  6437. ],
  6438. "produces": [
  6439. "application/json"
  6440. ],
  6441. "tags": [
  6442. "定制【海商报业】"
  6443. ],
  6444. "summary": "查询海商报业相关市场信息",
  6445. "responses": {
  6446. "200": {
  6447. "description": "OK",
  6448. "schema": {
  6449. "$ref": "#/definitions/models.HsbyMarketInfo"
  6450. }
  6451. },
  6452. "500": {
  6453. "description": "Internal Server Error",
  6454. "schema": {
  6455. "$ref": "#/definitions/app.Response"
  6456. }
  6457. }
  6458. }
  6459. }
  6460. },
  6461. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6462. "get": {
  6463. "security": [
  6464. {
  6465. "ApiKeyAuth": []
  6466. }
  6467. ],
  6468. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6469. "produces": [
  6470. "application/json"
  6471. ],
  6472. "tags": [
  6473. "定制【海商报业】"
  6474. ],
  6475. "summary": "查询“我的订单”信息",
  6476. "parameters": [
  6477. {
  6478. "type": "string",
  6479. "description": "资金账户列表,格式:1,2,3",
  6480. "name": "accountIDs",
  6481. "in": "query",
  6482. "required": true
  6483. }
  6484. ],
  6485. "responses": {
  6486. "200": {
  6487. "description": "OK",
  6488. "schema": {
  6489. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6490. }
  6491. },
  6492. "500": {
  6493. "description": "Internal Server Error",
  6494. "schema": {
  6495. "$ref": "#/definitions/app.Response"
  6496. }
  6497. }
  6498. }
  6499. }
  6500. },
  6501. "/HSBY/QueryHsbyMyGoods": {
  6502. "get": {
  6503. "security": [
  6504. {
  6505. "ApiKeyAuth": []
  6506. }
  6507. ],
  6508. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6509. "produces": [
  6510. "application/json"
  6511. ],
  6512. "tags": [
  6513. "定制【海商报业】"
  6514. ],
  6515. "summary": "查询“我的商品”信息",
  6516. "parameters": [
  6517. {
  6518. "type": "string",
  6519. "description": "资金账户列表,格式:1,2,3",
  6520. "name": "accountIDs",
  6521. "in": "query",
  6522. "required": true
  6523. }
  6524. ],
  6525. "responses": {
  6526. "200": {
  6527. "description": "OK",
  6528. "schema": {
  6529. "$ref": "#/definitions/models.HsbyMyGoods"
  6530. }
  6531. },
  6532. "500": {
  6533. "description": "Internal Server Error",
  6534. "schema": {
  6535. "$ref": "#/definitions/app.Response"
  6536. }
  6537. }
  6538. }
  6539. }
  6540. },
  6541. "/HSBY/QueryHsbyMyPackages": {
  6542. "get": {
  6543. "security": [
  6544. {
  6545. "ApiKeyAuth": []
  6546. }
  6547. ],
  6548. "produces": [
  6549. "application/json"
  6550. ],
  6551. "tags": [
  6552. "定制【海商报业】"
  6553. ],
  6554. "summary": "查询我的包裹信息",
  6555. "parameters": [
  6556. {
  6557. "type": "string",
  6558. "description": "资金账户列表,格式:1,2,3",
  6559. "name": "accountIDs",
  6560. "in": "query",
  6561. "required": true
  6562. },
  6563. {
  6564. "type": "integer",
  6565. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6566. "name": "takeOrderStatus",
  6567. "in": "query"
  6568. }
  6569. ],
  6570. "responses": {
  6571. "200": {
  6572. "description": "OK",
  6573. "schema": {
  6574. "$ref": "#/definitions/models.HsbyMyPackage"
  6575. }
  6576. },
  6577. "500": {
  6578. "description": "Internal Server Error",
  6579. "schema": {
  6580. "$ref": "#/definitions/app.Response"
  6581. }
  6582. }
  6583. }
  6584. }
  6585. },
  6586. "/HSBY/QueryHsbyPreGoodsDetail": {
  6587. "get": {
  6588. "security": [
  6589. {
  6590. "ApiKeyAuth": []
  6591. }
  6592. ],
  6593. "produces": [
  6594. "application/json"
  6595. ],
  6596. "tags": [
  6597. "定制【海商报业】"
  6598. ],
  6599. "summary": "查询一级市场(预售)商品信息详情",
  6600. "parameters": [
  6601. {
  6602. "type": "integer",
  6603. "description": "商品ID",
  6604. "name": "goodsID",
  6605. "in": "query",
  6606. "required": true
  6607. },
  6608. {
  6609. "type": "integer",
  6610. "description": "资金账户,主要用于获取预售商品购买上限",
  6611. "name": "accountID",
  6612. "in": "query"
  6613. }
  6614. ],
  6615. "responses": {
  6616. "200": {
  6617. "description": "OK",
  6618. "schema": {
  6619. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6620. }
  6621. },
  6622. "500": {
  6623. "description": "Internal Server Error",
  6624. "schema": {
  6625. "$ref": "#/definitions/app.Response"
  6626. }
  6627. }
  6628. }
  6629. }
  6630. },
  6631. "/HSBY/QueryHsbyPreGoodses": {
  6632. "get": {
  6633. "security": [
  6634. {
  6635. "ApiKeyAuth": []
  6636. }
  6637. ],
  6638. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6639. "produces": [
  6640. "application/json"
  6641. ],
  6642. "tags": [
  6643. "定制【海商报业】"
  6644. ],
  6645. "summary": "查询新品上市商品列表(一级市场预售)",
  6646. "parameters": [
  6647. {
  6648. "type": "integer",
  6649. "description": "页码",
  6650. "name": "page",
  6651. "in": "query"
  6652. },
  6653. {
  6654. "type": "integer",
  6655. "description": "每页条数",
  6656. "name": "pagesize",
  6657. "in": "query"
  6658. },
  6659. {
  6660. "type": "string",
  6661. "description": "市场ID列表,格式:1,2,3",
  6662. "name": "marketIDs",
  6663. "in": "query",
  6664. "required": true
  6665. },
  6666. {
  6667. "type": "integer",
  6668. "description": "目的地(省)ID",
  6669. "name": "descProvinceID",
  6670. "in": "query"
  6671. },
  6672. {
  6673. "type": "integer",
  6674. "description": "目的地(市)ID",
  6675. "name": "descCityID",
  6676. "in": "query"
  6677. }
  6678. ],
  6679. "responses": {
  6680. "200": {
  6681. "description": "OK",
  6682. "schema": {
  6683. "$ref": "#/definitions/models.HsbyPreGoods"
  6684. }
  6685. },
  6686. "500": {
  6687. "description": "Internal Server Error",
  6688. "schema": {
  6689. "$ref": "#/definitions/app.Response"
  6690. }
  6691. }
  6692. }
  6693. }
  6694. },
  6695. "/HSBY/QueryHsbySellMyDetails": {
  6696. "get": {
  6697. "security": [
  6698. {
  6699. "ApiKeyAuth": []
  6700. }
  6701. ],
  6702. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6703. "produces": [
  6704. "application/json"
  6705. ],
  6706. "tags": [
  6707. "定制【海商报业】"
  6708. ],
  6709. "summary": "查询\"我的闲置\"单据信息",
  6710. "parameters": [
  6711. {
  6712. "type": "integer",
  6713. "description": "页码",
  6714. "name": "page",
  6715. "in": "query"
  6716. },
  6717. {
  6718. "type": "integer",
  6719. "description": "每页条数",
  6720. "name": "pagesize",
  6721. "in": "query"
  6722. },
  6723. {
  6724. "type": "string",
  6725. "description": "资金账户列表,格式:1,2,3",
  6726. "name": "accountIDs",
  6727. "in": "query",
  6728. "required": true
  6729. },
  6730. {
  6731. "type": "integer",
  6732. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6733. "name": "orderType",
  6734. "in": "query"
  6735. }
  6736. ],
  6737. "responses": {
  6738. "200": {
  6739. "description": "OK",
  6740. "schema": {
  6741. "$ref": "#/definitions/models.HsbySellMyDetail"
  6742. }
  6743. },
  6744. "500": {
  6745. "description": "Internal Server Error",
  6746. "schema": {
  6747. "$ref": "#/definitions/app.Response"
  6748. }
  6749. }
  6750. }
  6751. }
  6752. },
  6753. "/HSBY/QueryHsbyTopGoodses": {
  6754. "get": {
  6755. "security": [
  6756. {
  6757. "ApiKeyAuth": []
  6758. }
  6759. ],
  6760. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6761. "produces": [
  6762. "application/json"
  6763. ],
  6764. "tags": [
  6765. "定制【海商报业】"
  6766. ],
  6767. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6768. "parameters": [
  6769. {
  6770. "type": "integer",
  6771. "description": "页码",
  6772. "name": "page",
  6773. "in": "query"
  6774. },
  6775. {
  6776. "type": "integer",
  6777. "description": "每页条数",
  6778. "name": "pagesize",
  6779. "in": "query"
  6780. },
  6781. {
  6782. "type": "string",
  6783. "description": "市场ID列表,格式:1,2,3",
  6784. "name": "marketIDs",
  6785. "in": "query",
  6786. "required": true
  6787. },
  6788. {
  6789. "type": "integer",
  6790. "description": "目的地(省)ID",
  6791. "name": "descProvinceID",
  6792. "in": "query"
  6793. },
  6794. {
  6795. "type": "integer",
  6796. "description": "目的地(市)ID",
  6797. "name": "descCityID",
  6798. "in": "query"
  6799. }
  6800. ],
  6801. "responses": {
  6802. "200": {
  6803. "description": "OK",
  6804. "schema": {
  6805. "$ref": "#/definitions/models.HsbyTopGoods"
  6806. }
  6807. },
  6808. "500": {
  6809. "description": "Internal Server Error",
  6810. "schema": {
  6811. "$ref": "#/definitions/app.Response"
  6812. }
  6813. }
  6814. }
  6815. }
  6816. },
  6817. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6818. "get": {
  6819. "security": [
  6820. {
  6821. "ApiKeyAuth": []
  6822. }
  6823. ],
  6824. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6825. "produces": [
  6826. "application/json"
  6827. ],
  6828. "tags": [
  6829. "定制【海商报业】"
  6830. ],
  6831. "summary": "查询游客三级市场(商城)商品信息详情",
  6832. "parameters": [
  6833. {
  6834. "type": "integer",
  6835. "description": "商品ID",
  6836. "name": "goodsID",
  6837. "in": "query",
  6838. "required": true
  6839. }
  6840. ],
  6841. "responses": {
  6842. "200": {
  6843. "description": "OK",
  6844. "schema": {
  6845. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6846. }
  6847. },
  6848. "500": {
  6849. "description": "Internal Server Error",
  6850. "schema": {
  6851. "$ref": "#/definitions/app.Response"
  6852. }
  6853. }
  6854. }
  6855. }
  6856. },
  6857. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6858. "get": {
  6859. "security": [
  6860. {
  6861. "ApiKeyAuth": []
  6862. }
  6863. ],
  6864. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6865. "produces": [
  6866. "application/json"
  6867. ],
  6868. "tags": [
  6869. "定制【海商报业】"
  6870. ],
  6871. "summary": "查询游客特卖商品列表(三级商城)",
  6872. "parameters": [
  6873. {
  6874. "type": "integer",
  6875. "description": "页码",
  6876. "name": "page",
  6877. "in": "query"
  6878. },
  6879. {
  6880. "type": "integer",
  6881. "description": "每页条数",
  6882. "name": "pagesize",
  6883. "in": "query"
  6884. },
  6885. {
  6886. "type": "string",
  6887. "description": "市场ID列表,格式:1,2,3",
  6888. "name": "marketIDs",
  6889. "in": "query",
  6890. "required": true
  6891. },
  6892. {
  6893. "type": "integer",
  6894. "description": "类别ID",
  6895. "name": "categoryID",
  6896. "in": "query"
  6897. },
  6898. {
  6899. "type": "string",
  6900. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6901. "name": "goodsIDs",
  6902. "in": "query"
  6903. }
  6904. ],
  6905. "responses": {
  6906. "200": {
  6907. "description": "OK",
  6908. "schema": {
  6909. "$ref": "#/definitions/models.HsbyMarketGoods"
  6910. }
  6911. },
  6912. "500": {
  6913. "description": "Internal Server Error",
  6914. "schema": {
  6915. "$ref": "#/definitions/app.Response"
  6916. }
  6917. }
  6918. }
  6919. }
  6920. },
  6921. "/HSBY/QueryMyCollectionOrders": {
  6922. "get": {
  6923. "security": [
  6924. {
  6925. "ApiKeyAuth": []
  6926. }
  6927. ],
  6928. "produces": [
  6929. "application/json"
  6930. ],
  6931. "tags": [
  6932. "定制【海商报业】"
  6933. ],
  6934. "summary": "我的闲置中收款信息查询",
  6935. "parameters": [
  6936. {
  6937. "type": "integer",
  6938. "description": "页码",
  6939. "name": "page",
  6940. "in": "query"
  6941. },
  6942. {
  6943. "type": "integer",
  6944. "description": "每页条数",
  6945. "name": "pagesize",
  6946. "in": "query"
  6947. },
  6948. {
  6949. "type": "string",
  6950. "description": "资金账户,格式:1,2,3",
  6951. "name": "accountIDs",
  6952. "in": "query",
  6953. "required": true
  6954. }
  6955. ],
  6956. "responses": {
  6957. "200": {
  6958. "description": "OK",
  6959. "schema": {
  6960. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6961. }
  6962. },
  6963. "500": {
  6964. "description": "Internal Server Error",
  6965. "schema": {
  6966. "$ref": "#/definitions/app.Response"
  6967. }
  6968. }
  6969. }
  6970. }
  6971. },
  6972. "/HSBY/QueryMyCouponHolds": {
  6973. "get": {
  6974. "security": [
  6975. {
  6976. "ApiKeyAuth": []
  6977. }
  6978. ],
  6979. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6980. "produces": [
  6981. "application/json"
  6982. ],
  6983. "tags": [
  6984. "定制【海商报业】"
  6985. ],
  6986. "summary": "我的优惠卷持仓查询",
  6987. "parameters": [
  6988. {
  6989. "type": "string",
  6990. "description": "资金账户列表,格式:1,2,3",
  6991. "name": "accountIDs",
  6992. "in": "query",
  6993. "required": true
  6994. },
  6995. {
  6996. "type": "string",
  6997. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6998. "name": "holdStatus",
  6999. "in": "query"
  7000. }
  7001. ],
  7002. "responses": {
  7003. "200": {
  7004. "description": "OK",
  7005. "schema": {
  7006. "$ref": "#/definitions/models.MyCouponHold"
  7007. }
  7008. },
  7009. "500": {
  7010. "description": "Internal Server Error",
  7011. "schema": {
  7012. "$ref": "#/definitions/app.Response"
  7013. }
  7014. }
  7015. }
  7016. }
  7017. },
  7018. "/HSBY/QueryMyCoupons": {
  7019. "get": {
  7020. "security": [
  7021. {
  7022. "ApiKeyAuth": []
  7023. }
  7024. ],
  7025. "produces": [
  7026. "application/json"
  7027. ],
  7028. "tags": [
  7029. "定制【海商报业】"
  7030. ],
  7031. "summary": "我的优惠卷查询",
  7032. "parameters": [
  7033. {
  7034. "type": "string",
  7035. "description": "资金账户列表,格式:1,2,3",
  7036. "name": "accountIDs",
  7037. "in": "query",
  7038. "required": true
  7039. },
  7040. {
  7041. "type": "integer",
  7042. "description": "商品ID, 一般与sellUserID配套传入",
  7043. "name": "goodsID",
  7044. "in": "query"
  7045. },
  7046. {
  7047. "type": "integer",
  7048. "description": "卖方UserID",
  7049. "name": "sellUserID",
  7050. "in": "query"
  7051. }
  7052. ],
  7053. "responses": {
  7054. "200": {
  7055. "description": "OK",
  7056. "schema": {
  7057. "$ref": "#/definitions/models.MyCoupon"
  7058. }
  7059. },
  7060. "500": {
  7061. "description": "Internal Server Error",
  7062. "schema": {
  7063. "$ref": "#/definitions/app.Response"
  7064. }
  7065. }
  7066. }
  7067. }
  7068. },
  7069. "/HSBY/QueryMyPayOrders": {
  7070. "get": {
  7071. "security": [
  7072. {
  7073. "ApiKeyAuth": []
  7074. }
  7075. ],
  7076. "produces": [
  7077. "application/json"
  7078. ],
  7079. "tags": [
  7080. "定制【海商报业】"
  7081. ],
  7082. "summary": "获取我的订单中待付款信息",
  7083. "parameters": [
  7084. {
  7085. "type": "integer",
  7086. "description": "页码",
  7087. "name": "page",
  7088. "in": "query"
  7089. },
  7090. {
  7091. "type": "integer",
  7092. "description": "每页条数",
  7093. "name": "pagesize",
  7094. "in": "query"
  7095. },
  7096. {
  7097. "type": "string",
  7098. "description": "资金账户列表,格式:1,2,3",
  7099. "name": "accountIDs",
  7100. "in": "query",
  7101. "required": true
  7102. },
  7103. {
  7104. "type": "integer",
  7105. "description": "买方委托单号",
  7106. "name": "buyOrderID",
  7107. "in": "query"
  7108. },
  7109. {
  7110. "type": "integer",
  7111. "description": "卖方委托单号",
  7112. "name": "sellOrderID",
  7113. "in": "query"
  7114. }
  7115. ],
  7116. "responses": {
  7117. "200": {
  7118. "description": "OK",
  7119. "schema": {
  7120. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7121. }
  7122. },
  7123. "500": {
  7124. "description": "Internal Server Error",
  7125. "schema": {
  7126. "$ref": "#/definitions/app.Response"
  7127. }
  7128. }
  7129. }
  7130. }
  7131. },
  7132. "/HSBY/QueryMyUsedCoupon": {
  7133. "get": {
  7134. "security": [
  7135. {
  7136. "ApiKeyAuth": []
  7137. }
  7138. ],
  7139. "produces": [
  7140. "application/json"
  7141. ],
  7142. "tags": [
  7143. "定制【海商报业】"
  7144. ],
  7145. "summary": "已使用优惠卷查询",
  7146. "parameters": [
  7147. {
  7148. "type": "string",
  7149. "description": "资金账户列表,格式:1,2,3",
  7150. "name": "accountIDs",
  7151. "in": "query",
  7152. "required": true
  7153. }
  7154. ],
  7155. "responses": {
  7156. "200": {
  7157. "description": "OK",
  7158. "schema": {
  7159. "$ref": "#/definitions/models.MyUsedCoupon"
  7160. }
  7161. },
  7162. "500": {
  7163. "description": "Internal Server Error",
  7164. "schema": {
  7165. "$ref": "#/definitions/app.Response"
  7166. }
  7167. }
  7168. }
  7169. }
  7170. },
  7171. "/HSBY/QueryProvincesAndCities": {
  7172. "get": {
  7173. "security": [
  7174. {
  7175. "ApiKeyAuth": []
  7176. }
  7177. ],
  7178. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7179. "produces": [
  7180. "application/json"
  7181. ],
  7182. "tags": [
  7183. "定制【海商报业】"
  7184. ],
  7185. "summary": "查询省市信息(不包括区)",
  7186. "parameters": [
  7187. {
  7188. "type": "integer",
  7189. "description": "省ID",
  7190. "name": "provinceID",
  7191. "in": "query"
  7192. }
  7193. ],
  7194. "responses": {
  7195. "200": {
  7196. "description": "OK",
  7197. "schema": {
  7198. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7199. }
  7200. },
  7201. "500": {
  7202. "description": "Internal Server Error",
  7203. "schema": {
  7204. "$ref": "#/definitions/app.Response"
  7205. }
  7206. }
  7207. }
  7208. }
  7209. },
  7210. "/HSBY/SetHsbyMyPackagesStatus": {
  7211. "post": {
  7212. "security": [
  7213. {
  7214. "ApiKeyAuth": []
  7215. }
  7216. ],
  7217. "produces": [
  7218. "application/json"
  7219. ],
  7220. "tags": [
  7221. "定制【海商报业】"
  7222. ],
  7223. "summary": "设置我的包裹已收货状态",
  7224. "parameters": [
  7225. {
  7226. "type": "string",
  7227. "description": "提货单号",
  7228. "name": "takeOrderID",
  7229. "in": "query",
  7230. "required": true
  7231. },
  7232. {
  7233. "type": "integer",
  7234. "description": "资金账号",
  7235. "name": "accountID",
  7236. "in": "query",
  7237. "required": true
  7238. }
  7239. ],
  7240. "responses": {
  7241. "200": {
  7242. "description": "OK",
  7243. "schema": {
  7244. "$ref": "#/definitions/app.Response"
  7245. }
  7246. },
  7247. "500": {
  7248. "description": "Internal Server Error",
  7249. "schema": {
  7250. "$ref": "#/definitions/app.Response"
  7251. }
  7252. }
  7253. }
  7254. }
  7255. },
  7256. "/Market/GetAllExExchanges": {
  7257. "get": {
  7258. "security": [
  7259. {
  7260. "ApiKeyAuth": []
  7261. }
  7262. ],
  7263. "produces": [
  7264. "application/json"
  7265. ],
  7266. "tags": [
  7267. "通用市场"
  7268. ],
  7269. "summary": "获取所有外部交易所信息",
  7270. "responses": {
  7271. "200": {
  7272. "description": "OK",
  7273. "schema": {
  7274. "$ref": "#/definitions/models.Goods"
  7275. }
  7276. },
  7277. "500": {
  7278. "description": "Internal Server Error",
  7279. "schema": {
  7280. "$ref": "#/definitions/app.Response"
  7281. }
  7282. }
  7283. }
  7284. }
  7285. },
  7286. "/Market/QueryGoodsesByLoginID": {
  7287. "get": {
  7288. "security": [
  7289. {
  7290. "ApiKeyAuth": []
  7291. }
  7292. ],
  7293. "produces": [
  7294. "application/json"
  7295. ],
  7296. "tags": [
  7297. "通用市场"
  7298. ],
  7299. "summary": "获取登录账号有权限的商品信息",
  7300. "parameters": [
  7301. {
  7302. "type": "integer",
  7303. "description": "登录账号",
  7304. "name": "loginID",
  7305. "in": "query",
  7306. "required": true
  7307. },
  7308. {
  7309. "type": "string",
  7310. "description": "市场ID列表,格式:1,2,3",
  7311. "name": "marketIDs",
  7312. "in": "query"
  7313. }
  7314. ],
  7315. "responses": {
  7316. "200": {
  7317. "description": "OK",
  7318. "schema": {
  7319. "$ref": "#/definitions/models.Goods"
  7320. }
  7321. },
  7322. "500": {
  7323. "description": "Internal Server Error",
  7324. "schema": {
  7325. "$ref": "#/definitions/app.Response"
  7326. }
  7327. }
  7328. }
  7329. }
  7330. },
  7331. "/Market/QueryMarketRun": {
  7332. "get": {
  7333. "security": [
  7334. {
  7335. "ApiKeyAuth": []
  7336. }
  7337. ],
  7338. "produces": [
  7339. "application/json"
  7340. ],
  7341. "tags": [
  7342. "通用市场"
  7343. ],
  7344. "summary": "查询市场运行信息",
  7345. "parameters": [
  7346. {
  7347. "type": "integer",
  7348. "description": "市场ID,不传返回所有",
  7349. "name": "marketID",
  7350. "in": "query"
  7351. }
  7352. ],
  7353. "responses": {
  7354. "200": {
  7355. "description": "OK",
  7356. "schema": {
  7357. "$ref": "#/definitions/models.Marketrun"
  7358. }
  7359. },
  7360. "500": {
  7361. "description": "Internal Server Error",
  7362. "schema": {
  7363. "$ref": "#/definitions/app.Response"
  7364. }
  7365. }
  7366. }
  7367. }
  7368. },
  7369. "/Market/QueryMarketsByLoginID": {
  7370. "get": {
  7371. "security": [
  7372. {
  7373. "ApiKeyAuth": []
  7374. }
  7375. ],
  7376. "produces": [
  7377. "application/json"
  7378. ],
  7379. "tags": [
  7380. "通用市场"
  7381. ],
  7382. "summary": "获取登录账号有权限的市场信息",
  7383. "parameters": [
  7384. {
  7385. "type": "integer",
  7386. "description": "登录账号",
  7387. "name": "loginID",
  7388. "in": "query",
  7389. "required": true
  7390. }
  7391. ],
  7392. "responses": {
  7393. "200": {
  7394. "description": "OK",
  7395. "schema": {
  7396. "$ref": "#/definitions/models.Market"
  7397. }
  7398. },
  7399. "500": {
  7400. "description": "Internal Server Error",
  7401. "schema": {
  7402. "$ref": "#/definitions/app.Response"
  7403. }
  7404. }
  7405. }
  7406. }
  7407. },
  7408. "/Order/QueryHisTradeDetail": {
  7409. "get": {
  7410. "security": [
  7411. {
  7412. "ApiKeyAuth": []
  7413. }
  7414. ],
  7415. "produces": [
  7416. "application/json"
  7417. ],
  7418. "tags": [
  7419. "通用单据"
  7420. ],
  7421. "summary": "历史成交单查询(合约市场)",
  7422. "parameters": [
  7423. {
  7424. "type": "string",
  7425. "description": "资金账户 - 格式:1,2,3",
  7426. "name": "accountID",
  7427. "in": "query",
  7428. "required": true
  7429. },
  7430. {
  7431. "type": "integer",
  7432. "description": "成交单号",
  7433. "name": "tradeID",
  7434. "in": "query"
  7435. },
  7436. {
  7437. "type": "integer",
  7438. "description": "委托单号",
  7439. "name": "orderID",
  7440. "in": "query"
  7441. },
  7442. {
  7443. "type": "integer",
  7444. "description": "商品ID",
  7445. "name": "goodsID",
  7446. "in": "query"
  7447. },
  7448. {
  7449. "type": "string",
  7450. "description": "交易模式 - 格式:1,2,3",
  7451. "name": "tradeMode",
  7452. "in": "query"
  7453. },
  7454. {
  7455. "type": "integer",
  7456. "description": "委托单据类型",
  7457. "name": "buildType",
  7458. "in": "query"
  7459. },
  7460. {
  7461. "type": "string",
  7462. "description": "成交类别 - 格式:1,2,3",
  7463. "name": "tradeType",
  7464. "in": "query"
  7465. },
  7466. {
  7467. "type": "string",
  7468. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7469. "name": "startDate",
  7470. "in": "query"
  7471. },
  7472. {
  7473. "type": "string",
  7474. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7475. "name": "endDate",
  7476. "in": "query"
  7477. }
  7478. ],
  7479. "responses": {
  7480. "200": {
  7481. "description": "OK",
  7482. "schema": {
  7483. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7484. }
  7485. },
  7486. "500": {
  7487. "description": "Internal Server Error",
  7488. "schema": {
  7489. "$ref": "#/definitions/app.Response"
  7490. }
  7491. }
  7492. }
  7493. }
  7494. },
  7495. "/Order/QueryHisTradeOrderDetail": {
  7496. "get": {
  7497. "security": [
  7498. {
  7499. "ApiKeyAuth": []
  7500. }
  7501. ],
  7502. "produces": [
  7503. "application/json"
  7504. ],
  7505. "tags": [
  7506. "通用单据"
  7507. ],
  7508. "summary": "历史委托单查询请求(合约市场)",
  7509. "parameters": [
  7510. {
  7511. "type": "string",
  7512. "description": "资金账户 - 格式:1,2,3",
  7513. "name": "accountID",
  7514. "in": "query",
  7515. "required": true
  7516. },
  7517. {
  7518. "type": "string",
  7519. "description": "交易模式 - 格式:1,2,3",
  7520. "name": "tradeMode",
  7521. "in": "query"
  7522. },
  7523. {
  7524. "type": "string",
  7525. "description": "委托状态 - 格式:1,2,3",
  7526. "name": "orderStatus",
  7527. "in": "query"
  7528. },
  7529. {
  7530. "type": "integer",
  7531. "description": "委托单号",
  7532. "name": "orderID",
  7533. "in": "query"
  7534. },
  7535. {
  7536. "type": "string",
  7537. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7538. "name": "startDate",
  7539. "in": "query"
  7540. },
  7541. {
  7542. "type": "string",
  7543. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7544. "name": "endDate",
  7545. "in": "query"
  7546. }
  7547. ],
  7548. "responses": {
  7549. "200": {
  7550. "description": "OK",
  7551. "schema": {
  7552. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7553. }
  7554. },
  7555. "500": {
  7556. "description": "Internal Server Error",
  7557. "schema": {
  7558. "$ref": "#/definitions/app.Response"
  7559. }
  7560. }
  7561. }
  7562. }
  7563. },
  7564. "/Order/QueryTradeDetail": {
  7565. "get": {
  7566. "security": [
  7567. {
  7568. "ApiKeyAuth": []
  7569. }
  7570. ],
  7571. "produces": [
  7572. "application/json"
  7573. ],
  7574. "tags": [
  7575. "通用单据"
  7576. ],
  7577. "summary": "成交单查询(合约市场)",
  7578. "parameters": [
  7579. {
  7580. "type": "string",
  7581. "description": "资金账户 - 格式:1,2,3",
  7582. "name": "accountID",
  7583. "in": "query",
  7584. "required": true
  7585. },
  7586. {
  7587. "type": "integer",
  7588. "description": "成交单号",
  7589. "name": "tradeID",
  7590. "in": "query"
  7591. },
  7592. {
  7593. "type": "integer",
  7594. "description": "委托单号",
  7595. "name": "orderID",
  7596. "in": "query"
  7597. },
  7598. {
  7599. "type": "string",
  7600. "description": "交易模式 - 格式:1,2,3",
  7601. "name": "tradeMode",
  7602. "in": "query"
  7603. },
  7604. {
  7605. "type": "integer",
  7606. "description": "委托单据类型",
  7607. "name": "buildType",
  7608. "in": "query"
  7609. },
  7610. {
  7611. "type": "string",
  7612. "description": "成交类别 - 格式:1,2,3",
  7613. "name": "tradeType",
  7614. "in": "query"
  7615. },
  7616. {
  7617. "type": "integer",
  7618. "description": "商品ID",
  7619. "name": "goodsID",
  7620. "in": "query"
  7621. }
  7622. ],
  7623. "responses": {
  7624. "200": {
  7625. "description": "OK",
  7626. "schema": {
  7627. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7628. }
  7629. },
  7630. "500": {
  7631. "description": "Internal Server Error",
  7632. "schema": {
  7633. "$ref": "#/definitions/app.Response"
  7634. }
  7635. }
  7636. }
  7637. }
  7638. },
  7639. "/Order/QueryTradeHolderDetail": {
  7640. "get": {
  7641. "security": [
  7642. {
  7643. "ApiKeyAuth": []
  7644. }
  7645. ],
  7646. "produces": [
  7647. "application/json"
  7648. ],
  7649. "tags": [
  7650. "通用单据"
  7651. ],
  7652. "summary": "查询持仓明细",
  7653. "parameters": [
  7654. {
  7655. "type": "integer",
  7656. "description": "用户id",
  7657. "name": "userid",
  7658. "in": "query"
  7659. },
  7660. {
  7661. "type": "string",
  7662. "description": "资金账号, 格式 1,2,3",
  7663. "name": "accids",
  7664. "in": "query"
  7665. },
  7666. {
  7667. "type": "string",
  7668. "description": "交易模式, 格式 1,2,3",
  7669. "name": "trademodes",
  7670. "in": "query"
  7671. },
  7672. {
  7673. "type": "string",
  7674. "description": "市场id, 格式 1,2,3",
  7675. "name": "marketids",
  7676. "in": "query"
  7677. },
  7678. {
  7679. "type": "integer",
  7680. "description": "商品id",
  7681. "name": "goodsid",
  7682. "in": "query"
  7683. },
  7684. {
  7685. "type": "integer",
  7686. "description": "买卖方向 0-买 1-卖",
  7687. "name": "buyorsell",
  7688. "in": "query"
  7689. }
  7690. ],
  7691. "responses": {
  7692. "200": {
  7693. "description": "OK",
  7694. "schema": {
  7695. "type": "array",
  7696. "items": {
  7697. "$ref": "#/definitions/models.TradeHolderDetail"
  7698. }
  7699. }
  7700. },
  7701. "500": {
  7702. "description": "Internal Server Error",
  7703. "schema": {
  7704. "$ref": "#/definitions/app.Response"
  7705. }
  7706. }
  7707. }
  7708. }
  7709. },
  7710. "/Order/QueryTradeOrderDetail": {
  7711. "get": {
  7712. "security": [
  7713. {
  7714. "ApiKeyAuth": []
  7715. }
  7716. ],
  7717. "produces": [
  7718. "application/json"
  7719. ],
  7720. "tags": [
  7721. "通用单据"
  7722. ],
  7723. "summary": "委托单查询请求(合约市场)",
  7724. "parameters": [
  7725. {
  7726. "type": "string",
  7727. "description": "资金账户 - 格式:1,2,3",
  7728. "name": "accountID",
  7729. "in": "query",
  7730. "required": true
  7731. },
  7732. {
  7733. "type": "string",
  7734. "description": "交易模式 - 格式:1,2,3",
  7735. "name": "tradeMode",
  7736. "in": "query"
  7737. },
  7738. {
  7739. "type": "string",
  7740. "description": "委托状态 - 格式:1,2,3",
  7741. "name": "orderStatus",
  7742. "in": "query"
  7743. },
  7744. {
  7745. "type": "integer",
  7746. "description": "委托单号",
  7747. "name": "orderID",
  7748. "in": "query"
  7749. }
  7750. ],
  7751. "responses": {
  7752. "200": {
  7753. "description": "OK",
  7754. "schema": {
  7755. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7756. }
  7757. },
  7758. "500": {
  7759. "description": "Internal Server Error",
  7760. "schema": {
  7761. "$ref": "#/definitions/app.Response"
  7762. }
  7763. }
  7764. }
  7765. }
  7766. },
  7767. "/Order/QueryTradePosition": {
  7768. "get": {
  7769. "security": [
  7770. {
  7771. "ApiKeyAuth": []
  7772. }
  7773. ],
  7774. "produces": [
  7775. "application/json"
  7776. ],
  7777. "tags": [
  7778. "通用单据"
  7779. ],
  7780. "summary": "持仓汇总查询(合约市场)",
  7781. "parameters": [
  7782. {
  7783. "type": "string",
  7784. "description": "资金账户 - 格式:1,2,3",
  7785. "name": "accountID",
  7786. "in": "query",
  7787. "required": true
  7788. },
  7789. {
  7790. "type": "string",
  7791. "description": "交易模式 - 格式:1,2,3",
  7792. "name": "tradeMode",
  7793. "in": "query"
  7794. }
  7795. ],
  7796. "responses": {
  7797. "200": {
  7798. "description": "OK",
  7799. "schema": {
  7800. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7801. }
  7802. },
  7803. "500": {
  7804. "description": "Internal Server Error",
  7805. "schema": {
  7806. "$ref": "#/definitions/app.Response"
  7807. }
  7808. }
  7809. }
  7810. }
  7811. },
  7812. "/Qhj/QueryAccountInOutApply": {
  7813. "get": {
  7814. "security": [
  7815. {
  7816. "ApiKeyAuth": []
  7817. }
  7818. ],
  7819. "produces": [
  7820. "application/json"
  7821. ],
  7822. "tags": [
  7823. "大连千海金"
  7824. ],
  7825. "summary": "查询充值提现",
  7826. "parameters": [
  7827. {
  7828. "type": "integer",
  7829. "description": "用户ID",
  7830. "name": "userid",
  7831. "in": "query",
  7832. "required": true
  7833. },
  7834. {
  7835. "type": "string",
  7836. "description": "申请起始日期(格式yyyymmdd)",
  7837. "name": "begindate",
  7838. "in": "query"
  7839. },
  7840. {
  7841. "type": "string",
  7842. "description": "申请截止日期(格式yyyymmdd)",
  7843. "name": "enddate",
  7844. "in": "query"
  7845. },
  7846. {
  7847. "type": "string",
  7848. "description": "模糊搜索名称",
  7849. "name": "likename",
  7850. "in": "query"
  7851. }
  7852. ],
  7853. "responses": {
  7854. "200": {
  7855. "description": "OK",
  7856. "schema": {
  7857. "type": "array",
  7858. "items": {
  7859. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7860. }
  7861. }
  7862. },
  7863. "500": {
  7864. "description": "Internal Server Error",
  7865. "schema": {
  7866. "$ref": "#/definitions/app.Response"
  7867. }
  7868. }
  7869. }
  7870. }
  7871. },
  7872. "/Qhj/QueryAreaFinanceConfig": {
  7873. "get": {
  7874. "security": [
  7875. {
  7876. "ApiKeyAuth": []
  7877. }
  7878. ],
  7879. "produces": [
  7880. "application/json"
  7881. ],
  7882. "tags": [
  7883. "大连千海金"
  7884. ],
  7885. "summary": "查询企业配置表",
  7886. "parameters": [
  7887. {
  7888. "type": "integer",
  7889. "description": "机构用户ID 其他做市关系,都设置为 1",
  7890. "name": "userid",
  7891. "in": "query"
  7892. }
  7893. ],
  7894. "responses": {
  7895. "200": {
  7896. "description": "OK",
  7897. "schema": {
  7898. "type": "array",
  7899. "items": {
  7900. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7901. }
  7902. }
  7903. },
  7904. "500": {
  7905. "description": "Internal Server Error",
  7906. "schema": {
  7907. "$ref": "#/definitions/app.Response"
  7908. }
  7909. }
  7910. }
  7911. }
  7912. },
  7913. "/Qhj/QueryBankAccountSign": {
  7914. "get": {
  7915. "security": [
  7916. {
  7917. "ApiKeyAuth": []
  7918. }
  7919. ],
  7920. "produces": [
  7921. "application/json"
  7922. ],
  7923. "tags": [
  7924. "大连千海金"
  7925. ],
  7926. "summary": "查询签约银行信息(提现账户管理)",
  7927. "parameters": [
  7928. {
  7929. "type": "integer",
  7930. "description": "用户ID",
  7931. "name": "userid",
  7932. "in": "query",
  7933. "required": true
  7934. }
  7935. ],
  7936. "responses": {
  7937. "200": {
  7938. "description": "OK",
  7939. "schema": {
  7940. "type": "array",
  7941. "items": {
  7942. "$ref": "#/definitions/models.QhjBankAccountSign"
  7943. }
  7944. }
  7945. },
  7946. "500": {
  7947. "description": "Internal Server Error",
  7948. "schema": {
  7949. "$ref": "#/definitions/app.Response"
  7950. }
  7951. }
  7952. }
  7953. }
  7954. },
  7955. "/Qhj/QueryBankInfo": {
  7956. "get": {
  7957. "security": [
  7958. {
  7959. "ApiKeyAuth": []
  7960. }
  7961. ],
  7962. "produces": [
  7963. "application/json"
  7964. ],
  7965. "tags": [
  7966. "大连千海金"
  7967. ],
  7968. "summary": "查询开户行",
  7969. "responses": {
  7970. "200": {
  7971. "description": "OK",
  7972. "schema": {
  7973. "type": "array",
  7974. "items": {
  7975. "$ref": "#/definitions/models.QhjBankInfo"
  7976. }
  7977. }
  7978. },
  7979. "500": {
  7980. "description": "Internal Server Error",
  7981. "schema": {
  7982. "$ref": "#/definitions/app.Response"
  7983. }
  7984. }
  7985. }
  7986. }
  7987. },
  7988. "/Qhj/QueryBrokerApply": {
  7989. "get": {
  7990. "security": [
  7991. {
  7992. "ApiKeyAuth": []
  7993. }
  7994. ],
  7995. "produces": [
  7996. "application/json"
  7997. ],
  7998. "tags": [
  7999. "大连千海金"
  8000. ],
  8001. "summary": "查询经纪人申请",
  8002. "parameters": [
  8003. {
  8004. "type": "integer",
  8005. "description": "所属机构ID",
  8006. "name": "userid",
  8007. "in": "query"
  8008. },
  8009. {
  8010. "type": "string",
  8011. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8012. "name": "filterstatus",
  8013. "in": "query"
  8014. }
  8015. ],
  8016. "responses": {
  8017. "200": {
  8018. "description": "OK",
  8019. "schema": {
  8020. "type": "array",
  8021. "items": {
  8022. "$ref": "#/definitions/models.QhjBrokerApply"
  8023. }
  8024. }
  8025. },
  8026. "500": {
  8027. "description": "Internal Server Error",
  8028. "schema": {
  8029. "$ref": "#/definitions/app.Response"
  8030. }
  8031. }
  8032. }
  8033. }
  8034. },
  8035. "/Qhj/QueryBrokerApplyEx": {
  8036. "get": {
  8037. "security": [
  8038. {
  8039. "ApiKeyAuth": []
  8040. }
  8041. ],
  8042. "produces": [
  8043. "application/json"
  8044. ],
  8045. "tags": [
  8046. "大连千海金"
  8047. ],
  8048. "summary": "查询经纪人信息和申请记录",
  8049. "parameters": [
  8050. {
  8051. "type": "integer",
  8052. "description": "所属机构ID",
  8053. "name": "userid",
  8054. "in": "query"
  8055. }
  8056. ],
  8057. "responses": {
  8058. "200": {
  8059. "description": "OK",
  8060. "schema": {
  8061. "type": "array",
  8062. "items": {
  8063. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8064. }
  8065. }
  8066. },
  8067. "500": {
  8068. "description": "Internal Server Error",
  8069. "schema": {
  8070. "$ref": "#/definitions/app.Response"
  8071. }
  8072. }
  8073. }
  8074. }
  8075. },
  8076. "/Qhj/QueryBrokerRewardLog": {
  8077. "get": {
  8078. "security": [
  8079. {
  8080. "ApiKeyAuth": []
  8081. }
  8082. ],
  8083. "produces": [
  8084. "application/json"
  8085. ],
  8086. "tags": [
  8087. "大连千海金"
  8088. ],
  8089. "summary": "查询奖励流水(我的奖励)",
  8090. "parameters": [
  8091. {
  8092. "type": "integer",
  8093. "description": "用户ID",
  8094. "name": "userid",
  8095. "in": "query",
  8096. "required": true
  8097. },
  8098. {
  8099. "type": "string",
  8100. "description": "开始交易日(yyyymmdd)",
  8101. "name": "begindate",
  8102. "in": "query"
  8103. },
  8104. {
  8105. "type": "string",
  8106. "description": "结束交易日(yyyymmdd)",
  8107. "name": "enddate",
  8108. "in": "query"
  8109. }
  8110. ],
  8111. "responses": {
  8112. "200": {
  8113. "description": "OK",
  8114. "schema": {
  8115. "type": "array",
  8116. "items": {
  8117. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8118. }
  8119. }
  8120. },
  8121. "500": {
  8122. "description": "Internal Server Error",
  8123. "schema": {
  8124. "$ref": "#/definitions/app.Response"
  8125. }
  8126. }
  8127. }
  8128. }
  8129. },
  8130. "/Qhj/QueryContract": {
  8131. "get": {
  8132. "security": [
  8133. {
  8134. "ApiKeyAuth": []
  8135. }
  8136. ],
  8137. "produces": [
  8138. "application/json"
  8139. ],
  8140. "tags": [
  8141. "大连千海金"
  8142. ],
  8143. "summary": "查询融资明细(合同)",
  8144. "parameters": [
  8145. {
  8146. "type": "integer",
  8147. "description": "用户ID",
  8148. "name": "userid",
  8149. "in": "query"
  8150. },
  8151. {
  8152. "type": "integer",
  8153. "description": "scf合同id",
  8154. "name": "scfcontractid",
  8155. "in": "query"
  8156. }
  8157. ],
  8158. "responses": {
  8159. "200": {
  8160. "description": "OK",
  8161. "schema": {
  8162. "type": "array",
  8163. "items": {
  8164. "$ref": "#/definitions/models.QhjContract"
  8165. }
  8166. }
  8167. },
  8168. "500": {
  8169. "description": "Internal Server Error",
  8170. "schema": {
  8171. "$ref": "#/definitions/app.Response"
  8172. }
  8173. }
  8174. }
  8175. }
  8176. },
  8177. "/Qhj/QueryContractLog": {
  8178. "get": {
  8179. "security": [
  8180. {
  8181. "ApiKeyAuth": []
  8182. }
  8183. ],
  8184. "produces": [
  8185. "application/json"
  8186. ],
  8187. "tags": [
  8188. "大连千海金"
  8189. ],
  8190. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8191. "parameters": [
  8192. {
  8193. "type": "integer",
  8194. "description": "scf合同id",
  8195. "name": "scfcontractid",
  8196. "in": "query",
  8197. "required": true
  8198. },
  8199. {
  8200. "type": "string",
  8201. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8202. "name": "amounttype",
  8203. "in": "query"
  8204. }
  8205. ],
  8206. "responses": {
  8207. "200": {
  8208. "description": "OK",
  8209. "schema": {
  8210. "type": "array",
  8211. "items": {
  8212. "$ref": "#/definitions/models.QhjContractLog"
  8213. }
  8214. }
  8215. },
  8216. "500": {
  8217. "description": "Internal Server Error",
  8218. "schema": {
  8219. "$ref": "#/definitions/app.Response"
  8220. }
  8221. }
  8222. }
  8223. }
  8224. },
  8225. "/Qhj/QueryCusBankSignBank": {
  8226. "get": {
  8227. "security": [
  8228. {
  8229. "ApiKeyAuth": []
  8230. }
  8231. ],
  8232. "produces": [
  8233. "application/json"
  8234. ],
  8235. "tags": [
  8236. "大连千海金"
  8237. ],
  8238. "summary": "查询托管银行",
  8239. "responses": {
  8240. "200": {
  8241. "description": "OK",
  8242. "schema": {
  8243. "type": "array",
  8244. "items": {
  8245. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8246. }
  8247. }
  8248. },
  8249. "500": {
  8250. "description": "Internal Server Error",
  8251. "schema": {
  8252. "$ref": "#/definitions/app.Response"
  8253. }
  8254. }
  8255. }
  8256. }
  8257. },
  8258. "/Qhj/QueryCustomerInfo": {
  8259. "get": {
  8260. "security": [
  8261. {
  8262. "ApiKeyAuth": []
  8263. }
  8264. ],
  8265. "produces": [
  8266. "application/json"
  8267. ],
  8268. "tags": [
  8269. "大连千海金"
  8270. ],
  8271. "summary": "查询客户资料",
  8272. "parameters": [
  8273. {
  8274. "type": "integer",
  8275. "description": "用户ID",
  8276. "name": "userid",
  8277. "in": "query",
  8278. "required": true
  8279. },
  8280. {
  8281. "type": "integer",
  8282. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8283. "name": "querytype",
  8284. "in": "query",
  8285. "required": true
  8286. },
  8287. {
  8288. "type": "integer",
  8289. "description": "客户类型 1-个人 2-企业",
  8290. "name": "userinfotype",
  8291. "in": "query"
  8292. },
  8293. {
  8294. "type": "string",
  8295. "description": "客户名称(模糊匹配)",
  8296. "name": "customername",
  8297. "in": "query"
  8298. },
  8299. {
  8300. "type": "string",
  8301. "description": "昵称(模糊匹配)",
  8302. "name": "nickname",
  8303. "in": "query"
  8304. },
  8305. {
  8306. "type": "integer",
  8307. "description": "是否包含子级 1-包含",
  8308. "name": "includesub",
  8309. "in": "query"
  8310. }
  8311. ],
  8312. "responses": {
  8313. "200": {
  8314. "description": "OK",
  8315. "schema": {
  8316. "type": "array",
  8317. "items": {
  8318. "$ref": "#/definitions/models.QhjCustomer"
  8319. }
  8320. }
  8321. },
  8322. "500": {
  8323. "description": "Internal Server Error",
  8324. "schema": {
  8325. "$ref": "#/definitions/app.Response"
  8326. }
  8327. }
  8328. }
  8329. }
  8330. },
  8331. "/Qhj/QueryGoodsEx": {
  8332. "get": {
  8333. "security": [
  8334. {
  8335. "ApiKeyAuth": []
  8336. }
  8337. ],
  8338. "produces": [
  8339. "application/json"
  8340. ],
  8341. "tags": [
  8342. "大连千海金"
  8343. ],
  8344. "summary": "交易商品扩展表",
  8345. "parameters": [
  8346. {
  8347. "type": "integer",
  8348. "description": "商品id",
  8349. "name": "goodsid",
  8350. "in": "query"
  8351. }
  8352. ],
  8353. "responses": {
  8354. "200": {
  8355. "description": "OK",
  8356. "schema": {
  8357. "type": "array",
  8358. "items": {
  8359. "$ref": "#/definitions/models.Qhjgoodsex"
  8360. }
  8361. }
  8362. },
  8363. "500": {
  8364. "description": "Internal Server Error",
  8365. "schema": {
  8366. "$ref": "#/definitions/app.Response"
  8367. }
  8368. }
  8369. }
  8370. }
  8371. },
  8372. "/Qhj/QueryMyTeam": {
  8373. "get": {
  8374. "security": [
  8375. {
  8376. "ApiKeyAuth": []
  8377. }
  8378. ],
  8379. "produces": [
  8380. "application/json"
  8381. ],
  8382. "tags": [
  8383. "大连千海金"
  8384. ],
  8385. "summary": "查询我的团队",
  8386. "parameters": [
  8387. {
  8388. "type": "integer",
  8389. "description": "用户ID",
  8390. "name": "userid",
  8391. "in": "query",
  8392. "required": true
  8393. }
  8394. ],
  8395. "responses": {
  8396. "200": {
  8397. "description": "OK",
  8398. "schema": {
  8399. "type": "array",
  8400. "items": {
  8401. "$ref": "#/definitions/models.QhjMyTeamEx"
  8402. }
  8403. }
  8404. },
  8405. "500": {
  8406. "description": "Internal Server Error",
  8407. "schema": {
  8408. "$ref": "#/definitions/app.Response"
  8409. }
  8410. }
  8411. }
  8412. }
  8413. },
  8414. "/Qhj/QueryMyTeamOrder": {
  8415. "get": {
  8416. "security": [
  8417. {
  8418. "ApiKeyAuth": []
  8419. }
  8420. ],
  8421. "produces": [
  8422. "application/json"
  8423. ],
  8424. "tags": [
  8425. "大连千海金"
  8426. ],
  8427. "summary": "查询团队订单(我的团队/团队订单)",
  8428. "parameters": [
  8429. {
  8430. "type": "integer",
  8431. "description": "页码",
  8432. "name": "page",
  8433. "in": "query"
  8434. },
  8435. {
  8436. "type": "integer",
  8437. "description": "每页条数",
  8438. "name": "pagesize",
  8439. "in": "query"
  8440. },
  8441. {
  8442. "type": "integer",
  8443. "description": "用户ID",
  8444. "name": "userid",
  8445. "in": "query",
  8446. "required": true
  8447. },
  8448. {
  8449. "type": "integer",
  8450. "description": "交易模式",
  8451. "name": "trademode",
  8452. "in": "query"
  8453. },
  8454. {
  8455. "type": "string",
  8456. "description": "名称(模糊搜索账户)",
  8457. "name": "filtername",
  8458. "in": "query"
  8459. }
  8460. ],
  8461. "responses": {
  8462. "200": {
  8463. "description": "OK",
  8464. "schema": {
  8465. "type": "array",
  8466. "items": {
  8467. "$ref": "#/definitions/models.QhjTeamOrder"
  8468. }
  8469. }
  8470. },
  8471. "500": {
  8472. "description": "Internal Server Error",
  8473. "schema": {
  8474. "$ref": "#/definitions/app.Response"
  8475. }
  8476. }
  8477. }
  8478. }
  8479. },
  8480. "/Qhj/QueryParentAreaList": {
  8481. "get": {
  8482. "security": [
  8483. {
  8484. "ApiKeyAuth": []
  8485. }
  8486. ],
  8487. "produces": [
  8488. "application/json"
  8489. ],
  8490. "tags": [
  8491. "大连千海金"
  8492. ],
  8493. "summary": "查询所属机构列表",
  8494. "parameters": [
  8495. {
  8496. "type": "integer",
  8497. "description": "用户ID",
  8498. "name": "userid",
  8499. "in": "query",
  8500. "required": true
  8501. }
  8502. ],
  8503. "responses": {
  8504. "200": {
  8505. "description": "OK",
  8506. "schema": {
  8507. "type": "array",
  8508. "items": {
  8509. "$ref": "#/definitions/models.QhjParentAreaList"
  8510. }
  8511. }
  8512. },
  8513. "500": {
  8514. "description": "Internal Server Error",
  8515. "schema": {
  8516. "$ref": "#/definitions/app.Response"
  8517. }
  8518. }
  8519. }
  8520. }
  8521. },
  8522. "/Qhj/QueryPayOrder": {
  8523. "get": {
  8524. "security": [
  8525. {
  8526. "ApiKeyAuth": []
  8527. }
  8528. ],
  8529. "produces": [
  8530. "application/json"
  8531. ],
  8532. "tags": [
  8533. "大连千海金"
  8534. ],
  8535. "summary": "查询待付款单据",
  8536. "parameters": [
  8537. {
  8538. "type": "integer",
  8539. "description": "资金账号id",
  8540. "name": "accountid",
  8541. "in": "query",
  8542. "required": true
  8543. },
  8544. {
  8545. "type": "integer",
  8546. "description": "成交单号",
  8547. "name": "tradeid",
  8548. "in": "query"
  8549. },
  8550. {
  8551. "type": "string",
  8552. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8553. "name": "payflag",
  8554. "in": "query"
  8555. }
  8556. ],
  8557. "responses": {
  8558. "200": {
  8559. "description": "OK",
  8560. "schema": {
  8561. "type": "array",
  8562. "items": {
  8563. "$ref": "#/definitions/models.QhjPayOrder"
  8564. }
  8565. }
  8566. },
  8567. "500": {
  8568. "description": "Internal Server Error",
  8569. "schema": {
  8570. "$ref": "#/definitions/app.Response"
  8571. }
  8572. }
  8573. }
  8574. }
  8575. },
  8576. "/Qhj/QueryPickArea": {
  8577. "get": {
  8578. "security": [
  8579. {
  8580. "ApiKeyAuth": []
  8581. }
  8582. ],
  8583. "produces": [
  8584. "application/json"
  8585. ],
  8586. "tags": [
  8587. "大连千海金"
  8588. ],
  8589. "summary": "查询提货门店",
  8590. "parameters": [
  8591. {
  8592. "type": "integer",
  8593. "description": "用户ID",
  8594. "name": "userid",
  8595. "in": "query"
  8596. }
  8597. ],
  8598. "responses": {
  8599. "200": {
  8600. "description": "OK",
  8601. "schema": {
  8602. "type": "array",
  8603. "items": {
  8604. "$ref": "#/definitions/models.QhjPickArea"
  8605. }
  8606. }
  8607. },
  8608. "500": {
  8609. "description": "Internal Server Error",
  8610. "schema": {
  8611. "$ref": "#/definitions/app.Response"
  8612. }
  8613. }
  8614. }
  8615. }
  8616. },
  8617. "/Qhj/QueryPickGoods": {
  8618. "get": {
  8619. "security": [
  8620. {
  8621. "ApiKeyAuth": []
  8622. }
  8623. ],
  8624. "produces": [
  8625. "application/json"
  8626. ],
  8627. "tags": [
  8628. "大连千海金"
  8629. ],
  8630. "summary": "查询提货商品",
  8631. "parameters": [
  8632. {
  8633. "type": "integer",
  8634. "description": "交易商品id",
  8635. "name": "goodsid",
  8636. "in": "query",
  8637. "required": true
  8638. },
  8639. {
  8640. "type": "string",
  8641. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8642. "name": "status",
  8643. "in": "query"
  8644. }
  8645. ],
  8646. "responses": {
  8647. "200": {
  8648. "description": "OK",
  8649. "schema": {
  8650. "type": "array",
  8651. "items": {
  8652. "$ref": "#/definitions/models.QhjPickGoods"
  8653. }
  8654. }
  8655. },
  8656. "500": {
  8657. "description": "Internal Server Error",
  8658. "schema": {
  8659. "$ref": "#/definitions/app.Response"
  8660. }
  8661. }
  8662. }
  8663. }
  8664. },
  8665. "/Qhj/QueryRSTriggerLog": {
  8666. "get": {
  8667. "security": [
  8668. {
  8669. "ApiKeyAuth": []
  8670. }
  8671. ],
  8672. "produces": [
  8673. "application/json"
  8674. ],
  8675. "tags": [
  8676. "大连千海金"
  8677. ],
  8678. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8679. "parameters": [
  8680. {
  8681. "type": "integer",
  8682. "description": "用户ID",
  8683. "name": "userid",
  8684. "in": "query"
  8685. },
  8686. {
  8687. "type": "integer",
  8688. "description": "定投策略id",
  8689. "name": "regularlystrategyid",
  8690. "in": "query"
  8691. },
  8692. {
  8693. "type": "integer",
  8694. "description": "商品id",
  8695. "name": "goodsid",
  8696. "in": "query"
  8697. },
  8698. {
  8699. "type": "string",
  8700. "description": "开始交易日(yyyymmdd)",
  8701. "name": "begindate",
  8702. "in": "query"
  8703. },
  8704. {
  8705. "type": "string",
  8706. "description": "结束交易日(yyyymmdd)",
  8707. "name": "enddate",
  8708. "in": "query"
  8709. },
  8710. {
  8711. "type": "string",
  8712. "description": "名称(模糊搜索账户)",
  8713. "name": "filtername",
  8714. "in": "query"
  8715. }
  8716. ],
  8717. "responses": {
  8718. "200": {
  8719. "description": "OK",
  8720. "schema": {
  8721. "type": "array",
  8722. "items": {
  8723. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8724. }
  8725. }
  8726. },
  8727. "500": {
  8728. "description": "Internal Server Error",
  8729. "schema": {
  8730. "$ref": "#/definitions/app.Response"
  8731. }
  8732. }
  8733. }
  8734. }
  8735. },
  8736. "/Qhj/QueryRStrategy": {
  8737. "get": {
  8738. "security": [
  8739. {
  8740. "ApiKeyAuth": []
  8741. }
  8742. ],
  8743. "produces": [
  8744. "application/json"
  8745. ],
  8746. "tags": [
  8747. "大连千海金"
  8748. ],
  8749. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8750. "parameters": [
  8751. {
  8752. "type": "integer",
  8753. "description": "用户ID",
  8754. "name": "userid",
  8755. "in": "query"
  8756. },
  8757. {
  8758. "type": "integer",
  8759. "description": "商品id",
  8760. "name": "goodsid",
  8761. "in": "query"
  8762. },
  8763. {
  8764. "type": "string",
  8765. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8766. "name": "status",
  8767. "in": "query"
  8768. },
  8769. {
  8770. "type": "string",
  8771. "description": "名称(模糊搜索账户)",
  8772. "name": "filtername",
  8773. "in": "query"
  8774. }
  8775. ],
  8776. "responses": {
  8777. "200": {
  8778. "description": "OK",
  8779. "schema": {
  8780. "type": "array",
  8781. "items": {
  8782. "$ref": "#/definitions/models.QhjRStrategy"
  8783. }
  8784. }
  8785. },
  8786. "500": {
  8787. "description": "Internal Server Error",
  8788. "schema": {
  8789. "$ref": "#/definitions/app.Response"
  8790. }
  8791. }
  8792. }
  8793. }
  8794. },
  8795. "/Qhj/QueryReckonPriceLog": {
  8796. "get": {
  8797. "security": [
  8798. {
  8799. "ApiKeyAuth": []
  8800. }
  8801. ],
  8802. "produces": [
  8803. "application/json"
  8804. ],
  8805. "tags": [
  8806. "大连千海金"
  8807. ],
  8808. "summary": "查询定投价(结算价)",
  8809. "parameters": [
  8810. {
  8811. "type": "integer",
  8812. "description": "商品ID",
  8813. "name": "goodsid",
  8814. "in": "query"
  8815. },
  8816. {
  8817. "type": "string",
  8818. "description": "交易日 格式(yyyymmdd)",
  8819. "name": "tradedate",
  8820. "in": "query"
  8821. }
  8822. ],
  8823. "responses": {
  8824. "200": {
  8825. "description": "OK",
  8826. "schema": {
  8827. "type": "array",
  8828. "items": {
  8829. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8830. }
  8831. }
  8832. },
  8833. "500": {
  8834. "description": "Internal Server Error",
  8835. "schema": {
  8836. "$ref": "#/definitions/app.Response"
  8837. }
  8838. }
  8839. }
  8840. }
  8841. },
  8842. "/Qhj/QueryScoreLog": {
  8843. "get": {
  8844. "security": [
  8845. {
  8846. "ApiKeyAuth": []
  8847. }
  8848. ],
  8849. "produces": [
  8850. "application/json"
  8851. ],
  8852. "tags": [
  8853. "大连千海金"
  8854. ],
  8855. "summary": "查询积分流水(我的积分)",
  8856. "parameters": [
  8857. {
  8858. "type": "integer",
  8859. "description": "用户ID",
  8860. "name": "userid",
  8861. "in": "query",
  8862. "required": true
  8863. },
  8864. {
  8865. "type": "string",
  8866. "description": "开始交易日(yyyymmdd)",
  8867. "name": "begindate",
  8868. "in": "query"
  8869. },
  8870. {
  8871. "type": "string",
  8872. "description": "结束交易日(yyyymmdd)",
  8873. "name": "enddate",
  8874. "in": "query"
  8875. },
  8876. {
  8877. "type": "integer",
  8878. "description": "最近多少条",
  8879. "name": "lastnum",
  8880. "in": "query"
  8881. }
  8882. ],
  8883. "responses": {
  8884. "200": {
  8885. "description": "OK",
  8886. "schema": {
  8887. "type": "array",
  8888. "items": {
  8889. "$ref": "#/definitions/models.QhjScoreLog"
  8890. }
  8891. }
  8892. },
  8893. "500": {
  8894. "description": "Internal Server Error",
  8895. "schema": {
  8896. "$ref": "#/definitions/app.Response"
  8897. }
  8898. }
  8899. }
  8900. }
  8901. },
  8902. "/Qhj/QuerySiteColumnDetail": {
  8903. "get": {
  8904. "security": [
  8905. {
  8906. "ApiKeyAuth": []
  8907. }
  8908. ],
  8909. "produces": [
  8910. "application/json"
  8911. ],
  8912. "tags": [
  8913. "大连千海金"
  8914. ],
  8915. "summary": "查询资讯",
  8916. "parameters": [
  8917. {
  8918. "type": "integer",
  8919. "description": "用户ID",
  8920. "name": "userid",
  8921. "in": "query",
  8922. "required": true
  8923. }
  8924. ],
  8925. "responses": {
  8926. "200": {
  8927. "description": "OK",
  8928. "schema": {
  8929. "type": "array",
  8930. "items": {
  8931. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8932. }
  8933. }
  8934. },
  8935. "500": {
  8936. "description": "Internal Server Error",
  8937. "schema": {
  8938. "$ref": "#/definitions/app.Response"
  8939. }
  8940. }
  8941. }
  8942. }
  8943. },
  8944. "/Qhj/QueryTradeGoodsPickup": {
  8945. "get": {
  8946. "security": [
  8947. {
  8948. "ApiKeyAuth": []
  8949. }
  8950. ],
  8951. "produces": [
  8952. "application/json"
  8953. ],
  8954. "tags": [
  8955. "大连千海金"
  8956. ],
  8957. "summary": "查询提货",
  8958. "parameters": [
  8959. {
  8960. "type": "integer",
  8961. "description": "用户ID",
  8962. "name": "userid",
  8963. "in": "query",
  8964. "required": true
  8965. },
  8966. {
  8967. "type": "integer",
  8968. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8969. "name": "takeorderstatus",
  8970. "in": "query"
  8971. }
  8972. ],
  8973. "responses": {
  8974. "200": {
  8975. "description": "OK",
  8976. "schema": {
  8977. "type": "array",
  8978. "items": {
  8979. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8980. }
  8981. }
  8982. },
  8983. "500": {
  8984. "description": "Internal Server Error",
  8985. "schema": {
  8986. "$ref": "#/definitions/app.Response"
  8987. }
  8988. }
  8989. }
  8990. }
  8991. },
  8992. "/Qhj/QueryUserCollectConfig": {
  8993. "get": {
  8994. "security": [
  8995. {
  8996. "ApiKeyAuth": []
  8997. }
  8998. ],
  8999. "produces": [
  9000. "application/json"
  9001. ],
  9002. "tags": [
  9003. "大连千海金"
  9004. ],
  9005. "summary": "查询提现账户设置",
  9006. "parameters": [
  9007. {
  9008. "type": "integer",
  9009. "description": "用户ID",
  9010. "name": "userid",
  9011. "in": "query",
  9012. "required": true
  9013. }
  9014. ],
  9015. "responses": {
  9016. "200": {
  9017. "description": "OK",
  9018. "schema": {
  9019. "type": "array",
  9020. "items": {
  9021. "$ref": "#/definitions/models.UserCollectConfig"
  9022. }
  9023. }
  9024. },
  9025. "500": {
  9026. "description": "Internal Server Error",
  9027. "schema": {
  9028. "$ref": "#/definitions/app.Response"
  9029. }
  9030. }
  9031. }
  9032. }
  9033. },
  9034. "/Qhj/QueryUserReceiveInfo": {
  9035. "get": {
  9036. "security": [
  9037. {
  9038. "ApiKeyAuth": []
  9039. }
  9040. ],
  9041. "produces": [
  9042. "application/json"
  9043. ],
  9044. "tags": [
  9045. "大连千海金"
  9046. ],
  9047. "summary": "查询收货地址信息",
  9048. "parameters": [
  9049. {
  9050. "type": "integer",
  9051. "description": "用户ID",
  9052. "name": "userid",
  9053. "in": "query",
  9054. "required": true
  9055. }
  9056. ],
  9057. "responses": {
  9058. "200": {
  9059. "description": "OK",
  9060. "schema": {
  9061. "type": "array",
  9062. "items": {
  9063. "$ref": "#/definitions/models.UserReceiveInfo"
  9064. }
  9065. }
  9066. },
  9067. "500": {
  9068. "description": "Internal Server Error",
  9069. "schema": {
  9070. "$ref": "#/definitions/app.Response"
  9071. }
  9072. }
  9073. }
  9074. }
  9075. },
  9076. "/QhjMgr/QueryAccountInOutApply": {
  9077. "get": {
  9078. "security": [
  9079. {
  9080. "ApiKeyAuth": []
  9081. }
  9082. ],
  9083. "produces": [
  9084. "application/json"
  9085. ],
  9086. "tags": [
  9087. "大连千海金(PCWeb)"
  9088. ],
  9089. "summary": "查询充值提现",
  9090. "parameters": [
  9091. {
  9092. "type": "integer",
  9093. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9094. "name": "querytype",
  9095. "in": "query",
  9096. "required": true
  9097. },
  9098. {
  9099. "type": "integer",
  9100. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9101. "name": "applystatus",
  9102. "in": "query"
  9103. },
  9104. {
  9105. "type": "string",
  9106. "description": "申请起始日期(格式yyyymmdd)",
  9107. "name": "begindate",
  9108. "in": "query"
  9109. },
  9110. {
  9111. "type": "string",
  9112. "description": "申请截止日期(格式yyyymmdd)",
  9113. "name": "enddate",
  9114. "in": "query"
  9115. },
  9116. {
  9117. "type": "string",
  9118. "description": "模糊搜索名称",
  9119. "name": "likename",
  9120. "in": "query"
  9121. }
  9122. ],
  9123. "responses": {
  9124. "200": {
  9125. "description": "OK",
  9126. "schema": {
  9127. "type": "array",
  9128. "items": {
  9129. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9130. }
  9131. }
  9132. },
  9133. "500": {
  9134. "description": "Internal Server Error",
  9135. "schema": {
  9136. "$ref": "#/definitions/app.Response"
  9137. }
  9138. }
  9139. }
  9140. }
  9141. },
  9142. "/QhjMgr/QueryBrokerApply": {
  9143. "get": {
  9144. "security": [
  9145. {
  9146. "ApiKeyAuth": []
  9147. }
  9148. ],
  9149. "produces": [
  9150. "application/json"
  9151. ],
  9152. "tags": [
  9153. "大连千海金(PCWeb)"
  9154. ],
  9155. "summary": "查询经纪人申请",
  9156. "parameters": [
  9157. {
  9158. "type": "integer",
  9159. "description": "所属机构ID",
  9160. "name": "userid",
  9161. "in": "query"
  9162. },
  9163. {
  9164. "type": "string",
  9165. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9166. "name": "filterstatus",
  9167. "in": "query"
  9168. },
  9169. {
  9170. "type": "string",
  9171. "description": "名称(模糊匹配)",
  9172. "name": "filtername",
  9173. "in": "query"
  9174. },
  9175. {
  9176. "type": "integer",
  9177. "description": "是否包含子级 1-包含",
  9178. "name": "includesub",
  9179. "in": "query"
  9180. }
  9181. ],
  9182. "responses": {
  9183. "200": {
  9184. "description": "OK",
  9185. "schema": {
  9186. "type": "array",
  9187. "items": {
  9188. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9189. }
  9190. }
  9191. },
  9192. "500": {
  9193. "description": "Internal Server Error",
  9194. "schema": {
  9195. "$ref": "#/definitions/app.Response"
  9196. }
  9197. }
  9198. }
  9199. }
  9200. },
  9201. "/QhjMgr/QueryBrokerRewardReport": {
  9202. "get": {
  9203. "security": [
  9204. {
  9205. "ApiKeyAuth": []
  9206. }
  9207. ],
  9208. "produces": [
  9209. "application/json"
  9210. ],
  9211. "tags": [
  9212. "大连千海金(PCWeb)"
  9213. ],
  9214. "summary": "查询经纪人奖励报表(废弃)",
  9215. "parameters": [
  9216. {
  9217. "type": "integer",
  9218. "description": "所属机构ID",
  9219. "name": "userid",
  9220. "in": "query",
  9221. "required": true
  9222. },
  9223. {
  9224. "type": "integer",
  9225. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9226. "name": "cycletype",
  9227. "in": "query",
  9228. "required": true
  9229. },
  9230. {
  9231. "type": "string",
  9232. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9233. "name": "cycletime",
  9234. "in": "query",
  9235. "required": true
  9236. },
  9237. {
  9238. "type": "string",
  9239. "description": "名称(模糊匹配)",
  9240. "name": "filtername",
  9241. "in": "query"
  9242. },
  9243. {
  9244. "type": "integer",
  9245. "description": "是否包含子级 1-包含",
  9246. "name": "includesub",
  9247. "in": "query"
  9248. }
  9249. ],
  9250. "responses": {
  9251. "200": {
  9252. "description": "OK",
  9253. "schema": {
  9254. "type": "array",
  9255. "items": {
  9256. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9257. }
  9258. }
  9259. },
  9260. "500": {
  9261. "description": "Internal Server Error",
  9262. "schema": {
  9263. "$ref": "#/definitions/app.Response"
  9264. }
  9265. }
  9266. }
  9267. }
  9268. },
  9269. "/QhjMgr/QueryContract": {
  9270. "get": {
  9271. "security": [
  9272. {
  9273. "ApiKeyAuth": []
  9274. }
  9275. ],
  9276. "produces": [
  9277. "application/json"
  9278. ],
  9279. "tags": [
  9280. "大连千海金(PCWeb)"
  9281. ],
  9282. "summary": "查询融资信息(合同)",
  9283. "parameters": [
  9284. {
  9285. "type": "integer",
  9286. "description": "用户ID",
  9287. "name": "userid",
  9288. "in": "query"
  9289. },
  9290. {
  9291. "type": "integer",
  9292. "description": "商品id",
  9293. "name": "goodsid",
  9294. "in": "query"
  9295. },
  9296. {
  9297. "type": "string",
  9298. "description": "名称(模糊搜索账户)",
  9299. "name": "filtername",
  9300. "in": "query"
  9301. },
  9302. {
  9303. "type": "string",
  9304. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9305. "name": "risklevel",
  9306. "in": "query"
  9307. },
  9308. {
  9309. "type": "string",
  9310. "description": "开始交易日(yyyymmdd)",
  9311. "name": "begindate",
  9312. "in": "query"
  9313. },
  9314. {
  9315. "type": "string",
  9316. "description": "结束交易日(yyyymmdd)",
  9317. "name": "enddate",
  9318. "in": "query"
  9319. }
  9320. ],
  9321. "responses": {
  9322. "200": {
  9323. "description": "OK",
  9324. "schema": {
  9325. "type": "array",
  9326. "items": {
  9327. "$ref": "#/definitions/models.QhjMgrContract"
  9328. }
  9329. }
  9330. },
  9331. "500": {
  9332. "description": "Internal Server Error",
  9333. "schema": {
  9334. "$ref": "#/definitions/app.Response"
  9335. }
  9336. }
  9337. }
  9338. }
  9339. },
  9340. "/QhjMgr/QueryCustomerInfo": {
  9341. "get": {
  9342. "security": [
  9343. {
  9344. "ApiKeyAuth": []
  9345. }
  9346. ],
  9347. "produces": [
  9348. "application/json"
  9349. ],
  9350. "tags": [
  9351. "大连千海金(PCWeb)"
  9352. ],
  9353. "summary": "查询客户资料",
  9354. "parameters": [
  9355. {
  9356. "type": "integer",
  9357. "description": "用户ID",
  9358. "name": "userid",
  9359. "in": "query",
  9360. "required": true
  9361. },
  9362. {
  9363. "type": "integer",
  9364. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9365. "name": "querytype",
  9366. "in": "query",
  9367. "required": true
  9368. },
  9369. {
  9370. "type": "integer",
  9371. "description": "客户类型 1-个人 2-企业",
  9372. "name": "userinfotype",
  9373. "in": "query"
  9374. },
  9375. {
  9376. "type": "string",
  9377. "description": "客户名称(模糊匹配)",
  9378. "name": "customername",
  9379. "in": "query"
  9380. },
  9381. {
  9382. "type": "string",
  9383. "description": "昵称(模糊匹配)",
  9384. "name": "nickname",
  9385. "in": "query"
  9386. },
  9387. {
  9388. "type": "string",
  9389. "description": "所属客户经理(模糊匹配)",
  9390. "name": "brokername",
  9391. "in": "query"
  9392. },
  9393. {
  9394. "type": "string",
  9395. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9396. "name": "birthday",
  9397. "in": "query"
  9398. },
  9399. {
  9400. "type": "integer",
  9401. "description": "是否包含子级 1-包含",
  9402. "name": "includesub",
  9403. "in": "query"
  9404. }
  9405. ],
  9406. "responses": {
  9407. "200": {
  9408. "description": "OK",
  9409. "schema": {
  9410. "type": "array",
  9411. "items": {
  9412. "$ref": "#/definitions/models.QhjMgrCustomer"
  9413. }
  9414. }
  9415. },
  9416. "500": {
  9417. "description": "Internal Server Error",
  9418. "schema": {
  9419. "$ref": "#/definitions/app.Response"
  9420. }
  9421. }
  9422. }
  9423. }
  9424. },
  9425. "/QhjMgr/QueryPickGoods": {
  9426. "get": {
  9427. "security": [
  9428. {
  9429. "ApiKeyAuth": []
  9430. }
  9431. ],
  9432. "produces": [
  9433. "application/json"
  9434. ],
  9435. "tags": [
  9436. "大连千海金(PCWeb)"
  9437. ],
  9438. "summary": "查询提货商品",
  9439. "parameters": [
  9440. {
  9441. "type": "string",
  9442. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9443. "name": "status",
  9444. "in": "query"
  9445. }
  9446. ],
  9447. "responses": {
  9448. "200": {
  9449. "description": "OK",
  9450. "schema": {
  9451. "type": "array",
  9452. "items": {
  9453. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9454. }
  9455. }
  9456. },
  9457. "500": {
  9458. "description": "Internal Server Error",
  9459. "schema": {
  9460. "$ref": "#/definitions/app.Response"
  9461. }
  9462. }
  9463. }
  9464. }
  9465. },
  9466. "/QhjMgr/QuerySubArea": {
  9467. "get": {
  9468. "security": [
  9469. {
  9470. "ApiKeyAuth": []
  9471. }
  9472. ],
  9473. "produces": [
  9474. "application/json"
  9475. ],
  9476. "tags": [
  9477. "大连千海金(PCWeb)"
  9478. ],
  9479. "summary": "查询子机构列表",
  9480. "parameters": [
  9481. {
  9482. "type": "integer",
  9483. "description": "用户ID",
  9484. "name": "userid",
  9485. "in": "query",
  9486. "required": true
  9487. }
  9488. ],
  9489. "responses": {
  9490. "200": {
  9491. "description": "OK",
  9492. "schema": {
  9493. "type": "array",
  9494. "items": {
  9495. "$ref": "#/definitions/models.QhjMgrSubArea"
  9496. }
  9497. }
  9498. },
  9499. "500": {
  9500. "description": "Internal Server Error",
  9501. "schema": {
  9502. "$ref": "#/definitions/app.Response"
  9503. }
  9504. }
  9505. }
  9506. }
  9507. },
  9508. "/QhjMgr/QueryTradeDetail": {
  9509. "get": {
  9510. "security": [
  9511. {
  9512. "ApiKeyAuth": []
  9513. }
  9514. ],
  9515. "produces": [
  9516. "application/json"
  9517. ],
  9518. "tags": [
  9519. "大连千海金(PCWeb)"
  9520. ],
  9521. "summary": "查询成交明细",
  9522. "parameters": [
  9523. {
  9524. "type": "integer",
  9525. "description": "用户ID",
  9526. "name": "userid",
  9527. "in": "query",
  9528. "required": true
  9529. },
  9530. {
  9531. "type": "integer",
  9532. "description": "用户类型 1-个人 2-企业",
  9533. "name": "userinfotype",
  9534. "in": "query"
  9535. },
  9536. {
  9537. "type": "integer",
  9538. "description": "交易模式",
  9539. "name": "trademode",
  9540. "in": "query"
  9541. },
  9542. {
  9543. "type": "integer",
  9544. "description": "商品id",
  9545. "name": "goodsid",
  9546. "in": "query"
  9547. },
  9548. {
  9549. "type": "string",
  9550. "description": "名称(模糊搜索账户)",
  9551. "name": "filtername",
  9552. "in": "query"
  9553. },
  9554. {
  9555. "type": "string",
  9556. "description": "开始交易日(yyyymmdd)",
  9557. "name": "begindate",
  9558. "in": "query"
  9559. },
  9560. {
  9561. "type": "string",
  9562. "description": "结束交易日(yyyymmdd)",
  9563. "name": "enddate",
  9564. "in": "query"
  9565. },
  9566. {
  9567. "type": "integer",
  9568. "description": "是否包含子级 1-包含",
  9569. "name": "includesub",
  9570. "in": "query"
  9571. }
  9572. ],
  9573. "responses": {
  9574. "200": {
  9575. "description": "OK",
  9576. "schema": {
  9577. "type": "array",
  9578. "items": {
  9579. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9580. }
  9581. }
  9582. },
  9583. "500": {
  9584. "description": "Internal Server Error",
  9585. "schema": {
  9586. "$ref": "#/definitions/app.Response"
  9587. }
  9588. }
  9589. }
  9590. }
  9591. },
  9592. "/QhjMgr/QueryTradeOrderDetail": {
  9593. "get": {
  9594. "security": [
  9595. {
  9596. "ApiKeyAuth": []
  9597. }
  9598. ],
  9599. "produces": [
  9600. "application/json"
  9601. ],
  9602. "tags": [
  9603. "大连千海金(PCWeb)"
  9604. ],
  9605. "summary": "查询委托明细",
  9606. "parameters": [
  9607. {
  9608. "type": "integer",
  9609. "description": "用户ID",
  9610. "name": "userid",
  9611. "in": "query",
  9612. "required": true
  9613. },
  9614. {
  9615. "type": "integer",
  9616. "description": "用户类型 1-个人 2-企业",
  9617. "name": "userinfotype",
  9618. "in": "query"
  9619. },
  9620. {
  9621. "type": "integer",
  9622. "description": "交易模式",
  9623. "name": "trademode",
  9624. "in": "query"
  9625. },
  9626. {
  9627. "type": "integer",
  9628. "description": "商品id",
  9629. "name": "goodsid",
  9630. "in": "query"
  9631. },
  9632. {
  9633. "type": "string",
  9634. "description": "名称(模糊搜索账户)",
  9635. "name": "filtername",
  9636. "in": "query"
  9637. },
  9638. {
  9639. "type": "string",
  9640. "description": "开始交易日(yyyymmdd)",
  9641. "name": "begindate",
  9642. "in": "query"
  9643. },
  9644. {
  9645. "type": "string",
  9646. "description": "结束交易日(yyyymmdd)",
  9647. "name": "enddate",
  9648. "in": "query"
  9649. },
  9650. {
  9651. "type": "integer",
  9652. "description": "是否包含子级 1-包含",
  9653. "name": "includesub",
  9654. "in": "query"
  9655. }
  9656. ],
  9657. "responses": {
  9658. "200": {
  9659. "description": "OK",
  9660. "schema": {
  9661. "type": "array",
  9662. "items": {
  9663. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9664. }
  9665. }
  9666. },
  9667. "500": {
  9668. "description": "Internal Server Error",
  9669. "schema": {
  9670. "$ref": "#/definitions/app.Response"
  9671. }
  9672. }
  9673. }
  9674. }
  9675. },
  9676. "/QhjMgr/QueryTradePayOrder": {
  9677. "get": {
  9678. "security": [
  9679. {
  9680. "ApiKeyAuth": []
  9681. }
  9682. ],
  9683. "produces": [
  9684. "application/json"
  9685. ],
  9686. "tags": [
  9687. "大连千海金(PCWeb)"
  9688. ],
  9689. "summary": "查询待付款单",
  9690. "parameters": [
  9691. {
  9692. "type": "integer",
  9693. "description": "用户ID",
  9694. "name": "userid",
  9695. "in": "query",
  9696. "required": true
  9697. },
  9698. {
  9699. "type": "string",
  9700. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9701. "name": "payflag",
  9702. "in": "query"
  9703. },
  9704. {
  9705. "type": "integer",
  9706. "description": "用户类型 1-个人 2-企业",
  9707. "name": "userinfotype",
  9708. "in": "query"
  9709. },
  9710. {
  9711. "type": "integer",
  9712. "description": "交易模式",
  9713. "name": "trademode",
  9714. "in": "query"
  9715. },
  9716. {
  9717. "type": "integer",
  9718. "description": "商品id",
  9719. "name": "goodsid",
  9720. "in": "query"
  9721. },
  9722. {
  9723. "type": "string",
  9724. "description": "名称(模糊搜索账户)",
  9725. "name": "filtername",
  9726. "in": "query"
  9727. },
  9728. {
  9729. "type": "string",
  9730. "description": "开始交易日(yyyymmdd)",
  9731. "name": "begindate",
  9732. "in": "query"
  9733. },
  9734. {
  9735. "type": "string",
  9736. "description": "结束交易日(yyyymmdd)",
  9737. "name": "enddate",
  9738. "in": "query"
  9739. },
  9740. {
  9741. "type": "integer",
  9742. "description": "是否包含子级 1-包含",
  9743. "name": "includesub",
  9744. "in": "query"
  9745. }
  9746. ],
  9747. "responses": {
  9748. "200": {
  9749. "description": "OK",
  9750. "schema": {
  9751. "type": "array",
  9752. "items": {
  9753. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9754. }
  9755. }
  9756. },
  9757. "500": {
  9758. "description": "Internal Server Error",
  9759. "schema": {
  9760. "$ref": "#/definitions/app.Response"
  9761. }
  9762. }
  9763. }
  9764. }
  9765. },
  9766. "/QhjMgr/QueryTradePosition": {
  9767. "get": {
  9768. "security": [
  9769. {
  9770. "ApiKeyAuth": []
  9771. }
  9772. ],
  9773. "produces": [
  9774. "application/json"
  9775. ],
  9776. "tags": [
  9777. "大连千海金(PCWeb)"
  9778. ],
  9779. "summary": "查询持仓汇总",
  9780. "parameters": [
  9781. {
  9782. "type": "integer",
  9783. "description": "用户ID",
  9784. "name": "userid",
  9785. "in": "query",
  9786. "required": true
  9787. },
  9788. {
  9789. "type": "integer",
  9790. "description": "用户类型 1-个人 2-企业",
  9791. "name": "userinfotype",
  9792. "in": "query"
  9793. },
  9794. {
  9795. "type": "integer",
  9796. "description": "交易模式",
  9797. "name": "trademode",
  9798. "in": "query"
  9799. },
  9800. {
  9801. "type": "integer",
  9802. "description": "商品id",
  9803. "name": "goodsid",
  9804. "in": "query"
  9805. },
  9806. {
  9807. "type": "string",
  9808. "description": "名称(模糊搜索账户)",
  9809. "name": "filtername",
  9810. "in": "query"
  9811. },
  9812. {
  9813. "type": "integer",
  9814. "description": "是否包含子级 1-包含",
  9815. "name": "includesub",
  9816. "in": "query"
  9817. }
  9818. ],
  9819. "responses": {
  9820. "200": {
  9821. "description": "OK",
  9822. "schema": {
  9823. "type": "array",
  9824. "items": {
  9825. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9826. }
  9827. }
  9828. },
  9829. "500": {
  9830. "description": "Internal Server Error",
  9831. "schema": {
  9832. "$ref": "#/definitions/app.Response"
  9833. }
  9834. }
  9835. }
  9836. }
  9837. },
  9838. "/QhjSys/QueryAgreementChangeLog": {
  9839. "get": {
  9840. "security": [
  9841. {
  9842. "ApiKeyAuth": []
  9843. }
  9844. ],
  9845. "produces": [
  9846. "application/json"
  9847. ],
  9848. "tags": [
  9849. "大连千海金(协议和签约信息)"
  9850. ],
  9851. "summary": "查询协议配置变更流水",
  9852. "parameters": [
  9853. {
  9854. "type": "integer",
  9855. "description": "协议ID",
  9856. "name": "agreementid",
  9857. "in": "query"
  9858. },
  9859. {
  9860. "type": "integer",
  9861. "description": "协议版本号",
  9862. "name": "agreementversion",
  9863. "in": "query"
  9864. },
  9865. {
  9866. "type": "integer",
  9867. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9868. "name": "agreementtype",
  9869. "in": "query"
  9870. },
  9871. {
  9872. "type": "string",
  9873. "description": "协议编号(模糊匹配)",
  9874. "name": "agreementno",
  9875. "in": "query"
  9876. },
  9877. {
  9878. "type": "string",
  9879. "description": "协议名称(模糊匹配)",
  9880. "name": "agreementname",
  9881. "in": "query"
  9882. }
  9883. ],
  9884. "responses": {
  9885. "200": {
  9886. "description": "OK",
  9887. "schema": {
  9888. "type": "array",
  9889. "items": {
  9890. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9891. }
  9892. }
  9893. },
  9894. "500": {
  9895. "description": "Internal Server Error",
  9896. "schema": {
  9897. "$ref": "#/definitions/app.Response"
  9898. }
  9899. }
  9900. }
  9901. }
  9902. },
  9903. "/QhjSys/QueryAgreementConfig": {
  9904. "get": {
  9905. "security": [
  9906. {
  9907. "ApiKeyAuth": []
  9908. }
  9909. ],
  9910. "produces": [
  9911. "application/json"
  9912. ],
  9913. "tags": [
  9914. "大连千海金(协议和签约信息)"
  9915. ],
  9916. "summary": "查询协议配置",
  9917. "parameters": [
  9918. {
  9919. "type": "integer",
  9920. "description": "协议ID",
  9921. "name": "agreementid",
  9922. "in": "query"
  9923. },
  9924. {
  9925. "type": "integer",
  9926. "description": "协议版本号",
  9927. "name": "agreementversion",
  9928. "in": "query"
  9929. },
  9930. {
  9931. "type": "integer",
  9932. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9933. "name": "agreementtype",
  9934. "in": "query"
  9935. },
  9936. {
  9937. "type": "integer",
  9938. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9939. "name": "isvalid",
  9940. "in": "query"
  9941. },
  9942. {
  9943. "type": "string",
  9944. "description": "协议编号(模糊匹配)",
  9945. "name": "agreementno",
  9946. "in": "query"
  9947. },
  9948. {
  9949. "type": "string",
  9950. "description": "协议名称(模糊匹配)",
  9951. "name": "agreementname",
  9952. "in": "query"
  9953. }
  9954. ],
  9955. "responses": {
  9956. "200": {
  9957. "description": "OK",
  9958. "schema": {
  9959. "type": "array",
  9960. "items": {
  9961. "$ref": "#/definitions/models.QhjAgreementConfig"
  9962. }
  9963. }
  9964. },
  9965. "500": {
  9966. "description": "Internal Server Error",
  9967. "schema": {
  9968. "$ref": "#/definitions/app.Response"
  9969. }
  9970. }
  9971. }
  9972. }
  9973. },
  9974. "/QhjSys/QueryCustomerSignStatus": {
  9975. "get": {
  9976. "security": [
  9977. {
  9978. "ApiKeyAuth": []
  9979. }
  9980. ],
  9981. "produces": [
  9982. "application/json"
  9983. ],
  9984. "tags": [
  9985. "大连千海金(协议和签约信息)"
  9986. ],
  9987. "summary": "查询客户协议签约状态",
  9988. "parameters": [
  9989. {
  9990. "type": "integer",
  9991. "description": "客户ID",
  9992. "name": "userid",
  9993. "in": "query"
  9994. },
  9995. {
  9996. "type": "integer",
  9997. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9998. "name": "nodetype",
  9999. "in": "query"
  10000. },
  10001. {
  10002. "type": "integer",
  10003. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10004. "name": "goodsid",
  10005. "in": "query"
  10006. },
  10007. {
  10008. "type": "string",
  10009. "description": "创建交易日(yyyyMMdd)",
  10010. "name": "tradedate",
  10011. "in": "query"
  10012. },
  10013. {
  10014. "type": "string",
  10015. "description": "用户名称(模糊匹配)",
  10016. "name": "username",
  10017. "in": "query"
  10018. }
  10019. ],
  10020. "responses": {
  10021. "200": {
  10022. "description": "OK",
  10023. "schema": {
  10024. "type": "array",
  10025. "items": {
  10026. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10027. }
  10028. }
  10029. },
  10030. "500": {
  10031. "description": "Internal Server Error",
  10032. "schema": {
  10033. "$ref": "#/definitions/app.Response"
  10034. }
  10035. }
  10036. }
  10037. }
  10038. },
  10039. "/QhjSys/QueryNodeAgreementConfig": {
  10040. "get": {
  10041. "security": [
  10042. {
  10043. "ApiKeyAuth": []
  10044. }
  10045. ],
  10046. "produces": [
  10047. "application/json"
  10048. ],
  10049. "tags": [
  10050. "大连千海金(协议和签约信息)"
  10051. ],
  10052. "summary": "查询协议节点配置",
  10053. "parameters": [
  10054. {
  10055. "type": "integer",
  10056. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10057. "name": "configid",
  10058. "in": "query"
  10059. },
  10060. {
  10061. "type": "integer",
  10062. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10063. "name": "nodetype",
  10064. "in": "query"
  10065. },
  10066. {
  10067. "type": "integer",
  10068. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10069. "name": "goodsid",
  10070. "in": "query"
  10071. },
  10072. {
  10073. "type": "integer",
  10074. "description": "协议ID",
  10075. "name": "agreementid",
  10076. "in": "query"
  10077. },
  10078. {
  10079. "type": "integer",
  10080. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10081. "name": "agreementtype",
  10082. "in": "query"
  10083. },
  10084. {
  10085. "type": "integer",
  10086. "description": "协议版本号",
  10087. "name": "agreementversion",
  10088. "in": "query"
  10089. },
  10090. {
  10091. "type": "string",
  10092. "description": "协议编号(模糊匹配)",
  10093. "name": "agreementno",
  10094. "in": "query"
  10095. },
  10096. {
  10097. "type": "string",
  10098. "description": "协议名称(模糊匹配)",
  10099. "name": "agreementname",
  10100. "in": "query"
  10101. }
  10102. ],
  10103. "responses": {
  10104. "200": {
  10105. "description": "OK",
  10106. "schema": {
  10107. "type": "array",
  10108. "items": {
  10109. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10110. }
  10111. }
  10112. },
  10113. "500": {
  10114. "description": "Internal Server Error",
  10115. "schema": {
  10116. "$ref": "#/definitions/app.Response"
  10117. }
  10118. }
  10119. }
  10120. }
  10121. },
  10122. "/QhjSys/QueryQhjCustomerSignLog": {
  10123. "get": {
  10124. "security": [
  10125. {
  10126. "ApiKeyAuth": []
  10127. }
  10128. ],
  10129. "produces": [
  10130. "application/json"
  10131. ],
  10132. "tags": [
  10133. "大连千海金(协议和签约信息)"
  10134. ],
  10135. "summary": "查询客户协议签约流水",
  10136. "parameters": [
  10137. {
  10138. "type": "integer",
  10139. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10140. "name": "logid",
  10141. "in": "query"
  10142. },
  10143. {
  10144. "type": "integer",
  10145. "description": "客户ID",
  10146. "name": "userid",
  10147. "in": "query"
  10148. },
  10149. {
  10150. "type": "integer",
  10151. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10152. "name": "nodetype",
  10153. "in": "query"
  10154. },
  10155. {
  10156. "type": "integer",
  10157. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10158. "name": "goodsid",
  10159. "in": "query"
  10160. },
  10161. {
  10162. "type": "integer",
  10163. "description": "协议ID",
  10164. "name": "agreementid",
  10165. "in": "query"
  10166. },
  10167. {
  10168. "type": "string",
  10169. "description": "用户名称(模糊匹配)",
  10170. "name": "username",
  10171. "in": "query"
  10172. },
  10173. {
  10174. "type": "string",
  10175. "description": "协议编号(模糊匹配)",
  10176. "name": "agreementno",
  10177. "in": "query"
  10178. },
  10179. {
  10180. "type": "string",
  10181. "description": "协议名称(模糊匹配)",
  10182. "name": "agreementname",
  10183. "in": "query"
  10184. }
  10185. ],
  10186. "responses": {
  10187. "200": {
  10188. "description": "OK",
  10189. "schema": {
  10190. "type": "array",
  10191. "items": {
  10192. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10193. }
  10194. }
  10195. },
  10196. "500": {
  10197. "description": "Internal Server Error",
  10198. "schema": {
  10199. "$ref": "#/definitions/app.Response"
  10200. }
  10201. }
  10202. }
  10203. }
  10204. },
  10205. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10206. "get": {
  10207. "security": [
  10208. {
  10209. "ApiKeyAuth": []
  10210. }
  10211. ],
  10212. "produces": [
  10213. "application/json"
  10214. ],
  10215. "tags": [
  10216. "大连千海金(协议和签约信息)"
  10217. ],
  10218. "summary": "查询用户协议节点配置和状态",
  10219. "parameters": [
  10220. {
  10221. "type": "integer",
  10222. "description": "客户ID",
  10223. "name": "userid",
  10224. "in": "query"
  10225. },
  10226. {
  10227. "type": "integer",
  10228. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10229. "name": "configid",
  10230. "in": "query"
  10231. },
  10232. {
  10233. "type": "string",
  10234. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10235. "name": "nodetype",
  10236. "in": "query"
  10237. },
  10238. {
  10239. "type": "integer",
  10240. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10241. "name": "goodsid",
  10242. "in": "query"
  10243. },
  10244. {
  10245. "type": "integer",
  10246. "description": "协议ID",
  10247. "name": "agreementid",
  10248. "in": "query"
  10249. },
  10250. {
  10251. "type": "integer",
  10252. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10253. "name": "agreementtype",
  10254. "in": "query"
  10255. },
  10256. {
  10257. "type": "integer",
  10258. "description": "协议版本号",
  10259. "name": "agreementversion",
  10260. "in": "query"
  10261. },
  10262. {
  10263. "type": "string",
  10264. "description": "协议编号(模糊匹配)",
  10265. "name": "agreementno",
  10266. "in": "query"
  10267. },
  10268. {
  10269. "type": "string",
  10270. "description": "协议名称(模糊匹配)",
  10271. "name": "agreementname",
  10272. "in": "query"
  10273. }
  10274. ],
  10275. "responses": {
  10276. "200": {
  10277. "description": "OK",
  10278. "schema": {
  10279. "type": "array",
  10280. "items": {
  10281. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10282. }
  10283. }
  10284. },
  10285. "500": {
  10286. "description": "Internal Server Error",
  10287. "schema": {
  10288. "$ref": "#/definitions/app.Response"
  10289. }
  10290. }
  10291. }
  10292. }
  10293. },
  10294. "/Quote/QueryHistoryDatas": {
  10295. "get": {
  10296. "security": [
  10297. {
  10298. "ApiKeyAuth": []
  10299. }
  10300. ],
  10301. "produces": [
  10302. "application/json"
  10303. ],
  10304. "tags": [
  10305. "行情服务"
  10306. ],
  10307. "summary": "查询行情历史数据",
  10308. "parameters": [
  10309. {
  10310. "type": "integer",
  10311. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  10312. "name": "cycleType",
  10313. "in": "query",
  10314. "required": true
  10315. },
  10316. {
  10317. "type": "string",
  10318. "description": "商品代码",
  10319. "name": "goodsCode",
  10320. "in": "query",
  10321. "required": true
  10322. },
  10323. {
  10324. "type": "string",
  10325. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10326. "name": "startTime",
  10327. "in": "query"
  10328. },
  10329. {
  10330. "type": "string",
  10331. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10332. "name": "endTime",
  10333. "in": "query"
  10334. },
  10335. {
  10336. "type": "integer",
  10337. "description": "条数",
  10338. "name": "count",
  10339. "in": "query"
  10340. },
  10341. {
  10342. "type": "boolean",
  10343. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10344. "name": "isAsc",
  10345. "in": "query"
  10346. }
  10347. ],
  10348. "responses": {
  10349. "200": {
  10350. "description": "OK",
  10351. "schema": {
  10352. "$ref": "#/definitions/quote.HistoryData"
  10353. }
  10354. },
  10355. "500": {
  10356. "description": "Internal Server Error",
  10357. "schema": {
  10358. "$ref": "#/definitions/app.Response"
  10359. }
  10360. }
  10361. }
  10362. }
  10363. },
  10364. "/Quote/QueryHistoryTikDatas": {
  10365. "get": {
  10366. "security": [
  10367. {
  10368. "ApiKeyAuth": []
  10369. }
  10370. ],
  10371. "produces": [
  10372. "application/json"
  10373. ],
  10374. "tags": [
  10375. "行情服务"
  10376. ],
  10377. "summary": "查询行情Tik数据",
  10378. "parameters": [
  10379. {
  10380. "type": "string",
  10381. "description": "商品代码",
  10382. "name": "goodsCode",
  10383. "in": "query",
  10384. "required": true
  10385. },
  10386. {
  10387. "type": "string",
  10388. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10389. "name": "startTime",
  10390. "in": "query"
  10391. },
  10392. {
  10393. "type": "string",
  10394. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10395. "name": "endTime",
  10396. "in": "query"
  10397. },
  10398. {
  10399. "type": "integer",
  10400. "description": "条数",
  10401. "name": "count",
  10402. "in": "query"
  10403. },
  10404. {
  10405. "type": "boolean",
  10406. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10407. "name": "isAsc",
  10408. "in": "query"
  10409. }
  10410. ],
  10411. "responses": {
  10412. "200": {
  10413. "description": "OK",
  10414. "schema": {
  10415. "$ref": "#/definitions/quote.HistoryTikData"
  10416. }
  10417. },
  10418. "500": {
  10419. "description": "Internal Server Error",
  10420. "schema": {
  10421. "$ref": "#/definitions/app.Response"
  10422. }
  10423. }
  10424. }
  10425. }
  10426. },
  10427. "/Quote/QueryQuoteDay": {
  10428. "get": {
  10429. "security": [
  10430. {
  10431. "ApiKeyAuth": []
  10432. }
  10433. ],
  10434. "produces": [
  10435. "application/json"
  10436. ],
  10437. "tags": [
  10438. "行情服务"
  10439. ],
  10440. "summary": "获取商品盘面信息",
  10441. "parameters": [
  10442. {
  10443. "type": "string",
  10444. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  10445. "name": "goodsCodes",
  10446. "in": "query",
  10447. "required": true
  10448. }
  10449. ],
  10450. "responses": {
  10451. "200": {
  10452. "description": "OK",
  10453. "schema": {
  10454. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10455. }
  10456. },
  10457. "500": {
  10458. "description": "Internal Server Error",
  10459. "schema": {
  10460. "$ref": "#/definitions/app.Response"
  10461. }
  10462. }
  10463. }
  10464. }
  10465. },
  10466. "/Quote/QueryTSData": {
  10467. "get": {
  10468. "security": [
  10469. {
  10470. "ApiKeyAuth": []
  10471. }
  10472. ],
  10473. "produces": [
  10474. "application/json"
  10475. ],
  10476. "tags": [
  10477. "行情服务"
  10478. ],
  10479. "summary": "分时图数据查询",
  10480. "parameters": [
  10481. {
  10482. "type": "string",
  10483. "description": "商品代码",
  10484. "name": "goodsCode",
  10485. "in": "query",
  10486. "required": true
  10487. }
  10488. ],
  10489. "responses": {
  10490. "200": {
  10491. "description": "OK",
  10492. "schema": {
  10493. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10494. }
  10495. },
  10496. "500": {
  10497. "description": "Internal Server Error",
  10498. "schema": {
  10499. "$ref": "#/definitions/app.Response"
  10500. }
  10501. }
  10502. }
  10503. }
  10504. },
  10505. "/SZDZ/QueryConvertConfig": {
  10506. "get": {
  10507. "security": [
  10508. {
  10509. "ApiKeyAuth": []
  10510. }
  10511. ],
  10512. "produces": [
  10513. "application/json"
  10514. ],
  10515. "tags": [
  10516. "定制【尚志大宗】"
  10517. ],
  10518. "summary": "查询交易系统转换设置",
  10519. "parameters": [
  10520. {
  10521. "type": "integer",
  10522. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10523. "name": "convertType",
  10524. "in": "query"
  10525. },
  10526. {
  10527. "type": "string",
  10528. "description": "外部商品代码[JD\\PD]",
  10529. "name": "outerGoodsCode",
  10530. "in": "query"
  10531. },
  10532. {
  10533. "type": "string",
  10534. "description": "内部商品ID列表[交易],格式:1,2,3",
  10535. "name": "innerGoodsIDs",
  10536. "in": "query"
  10537. }
  10538. ],
  10539. "responses": {
  10540. "200": {
  10541. "description": "OK",
  10542. "schema": {
  10543. "$ref": "#/definitions/models.Szdz3convertconfig"
  10544. }
  10545. },
  10546. "500": {
  10547. "description": "Internal Server Error",
  10548. "schema": {
  10549. "$ref": "#/definitions/app.Response"
  10550. }
  10551. }
  10552. }
  10553. }
  10554. },
  10555. "/SZDZ/QueryConvertLog": {
  10556. "get": {
  10557. "security": [
  10558. {
  10559. "ApiKeyAuth": []
  10560. }
  10561. ],
  10562. "produces": [
  10563. "application/json"
  10564. ],
  10565. "tags": [
  10566. "定制【尚志大宗】"
  10567. ],
  10568. "summary": "交易系统转换流水查询",
  10569. "parameters": [
  10570. {
  10571. "type": "string",
  10572. "description": "资金账户 - 格式:1,2,3",
  10573. "name": "accountID",
  10574. "in": "query",
  10575. "required": true
  10576. },
  10577. {
  10578. "type": "string",
  10579. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10580. "name": "startDate",
  10581. "in": "query"
  10582. },
  10583. {
  10584. "type": "string",
  10585. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10586. "name": "endDate",
  10587. "in": "query"
  10588. }
  10589. ],
  10590. "responses": {
  10591. "200": {
  10592. "description": "OK",
  10593. "schema": {
  10594. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10595. }
  10596. },
  10597. "500": {
  10598. "description": "Internal Server Error",
  10599. "schema": {
  10600. "$ref": "#/definitions/app.Response"
  10601. }
  10602. }
  10603. }
  10604. }
  10605. },
  10606. "/SZDZ/QueryGoodsPickup": {
  10607. "get": {
  10608. "security": [
  10609. {
  10610. "ApiKeyAuth": []
  10611. }
  10612. ],
  10613. "produces": [
  10614. "application/json"
  10615. ],
  10616. "tags": [
  10617. "定制【尚志大宗】"
  10618. ],
  10619. "summary": "商品提货单查询",
  10620. "parameters": [
  10621. {
  10622. "type": "string",
  10623. "description": "资金账户 - 格式:1,2,3",
  10624. "name": "accountID",
  10625. "in": "query",
  10626. "required": true
  10627. },
  10628. {
  10629. "type": "integer",
  10630. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10631. "name": "takeOrderStatus",
  10632. "in": "query"
  10633. }
  10634. ],
  10635. "responses": {
  10636. "200": {
  10637. "description": "OK",
  10638. "schema": {
  10639. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10640. }
  10641. },
  10642. "500": {
  10643. "description": "Internal Server Error",
  10644. "schema": {
  10645. "$ref": "#/definitions/app.Response"
  10646. }
  10647. }
  10648. }
  10649. }
  10650. },
  10651. "/SZDZ/QueryRecieptOrder": {
  10652. "get": {
  10653. "security": [
  10654. {
  10655. "ApiKeyAuth": []
  10656. }
  10657. ],
  10658. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10659. "produces": [
  10660. "application/json"
  10661. ],
  10662. "tags": [
  10663. "定制【尚志大宗】"
  10664. ],
  10665. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10666. "parameters": [
  10667. {
  10668. "type": "integer",
  10669. "description": "页码",
  10670. "name": "page",
  10671. "in": "query"
  10672. },
  10673. {
  10674. "type": "integer",
  10675. "description": "每页条数",
  10676. "name": "pagesize",
  10677. "in": "query"
  10678. },
  10679. {
  10680. "type": "integer",
  10681. "description": "商品ID",
  10682. "name": "goodsID",
  10683. "in": "query",
  10684. "required": true
  10685. },
  10686. {
  10687. "type": "string",
  10688. "description": "所属账户名称",
  10689. "name": "accountName",
  10690. "in": "query"
  10691. },
  10692. {
  10693. "type": "integer",
  10694. "description": "市场ID",
  10695. "name": "marketID",
  10696. "in": "query"
  10697. },
  10698. {
  10699. "type": "integer",
  10700. "description": "方向 - 0:买 1:卖",
  10701. "name": "buyorsell",
  10702. "in": "query",
  10703. "required": true
  10704. }
  10705. ],
  10706. "responses": {
  10707. "200": {
  10708. "description": "OK",
  10709. "schema": {
  10710. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10711. }
  10712. },
  10713. "500": {
  10714. "description": "Internal Server Error",
  10715. "schema": {
  10716. "$ref": "#/definitions/app.Response"
  10717. }
  10718. }
  10719. }
  10720. }
  10721. },
  10722. "/SZDZ/QuerySZDZTradePosition": {
  10723. "get": {
  10724. "security": [
  10725. {
  10726. "ApiKeyAuth": []
  10727. }
  10728. ],
  10729. "produces": [
  10730. "application/json"
  10731. ],
  10732. "tags": [
  10733. "定制【尚志大宗】"
  10734. ],
  10735. "summary": "持仓汇总查询(尚志大宗)",
  10736. "parameters": [
  10737. {
  10738. "type": "integer",
  10739. "description": "资金账户",
  10740. "name": "accountID",
  10741. "in": "query",
  10742. "required": true
  10743. }
  10744. ],
  10745. "responses": {
  10746. "200": {
  10747. "description": "OK",
  10748. "schema": {
  10749. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10750. }
  10751. },
  10752. "500": {
  10753. "description": "Internal Server Error",
  10754. "schema": {
  10755. "$ref": "#/definitions/app.Response"
  10756. }
  10757. }
  10758. }
  10759. }
  10760. },
  10761. "/SZDZ/SearchWhite": {
  10762. "get": {
  10763. "security": [
  10764. {
  10765. "ApiKeyAuth": []
  10766. }
  10767. ],
  10768. "produces": [
  10769. "application/json"
  10770. ],
  10771. "tags": [
  10772. "定制【尚志大宗】"
  10773. ],
  10774. "summary": "搜索白名单",
  10775. "parameters": [
  10776. {
  10777. "type": "integer",
  10778. "description": "用户ID",
  10779. "name": "userID",
  10780. "in": "query",
  10781. "required": true
  10782. }
  10783. ],
  10784. "responses": {
  10785. "200": {
  10786. "description": "OK",
  10787. "schema": {
  10788. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10789. }
  10790. },
  10791. "500": {
  10792. "description": "Internal Server Error",
  10793. "schema": {
  10794. "$ref": "#/definitions/app.Response"
  10795. }
  10796. }
  10797. }
  10798. }
  10799. },
  10800. "/Search/SearchGoodses": {
  10801. "get": {
  10802. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10803. "produces": [
  10804. "application/json"
  10805. ],
  10806. "tags": [
  10807. "检索服务"
  10808. ],
  10809. "summary": "检索商品信息",
  10810. "parameters": [
  10811. {
  10812. "type": "string",
  10813. "description": "检索内容",
  10814. "name": "content",
  10815. "in": "query",
  10816. "required": true
  10817. },
  10818. {
  10819. "type": "string",
  10820. "description": "交易模式,格式:1,2,3",
  10821. "name": "tradeModes",
  10822. "in": "query"
  10823. }
  10824. ],
  10825. "responses": {
  10826. "200": {
  10827. "description": "OK",
  10828. "schema": {
  10829. "$ref": "#/definitions/models.SearchGoods"
  10830. }
  10831. },
  10832. "500": {
  10833. "description": "Internal Server Error",
  10834. "schema": {
  10835. "$ref": "#/definitions/app.Response"
  10836. }
  10837. }
  10838. }
  10839. }
  10840. },
  10841. "/TaAccount/GetTaAccounts": {
  10842. "get": {
  10843. "security": [
  10844. {
  10845. "ApiKeyAuth": []
  10846. }
  10847. ],
  10848. "produces": [
  10849. "application/json"
  10850. ],
  10851. "tags": [
  10852. "资金账户"
  10853. ],
  10854. "summary": "获取资金账户信息",
  10855. "parameters": [
  10856. {
  10857. "type": "integer",
  10858. "description": "登录账户",
  10859. "name": "loginID",
  10860. "in": "query",
  10861. "required": true
  10862. },
  10863. {
  10864. "type": "integer",
  10865. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10866. "name": "taAccountType",
  10867. "in": "query"
  10868. }
  10869. ],
  10870. "responses": {
  10871. "200": {
  10872. "description": "OK",
  10873. "schema": {
  10874. "$ref": "#/definitions/models.Taaccount"
  10875. }
  10876. },
  10877. "500": {
  10878. "description": "Internal Server Error",
  10879. "schema": {
  10880. "$ref": "#/definitions/app.Response"
  10881. }
  10882. }
  10883. }
  10884. }
  10885. },
  10886. "/TaAccount/QueryAmountLog": {
  10887. "get": {
  10888. "security": [
  10889. {
  10890. "ApiKeyAuth": []
  10891. }
  10892. ],
  10893. "produces": [
  10894. "application/json"
  10895. ],
  10896. "tags": [
  10897. "资金账户"
  10898. ],
  10899. "summary": "资金流水查询(当前)",
  10900. "parameters": [
  10901. {
  10902. "type": "integer",
  10903. "description": "页码",
  10904. "name": "page",
  10905. "in": "query"
  10906. },
  10907. {
  10908. "type": "integer",
  10909. "description": "每页条数",
  10910. "name": "pagesize",
  10911. "in": "query"
  10912. },
  10913. {
  10914. "type": "string",
  10915. "description": "资金账户 - 格式:1,2,3",
  10916. "name": "accountID",
  10917. "in": "query",
  10918. "required": true
  10919. },
  10920. {
  10921. "type": "string",
  10922. "description": "资金操作类型 - 格式:1,2,3",
  10923. "name": "OperateType",
  10924. "in": "query"
  10925. }
  10926. ],
  10927. "responses": {
  10928. "200": {
  10929. "description": "OK",
  10930. "schema": {
  10931. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10932. }
  10933. },
  10934. "500": {
  10935. "description": "Internal Server Error",
  10936. "schema": {
  10937. "$ref": "#/definitions/app.Response"
  10938. }
  10939. }
  10940. }
  10941. }
  10942. },
  10943. "/TaAccount/QueryHisAmountLog": {
  10944. "get": {
  10945. "security": [
  10946. {
  10947. "ApiKeyAuth": []
  10948. }
  10949. ],
  10950. "produces": [
  10951. "application/json"
  10952. ],
  10953. "tags": [
  10954. "资金账户"
  10955. ],
  10956. "summary": "资金流水查询(历史)",
  10957. "parameters": [
  10958. {
  10959. "type": "integer",
  10960. "description": "页码",
  10961. "name": "page",
  10962. "in": "query"
  10963. },
  10964. {
  10965. "type": "integer",
  10966. "description": "每页条数",
  10967. "name": "pagesize",
  10968. "in": "query"
  10969. },
  10970. {
  10971. "type": "string",
  10972. "description": "资金账户 - 格式:1,2,3",
  10973. "name": "accountID",
  10974. "in": "query",
  10975. "required": true
  10976. },
  10977. {
  10978. "type": "string",
  10979. "description": "资金操作类型 - 格式:1,2,3",
  10980. "name": "OperateType",
  10981. "in": "query"
  10982. },
  10983. {
  10984. "type": "string",
  10985. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10986. "name": "startDate",
  10987. "in": "query"
  10988. },
  10989. {
  10990. "type": "string",
  10991. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10992. "name": "endDate",
  10993. "in": "query"
  10994. }
  10995. ],
  10996. "responses": {
  10997. "200": {
  10998. "description": "OK",
  10999. "schema": {
  11000. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11001. }
  11002. },
  11003. "500": {
  11004. "description": "Internal Server Error",
  11005. "schema": {
  11006. "$ref": "#/definitions/app.Response"
  11007. }
  11008. }
  11009. }
  11010. }
  11011. },
  11012. "/Tjmd/QueryQuoteGoodsList": {
  11013. "get": {
  11014. "security": [
  11015. {
  11016. "ApiKeyAuth": []
  11017. }
  11018. ],
  11019. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11020. "produces": [
  11021. "application/json"
  11022. ],
  11023. "tags": [
  11024. "天津麦顿"
  11025. ],
  11026. "summary": "查询掉期报价列表",
  11027. "parameters": [
  11028. {
  11029. "type": "integer",
  11030. "description": "用户类型",
  11031. "name": "usertype",
  11032. "in": "query",
  11033. "required": true
  11034. },
  11035. {
  11036. "type": "string",
  11037. "description": "市场id, 格式 1,2,3",
  11038. "name": "marketids",
  11039. "in": "query"
  11040. },
  11041. {
  11042. "type": "integer",
  11043. "description": "商品组id",
  11044. "name": "goodsgroupid",
  11045. "in": "query"
  11046. },
  11047. {
  11048. "type": "integer",
  11049. "description": "商品id",
  11050. "name": "goodsid",
  11051. "in": "query"
  11052. }
  11053. ],
  11054. "responses": {
  11055. "200": {
  11056. "description": "OK",
  11057. "schema": {
  11058. "type": "array",
  11059. "items": {
  11060. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11061. }
  11062. }
  11063. },
  11064. "500": {
  11065. "description": "Internal Server Error",
  11066. "schema": {
  11067. "$ref": "#/definitions/app.Response"
  11068. }
  11069. }
  11070. }
  11071. }
  11072. },
  11073. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11074. "get": {
  11075. "security": [
  11076. {
  11077. "ApiKeyAuth": []
  11078. }
  11079. ],
  11080. "produces": [
  11081. "application/json"
  11082. ],
  11083. "tags": [
  11084. "天津麦顿"
  11085. ],
  11086. "summary": "查询今日账户保证金配置",
  11087. "parameters": [
  11088. {
  11089. "type": "string",
  11090. "description": "市场id",
  11091. "name": "marketid",
  11092. "in": "query"
  11093. },
  11094. {
  11095. "type": "string",
  11096. "description": "商品id",
  11097. "name": "goodsid",
  11098. "in": "query"
  11099. },
  11100. {
  11101. "type": "string",
  11102. "description": "资金账号",
  11103. "name": "accountid",
  11104. "in": "query"
  11105. }
  11106. ],
  11107. "responses": {
  11108. "200": {
  11109. "description": "OK",
  11110. "schema": {
  11111. "type": "array",
  11112. "items": {
  11113. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11114. }
  11115. }
  11116. },
  11117. "500": {
  11118. "description": "Internal Server Error",
  11119. "schema": {
  11120. "$ref": "#/definitions/app.Response"
  11121. }
  11122. }
  11123. }
  11124. }
  11125. },
  11126. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11127. "get": {
  11128. "security": [
  11129. {
  11130. "ApiKeyAuth": []
  11131. }
  11132. ],
  11133. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11134. "produces": [
  11135. "application/json"
  11136. ],
  11137. "tags": [
  11138. "天津麦顿"
  11139. ],
  11140. "summary": "查询掉期买卖大厅",
  11141. "parameters": [
  11142. {
  11143. "type": "integer",
  11144. "description": "页码",
  11145. "name": "page",
  11146. "in": "query"
  11147. },
  11148. {
  11149. "type": "integer",
  11150. "description": "每页条数",
  11151. "name": "pagesize",
  11152. "in": "query"
  11153. },
  11154. {
  11155. "type": "integer",
  11156. "description": "用户id",
  11157. "name": "userid",
  11158. "in": "query",
  11159. "required": true
  11160. },
  11161. {
  11162. "type": "integer",
  11163. "description": "用户类型",
  11164. "name": "usertype",
  11165. "in": "query",
  11166. "required": true
  11167. },
  11168. {
  11169. "type": "string",
  11170. "description": "市场id, 格式 1,2,3",
  11171. "name": "marketids",
  11172. "in": "query"
  11173. },
  11174. {
  11175. "type": "integer",
  11176. "description": "商品id",
  11177. "name": "goodsid",
  11178. "in": "query",
  11179. "required": true
  11180. },
  11181. {
  11182. "type": "integer",
  11183. "description": "买卖方向 0-买 1-卖",
  11184. "name": "buyorsell",
  11185. "in": "query",
  11186. "required": true
  11187. }
  11188. ],
  11189. "responses": {
  11190. "200": {
  11191. "description": "OK",
  11192. "schema": {
  11193. "type": "array",
  11194. "items": {
  11195. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11196. }
  11197. }
  11198. },
  11199. "500": {
  11200. "description": "Internal Server Error",
  11201. "schema": {
  11202. "$ref": "#/definitions/app.Response"
  11203. }
  11204. }
  11205. }
  11206. }
  11207. },
  11208. "/Tjmd/QueryTjmdTransferApply": {
  11209. "get": {
  11210. "security": [
  11211. {
  11212. "ApiKeyAuth": []
  11213. }
  11214. ],
  11215. "produces": [
  11216. "application/json"
  11217. ],
  11218. "tags": [
  11219. "天津麦顿"
  11220. ],
  11221. "summary": "查询掉期协议单",
  11222. "parameters": [
  11223. {
  11224. "type": "integer",
  11225. "description": "类型 1-我的申请 2-对方申请",
  11226. "name": "applytype",
  11227. "in": "query",
  11228. "required": true
  11229. },
  11230. {
  11231. "type": "string",
  11232. "description": "市场id, 格式 1,2,3",
  11233. "name": "marketids",
  11234. "in": "query"
  11235. },
  11236. {
  11237. "type": "string",
  11238. "description": "资金账号, 格式 25000000001,25000000003",
  11239. "name": "accountids",
  11240. "in": "query"
  11241. }
  11242. ],
  11243. "responses": {
  11244. "200": {
  11245. "description": "OK",
  11246. "schema": {
  11247. "type": "array",
  11248. "items": {
  11249. "$ref": "#/definitions/models.TjmdTransferApply"
  11250. }
  11251. }
  11252. },
  11253. "500": {
  11254. "description": "Internal Server Error",
  11255. "schema": {
  11256. "$ref": "#/definitions/app.Response"
  11257. }
  11258. }
  11259. }
  11260. }
  11261. },
  11262. "/Trade/QueryRecieptOrder": {
  11263. "get": {
  11264. "security": [
  11265. {
  11266. "ApiKeyAuth": []
  11267. }
  11268. ],
  11269. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11270. "produces": [
  11271. "application/json"
  11272. ],
  11273. "tags": [
  11274. "通用交易"
  11275. ],
  11276. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11277. "parameters": [
  11278. {
  11279. "type": "integer",
  11280. "description": "页码",
  11281. "name": "page",
  11282. "in": "query"
  11283. },
  11284. {
  11285. "type": "integer",
  11286. "description": "每页条数",
  11287. "name": "pagesize",
  11288. "in": "query"
  11289. },
  11290. {
  11291. "type": "integer",
  11292. "description": "商品ID",
  11293. "name": "goodsID",
  11294. "in": "query",
  11295. "required": true
  11296. },
  11297. {
  11298. "type": "string",
  11299. "description": "所属账户名称",
  11300. "name": "accountName",
  11301. "in": "query"
  11302. },
  11303. {
  11304. "type": "integer",
  11305. "description": "市场ID",
  11306. "name": "marketID",
  11307. "in": "query"
  11308. },
  11309. {
  11310. "type": "integer",
  11311. "description": "方向 - 0:买 1:卖",
  11312. "name": "buyorsell",
  11313. "in": "query",
  11314. "required": true
  11315. }
  11316. ],
  11317. "responses": {
  11318. "200": {
  11319. "description": "OK",
  11320. "schema": {
  11321. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11322. }
  11323. },
  11324. "500": {
  11325. "description": "Internal Server Error",
  11326. "schema": {
  11327. "$ref": "#/definitions/app.Response"
  11328. }
  11329. }
  11330. }
  11331. }
  11332. },
  11333. "/User/AddMessageBoard": {
  11334. "post": {
  11335. "security": [
  11336. {
  11337. "ApiKeyAuth": []
  11338. }
  11339. ],
  11340. "produces": [
  11341. "application/json"
  11342. ],
  11343. "tags": [
  11344. "用户信息"
  11345. ],
  11346. "summary": "添加用户留言板信息",
  11347. "parameters": [
  11348. {
  11349. "type": "integer",
  11350. "description": "用户ID",
  11351. "name": "userID",
  11352. "in": "query",
  11353. "required": true
  11354. },
  11355. {
  11356. "type": "string",
  11357. "description": "留言信息",
  11358. "name": "message",
  11359. "in": "query",
  11360. "required": true
  11361. },
  11362. {
  11363. "type": "string",
  11364. "description": "联系电话",
  11365. "name": "contactNum",
  11366. "in": "query",
  11367. "required": true
  11368. }
  11369. ],
  11370. "responses": {
  11371. "200": {
  11372. "description": "OK",
  11373. "schema": {
  11374. "$ref": "#/definitions/app.Response"
  11375. }
  11376. },
  11377. "500": {
  11378. "description": "Internal Server Error",
  11379. "schema": {
  11380. "$ref": "#/definitions/app.Response"
  11381. }
  11382. }
  11383. }
  11384. }
  11385. },
  11386. "/User/AddUserFavoriteGoods": {
  11387. "post": {
  11388. "security": [
  11389. {
  11390. "ApiKeyAuth": []
  11391. }
  11392. ],
  11393. "produces": [
  11394. "application/json"
  11395. ],
  11396. "tags": [
  11397. "用户信息"
  11398. ],
  11399. "summary": "添加用户商品收藏信息",
  11400. "parameters": [
  11401. {
  11402. "type": "integer",
  11403. "description": "用户ID",
  11404. "name": "userID",
  11405. "in": "query",
  11406. "required": true
  11407. },
  11408. {
  11409. "type": "integer",
  11410. "description": "商品ID",
  11411. "name": "goodsID",
  11412. "in": "query",
  11413. "required": true
  11414. }
  11415. ],
  11416. "responses": {
  11417. "200": {
  11418. "description": "OK",
  11419. "schema": {
  11420. "$ref": "#/definitions/app.Response"
  11421. }
  11422. },
  11423. "500": {
  11424. "description": "Internal Server Error",
  11425. "schema": {
  11426. "$ref": "#/definitions/app.Response"
  11427. }
  11428. }
  11429. }
  11430. }
  11431. },
  11432. "/User/GetLoginID": {
  11433. "get": {
  11434. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11435. "produces": [
  11436. "application/json"
  11437. ],
  11438. "tags": [
  11439. "用户信息"
  11440. ],
  11441. "summary": "获取登录ID",
  11442. "parameters": [
  11443. {
  11444. "type": "string",
  11445. "description": "登录代码",
  11446. "name": "username",
  11447. "in": "query",
  11448. "required": true
  11449. }
  11450. ],
  11451. "responses": {
  11452. "200": {
  11453. "description": "OK",
  11454. "schema": {
  11455. "$ref": "#/definitions/app.Response"
  11456. }
  11457. },
  11458. "500": {
  11459. "description": "Internal Server Error",
  11460. "schema": {
  11461. "$ref": "#/definitions/app.Response"
  11462. }
  11463. }
  11464. }
  11465. }
  11466. },
  11467. "/User/GetUserAccount": {
  11468. "get": {
  11469. "security": [
  11470. {
  11471. "ApiKeyAuth": []
  11472. }
  11473. ],
  11474. "produces": [
  11475. "application/json"
  11476. ],
  11477. "tags": [
  11478. "用户信息"
  11479. ],
  11480. "summary": "获取用户账号信息",
  11481. "parameters": [
  11482. {
  11483. "type": "integer",
  11484. "description": "用户ID",
  11485. "name": "userID",
  11486. "in": "query",
  11487. "required": true
  11488. }
  11489. ],
  11490. "responses": {
  11491. "200": {
  11492. "description": "OK",
  11493. "schema": {
  11494. "$ref": "#/definitions/models.Useraccount"
  11495. }
  11496. },
  11497. "500": {
  11498. "description": "Internal Server Error",
  11499. "schema": {
  11500. "$ref": "#/definitions/app.Response"
  11501. }
  11502. }
  11503. }
  11504. }
  11505. },
  11506. "/User/GetUserAuthStatus": {
  11507. "get": {
  11508. "security": [
  11509. {
  11510. "ApiKeyAuth": []
  11511. }
  11512. ],
  11513. "produces": [
  11514. "application/json"
  11515. ],
  11516. "tags": [
  11517. "用户信息"
  11518. ],
  11519. "summary": "获取用户实名认证状态",
  11520. "parameters": [
  11521. {
  11522. "type": "integer",
  11523. "description": "用户ID",
  11524. "name": "userID",
  11525. "in": "query",
  11526. "required": true
  11527. }
  11528. ],
  11529. "responses": {
  11530. "200": {
  11531. "description": "OK",
  11532. "schema": {
  11533. "$ref": "#/definitions/app.Response"
  11534. }
  11535. },
  11536. "500": {
  11537. "description": "Internal Server Error",
  11538. "schema": {
  11539. "$ref": "#/definitions/app.Response"
  11540. }
  11541. }
  11542. }
  11543. }
  11544. },
  11545. "/User/LoginQuery": {
  11546. "get": {
  11547. "security": [
  11548. {
  11549. "ApiKeyAuth": []
  11550. }
  11551. ],
  11552. "produces": [
  11553. "application/json"
  11554. ],
  11555. "tags": [
  11556. "用户信息"
  11557. ],
  11558. "summary": "账户登录后信息查询",
  11559. "parameters": [
  11560. {
  11561. "type": "integer",
  11562. "description": "登录账号",
  11563. "name": "loginID",
  11564. "in": "query",
  11565. "required": true
  11566. }
  11567. ],
  11568. "responses": {
  11569. "200": {
  11570. "description": "OK",
  11571. "schema": {
  11572. "$ref": "#/definitions/user.LoginQueryRsp"
  11573. }
  11574. },
  11575. "500": {
  11576. "description": "Internal Server Error",
  11577. "schema": {
  11578. "$ref": "#/definitions/app.Response"
  11579. }
  11580. }
  11581. }
  11582. }
  11583. },
  11584. "/User/QueryMessageBoard": {
  11585. "get": {
  11586. "security": [
  11587. {
  11588. "ApiKeyAuth": []
  11589. }
  11590. ],
  11591. "produces": [
  11592. "application/json"
  11593. ],
  11594. "tags": [
  11595. "用户信息"
  11596. ],
  11597. "summary": "获取用户留言板信息",
  11598. "parameters": [
  11599. {
  11600. "type": "integer",
  11601. "description": "用户ID",
  11602. "name": "userID",
  11603. "in": "query",
  11604. "required": true
  11605. }
  11606. ],
  11607. "responses": {
  11608. "200": {
  11609. "description": "OK",
  11610. "schema": {
  11611. "$ref": "#/definitions/models.Messageboard"
  11612. }
  11613. },
  11614. "500": {
  11615. "description": "Internal Server Error",
  11616. "schema": {
  11617. "$ref": "#/definitions/app.Response"
  11618. }
  11619. }
  11620. }
  11621. }
  11622. },
  11623. "/User/QueryUserFavoriteGoodses": {
  11624. "get": {
  11625. "security": [
  11626. {
  11627. "ApiKeyAuth": []
  11628. }
  11629. ],
  11630. "produces": [
  11631. "application/json"
  11632. ],
  11633. "tags": [
  11634. "用户信息"
  11635. ],
  11636. "summary": "获取用户商品收藏信息",
  11637. "parameters": [
  11638. {
  11639. "type": "integer",
  11640. "description": "用户ID",
  11641. "name": "userID",
  11642. "in": "query",
  11643. "required": true
  11644. }
  11645. ],
  11646. "responses": {
  11647. "200": {
  11648. "description": "OK",
  11649. "schema": {
  11650. "$ref": "#/definitions/models.Userfavoritegoods"
  11651. }
  11652. },
  11653. "500": {
  11654. "description": "Internal Server Error",
  11655. "schema": {
  11656. "$ref": "#/definitions/app.Response"
  11657. }
  11658. }
  11659. }
  11660. }
  11661. },
  11662. "/User/QueryUserInfo": {
  11663. "get": {
  11664. "security": [
  11665. {
  11666. "ApiKeyAuth": []
  11667. }
  11668. ],
  11669. "produces": [
  11670. "application/json"
  11671. ],
  11672. "tags": [
  11673. "用户信息"
  11674. ],
  11675. "summary": "获取用户信息",
  11676. "parameters": [
  11677. {
  11678. "type": "integer",
  11679. "description": "用户ID",
  11680. "name": "userID",
  11681. "in": "query",
  11682. "required": true
  11683. },
  11684. {
  11685. "type": "boolean",
  11686. "description": "是否解密",
  11687. "name": "isDecrypt",
  11688. "in": "query"
  11689. }
  11690. ],
  11691. "responses": {
  11692. "200": {
  11693. "description": "OK",
  11694. "schema": {
  11695. "$ref": "#/definitions/models.Userinfo"
  11696. }
  11697. },
  11698. "500": {
  11699. "description": "Internal Server Error",
  11700. "schema": {
  11701. "$ref": "#/definitions/app.Response"
  11702. }
  11703. }
  11704. }
  11705. }
  11706. },
  11707. "/User/QueryUserReferNum": {
  11708. "get": {
  11709. "produces": [
  11710. "application/json"
  11711. ],
  11712. "tags": [
  11713. "用户信息"
  11714. ],
  11715. "summary": "获取用户邀请码",
  11716. "parameters": [
  11717. {
  11718. "type": "integer",
  11719. "description": "用户ID",
  11720. "name": "userID",
  11721. "in": "query",
  11722. "required": true
  11723. }
  11724. ],
  11725. "responses": {
  11726. "200": {
  11727. "description": "OK",
  11728. "schema": {
  11729. "$ref": "#/definitions/app.Response"
  11730. }
  11731. },
  11732. "500": {
  11733. "description": "Internal Server Error",
  11734. "schema": {
  11735. "$ref": "#/definitions/app.Response"
  11736. }
  11737. }
  11738. }
  11739. }
  11740. },
  11741. "/User/RemoveUserFavoriteGoods": {
  11742. "post": {
  11743. "security": [
  11744. {
  11745. "ApiKeyAuth": []
  11746. }
  11747. ],
  11748. "produces": [
  11749. "application/json"
  11750. ],
  11751. "tags": [
  11752. "用户信息"
  11753. ],
  11754. "summary": "移除用户商品收藏信息",
  11755. "parameters": [
  11756. {
  11757. "type": "integer",
  11758. "description": "用户ID",
  11759. "name": "userID",
  11760. "in": "query",
  11761. "required": true
  11762. },
  11763. {
  11764. "type": "integer",
  11765. "description": "商品ID",
  11766. "name": "goodsID",
  11767. "in": "query",
  11768. "required": true
  11769. }
  11770. ],
  11771. "responses": {
  11772. "200": {
  11773. "description": "OK",
  11774. "schema": {
  11775. "$ref": "#/definitions/app.Response"
  11776. }
  11777. },
  11778. "500": {
  11779. "description": "Internal Server Error",
  11780. "schema": {
  11781. "$ref": "#/definitions/app.Response"
  11782. }
  11783. }
  11784. }
  11785. }
  11786. },
  11787. "/User/UpdateUserAccountStatus": {
  11788. "post": {
  11789. "security": [
  11790. {
  11791. "ApiKeyAuth": []
  11792. }
  11793. ],
  11794. "produces": [
  11795. "application/json"
  11796. ],
  11797. "tags": [
  11798. "用户信息"
  11799. ],
  11800. "summary": "更新用户状态",
  11801. "parameters": [
  11802. {
  11803. "type": "integer",
  11804. "description": "用户ID",
  11805. "name": "userID",
  11806. "in": "query",
  11807. "required": true
  11808. },
  11809. {
  11810. "type": "integer",
  11811. "description": "账户状态 - 4:正常 6:注销(停用)",
  11812. "name": "accountStatus",
  11813. "in": "query",
  11814. "required": true
  11815. }
  11816. ],
  11817. "responses": {
  11818. "200": {
  11819. "description": "OK",
  11820. "schema": {
  11821. "$ref": "#/definitions/app.Response"
  11822. }
  11823. },
  11824. "500": {
  11825. "description": "Internal Server Error",
  11826. "schema": {
  11827. "$ref": "#/definitions/app.Response"
  11828. }
  11829. }
  11830. }
  11831. }
  11832. },
  11833. "/WRTrade/GetAllDeliveryGoods": {
  11834. "get": {
  11835. "security": [
  11836. {
  11837. "ApiKeyAuth": []
  11838. },
  11839. {
  11840. "ApiKeyAuth": []
  11841. }
  11842. ],
  11843. "produces": [
  11844. "application/json",
  11845. "application/json"
  11846. ],
  11847. "tags": [
  11848. "仓单贸易",
  11849. "仓单贸易"
  11850. ],
  11851. "summary": "获取带仓单分类的种类信息",
  11852. "responses": {
  11853. "200": {
  11854. "description": "OK",
  11855. "schema": {
  11856. "$ref": "#/definitions/app.Response"
  11857. }
  11858. },
  11859. "500": {
  11860. "description": "Internal Server Error",
  11861. "schema": {
  11862. "$ref": "#/definitions/app.Response"
  11863. }
  11864. }
  11865. }
  11866. }
  11867. },
  11868. "/WrTrade2/QueryFaProductDetail": {
  11869. "get": {
  11870. "security": [
  11871. {
  11872. "ApiKeyAuth": []
  11873. }
  11874. ],
  11875. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  11876. "produces": [
  11877. "application/json"
  11878. ],
  11879. "tags": [
  11880. "仓单贸易v2"
  11881. ],
  11882. "summary": "查询融资产品列表",
  11883. "parameters": [
  11884. {
  11885. "type": "integer",
  11886. "description": "仓单要素id",
  11887. "name": "wrfactortypeid",
  11888. "in": "query",
  11889. "required": true
  11890. }
  11891. ],
  11892. "responses": {
  11893. "200": {
  11894. "description": "OK",
  11895. "schema": {
  11896. "type": "array",
  11897. "items": {
  11898. "$ref": "#/definitions/models.WrFAProductDetail"
  11899. }
  11900. }
  11901. },
  11902. "500": {
  11903. "description": "Internal Server Error",
  11904. "schema": {
  11905. "$ref": "#/definitions/app.Response"
  11906. }
  11907. }
  11908. }
  11909. }
  11910. },
  11911. "/WrTrade2/QueryFilterItem": {
  11912. "get": {
  11913. "security": [
  11914. {
  11915. "ApiKeyAuth": []
  11916. }
  11917. ],
  11918. "produces": [
  11919. "application/json"
  11920. ],
  11921. "tags": [
  11922. "仓单贸易v2"
  11923. ],
  11924. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  11925. "parameters": [
  11926. {
  11927. "type": "string",
  11928. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  11929. "name": "itype",
  11930. "in": "query",
  11931. "required": true
  11932. }
  11933. ],
  11934. "responses": {
  11935. "200": {
  11936. "description": "OK",
  11937. "schema": {
  11938. "type": "array",
  11939. "items": {
  11940. "$ref": "#/definitions/models.WrFilterItem"
  11941. }
  11942. }
  11943. },
  11944. "500": {
  11945. "description": "Internal Server Error",
  11946. "schema": {
  11947. "$ref": "#/definitions/app.Response"
  11948. }
  11949. }
  11950. }
  11951. }
  11952. },
  11953. "/WrTrade2/QueryFtDeliveryGoods": {
  11954. "get": {
  11955. "security": [
  11956. {
  11957. "ApiKeyAuth": []
  11958. }
  11959. ],
  11960. "produces": [
  11961. "application/json"
  11962. ],
  11963. "tags": [
  11964. "仓单贸易v2"
  11965. ],
  11966. "summary": "查询品种品类筛选框列表",
  11967. "responses": {
  11968. "200": {
  11969. "description": "OK",
  11970. "schema": {
  11971. "type": "array",
  11972. "items": {
  11973. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  11974. }
  11975. }
  11976. },
  11977. "500": {
  11978. "description": "Internal Server Error",
  11979. "schema": {
  11980. "$ref": "#/definitions/app.Response"
  11981. }
  11982. }
  11983. }
  11984. }
  11985. },
  11986. "/WrTrade2/QueryHoldLB": {
  11987. "get": {
  11988. "security": [
  11989. {
  11990. "ApiKeyAuth": []
  11991. }
  11992. ],
  11993. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  11994. "produces": [
  11995. "application/json"
  11996. ],
  11997. "tags": [
  11998. "仓单贸易v2"
  11999. ],
  12000. "summary": "查询仓单持有记录",
  12001. "parameters": [
  12002. {
  12003. "type": "integer",
  12004. "description": "资金账号",
  12005. "name": "accountid",
  12006. "in": "query",
  12007. "required": true
  12008. },
  12009. {
  12010. "type": "integer",
  12011. "description": "仓库id",
  12012. "name": "warehouseid",
  12013. "in": "query"
  12014. },
  12015. {
  12016. "type": "integer",
  12017. "description": "品种id",
  12018. "name": "deliverygoodsid",
  12019. "in": "query"
  12020. },
  12021. {
  12022. "type": "integer",
  12023. "description": "品类id",
  12024. "name": "wrstandardid",
  12025. "in": "query"
  12026. },
  12027. {
  12028. "type": "integer",
  12029. "description": "仓单要素id",
  12030. "name": "wrfactortypeid",
  12031. "in": "query"
  12032. },
  12033. {
  12034. "type": "string",
  12035. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12036. "name": "dgitemname",
  12037. "in": "query"
  12038. }
  12039. ],
  12040. "responses": {
  12041. "200": {
  12042. "description": "OK",
  12043. "schema": {
  12044. "type": "array",
  12045. "items": {
  12046. "$ref": "#/definitions/models.WrHoldLB"
  12047. }
  12048. }
  12049. },
  12050. "500": {
  12051. "description": "Internal Server Error",
  12052. "schema": {
  12053. "$ref": "#/definitions/app.Response"
  12054. }
  12055. }
  12056. }
  12057. }
  12058. },
  12059. "/WrTrade2/QueryOrderQuote": {
  12060. "get": {
  12061. "security": [
  12062. {
  12063. "ApiKeyAuth": []
  12064. }
  12065. ],
  12066. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12067. "produces": [
  12068. "application/json"
  12069. ],
  12070. "tags": [
  12071. "仓单贸易v2"
  12072. ],
  12073. "summary": "查询大厅行情列表",
  12074. "parameters": [
  12075. {
  12076. "type": "integer",
  12077. "description": "页码",
  12078. "name": "page",
  12079. "in": "query"
  12080. },
  12081. {
  12082. "type": "integer",
  12083. "description": "每页条数",
  12084. "name": "pagesize",
  12085. "in": "query"
  12086. },
  12087. {
  12088. "type": "integer",
  12089. "description": "仓单贸易市场id",
  12090. "name": "marketid",
  12091. "in": "query"
  12092. },
  12093. {
  12094. "type": "integer",
  12095. "description": "价格方式 - 1:固定价 2-浮动价",
  12096. "name": "wrpricetype",
  12097. "in": "query",
  12098. "required": true
  12099. },
  12100. {
  12101. "type": "integer",
  12102. "description": "0:仓单预售 1:仓单贸易",
  12103. "name": "haswr",
  12104. "in": "query",
  12105. "required": true
  12106. },
  12107. {
  12108. "type": "string",
  12109. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12110. "name": "dgitemname",
  12111. "in": "query"
  12112. },
  12113. {
  12114. "type": "integer",
  12115. "description": "仓库id(筛选条件)",
  12116. "name": "warehouseid",
  12117. "in": "query"
  12118. },
  12119. {
  12120. "type": "integer",
  12121. "description": "品种id",
  12122. "name": "deliverygoodsid",
  12123. "in": "query"
  12124. },
  12125. {
  12126. "type": "integer",
  12127. "description": "品类id",
  12128. "name": "wrstandardid",
  12129. "in": "query"
  12130. },
  12131. {
  12132. "type": "integer",
  12133. "description": "仓单要素id",
  12134. "name": "wrfactortypeid",
  12135. "in": "query"
  12136. },
  12137. {
  12138. "type": "string",
  12139. "description": "交收月(yyyy-mm) 仓单预售填写",
  12140. "name": "deliverymonth",
  12141. "in": "query"
  12142. }
  12143. ],
  12144. "responses": {
  12145. "200": {
  12146. "description": "OK",
  12147. "schema": {
  12148. "type": "array",
  12149. "items": {
  12150. "$ref": "#/definitions/models.WrOrderQuote"
  12151. }
  12152. }
  12153. },
  12154. "500": {
  12155. "description": "Internal Server Error",
  12156. "schema": {
  12157. "$ref": "#/definitions/app.Response"
  12158. }
  12159. }
  12160. }
  12161. }
  12162. },
  12163. "/WrTrade2/QueryOrderQuoteDetail": {
  12164. "get": {
  12165. "security": [
  12166. {
  12167. "ApiKeyAuth": []
  12168. }
  12169. ],
  12170. "produces": [
  12171. "application/json"
  12172. ],
  12173. "tags": [
  12174. "仓单贸易v2"
  12175. ],
  12176. "summary": "查询买卖大厅",
  12177. "parameters": [
  12178. {
  12179. "type": "integer",
  12180. "description": "页码",
  12181. "name": "page",
  12182. "in": "query"
  12183. },
  12184. {
  12185. "type": "integer",
  12186. "description": "每页条数",
  12187. "name": "pagesize",
  12188. "in": "query"
  12189. },
  12190. {
  12191. "type": "integer",
  12192. "description": "仓单贸易市场id",
  12193. "name": "marketid",
  12194. "in": "query"
  12195. },
  12196. {
  12197. "type": "integer",
  12198. "description": "价格方式 - 1:固定价 2-浮动价",
  12199. "name": "wrpricetype",
  12200. "in": "query",
  12201. "required": true
  12202. },
  12203. {
  12204. "type": "integer",
  12205. "description": "0:仓单预售 1:仓单贸易",
  12206. "name": "haswr",
  12207. "in": "query",
  12208. "required": true
  12209. },
  12210. {
  12211. "type": "integer",
  12212. "description": "仓单要素id",
  12213. "name": "wrfactortypeid",
  12214. "in": "query",
  12215. "required": true
  12216. },
  12217. {
  12218. "type": "integer",
  12219. "description": "期货商品id(浮动价方式时填)",
  12220. "name": "goodsid",
  12221. "in": "query"
  12222. },
  12223. {
  12224. "type": "integer",
  12225. "description": "买卖方向 0-买 1-卖",
  12226. "name": "buyorsell",
  12227. "in": "query",
  12228. "required": true
  12229. },
  12230. {
  12231. "type": "string",
  12232. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12233. "name": "deliverymonth",
  12234. "in": "query"
  12235. }
  12236. ],
  12237. "responses": {
  12238. "200": {
  12239. "description": "OK",
  12240. "schema": {
  12241. "type": "array",
  12242. "items": {
  12243. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12244. }
  12245. }
  12246. },
  12247. "500": {
  12248. "description": "Internal Server Error",
  12249. "schema": {
  12250. "$ref": "#/definitions/app.Response"
  12251. }
  12252. }
  12253. }
  12254. }
  12255. },
  12256. "/WrTrade2/QueryOrderQuoteMyq": {
  12257. "get": {
  12258. "security": [
  12259. {
  12260. "ApiKeyAuth": []
  12261. }
  12262. ],
  12263. "produces": [
  12264. "application/json"
  12265. ],
  12266. "tags": [
  12267. "仓单贸易v2"
  12268. ],
  12269. "summary": "查询贸易圈挂牌大厅",
  12270. "parameters": [
  12271. {
  12272. "type": "integer",
  12273. "description": "页码",
  12274. "name": "page",
  12275. "in": "query"
  12276. },
  12277. {
  12278. "type": "integer",
  12279. "description": "每页条数",
  12280. "name": "pagesize",
  12281. "in": "query"
  12282. },
  12283. {
  12284. "type": "integer",
  12285. "description": "用户id",
  12286. "name": "userid",
  12287. "in": "query",
  12288. "required": true
  12289. },
  12290. {
  12291. "type": "integer",
  12292. "description": "仓单贸易市场id",
  12293. "name": "marketid",
  12294. "in": "query"
  12295. },
  12296. {
  12297. "type": "integer",
  12298. "description": "0:仓单预售 1:仓单贸易",
  12299. "name": "haswr",
  12300. "in": "query",
  12301. "required": true
  12302. },
  12303. {
  12304. "type": "integer",
  12305. "description": "买卖方向 0-买 1-卖",
  12306. "name": "buyorsell",
  12307. "in": "query",
  12308. "required": true
  12309. },
  12310. {
  12311. "type": "integer",
  12312. "description": "品种id",
  12313. "name": "deliverygoodsid",
  12314. "in": "query"
  12315. },
  12316. {
  12317. "type": "integer",
  12318. "description": "品类id",
  12319. "name": "wrstandardid",
  12320. "in": "query"
  12321. },
  12322. {
  12323. "type": "string",
  12324. "description": "交收月(yyyy-mm) 仓单预售填写",
  12325. "name": "deliverymonth",
  12326. "in": "query"
  12327. },
  12328. {
  12329. "type": "string",
  12330. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12331. "name": "dgitemname",
  12332. "in": "query"
  12333. }
  12334. ],
  12335. "responses": {
  12336. "200": {
  12337. "description": "OK",
  12338. "schema": {
  12339. "type": "array",
  12340. "items": {
  12341. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12342. }
  12343. }
  12344. },
  12345. "500": {
  12346. "description": "Internal Server Error",
  12347. "schema": {
  12348. "$ref": "#/definitions/app.Response"
  12349. }
  12350. }
  12351. }
  12352. }
  12353. },
  12354. "/WrTrade2/QueryPerformancePlan": {
  12355. "get": {
  12356. "security": [
  12357. {
  12358. "ApiKeyAuth": []
  12359. }
  12360. ],
  12361. "produces": [
  12362. "application/json"
  12363. ],
  12364. "tags": [
  12365. "仓单贸易v2"
  12366. ],
  12367. "summary": "查询履约信息",
  12368. "parameters": [
  12369. {
  12370. "type": "integer",
  12371. "description": "用户id",
  12372. "name": "userid",
  12373. "in": "query",
  12374. "required": true
  12375. },
  12376. {
  12377. "type": "integer",
  12378. "description": "买卖方向 0-买 1-卖",
  12379. "name": "buyorsell",
  12380. "in": "query",
  12381. "required": true
  12382. }
  12383. ],
  12384. "responses": {
  12385. "200": {
  12386. "description": "OK",
  12387. "schema": {
  12388. "type": "array",
  12389. "items": {
  12390. "$ref": "#/definitions/models.WrPerformancePlan"
  12391. }
  12392. }
  12393. },
  12394. "500": {
  12395. "description": "Internal Server Error",
  12396. "schema": {
  12397. "$ref": "#/definitions/app.Response"
  12398. }
  12399. }
  12400. }
  12401. }
  12402. },
  12403. "/WrTrade2/QueryPermancePlanTmp": {
  12404. "get": {
  12405. "security": [
  12406. {
  12407. "ApiKeyAuth": []
  12408. }
  12409. ],
  12410. "description": "返回指定用户的模板和公共模板(用户id为空)",
  12411. "produces": [
  12412. "application/json"
  12413. ],
  12414. "tags": [
  12415. "仓单贸易v2"
  12416. ],
  12417. "summary": "查询履约模板",
  12418. "parameters": [
  12419. {
  12420. "type": "integer",
  12421. "description": "用户id",
  12422. "name": "userid",
  12423. "in": "query"
  12424. },
  12425. {
  12426. "type": "string",
  12427. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12428. "name": "tmptype",
  12429. "in": "query"
  12430. },
  12431. {
  12432. "type": "integer",
  12433. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12434. "name": "includepub",
  12435. "in": "query"
  12436. }
  12437. ],
  12438. "responses": {
  12439. "200": {
  12440. "description": "OK",
  12441. "schema": {
  12442. "type": "array",
  12443. "items": {
  12444. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12445. }
  12446. }
  12447. },
  12448. "500": {
  12449. "description": "Internal Server Error",
  12450. "schema": {
  12451. "$ref": "#/definitions/app.Response"
  12452. }
  12453. }
  12454. }
  12455. }
  12456. },
  12457. "/WrTrade2/QueryWrAverageTradePrice": {
  12458. "get": {
  12459. "security": [
  12460. {
  12461. "ApiKeyAuth": []
  12462. }
  12463. ],
  12464. "produces": [
  12465. "application/json"
  12466. ],
  12467. "tags": [
  12468. "仓单贸易v2"
  12469. ],
  12470. "summary": "查询成交价(历史走势)",
  12471. "parameters": [
  12472. {
  12473. "type": "integer",
  12474. "description": "页码",
  12475. "name": "page",
  12476. "in": "query"
  12477. },
  12478. {
  12479. "type": "integer",
  12480. "description": "每页条数",
  12481. "name": "pagesize",
  12482. "in": "query"
  12483. },
  12484. {
  12485. "type": "integer",
  12486. "description": "0:仓单预售 1:仓单贸易",
  12487. "name": "haswr",
  12488. "in": "query",
  12489. "required": true
  12490. },
  12491. {
  12492. "type": "integer",
  12493. "description": "仓单要素id",
  12494. "name": "wrfactortypeid",
  12495. "in": "query",
  12496. "required": true
  12497. }
  12498. ],
  12499. "responses": {
  12500. "200": {
  12501. "description": "OK",
  12502. "schema": {
  12503. "type": "array",
  12504. "items": {
  12505. "$ref": "#/definitions/models.WrAverageTradePrice"
  12506. }
  12507. }
  12508. },
  12509. "500": {
  12510. "description": "Internal Server Error",
  12511. "schema": {
  12512. "$ref": "#/definitions/app.Response"
  12513. }
  12514. }
  12515. }
  12516. }
  12517. },
  12518. "/WrTrade2/QueryWrBsGoodsInfo": {
  12519. "get": {
  12520. "security": [
  12521. {
  12522. "ApiKeyAuth": []
  12523. }
  12524. ],
  12525. "description": "合约交易/买卖大厅/详情",
  12526. "produces": [
  12527. "application/json"
  12528. ],
  12529. "tags": [
  12530. "仓单贸易v2"
  12531. ],
  12532. "summary": "查询合约交易买卖大厅详情",
  12533. "parameters": [
  12534. {
  12535. "type": "integer",
  12536. "description": "商品id",
  12537. "name": "goodsid",
  12538. "in": "query",
  12539. "required": true
  12540. }
  12541. ],
  12542. "responses": {
  12543. "200": {
  12544. "description": "OK",
  12545. "schema": {
  12546. "type": "array",
  12547. "items": {
  12548. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12549. }
  12550. }
  12551. },
  12552. "500": {
  12553. "description": "Internal Server Error",
  12554. "schema": {
  12555. "$ref": "#/definitions/app.Response"
  12556. }
  12557. }
  12558. }
  12559. }
  12560. },
  12561. "/WrTrade2/QueryWrBuybackDetail": {
  12562. "get": {
  12563. "security": [
  12564. {
  12565. "ApiKeyAuth": []
  12566. }
  12567. ],
  12568. "produces": [
  12569. "application/json"
  12570. ],
  12571. "tags": [
  12572. "仓单贸易v2"
  12573. ],
  12574. "summary": "查询仓单回购明细",
  12575. "parameters": [
  12576. {
  12577. "type": "integer",
  12578. "description": "融资合同id",
  12579. "name": "scfcontractid",
  12580. "in": "query"
  12581. }
  12582. ],
  12583. "responses": {
  12584. "200": {
  12585. "description": "OK",
  12586. "schema": {
  12587. "type": "array",
  12588. "items": {
  12589. "$ref": "#/definitions/models.WrBuybackDetail"
  12590. }
  12591. }
  12592. },
  12593. "500": {
  12594. "description": "Internal Server Error",
  12595. "schema": {
  12596. "$ref": "#/definitions/app.Response"
  12597. }
  12598. }
  12599. }
  12600. }
  12601. },
  12602. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12603. "get": {
  12604. "security": [
  12605. {
  12606. "ApiKeyAuth": []
  12607. }
  12608. ],
  12609. "produces": [
  12610. "application/json"
  12611. ],
  12612. "tags": [
  12613. "仓单贸易v2"
  12614. ],
  12615. "summary": "查询合约交收可点选仓单",
  12616. "parameters": [
  12617. {
  12618. "type": "integer",
  12619. "description": "资金账号",
  12620. "name": "accountid",
  12621. "in": "query",
  12622. "required": true
  12623. },
  12624. {
  12625. "type": "integer",
  12626. "description": "商品id",
  12627. "name": "goodsid",
  12628. "in": "query",
  12629. "required": true
  12630. }
  12631. ],
  12632. "responses": {
  12633. "200": {
  12634. "description": "OK",
  12635. "schema": {
  12636. "type": "array",
  12637. "items": {
  12638. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12639. }
  12640. }
  12641. },
  12642. "500": {
  12643. "description": "Internal Server Error",
  12644. "schema": {
  12645. "$ref": "#/definitions/app.Response"
  12646. }
  12647. }
  12648. }
  12649. }
  12650. },
  12651. "/WrTrade2/QueryWrDeliveryDetail": {
  12652. "get": {
  12653. "security": [
  12654. {
  12655. "ApiKeyAuth": []
  12656. }
  12657. ],
  12658. "produces": [
  12659. "application/json"
  12660. ],
  12661. "tags": [
  12662. "仓单贸易v2"
  12663. ],
  12664. "summary": "查询交收",
  12665. "parameters": [
  12666. {
  12667. "type": "integer",
  12668. "description": "用户id",
  12669. "name": "userid",
  12670. "in": "query",
  12671. "required": true
  12672. },
  12673. {
  12674. "type": "integer",
  12675. "description": "资金账号id",
  12676. "name": "accountid",
  12677. "in": "query"
  12678. }
  12679. ],
  12680. "responses": {
  12681. "200": {
  12682. "description": "OK",
  12683. "schema": {
  12684. "type": "array",
  12685. "items": {
  12686. "$ref": "#/definitions/models.WrDeliveryDetail"
  12687. }
  12688. }
  12689. },
  12690. "500": {
  12691. "description": "Internal Server Error",
  12692. "schema": {
  12693. "$ref": "#/definitions/app.Response"
  12694. }
  12695. }
  12696. }
  12697. }
  12698. },
  12699. "/WrTrade2/QueryWrFactorTypeInfo": {
  12700. "get": {
  12701. "security": [
  12702. {
  12703. "ApiKeyAuth": []
  12704. }
  12705. ],
  12706. "produces": [
  12707. "application/json"
  12708. ],
  12709. "tags": [
  12710. "仓单贸易v2"
  12711. ],
  12712. "summary": "查询仓单要素详细信息",
  12713. "parameters": [
  12714. {
  12715. "type": "integer",
  12716. "description": "仓单要素id",
  12717. "name": "wrfactortypeid",
  12718. "in": "query",
  12719. "required": true
  12720. }
  12721. ],
  12722. "responses": {
  12723. "200": {
  12724. "description": "OK",
  12725. "schema": {
  12726. "type": "array",
  12727. "items": {
  12728. "$ref": "#/definitions/models.WrFactorTypeInfo"
  12729. }
  12730. }
  12731. },
  12732. "500": {
  12733. "description": "Internal Server Error",
  12734. "schema": {
  12735. "$ref": "#/definitions/app.Response"
  12736. }
  12737. }
  12738. }
  12739. }
  12740. },
  12741. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  12742. "get": {
  12743. "security": [
  12744. {
  12745. "ApiKeyAuth": []
  12746. }
  12747. ],
  12748. "produces": [
  12749. "application/json"
  12750. ],
  12751. "tags": [
  12752. "仓单贸易v2"
  12753. ],
  12754. "summary": "查询仓单要素详细信息列表项",
  12755. "parameters": [
  12756. {
  12757. "type": "integer",
  12758. "description": "仓单要素id",
  12759. "name": "wrfactortypeid",
  12760. "in": "query",
  12761. "required": true
  12762. }
  12763. ],
  12764. "responses": {
  12765. "200": {
  12766. "description": "OK",
  12767. "schema": {
  12768. "type": "array",
  12769. "items": {
  12770. "$ref": "#/definitions/models.WrTypeItem"
  12771. }
  12772. }
  12773. },
  12774. "500": {
  12775. "description": "Internal Server Error",
  12776. "schema": {
  12777. "$ref": "#/definitions/app.Response"
  12778. }
  12779. }
  12780. }
  12781. }
  12782. },
  12783. "/WrTrade2/QueryWrFinanceBuyApply": {
  12784. "get": {
  12785. "security": [
  12786. {
  12787. "ApiKeyAuth": []
  12788. }
  12789. ],
  12790. "description": "页面 融资信息+ / 申请单",
  12791. "produces": [
  12792. "application/json"
  12793. ],
  12794. "tags": [
  12795. "仓单贸易v2"
  12796. ],
  12797. "summary": "查询融资购买申请",
  12798. "parameters": [
  12799. {
  12800. "type": "integer",
  12801. "description": "用户id",
  12802. "name": "userid",
  12803. "in": "query",
  12804. "required": true
  12805. }
  12806. ],
  12807. "responses": {
  12808. "200": {
  12809. "description": "OK",
  12810. "schema": {
  12811. "type": "array",
  12812. "items": {
  12813. "$ref": "#/definitions/models.WrFinanceBuyApply"
  12814. }
  12815. }
  12816. },
  12817. "500": {
  12818. "description": "Internal Server Error",
  12819. "schema": {
  12820. "$ref": "#/definitions/app.Response"
  12821. }
  12822. }
  12823. }
  12824. }
  12825. },
  12826. "/WrTrade2/QueryWrFriendApply": {
  12827. "get": {
  12828. "security": [
  12829. {
  12830. "ApiKeyAuth": []
  12831. }
  12832. ],
  12833. "produces": [
  12834. "application/json"
  12835. ],
  12836. "tags": [
  12837. "仓单贸易v2"
  12838. ],
  12839. "summary": "查询好友申请记录",
  12840. "parameters": [
  12841. {
  12842. "type": "integer",
  12843. "description": "用户id",
  12844. "name": "userid",
  12845. "in": "query",
  12846. "required": true
  12847. }
  12848. ],
  12849. "responses": {
  12850. "200": {
  12851. "description": "OK",
  12852. "schema": {
  12853. "type": "array",
  12854. "items": {
  12855. "$ref": "#/definitions/models.WrFriendApply"
  12856. }
  12857. }
  12858. },
  12859. "500": {
  12860. "description": "Internal Server Error",
  12861. "schema": {
  12862. "$ref": "#/definitions/app.Response"
  12863. }
  12864. }
  12865. }
  12866. }
  12867. },
  12868. "/WrTrade2/QueryWrGoodsInfo": {
  12869. "get": {
  12870. "security": [
  12871. {
  12872. "ApiKeyAuth": []
  12873. }
  12874. ],
  12875. "produces": [
  12876. "application/json"
  12877. ],
  12878. "tags": [
  12879. "仓单贸易v2"
  12880. ],
  12881. "summary": "查询仓单商品信息",
  12882. "parameters": [
  12883. {
  12884. "type": "integer",
  12885. "description": "仓单贸易市场id",
  12886. "name": "marketid",
  12887. "in": "query"
  12888. },
  12889. {
  12890. "type": "integer",
  12891. "description": "0:仓单预售 1:仓单贸易",
  12892. "name": "haswr",
  12893. "in": "query",
  12894. "required": true
  12895. },
  12896. {
  12897. "type": "integer",
  12898. "description": "仓单要素id",
  12899. "name": "wrfactortypeid",
  12900. "in": "query",
  12901. "required": true
  12902. },
  12903. {
  12904. "type": "integer",
  12905. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  12906. "name": "tmplateid",
  12907. "in": "query"
  12908. }
  12909. ],
  12910. "responses": {
  12911. "200": {
  12912. "description": "OK",
  12913. "schema": {
  12914. "type": "array",
  12915. "items": {
  12916. "$ref": "#/definitions/models.WrGoodsInfo"
  12917. }
  12918. }
  12919. },
  12920. "500": {
  12921. "description": "Internal Server Error",
  12922. "schema": {
  12923. "$ref": "#/definitions/app.Response"
  12924. }
  12925. }
  12926. }
  12927. }
  12928. },
  12929. "/WrTrade2/QueryWrMarketTradeConfig": {
  12930. "get": {
  12931. "security": [
  12932. {
  12933. "ApiKeyAuth": []
  12934. }
  12935. ],
  12936. "produces": [
  12937. "application/json"
  12938. ],
  12939. "tags": [
  12940. "仓单贸易v2"
  12941. ],
  12942. "summary": "查询市场交易参数配置",
  12943. "parameters": [
  12944. {
  12945. "type": "integer",
  12946. "description": "市场id",
  12947. "name": "marketid",
  12948. "in": "query"
  12949. }
  12950. ],
  12951. "responses": {
  12952. "200": {
  12953. "description": "OK",
  12954. "schema": {
  12955. "type": "array",
  12956. "items": {
  12957. "$ref": "#/definitions/models.WrMarketTradeConfig"
  12958. }
  12959. }
  12960. },
  12961. "500": {
  12962. "description": "Internal Server Error",
  12963. "schema": {
  12964. "$ref": "#/definitions/app.Response"
  12965. }
  12966. }
  12967. }
  12968. }
  12969. },
  12970. "/WrTrade2/QueryWrOrderDetail": {
  12971. "get": {
  12972. "security": [
  12973. {
  12974. "ApiKeyAuth": []
  12975. }
  12976. ],
  12977. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  12978. "produces": [
  12979. "application/json"
  12980. ],
  12981. "tags": [
  12982. "仓单贸易v2"
  12983. ],
  12984. "summary": "查询仓单委托单(挂单)",
  12985. "parameters": [
  12986. {
  12987. "type": "integer",
  12988. "description": "页码",
  12989. "name": "page",
  12990. "in": "query"
  12991. },
  12992. {
  12993. "type": "integer",
  12994. "description": "每页条数",
  12995. "name": "pagesize",
  12996. "in": "query"
  12997. },
  12998. {
  12999. "type": "integer",
  13000. "description": "用户id",
  13001. "name": "userid",
  13002. "in": "query",
  13003. "required": true
  13004. },
  13005. {
  13006. "type": "integer",
  13007. "description": "仓单贸易市场id",
  13008. "name": "marketid",
  13009. "in": "query"
  13010. },
  13011. {
  13012. "type": "integer",
  13013. "description": "0:仓单预售 1:仓单贸易",
  13014. "name": "haswr",
  13015. "in": "query",
  13016. "required": true
  13017. }
  13018. ],
  13019. "responses": {
  13020. "200": {
  13021. "description": "OK",
  13022. "schema": {
  13023. "type": "array",
  13024. "items": {
  13025. "$ref": "#/definitions/models.WrOrderDetail"
  13026. }
  13027. }
  13028. },
  13029. "500": {
  13030. "description": "Internal Server Error",
  13031. "schema": {
  13032. "$ref": "#/definitions/app.Response"
  13033. }
  13034. }
  13035. }
  13036. }
  13037. },
  13038. "/WrTrade2/QueryWrOutInApply": {
  13039. "get": {
  13040. "security": [
  13041. {
  13042. "ApiKeyAuth": []
  13043. }
  13044. ],
  13045. "produces": [
  13046. "application/json"
  13047. ],
  13048. "tags": [
  13049. "仓单贸易v2"
  13050. ],
  13051. "summary": "查询提货申请",
  13052. "parameters": [
  13053. {
  13054. "type": "integer",
  13055. "description": "用户id",
  13056. "name": "userid",
  13057. "in": "query",
  13058. "required": true
  13059. }
  13060. ],
  13061. "responses": {
  13062. "200": {
  13063. "description": "OK",
  13064. "schema": {
  13065. "type": "array",
  13066. "items": {
  13067. "$ref": "#/definitions/models.WrOutInApply"
  13068. }
  13069. }
  13070. },
  13071. "500": {
  13072. "description": "Internal Server Error",
  13073. "schema": {
  13074. "$ref": "#/definitions/app.Response"
  13075. }
  13076. }
  13077. }
  13078. }
  13079. },
  13080. "/WrTrade2/QueryWrPerformancePlanStep": {
  13081. "get": {
  13082. "security": [
  13083. {
  13084. "ApiKeyAuth": []
  13085. }
  13086. ],
  13087. "produces": [
  13088. "application/json"
  13089. ],
  13090. "tags": [
  13091. "仓单贸易v2"
  13092. ],
  13093. "summary": "查询履约信息详情",
  13094. "parameters": [
  13095. {
  13096. "type": "integer",
  13097. "description": "履约计划id(performanceplanid)",
  13098. "name": "planid",
  13099. "in": "query",
  13100. "required": true
  13101. },
  13102. {
  13103. "type": "integer",
  13104. "description": "当前步骤id",
  13105. "name": "curstepid",
  13106. "in": "query"
  13107. }
  13108. ],
  13109. "responses": {
  13110. "200": {
  13111. "description": "OK",
  13112. "schema": {
  13113. "type": "array",
  13114. "items": {
  13115. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13116. }
  13117. }
  13118. },
  13119. "500": {
  13120. "description": "Internal Server Error",
  13121. "schema": {
  13122. "$ref": "#/definitions/app.Response"
  13123. }
  13124. }
  13125. }
  13126. }
  13127. },
  13128. "/WrTrade2/QueryWrPerformanceStepType": {
  13129. "get": {
  13130. "security": [
  13131. {
  13132. "ApiKeyAuth": []
  13133. }
  13134. ],
  13135. "produces": [
  13136. "application/json"
  13137. ],
  13138. "tags": [
  13139. "仓单贸易v2"
  13140. ],
  13141. "summary": "查询履约步骤枚举",
  13142. "responses": {
  13143. "200": {
  13144. "description": "OK",
  13145. "schema": {
  13146. "type": "array",
  13147. "items": {
  13148. "$ref": "#/definitions/models.WrPerformanceStepType"
  13149. }
  13150. }
  13151. },
  13152. "500": {
  13153. "description": "Internal Server Error",
  13154. "schema": {
  13155. "$ref": "#/definitions/app.Response"
  13156. }
  13157. }
  13158. }
  13159. }
  13160. },
  13161. "/WrTrade2/QueryWrPosition": {
  13162. "get": {
  13163. "security": [
  13164. {
  13165. "ApiKeyAuth": []
  13166. }
  13167. ],
  13168. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13169. "produces": [
  13170. "application/json"
  13171. ],
  13172. "tags": [
  13173. "仓单贸易v2"
  13174. ],
  13175. "summary": "查询现货(预售)仓单持仓",
  13176. "parameters": [
  13177. {
  13178. "type": "integer",
  13179. "description": "用户id",
  13180. "name": "userid",
  13181. "in": "query",
  13182. "required": true
  13183. },
  13184. {
  13185. "type": "integer",
  13186. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13187. "name": "querytype",
  13188. "in": "query",
  13189. "required": true
  13190. },
  13191. {
  13192. "type": "integer",
  13193. "description": "0:仓单预售 1:仓单贸易",
  13194. "name": "haswr",
  13195. "in": "query",
  13196. "required": true
  13197. },
  13198. {
  13199. "type": "string",
  13200. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13201. "name": "dgitemname",
  13202. "in": "query"
  13203. },
  13204. {
  13205. "type": "integer",
  13206. "description": "仓库id(筛选条件)",
  13207. "name": "warehouseid",
  13208. "in": "query"
  13209. },
  13210. {
  13211. "type": "integer",
  13212. "description": "品种id",
  13213. "name": "deliverygoodsid",
  13214. "in": "query"
  13215. },
  13216. {
  13217. "type": "integer",
  13218. "description": "品类id",
  13219. "name": "wrstandardid",
  13220. "in": "query"
  13221. }
  13222. ],
  13223. "responses": {
  13224. "200": {
  13225. "description": "OK",
  13226. "schema": {
  13227. "type": "array",
  13228. "items": {
  13229. "$ref": "#/definitions/models.WrPosition"
  13230. }
  13231. }
  13232. },
  13233. "500": {
  13234. "description": "Internal Server Error",
  13235. "schema": {
  13236. "$ref": "#/definitions/app.Response"
  13237. }
  13238. }
  13239. }
  13240. }
  13241. },
  13242. "/WrTrade2/QueryWrScfContract": {
  13243. "get": {
  13244. "security": [
  13245. {
  13246. "ApiKeyAuth": []
  13247. }
  13248. ],
  13249. "produces": [
  13250. "application/json"
  13251. ],
  13252. "tags": [
  13253. "仓单贸易v2"
  13254. ],
  13255. "summary": "查询仓单贸易融资合同",
  13256. "parameters": [
  13257. {
  13258. "type": "integer",
  13259. "description": "用户id",
  13260. "name": "userid",
  13261. "in": "query",
  13262. "required": true
  13263. },
  13264. {
  13265. "type": "integer",
  13266. "description": "融资合同id",
  13267. "name": "scfcontractid",
  13268. "in": "query"
  13269. }
  13270. ],
  13271. "responses": {
  13272. "200": {
  13273. "description": "OK",
  13274. "schema": {
  13275. "type": "array",
  13276. "items": {
  13277. "$ref": "#/definitions/models.WrScfContract"
  13278. }
  13279. }
  13280. },
  13281. "500": {
  13282. "description": "Internal Server Error",
  13283. "schema": {
  13284. "$ref": "#/definitions/app.Response"
  13285. }
  13286. }
  13287. }
  13288. }
  13289. },
  13290. "/WrTrade2/QueryWrScfContractInterest": {
  13291. "get": {
  13292. "security": [
  13293. {
  13294. "ApiKeyAuth": []
  13295. }
  13296. ],
  13297. "produces": [
  13298. "application/json"
  13299. ],
  13300. "tags": [
  13301. "仓单贸易v2"
  13302. ],
  13303. "summary": "查询融资合同费用明细",
  13304. "parameters": [
  13305. {
  13306. "type": "integer",
  13307. "description": "融资合同id",
  13308. "name": "scfcontractid",
  13309. "in": "query"
  13310. }
  13311. ],
  13312. "responses": {
  13313. "200": {
  13314. "description": "OK",
  13315. "schema": {
  13316. "type": "array",
  13317. "items": {
  13318. "$ref": "#/definitions/models.WrScfContractInterest"
  13319. }
  13320. }
  13321. },
  13322. "500": {
  13323. "description": "Internal Server Error",
  13324. "schema": {
  13325. "$ref": "#/definitions/app.Response"
  13326. }
  13327. }
  13328. }
  13329. }
  13330. },
  13331. "/WrTrade2/QueryWrSpecialMatchOrder": {
  13332. "get": {
  13333. "security": [
  13334. {
  13335. "ApiKeyAuth": []
  13336. }
  13337. ],
  13338. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  13339. "produces": [
  13340. "application/json"
  13341. ],
  13342. "tags": [
  13343. "仓单贸易v2"
  13344. ],
  13345. "summary": "查询指定成交",
  13346. "parameters": [
  13347. {
  13348. "type": "integer",
  13349. "description": "页码",
  13350. "name": "page",
  13351. "in": "query"
  13352. },
  13353. {
  13354. "type": "integer",
  13355. "description": "每页条数",
  13356. "name": "pagesize",
  13357. "in": "query"
  13358. },
  13359. {
  13360. "type": "integer",
  13361. "description": "用户id",
  13362. "name": "userid",
  13363. "in": "query",
  13364. "required": true
  13365. },
  13366. {
  13367. "type": "integer",
  13368. "description": "仓单贸易市场id",
  13369. "name": "marketid",
  13370. "in": "query"
  13371. },
  13372. {
  13373. "type": "integer",
  13374. "description": "0:仓单预售 1:仓单贸易",
  13375. "name": "haswr",
  13376. "in": "query",
  13377. "required": true
  13378. }
  13379. ],
  13380. "responses": {
  13381. "200": {
  13382. "description": "OK",
  13383. "schema": {
  13384. "type": "array",
  13385. "items": {
  13386. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  13387. }
  13388. }
  13389. },
  13390. "500": {
  13391. "description": "Internal Server Error",
  13392. "schema": {
  13393. "$ref": "#/definitions/app.Response"
  13394. }
  13395. }
  13396. }
  13397. }
  13398. },
  13399. "/WrTrade2/QueryWrStandardFactoryItem": {
  13400. "get": {
  13401. "security": [
  13402. {
  13403. "ApiKeyAuth": []
  13404. }
  13405. ],
  13406. "produces": [
  13407. "application/json"
  13408. ],
  13409. "tags": [
  13410. "仓单贸易v2"
  13411. ],
  13412. "summary": "查询品类要素定义项",
  13413. "parameters": [
  13414. {
  13415. "type": "integer",
  13416. "description": "品类id",
  13417. "name": "wrstandardid",
  13418. "in": "query",
  13419. "required": true
  13420. }
  13421. ],
  13422. "responses": {
  13423. "200": {
  13424. "description": "OK",
  13425. "schema": {
  13426. "type": "array",
  13427. "items": {
  13428. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  13429. }
  13430. }
  13431. },
  13432. "500": {
  13433. "description": "Internal Server Error",
  13434. "schema": {
  13435. "$ref": "#/definitions/app.Response"
  13436. }
  13437. }
  13438. }
  13439. }
  13440. },
  13441. "/WrTrade2/QueryWrTradeBargainApply": {
  13442. "get": {
  13443. "security": [
  13444. {
  13445. "ApiKeyAuth": []
  13446. }
  13447. ],
  13448. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  13449. "produces": [
  13450. "application/json"
  13451. ],
  13452. "tags": [
  13453. "仓单贸易v2"
  13454. ],
  13455. "summary": "查询议价单",
  13456. "parameters": [
  13457. {
  13458. "type": "integer",
  13459. "description": "议价人id(摘牌方)",
  13460. "name": "userid",
  13461. "in": "query"
  13462. },
  13463. {
  13464. "type": "integer",
  13465. "description": "挂牌方id(查对方议价时,填写此项)",
  13466. "name": "matchuserid",
  13467. "in": "query"
  13468. },
  13469. {
  13470. "type": "integer",
  13471. "description": "关联委托单id",
  13472. "name": "wrtradeorderid",
  13473. "in": "query"
  13474. },
  13475. {
  13476. "type": "integer",
  13477. "description": "0:仓单预售 1:仓单贸易",
  13478. "name": "haswr",
  13479. "in": "query",
  13480. "required": true
  13481. }
  13482. ],
  13483. "responses": {
  13484. "200": {
  13485. "description": "OK",
  13486. "schema": {
  13487. "type": "array",
  13488. "items": {
  13489. "$ref": "#/definitions/models.WRTradeBargainApply"
  13490. }
  13491. }
  13492. },
  13493. "500": {
  13494. "description": "Internal Server Error",
  13495. "schema": {
  13496. "$ref": "#/definitions/app.Response"
  13497. }
  13498. }
  13499. }
  13500. }
  13501. },
  13502. "/WrTrade2/QueryWrTradeDetail": {
  13503. "get": {
  13504. "security": [
  13505. {
  13506. "ApiKeyAuth": []
  13507. }
  13508. ],
  13509. "produces": [
  13510. "application/json"
  13511. ],
  13512. "tags": [
  13513. "仓单贸易v2"
  13514. ],
  13515. "summary": "查询仓单成交明细",
  13516. "parameters": [
  13517. {
  13518. "type": "integer",
  13519. "description": "页码",
  13520. "name": "page",
  13521. "in": "query"
  13522. },
  13523. {
  13524. "type": "integer",
  13525. "description": "每页条数",
  13526. "name": "pagesize",
  13527. "in": "query"
  13528. },
  13529. {
  13530. "type": "integer",
  13531. "description": "用户id",
  13532. "name": "userid",
  13533. "in": "query",
  13534. "required": true
  13535. },
  13536. {
  13537. "type": "integer",
  13538. "description": "仓单贸易市场id",
  13539. "name": "marketid",
  13540. "in": "query"
  13541. },
  13542. {
  13543. "type": "integer",
  13544. "description": "0:仓单预售 1:仓单贸易",
  13545. "name": "haswr",
  13546. "in": "query",
  13547. "required": true
  13548. }
  13549. ],
  13550. "responses": {
  13551. "200": {
  13552. "description": "OK",
  13553. "schema": {
  13554. "type": "array",
  13555. "items": {
  13556. "$ref": "#/definitions/models.WrTradeDetail"
  13557. }
  13558. }
  13559. },
  13560. "500": {
  13561. "description": "Internal Server Error",
  13562. "schema": {
  13563. "$ref": "#/definitions/app.Response"
  13564. }
  13565. }
  13566. }
  13567. }
  13568. },
  13569. "/WrTrade2/QueryWrTradeOrderDetail": {
  13570. "get": {
  13571. "security": [
  13572. {
  13573. "ApiKeyAuth": []
  13574. }
  13575. ],
  13576. "produces": [
  13577. "application/json"
  13578. ],
  13579. "tags": [
  13580. "仓单贸易v2"
  13581. ],
  13582. "summary": "查询合约交易买卖大厅",
  13583. "parameters": [
  13584. {
  13585. "type": "integer",
  13586. "description": "页码",
  13587. "name": "page",
  13588. "in": "query"
  13589. },
  13590. {
  13591. "type": "integer",
  13592. "description": "每页条数",
  13593. "name": "pagesize",
  13594. "in": "query"
  13595. },
  13596. {
  13597. "type": "integer",
  13598. "description": "商品id",
  13599. "name": "goodsid",
  13600. "in": "query",
  13601. "required": true
  13602. },
  13603. {
  13604. "type": "integer",
  13605. "description": "买卖方向 0-买 1-卖",
  13606. "name": "buyorsell",
  13607. "in": "query",
  13608. "required": true
  13609. }
  13610. ],
  13611. "responses": {
  13612. "200": {
  13613. "description": "OK",
  13614. "schema": {
  13615. "type": "array",
  13616. "items": {
  13617. "$ref": "#/definitions/models.WrTradeOrderDetail"
  13618. }
  13619. }
  13620. },
  13621. "500": {
  13622. "description": "Internal Server Error",
  13623. "schema": {
  13624. "$ref": "#/definitions/app.Response"
  13625. }
  13626. }
  13627. }
  13628. }
  13629. },
  13630. "/WrTrade2/QueryWrUserFriend": {
  13631. "get": {
  13632. "security": [
  13633. {
  13634. "ApiKeyAuth": []
  13635. }
  13636. ],
  13637. "produces": [
  13638. "application/json"
  13639. ],
  13640. "tags": [
  13641. "仓单贸易v2"
  13642. ],
  13643. "summary": "查询我的朋友",
  13644. "parameters": [
  13645. {
  13646. "type": "integer",
  13647. "description": "用户id",
  13648. "name": "userid",
  13649. "in": "query",
  13650. "required": true
  13651. },
  13652. {
  13653. "type": "integer",
  13654. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  13655. "name": "newuserid",
  13656. "in": "query"
  13657. }
  13658. ],
  13659. "responses": {
  13660. "200": {
  13661. "description": "OK",
  13662. "schema": {
  13663. "type": "array",
  13664. "items": {
  13665. "$ref": "#/definitions/models.WrUserFriend"
  13666. }
  13667. }
  13668. },
  13669. "500": {
  13670. "description": "Internal Server Error",
  13671. "schema": {
  13672. "$ref": "#/definitions/app.Response"
  13673. }
  13674. }
  13675. }
  13676. }
  13677. },
  13678. "/ZJ/GetBankTip": {
  13679. "get": {
  13680. "produces": [
  13681. "application/json"
  13682. ],
  13683. "tags": [
  13684. "中江"
  13685. ],
  13686. "summary": "获取中江网银端出入金提示信息",
  13687. "responses": {
  13688. "200": {
  13689. "description": "OK",
  13690. "schema": {
  13691. "type": "string"
  13692. }
  13693. },
  13694. "500": {
  13695. "description": "Internal Server Error",
  13696. "schema": {
  13697. "$ref": "#/definitions/app.Response"
  13698. }
  13699. }
  13700. }
  13701. }
  13702. },
  13703. "/ZJ/GetCusBankChannels": {
  13704. "get": {
  13705. "produces": [
  13706. "application/json"
  13707. ],
  13708. "tags": [
  13709. "中江"
  13710. ],
  13711. "summary": "获取中江出入金渠道显示列表",
  13712. "responses": {
  13713. "200": {
  13714. "description": "OK",
  13715. "schema": {
  13716. "type": "array",
  13717. "items": {
  13718. "type": "string"
  13719. }
  13720. }
  13721. },
  13722. "500": {
  13723. "description": "Internal Server Error",
  13724. "schema": {
  13725. "$ref": "#/definitions/app.Response"
  13726. }
  13727. }
  13728. }
  13729. }
  13730. }
  13731. },
  13732. "definitions": {
  13733. "app.Response": {
  13734. "type": "object",
  13735. "properties": {
  13736. "code": {
  13737. "type": "integer"
  13738. },
  13739. "data": {
  13740. "type": "object"
  13741. },
  13742. "msg": {
  13743. "type": "string"
  13744. },
  13745. "page": {
  13746. "description": "页码",
  13747. "type": "integer"
  13748. },
  13749. "pagesize": {
  13750. "description": "每页条数",
  13751. "type": "integer"
  13752. },
  13753. "total": {
  13754. "description": "总条数",
  13755. "type": "integer"
  13756. }
  13757. }
  13758. },
  13759. "common.ClientMenu": {
  13760. "type": "object",
  13761. "properties": {
  13762. "children": {
  13763. "description": "子菜单列表",
  13764. "type": "array",
  13765. "items": {
  13766. "$ref": "#/definitions/common.ClientMenu"
  13767. }
  13768. },
  13769. "code": {
  13770. "description": "ID",
  13771. "type": "string"
  13772. },
  13773. "isshow": {
  13774. "description": "是否显示",
  13775. "type": "boolean"
  13776. },
  13777. "remark": {
  13778. "description": "备注",
  13779. "type": "string"
  13780. },
  13781. "rulekey": {
  13782. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  13783. "type": "string"
  13784. },
  13785. "sort": {
  13786. "description": "排序",
  13787. "type": "integer"
  13788. },
  13789. "title": {
  13790. "description": "标题",
  13791. "type": "string"
  13792. },
  13793. "type": {
  13794. "description": "类型,1:菜单 2:按钮",
  13795. "type": "integer"
  13796. },
  13797. "url": {
  13798. "description": "URL",
  13799. "type": "string"
  13800. }
  13801. }
  13802. },
  13803. "common.QueryImageConfigsRsp": {
  13804. "type": "object",
  13805. "required": [
  13806. "configid"
  13807. ],
  13808. "properties": {
  13809. "areauserid": {
  13810. "description": "所属机构ID",
  13811. "type": "integer"
  13812. },
  13813. "configid": {
  13814. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  13815. "type": "integer"
  13816. },
  13817. "createdate": {
  13818. "description": "创建时间",
  13819. "type": "string"
  13820. },
  13821. "creatorid": {
  13822. "description": "创建人",
  13823. "type": "integer"
  13824. },
  13825. "imagepath": {
  13826. "description": "图片",
  13827. "type": "string"
  13828. },
  13829. "imagetype": {
  13830. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  13831. "type": "integer"
  13832. },
  13833. "isshow": {
  13834. "description": "是否展示 - 0:不展示 1:展示",
  13835. "type": "integer"
  13836. },
  13837. "marketid": {
  13838. "description": "市场ID",
  13839. "type": "integer"
  13840. },
  13841. "modifierid": {
  13842. "description": "操作人",
  13843. "type": "integer"
  13844. },
  13845. "sort": {
  13846. "description": "排序",
  13847. "type": "integer"
  13848. },
  13849. "title": {
  13850. "description": "标题",
  13851. "type": "string"
  13852. },
  13853. "trademode": {
  13854. "description": "交易模式",
  13855. "type": "integer"
  13856. },
  13857. "updatedate": {
  13858. "description": "修改时间",
  13859. "type": "string"
  13860. },
  13861. "url": {
  13862. "description": "链接(地址或商品ID)",
  13863. "type": "string"
  13864. },
  13865. "urltype": {
  13866. "description": "链接类型 - 1:直接地址 2:商品ID",
  13867. "type": "integer"
  13868. }
  13869. }
  13870. },
  13871. "common.QueryNoticeRsp": {
  13872. "type": "object",
  13873. "required": [
  13874. "autoid"
  13875. ],
  13876. "properties": {
  13877. "auditoruserid": {
  13878. "description": "审核人",
  13879. "type": "integer"
  13880. },
  13881. "auditremark": {
  13882. "description": "审核备注",
  13883. "type": "string"
  13884. },
  13885. "audittime": {
  13886. "description": "审核日期",
  13887. "type": "string"
  13888. },
  13889. "autoid": {
  13890. "description": "自增ID",
  13891. "type": "integer"
  13892. },
  13893. "content": {
  13894. "description": "内容",
  13895. "type": "string"
  13896. },
  13897. "createtime": {
  13898. "description": "创建时间",
  13899. "type": "string"
  13900. },
  13901. "creatorid": {
  13902. "description": "建仓人",
  13903. "type": "integer"
  13904. },
  13905. "endtime": {
  13906. "description": "结束时间",
  13907. "type": "string"
  13908. },
  13909. "istop": {
  13910. "description": "是否置顶 - 0:不置顶 1:置顶",
  13911. "type": "integer"
  13912. },
  13913. "msgiconurl": {
  13914. "description": "消息图标Url",
  13915. "type": "string"
  13916. },
  13917. "msgtype": {
  13918. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  13919. "type": "integer"
  13920. },
  13921. "publisher": {
  13922. "description": "消息发布者",
  13923. "type": "string"
  13924. },
  13925. "readed": {
  13926. "description": "是否已读",
  13927. "type": "boolean"
  13928. },
  13929. "scheduletime": {
  13930. "description": "计划发送时间",
  13931. "type": "string"
  13932. },
  13933. "sendtype": {
  13934. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  13935. "type": "integer"
  13936. },
  13937. "sentstatus": {
  13938. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  13939. "type": "integer"
  13940. },
  13941. "title": {
  13942. "description": "标题",
  13943. "type": "string"
  13944. },
  13945. "userid": {
  13946. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  13947. "type": "integer"
  13948. }
  13949. }
  13950. },
  13951. "common.QueryProvincesAndCitiesRsp": {
  13952. "type": "object",
  13953. "properties": {
  13954. "cities": {
  13955. "description": "市",
  13956. "type": "array",
  13957. "items": {
  13958. "$ref": "#/definitions/models.Division"
  13959. }
  13960. },
  13961. "province": {
  13962. "description": "省",
  13963. "$ref": "#/definitions/models.Division"
  13964. }
  13965. }
  13966. },
  13967. "common.QueryTableDefineRsp": {
  13968. "type": "object",
  13969. "required": [
  13970. "tablekey"
  13971. ],
  13972. "properties": {
  13973. "columns": {
  13974. "description": "列头信息数组",
  13975. "type": "array",
  13976. "items": {
  13977. "$ref": "#/definitions/models.Tablecolumnconfig"
  13978. }
  13979. },
  13980. "remark": {
  13981. "description": "Remark",
  13982. "type": "string"
  13983. },
  13984. "tabelmenu": {
  13985. "description": "列表菜单",
  13986. "type": "string"
  13987. },
  13988. "tablekey": {
  13989. "description": "列表Key",
  13990. "type": "string"
  13991. },
  13992. "tablename": {
  13993. "description": "列表名称",
  13994. "type": "string"
  13995. },
  13996. "tabletype": {
  13997. "description": "列表类型 - 1:管理端 2:终端",
  13998. "type": "integer"
  13999. }
  14000. }
  14001. },
  14002. "common.QueryTraderMenuRsp": {
  14003. "type": "object",
  14004. "properties": {
  14005. "OperationMenu": {
  14006. "description": "功能菜单",
  14007. "type": "array",
  14008. "items": {
  14009. "$ref": "#/definitions/models.OperationPrimaryMenu"
  14010. }
  14011. },
  14012. "QuoteMenu": {
  14013. "description": "报价牌分类菜单",
  14014. "type": "array",
  14015. "items": {
  14016. "$ref": "#/definitions/models.QuotePrimaryMenu"
  14017. }
  14018. }
  14019. }
  14020. },
  14021. "cptrade.Cptradepositioncancel": {
  14022. "type": "object",
  14023. "required": [
  14024. "cancelid"
  14025. ],
  14026. "properties": {
  14027. "accountid": {
  14028. "description": "申请人账户ID",
  14029. "type": "integer"
  14030. },
  14031. "applystatus": {
  14032. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14033. "type": "integer"
  14034. },
  14035. "applytime": {
  14036. "description": "申请时间",
  14037. "type": "string"
  14038. },
  14039. "cancelid": {
  14040. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  14041. "type": "integer"
  14042. },
  14043. "cancelqty": {
  14044. "description": "注销数量",
  14045. "type": "integer"
  14046. },
  14047. "createtime": {
  14048. "description": "创建时间",
  14049. "type": "string"
  14050. },
  14051. "creatorid": {
  14052. "description": "创建人ID",
  14053. "type": "integer"
  14054. },
  14055. "creatorname": {
  14056. "description": "创建人",
  14057. "type": "string"
  14058. },
  14059. "goodscode": {
  14060. "description": "订单商品代码",
  14061. "type": "string"
  14062. },
  14063. "goodsid": {
  14064. "description": "商品ID",
  14065. "type": "integer"
  14066. },
  14067. "goodsname": {
  14068. "description": "订单商品名称",
  14069. "type": "string"
  14070. },
  14071. "goodunit": {
  14072. "description": "报价单位",
  14073. "type": "string"
  14074. },
  14075. "handlestatus": {
  14076. "description": "处理状态",
  14077. "type": "integer"
  14078. },
  14079. "marketid": {
  14080. "description": "市场ID",
  14081. "type": "integer"
  14082. },
  14083. "marketname": {
  14084. "description": "市场名称",
  14085. "type": "string"
  14086. },
  14087. "tradedate": {
  14088. "description": "交易日(yyyyMMdd)",
  14089. "type": "string"
  14090. },
  14091. "userid": {
  14092. "description": "申请人ID",
  14093. "type": "integer"
  14094. }
  14095. }
  14096. },
  14097. "cptrade.Cptradepresaleapply": {
  14098. "type": "object",
  14099. "required": [
  14100. "applyid"
  14101. ],
  14102. "properties": {
  14103. "accountid": {
  14104. "description": "申请人账户ID",
  14105. "type": "integer"
  14106. },
  14107. "applyid": {
  14108. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  14109. "type": "integer"
  14110. },
  14111. "applyremark": {
  14112. "description": "申请备注",
  14113. "type": "string"
  14114. },
  14115. "applystatus": {
  14116. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14117. "type": "integer"
  14118. },
  14119. "applytime": {
  14120. "description": "申请时间",
  14121. "type": "string"
  14122. },
  14123. "attachmenturl": {
  14124. "description": "附件地址",
  14125. "type": "string"
  14126. },
  14127. "endtime": {
  14128. "description": "预售结束时间",
  14129. "type": "string"
  14130. },
  14131. "goodscode": {
  14132. "description": "商品代码",
  14133. "type": "string"
  14134. },
  14135. "goodsid": {
  14136. "description": "商品ID",
  14137. "type": "integer"
  14138. },
  14139. "goodsname": {
  14140. "description": "商品名称",
  14141. "type": "string"
  14142. },
  14143. "goodunit": {
  14144. "description": "报价单位",
  14145. "type": "string"
  14146. },
  14147. "handlestatus": {
  14148. "description": "处理状态",
  14149. "type": "integer"
  14150. },
  14151. "marketid": {
  14152. "description": "预售市场ID",
  14153. "type": "integer"
  14154. },
  14155. "marketname": {
  14156. "description": "预售市场名称",
  14157. "type": "string"
  14158. },
  14159. "presaleqty": {
  14160. "description": "预售数量",
  14161. "type": "integer"
  14162. },
  14163. "relatedgoodscode": {
  14164. "description": "关联交易合约代码",
  14165. "type": "string"
  14166. },
  14167. "relatedgoodsid": {
  14168. "description": "关联交易合约ID",
  14169. "type": "integer"
  14170. },
  14171. "relatedgoodsname": {
  14172. "description": "关联交易合约名称",
  14173. "type": "string"
  14174. },
  14175. "starttime": {
  14176. "description": "预售开始时间",
  14177. "type": "string"
  14178. },
  14179. "tradedate": {
  14180. "description": "交易日(yyyyMMdd)",
  14181. "type": "string"
  14182. },
  14183. "trademode": {
  14184. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  14185. "type": "integer"
  14186. },
  14187. "userid": {
  14188. "description": "申请人ID",
  14189. "type": "integer"
  14190. }
  14191. }
  14192. },
  14193. "cptrade.Cptradeusergoodsdata": {
  14194. "type": "object",
  14195. "required": [
  14196. "accountid",
  14197. "goodsid"
  14198. ],
  14199. "properties": {
  14200. "EnabledQty": {
  14201. "description": "可用量",
  14202. "type": "integer"
  14203. },
  14204. "GoodsCode": {
  14205. "description": "订单商品代码",
  14206. "type": "string"
  14207. },
  14208. "GoodsName": {
  14209. "description": "订单商品名称",
  14210. "type": "string"
  14211. },
  14212. "WRStandardCode": {
  14213. "description": "仓单标准代码",
  14214. "type": "string"
  14215. },
  14216. "WRStandardName": {
  14217. "description": "仓单标准名称",
  14218. "type": "string"
  14219. },
  14220. "accountid": {
  14221. "description": "账户ID",
  14222. "type": "integer"
  14223. },
  14224. "cancelqty": {
  14225. "description": "注销量",
  14226. "type": "integer"
  14227. },
  14228. "curpresaleqty": {
  14229. "description": "当前预售量",
  14230. "type": "integer"
  14231. },
  14232. "deliveryqty": {
  14233. "description": "交割量",
  14234. "type": "integer"
  14235. },
  14236. "freezeamount": {
  14237. "description": "冻结金额",
  14238. "type": "number"
  14239. },
  14240. "goodsid": {
  14241. "description": "商品ID",
  14242. "type": "integer"
  14243. },
  14244. "goodunit": {
  14245. "description": "报价单位",
  14246. "type": "string"
  14247. },
  14248. "hasspotfreeze": {
  14249. "description": "是否有现货冻结 - 0:否 1:有",
  14250. "type": "integer"
  14251. },
  14252. "inqty": {
  14253. "description": "转入量(总数量)",
  14254. "type": "integer"
  14255. },
  14256. "marketid": {
  14257. "description": "市场ID",
  14258. "type": "integer"
  14259. },
  14260. "presaledamount": {
  14261. "description": "已预售总金额",
  14262. "type": "integer"
  14263. },
  14264. "presaledqty": {
  14265. "description": "已预售量",
  14266. "type": "integer"
  14267. },
  14268. "userid": {
  14269. "description": "用户ID",
  14270. "type": "integer"
  14271. },
  14272. "wrstandardid": {
  14273. "description": "仓单标准ID",
  14274. "type": "integer"
  14275. }
  14276. }
  14277. },
  14278. "cptrade.QueryCPTradeMyBidRsp": {
  14279. "type": "object",
  14280. "required": [
  14281. "accountid",
  14282. "goodsid",
  14283. "marketid",
  14284. "orderid",
  14285. "orderqty",
  14286. "ordertime",
  14287. "tradeprice",
  14288. "tradeqty"
  14289. ],
  14290. "properties": {
  14291. "accountid": {
  14292. "description": "账户ID[报价币种]",
  14293. "type": "integer"
  14294. },
  14295. "goodsid": {
  14296. "description": "商品ID",
  14297. "type": "integer"
  14298. },
  14299. "goodunit": {
  14300. "description": "报价单位",
  14301. "type": "string"
  14302. },
  14303. "marketid": {
  14304. "description": "市场ID",
  14305. "type": "integer"
  14306. },
  14307. "orderid": {
  14308. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14309. "type": "integer"
  14310. },
  14311. "orderprice": {
  14312. "description": "委托价格",
  14313. "type": "number"
  14314. },
  14315. "orderqty": {
  14316. "description": "委托数量",
  14317. "type": "integer"
  14318. },
  14319. "ordertime": {
  14320. "description": "委托时间",
  14321. "type": "string"
  14322. },
  14323. "ordertotalprice": {
  14324. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  14325. "type": "number"
  14326. },
  14327. "ordertotalweight": {
  14328. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  14329. "type": "integer"
  14330. },
  14331. "totaltotalprice": {
  14332. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  14333. "type": "number"
  14334. },
  14335. "tradeprice": {
  14336. "description": "成交价格",
  14337. "type": "number"
  14338. },
  14339. "tradeqty": {
  14340. "description": "成交数量",
  14341. "type": "integer"
  14342. }
  14343. }
  14344. },
  14345. "cptrade.QueryCPTradeOrderDetailRsq": {
  14346. "type": "object",
  14347. "required": [
  14348. "accountid",
  14349. "buildtype",
  14350. "buyorsell",
  14351. "goodsid",
  14352. "marketid",
  14353. "memberuserid",
  14354. "operatetype",
  14355. "orderqty",
  14356. "ordertime",
  14357. "pricemode",
  14358. "strorderid",
  14359. "tradedate",
  14360. "validtype"
  14361. ],
  14362. "properties": {
  14363. "accountid": {
  14364. "description": "账户ID[报价币种]",
  14365. "type": "integer"
  14366. },
  14367. "buildtype": {
  14368. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14369. "type": "integer"
  14370. },
  14371. "buyorsell": {
  14372. "description": "买卖 - 0:买 1:卖",
  14373. "type": "integer"
  14374. },
  14375. "cancelorderid": {
  14376. "description": "撤单单号(撤单时填写)",
  14377. "type": "integer"
  14378. },
  14379. "cancelqty": {
  14380. "description": "撤单数量",
  14381. "type": "integer"
  14382. },
  14383. "clientordertime": {
  14384. "description": "客户端委托时间",
  14385. "type": "string"
  14386. },
  14387. "clientticket": {
  14388. "description": "客户端流水号",
  14389. "type": "string"
  14390. },
  14391. "clienttype": {
  14392. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14393. "type": "integer"
  14394. },
  14395. "closeexchagechargevalue": {
  14396. "description": "平仓交易所手续费设置值",
  14397. "type": "number"
  14398. },
  14399. "closefeealgorithm": {
  14400. "description": "平仓手续费收取方式 1:比率 2:固定",
  14401. "type": "integer"
  14402. },
  14403. "closefreezecharge": {
  14404. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14405. "type": "number"
  14406. },
  14407. "closememberchargevalue": {
  14408. "description": "平仓会员手续费设置值",
  14409. "type": "number"
  14410. },
  14411. "closeqty": {
  14412. "description": "平仓数量(先建后平操作 需要记录)",
  14413. "type": "integer"
  14414. },
  14415. "closetradeqty": {
  14416. "description": "平仓成交数量(先建后平操作,需要记录)",
  14417. "type": "integer"
  14418. },
  14419. "closeunfreezecharge": {
  14420. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14421. "type": "number"
  14422. },
  14423. "delistingtype": {
  14424. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14425. "type": "integer"
  14426. },
  14427. "freezecharge": {
  14428. "description": "冻结手续费",
  14429. "type": "number"
  14430. },
  14431. "freezemargin": {
  14432. "description": "冻结保证金(冻结交易金额)",
  14433. "type": "number"
  14434. },
  14435. "gcaccountid": {
  14436. "description": "账户ID[合约币种]",
  14437. "type": "integer"
  14438. },
  14439. "goodsid": {
  14440. "description": "商品ID",
  14441. "type": "integer"
  14442. },
  14443. "isconfirmexercise": {
  14444. "description": "是否确认行权- 0:否 1:是",
  14445. "type": "integer"
  14446. },
  14447. "ispreexercise": {
  14448. "description": "是否预申报- 0:否 1:是",
  14449. "type": "integer"
  14450. },
  14451. "listingselecttype": {
  14452. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14453. "type": "integer"
  14454. },
  14455. "marginalgorithm": {
  14456. "description": "保证金收取方式 1:比率 2:固定",
  14457. "type": "integer"
  14458. },
  14459. "marginvalue": {
  14460. "description": "即市保证金设置值",
  14461. "type": "number"
  14462. },
  14463. "marketid": {
  14464. "description": "市场ID",
  14465. "type": "integer"
  14466. },
  14467. "marketmaxsub": {
  14468. "description": "市价最大偏移范围",
  14469. "type": "number"
  14470. },
  14471. "memberuserid": {
  14472. "description": "所属会员UserID",
  14473. "type": "integer"
  14474. },
  14475. "openexchagechargevalue": {
  14476. "description": "建仓交易所手续费设置值",
  14477. "type": "number"
  14478. },
  14479. "openfeealgorithm": {
  14480. "description": "建仓手续费收取方式 1:比率 2:固定",
  14481. "type": "integer"
  14482. },
  14483. "openfreezecharge": {
  14484. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14485. "type": "number"
  14486. },
  14487. "openmemberchargevalue": {
  14488. "description": "建仓会员手续费设置值",
  14489. "type": "number"
  14490. },
  14491. "openqty": {
  14492. "description": "开仓数量(先建后平操作,需要记录)",
  14493. "type": "integer"
  14494. },
  14495. "opentradeqty": {
  14496. "description": "开仓成交数量(先建后平操作,需要记录)",
  14497. "type": "integer"
  14498. },
  14499. "openunfreezecharge": {
  14500. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  14501. "type": "number"
  14502. },
  14503. "operatetype": {
  14504. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  14505. "type": "integer"
  14506. },
  14507. "operatorid": {
  14508. "description": "登录账号(LoginID)",
  14509. "type": "integer"
  14510. },
  14511. "optiontype": {
  14512. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14513. "type": "integer"
  14514. },
  14515. "orderprice": {
  14516. "description": "委托价格",
  14517. "type": "number"
  14518. },
  14519. "orderqty": {
  14520. "description": "委托数量",
  14521. "type": "integer"
  14522. },
  14523. "ordersrc": {
  14524. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  14525. "type": "integer"
  14526. },
  14527. "orderstatus": {
  14528. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14529. "type": "integer"
  14530. },
  14531. "ordertime": {
  14532. "description": "委托时间",
  14533. "type": "string"
  14534. },
  14535. "preexerciseprice": {
  14536. "description": "预申报价格",
  14537. "type": "number"
  14538. },
  14539. "premium": {
  14540. "description": "权利金",
  14541. "type": "number"
  14542. },
  14543. "preorderid": {
  14544. "description": "关联预埋单号(止盈止损单时填写)",
  14545. "type": "integer"
  14546. },
  14547. "pricemode": {
  14548. "description": "取价方式 - 1:市价 2: 限价",
  14549. "type": "integer"
  14550. },
  14551. "quoteid": {
  14552. "description": "报价单ID",
  14553. "type": "integer"
  14554. },
  14555. "relatedid": {
  14556. "description": "关联单号(交割单)",
  14557. "type": "integer"
  14558. },
  14559. "retcode": {
  14560. "description": "错误代码",
  14561. "type": "integer"
  14562. },
  14563. "sessionid": {
  14564. "description": "会话ID",
  14565. "type": "integer"
  14566. },
  14567. "strorderid": {
  14568. "description": "委托单号",
  14569. "type": "string"
  14570. },
  14571. "tradedate": {
  14572. "description": "交易日(yyyyMMdd)",
  14573. "type": "string"
  14574. },
  14575. "tradeproperty": {
  14576. "description": "交易属性",
  14577. "type": "integer"
  14578. },
  14579. "tradeqty": {
  14580. "description": "成交数量",
  14581. "type": "integer"
  14582. },
  14583. "unfreezecharge": {
  14584. "description": "解冻手续费",
  14585. "type": "number"
  14586. },
  14587. "unfreezemargin": {
  14588. "description": "解冻保证金",
  14589. "type": "number"
  14590. },
  14591. "updatetime": {
  14592. "description": "更新时间",
  14593. "type": "string"
  14594. },
  14595. "uuid": {
  14596. "description": "发起端唯一id",
  14597. "type": "string"
  14598. },
  14599. "validtime": {
  14600. "description": "有效期限",
  14601. "type": "string"
  14602. },
  14603. "validtype": {
  14604. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14605. "type": "integer"
  14606. },
  14607. "volumetype": {
  14608. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14609. "type": "integer"
  14610. }
  14611. }
  14612. },
  14613. "cptrade.QueryMyCPTradeGoodsRsp": {
  14614. "type": "object",
  14615. "required": [
  14616. "goodscode",
  14617. "goodsid",
  14618. "goodsname",
  14619. "marketid",
  14620. "relatedgoodscode",
  14621. "relatedgoodsname"
  14622. ],
  14623. "properties": {
  14624. "accountid": {
  14625. "description": "卖方账户ID",
  14626. "type": "integer"
  14627. },
  14628. "agreeunit": {
  14629. "description": "合约单位",
  14630. "type": "number"
  14631. },
  14632. "applyid": {
  14633. "description": "关联申请ID",
  14634. "type": "integer"
  14635. },
  14636. "attachmenturl": {
  14637. "description": "附件地址",
  14638. "type": "string"
  14639. },
  14640. "createtime": {
  14641. "description": "创建时间",
  14642. "type": "string"
  14643. },
  14644. "currencyid": {
  14645. "description": "报价货币ID",
  14646. "type": "integer"
  14647. },
  14648. "decimalplace": {
  14649. "description": "报价小数位",
  14650. "type": "integer"
  14651. },
  14652. "endtime": {
  14653. "description": "预售结束时间",
  14654. "type": "string"
  14655. },
  14656. "floorprice": {
  14657. "description": "底价[大宗式竞拍]",
  14658. "type": "number"
  14659. },
  14660. "goodscode": {
  14661. "description": "商品代码(预售)",
  14662. "type": "string"
  14663. },
  14664. "goodsdetail": {
  14665. "description": "详情[大宗]",
  14666. "type": "string"
  14667. },
  14668. "goodsid": {
  14669. "description": "商品ID(自增ID SEQ_GOODS)",
  14670. "type": "integer"
  14671. },
  14672. "goodsname": {
  14673. "description": "商品名称(预售)",
  14674. "type": "string"
  14675. },
  14676. "goodunit": {
  14677. "description": "报价单位",
  14678. "type": "string"
  14679. },
  14680. "goodunitid": {
  14681. "description": "报价单位ID",
  14682. "type": "integer"
  14683. },
  14684. "marketid": {
  14685. "description": "所属市场ID",
  14686. "type": "integer"
  14687. },
  14688. "marketname": {
  14689. "description": "预售市场名称",
  14690. "type": "string"
  14691. },
  14692. "presaledamount": {
  14693. "description": "已预售总金额(预售结束时更新)",
  14694. "type": "number"
  14695. },
  14696. "presaledqty": {
  14697. "description": "已预售量(预售结束时更新)",
  14698. "type": "integer"
  14699. },
  14700. "presalemode": {
  14701. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14702. "type": "integer"
  14703. },
  14704. "presaleqty": {
  14705. "description": "预售数量",
  14706. "type": "integer"
  14707. },
  14708. "refprice": {
  14709. "description": "参考价格[一口价]",
  14710. "type": "number"
  14711. },
  14712. "relatedgoodscode": {
  14713. "description": "商品代码(订单)",
  14714. "type": "string"
  14715. },
  14716. "relatedgoodsid": {
  14717. "description": "关联交易合约ID",
  14718. "type": "integer"
  14719. },
  14720. "relatedgoodsname": {
  14721. "description": "商品名称(订单)",
  14722. "type": "string"
  14723. },
  14724. "relatedmarketid": {
  14725. "description": "关联交易合约市场ID",
  14726. "type": "integer"
  14727. },
  14728. "sellstatus": {
  14729. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14730. "type": "integer"
  14731. },
  14732. "startprice": {
  14733. "description": "起拍价[大宗式竞拍]",
  14734. "type": "number"
  14735. },
  14736. "starttime": {
  14737. "description": "预售开始时间",
  14738. "type": "string"
  14739. },
  14740. "tradedate": {
  14741. "description": "交易日(yyyyMMdd)",
  14742. "type": "string"
  14743. },
  14744. "tradeprice": {
  14745. "description": "成交价[大宗]",
  14746. "type": "number"
  14747. },
  14748. "userid": {
  14749. "description": "卖方用户ID",
  14750. "type": "integer"
  14751. }
  14752. }
  14753. },
  14754. "cptrade.QueryPresaleGoodsExRsp": {
  14755. "type": "object",
  14756. "required": [
  14757. "goodsid"
  14758. ],
  14759. "properties": {
  14760. "attachmenturl": {
  14761. "description": "附件地址",
  14762. "type": "string"
  14763. },
  14764. "createtime": {
  14765. "description": "创建时间",
  14766. "type": "string"
  14767. },
  14768. "endtime": {
  14769. "description": "预售结束时间",
  14770. "type": "string"
  14771. },
  14772. "floorprice": {
  14773. "description": "底价[大宗式竞拍]",
  14774. "type": "number"
  14775. },
  14776. "goodsdetail": {
  14777. "description": "详情[大宗]",
  14778. "type": "string"
  14779. },
  14780. "goodsid": {
  14781. "description": "商品ID(预售)",
  14782. "type": "integer"
  14783. },
  14784. "goodunit": {
  14785. "description": "报价单位",
  14786. "type": "string"
  14787. },
  14788. "marketid": {
  14789. "description": "预售市场ID - 根据预售模式选择市场",
  14790. "type": "integer"
  14791. },
  14792. "presaledamount": {
  14793. "description": "已预售总金额(预售结束时更新)",
  14794. "type": "number"
  14795. },
  14796. "presaledqty": {
  14797. "description": "已预售量(预售结束时更新)",
  14798. "type": "integer"
  14799. },
  14800. "presalemode": {
  14801. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14802. "type": "integer"
  14803. },
  14804. "presaleqty": {
  14805. "description": "预售数量",
  14806. "type": "integer"
  14807. },
  14808. "refprice": {
  14809. "description": "参考价格[一口价]",
  14810. "type": "number"
  14811. },
  14812. "relatedgoodsid": {
  14813. "description": "关联交易合约ID",
  14814. "type": "integer"
  14815. },
  14816. "relatedmarketid": {
  14817. "description": "关联交易合约市场ID",
  14818. "type": "integer"
  14819. },
  14820. "sellstatus": {
  14821. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14822. "type": "integer"
  14823. },
  14824. "startprice": {
  14825. "description": "起拍价[大宗式竞拍]",
  14826. "type": "number"
  14827. },
  14828. "starttime": {
  14829. "description": "预售开始时间",
  14830. "type": "string"
  14831. },
  14832. "tradedate": {
  14833. "description": "交易日(yyyyMMdd)",
  14834. "type": "string"
  14835. },
  14836. "tradeprice": {
  14837. "description": "成交价[大宗]",
  14838. "type": "number"
  14839. }
  14840. }
  14841. },
  14842. "delivery.QueryDeliveryRelationRsp": {
  14843. "type": "object",
  14844. "required": [
  14845. "begindate",
  14846. "enddate",
  14847. "goodsid",
  14848. "mindeliveryqty",
  14849. "xdeliveryratio"
  14850. ],
  14851. "properties": {
  14852. "begindate": {
  14853. "description": "起始日期(yyyyMMdd)",
  14854. "type": "string"
  14855. },
  14856. "buytemplateid": {
  14857. "description": "买履约计划模板ID",
  14858. "type": "integer"
  14859. },
  14860. "deliverygoodscode": {
  14861. "description": "品种代码",
  14862. "type": "string"
  14863. },
  14864. "deliverygoodsid": {
  14865. "description": "交割商品",
  14866. "type": "integer"
  14867. },
  14868. "deliverygoodsname": {
  14869. "description": "品种名称",
  14870. "type": "string"
  14871. },
  14872. "deliverymode": {
  14873. "description": "交割方式 - 1:点选式 2:申报式",
  14874. "type": "integer"
  14875. },
  14876. "deliverypricerule": {
  14877. "description": "交割价规则- 1:行情价 2:建仓价",
  14878. "type": "integer"
  14879. },
  14880. "deliverytype": {
  14881. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  14882. "type": "integer"
  14883. },
  14884. "enddate": {
  14885. "description": "结束日期(yyyyMMdd)",
  14886. "type": "string"
  14887. },
  14888. "enumdicname": {
  14889. "description": "品类单位名称",
  14890. "type": "string"
  14891. },
  14892. "goodscode": {
  14893. "description": "商品代码",
  14894. "type": "string"
  14895. },
  14896. "goodsid": {
  14897. "description": "交易合约ID",
  14898. "type": "integer"
  14899. },
  14900. "goodsname": {
  14901. "description": "商品名称",
  14902. "type": "string"
  14903. },
  14904. "marketid": {
  14905. "description": "市场ID",
  14906. "type": "integer"
  14907. },
  14908. "mindeliveryqty": {
  14909. "description": "最小交割系数(K)",
  14910. "type": "integer"
  14911. },
  14912. "p2deliveryprice": {
  14913. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  14914. "type": "number"
  14915. },
  14916. "p2deliveryratio": {
  14917. "description": "P2合约系数(p)",
  14918. "type": "integer"
  14919. },
  14920. "p2goodsid": {
  14921. "description": "P2合约ID",
  14922. "type": "integer"
  14923. },
  14924. "p2pricemode": {
  14925. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  14926. "type": "integer"
  14927. },
  14928. "pdeliveryprice": {
  14929. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  14930. "type": "number"
  14931. },
  14932. "pdeliveryratio": {
  14933. "description": "P合约系数(n)",
  14934. "type": "integer"
  14935. },
  14936. "pgoodscode": {
  14937. "description": "p合约代码",
  14938. "type": "string"
  14939. },
  14940. "pgoodsid": {
  14941. "description": "P合约ID",
  14942. "type": "integer"
  14943. },
  14944. "ppricemode": {
  14945. "description": "P合约价格方式 - 1:商品价 2:固定值",
  14946. "type": "integer"
  14947. },
  14948. "rratio": {
  14949. "description": "兑换系数(R)",
  14950. "type": "integer"
  14951. },
  14952. "rratio1": {
  14953. "description": "兑换系数(交易合约)(R1)",
  14954. "type": "integer"
  14955. },
  14956. "rratio2": {
  14957. "description": "兑换系数(仓单标准)(R2)",
  14958. "type": "integer"
  14959. },
  14960. "selltemplateid": {
  14961. "description": "卖履约计划模板ID",
  14962. "type": "integer"
  14963. },
  14964. "wrstandardid": {
  14965. "description": "仓单标准ID",
  14966. "type": "integer"
  14967. },
  14968. "xdeliveryratio": {
  14969. "description": "交易合约系数(m)",
  14970. "type": "integer"
  14971. }
  14972. }
  14973. },
  14974. "ermcp.ExposureDetailRsp": {
  14975. "type": "object",
  14976. "properties": {
  14977. "areauserid": {
  14978. "description": "机构ID",
  14979. "type": "integer"
  14980. },
  14981. "changeQty": {
  14982. "description": "套保变动量",
  14983. "type": "number"
  14984. },
  14985. "contracttype": {
  14986. "description": "现货合同类型 - 1:采购 -1:销售",
  14987. "type": "integer"
  14988. },
  14989. "convertfactor": {
  14990. "description": "标仓系数",
  14991. "type": "number"
  14992. },
  14993. "convertratio": {
  14994. "description": "套保系数",
  14995. "type": "number"
  14996. },
  14997. "createtime": {
  14998. "description": "时间",
  14999. "type": "string"
  15000. },
  15001. "enumdicname": {
  15002. "description": "现货商品单位名称",
  15003. "type": "string"
  15004. },
  15005. "logtype": {
  15006. "description": "类型 - 1:套保计划 2:现货合同",
  15007. "type": "integer"
  15008. },
  15009. "middlegoodsId": {
  15010. "description": "套保商品id",
  15011. "type": "integer"
  15012. },
  15013. "middlegoodscode": {
  15014. "description": "套保商品代码",
  15015. "type": "string"
  15016. },
  15017. "middlegoodsname": {
  15018. "description": "套保商品名称",
  15019. "type": "string"
  15020. },
  15021. "qty": {
  15022. "description": "数量",
  15023. "type": "number"
  15024. },
  15025. "relateNo": {
  15026. "description": "现货合同/套保计划编号",
  15027. "type": "string"
  15028. },
  15029. "wrstandardcode": {
  15030. "description": "现货商品代码",
  15031. "type": "string"
  15032. },
  15033. "wrstandardid": {
  15034. "description": "现货商品ID",
  15035. "type": "integer"
  15036. },
  15037. "wrstandardname": {
  15038. "description": "现货商品名称",
  15039. "type": "string"
  15040. }
  15041. }
  15042. },
  15043. "ermcp.ExposureHedgePosDetailRsp": {
  15044. "type": "object",
  15045. "properties": {
  15046. "buyorsell": {
  15047. "description": "买卖方向 0-买 1-卖",
  15048. "type": "integer"
  15049. },
  15050. "channelbuildtype": {
  15051. "description": "开平方向 1-建仓 2-平仓",
  15052. "type": "integer"
  15053. },
  15054. "goodscode": {
  15055. "description": "商品代码",
  15056. "type": "string"
  15057. },
  15058. "goodsname": {
  15059. "description": "商品名称",
  15060. "type": "string"
  15061. },
  15062. "hedgegoodsid": {
  15063. "description": "商品id",
  15064. "type": "integer"
  15065. },
  15066. "tradeqty": {
  15067. "description": "数量(成交数量)",
  15068. "type": "integer"
  15069. },
  15070. "tradetime": {
  15071. "description": "时间(成交时间)",
  15072. "type": "string"
  15073. }
  15074. }
  15075. },
  15076. "ermcp.ExposureHedgePositionRsp": {
  15077. "type": "object",
  15078. "properties": {
  15079. "accountid": {
  15080. "description": "资金账号[外部母账户]",
  15081. "type": "integer"
  15082. },
  15083. "curbuyposition": {
  15084. "description": "期末买头寸",
  15085. "type": "integer"
  15086. },
  15087. "cursellposition": {
  15088. "description": "期末卖头寸",
  15089. "type": "integer"
  15090. },
  15091. "curtdbuyposition": {
  15092. "description": "期末今日买头寸",
  15093. "type": "integer"
  15094. },
  15095. "curtdsellposition": {
  15096. "description": "期末今日卖头寸",
  15097. "type": "integer"
  15098. },
  15099. "curydbuyposition": {
  15100. "description": "期末上日买头寸",
  15101. "type": "integer"
  15102. },
  15103. "curydsellposition": {
  15104. "description": "期末上日卖头寸",
  15105. "type": "integer"
  15106. },
  15107. "decreaseqty": {
  15108. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15109. "type": "integer"
  15110. },
  15111. "fretdbuyposition": {
  15112. "description": "冻结今日买头寸",
  15113. "type": "integer"
  15114. },
  15115. "fretdsellposition": {
  15116. "description": "冻结今日卖头寸",
  15117. "type": "integer"
  15118. },
  15119. "freydbuyposition": {
  15120. "description": "冻结上日买头寸",
  15121. "type": "integer"
  15122. },
  15123. "freydsellposition": {
  15124. "description": "冻结上日卖头寸",
  15125. "type": "integer"
  15126. },
  15127. "goodscode": {
  15128. "description": "商品代码",
  15129. "type": "string"
  15130. },
  15131. "goodsid": {
  15132. "description": "商品id",
  15133. "type": "integer"
  15134. },
  15135. "goodsname": {
  15136. "description": "商品名称",
  15137. "type": "string"
  15138. },
  15139. "hedgeaccountcode": {
  15140. "description": "对冲账号",
  15141. "type": "string"
  15142. },
  15143. "hedgegoodsid": {
  15144. "description": "对冲合约ID",
  15145. "type": "integer"
  15146. },
  15147. "increaseqty": {
  15148. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15149. "type": "integer"
  15150. },
  15151. "marketid": {
  15152. "description": "市场ID",
  15153. "type": "integer"
  15154. },
  15155. "relateduserid": {
  15156. "description": "关联用户id",
  15157. "type": "integer"
  15158. },
  15159. "totalcurqty": {
  15160. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15161. "type": "integer"
  15162. },
  15163. "totalydqty": {
  15164. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15165. "type": "integer"
  15166. },
  15167. "tradedate": {
  15168. "description": "交易日(yyyyMMdd)",
  15169. "type": "string"
  15170. },
  15171. "ydbuyposition": {
  15172. "description": "期初买头寸",
  15173. "type": "integer"
  15174. },
  15175. "ydsellposition": {
  15176. "description": "期初卖头寸",
  15177. "type": "integer"
  15178. }
  15179. }
  15180. },
  15181. "ermcp.ExposureSpotDetailRsp": {
  15182. "type": "object",
  15183. "properties": {
  15184. "contracttype": {
  15185. "description": "合同类型 1-采购 -1-销售",
  15186. "type": "integer"
  15187. },
  15188. "createtime": {
  15189. "description": "创建时间",
  15190. "type": "string"
  15191. },
  15192. "enumdicname": {
  15193. "description": "现货商品单位名称",
  15194. "type": "string"
  15195. },
  15196. "logtype": {
  15197. "description": "记录类型 1-套保 2-现货合同",
  15198. "type": "integer"
  15199. },
  15200. "qty": {
  15201. "description": "数量",
  15202. "type": "number"
  15203. },
  15204. "recordname": {
  15205. "description": "类型名称",
  15206. "type": "string"
  15207. },
  15208. "relatedid": {
  15209. "description": "套保计划ID/现货合同ID",
  15210. "type": "string"
  15211. },
  15212. "relatedno": {
  15213. "description": "编号",
  15214. "type": "string"
  15215. },
  15216. "strtime": {
  15217. "description": "时间",
  15218. "type": "string"
  15219. },
  15220. "wrstandardcode": {
  15221. "description": "现货商品代码",
  15222. "type": "string"
  15223. },
  15224. "wrstandardname": {
  15225. "description": "现货商品名称",
  15226. "type": "string"
  15227. }
  15228. }
  15229. },
  15230. "ermcp.ExposureSpotRsp": {
  15231. "type": "object",
  15232. "properties": {
  15233. "areauserid": {
  15234. "description": "所属机构",
  15235. "type": "integer"
  15236. },
  15237. "decreaseqty": {
  15238. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15239. "type": "number"
  15240. },
  15241. "increaseqty": {
  15242. "description": "增加数量=销售计划数量+采购已定价数量",
  15243. "type": "number"
  15244. },
  15245. "oritoalspotqty": {
  15246. "description": "昨日数量",
  15247. "type": "number"
  15248. },
  15249. "totalspotqty": {
  15250. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15251. "type": "number"
  15252. },
  15253. "updatetime": {
  15254. "description": "更新时间",
  15255. "type": "string"
  15256. },
  15257. "wrstandardcode": {
  15258. "description": "现货品种代码",
  15259. "type": "string"
  15260. },
  15261. "wrstandardid": {
  15262. "description": "现货商品ID",
  15263. "type": "integer"
  15264. },
  15265. "wrstandardname": {
  15266. "description": "现货品种",
  15267. "type": "string"
  15268. }
  15269. }
  15270. },
  15271. "ermcp.HisExposureRsp": {
  15272. "type": "object",
  15273. "properties": {
  15274. "data": {
  15275. "description": "历史敞口",
  15276. "type": "array",
  15277. "items": {
  15278. "$ref": "#/definitions/models.ErmcpHisExposure"
  15279. }
  15280. },
  15281. "enumdicname": {
  15282. "description": "单位名称",
  15283. "type": "string"
  15284. },
  15285. "middlegoodscode": {
  15286. "description": "套保品种代码",
  15287. "type": "string"
  15288. },
  15289. "middlegoodsid": {
  15290. "description": "套保品种ID",
  15291. "type": "integer"
  15292. },
  15293. "middlegoodsname": {
  15294. "description": "套保品种名称",
  15295. "type": "string"
  15296. }
  15297. }
  15298. },
  15299. "ermcp.PendingAuditCntRsp": {
  15300. "type": "object",
  15301. "properties": {
  15302. "areastockqty": {
  15303. "description": "待审核数量: 库存申请",
  15304. "type": "integer"
  15305. },
  15306. "businessdjqty": {
  15307. "description": "待审核数量: 点价",
  15308. "type": "integer"
  15309. },
  15310. "businessfpqty": {
  15311. "description": "待审核数量: 发票",
  15312. "type": "integer"
  15313. },
  15314. "businessjsqty": {
  15315. "description": "待审核数量: 结算",
  15316. "type": "integer"
  15317. },
  15318. "businesskxqty": {
  15319. "description": "待审核数量: 款项",
  15320. "type": "integer"
  15321. },
  15322. "hedgeplanqty": {
  15323. "description": "待审核数量: 套保计划",
  15324. "type": "integer"
  15325. },
  15326. "spotcontractqty": {
  15327. "description": "待审核数量: 现货合同",
  15328. "type": "integer"
  15329. },
  15330. "userqty": {
  15331. "description": "待审核数量: 用户",
  15332. "type": "integer"
  15333. }
  15334. }
  15335. },
  15336. "ermcp.QryAvalidGPRsp": {
  15337. "type": "object",
  15338. "properties": {
  15339. "goodsgroupid": {
  15340. "description": "期货品种id",
  15341. "type": "integer"
  15342. },
  15343. "goodsgroupname": {
  15344. "description": "期货品种名称",
  15345. "type": "string"
  15346. },
  15347. "goodunitid": {
  15348. "description": "品种单位id",
  15349. "type": "integer"
  15350. },
  15351. "goodunitname": {
  15352. "description": "品种单位名称",
  15353. "type": "string"
  15354. },
  15355. "outergroupcode": {
  15356. "description": "期货品种代码",
  15357. "type": "string"
  15358. }
  15359. }
  15360. },
  15361. "ermcp.QryBusinessDjRsp": {
  15362. "type": "object",
  15363. "properties": {
  15364. "amount": {
  15365. "description": "点价金额=(点价价格+升贴水)*点价数量",
  15366. "type": "number"
  15367. },
  15368. "applyid": {
  15369. "description": "申请人",
  15370. "type": "string"
  15371. },
  15372. "applyname": {
  15373. "description": "申请人名称",
  15374. "type": "string"
  15375. },
  15376. "applystatus": {
  15377. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15378. "type": "integer"
  15379. },
  15380. "applytime": {
  15381. "description": "申请时间",
  15382. "type": "string"
  15383. },
  15384. "attachurl": {
  15385. "description": "附件",
  15386. "type": "string"
  15387. },
  15388. "auditid": {
  15389. "description": "审核人ID",
  15390. "type": "string"
  15391. },
  15392. "auditname": {
  15393. "description": "审核人名称",
  15394. "type": "string"
  15395. },
  15396. "audittime": {
  15397. "description": "审核时间",
  15398. "type": "string"
  15399. },
  15400. "buyusername": {
  15401. "description": "采购方名称",
  15402. "type": "string"
  15403. },
  15404. "contractno": {
  15405. "description": "合同编号",
  15406. "type": "string"
  15407. },
  15408. "contractstatus": {
  15409. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15410. "type": "integer"
  15411. },
  15412. "contracttype": {
  15413. "description": "现货合同类型 - 1:采购 -1:销售",
  15414. "type": "integer"
  15415. },
  15416. "deliverygoodscode": {
  15417. "description": "现货品种代码",
  15418. "type": "string"
  15419. },
  15420. "deliverygoodsid": {
  15421. "description": "现货商品ID",
  15422. "type": "integer"
  15423. },
  15424. "deliverygoodsname": {
  15425. "description": "现货品种名称",
  15426. "type": "string"
  15427. },
  15428. "enumdicname": {
  15429. "description": "单位名称",
  15430. "type": "string"
  15431. },
  15432. "goodscode": {
  15433. "description": "点价合约",
  15434. "type": "string"
  15435. },
  15436. "goodsname": {
  15437. "description": "商品名称",
  15438. "type": "string"
  15439. },
  15440. "operateapplyid": {
  15441. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15442. "type": "string"
  15443. },
  15444. "operateapplytype": {
  15445. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15446. "type": "integer"
  15447. },
  15448. "pricedPrice": {
  15449. "description": "点价价格(非必填)",
  15450. "type": "number"
  15451. },
  15452. "pricedQty": {
  15453. "description": "点价数量(非必填)",
  15454. "type": "number"
  15455. },
  15456. "pricemove": {
  15457. "description": "升贴水",
  15458. "type": "number"
  15459. },
  15460. "pricetype": {
  15461. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15462. "type": "integer"
  15463. },
  15464. "relatedid": {
  15465. "description": "现货合同ID",
  15466. "type": "string"
  15467. },
  15468. "sellusername": {
  15469. "description": "销售方名字",
  15470. "type": "string"
  15471. },
  15472. "userid": {
  15473. "description": "用户ID",
  15474. "type": "integer"
  15475. },
  15476. "wrstandardcode": {
  15477. "description": "品类代码",
  15478. "type": "string"
  15479. },
  15480. "wrstandardid": {
  15481. "description": "品类id",
  15482. "type": "integer"
  15483. },
  15484. "wrstandardname": {
  15485. "description": "品类名称",
  15486. "type": "string"
  15487. }
  15488. }
  15489. },
  15490. "ermcp.QryBussinessFpRsp": {
  15491. "type": "object",
  15492. "properties": {
  15493. "applyid": {
  15494. "description": "申请人",
  15495. "type": "string"
  15496. },
  15497. "applyname": {
  15498. "description": "申请人名称",
  15499. "type": "string"
  15500. },
  15501. "applystatus": {
  15502. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15503. "type": "integer"
  15504. },
  15505. "applytime": {
  15506. "description": "申请时间",
  15507. "type": "string"
  15508. },
  15509. "attachurl": {
  15510. "description": "附件",
  15511. "type": "string"
  15512. },
  15513. "auditid": {
  15514. "description": "审核人ID",
  15515. "type": "string"
  15516. },
  15517. "auditname": {
  15518. "description": "审核人名称",
  15519. "type": "string"
  15520. },
  15521. "audittime": {
  15522. "description": "审核时间",
  15523. "type": "string"
  15524. },
  15525. "buyusername": {
  15526. "description": "采购方名称",
  15527. "type": "string"
  15528. },
  15529. "contractno": {
  15530. "description": "合同编号",
  15531. "type": "string"
  15532. },
  15533. "contractstatus": {
  15534. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15535. "type": "integer"
  15536. },
  15537. "contracttype": {
  15538. "description": "现货合同类型 - 1:采购 -1:销售",
  15539. "type": "integer"
  15540. },
  15541. "deliverygoodscode": {
  15542. "description": "现货品种代码",
  15543. "type": "string"
  15544. },
  15545. "deliverygoodsid": {
  15546. "description": "现货商品ID",
  15547. "type": "integer"
  15548. },
  15549. "deliverygoodsname": {
  15550. "description": "现货品种名称",
  15551. "type": "string"
  15552. },
  15553. "enumdicname": {
  15554. "description": "单位名称",
  15555. "type": "string"
  15556. },
  15557. "goodscode": {
  15558. "description": "点价合约",
  15559. "type": "string"
  15560. },
  15561. "goodsname": {
  15562. "description": "商品名称",
  15563. "type": "string"
  15564. },
  15565. "invoiceAmount": {
  15566. "description": "已开收票金额(销售为开票,采购为收票)",
  15567. "type": "number"
  15568. },
  15569. "operateapplyid": {
  15570. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15571. "type": "string"
  15572. },
  15573. "operateapplytype": {
  15574. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15575. "type": "integer"
  15576. },
  15577. "pricemove": {
  15578. "description": "升贴水",
  15579. "type": "number"
  15580. },
  15581. "pricetype": {
  15582. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15583. "type": "integer"
  15584. },
  15585. "relatedid": {
  15586. "description": "现货合同ID",
  15587. "type": "string"
  15588. },
  15589. "sellusername": {
  15590. "description": "销售方名字",
  15591. "type": "string"
  15592. },
  15593. "userid": {
  15594. "description": "用户ID",
  15595. "type": "integer"
  15596. },
  15597. "wrstandardcode": {
  15598. "description": "品类代码",
  15599. "type": "string"
  15600. },
  15601. "wrstandardid": {
  15602. "description": "品类id",
  15603. "type": "integer"
  15604. },
  15605. "wrstandardname": {
  15606. "description": "品类名称",
  15607. "type": "string"
  15608. }
  15609. }
  15610. },
  15611. "ermcp.QryBussinessJsExRsp": {
  15612. "type": "object",
  15613. "properties": {
  15614. "applyid": {
  15615. "description": "申请人",
  15616. "type": "string"
  15617. },
  15618. "applyname": {
  15619. "description": "申请人名称",
  15620. "type": "string"
  15621. },
  15622. "applystatus": {
  15623. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15624. "type": "integer"
  15625. },
  15626. "applytime": {
  15627. "description": "申请时间",
  15628. "type": "string"
  15629. },
  15630. "attachurl": {
  15631. "description": "附件",
  15632. "type": "string"
  15633. },
  15634. "auditid": {
  15635. "description": "审核人ID",
  15636. "type": "string"
  15637. },
  15638. "auditname": {
  15639. "description": "审核人名称",
  15640. "type": "string"
  15641. },
  15642. "audittime": {
  15643. "description": "审核时间",
  15644. "type": "string"
  15645. },
  15646. "buyusername": {
  15647. "description": "采购方名称",
  15648. "type": "string"
  15649. },
  15650. "contractno": {
  15651. "description": "合同编号",
  15652. "type": "string"
  15653. },
  15654. "contractstatus": {
  15655. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15656. "type": "integer"
  15657. },
  15658. "contracttype": {
  15659. "description": "现货合同类型 - 1:采购 -1:销售",
  15660. "type": "integer"
  15661. },
  15662. "deliverygoodscode": {
  15663. "description": "现货品种代码",
  15664. "type": "string"
  15665. },
  15666. "deliverygoodsid": {
  15667. "description": "现货商品ID",
  15668. "type": "integer"
  15669. },
  15670. "deliverygoodsname": {
  15671. "description": "现货品种名称",
  15672. "type": "string"
  15673. },
  15674. "enumdicname": {
  15675. "description": "单位名称",
  15676. "type": "string"
  15677. },
  15678. "goodscode": {
  15679. "description": "点价合约",
  15680. "type": "string"
  15681. },
  15682. "goodsname": {
  15683. "description": "商品名称",
  15684. "type": "string"
  15685. },
  15686. "operateapplyid": {
  15687. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15688. "type": "string"
  15689. },
  15690. "operateapplytype": {
  15691. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15692. "type": "integer"
  15693. },
  15694. "pricemove": {
  15695. "description": "升贴水",
  15696. "type": "number"
  15697. },
  15698. "pricetype": {
  15699. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15700. "type": "integer"
  15701. },
  15702. "reckontype": {
  15703. "description": "结算类型",
  15704. "type": "string"
  15705. },
  15706. "reckonvalue": {
  15707. "description": "值",
  15708. "type": "number"
  15709. },
  15710. "relatedid": {
  15711. "description": "现货合同ID",
  15712. "type": "string"
  15713. },
  15714. "sellusername": {
  15715. "description": "销售方名字",
  15716. "type": "string"
  15717. },
  15718. "userid": {
  15719. "description": "用户ID",
  15720. "type": "integer"
  15721. },
  15722. "wrstandardcode": {
  15723. "description": "品类代码",
  15724. "type": "string"
  15725. },
  15726. "wrstandardid": {
  15727. "description": "品类id",
  15728. "type": "integer"
  15729. },
  15730. "wrstandardname": {
  15731. "description": "品类名称",
  15732. "type": "string"
  15733. }
  15734. }
  15735. },
  15736. "ermcp.QryBussinessJsRsp": {
  15737. "type": "object",
  15738. "properties": {
  15739. "addmargin": {
  15740. "description": "追加保证金(非必填)",
  15741. "type": "number"
  15742. },
  15743. "applyid": {
  15744. "description": "申请人",
  15745. "type": "string"
  15746. },
  15747. "applyname": {
  15748. "description": "申请人名称",
  15749. "type": "string"
  15750. },
  15751. "applystatus": {
  15752. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15753. "type": "integer"
  15754. },
  15755. "applytime": {
  15756. "description": "申请时间",
  15757. "type": "string"
  15758. },
  15759. "attachurl": {
  15760. "description": "附件",
  15761. "type": "string"
  15762. },
  15763. "auditid": {
  15764. "description": "审核人ID",
  15765. "type": "string"
  15766. },
  15767. "auditname": {
  15768. "description": "审核人名称",
  15769. "type": "string"
  15770. },
  15771. "audittime": {
  15772. "description": "审核时间",
  15773. "type": "string"
  15774. },
  15775. "buyusername": {
  15776. "description": "采购方名称",
  15777. "type": "string"
  15778. },
  15779. "contractno": {
  15780. "description": "合同编号",
  15781. "type": "string"
  15782. },
  15783. "contractstatus": {
  15784. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15785. "type": "integer"
  15786. },
  15787. "contracttype": {
  15788. "description": "现货合同类型 - 1:采购 -1:销售",
  15789. "type": "integer"
  15790. },
  15791. "decmargin": {
  15792. "description": "减少保证金(非必填)",
  15793. "type": "number"
  15794. },
  15795. "deliverygoodscode": {
  15796. "description": "现货品种代码",
  15797. "type": "string"
  15798. },
  15799. "deliverygoodsid": {
  15800. "description": "现货商品ID",
  15801. "type": "integer"
  15802. },
  15803. "deliverygoodsname": {
  15804. "description": "现货品种名称",
  15805. "type": "string"
  15806. },
  15807. "enumdicname": {
  15808. "description": "单位名称",
  15809. "type": "string"
  15810. },
  15811. "goodscode": {
  15812. "description": "点价合约",
  15813. "type": "string"
  15814. },
  15815. "goodsname": {
  15816. "description": "商品名称",
  15817. "type": "string"
  15818. },
  15819. "operateapplyid": {
  15820. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15821. "type": "string"
  15822. },
  15823. "operateapplytype": {
  15824. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15825. "type": "integer"
  15826. },
  15827. "pricemove": {
  15828. "description": "升贴水",
  15829. "type": "number"
  15830. },
  15831. "pricetype": {
  15832. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15833. "type": "integer"
  15834. },
  15835. "reckonadjustamount": {
  15836. "description": "结算调整金额(非必填)",
  15837. "type": "number"
  15838. },
  15839. "reckonosamount": {
  15840. "description": "结算溢短金额(非必填)",
  15841. "type": "number"
  15842. },
  15843. "reckonotheramount": {
  15844. "description": "结算其他费用(非必填)",
  15845. "type": "number"
  15846. },
  15847. "reckonrealqty": {
  15848. "description": "结算实际数量(非必填)",
  15849. "type": "number"
  15850. },
  15851. "relatedid": {
  15852. "description": "现货合同ID",
  15853. "type": "string"
  15854. },
  15855. "sellusername": {
  15856. "description": "销售方名字",
  15857. "type": "string"
  15858. },
  15859. "userid": {
  15860. "description": "用户ID",
  15861. "type": "integer"
  15862. },
  15863. "wrstandardcode": {
  15864. "description": "品类代码",
  15865. "type": "string"
  15866. },
  15867. "wrstandardid": {
  15868. "description": "品类id",
  15869. "type": "integer"
  15870. },
  15871. "wrstandardname": {
  15872. "description": "品类名称",
  15873. "type": "string"
  15874. }
  15875. }
  15876. },
  15877. "ermcp.QryBussinessKxRsp": {
  15878. "type": "object",
  15879. "properties": {
  15880. "applyid": {
  15881. "description": "申请人",
  15882. "type": "string"
  15883. },
  15884. "applyname": {
  15885. "description": "申请人名称",
  15886. "type": "string"
  15887. },
  15888. "applystatus": {
  15889. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15890. "type": "integer"
  15891. },
  15892. "applytime": {
  15893. "description": "申请时间",
  15894. "type": "string"
  15895. },
  15896. "attachurl": {
  15897. "description": "附件",
  15898. "type": "string"
  15899. },
  15900. "auditid": {
  15901. "description": "审核人ID",
  15902. "type": "string"
  15903. },
  15904. "auditname": {
  15905. "description": "审核人名称",
  15906. "type": "string"
  15907. },
  15908. "audittime": {
  15909. "description": "审核时间",
  15910. "type": "string"
  15911. },
  15912. "buyusername": {
  15913. "description": "采购方名称",
  15914. "type": "string"
  15915. },
  15916. "contractno": {
  15917. "description": "合同编号",
  15918. "type": "string"
  15919. },
  15920. "contractstatus": {
  15921. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15922. "type": "integer"
  15923. },
  15924. "contracttype": {
  15925. "description": "现货合同类型 - 1:采购 -1:销售",
  15926. "type": "integer"
  15927. },
  15928. "deductamount": {
  15929. "description": "退款(非必填)",
  15930. "type": "number"
  15931. },
  15932. "deliverygoodscode": {
  15933. "description": "现货品种代码",
  15934. "type": "string"
  15935. },
  15936. "deliverygoodsid": {
  15937. "description": "现货商品ID",
  15938. "type": "integer"
  15939. },
  15940. "deliverygoodsname": {
  15941. "description": "现货品种名称",
  15942. "type": "string"
  15943. },
  15944. "enumdicname": {
  15945. "description": "单位名称",
  15946. "type": "string"
  15947. },
  15948. "goodscode": {
  15949. "description": "点价合约",
  15950. "type": "string"
  15951. },
  15952. "goodsname": {
  15953. "description": "商品名称",
  15954. "type": "string"
  15955. },
  15956. "kxtype": {
  15957. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  15958. "type": "integer"
  15959. },
  15960. "operateapplyid": {
  15961. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15962. "type": "string"
  15963. },
  15964. "operateapplytype": {
  15965. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15966. "type": "integer"
  15967. },
  15968. "payamount": {
  15969. "description": "收付款(非必填)",
  15970. "type": "number"
  15971. },
  15972. "pricemove": {
  15973. "description": "升贴水",
  15974. "type": "number"
  15975. },
  15976. "pricetype": {
  15977. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15978. "type": "integer"
  15979. },
  15980. "relatedid": {
  15981. "description": "现货合同ID",
  15982. "type": "string"
  15983. },
  15984. "sellusername": {
  15985. "description": "销售方名字",
  15986. "type": "string"
  15987. },
  15988. "userid": {
  15989. "description": "用户ID",
  15990. "type": "integer"
  15991. },
  15992. "wrstandardcode": {
  15993. "description": "品类代码",
  15994. "type": "string"
  15995. },
  15996. "wrstandardid": {
  15997. "description": "品类id",
  15998. "type": "integer"
  15999. },
  16000. "wrstandardname": {
  16001. "description": "品类名称",
  16002. "type": "string"
  16003. }
  16004. }
  16005. },
  16006. "ermcp.QryGGCovertCfgRsp": {
  16007. "type": "object",
  16008. "properties": {
  16009. "convertratio": {
  16010. "description": "折算系数",
  16011. "type": "number"
  16012. },
  16013. "destgoodsgroupid": {
  16014. "description": "目标品种ID",
  16015. "type": "integer"
  16016. },
  16017. "dstcode": {
  16018. "description": "目录品种代码",
  16019. "type": "string"
  16020. },
  16021. "dstexchangecode": {
  16022. "description": "目标期货交易所",
  16023. "type": "string"
  16024. },
  16025. "dstname": {
  16026. "description": "目标品种名称",
  16027. "type": "string"
  16028. },
  16029. "dstunitid": {
  16030. "description": "目标品种单位ID",
  16031. "type": "integer"
  16032. },
  16033. "dstunitidname": {
  16034. "description": "目标品种单位名称",
  16035. "type": "string"
  16036. },
  16037. "modifytime": {
  16038. "description": "修改时间",
  16039. "type": "string"
  16040. },
  16041. "srccode": {
  16042. "description": "源品种代码",
  16043. "type": "string"
  16044. },
  16045. "srcexchangecode": {
  16046. "description": "源期货交易所",
  16047. "type": "string"
  16048. },
  16049. "srcgoodsgroupid": {
  16050. "description": "源品种ID",
  16051. "type": "integer"
  16052. },
  16053. "srcname": {
  16054. "description": "源品种名称",
  16055. "type": "string"
  16056. },
  16057. "srcunitid": {
  16058. "description": "源品种单位ID",
  16059. "type": "integer"
  16060. },
  16061. "srcunitidname": {
  16062. "description": "源品种单位名称",
  16063. "type": "string"
  16064. }
  16065. }
  16066. },
  16067. "ermcp.QryMGChangeLogRsp": {
  16068. "type": "object",
  16069. "properties": {
  16070. "aftervalue": {
  16071. "description": "变更后",
  16072. "type": "number"
  16073. },
  16074. "applyid": {
  16075. "description": "操作人",
  16076. "type": "integer"
  16077. },
  16078. "applyname": {
  16079. "description": "操作人名称",
  16080. "type": "string"
  16081. },
  16082. "applysrc": {
  16083. "description": "操作来源 - 1:管理端 2:终端",
  16084. "type": "integer"
  16085. },
  16086. "beforevalue": {
  16087. "description": "变更前",
  16088. "type": "number"
  16089. },
  16090. "changelogtype": {
  16091. "description": "变更流水类型 - 1:套保比率变更",
  16092. "type": "integer"
  16093. },
  16094. "handlestatus": {
  16095. "description": "处理状态",
  16096. "type": "integer"
  16097. },
  16098. "logdatetime": {
  16099. "description": "流水日期",
  16100. "type": "string"
  16101. },
  16102. "logid": {
  16103. "description": "流水ID",
  16104. "type": "integer"
  16105. },
  16106. "logremark": {
  16107. "description": "流水备注",
  16108. "type": "string"
  16109. },
  16110. "middlegoodsid": {
  16111. "description": "套保品种ID",
  16112. "type": "integer"
  16113. },
  16114. "tradedate": {
  16115. "description": "交易日(yyyyMMdd)",
  16116. "type": "string"
  16117. },
  16118. "updatetime": {
  16119. "description": "更新时间",
  16120. "type": "string"
  16121. }
  16122. }
  16123. },
  16124. "ermcp.QryMiddleGoodsDetailRsp": {
  16125. "type": "object",
  16126. "properties": {
  16127. "cvList": {
  16128. "description": "期货品种折算列表",
  16129. "type": "array",
  16130. "items": {
  16131. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16132. }
  16133. },
  16134. "mg": {
  16135. "description": "套保品种基本信息",
  16136. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16137. },
  16138. "wrcList": {
  16139. "description": "现货品种列表(现货商品折算配置)",
  16140. "type": "array",
  16141. "items": {
  16142. "$ref": "#/definitions/models.WRSConverTDetail"
  16143. }
  16144. }
  16145. }
  16146. },
  16147. "ermcp.QryMiddleGoodsRsp": {
  16148. "type": "object",
  16149. "properties": {
  16150. "areauserid": {
  16151. "description": "机构用户ID",
  16152. "type": "integer"
  16153. },
  16154. "createtime": {
  16155. "description": "修改时间",
  16156. "type": "string"
  16157. },
  16158. "enumdicname": {
  16159. "description": "单位名称",
  16160. "type": "string"
  16161. },
  16162. "evaluateratio": {
  16163. "description": "估价系数",
  16164. "type": "number"
  16165. },
  16166. "goodsgroupid": {
  16167. "description": "关联期货品种ID",
  16168. "type": "integer"
  16169. },
  16170. "goodsunitid": {
  16171. "description": "单位ID",
  16172. "type": "integer"
  16173. },
  16174. "isvalid": {
  16175. "description": "状态 0-无效(停用) 1-有效(正常)",
  16176. "type": "integer"
  16177. },
  16178. "middlegoodscode": {
  16179. "description": "套保品种代码",
  16180. "type": "string"
  16181. },
  16182. "middlegoodsid": {
  16183. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16184. "type": "integer"
  16185. },
  16186. "middlegoodsname": {
  16187. "description": "套保品种名称",
  16188. "type": "string"
  16189. },
  16190. "modifytime": {
  16191. "description": "修改时间",
  16192. "type": "string"
  16193. },
  16194. "needarbitrageratio": {
  16195. "description": "套利比例",
  16196. "type": "number"
  16197. },
  16198. "needhedgeratio": {
  16199. "description": "套保比率",
  16200. "type": "number"
  16201. },
  16202. "qtydecimalplace": {
  16203. "description": "数量小数位",
  16204. "type": "integer"
  16205. },
  16206. "relatedgoodsid": {
  16207. "description": "关联交易商品ID",
  16208. "type": "integer"
  16209. },
  16210. "relatedgoodstype": {
  16211. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16212. "type": "integer"
  16213. },
  16214. "remark": {
  16215. "description": "备注",
  16216. "type": "string"
  16217. }
  16218. }
  16219. },
  16220. "ermcp.QryOPLogRsp": {
  16221. "type": "object",
  16222. "properties": {
  16223. "aftervalue": {
  16224. "description": "变更后",
  16225. "type": "number"
  16226. },
  16227. "applyid": {
  16228. "description": "操作人ID",
  16229. "type": "string"
  16230. },
  16231. "applyname": {
  16232. "description": "操作人名称",
  16233. "type": "string"
  16234. },
  16235. "beforevalue": {
  16236. "description": "变更前",
  16237. "type": "number"
  16238. },
  16239. "biztype": {
  16240. "description": "业务类型 - 1:套保计划 2:现货合同",
  16241. "type": "integer"
  16242. },
  16243. "contracttype": {
  16244. "description": "现货合同类型 - 1:采购 -1:销售",
  16245. "type": "integer"
  16246. },
  16247. "logvalue": {
  16248. "description": "数值",
  16249. "type": "number"
  16250. },
  16251. "operatelogtype": {
  16252. "description": "操作流水类型",
  16253. "type": "integer"
  16254. },
  16255. "operatelogtypedesc": {
  16256. "description": "操作流水类型名称",
  16257. "type": "string"
  16258. },
  16259. "relatedid": {
  16260. "description": "现货合同ID\\套保计划",
  16261. "type": "string"
  16262. },
  16263. "updatetime": {
  16264. "description": "更新时间",
  16265. "type": "string"
  16266. }
  16267. }
  16268. },
  16269. "ermcp.QryUserInfoRsp": {
  16270. "type": "object",
  16271. "properties": {
  16272. "address": {
  16273. "description": "通讯地址",
  16274. "type": "string"
  16275. },
  16276. "attachment1": {
  16277. "description": "附件1",
  16278. "type": "string"
  16279. },
  16280. "audittime": {
  16281. "description": "审核时间",
  16282. "type": "string"
  16283. },
  16284. "cardbackphotourl": {
  16285. "description": "证件反面图片地址",
  16286. "type": "string"
  16287. },
  16288. "cardfrontphotourl": {
  16289. "description": "证件正面图片地址",
  16290. "type": "string"
  16291. },
  16292. "cardnum": {
  16293. "description": "证件号码",
  16294. "type": "string"
  16295. },
  16296. "cardtype": {
  16297. "description": "证件类型",
  16298. "type": "integer"
  16299. },
  16300. "cardtypename": {
  16301. "description": "证件类型名称",
  16302. "type": "string"
  16303. },
  16304. "cityid": {
  16305. "description": "市",
  16306. "type": "integer"
  16307. },
  16308. "contactname": {
  16309. "description": "联系人",
  16310. "type": "string"
  16311. },
  16312. "countryid": {
  16313. "description": "国家",
  16314. "type": "integer"
  16315. },
  16316. "createtime": {
  16317. "description": "创建时间",
  16318. "type": "string"
  16319. },
  16320. "customername": {
  16321. "description": "企业名称",
  16322. "type": "string"
  16323. },
  16324. "districtid": {
  16325. "description": "区域",
  16326. "type": "integer"
  16327. },
  16328. "email": {
  16329. "description": "邮件",
  16330. "type": "string"
  16331. },
  16332. "legalpersonname": {
  16333. "description": "法人姓名(企业)",
  16334. "type": "string"
  16335. },
  16336. "memberuserid": {
  16337. "description": "所属机构ID",
  16338. "type": "integer"
  16339. },
  16340. "mobile": {
  16341. "description": "手机号码",
  16342. "type": "string"
  16343. },
  16344. "modifytime": {
  16345. "description": "修改时间",
  16346. "type": "string"
  16347. },
  16348. "nickname": {
  16349. "description": "昵称",
  16350. "type": "string"
  16351. },
  16352. "provinceid": {
  16353. "description": "省",
  16354. "type": "integer"
  16355. },
  16356. "remark": {
  16357. "description": "备注",
  16358. "type": "string"
  16359. },
  16360. "status": {
  16361. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16362. "type": "integer"
  16363. },
  16364. "statusdesc": {
  16365. "description": "账户状态中文描述",
  16366. "type": "string"
  16367. },
  16368. "taxpayernum": {
  16369. "description": "纳税人识别号",
  16370. "type": "string"
  16371. },
  16372. "telphone": {
  16373. "description": "联系电话",
  16374. "type": "string"
  16375. },
  16376. "userid": {
  16377. "description": "用户ID",
  16378. "type": "integer"
  16379. },
  16380. "userinfotype": {
  16381. "description": "客户类型",
  16382. "type": "string"
  16383. }
  16384. }
  16385. },
  16386. "ermcp.QryWarehouseRsp": {
  16387. "type": "object",
  16388. "properties": {
  16389. "address": {
  16390. "description": "详细地址",
  16391. "type": "string"
  16392. },
  16393. "areauserid": {
  16394. "description": "所属机构",
  16395. "type": "integer"
  16396. },
  16397. "autoid": {
  16398. "description": "自增ID(仓库ID)",
  16399. "type": "integer"
  16400. },
  16401. "cityid": {
  16402. "description": "市",
  16403. "type": "integer"
  16404. },
  16405. "contactname": {
  16406. "description": "联系人",
  16407. "type": "string"
  16408. },
  16409. "contactnum": {
  16410. "description": "联系电话",
  16411. "type": "string"
  16412. },
  16413. "countryid": {
  16414. "description": "国家",
  16415. "type": "integer"
  16416. },
  16417. "createtime": {
  16418. "description": "创建时间",
  16419. "type": "string"
  16420. },
  16421. "districtid": {
  16422. "description": "区",
  16423. "type": "integer"
  16424. },
  16425. "hasvideo": {
  16426. "description": "是否有视频 - 0:无 1:有",
  16427. "type": "integer"
  16428. },
  16429. "provinceid": {
  16430. "description": "省",
  16431. "type": "integer"
  16432. },
  16433. "remark": {
  16434. "description": "审核备注",
  16435. "type": "string"
  16436. },
  16437. "videourl": {
  16438. "description": "视频地址",
  16439. "type": "string"
  16440. },
  16441. "warehousecode": {
  16442. "description": "仓库代码",
  16443. "type": "string"
  16444. },
  16445. "warehousename": {
  16446. "description": "仓库名称",
  16447. "type": "string"
  16448. },
  16449. "warehousestatus": {
  16450. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16451. "type": "integer"
  16452. },
  16453. "warehousetype": {
  16454. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16455. "type": "integer"
  16456. }
  16457. }
  16458. },
  16459. "ermcp.QueryErmcpTradePositionRsp": {
  16460. "type": "object",
  16461. "properties": {
  16462. "agreeunit": {
  16463. "description": "合约单位",
  16464. "type": "number"
  16465. },
  16466. "buyorsell": {
  16467. "description": "方向 - 0:买 1:卖",
  16468. "type": "integer"
  16469. },
  16470. "curpositionqty": {
  16471. "description": "持仓(总仓数量, 期末头寸)",
  16472. "type": "integer"
  16473. },
  16474. "curtdposition": {
  16475. "description": "今仓数量(期末今日头寸)",
  16476. "type": "integer"
  16477. },
  16478. "curtdpositionenabled": {
  16479. "description": "今仓可用",
  16480. "type": "integer"
  16481. },
  16482. "decimalplace": {
  16483. "description": "报价小数位",
  16484. "type": "integer"
  16485. },
  16486. "enableqty": {
  16487. "description": "可用(总仓可用)",
  16488. "type": "integer"
  16489. },
  16490. "exexchangename": {
  16491. "description": "外部交易所名称",
  16492. "type": "string"
  16493. },
  16494. "goodscode": {
  16495. "description": "商品代码(内部)",
  16496. "type": "string"
  16497. },
  16498. "goodsid": {
  16499. "description": "商品ID(自增ID SEQ_GOODS)",
  16500. "type": "integer"
  16501. },
  16502. "goodsname": {
  16503. "description": "商品名称",
  16504. "type": "string"
  16505. },
  16506. "last": {
  16507. "description": "现价",
  16508. "type": "number"
  16509. },
  16510. "marketid": {
  16511. "description": "所属市场ID",
  16512. "type": "integer"
  16513. },
  16514. "openaverageprice": {
  16515. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  16516. "type": "number"
  16517. },
  16518. "opencost": {
  16519. "description": "开仓成本",
  16520. "type": "number"
  16521. },
  16522. "openpl": {
  16523. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16524. "type": "number"
  16525. },
  16526. "outgoodscode": {
  16527. "description": "商品代码(外部)",
  16528. "type": "string"
  16529. },
  16530. "positionaverageprice": {
  16531. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  16532. "type": "number"
  16533. },
  16534. "positioncost": {
  16535. "description": "持仓成本",
  16536. "type": "number"
  16537. },
  16538. "positionpl": {
  16539. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16540. "type": "number"
  16541. },
  16542. "positionplrate": {
  16543. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  16544. "type": "number"
  16545. },
  16546. "usedmargin": {
  16547. "description": "占用保证金",
  16548. "type": "number"
  16549. }
  16550. }
  16551. },
  16552. "ermcp.RealtimeExposurePositionRsp": {
  16553. "type": "object",
  16554. "properties": {
  16555. "agreeunit": {
  16556. "description": "合约单位",
  16557. "type": "string"
  16558. },
  16559. "areauserid": {
  16560. "description": "所属机构id",
  16561. "type": "integer"
  16562. },
  16563. "convertratio": {
  16564. "description": "期货品种系数(折算系数)",
  16565. "type": "number"
  16566. },
  16567. "curqty": {
  16568. "description": "当前持仓",
  16569. "type": "integer"
  16570. },
  16571. "diffhedgeqty": {
  16572. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16573. "type": "number"
  16574. },
  16575. "diffqty": {
  16576. "description": "持仓变动量=当前持仓-昨日持仓",
  16577. "type": "integer"
  16578. },
  16579. "goodscode": {
  16580. "description": "商品代码",
  16581. "type": "string"
  16582. },
  16583. "goodsid": {
  16584. "description": "商品id",
  16585. "type": "integer"
  16586. },
  16587. "goodsname": {
  16588. "description": "商品名称",
  16589. "type": "string"
  16590. },
  16591. "middlegoodsid": {
  16592. "description": "套保商品id",
  16593. "type": "integer"
  16594. },
  16595. "ydqty": {
  16596. "description": "昨日持仓",
  16597. "type": "integer"
  16598. }
  16599. }
  16600. },
  16601. "ermcp.RealtimeExposureRsp": {
  16602. "type": "object",
  16603. "properties": {
  16604. "AreaUserID": {
  16605. "description": "所属机构",
  16606. "type": "integer"
  16607. },
  16608. "BuyFutureQty": {
  16609. "description": "买入期货数量",
  16610. "type": "number"
  16611. },
  16612. "BuyPlanQty": {
  16613. "description": "采购计划数量",
  16614. "type": "number"
  16615. },
  16616. "BuyPricedQty": {
  16617. "description": "采购合同已定价数量",
  16618. "type": "number"
  16619. },
  16620. "MiddleGoodsCode": {
  16621. "description": "套保品种代码",
  16622. "type": "string"
  16623. },
  16624. "MiddleGoodsHedgeRatio": {
  16625. "description": "套保比例",
  16626. "type": "number"
  16627. },
  16628. "MiddleGoodsID": {
  16629. "description": "套保品种",
  16630. "type": "integer"
  16631. },
  16632. "MiddleGoodsName": {
  16633. "description": "套保品种名称",
  16634. "type": "string"
  16635. },
  16636. "NeedHedgeExposoure": {
  16637. "description": "应套保敞口(套保敞口)",
  16638. "type": "number"
  16639. },
  16640. "NeedHedgeRatio": {
  16641. "description": "应套保敞口比例",
  16642. "type": "number"
  16643. },
  16644. "OriBuyFutureQty": {
  16645. "description": "期初买入期货数量",
  16646. "type": "number"
  16647. },
  16648. "OriBuyPlanQty": {
  16649. "description": "期初采购计划数量",
  16650. "type": "number"
  16651. },
  16652. "OriBuyPricedQty": {
  16653. "description": "期初采购合同已定价数量",
  16654. "type": "number"
  16655. },
  16656. "OriSellFutureQty": {
  16657. "description": "期初卖出期货数量",
  16658. "type": "number"
  16659. },
  16660. "OriSellPlanQty": {
  16661. "description": "期初销售计划数量",
  16662. "type": "number"
  16663. },
  16664. "OriSellPricedQty": {
  16665. "description": "期初销售合同已定价数量",
  16666. "type": "number"
  16667. },
  16668. "SellFutureQty": {
  16669. "description": "卖出期货数量",
  16670. "type": "number"
  16671. },
  16672. "SellPlanQty": {
  16673. "description": "销售计划数量",
  16674. "type": "number"
  16675. },
  16676. "SellPricedQty": {
  16677. "description": "销售合同已定价数量",
  16678. "type": "number"
  16679. },
  16680. "TotalExposure": {
  16681. "description": "总敞口 平安:净敞口",
  16682. "type": "number"
  16683. },
  16684. "TotalFutureQty": {
  16685. "description": "期货总量 平安:保值净持仓量",
  16686. "type": "number"
  16687. },
  16688. "TotalHedgeRatio": {
  16689. "description": "敞口比例",
  16690. "type": "number"
  16691. },
  16692. "TotalNeedHedgeQty": {
  16693. "description": "应套保总量(现货应套保总量)",
  16694. "type": "number"
  16695. },
  16696. "TotalSpotQty": {
  16697. "description": "现货总量 平安:采销定价净值",
  16698. "type": "number"
  16699. },
  16700. "arbitrageqty": {
  16701. "description": "套利量",
  16702. "type": "number"
  16703. },
  16704. "diffArbitrageQty": {
  16705. "description": "套利变动量",
  16706. "type": "number"
  16707. },
  16708. "diffExposoureQty": {
  16709. "description": "变动量(套保敞口)",
  16710. "type": "number"
  16711. },
  16712. "diffFutuQty": {
  16713. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  16714. "type": "number"
  16715. },
  16716. "diffHedgeQty": {
  16717. "description": "套保变动量",
  16718. "type": "number"
  16719. },
  16720. "diffQty": {
  16721. "description": "变动量(总敞口) 平安:净敞口今日变动",
  16722. "type": "number"
  16723. },
  16724. "diffSpotHedgeQty": {
  16725. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  16726. "type": "number"
  16727. },
  16728. "diffSpotQty": {
  16729. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  16730. "type": "number"
  16731. },
  16732. "enumdicname": {
  16733. "description": "单位名称",
  16734. "type": "string"
  16735. },
  16736. "hedgeqty": {
  16737. "description": "套保量",
  16738. "type": "number"
  16739. },
  16740. "needarbitrageqty": {
  16741. "description": "应套利量",
  16742. "type": "number"
  16743. },
  16744. "needarbitrageratio": {
  16745. "description": "套利比例",
  16746. "type": "number"
  16747. },
  16748. "needhedgeqty": {
  16749. "description": "应套保量",
  16750. "type": "number"
  16751. },
  16752. "oriTotalFutuQty": {
  16753. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16754. "type": "number"
  16755. },
  16756. "oriTotalSpotQty": {
  16757. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16758. "type": "number"
  16759. },
  16760. "oriarbitrageqty": {
  16761. "description": "期初套利量",
  16762. "type": "number"
  16763. },
  16764. "orihedgeqty": {
  16765. "description": "期初套保量",
  16766. "type": "number"
  16767. },
  16768. "orineedhedgeexposoure": {
  16769. "description": "期初套保敞口",
  16770. "type": "number"
  16771. },
  16772. "oritotalexposure": {
  16773. "description": "期初总敞口",
  16774. "type": "number"
  16775. },
  16776. "oritotalfutureqty": {
  16777. "description": "期初期货总量",
  16778. "type": "number"
  16779. },
  16780. "oritotalneedhedgeqty": {
  16781. "description": "期初现货应套保量",
  16782. "type": "number"
  16783. }
  16784. }
  16785. },
  16786. "erms2.QueryArbitrageStrategyRsp": {
  16787. "type": "object",
  16788. "required": [
  16789. "asapplyid"
  16790. ],
  16791. "properties": {
  16792. "applybasis": {
  16793. "description": "申请基差",
  16794. "type": "number"
  16795. },
  16796. "asapplyid": {
  16797. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  16798. "type": "string"
  16799. },
  16800. "asname": {
  16801. "description": "策略名称",
  16802. "type": "string"
  16803. },
  16804. "asno": {
  16805. "description": "策略编号",
  16806. "type": "string"
  16807. },
  16808. "basischangepl": {
  16809. "description": "基差变动损益[结算更新]",
  16810. "type": "number"
  16811. },
  16812. "biztype": {
  16813. "description": "业务类型 - 1:正向套利 -1:反向套利",
  16814. "type": "integer"
  16815. },
  16816. "closetradedate": {
  16817. "description": "完结交易日(yyyyMMdd)",
  16818. "type": "string"
  16819. },
  16820. "curbasis": {
  16821. "description": "当前基差[结算更新]",
  16822. "type": "number"
  16823. },
  16824. "deliverygoodsid": {
  16825. "description": "现货品种ID",
  16826. "type": "integer"
  16827. },
  16828. "futureavgprice": {
  16829. "description": "期货建仓均价",
  16830. "type": "number"
  16831. },
  16832. "futurecloseamount": {
  16833. "description": "期货平仓金额",
  16834. "type": "number"
  16835. },
  16836. "futurecloseqty": {
  16837. "description": "期货平仓数量",
  16838. "type": "number"
  16839. },
  16840. "futureopenamount": {
  16841. "description": "期货开仓金额",
  16842. "type": "number"
  16843. },
  16844. "futureopenqty": {
  16845. "description": "期货开仓数量",
  16846. "type": "number"
  16847. },
  16848. "futurepl": {
  16849. "description": "期货总盈亏[结算更新]",
  16850. "type": "number"
  16851. },
  16852. "futureqty": {
  16853. "description": "期货持仓数量",
  16854. "type": "number"
  16855. },
  16856. "futurequote": {
  16857. "description": "期货额度",
  16858. "type": "number"
  16859. },
  16860. "goodsgroupid": {
  16861. "description": "期货品种ID",
  16862. "type": "integer"
  16863. },
  16864. "marketid": {
  16865. "description": "市场ID",
  16866. "type": "integer"
  16867. },
  16868. "netexposure": {
  16869. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  16870. "type": "number"
  16871. },
  16872. "netexposurepl": {
  16873. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  16874. "type": "number"
  16875. },
  16876. "netexposurerate": {
  16877. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  16878. "type": "number"
  16879. },
  16880. "openbasis": {
  16881. "description": "建仓基差",
  16882. "type": "number"
  16883. },
  16884. "pricedspotqty": {
  16885. "description": "已定价现货数量",
  16886. "type": "number"
  16887. },
  16888. "pricedspotqtynotax": {
  16889. "description": "已定价现货不含税数量",
  16890. "type": "number"
  16891. },
  16892. "remark": {
  16893. "description": "备注",
  16894. "type": "string"
  16895. },
  16896. "spotavgprice": {
  16897. "description": "现货均价",
  16898. "type": "number"
  16899. },
  16900. "spotbuyamount": {
  16901. "description": "现货采购金额",
  16902. "type": "number"
  16903. },
  16904. "spotbuyqty": {
  16905. "description": "现货采购数量",
  16906. "type": "number"
  16907. },
  16908. "spotpl": {
  16909. "description": "现货总盈亏[结算更新]",
  16910. "type": "number"
  16911. },
  16912. "spotquota": {
  16913. "description": "现货额度",
  16914. "type": "number"
  16915. },
  16916. "spotsellamount": {
  16917. "description": "现货销售金额",
  16918. "type": "number"
  16919. },
  16920. "spotsellqty": {
  16921. "description": "现货销售数量",
  16922. "type": "number"
  16923. },
  16924. "spotusedquota": {
  16925. "description": "现货占用资金",
  16926. "type": "number"
  16927. },
  16928. "strategystatus": {
  16929. "description": "策略状态 - 0:未结束 1:已结束",
  16930. "type": "integer"
  16931. },
  16932. "totalpl": {
  16933. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  16934. "type": "number"
  16935. },
  16936. "tradedate": {
  16937. "description": "交易日(yyyyMMdd)",
  16938. "type": "string"
  16939. },
  16940. "updatetime": {
  16941. "description": "更新时间",
  16942. "type": "string"
  16943. },
  16944. "usedquota": {
  16945. "description": "已占用资金",
  16946. "type": "number"
  16947. },
  16948. "userid": {
  16949. "description": "所属机构",
  16950. "type": "integer"
  16951. }
  16952. }
  16953. },
  16954. "erms2.QueryInnerTradeDetailRsp": {
  16955. "type": "object",
  16956. "required": [
  16957. "asapplyid",
  16958. "buyorsell",
  16959. "goodscode",
  16960. "goodsgroupid",
  16961. "goodsgroupname",
  16962. "goodsname",
  16963. "tradeid"
  16964. ],
  16965. "properties": {
  16966. "accountid": {
  16967. "description": "账号ID",
  16968. "type": "integer"
  16969. },
  16970. "agreeunit": {
  16971. "description": "合约单位",
  16972. "type": "number"
  16973. },
  16974. "asapplyid": {
  16975. "description": "策略申请ID",
  16976. "type": "integer"
  16977. },
  16978. "asname": {
  16979. "description": "策略名称",
  16980. "type": "string"
  16981. },
  16982. "asno": {
  16983. "description": "策略编号",
  16984. "type": "string"
  16985. },
  16986. "buyorsell": {
  16987. "description": "方向 - 0:买 1:卖",
  16988. "type": "integer"
  16989. },
  16990. "channelbuildtype": {
  16991. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  16992. "type": "integer"
  16993. },
  16994. "closetype": {
  16995. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16996. "type": "integer"
  16997. },
  16998. "decimalplace": {
  16999. "description": "报价小数位",
  17000. "type": "integer"
  17001. },
  17002. "detailtype": {
  17003. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  17004. "type": "integer"
  17005. },
  17006. "exexchangecode": {
  17007. "description": "外部交易所代码",
  17008. "type": "string"
  17009. },
  17010. "exexchangename": {
  17011. "description": "外部交易所名称",
  17012. "type": "string"
  17013. },
  17014. "goodscode": {
  17015. "description": "商品代码(合约)",
  17016. "type": "string"
  17017. },
  17018. "goodsgroupid": {
  17019. "description": "商品组ID(品种ID)",
  17020. "type": "integer"
  17021. },
  17022. "goodsgroupname": {
  17023. "description": "商品组名称(品种)",
  17024. "type": "string"
  17025. },
  17026. "goodsid": {
  17027. "description": "商品ID",
  17028. "type": "integer"
  17029. },
  17030. "goodsname": {
  17031. "description": "商品名称(合约)",
  17032. "type": "string"
  17033. },
  17034. "goodunit": {
  17035. "description": "报价单位",
  17036. "type": "string"
  17037. },
  17038. "marketid": {
  17039. "description": "市场ID",
  17040. "type": "integer"
  17041. },
  17042. "orderid": {
  17043. "description": "委托单号",
  17044. "type": "string"
  17045. },
  17046. "outgoodscode": {
  17047. "description": "商品代码(外部)",
  17048. "type": "string"
  17049. },
  17050. "relatedouttradeid": {
  17051. "description": "关联外部成交单ID",
  17052. "type": "string"
  17053. },
  17054. "remark": {
  17055. "description": "备注",
  17056. "type": "string"
  17057. },
  17058. "spotcontractid": {
  17059. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  17060. "type": "integer"
  17061. },
  17062. "spotcontractno": {
  17063. "description": "现货合同编号",
  17064. "type": "string"
  17065. },
  17066. "tradeid": {
  17067. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17068. "type": "string"
  17069. },
  17070. "tradeprice": {
  17071. "description": "成交价格",
  17072. "type": "number"
  17073. },
  17074. "tradeqty": {
  17075. "description": "成交数量",
  17076. "type": "integer"
  17077. },
  17078. "tradetime": {
  17079. "description": "成交时间",
  17080. "type": "string"
  17081. },
  17082. "updatetime": {
  17083. "description": "更新时间",
  17084. "type": "string"
  17085. }
  17086. }
  17087. },
  17088. "erms2.QuerySpotContractRsp": {
  17089. "type": "object",
  17090. "required": [
  17091. "spotcontractid"
  17092. ],
  17093. "properties": {
  17094. "accountid": {
  17095. "description": "资金账户ID",
  17096. "type": "integer"
  17097. },
  17098. "areauserid": {
  17099. "description": "所属机构",
  17100. "type": "integer"
  17101. },
  17102. "closedate": {
  17103. "description": "终止日期",
  17104. "type": "string"
  17105. },
  17106. "closeremark": {
  17107. "description": "结束备注",
  17108. "type": "string"
  17109. },
  17110. "closetradedate": {
  17111. "description": "完结交易日(yyyyMMdd)",
  17112. "type": "string"
  17113. },
  17114. "closetype": {
  17115. "description": "终止类型 - 1:违约 2:提前终止",
  17116. "type": "integer"
  17117. },
  17118. "contractamount": {
  17119. "description": "合同金额",
  17120. "type": "number"
  17121. },
  17122. "contractattachment": {
  17123. "description": "合同附件",
  17124. "type": "string"
  17125. },
  17126. "contractno": {
  17127. "description": "现货合同编号",
  17128. "type": "string"
  17129. },
  17130. "contractqty": {
  17131. "description": "合同数量(数值) (用于计算)",
  17132. "type": "number"
  17133. },
  17134. "contractqtychar": {
  17135. "description": "合同数量\\已订价数量 (用于显示)",
  17136. "type": "string"
  17137. },
  17138. "contractstatus": {
  17139. "description": "合同状态 - 0:未结束 1:已结束",
  17140. "type": "integer"
  17141. },
  17142. "contracttype": {
  17143. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  17144. "type": "integer"
  17145. },
  17146. "customeraccountid": {
  17147. "description": "客户资金账户ID",
  17148. "type": "integer"
  17149. },
  17150. "customeruserid": {
  17151. "description": "客户ID",
  17152. "type": "integer"
  17153. },
  17154. "deliverygoodsdesc": {
  17155. "description": "品种说明",
  17156. "type": "string"
  17157. },
  17158. "deliverygoodsid": {
  17159. "description": "现货品种ID",
  17160. "type": "integer"
  17161. },
  17162. "handlestatus": {
  17163. "description": "处理状态",
  17164. "type": "integer"
  17165. },
  17166. "invoiceatt": {
  17167. "description": "发票附件",
  17168. "type": "string"
  17169. },
  17170. "invoicedatetime": {
  17171. "description": "开收票更新时间",
  17172. "type": "string"
  17173. },
  17174. "invoiceopentime": {
  17175. "description": "开票时间",
  17176. "type": "string"
  17177. },
  17178. "invoiceremark": {
  17179. "description": "发票备注",
  17180. "type": "string"
  17181. },
  17182. "invoicestatus": {
  17183. "description": "开收票状态 - 0:未开票 1:已开票",
  17184. "type": "integer"
  17185. },
  17186. "lastdate": {
  17187. "description": "交货时间",
  17188. "type": "string"
  17189. },
  17190. "marketid": {
  17191. "description": "市场ID",
  17192. "type": "integer"
  17193. },
  17194. "paydatetime": {
  17195. "description": "收付款更新时间",
  17196. "type": "string"
  17197. },
  17198. "payremark": {
  17199. "description": "收付款备注",
  17200. "type": "string"
  17201. },
  17202. "paystatus": {
  17203. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  17204. "type": "integer"
  17205. },
  17206. "positionqty": {
  17207. "description": "头寸数量 - 合同数量去小数部分",
  17208. "type": "integer"
  17209. },
  17210. "producttype": {
  17211. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17212. "type": "integer"
  17213. },
  17214. "relatedqty": {
  17215. "description": "已关联数量",
  17216. "type": "number"
  17217. },
  17218. "relatedstatus": {
  17219. "description": "关联完结状态 - 0:未结束 1:已结束",
  17220. "type": "integer"
  17221. },
  17222. "remark": {
  17223. "description": "备注",
  17224. "type": "string"
  17225. },
  17226. "signdate": {
  17227. "description": "签订日期",
  17228. "type": "string"
  17229. },
  17230. "spotcontractid": {
  17231. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  17232. "type": "string"
  17233. },
  17234. "spotdatetime": {
  17235. "description": "收发货更新时间",
  17236. "type": "string"
  17237. },
  17238. "spotprice": {
  17239. "description": "价格",
  17240. "type": "number"
  17241. },
  17242. "spotremark": {
  17243. "description": "收发货备注",
  17244. "type": "string"
  17245. },
  17246. "spotstatus": {
  17247. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17248. "type": "integer"
  17249. },
  17250. "tradedate": {
  17251. "description": "交易日(yyyyMMdd)",
  17252. "type": "string"
  17253. },
  17254. "userid": {
  17255. "description": "业务员用户ID",
  17256. "type": "integer"
  17257. },
  17258. "warehouseid": {
  17259. "description": "仓库ID",
  17260. "type": "integer"
  17261. },
  17262. "wrfactortypeid": {
  17263. "description": "仓单要素类型ID",
  17264. "type": "integer"
  17265. },
  17266. "wrstandardid": {
  17267. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17268. "type": "integer"
  17269. }
  17270. }
  17271. },
  17272. "erms3.AddErms2ASApplyReq": {
  17273. "type": "object",
  17274. "required": [
  17275. "asapplyid"
  17276. ],
  17277. "properties": {
  17278. "applybasis": {
  17279. "description": "申请基差",
  17280. "type": "number"
  17281. },
  17282. "applystatus": {
  17283. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17284. "type": "integer"
  17285. },
  17286. "asapplyid": {
  17287. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  17288. "type": "integer"
  17289. },
  17290. "asname": {
  17291. "description": "策略名称",
  17292. "type": "string"
  17293. },
  17294. "asno": {
  17295. "description": "策略编号",
  17296. "type": "string"
  17297. },
  17298. "auditid": {
  17299. "description": "审核人",
  17300. "type": "integer"
  17301. },
  17302. "auditremark": {
  17303. "description": "审核备注",
  17304. "type": "string"
  17305. },
  17306. "audittime": {
  17307. "description": "审核时间",
  17308. "type": "string"
  17309. },
  17310. "biztype": {
  17311. "description": "业务类型 - 1:正向套利 2:反向套利",
  17312. "type": "integer"
  17313. },
  17314. "createtime": {
  17315. "description": "创建时间",
  17316. "type": "string"
  17317. },
  17318. "creatorid": {
  17319. "description": "创建人",
  17320. "type": "integer"
  17321. },
  17322. "deliverygoodsid": {
  17323. "description": "现货品种ID",
  17324. "type": "integer"
  17325. },
  17326. "futurequote": {
  17327. "description": "期货额度",
  17328. "type": "number"
  17329. },
  17330. "goodsgroupid": {
  17331. "description": "期货品种ID",
  17332. "type": "integer"
  17333. },
  17334. "marketid": {
  17335. "description": "市场ID",
  17336. "type": "integer"
  17337. },
  17338. "remark": {
  17339. "description": "备注",
  17340. "type": "string"
  17341. },
  17342. "spotquota": {
  17343. "description": "现货额度",
  17344. "type": "number"
  17345. },
  17346. "tradedate": {
  17347. "description": "交易日(yyyyMMdd)",
  17348. "type": "string"
  17349. },
  17350. "userid": {
  17351. "description": "所属机构",
  17352. "type": "integer"
  17353. }
  17354. }
  17355. },
  17356. "erms3.AddErms2SpotTradeApplyReq": {
  17357. "type": "object",
  17358. "required": [
  17359. "spottradeid"
  17360. ],
  17361. "properties": {
  17362. "applyjsondetail": {
  17363. "description": "申请明细(JSON)",
  17364. "type": "string"
  17365. },
  17366. "applystatus": {
  17367. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17368. "type": "integer"
  17369. },
  17370. "areauserid": {
  17371. "description": "所属机构",
  17372. "type": "integer"
  17373. },
  17374. "auditid": {
  17375. "description": "审核人",
  17376. "type": "integer"
  17377. },
  17378. "auditremark": {
  17379. "description": "审核备注",
  17380. "type": "string"
  17381. },
  17382. "audittime": {
  17383. "description": "审核时间",
  17384. "type": "string"
  17385. },
  17386. "createtime": {
  17387. "description": "创建时间",
  17388. "type": "string"
  17389. },
  17390. "creatorid": {
  17391. "description": "创建人",
  17392. "type": "integer"
  17393. },
  17394. "deliverygoodsid": {
  17395. "description": "现货品种ID",
  17396. "type": "integer"
  17397. },
  17398. "futureaccountid": {
  17399. "description": "期货资金账户",
  17400. "type": "integer"
  17401. },
  17402. "goodsgroupid": {
  17403. "description": "期货品种",
  17404. "type": "integer"
  17405. },
  17406. "marketid": {
  17407. "description": "市场ID",
  17408. "type": "integer"
  17409. },
  17410. "remark": {
  17411. "description": "备注",
  17412. "type": "string"
  17413. },
  17414. "spotaccountid": {
  17415. "description": "现货资金账户",
  17416. "type": "integer"
  17417. },
  17418. "spottradeid": {
  17419. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  17420. "type": "integer"
  17421. },
  17422. "spottradename": {
  17423. "description": "业务名称",
  17424. "type": "string"
  17425. },
  17426. "spottradeno": {
  17427. "description": "业务编号",
  17428. "type": "string"
  17429. },
  17430. "tradedate": {
  17431. "description": "交易日(yyyyMMdd)",
  17432. "type": "string"
  17433. },
  17434. "wrstandardid": {
  17435. "description": "仓单标准ID",
  17436. "type": "integer"
  17437. }
  17438. }
  17439. },
  17440. "erms3.AddSpotContractApplyReq": {
  17441. "type": "object",
  17442. "required": [
  17443. "accountid",
  17444. "areauserid",
  17445. "contractno",
  17446. "contracttype",
  17447. "customeraccountid",
  17448. "customeruserid",
  17449. "details",
  17450. "orimargin",
  17451. "signdate"
  17452. ],
  17453. "properties": {
  17454. "accountid": {
  17455. "description": "资金账户ID",
  17456. "type": "integer"
  17457. },
  17458. "areauserid": {
  17459. "description": "所属机构",
  17460. "type": "integer"
  17461. },
  17462. "contractattachment": {
  17463. "description": "合同附件",
  17464. "type": "string"
  17465. },
  17466. "contractno": {
  17467. "description": "现货合同编号",
  17468. "type": "string"
  17469. },
  17470. "contracttype": {
  17471. "description": "现货合同类型 - 1:采购 -1:销售",
  17472. "type": "integer"
  17473. },
  17474. "creatorid": {
  17475. "description": "申请人",
  17476. "type": "integer"
  17477. },
  17478. "customeraccountid": {
  17479. "description": "客户资金账户ID",
  17480. "type": "integer"
  17481. },
  17482. "customeruserid": {
  17483. "description": "客户ID",
  17484. "type": "integer"
  17485. },
  17486. "details": {
  17487. "description": "明细",
  17488. "type": "array",
  17489. "items": {
  17490. "$ref": "#/definitions/erms3.SoptContractDetail"
  17491. }
  17492. },
  17493. "orimargin": {
  17494. "description": "初始保证金",
  17495. "type": "number"
  17496. },
  17497. "remark": {
  17498. "description": "备注",
  17499. "type": "string"
  17500. },
  17501. "signdate": {
  17502. "description": "签订日期",
  17503. "type": "string"
  17504. }
  17505. }
  17506. },
  17507. "erms3.AddSpotContractApplyRsp": {
  17508. "type": "object",
  17509. "required": [
  17510. "contractno"
  17511. ],
  17512. "properties": {
  17513. "contractno": {
  17514. "description": "现货合同编号",
  17515. "type": "string"
  17516. },
  17517. "spotcontractid": {
  17518. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  17519. "type": "integer"
  17520. }
  17521. }
  17522. },
  17523. "erms3.AddUserInfoApplyReq": {
  17524. "type": "object",
  17525. "required": [
  17526. "userid"
  17527. ],
  17528. "properties": {
  17529. "accountid": {
  17530. "description": "交易系统帐号Id (加密存储)",
  17531. "type": "integer"
  17532. },
  17533. "areacode": {
  17534. "description": "机构代码",
  17535. "type": "string"
  17536. },
  17537. "areaid": {
  17538. "description": "机构Id",
  17539. "type": "integer"
  17540. },
  17541. "attachment1": {
  17542. "description": "附件1",
  17543. "type": "string"
  17544. },
  17545. "attachment2": {
  17546. "description": "附件2",
  17547. "type": "string"
  17548. },
  17549. "attachment3": {
  17550. "description": "附件3",
  17551. "type": "string"
  17552. },
  17553. "attachment4": {
  17554. "description": "附件4",
  17555. "type": "string"
  17556. },
  17557. "attachment5": {
  17558. "description": "附件5",
  17559. "type": "string"
  17560. },
  17561. "auditedby": {
  17562. "description": "审核人",
  17563. "type": "string"
  17564. },
  17565. "auditime": {
  17566. "description": "审核时间",
  17567. "type": "string"
  17568. },
  17569. "auditsrc": {
  17570. "description": "审核来源 - 1:管理端 2:终端",
  17571. "type": "integer"
  17572. },
  17573. "bankaccount": {
  17574. "description": "银行帐号 (加密存储)",
  17575. "type": "string"
  17576. },
  17577. "bankaccountname": {
  17578. "description": "收款人名称",
  17579. "type": "string"
  17580. },
  17581. "bankcardbackphotourl": {
  17582. "description": "银行卡背面照地址",
  17583. "type": "string"
  17584. },
  17585. "bankcardfrontphotourl": {
  17586. "description": "银行卡正面照地址",
  17587. "type": "string"
  17588. },
  17589. "bankid": {
  17590. "description": "银行编码",
  17591. "type": "string"
  17592. },
  17593. "bankname": {
  17594. "description": "银行名称",
  17595. "type": "string"
  17596. },
  17597. "bankpictureurl": {
  17598. "description": "银行卡正面地址",
  17599. "type": "string"
  17600. },
  17601. "biznature": {
  17602. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17603. "type": "integer"
  17604. },
  17605. "bizscope": {
  17606. "description": "企业经营范围(企业)",
  17607. "type": "string"
  17608. },
  17609. "biztype": {
  17610. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17611. "type": "integer"
  17612. },
  17613. "brokerid": {
  17614. "description": "经纪人ID(加密存储)",
  17615. "type": "string"
  17616. },
  17617. "cardaddress": {
  17618. "description": "证件地址 (加密存储)",
  17619. "type": "string"
  17620. },
  17621. "cardbackphotourl": {
  17622. "description": "背面证件照地址",
  17623. "type": "string"
  17624. },
  17625. "cardfrontphotourl": {
  17626. "description": "正面证件照地址",
  17627. "type": "string"
  17628. },
  17629. "cardnum": {
  17630. "description": "证件号码 (加密存储)",
  17631. "type": "string"
  17632. },
  17633. "cardtype": {
  17634. "description": "证件类型",
  17635. "type": "integer"
  17636. },
  17637. "cityid": {
  17638. "description": "市",
  17639. "type": "integer"
  17640. },
  17641. "company": {
  17642. "description": "公司(个人)",
  17643. "type": "string"
  17644. },
  17645. "contactcardbackphotourl": {
  17646. "description": "联系人证件背面图片地址",
  17647. "type": "string"
  17648. },
  17649. "contactcardfrontphotourl": {
  17650. "description": "联系人证件正面图片地址",
  17651. "type": "string"
  17652. },
  17653. "contactname": {
  17654. "description": "联系人",
  17655. "type": "string"
  17656. },
  17657. "countryid": {
  17658. "description": "国家",
  17659. "type": "integer"
  17660. },
  17661. "createtime": {
  17662. "description": "开户申请时间",
  17663. "type": "string"
  17664. },
  17665. "cusbankid": {
  17666. "description": "签约类型",
  17667. "type": "string"
  17668. },
  17669. "cusbankname": {
  17670. "description": "签约类型名称",
  17671. "type": "string"
  17672. },
  17673. "customername": {
  17674. "description": "客户名称(企业名称)",
  17675. "type": "string"
  17676. },
  17677. "districtid": {
  17678. "description": "地区",
  17679. "type": "integer"
  17680. },
  17681. "email": {
  17682. "description": "Email地址(加密存储)",
  17683. "type": "string"
  17684. },
  17685. "halfbodyphotourl": {
  17686. "description": "半身照地址",
  17687. "type": "string"
  17688. },
  17689. "headurl": {
  17690. "description": "头像地址",
  17691. "type": "string"
  17692. },
  17693. "ipaddress": {
  17694. "description": "IP地址",
  17695. "type": "string"
  17696. },
  17697. "isvalidate": {
  17698. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  17699. "type": "string"
  17700. },
  17701. "legalcardbackphotourl": {
  17702. "description": "法人身份证背面照地址",
  17703. "type": "string"
  17704. },
  17705. "legalcardfrontphotourl": {
  17706. "description": "法人身份证正面照地址",
  17707. "type": "string"
  17708. },
  17709. "legalpersonname": {
  17710. "description": "法人姓名(企业)",
  17711. "type": "string"
  17712. },
  17713. "logincode": {
  17714. "description": "登录帐号 (加密存储)",
  17715. "type": "string"
  17716. },
  17717. "memberareaid": {
  17718. "description": "所属会员ID",
  17719. "type": "integer"
  17720. },
  17721. "mobile2": {
  17722. "description": "手机号码[明文-尚志]",
  17723. "type": "string"
  17724. },
  17725. "mobilephone": {
  17726. "description": "手机号码 (加密存储)",
  17727. "type": "string"
  17728. },
  17729. "modifiedby": {
  17730. "description": "修改人帐号",
  17731. "type": "integer"
  17732. },
  17733. "modifiedtime": {
  17734. "description": "修改时间",
  17735. "type": "string"
  17736. },
  17737. "nickname": {
  17738. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  17739. "type": "string"
  17740. },
  17741. "openmode": {
  17742. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  17743. "type": "integer"
  17744. },
  17745. "otherurl": {
  17746. "description": "其它图片地址[使用分号分隔]",
  17747. "type": "string"
  17748. },
  17749. "postalcode": {
  17750. "description": "邮政编码",
  17751. "type": "string"
  17752. },
  17753. "provinceid": {
  17754. "description": "省",
  17755. "type": "integer"
  17756. },
  17757. "proxystatementurl": {
  17758. "description": "授权委托书",
  17759. "type": "string"
  17760. },
  17761. "qq": {
  17762. "description": "QQ(加密存储",
  17763. "type": "string"
  17764. },
  17765. "referral": {
  17766. "description": "推荐人编码",
  17767. "type": "string"
  17768. },
  17769. "remark": {
  17770. "description": "备注",
  17771. "type": "string"
  17772. },
  17773. "removebeforestatus": {
  17774. "description": "REMOVEBEFORESTATUS",
  17775. "type": "integer"
  17776. },
  17777. "sex": {
  17778. "description": "性别 - 0:女 1:男",
  17779. "type": "integer"
  17780. },
  17781. "signedstatus": {
  17782. "description": "账户一号签签约状态",
  17783. "type": "integer"
  17784. },
  17785. "signpdfurl": {
  17786. "description": "签约pdf文件",
  17787. "type": "string"
  17788. },
  17789. "subbranch": {
  17790. "description": "开户支行",
  17791. "type": "string"
  17792. },
  17793. "taxpayernum": {
  17794. "description": "纳税人识别号",
  17795. "type": "string"
  17796. },
  17797. "telphone": {
  17798. "description": "联系电话(加密存储)",
  17799. "type": "string"
  17800. },
  17801. "userid": {
  17802. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  17803. "type": "integer"
  17804. },
  17805. "userinfotype": {
  17806. "description": "用户信息类型 - 1:个人 2:企业",
  17807. "type": "integer"
  17808. },
  17809. "username": {
  17810. "description": "用户姓名",
  17811. "type": "string"
  17812. },
  17813. "userstate": {
  17814. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  17815. "type": "integer"
  17816. },
  17817. "usertype": {
  17818. "description": "用户类型 - 1:投资者 2:机构",
  17819. "type": "integer"
  17820. },
  17821. "videourl": {
  17822. "description": "视频地址",
  17823. "type": "string"
  17824. },
  17825. "wechat": {
  17826. "description": "微信号 (加密存储)",
  17827. "type": "string"
  17828. }
  17829. }
  17830. },
  17831. "erms3.CustomerInfo": {
  17832. "type": "object",
  17833. "required": [
  17834. "userid"
  17835. ],
  17836. "properties": {
  17837. "accountids": {
  17838. "description": "资金账户ID列表",
  17839. "type": "array",
  17840. "items": {
  17841. "type": "integer"
  17842. }
  17843. },
  17844. "customername": {
  17845. "description": "名称(企业名称)",
  17846. "type": "string"
  17847. },
  17848. "mobile": {
  17849. "description": "手机号码",
  17850. "type": "string"
  17851. },
  17852. "userid": {
  17853. "description": "用户ID",
  17854. "type": "integer"
  17855. }
  17856. }
  17857. },
  17858. "erms3.ModifyUserInfoApplyReq": {
  17859. "type": "object",
  17860. "required": [
  17861. "userid"
  17862. ],
  17863. "properties": {
  17864. "accountid": {
  17865. "description": "交易系统帐号Id (加密存储)",
  17866. "type": "integer"
  17867. },
  17868. "areacode": {
  17869. "description": "机构代码",
  17870. "type": "string"
  17871. },
  17872. "areaid": {
  17873. "description": "机构Id",
  17874. "type": "integer"
  17875. },
  17876. "attachment1": {
  17877. "description": "附件1",
  17878. "type": "string"
  17879. },
  17880. "attachment2": {
  17881. "description": "附件2",
  17882. "type": "string"
  17883. },
  17884. "attachment3": {
  17885. "description": "附件3",
  17886. "type": "string"
  17887. },
  17888. "attachment4": {
  17889. "description": "附件4",
  17890. "type": "string"
  17891. },
  17892. "attachment5": {
  17893. "description": "附件5",
  17894. "type": "string"
  17895. },
  17896. "auditedby": {
  17897. "description": "审核人",
  17898. "type": "string"
  17899. },
  17900. "auditime": {
  17901. "description": "审核时间",
  17902. "type": "string"
  17903. },
  17904. "auditsrc": {
  17905. "description": "审核来源 - 1:管理端 2:终端",
  17906. "type": "integer"
  17907. },
  17908. "bankaccount": {
  17909. "description": "银行帐号 (加密存储)",
  17910. "type": "string"
  17911. },
  17912. "bankaccountname": {
  17913. "description": "收款人名称",
  17914. "type": "string"
  17915. },
  17916. "bankcardbackphotourl": {
  17917. "description": "银行卡背面照地址",
  17918. "type": "string"
  17919. },
  17920. "bankcardfrontphotourl": {
  17921. "description": "银行卡正面照地址",
  17922. "type": "string"
  17923. },
  17924. "bankid": {
  17925. "description": "银行编码",
  17926. "type": "string"
  17927. },
  17928. "bankname": {
  17929. "description": "银行名称",
  17930. "type": "string"
  17931. },
  17932. "bankpictureurl": {
  17933. "description": "银行卡正面地址",
  17934. "type": "string"
  17935. },
  17936. "biznature": {
  17937. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17938. "type": "integer"
  17939. },
  17940. "bizscope": {
  17941. "description": "企业经营范围(企业)",
  17942. "type": "string"
  17943. },
  17944. "biztype": {
  17945. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17946. "type": "integer"
  17947. },
  17948. "brokerid": {
  17949. "description": "经纪人ID(加密存储)",
  17950. "type": "string"
  17951. },
  17952. "cardaddress": {
  17953. "description": "证件地址 (加密存储)",
  17954. "type": "string"
  17955. },
  17956. "cardbackphotourl": {
  17957. "description": "背面证件照地址",
  17958. "type": "string"
  17959. },
  17960. "cardfrontphotourl": {
  17961. "description": "正面证件照地址",
  17962. "type": "string"
  17963. },
  17964. "cardnum": {
  17965. "description": "证件号码 (加密存储)",
  17966. "type": "string"
  17967. },
  17968. "cardtype": {
  17969. "description": "证件类型",
  17970. "type": "integer"
  17971. },
  17972. "cityid": {
  17973. "description": "市",
  17974. "type": "integer"
  17975. },
  17976. "company": {
  17977. "description": "公司(个人)",
  17978. "type": "string"
  17979. },
  17980. "contactcardbackphotourl": {
  17981. "description": "联系人证件背面图片地址",
  17982. "type": "string"
  17983. },
  17984. "contactcardfrontphotourl": {
  17985. "description": "联系人证件正面图片地址",
  17986. "type": "string"
  17987. },
  17988. "contactname": {
  17989. "description": "联系人",
  17990. "type": "string"
  17991. },
  17992. "countryid": {
  17993. "description": "国家",
  17994. "type": "integer"
  17995. },
  17996. "createtime": {
  17997. "description": "开户申请时间",
  17998. "type": "string"
  17999. },
  18000. "cusbankid": {
  18001. "description": "签约类型",
  18002. "type": "string"
  18003. },
  18004. "cusbankname": {
  18005. "description": "签约类型名称",
  18006. "type": "string"
  18007. },
  18008. "customername": {
  18009. "description": "客户名称(企业名称)",
  18010. "type": "string"
  18011. },
  18012. "districtid": {
  18013. "description": "地区",
  18014. "type": "integer"
  18015. },
  18016. "email": {
  18017. "description": "Email地址(加密存储)",
  18018. "type": "string"
  18019. },
  18020. "halfbodyphotourl": {
  18021. "description": "半身照地址",
  18022. "type": "string"
  18023. },
  18024. "headurl": {
  18025. "description": "头像地址",
  18026. "type": "string"
  18027. },
  18028. "ipaddress": {
  18029. "description": "IP地址",
  18030. "type": "string"
  18031. },
  18032. "isvalidate": {
  18033. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18034. "type": "string"
  18035. },
  18036. "legalcardbackphotourl": {
  18037. "description": "法人身份证背面照地址",
  18038. "type": "string"
  18039. },
  18040. "legalcardfrontphotourl": {
  18041. "description": "法人身份证正面照地址",
  18042. "type": "string"
  18043. },
  18044. "legalpersonname": {
  18045. "description": "法人姓名(企业)",
  18046. "type": "string"
  18047. },
  18048. "logincode": {
  18049. "description": "登录帐号 (加密存储)",
  18050. "type": "string"
  18051. },
  18052. "memberareaid": {
  18053. "description": "所属会员ID",
  18054. "type": "integer"
  18055. },
  18056. "mobile2": {
  18057. "description": "手机号码[明文-尚志]",
  18058. "type": "string"
  18059. },
  18060. "mobilephone": {
  18061. "description": "手机号码 (加密存储)",
  18062. "type": "string"
  18063. },
  18064. "modifiedby": {
  18065. "description": "修改人帐号",
  18066. "type": "integer"
  18067. },
  18068. "modifiedtime": {
  18069. "description": "修改时间",
  18070. "type": "string"
  18071. },
  18072. "nickname": {
  18073. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18074. "type": "string"
  18075. },
  18076. "openmode": {
  18077. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18078. "type": "integer"
  18079. },
  18080. "otherurl": {
  18081. "description": "其它图片地址[使用分号分隔]",
  18082. "type": "string"
  18083. },
  18084. "postalcode": {
  18085. "description": "邮政编码",
  18086. "type": "string"
  18087. },
  18088. "provinceid": {
  18089. "description": "省",
  18090. "type": "integer"
  18091. },
  18092. "proxystatementurl": {
  18093. "description": "授权委托书",
  18094. "type": "string"
  18095. },
  18096. "qq": {
  18097. "description": "QQ(加密存储",
  18098. "type": "string"
  18099. },
  18100. "referral": {
  18101. "description": "推荐人编码",
  18102. "type": "string"
  18103. },
  18104. "remark": {
  18105. "description": "备注",
  18106. "type": "string"
  18107. },
  18108. "removebeforestatus": {
  18109. "description": "REMOVEBEFORESTATUS",
  18110. "type": "integer"
  18111. },
  18112. "sex": {
  18113. "description": "性别 - 0:女 1:男",
  18114. "type": "integer"
  18115. },
  18116. "signedstatus": {
  18117. "description": "账户一号签签约状态",
  18118. "type": "integer"
  18119. },
  18120. "signpdfurl": {
  18121. "description": "签约pdf文件",
  18122. "type": "string"
  18123. },
  18124. "subbranch": {
  18125. "description": "开户支行",
  18126. "type": "string"
  18127. },
  18128. "taxpayernum": {
  18129. "description": "纳税人识别号",
  18130. "type": "string"
  18131. },
  18132. "telphone": {
  18133. "description": "联系电话(加密存储)",
  18134. "type": "string"
  18135. },
  18136. "userid": {
  18137. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18138. "type": "integer"
  18139. },
  18140. "userinfotype": {
  18141. "description": "用户信息类型 - 1:个人 2:企业",
  18142. "type": "integer"
  18143. },
  18144. "username": {
  18145. "description": "用户姓名",
  18146. "type": "string"
  18147. },
  18148. "userstate": {
  18149. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18150. "type": "integer"
  18151. },
  18152. "usertype": {
  18153. "description": "用户类型 - 1:投资者 2:机构",
  18154. "type": "integer"
  18155. },
  18156. "videourl": {
  18157. "description": "视频地址",
  18158. "type": "string"
  18159. },
  18160. "wechat": {
  18161. "description": "微信号 (加密存储)",
  18162. "type": "string"
  18163. }
  18164. }
  18165. },
  18166. "erms3.QryAuditContractRsp": {
  18167. "type": "object",
  18168. "required": [
  18169. "matchcustomername",
  18170. "spotcontractid"
  18171. ],
  18172. "properties": {
  18173. "accountid": {
  18174. "description": "交易员ID",
  18175. "type": "string"
  18176. },
  18177. "applystatus": {
  18178. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18179. "type": "integer"
  18180. },
  18181. "curdeliveryqty": {
  18182. "description": "未交收量",
  18183. "type": "integer"
  18184. },
  18185. "customername": {
  18186. "description": "采购方ID",
  18187. "type": "string"
  18188. },
  18189. "deliverygoodsid": {
  18190. "description": "品种ID",
  18191. "type": "string"
  18192. },
  18193. "deliveryqty": {
  18194. "description": "交收量",
  18195. "type": "integer"
  18196. },
  18197. "enumdicname": {
  18198. "description": "单位名称",
  18199. "type": "string"
  18200. },
  18201. "matchaccountid": {
  18202. "description": "业务员ID",
  18203. "type": "string"
  18204. },
  18205. "matchcustomername": {
  18206. "description": "销售方ID",
  18207. "type": "string"
  18208. },
  18209. "pricedqty": {
  18210. "description": "定价量",
  18211. "type": "number"
  18212. },
  18213. "signdate": {
  18214. "description": "签订日期",
  18215. "type": "string"
  18216. },
  18217. "spotcontractid": {
  18218. "description": "合同ID",
  18219. "type": "string"
  18220. },
  18221. "totaldqty": {
  18222. "description": "合同量",
  18223. "type": "number"
  18224. },
  18225. "unpricedqty": {
  18226. "description": "未定价量",
  18227. "type": "number"
  18228. },
  18229. "wrstandardname": {
  18230. "description": "商品名称",
  18231. "type": "string"
  18232. }
  18233. }
  18234. },
  18235. "erms3.QryPendingBizRsp": {
  18236. "type": "object",
  18237. "properties": {
  18238. "accountid": {
  18239. "description": "现货账户",
  18240. "type": "string"
  18241. },
  18242. "areaname": {
  18243. "description": "所属部门",
  18244. "type": "string"
  18245. },
  18246. "bizid": {
  18247. "description": "业务ID",
  18248. "type": "string"
  18249. },
  18250. "bizname": {
  18251. "description": "业务名称",
  18252. "type": "string"
  18253. },
  18254. "status": {
  18255. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18256. "type": "integer"
  18257. },
  18258. "type": {
  18259. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18260. "type": "integer"
  18261. }
  18262. }
  18263. },
  18264. "erms3.QueryBusinessInfoRsp": {
  18265. "type": "object",
  18266. "properties": {
  18267. "businessid": {
  18268. "description": "业务ID.",
  18269. "type": "integer"
  18270. },
  18271. "buyamount": {
  18272. "description": "采购额.",
  18273. "type": "number"
  18274. },
  18275. "buyqty": {
  18276. "description": "采购量.",
  18277. "type": "string"
  18278. },
  18279. "futurepl": {
  18280. "description": "期货盈亏.",
  18281. "type": "number"
  18282. },
  18283. "futureqty": {
  18284. "description": "期货敞口.",
  18285. "type": "string"
  18286. },
  18287. "goodsid": {
  18288. "description": "商品名称/商品代码.",
  18289. "type": "string"
  18290. },
  18291. "hedgingqty": {
  18292. "description": "套保量.",
  18293. "type": "string"
  18294. },
  18295. "sellamount": {
  18296. "description": "销售额.",
  18297. "type": "number"
  18298. },
  18299. "sellqty": {
  18300. "description": "销售量.",
  18301. "type": "string"
  18302. },
  18303. "spotmarketvalue": {
  18304. "description": "现货市值.",
  18305. "type": "number"
  18306. },
  18307. "spotpl": {
  18308. "description": "浮动权益.",
  18309. "type": "number"
  18310. },
  18311. "spotqty": {
  18312. "description": "现货量.",
  18313. "type": "string"
  18314. },
  18315. "statu": {
  18316. "description": "状态,0-未结束 1-已结束.",
  18317. "type": "integer"
  18318. },
  18319. "totalpl": {
  18320. "description": "总盈亏.",
  18321. "type": "number"
  18322. },
  18323. "totalqty": {
  18324. "description": "总敞口.",
  18325. "type": "string"
  18326. },
  18327. "type": {
  18328. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  18329. "type": "integer"
  18330. }
  18331. }
  18332. },
  18333. "erms3.QuerySpotContractAppleFormRsp": {
  18334. "type": "object",
  18335. "properties": {
  18336. "goodses": {
  18337. "description": "合约列表",
  18338. "type": "array",
  18339. "items": {
  18340. "$ref": "#/definitions/models.GoodsIDAndName"
  18341. }
  18342. },
  18343. "oppositeusers": {
  18344. "description": "对方账号列表",
  18345. "type": "array",
  18346. "items": {
  18347. "$ref": "#/definitions/erms3.CustomerInfo"
  18348. }
  18349. },
  18350. "ouruser": {
  18351. "description": "我方账号",
  18352. "$ref": "#/definitions/erms3.CustomerInfo"
  18353. },
  18354. "warehouseinfos": {
  18355. "description": "仓库信息列表",
  18356. "type": "array",
  18357. "items": {
  18358. "$ref": "#/definitions/models.Warehouseinfo"
  18359. }
  18360. },
  18361. "wrstandards": {
  18362. "description": "仓单标准列表",
  18363. "type": "array",
  18364. "items": {
  18365. "$ref": "#/definitions/models.WRStandardInfo"
  18366. }
  18367. }
  18368. }
  18369. },
  18370. "erms3.QuerySpotContractInfoRsp": {
  18371. "type": "object",
  18372. "properties": {
  18373. "accountid": {
  18374. "description": "表示交易员ID.",
  18375. "type": "integer"
  18376. },
  18377. "curdeliveryqty": {
  18378. "description": "表示未交收量.",
  18379. "type": "number"
  18380. },
  18381. "customername": {
  18382. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  18383. "type": "string"
  18384. },
  18385. "deliverygoodsid": {
  18386. "description": "表示品种ID.",
  18387. "type": "string"
  18388. },
  18389. "deliveryqty": {
  18390. "description": "表示交收量.",
  18391. "type": "number"
  18392. },
  18393. "matchaccountid": {
  18394. "description": "表示业务员ID.",
  18395. "type": "integer"
  18396. },
  18397. "matchcustomername": {
  18398. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  18399. "type": "string"
  18400. },
  18401. "priceqty": {
  18402. "description": "表示定价量.",
  18403. "type": "number"
  18404. },
  18405. "relatedbizid": {
  18406. "description": "表示业务ID.",
  18407. "type": "string"
  18408. },
  18409. "signdate": {
  18410. "description": "表示签订日期.",
  18411. "type": "string"
  18412. },
  18413. "spotcontractid": {
  18414. "description": "合同ID",
  18415. "type": "string"
  18416. },
  18417. "status": {
  18418. "description": "表示状态,0-履约中 1-已完成.",
  18419. "type": "integer"
  18420. },
  18421. "totalqty": {
  18422. "description": "表示合同量.",
  18423. "type": "number"
  18424. },
  18425. "unpricedqty": {
  18426. "description": "表示未定价量.",
  18427. "type": "number"
  18428. },
  18429. "wrstandardname": {
  18430. "description": "表示商品ID.",
  18431. "type": "string"
  18432. }
  18433. }
  18434. },
  18435. "erms3.QueryUserInfoAppliesRsp": {
  18436. "type": "object",
  18437. "required": [
  18438. "userid"
  18439. ],
  18440. "properties": {
  18441. "biznature": {
  18442. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18443. "type": "integer"
  18444. },
  18445. "contactname": {
  18446. "description": "联系人",
  18447. "type": "string"
  18448. },
  18449. "createtime": {
  18450. "description": "开户申请时间",
  18451. "type": "string"
  18452. },
  18453. "userid": {
  18454. "description": "用户ID(自增ID)",
  18455. "type": "integer"
  18456. },
  18457. "userinfotype": {
  18458. "description": "用户信息类型 - 1:个人 2:企业",
  18459. "type": "integer"
  18460. },
  18461. "username": {
  18462. "description": "用户姓名",
  18463. "type": "string"
  18464. },
  18465. "userstate": {
  18466. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18467. "type": "integer"
  18468. }
  18469. }
  18470. },
  18471. "erms3.QueryUserInfosRsp": {
  18472. "type": "object",
  18473. "required": [
  18474. "userid"
  18475. ],
  18476. "properties": {
  18477. "biznature": {
  18478. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18479. "type": "integer"
  18480. },
  18481. "contactname": {
  18482. "description": "联系人",
  18483. "type": "string"
  18484. },
  18485. "customername": {
  18486. "description": "客户名称(企业名称)",
  18487. "type": "string"
  18488. },
  18489. "userid": {
  18490. "description": "用户ID",
  18491. "type": "integer"
  18492. },
  18493. "userinfotype": {
  18494. "description": "用户信息类型 - 1:个人 2:企业",
  18495. "type": "integer"
  18496. },
  18497. "userstatus": {
  18498. "description": "用户状态 - 1:正常 2:注销",
  18499. "type": "integer"
  18500. }
  18501. }
  18502. },
  18503. "erms3.SoptContractDetail": {
  18504. "type": "object",
  18505. "required": [
  18506. "deliverygoodsid",
  18507. "producttype",
  18508. "unitname",
  18509. "warehouseid",
  18510. "wrstandardid",
  18511. "wrstandardname"
  18512. ],
  18513. "properties": {
  18514. "deliverygoodsdesc": {
  18515. "description": "现货品种说明",
  18516. "type": "string"
  18517. },
  18518. "deliverygoodsid": {
  18519. "description": "现货品种ID",
  18520. "type": "integer"
  18521. },
  18522. "deliverygoodsname": {
  18523. "description": "现货品种名称",
  18524. "type": "string"
  18525. },
  18526. "pointdesc": {
  18527. "description": "点价描述",
  18528. "type": "string"
  18529. },
  18530. "producttype": {
  18531. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  18532. "type": "integer"
  18533. },
  18534. "producttypename": {
  18535. "description": "产品类型名称",
  18536. "type": "string"
  18537. },
  18538. "spotPointOrderVoList": {
  18539. "description": "点价列表",
  18540. "type": "array",
  18541. "items": {
  18542. "$ref": "#/definitions/erms3.SpotPointOrder"
  18543. }
  18544. },
  18545. "spotPriceOrderList": {
  18546. "description": "定价列表",
  18547. "type": "array",
  18548. "items": {
  18549. "$ref": "#/definitions/erms3.SpotPriceOrder"
  18550. }
  18551. },
  18552. "unitname": {
  18553. "description": "单位名称",
  18554. "type": "string"
  18555. },
  18556. "warehouseid": {
  18557. "description": "仓库ID",
  18558. "type": "integer"
  18559. },
  18560. "warehousename": {
  18561. "description": "仓库名称",
  18562. "type": "string"
  18563. },
  18564. "wrstandardid": {
  18565. "description": "交易标的ID",
  18566. "type": "integer"
  18567. },
  18568. "wrstandardname": {
  18569. "description": "交易标的名称",
  18570. "type": "string"
  18571. }
  18572. }
  18573. },
  18574. "erms3.SpotPointOrder": {
  18575. "type": "object",
  18576. "required": [
  18577. "basic",
  18578. "goodsid",
  18579. "qty"
  18580. ],
  18581. "properties": {
  18582. "basic": {
  18583. "description": "基差",
  18584. "type": "number"
  18585. },
  18586. "deliveryenddate": {
  18587. "description": "交收结束日期",
  18588. "type": "string"
  18589. },
  18590. "deliverystartdate": {
  18591. "description": "交收开始日期",
  18592. "type": "string"
  18593. },
  18594. "enddate": {
  18595. "description": "点价结束日期",
  18596. "type": "string"
  18597. },
  18598. "goodsid": {
  18599. "description": "商品ID",
  18600. "type": "integer"
  18601. },
  18602. "goodsname": {
  18603. "description": "商品名称",
  18604. "type": "string"
  18605. },
  18606. "qty": {
  18607. "description": "数量",
  18608. "type": "number"
  18609. },
  18610. "startdate": {
  18611. "description": "点价开始日期",
  18612. "type": "string"
  18613. }
  18614. }
  18615. },
  18616. "erms3.SpotPriceOrder": {
  18617. "type": "object",
  18618. "required": [
  18619. "amount",
  18620. "price",
  18621. "qty"
  18622. ],
  18623. "properties": {
  18624. "amount": {
  18625. "description": "金额",
  18626. "type": "number"
  18627. },
  18628. "deliveryenddate": {
  18629. "description": "交收结束日期",
  18630. "type": "string"
  18631. },
  18632. "deliverystartdate": {
  18633. "description": "交收开始日期",
  18634. "type": "string"
  18635. },
  18636. "price": {
  18637. "description": "价格",
  18638. "type": "number"
  18639. },
  18640. "qty": {
  18641. "description": "数量",
  18642. "type": "number"
  18643. }
  18644. }
  18645. },
  18646. "hsby.GetHsbyMyCountRsp": {
  18647. "type": "object",
  18648. "properties": {
  18649. "myCouponCount": {
  18650. "description": "我的优惠卷数量",
  18651. "type": "integer"
  18652. },
  18653. "myOrderDetailListingCount": {
  18654. "description": "我的订单求购中数量",
  18655. "type": "integer"
  18656. },
  18657. "myOrderDetailPreCount": {
  18658. "description": "我的订单抢购中数量",
  18659. "type": "integer"
  18660. },
  18661. "myPackageUnReceiveCount": {
  18662. "description": "我的包裹待收货数量",
  18663. "type": "integer"
  18664. },
  18665. "myPackageUnSendCount": {
  18666. "description": "我的包裹待发货数量",
  18667. "type": "integer"
  18668. },
  18669. "myPayOrderCount": {
  18670. "description": "我的订单待付款数量",
  18671. "type": "integer"
  18672. }
  18673. }
  18674. },
  18675. "hsby.QueryProvincesAndCitiesRsp": {
  18676. "type": "object",
  18677. "properties": {
  18678. "cities": {
  18679. "description": "市",
  18680. "type": "array",
  18681. "items": {
  18682. "$ref": "#/definitions/models.Division"
  18683. }
  18684. },
  18685. "province": {
  18686. "description": "省",
  18687. "$ref": "#/definitions/models.Division"
  18688. }
  18689. }
  18690. },
  18691. "models.Arearole": {
  18692. "type": "object",
  18693. "required": [
  18694. "roletype",
  18695. "userid"
  18696. ],
  18697. "properties": {
  18698. "createtime": {
  18699. "description": "创建时间",
  18700. "type": "string"
  18701. },
  18702. "creatorid": {
  18703. "description": "创建人ID",
  18704. "type": "integer"
  18705. },
  18706. "fromuserid": {
  18707. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  18708. "type": "integer"
  18709. },
  18710. "isreturnscore": {
  18711. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  18712. "type": "integer"
  18713. },
  18714. "modifierid": {
  18715. "description": "修改人ID",
  18716. "type": "integer"
  18717. },
  18718. "modifytime": {
  18719. "description": "修改时间",
  18720. "type": "string"
  18721. },
  18722. "orgtype": {
  18723. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  18724. "type": "integer"
  18725. },
  18726. "outuserid": {
  18727. "description": "外部账户[场外期权做市商]",
  18728. "type": "string"
  18729. },
  18730. "parentuserid": {
  18731. "description": "上级组织机构(组织机构)",
  18732. "type": "integer"
  18733. },
  18734. "roletype": {
  18735. "description": "角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店",
  18736. "type": "integer"
  18737. },
  18738. "rootuserid": {
  18739. "description": "顶级组织机构用户ID(组织机构)",
  18740. "type": "integer"
  18741. },
  18742. "shoppassword": {
  18743. "description": "商城店铺登陆密码(商城店铺角色使用)",
  18744. "type": "string"
  18745. },
  18746. "sublevelpath": {
  18747. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  18748. "type": "string"
  18749. },
  18750. "suborgtype": {
  18751. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  18752. "type": "integer"
  18753. },
  18754. "tradeaccountid": {
  18755. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  18756. "type": "integer"
  18757. },
  18758. "transurl": {
  18759. "description": "物流地址(物流机构)",
  18760. "type": "string"
  18761. },
  18762. "userid": {
  18763. "description": "机构用户ID其他做市关系,都设置为 1",
  18764. "type": "integer"
  18765. }
  18766. }
  18767. },
  18768. "models.Clientfixedadconfig": {
  18769. "type": "object",
  18770. "required": [
  18771. "adsort",
  18772. "adtype"
  18773. ],
  18774. "properties": {
  18775. "adsort": {
  18776. "description": "排序",
  18777. "type": "integer"
  18778. },
  18779. "adtype": {
  18780. "description": "广告位类型 - 1:新品抢购(HSBY)",
  18781. "type": "integer"
  18782. },
  18783. "areauserid": {
  18784. "description": "所属机构ID",
  18785. "type": "integer"
  18786. },
  18787. "createdate": {
  18788. "description": "创建时间",
  18789. "type": "string"
  18790. },
  18791. "creatorid": {
  18792. "description": "创建人",
  18793. "type": "integer"
  18794. },
  18795. "imagepath": {
  18796. "description": "图片",
  18797. "type": "string"
  18798. },
  18799. "isshow": {
  18800. "description": "是否展示 - 0:不展示 1:展示",
  18801. "type": "integer"
  18802. },
  18803. "modifierid": {
  18804. "description": "操作人",
  18805. "type": "integer"
  18806. },
  18807. "recsize": {
  18808. "description": "推荐尺寸",
  18809. "type": "string"
  18810. },
  18811. "title": {
  18812. "description": "标题",
  18813. "type": "string"
  18814. },
  18815. "updatedate": {
  18816. "description": "更新时间",
  18817. "type": "string"
  18818. },
  18819. "urlcontent": {
  18820. "description": "链接(地址或商品ID)",
  18821. "type": "string"
  18822. },
  18823. "urltype": {
  18824. "description": "链接类型 - 1:直接地址 2:商品ID",
  18825. "type": "integer"
  18826. }
  18827. }
  18828. },
  18829. "models.Division": {
  18830. "type": "object",
  18831. "required": [
  18832. "autoid",
  18833. "divisioncode"
  18834. ],
  18835. "properties": {
  18836. "autoid": {
  18837. "description": "自增ID",
  18838. "type": "integer"
  18839. },
  18840. "divisioncode": {
  18841. "description": "行政代码",
  18842. "type": "string"
  18843. },
  18844. "divisionlevel": {
  18845. "description": "行政级别",
  18846. "type": "string"
  18847. },
  18848. "divisionname": {
  18849. "description": "行政名称",
  18850. "type": "string"
  18851. },
  18852. "modifierid": {
  18853. "description": "修改人",
  18854. "type": "integer"
  18855. },
  18856. "modifytime": {
  18857. "description": "修改时间",
  18858. "type": "string"
  18859. },
  18860. "parentcode": {
  18861. "description": "上级行政代码",
  18862. "type": "string"
  18863. },
  18864. "pathname": {
  18865. "description": "路径名称",
  18866. "type": "string"
  18867. },
  18868. "postcode": {
  18869. "description": "邮政编码",
  18870. "type": "string"
  18871. },
  18872. "separablename": {
  18873. "description": "可拆分的全称",
  18874. "type": "string"
  18875. },
  18876. "shortcode": {
  18877. "description": "地区简码",
  18878. "type": "string"
  18879. }
  18880. }
  18881. },
  18882. "models.Enumdicitem": {
  18883. "type": "object",
  18884. "required": [
  18885. "autoid",
  18886. "enumdiccode",
  18887. "enumdicid",
  18888. "enumitemname"
  18889. ],
  18890. "properties": {
  18891. "autoid": {
  18892. "description": "自增ID",
  18893. "type": "integer"
  18894. },
  18895. "bankmappedvalue": {
  18896. "description": "银行服务对应值",
  18897. "type": "string"
  18898. },
  18899. "enumdiccode": {
  18900. "description": "所属枚举代码",
  18901. "type": "string"
  18902. },
  18903. "enumdicid": {
  18904. "description": "所属枚举ID",
  18905. "type": "integer"
  18906. },
  18907. "enumdicname": {
  18908. "description": "枚举项名称",
  18909. "type": "string"
  18910. },
  18911. "enumitemname": {
  18912. "description": "枚举项值",
  18913. "type": "integer"
  18914. },
  18915. "enumitemstatus": {
  18916. "description": "枚举项状态 - 1.启用 2.不启用",
  18917. "type": "integer"
  18918. },
  18919. "enumitemvalue": {
  18920. "description": "通用值 - [币种通用简写]",
  18921. "type": "string"
  18922. },
  18923. "param1": {
  18924. "description": "参数1[币种:币种小数位]",
  18925. "type": "string"
  18926. },
  18927. "param2": {
  18928. "description": "参数1[币种:币种显示单位]",
  18929. "type": "string"
  18930. },
  18931. "remark": {
  18932. "description": "备注",
  18933. "type": "string"
  18934. }
  18935. }
  18936. },
  18937. "models.Ermcp3AreaSpot": {
  18938. "type": "object",
  18939. "properties": {
  18940. "areauserid": {
  18941. "description": "所属机构",
  18942. "type": "integer"
  18943. },
  18944. "convertratio": {
  18945. "description": "套保系数",
  18946. "type": "number"
  18947. },
  18948. "decreaseqty": {
  18949. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  18950. "type": "number"
  18951. },
  18952. "enumdicname": {
  18953. "description": "单位名称",
  18954. "type": "string"
  18955. },
  18956. "increaseqty": {
  18957. "description": "增加数量=销售计划数量+采购已定价数量",
  18958. "type": "number"
  18959. },
  18960. "oritoalspotqty": {
  18961. "description": "昨日数量",
  18962. "type": "number"
  18963. },
  18964. "totalspotqty": {
  18965. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  18966. "type": "number"
  18967. },
  18968. "unitid": {
  18969. "description": "现货商品单位id",
  18970. "type": "integer"
  18971. },
  18972. "updatetime": {
  18973. "description": "更新时间",
  18974. "type": "string"
  18975. },
  18976. "wrstandardcode": {
  18977. "description": "现货商品代码",
  18978. "type": "string"
  18979. },
  18980. "wrstandardid": {
  18981. "description": "现货商品ID(SEQ_WRSTANDARD)",
  18982. "type": "integer"
  18983. },
  18984. "wrstandardname": {
  18985. "description": "现货商品名称",
  18986. "type": "string"
  18987. }
  18988. }
  18989. },
  18990. "models.Ermcp3AreaSpotDetail": {
  18991. "type": "object",
  18992. "properties": {
  18993. "contracttype": {
  18994. "description": "合同类型 1-采购 -1-销售",
  18995. "type": "integer"
  18996. },
  18997. "createtime": {
  18998. "description": "创建时间",
  18999. "type": "string"
  19000. },
  19001. "enumdicname": {
  19002. "description": "现货商品单位名称",
  19003. "type": "string"
  19004. },
  19005. "logtype": {
  19006. "description": "记录类型 1-套保 2-现货合同",
  19007. "type": "integer"
  19008. },
  19009. "qty": {
  19010. "description": "数量",
  19011. "type": "number"
  19012. },
  19013. "recordname": {
  19014. "description": "类型名称",
  19015. "type": "string"
  19016. },
  19017. "relatedid": {
  19018. "description": "套保计划ID/现货合同ID",
  19019. "type": "string"
  19020. },
  19021. "relatedno": {
  19022. "description": "编号",
  19023. "type": "string"
  19024. },
  19025. "strtime": {
  19026. "description": "时间",
  19027. "type": "string"
  19028. },
  19029. "wrstandardcode": {
  19030. "description": "现货商品代码",
  19031. "type": "string"
  19032. },
  19033. "wrstandardid": {
  19034. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19035. "type": "integer"
  19036. },
  19037. "wrstandardname": {
  19038. "description": "现货商品名称",
  19039. "type": "string"
  19040. }
  19041. }
  19042. },
  19043. "models.Ermcp3AreaSpotPLReport": {
  19044. "type": "object",
  19045. "properties": {
  19046. "accountid": {
  19047. "description": "期货账户ID (作废, 默认为0)",
  19048. "type": "integer"
  19049. },
  19050. "accountname": {
  19051. "description": "机构名称",
  19052. "type": "string"
  19053. },
  19054. "actualpl": {
  19055. "description": "现货损益",
  19056. "type": "number"
  19057. },
  19058. "areauserid": {
  19059. "description": "所属机构\\交易用户ID",
  19060. "type": "integer"
  19061. },
  19062. "begindate": {
  19063. "description": "开始交易日",
  19064. "type": "string"
  19065. },
  19066. "biztype": {
  19067. "description": "业务类型 - 1:套保 2:套利",
  19068. "type": "integer"
  19069. },
  19070. "brandname": {
  19071. "description": "品牌名称",
  19072. "type": "string"
  19073. },
  19074. "curamount": {
  19075. "description": "期末额",
  19076. "type": "number"
  19077. },
  19078. "curaverageprice": {
  19079. "description": "期末均价",
  19080. "type": "number"
  19081. },
  19082. "curbuyamount": {
  19083. "description": "期末采购总额",
  19084. "type": "number"
  19085. },
  19086. "curbuyqty": {
  19087. "description": "期末采购总量",
  19088. "type": "number"
  19089. },
  19090. "curmarketvalue": {
  19091. "description": "参考市值(期末市值)",
  19092. "type": "number"
  19093. },
  19094. "curqty": {
  19095. "description": "期末量",
  19096. "type": "number"
  19097. },
  19098. "currencyid": {
  19099. "description": "结算币种ID【原值】",
  19100. "type": "integer"
  19101. },
  19102. "currencyname": {
  19103. "description": "币种名称",
  19104. "type": "string"
  19105. },
  19106. "cursellamount": {
  19107. "description": "期末销售总额",
  19108. "type": "number"
  19109. },
  19110. "cursellqty": {
  19111. "description": "期末销售总量",
  19112. "type": "number"
  19113. },
  19114. "curspotprice": {
  19115. "description": "参考市价(最新价)",
  19116. "type": "number"
  19117. },
  19118. "cycletime": {
  19119. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19120. "type": "string"
  19121. },
  19122. "cycletype": {
  19123. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19124. "type": "integer"
  19125. },
  19126. "deliverygoodscode": {
  19127. "description": "现货商品代码",
  19128. "type": "string"
  19129. },
  19130. "deliverygoodsid": {
  19131. "description": "现货品种ID",
  19132. "type": "integer"
  19133. },
  19134. "deliverygoodsname": {
  19135. "description": "现货商品名称",
  19136. "type": "string"
  19137. },
  19138. "enddate": {
  19139. "description": "结束交易日",
  19140. "type": "string"
  19141. },
  19142. "enumdicname": {
  19143. "description": "现货商品单位名称",
  19144. "type": "string"
  19145. },
  19146. "floatpl": {
  19147. "description": "浮动损益",
  19148. "type": "number"
  19149. },
  19150. "goodsunitid": {
  19151. "description": "现货商品单位id",
  19152. "type": "integer"
  19153. },
  19154. "oriamount": {
  19155. "description": "期初额",
  19156. "type": "number"
  19157. },
  19158. "oriaverageprice": {
  19159. "description": "期初均价",
  19160. "type": "number"
  19161. },
  19162. "oribuyamount": {
  19163. "description": "期初采购总额",
  19164. "type": "number"
  19165. },
  19166. "oribuyqty": {
  19167. "description": "期初采购总量",
  19168. "type": "number"
  19169. },
  19170. "oriqty": {
  19171. "description": "期初量",
  19172. "type": "number"
  19173. },
  19174. "orisellamount": {
  19175. "description": "期初销售总额",
  19176. "type": "number"
  19177. },
  19178. "orisellqty": {
  19179. "description": "期初销售总量",
  19180. "type": "number"
  19181. },
  19182. "reckondate": {
  19183. "description": "日照时期(yyyyMMdd)",
  19184. "type": "string"
  19185. },
  19186. "spotgoodsbrandid": {
  19187. "description": "现货品牌ID",
  19188. "type": "integer"
  19189. },
  19190. "todaybuyamount": {
  19191. "description": "今日采购额(今采购额)",
  19192. "type": "number"
  19193. },
  19194. "todaybuyaverageprice": {
  19195. "description": "今日采购均价",
  19196. "type": "number"
  19197. },
  19198. "todaybuyqty": {
  19199. "description": "今日采购量(今采购量)",
  19200. "type": "number"
  19201. },
  19202. "todayinqty": {
  19203. "description": "今日入库量(今入库量)",
  19204. "type": "number"
  19205. },
  19206. "todayoutqty": {
  19207. "description": "今日出库量(今出库量)",
  19208. "type": "number"
  19209. },
  19210. "todaysellamount": {
  19211. "description": "今日销售额(今销售额)",
  19212. "type": "number"
  19213. },
  19214. "todaysellaverageprice": {
  19215. "description": "今日销售均价",
  19216. "type": "number"
  19217. },
  19218. "todaysellqty": {
  19219. "description": "今日销售量(今销售量)",
  19220. "type": "number"
  19221. },
  19222. "unitid": {
  19223. "description": "品类单位id",
  19224. "type": "integer"
  19225. },
  19226. "unitidname": {
  19227. "description": "品类单位名称",
  19228. "type": "string"
  19229. },
  19230. "updatetime": {
  19231. "description": "更新时间",
  19232. "type": "string"
  19233. },
  19234. "wrfactortypeid": {
  19235. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19236. "type": "integer"
  19237. },
  19238. "wrstandardcode": {
  19239. "description": "品类代码",
  19240. "type": "string"
  19241. },
  19242. "wrstandardid": {
  19243. "description": "现货品类ID",
  19244. "type": "integer"
  19245. },
  19246. "wrstandardname": {
  19247. "description": "品类名称",
  19248. "type": "string"
  19249. }
  19250. }
  19251. },
  19252. "models.Ermcp3AreaStock": {
  19253. "type": "object",
  19254. "required": [
  19255. "userid"
  19256. ],
  19257. "properties": {
  19258. "brandname": {
  19259. "description": "品牌名称",
  19260. "type": "string"
  19261. },
  19262. "curstock": {
  19263. "description": "期末库存量(今日量)",
  19264. "type": "number"
  19265. },
  19266. "deliverygoodscode": {
  19267. "description": "现货品种代码",
  19268. "type": "string"
  19269. },
  19270. "deliverygoodsid": {
  19271. "description": "现货品种id",
  19272. "type": "integer"
  19273. },
  19274. "deliverygoodsname": {
  19275. "description": "现货品种名称",
  19276. "type": "string"
  19277. },
  19278. "enumdicname": {
  19279. "description": "单位名称",
  19280. "type": "string"
  19281. },
  19282. "goodsunitid": {
  19283. "description": "现货商品单位id",
  19284. "type": "integer"
  19285. },
  19286. "oristock": {
  19287. "description": "期初库存量(昨日量)",
  19288. "type": "number"
  19289. },
  19290. "spotgoodsbrandid": {
  19291. "description": "现货品牌ID",
  19292. "type": "integer"
  19293. },
  19294. "todaybuyinqty": {
  19295. "description": "今日采购入库量",
  19296. "type": "number"
  19297. },
  19298. "todayproduceinqty": {
  19299. "description": "今日生产入库量",
  19300. "type": "number"
  19301. },
  19302. "todayproduceoutqty": {
  19303. "description": "今日生产出库量",
  19304. "type": "number"
  19305. },
  19306. "todayselloutqty": {
  19307. "description": "今日销售出库量",
  19308. "type": "number"
  19309. },
  19310. "unitid": {
  19311. "description": "单位id",
  19312. "type": "integer"
  19313. },
  19314. "updatetime": {
  19315. "description": "更新时间",
  19316. "type": "string"
  19317. },
  19318. "userid": {
  19319. "description": "机构ID",
  19320. "type": "integer"
  19321. },
  19322. "username": {
  19323. "description": "机构名称",
  19324. "type": "string"
  19325. },
  19326. "warehousecode": {
  19327. "description": "仓库代码",
  19328. "type": "string"
  19329. },
  19330. "warehouseinfoid": {
  19331. "description": "仓库ID",
  19332. "type": "string"
  19333. },
  19334. "warehousename": {
  19335. "description": "仓库名称",
  19336. "type": "string"
  19337. },
  19338. "warehousetype": {
  19339. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19340. "type": "integer"
  19341. },
  19342. "wrstandardcode": {
  19343. "description": "品类代码",
  19344. "type": "string"
  19345. },
  19346. "wrstandardid": {
  19347. "description": "品类ID",
  19348. "type": "string"
  19349. },
  19350. "wrstandardname": {
  19351. "description": "品类名称",
  19352. "type": "string"
  19353. }
  19354. }
  19355. },
  19356. "models.Ermcp3AreaStockApply": {
  19357. "type": "object",
  19358. "properties": {
  19359. "applyid": {
  19360. "description": "申请人",
  19361. "type": "integer"
  19362. },
  19363. "applyname": {
  19364. "description": "申请人名称",
  19365. "type": "string"
  19366. },
  19367. "applyremark": {
  19368. "description": "申请备注",
  19369. "type": "string"
  19370. },
  19371. "applysrc": {
  19372. "description": "申请来源 - 1:管理端 2:终端",
  19373. "type": "integer"
  19374. },
  19375. "applystatus": {
  19376. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19377. "type": "integer"
  19378. },
  19379. "applytime": {
  19380. "description": "申请时间",
  19381. "type": "string"
  19382. },
  19383. "auditid": {
  19384. "description": "审核人",
  19385. "type": "integer"
  19386. },
  19387. "auditname": {
  19388. "description": "审核人名称",
  19389. "type": "string"
  19390. },
  19391. "auditremark": {
  19392. "description": "审核备注",
  19393. "type": "string"
  19394. },
  19395. "auditsrc": {
  19396. "description": "审核来源 - 1:管理端 2:终端",
  19397. "type": "integer"
  19398. },
  19399. "audittime": {
  19400. "description": "审核时间",
  19401. "type": "string"
  19402. },
  19403. "audittradedate": {
  19404. "description": "审核交易日(yyyyMMdd)",
  19405. "type": "string"
  19406. },
  19407. "brandname": {
  19408. "description": "品牌名称",
  19409. "type": "string"
  19410. },
  19411. "buynickname": {
  19412. "description": "采购方昵称",
  19413. "type": "string"
  19414. },
  19415. "buyuserid": {
  19416. "description": "采购方userid",
  19417. "type": "integer"
  19418. },
  19419. "buyusername": {
  19420. "description": "采购方名称",
  19421. "type": "string"
  19422. },
  19423. "contractno": {
  19424. "description": "合同编号",
  19425. "type": "string"
  19426. },
  19427. "contractqty": {
  19428. "description": "合同量",
  19429. "type": "number"
  19430. },
  19431. "contracttype": {
  19432. "description": "现货合同类型 - 1:采购 -1:销售",
  19433. "type": "integer"
  19434. },
  19435. "deliverygoodscode": {
  19436. "description": "现货品种代码",
  19437. "type": "string"
  19438. },
  19439. "deliverygoodsid": {
  19440. "description": "现货品种id",
  19441. "type": "integer"
  19442. },
  19443. "deliverygoodsname": {
  19444. "description": "现货品种名称",
  19445. "type": "string"
  19446. },
  19447. "detailjson": {
  19448. "description": "明细数据",
  19449. "type": "string"
  19450. },
  19451. "enumdicname": {
  19452. "description": "现货商品单位名称",
  19453. "type": "string"
  19454. },
  19455. "inoutapplyid": {
  19456. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  19457. "type": "string"
  19458. },
  19459. "inouttype": {
  19460. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19461. "type": "integer"
  19462. },
  19463. "pricetype": {
  19464. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19465. "type": "integer"
  19466. },
  19467. "qty": {
  19468. "description": "数量",
  19469. "type": "number"
  19470. },
  19471. "sellnickname": {
  19472. "description": "销售方昵称",
  19473. "type": "string"
  19474. },
  19475. "selluserid": {
  19476. "description": "销售方userid",
  19477. "type": "integer"
  19478. },
  19479. "sellusername": {
  19480. "description": "销售方名称",
  19481. "type": "string"
  19482. },
  19483. "spotcontractid": {
  19484. "description": "关联现货合同ID",
  19485. "type": "string"
  19486. },
  19487. "spotgoodsbrandid": {
  19488. "description": "现货品牌ID",
  19489. "type": "integer"
  19490. },
  19491. "unitid": {
  19492. "description": "单位id",
  19493. "type": "integer"
  19494. },
  19495. "userid": {
  19496. "description": "机构ID",
  19497. "type": "integer"
  19498. },
  19499. "warehousecode": {
  19500. "description": "仓库代码",
  19501. "type": "string"
  19502. },
  19503. "warehouseinfoid": {
  19504. "description": "现货仓库ID",
  19505. "type": "string"
  19506. },
  19507. "warehousename": {
  19508. "description": "仓库名称",
  19509. "type": "string"
  19510. },
  19511. "warehousetype": {
  19512. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19513. "type": "integer"
  19514. },
  19515. "wrstandardcode": {
  19516. "description": "品类代码",
  19517. "type": "string"
  19518. },
  19519. "wrstandardid": {
  19520. "description": "品类ID",
  19521. "type": "integer"
  19522. },
  19523. "wrstandardname": {
  19524. "description": "品类名称",
  19525. "type": "string"
  19526. }
  19527. }
  19528. },
  19529. "models.Ermcp3AreaStockApplySum": {
  19530. "type": "object",
  19531. "properties": {
  19532. "brandname": {
  19533. "description": "品牌名称",
  19534. "type": "string"
  19535. },
  19536. "inouttype": {
  19537. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19538. "type": "integer"
  19539. },
  19540. "spotcontractid": {
  19541. "description": "关联现货合同ID",
  19542. "type": "string"
  19543. },
  19544. "spotgoodsbrandid": {
  19545. "description": "品牌id",
  19546. "type": "integer"
  19547. },
  19548. "totalqty": {
  19549. "description": "总数量",
  19550. "type": "number"
  19551. },
  19552. "wrstandardid": {
  19553. "description": "品类id",
  19554. "type": "integer"
  19555. },
  19556. "wrstandardname": {
  19557. "description": "品类名称",
  19558. "type": "string"
  19559. }
  19560. }
  19561. },
  19562. "models.Ermcp3AreaStockReportEx": {
  19563. "type": "object",
  19564. "properties": {
  19565. "begindate": {
  19566. "description": "开始交易日",
  19567. "type": "string"
  19568. },
  19569. "brandname": {
  19570. "description": "品牌名称",
  19571. "type": "string"
  19572. },
  19573. "curstock": {
  19574. "description": "期末库存量",
  19575. "type": "number"
  19576. },
  19577. "cycletime": {
  19578. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19579. "type": "string"
  19580. },
  19581. "cycletype": {
  19582. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19583. "type": "integer"
  19584. },
  19585. "deliverygoodscode": {
  19586. "description": "现货品种代码",
  19587. "type": "string"
  19588. },
  19589. "deliverygoodsid": {
  19590. "description": "现货品种id",
  19591. "type": "integer"
  19592. },
  19593. "deliverygoodsname": {
  19594. "description": "现货品种名称",
  19595. "type": "string"
  19596. },
  19597. "diffqty": {
  19598. "description": "库存变化量 = 期末 - 期初",
  19599. "type": "number"
  19600. },
  19601. "enddate": {
  19602. "description": "结束交易日",
  19603. "type": "string"
  19604. },
  19605. "enumdicname": {
  19606. "description": "单位名称",
  19607. "type": "string"
  19608. },
  19609. "goodsunitid": {
  19610. "description": "现货单位id",
  19611. "type": "integer"
  19612. },
  19613. "oristock": {
  19614. "description": "期初库存量",
  19615. "type": "number"
  19616. },
  19617. "reckondate": {
  19618. "description": "日照时期(yyyyMMdd)",
  19619. "type": "string"
  19620. },
  19621. "spotgoodsbrandid": {
  19622. "description": "现货品牌ID",
  19623. "type": "integer"
  19624. },
  19625. "todaybuyinqty": {
  19626. "description": "今采购入库量",
  19627. "type": "number"
  19628. },
  19629. "todayproduceinqty": {
  19630. "description": "今内部入库量",
  19631. "type": "number"
  19632. },
  19633. "todayproduceoutqty": {
  19634. "description": "今内部出库量",
  19635. "type": "number"
  19636. },
  19637. "todayselloutqty": {
  19638. "description": "今销售出库量",
  19639. "type": "number"
  19640. },
  19641. "unbuyinqty": {
  19642. "description": "采购未入库量(数据库未找到相关字段?)",
  19643. "type": "number"
  19644. },
  19645. "unitid": {
  19646. "description": "品类单位id",
  19647. "type": "integer"
  19648. },
  19649. "unselloutqty": {
  19650. "description": "销售未出库量(数据库未找到相关字段?)",
  19651. "type": "number"
  19652. },
  19653. "updatetime": {
  19654. "description": "更新时间",
  19655. "type": "string"
  19656. },
  19657. "userid": {
  19658. "description": "机构ID",
  19659. "type": "integer"
  19660. },
  19661. "username": {
  19662. "description": "机构名称",
  19663. "type": "string"
  19664. },
  19665. "warehousecode": {
  19666. "description": "仓库代码",
  19667. "type": "string"
  19668. },
  19669. "warehouseinfoid": {
  19670. "description": "仓库ID",
  19671. "type": "string"
  19672. },
  19673. "warehousename": {
  19674. "description": "仓库名称",
  19675. "type": "string"
  19676. },
  19677. "warehousetype": {
  19678. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19679. "type": "integer"
  19680. },
  19681. "wrstandardcode": {
  19682. "description": "品类代码",
  19683. "type": "string"
  19684. },
  19685. "wrstandardid": {
  19686. "description": "品类ID",
  19687. "type": "integer"
  19688. },
  19689. "wrstandardname": {
  19690. "description": "品类名称",
  19691. "type": "string"
  19692. }
  19693. }
  19694. },
  19695. "models.Ermcp3ArealSumPL": {
  19696. "type": "object",
  19697. "properties": {
  19698. "accountname": {
  19699. "description": "机构名称",
  19700. "type": "string"
  19701. },
  19702. "areauserid": {
  19703. "description": "所属机构\\交易用户ID",
  19704. "type": "integer"
  19705. },
  19706. "begindate": {
  19707. "description": "开始交易日",
  19708. "type": "string"
  19709. },
  19710. "currencyid": {
  19711. "description": "结算币种ID",
  19712. "type": "integer"
  19713. },
  19714. "currencyname": {
  19715. "description": "币种名称",
  19716. "type": "string"
  19717. },
  19718. "cycletime": {
  19719. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19720. "type": "string"
  19721. },
  19722. "cycletype": {
  19723. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19724. "type": "integer"
  19725. },
  19726. "enddate": {
  19727. "description": "结束交易日",
  19728. "type": "string"
  19729. },
  19730. "enumdicname": {
  19731. "description": "单位名称(套保品种)",
  19732. "type": "string"
  19733. },
  19734. "futureactualpl": {
  19735. "description": "期货损益",
  19736. "type": "number"
  19737. },
  19738. "futurefloatpl": {
  19739. "description": "期货浮动损益",
  19740. "type": "number"
  19741. },
  19742. "goodsunitid": {
  19743. "description": "套保品种单位id",
  19744. "type": "integer"
  19745. },
  19746. "middlegoodscode": {
  19747. "description": "套保品种代码",
  19748. "type": "string"
  19749. },
  19750. "middlegoodsid": {
  19751. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  19752. "type": "integer"
  19753. },
  19754. "middlegoodsname": {
  19755. "description": "套保品种名称",
  19756. "type": "string"
  19757. },
  19758. "reckondate": {
  19759. "description": "日照时期(yyyyMMdd)",
  19760. "type": "string"
  19761. },
  19762. "spotactualpl": {
  19763. "description": "现货损益",
  19764. "type": "number"
  19765. },
  19766. "spotfloatpl": {
  19767. "description": "现货浮动损益",
  19768. "type": "number"
  19769. },
  19770. "sumactualpl": {
  19771. "description": "实际损益 = (ActualPL + FutureActualPL)",
  19772. "type": "number"
  19773. },
  19774. "sumpl": {
  19775. "description": "汇总损益",
  19776. "type": "number"
  19777. },
  19778. "updatetime": {
  19779. "description": "更新时间",
  19780. "type": "string"
  19781. }
  19782. }
  19783. },
  19784. "models.Ermcp3Brand": {
  19785. "type": "object",
  19786. "properties": {
  19787. "areauserid": {
  19788. "description": "用户id",
  19789. "type": "integer"
  19790. },
  19791. "brandid": {
  19792. "description": "品牌id",
  19793. "type": "integer"
  19794. },
  19795. "brandname": {
  19796. "description": "品牌名称",
  19797. "type": "string"
  19798. },
  19799. "deliverygoodsid": {
  19800. "description": "品种ID",
  19801. "type": "integer"
  19802. }
  19803. }
  19804. },
  19805. "models.Ermcp3Contract": {
  19806. "type": "object",
  19807. "properties": {
  19808. "accountid": {
  19809. "description": "期货账户id",
  19810. "type": "string"
  19811. },
  19812. "amount": {
  19813. "description": "金额 [1:一口价、3:暂定价]",
  19814. "type": "number"
  19815. },
  19816. "attachment": {
  19817. "description": "附件",
  19818. "type": "string"
  19819. },
  19820. "auditremark": {
  19821. "description": "审核意见",
  19822. "type": "string"
  19823. },
  19824. "audittime": {
  19825. "description": "审核时间",
  19826. "type": "string"
  19827. },
  19828. "biztype": {
  19829. "description": "业务类型 1-套保 2-套利",
  19830. "type": "integer"
  19831. },
  19832. "brandname": {
  19833. "description": "品牌名称",
  19834. "type": "string"
  19835. },
  19836. "buynickname": {
  19837. "description": "销售方昵称",
  19838. "type": "string"
  19839. },
  19840. "buyuserid": {
  19841. "description": "采购方ID",
  19842. "type": "integer"
  19843. },
  19844. "buyusername": {
  19845. "description": "采购方名称",
  19846. "type": "string"
  19847. },
  19848. "contracctstatus": {
  19849. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19850. "type": "integer"
  19851. },
  19852. "contractmargin": {
  19853. "description": "合同保证金",
  19854. "type": "number"
  19855. },
  19856. "contractno": {
  19857. "description": "现货合同编号",
  19858. "type": "string"
  19859. },
  19860. "contracttype": {
  19861. "description": "现货合同类型 - 1:采购 -1:销售",
  19862. "type": "integer"
  19863. },
  19864. "convertfactor": {
  19865. "description": "标仓系数(品类)",
  19866. "type": "number"
  19867. },
  19868. "createtime": {
  19869. "description": "创建时间",
  19870. "type": "string"
  19871. },
  19872. "currencyid": {
  19873. "description": "币种id",
  19874. "type": "integer"
  19875. },
  19876. "currencyname": {
  19877. "description": "币种名称",
  19878. "type": "string"
  19879. },
  19880. "deliveryenddate": {
  19881. "description": "交收期(结束)",
  19882. "type": "string"
  19883. },
  19884. "deliverygoodscode": {
  19885. "description": "现货品种代码",
  19886. "type": "string"
  19887. },
  19888. "deliverygoodsid": {
  19889. "description": "现货品种ID",
  19890. "type": "integer"
  19891. },
  19892. "deliverygoodsname": {
  19893. "description": "现货品种名称",
  19894. "type": "string"
  19895. },
  19896. "deliverystartdate": {
  19897. "description": "交收期(开始)",
  19898. "type": "string"
  19899. },
  19900. "enddate": {
  19901. "description": "点价结束日期 [2:点价 3:暂定价]",
  19902. "type": "string"
  19903. },
  19904. "enumdicname": {
  19905. "description": "单位名称",
  19906. "type": "string"
  19907. },
  19908. "goodscode": {
  19909. "description": "点价合约代码",
  19910. "type": "string"
  19911. },
  19912. "goodsid": {
  19913. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  19914. "type": "integer"
  19915. },
  19916. "goodsname": {
  19917. "description": "点价商品名称",
  19918. "type": "string"
  19919. },
  19920. "margin": {
  19921. "description": "当前保证金",
  19922. "type": "number"
  19923. },
  19924. "meruserid": {
  19925. "description": "跟单员id",
  19926. "type": "integer"
  19927. },
  19928. "meruserlogincode": {
  19929. "description": "跟单员登录代码",
  19930. "type": "string"
  19931. },
  19932. "merusername": {
  19933. "description": "跟单员名称",
  19934. "type": "string"
  19935. },
  19936. "price": {
  19937. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  19938. "type": "number"
  19939. },
  19940. "pricemove": {
  19941. "description": "升贴水 [2:点价 3:暂定价]",
  19942. "type": "number"
  19943. },
  19944. "pricetype": {
  19945. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19946. "type": "integer"
  19947. },
  19948. "producttype": {
  19949. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19950. "type": "integer"
  19951. },
  19952. "qty": {
  19953. "description": "数量",
  19954. "type": "number"
  19955. },
  19956. "remark": {
  19957. "description": "备注",
  19958. "type": "string"
  19959. },
  19960. "saleuserid": {
  19961. "description": "业务员id",
  19962. "type": "integer"
  19963. },
  19964. "saleuserlogincode": {
  19965. "description": "业务员登录代码",
  19966. "type": "string"
  19967. },
  19968. "saleusername": {
  19969. "description": "业务员名称",
  19970. "type": "string"
  19971. },
  19972. "sellnickname": {
  19973. "description": "采购方昵称",
  19974. "type": "string"
  19975. },
  19976. "selluserid": {
  19977. "description": "销售方ID",
  19978. "type": "integer"
  19979. },
  19980. "sellusername": {
  19981. "description": "销售方名称",
  19982. "type": "string"
  19983. },
  19984. "spotcontractid": {
  19985. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  19986. "type": "string"
  19987. },
  19988. "spotgoodsbrandid": {
  19989. "description": "现货品牌ID(DGFactoryItem表的ID)",
  19990. "type": "integer"
  19991. },
  19992. "spotgoodsdesc": {
  19993. "description": "商品型号",
  19994. "type": "string"
  19995. },
  19996. "startdate": {
  19997. "description": "点价开始日期 [2:点价 3:暂定价]",
  19998. "type": "string"
  19999. },
  20000. "subjectid": {
  20001. "description": "交易主体ID",
  20002. "type": "string"
  20003. },
  20004. "subjectname": {
  20005. "description": "交易主体名称",
  20006. "type": "string"
  20007. },
  20008. "tradeuserid": {
  20009. "description": "交易员id",
  20010. "type": "integer"
  20011. },
  20012. "tradeuserlogincode": {
  20013. "description": "交易员登录代码",
  20014. "type": "string"
  20015. },
  20016. "tradeusername": {
  20017. "description": "交易员名称",
  20018. "type": "string"
  20019. },
  20020. "unitid": {
  20021. "description": "单位id(取品类上的单位id)",
  20022. "type": "integer"
  20023. },
  20024. "updatetime": {
  20025. "description": "更新时间",
  20026. "type": "string"
  20027. },
  20028. "userid": {
  20029. "description": "所属机构ID",
  20030. "type": "integer"
  20031. },
  20032. "vatrate": {
  20033. "description": "增值税率",
  20034. "type": "number"
  20035. },
  20036. "wrstandardcode": {
  20037. "description": "品类代码",
  20038. "type": "string"
  20039. },
  20040. "wrstandardid": {
  20041. "description": "品类ID",
  20042. "type": "integer"
  20043. },
  20044. "wrstandardname": {
  20045. "description": "品类名称",
  20046. "type": "string"
  20047. }
  20048. }
  20049. },
  20050. "models.Ermcp3ExposureContractDetail": {
  20051. "type": "object",
  20052. "properties": {
  20053. "biztype": {
  20054. "description": "业务类型 1-套保 2-套利",
  20055. "type": "integer"
  20056. },
  20057. "brandname": {
  20058. "description": "品牌名称",
  20059. "type": "string"
  20060. },
  20061. "buyuserid": {
  20062. "description": "采购方id",
  20063. "type": "integer"
  20064. },
  20065. "buyusername": {
  20066. "description": "采购方名称",
  20067. "type": "string"
  20068. },
  20069. "contractno": {
  20070. "description": "合同编号",
  20071. "type": "string"
  20072. },
  20073. "contracttype": {
  20074. "description": "现货合同类型 - 1:采购 -1:销售",
  20075. "type": "integer"
  20076. },
  20077. "convertfactor": {
  20078. "description": "标仓系数",
  20079. "type": "number"
  20080. },
  20081. "convertratio": {
  20082. "description": "折算系数(套保品种)",
  20083. "type": "number"
  20084. },
  20085. "curqty": {
  20086. "description": "今定价量",
  20087. "type": "number"
  20088. },
  20089. "deliverygoodscode": {
  20090. "description": "现货商品代码",
  20091. "type": "string"
  20092. },
  20093. "deliverygoodsid": {
  20094. "description": "现货商品id",
  20095. "type": "integer"
  20096. },
  20097. "deliverygoodsname": {
  20098. "description": "现货商品名称",
  20099. "type": "string"
  20100. },
  20101. "diffhedgeqty": {
  20102. "description": "套保变动量",
  20103. "type": "number"
  20104. },
  20105. "diffneedhedgeqty": {
  20106. "description": "应套保变动量",
  20107. "type": "number"
  20108. },
  20109. "diffqty": {
  20110. "description": "套保品种今变动量",
  20111. "type": "number"
  20112. },
  20113. "enumdicname": {
  20114. "description": "单位名称",
  20115. "type": "string"
  20116. },
  20117. "mgunitname": {
  20118. "description": "套保品种单位名称",
  20119. "type": "string"
  20120. },
  20121. "middlegoodscode": {
  20122. "description": "套保品种代码",
  20123. "type": "string"
  20124. },
  20125. "middlegoodsid": {
  20126. "description": "套保品种id",
  20127. "type": "integer"
  20128. },
  20129. "middlegoodsname": {
  20130. "description": "套保品种名称",
  20131. "type": "string"
  20132. },
  20133. "needarbitrageratio": {
  20134. "description": "应套利比例",
  20135. "type": "number"
  20136. },
  20137. "needhedgeratio": {
  20138. "description": "应套保比例",
  20139. "type": "number"
  20140. },
  20141. "pricedqty": {
  20142. "description": "已定价量",
  20143. "type": "number"
  20144. },
  20145. "qty": {
  20146. "description": "合同量",
  20147. "type": "number"
  20148. },
  20149. "selluserid": {
  20150. "description": "销售方id",
  20151. "type": "integer"
  20152. },
  20153. "sellusername": {
  20154. "description": "销售方名称",
  20155. "type": "string"
  20156. },
  20157. "spotcontractid": {
  20158. "description": "合同id",
  20159. "type": "string"
  20160. },
  20161. "todaypricedqty": {
  20162. "description": "今定价量",
  20163. "type": "number"
  20164. },
  20165. "tradedate": {
  20166. "description": "交易日",
  20167. "type": "string"
  20168. },
  20169. "unitid": {
  20170. "description": "品类单位id",
  20171. "type": "integer"
  20172. },
  20173. "userid": {
  20174. "description": "机构id",
  20175. "type": "integer"
  20176. },
  20177. "username": {
  20178. "description": "交易用户",
  20179. "type": "string"
  20180. },
  20181. "wrstandardcode": {
  20182. "description": "品类代码",
  20183. "type": "string"
  20184. },
  20185. "wrstandardid": {
  20186. "description": "品类id",
  20187. "type": "integer"
  20188. },
  20189. "wrstandardname": {
  20190. "description": "品类名称",
  20191. "type": "string"
  20192. }
  20193. }
  20194. },
  20195. "models.Ermcp3ExposureDetail": {
  20196. "type": "object",
  20197. "properties": {
  20198. "areauserid": {
  20199. "description": "机构ID",
  20200. "type": "integer"
  20201. },
  20202. "changeQty": {
  20203. "description": "套保变动量",
  20204. "type": "number"
  20205. },
  20206. "contracttype": {
  20207. "description": "现货合同类型 - 1:采购 -1:销售",
  20208. "type": "integer"
  20209. },
  20210. "convertfactor": {
  20211. "description": "标仓系数",
  20212. "type": "number"
  20213. },
  20214. "convertratio": {
  20215. "description": "折算系数",
  20216. "type": "number"
  20217. },
  20218. "createtime": {
  20219. "description": "时间",
  20220. "type": "string"
  20221. },
  20222. "enumdicname": {
  20223. "description": "现货商品单位名称",
  20224. "type": "string"
  20225. },
  20226. "logtype": {
  20227. "description": "类型 - 1:套保计划 2:现货合同",
  20228. "type": "integer"
  20229. },
  20230. "mgunitid": {
  20231. "description": "套保品种单位id",
  20232. "type": "integer"
  20233. },
  20234. "mgunitidname": {
  20235. "description": "套保品种单位名称",
  20236. "type": "string"
  20237. },
  20238. "middlegoodsId": {
  20239. "description": "套保商品id",
  20240. "type": "integer"
  20241. },
  20242. "middlegoodscode": {
  20243. "description": "套保商品代码",
  20244. "type": "string"
  20245. },
  20246. "middlegoodsname": {
  20247. "description": "套保商品名称",
  20248. "type": "string"
  20249. },
  20250. "qty": {
  20251. "description": "数量",
  20252. "type": "number"
  20253. },
  20254. "relateNo": {
  20255. "description": "现货合同/套保计划编号",
  20256. "type": "string"
  20257. },
  20258. "unitid": {
  20259. "description": "现货商品单位id",
  20260. "type": "integer"
  20261. },
  20262. "wrstandardcode": {
  20263. "description": "现货商品代码",
  20264. "type": "string"
  20265. },
  20266. "wrstandardid": {
  20267. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20268. "type": "integer"
  20269. },
  20270. "wrstandardname": {
  20271. "description": "现货商品名称",
  20272. "type": "string"
  20273. }
  20274. }
  20275. },
  20276. "models.Ermcp3ExposureFutuDetail": {
  20277. "type": "object",
  20278. "properties": {
  20279. "accountid": {
  20280. "description": "交易账户id",
  20281. "type": "integer"
  20282. },
  20283. "accountname": {
  20284. "description": "交易账户",
  20285. "type": "string"
  20286. },
  20287. "begindate": {
  20288. "description": "开始交易日",
  20289. "type": "string"
  20290. },
  20291. "buyorsell": {
  20292. "description": "方向 0-买 1-卖",
  20293. "type": "integer"
  20294. },
  20295. "diffmgqty": {
  20296. "description": "套保品种今变化量",
  20297. "type": "number"
  20298. },
  20299. "diffneedqty": {
  20300. "description": "应套保总量变化量",
  20301. "type": "number"
  20302. },
  20303. "difftradeqty": {
  20304. "description": "交易品种今变化量",
  20305. "type": "number"
  20306. },
  20307. "enddate": {
  20308. "description": "结束交易日",
  20309. "type": "string"
  20310. },
  20311. "enumdicname": {
  20312. "description": "单位名称",
  20313. "type": "string"
  20314. },
  20315. "goodscode": {
  20316. "description": "商品代码",
  20317. "type": "string"
  20318. },
  20319. "goodsid": {
  20320. "description": "商品id",
  20321. "type": "integer"
  20322. },
  20323. "goodsname": {
  20324. "description": "商品名称",
  20325. "type": "string"
  20326. },
  20327. "holdqty": {
  20328. "description": "期末持仓量",
  20329. "type": "number"
  20330. },
  20331. "middlegoodscode": {
  20332. "description": "套保商品代码",
  20333. "type": "string"
  20334. },
  20335. "middlegoodsid": {
  20336. "description": "套保商品id",
  20337. "type": "integer"
  20338. },
  20339. "middlegoodsname": {
  20340. "description": "套保商品名称",
  20341. "type": "string"
  20342. },
  20343. "oriholdqty": {
  20344. "description": "期初持仓量",
  20345. "type": "number"
  20346. },
  20347. "todaycloseqty": {
  20348. "description": "今平仓量",
  20349. "type": "number"
  20350. },
  20351. "todayopenqty": {
  20352. "description": "今开仓量",
  20353. "type": "number"
  20354. },
  20355. "tradedate": {
  20356. "description": "交易日",
  20357. "type": "string"
  20358. }
  20359. }
  20360. },
  20361. "models.Ermcp3ExposureHedgeplanDetail": {
  20362. "type": "object",
  20363. "properties": {
  20364. "biztype": {
  20365. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20366. "type": "integer"
  20367. },
  20368. "changqty": {
  20369. "description": "应套保总量变化量",
  20370. "type": "number"
  20371. },
  20372. "contracttype": {
  20373. "description": "计划类型 - 1:采购 -1:销售",
  20374. "type": "integer"
  20375. },
  20376. "convertratio": {
  20377. "description": "折算系数(套保品种)",
  20378. "type": "number"
  20379. },
  20380. "deliverygoodscode": {
  20381. "description": "现货商品代码",
  20382. "type": "string"
  20383. },
  20384. "deliverygoodsid": {
  20385. "description": "现货商品id",
  20386. "type": "integer"
  20387. },
  20388. "deliverygoodsname": {
  20389. "description": "现货商吕名称",
  20390. "type": "string"
  20391. },
  20392. "dgunitid": {
  20393. "description": "现货商品单位id",
  20394. "type": "integer"
  20395. },
  20396. "dgunitidname": {
  20397. "description": "单位名称(现货商品)",
  20398. "type": "string"
  20399. },
  20400. "diffqty": {
  20401. "description": "套保品种今变动量",
  20402. "type": "number"
  20403. },
  20404. "enumdicname": {
  20405. "description": "单位名称(品类)",
  20406. "type": "string"
  20407. },
  20408. "hedgeplanid": {
  20409. "description": "套保计划id",
  20410. "type": "string"
  20411. },
  20412. "hedgeplanno": {
  20413. "description": "套保计划名称",
  20414. "type": "string"
  20415. },
  20416. "hedgeplanstatus": {
  20417. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20418. "type": "integer"
  20419. },
  20420. "mgunitidname": {
  20421. "description": "单位名称(套保商品)",
  20422. "type": "string"
  20423. },
  20424. "middlegoodscode": {
  20425. "description": "套保品种代码",
  20426. "type": "string"
  20427. },
  20428. "middlegoodsid": {
  20429. "description": "套保品种id",
  20430. "type": "integer"
  20431. },
  20432. "middlegoodsname": {
  20433. "description": "套保品种名称",
  20434. "type": "string"
  20435. },
  20436. "needarbitrageratio": {
  20437. "description": "应套利比例",
  20438. "type": "number"
  20439. },
  20440. "needhedgeratio": {
  20441. "description": "应套保比例",
  20442. "type": "number"
  20443. },
  20444. "pricedqty": {
  20445. "description": "已定价量",
  20446. "type": "number"
  20447. },
  20448. "qty": {
  20449. "description": "合同量",
  20450. "type": "number"
  20451. },
  20452. "tradedate": {
  20453. "description": "交易日(登记日)",
  20454. "type": "string"
  20455. },
  20456. "unitid": {
  20457. "description": "品类单位id",
  20458. "type": "integer"
  20459. },
  20460. "userid": {
  20461. "description": "机构id",
  20462. "type": "integer"
  20463. },
  20464. "wrstandardcode": {
  20465. "description": "品类代码",
  20466. "type": "string"
  20467. },
  20468. "wrstandardid": {
  20469. "description": "品类id",
  20470. "type": "integer"
  20471. },
  20472. "wrstandardname": {
  20473. "description": "品类名称",
  20474. "type": "string"
  20475. }
  20476. }
  20477. },
  20478. "models.Ermcp3ExposureParamChLog": {
  20479. "type": "object",
  20480. "properties": {
  20481. "accountid": {
  20482. "description": "期货账户ID (作废, 默认为0)",
  20483. "type": "integer"
  20484. },
  20485. "aftervalue": {
  20486. "description": "应套保\\套利量变更后(调整后应套保总量)",
  20487. "type": "number"
  20488. },
  20489. "areauserid": {
  20490. "description": "所属机构\\交易用户ID",
  20491. "type": "integer"
  20492. },
  20493. "beforevalue": {
  20494. "description": "应套保\\套利量变更前(调整前应套保总量)",
  20495. "type": "number"
  20496. },
  20497. "begindate": {
  20498. "description": "开始交易日",
  20499. "type": "string"
  20500. },
  20501. "changelogtype": {
  20502. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  20503. "type": "integer"
  20504. },
  20505. "curvalue": {
  20506. "description": "当前套保\\套利量(套保总量|套利总量)",
  20507. "type": "number"
  20508. },
  20509. "diffvalue": {
  20510. "description": "应套保总量变化量",
  20511. "type": "number"
  20512. },
  20513. "enddate": {
  20514. "description": "结束交易日",
  20515. "type": "string"
  20516. },
  20517. "logdatetime": {
  20518. "description": "流水日期",
  20519. "type": "string"
  20520. },
  20521. "logid": {
  20522. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  20523. "type": "string"
  20524. },
  20525. "middlegoodscode": {
  20526. "description": "套保品种代码",
  20527. "type": "string"
  20528. },
  20529. "middlegoodsid": {
  20530. "description": "套保品种",
  20531. "type": "integer"
  20532. },
  20533. "middlegoodsname": {
  20534. "description": "套保品种名称",
  20535. "type": "string"
  20536. },
  20537. "paramaftervalue": {
  20538. "description": "参数变更后(调整后参数值)",
  20539. "type": "number"
  20540. },
  20541. "parambeforevalue": {
  20542. "description": "参数变更前(调整前参数值)",
  20543. "type": "number"
  20544. },
  20545. "tradedate": {
  20546. "description": "交易日(yyyyMMdd)",
  20547. "type": "string"
  20548. }
  20549. }
  20550. },
  20551. "models.Ermcp3ExpourseReport": {
  20552. "type": "object",
  20553. "properties": {
  20554. "accountid": {
  20555. "description": "期货账户ID (作废, 默认为0)",
  20556. "type": "integer"
  20557. },
  20558. "accountname": {
  20559. "description": "机构名称",
  20560. "type": "string"
  20561. },
  20562. "arbitrageqty": {
  20563. "description": "套利量",
  20564. "type": "number"
  20565. },
  20566. "areauserid": {
  20567. "description": "所属机构\\交易用户ID",
  20568. "type": "integer"
  20569. },
  20570. "begindate": {
  20571. "description": "开始交易日",
  20572. "type": "string"
  20573. },
  20574. "buyfutureqty": {
  20575. "description": "买入期货数量",
  20576. "type": "number"
  20577. },
  20578. "buyplanqty": {
  20579. "description": "采购计划数量",
  20580. "type": "number"
  20581. },
  20582. "buypricedqty": {
  20583. "description": "采购合同已定价数量",
  20584. "type": "number"
  20585. },
  20586. "cycletime": {
  20587. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20588. "type": "string"
  20589. },
  20590. "cycletype": {
  20591. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20592. "type": "integer"
  20593. },
  20594. "diffexposure": {
  20595. "description": "变动量(套保敞口)",
  20596. "type": "number"
  20597. },
  20598. "difffutuqty": {
  20599. "description": "变动量(期货)",
  20600. "type": "number"
  20601. },
  20602. "diffhedgeqty": {
  20603. "description": "变动量(现货应套保总量)",
  20604. "type": "number"
  20605. },
  20606. "diffmgqtya": {
  20607. "description": "套保变动量",
  20608. "type": "number"
  20609. },
  20610. "diffmgqtyb": {
  20611. "description": "套利变动量",
  20612. "type": "number"
  20613. },
  20614. "diffqty": {
  20615. "description": "变动量(总敞口)",
  20616. "type": "number"
  20617. },
  20618. "diffspotqty": {
  20619. "description": "变动量(现货)",
  20620. "type": "number"
  20621. },
  20622. "enddate": {
  20623. "description": "结束交易日",
  20624. "type": "string"
  20625. },
  20626. "enumdicname": {
  20627. "description": "单位名称",
  20628. "type": "string"
  20629. },
  20630. "hedgeqty": {
  20631. "description": "套保量",
  20632. "type": "number"
  20633. },
  20634. "mgneedhedgeratio": {
  20635. "description": "套保比例(套保品的)",
  20636. "type": "number"
  20637. },
  20638. "middlegoodsid": {
  20639. "description": "套保品种ID",
  20640. "type": "integer"
  20641. },
  20642. "middlegoodsname": {
  20643. "description": "套保商品名称",
  20644. "type": "string"
  20645. },
  20646. "middlgoodscode": {
  20647. "description": "套保商品代码",
  20648. "type": "string"
  20649. },
  20650. "needarbitrageqty": {
  20651. "description": "应套利量",
  20652. "type": "number"
  20653. },
  20654. "needarbitrageratio": {
  20655. "description": "套利比例(套保品的)",
  20656. "type": "number"
  20657. },
  20658. "needhedgeexposoure": {
  20659. "description": "应套保敞口(套保敞口)",
  20660. "type": "number"
  20661. },
  20662. "needhedgeqty": {
  20663. "description": "应套保量",
  20664. "type": "number"
  20665. },
  20666. "needhedgeratio": {
  20667. "description": "应套保敞口比例",
  20668. "type": "number"
  20669. },
  20670. "oriarbitrageqty": {
  20671. "description": "期初套利量",
  20672. "type": "number"
  20673. },
  20674. "oribuyfutureqty": {
  20675. "description": "期初买入期货数量",
  20676. "type": "number"
  20677. },
  20678. "oribuyplanqty": {
  20679. "description": "期初采购计划数量",
  20680. "type": "number"
  20681. },
  20682. "oribuypricedqty": {
  20683. "description": "期初采购合同已定价数量",
  20684. "type": "number"
  20685. },
  20686. "orihedgeqty": {
  20687. "description": "期初套保量",
  20688. "type": "number"
  20689. },
  20690. "orineedarbitrageqty": {
  20691. "description": "期初应套利量",
  20692. "type": "number"
  20693. },
  20694. "orineedhedgeexposoure": {
  20695. "description": "期初应套保敞口",
  20696. "type": "number"
  20697. },
  20698. "orineedhedgeqty": {
  20699. "description": "期初应套保量",
  20700. "type": "number"
  20701. },
  20702. "orisellfutureqty": {
  20703. "description": "期初卖出期货数量",
  20704. "type": "number"
  20705. },
  20706. "orisellplanqty": {
  20707. "description": "期初销售计划数量",
  20708. "type": "number"
  20709. },
  20710. "orisellpricedqty": {
  20711. "description": "期初销售合同已定价数量",
  20712. "type": "number"
  20713. },
  20714. "oritotalexposure": {
  20715. "description": "期初实时总敞口",
  20716. "type": "number"
  20717. },
  20718. "oritotalfutureqty": {
  20719. "description": "期初期货头寸总量",
  20720. "type": "number"
  20721. },
  20722. "oritotalneedhedgeqty": {
  20723. "description": "期初应套保总量",
  20724. "type": "number"
  20725. },
  20726. "oritotalspotqty": {
  20727. "description": "期初现货头寸总量",
  20728. "type": "number"
  20729. },
  20730. "reckondate": {
  20731. "description": "日照时期(yyyyMMdd)",
  20732. "type": "string"
  20733. },
  20734. "sellfutureqty": {
  20735. "description": "卖出期货数量",
  20736. "type": "number"
  20737. },
  20738. "sellplanqty": {
  20739. "description": "销售计划数量",
  20740. "type": "number"
  20741. },
  20742. "sellpricedqty": {
  20743. "description": "销售合同已定价数量",
  20744. "type": "number"
  20745. },
  20746. "totalexposure": {
  20747. "description": "实时总敞口(总敞口)",
  20748. "type": "number"
  20749. },
  20750. "totalfutureqty": {
  20751. "description": "期货头寸总量(期货总量)",
  20752. "type": "number"
  20753. },
  20754. "totalhedgeratio": {
  20755. "description": "敞口比例",
  20756. "type": "number"
  20757. },
  20758. "totalneedhedgeqty": {
  20759. "description": "应套保总量(现货应套保总量)",
  20760. "type": "number"
  20761. },
  20762. "totalspotqty": {
  20763. "description": "现货头寸总量",
  20764. "type": "number"
  20765. },
  20766. "unitid": {
  20767. "description": "单位id",
  20768. "type": "integer"
  20769. },
  20770. "updatetime": {
  20771. "description": "更新时间",
  20772. "type": "string"
  20773. }
  20774. }
  20775. },
  20776. "models.Ermcp3FinanceReport": {
  20777. "type": "object",
  20778. "properties": {
  20779. "accountname": {
  20780. "description": "机构名称",
  20781. "type": "string"
  20782. },
  20783. "areauserid": {
  20784. "description": "所属机构\\交易用户ID",
  20785. "type": "integer"
  20786. },
  20787. "begindate": {
  20788. "description": "开始交易日",
  20789. "type": "string"
  20790. },
  20791. "biztype": {
  20792. "description": "业务类型 - 1:套保 2:套利",
  20793. "type": "integer"
  20794. },
  20795. "brandname": {
  20796. "description": "品牌名称",
  20797. "type": "string"
  20798. },
  20799. "buypreinvoicedamount": {
  20800. "description": "采购预收票额(预收票额)",
  20801. "type": "number"
  20802. },
  20803. "buyprepaidamount": {
  20804. "description": "采购预付款额(预付货款额)",
  20805. "type": "number"
  20806. },
  20807. "buytodayinvoiceamount": {
  20808. "description": "采购今收票额(今收票额)",
  20809. "type": "number"
  20810. },
  20811. "buytodayrefundamount": {
  20812. "description": "采购今收退款额(今收退款额)",
  20813. "type": "number"
  20814. },
  20815. "buytodaysettleamount": {
  20816. "description": "采购今付款额(今付货款额)",
  20817. "type": "number"
  20818. },
  20819. "buyuninvoicedamount": {
  20820. "description": "采购应收票额(应收票额)",
  20821. "type": "number"
  20822. },
  20823. "buyunpaidamount": {
  20824. "description": "采购应付款额(应付货款额)",
  20825. "type": "number"
  20826. },
  20827. "currencyid": {
  20828. "description": "结算币种ID",
  20829. "type": "integer"
  20830. },
  20831. "currencyname": {
  20832. "description": "币种名称",
  20833. "type": "string"
  20834. },
  20835. "cycletime": {
  20836. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20837. "type": "string"
  20838. },
  20839. "cycletype": {
  20840. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20841. "type": "integer"
  20842. },
  20843. "deliverygoodscode": {
  20844. "description": "现货品种代码",
  20845. "type": "string"
  20846. },
  20847. "deliverygoodsid": {
  20848. "description": "现货品种ID",
  20849. "type": "integer"
  20850. },
  20851. "deliverygoodsname": {
  20852. "description": "现货品种名称",
  20853. "type": "string"
  20854. },
  20855. "enddate": {
  20856. "description": "结束交易日",
  20857. "type": "string"
  20858. },
  20859. "reckondate": {
  20860. "description": "日照时期(yyyyMMdd)",
  20861. "type": "string"
  20862. },
  20863. "sellpreinvoicedamount": {
  20864. "description": "销售预开票额(预开票额)",
  20865. "type": "number"
  20866. },
  20867. "sellprepaidamount": {
  20868. "description": "销售预收款额(预收货款额)",
  20869. "type": "number"
  20870. },
  20871. "selltodayinvoiceamount": {
  20872. "description": "销售今开票额(今开票额)",
  20873. "type": "number"
  20874. },
  20875. "selltodayrefundamount": {
  20876. "description": "销售今付退款额(今付退款额)",
  20877. "type": "number"
  20878. },
  20879. "selltodaysettleamount": {
  20880. "description": "销售今收款额(今收货款额)",
  20881. "type": "number"
  20882. },
  20883. "selluninvoicedamount": {
  20884. "description": "销售应开票额(应开票额)",
  20885. "type": "number"
  20886. },
  20887. "sellunpaidamount": {
  20888. "description": "销售应收款额(应收货款额)",
  20889. "type": "number"
  20890. },
  20891. "spotgoodsbrandid": {
  20892. "description": "现货品牌ID",
  20893. "type": "integer"
  20894. },
  20895. "todaypaysum": {
  20896. "description": "今付款合计",
  20897. "type": "number"
  20898. },
  20899. "todayreceivesum": {
  20900. "description": "今收款合计",
  20901. "type": "number"
  20902. },
  20903. "updatetime": {
  20904. "description": "更新时间",
  20905. "type": "string"
  20906. },
  20907. "wrfactortypeid": {
  20908. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  20909. "type": "integer"
  20910. },
  20911. "wrstandardcode": {
  20912. "description": "品类代码",
  20913. "type": "string"
  20914. },
  20915. "wrstandardid": {
  20916. "description": "现货商品ID",
  20917. "type": "integer"
  20918. },
  20919. "wrstandardname": {
  20920. "description": "品类名称",
  20921. "type": "string"
  20922. }
  20923. }
  20924. },
  20925. "models.Ermcp3GoodsGroup": {
  20926. "type": "object",
  20927. "required": [
  20928. "areauserid"
  20929. ],
  20930. "properties": {
  20931. "agreeunit": {
  20932. "description": "合约单位",
  20933. "type": "number"
  20934. },
  20935. "areauserid": {
  20936. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  20937. "type": "integer"
  20938. },
  20939. "canshort": {
  20940. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  20941. "type": "integer"
  20942. },
  20943. "closepricemode": {
  20944. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20945. "type": "integer"
  20946. },
  20947. "createtime": {
  20948. "description": "创建时间",
  20949. "type": "string"
  20950. },
  20951. "creatorid": {
  20952. "description": "创建人",
  20953. "type": "integer"
  20954. },
  20955. "currencyid": {
  20956. "description": "报价货币ID",
  20957. "type": "integer"
  20958. },
  20959. "decimalplace": {
  20960. "description": "报价小数位",
  20961. "type": "integer"
  20962. },
  20963. "enumdicname": {
  20964. "description": "单位名称",
  20965. "type": "string"
  20966. },
  20967. "exchangefullname": {
  20968. "description": "交易所全称",
  20969. "type": "string"
  20970. },
  20971. "excludecfg": {
  20972. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  20973. "type": "integer"
  20974. },
  20975. "exexchangecode": {
  20976. "description": "交易所代码",
  20977. "type": "string"
  20978. },
  20979. "exexchangeid": {
  20980. "description": "外部交易所ID[通道交易]",
  20981. "type": "integer"
  20982. },
  20983. "exexchangename": {
  20984. "description": "交易所名称",
  20985. "type": "string"
  20986. },
  20987. "goodsgroupid": {
  20988. "description": "商品组ID(自增ID)",
  20989. "type": "integer"
  20990. },
  20991. "goodsgroupname": {
  20992. "description": "商品组名称",
  20993. "type": "string"
  20994. },
  20995. "goodsgroupstatus": {
  20996. "description": "商品组状态 - 1:正常 2:注销",
  20997. "type": "integer"
  20998. },
  20999. "goodunitid": {
  21000. "description": "报价单位ID",
  21001. "type": "integer"
  21002. },
  21003. "groupcategroyid": {
  21004. "description": "品种分类ID",
  21005. "type": "integer"
  21006. },
  21007. "innerdealmode": {
  21008. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21009. "type": "integer"
  21010. },
  21011. "marketid": {
  21012. "description": "所属市场ID",
  21013. "type": "integer"
  21014. },
  21015. "modifierid": {
  21016. "description": "修改人",
  21017. "type": "integer"
  21018. },
  21019. "modifytime": {
  21020. "description": "修改时间",
  21021. "type": "string"
  21022. },
  21023. "outerdealmode": {
  21024. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21025. "type": "integer"
  21026. },
  21027. "outergroupcode": {
  21028. "description": "外部商品组代码[通道交易]",
  21029. "type": "string"
  21030. },
  21031. "quoteminunit": {
  21032. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21033. "type": "integer"
  21034. },
  21035. "quotesourcegroupid": {
  21036. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21037. "type": "integer"
  21038. },
  21039. "syncgoodsqty": {
  21040. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21041. "type": "integer"
  21042. }
  21043. }
  21044. },
  21045. "models.Ermcp3HedgePlan": {
  21046. "type": "object",
  21047. "properties": {
  21048. "accountid": {
  21049. "description": "资金账号",
  21050. "type": "integer"
  21051. },
  21052. "areauserid": {
  21053. "description": "用户ID",
  21054. "type": "integer"
  21055. },
  21056. "auditid": {
  21057. "description": "审核id",
  21058. "type": "integer"
  21059. },
  21060. "auditname": {
  21061. "description": "审核人名称",
  21062. "type": "string"
  21063. },
  21064. "auditremark": {
  21065. "description": "审核备注",
  21066. "type": "string"
  21067. },
  21068. "auditsrc": {
  21069. "description": "审核来源 1-管理端 2-终端",
  21070. "type": "integer"
  21071. },
  21072. "audittime": {
  21073. "description": "审核时间",
  21074. "type": "string"
  21075. },
  21076. "contracttype": {
  21077. "description": "计划类型 - 1:采购 -1:销售",
  21078. "type": "integer"
  21079. },
  21080. "convertfactor": {
  21081. "description": "标仓系数",
  21082. "type": "number"
  21083. },
  21084. "createtime": {
  21085. "description": "创建时间",
  21086. "type": "string"
  21087. },
  21088. "currencyid": {
  21089. "description": "币种id",
  21090. "type": "integer"
  21091. },
  21092. "currencyname": {
  21093. "description": "币种名称",
  21094. "type": "string"
  21095. },
  21096. "deliverygoodscode": {
  21097. "description": "现货品种代码",
  21098. "type": "string"
  21099. },
  21100. "deliverygoodsid": {
  21101. "description": "现货品种ID",
  21102. "type": "integer"
  21103. },
  21104. "deliverygoodsname": {
  21105. "description": "现货品种名称",
  21106. "type": "string"
  21107. },
  21108. "enumdicname": {
  21109. "description": "单位名称(现货商品)",
  21110. "type": "string"
  21111. },
  21112. "hedgeplanid": {
  21113. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21114. "type": "string"
  21115. },
  21116. "hedgeplanno": {
  21117. "description": "套保计划编号(名称)",
  21118. "type": "string"
  21119. },
  21120. "hedgeplanstatus": {
  21121. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21122. "type": "integer"
  21123. },
  21124. "planqty": {
  21125. "description": "计划数量",
  21126. "type": "number"
  21127. },
  21128. "plantime": {
  21129. "description": "计划时间",
  21130. "type": "string"
  21131. },
  21132. "producttype": {
  21133. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21134. "type": "integer"
  21135. },
  21136. "remark": {
  21137. "description": "备注",
  21138. "type": "string"
  21139. },
  21140. "spotgoodsdesc": {
  21141. "description": "商品型号",
  21142. "type": "string"
  21143. },
  21144. "taaccountname": {
  21145. "description": "资金账号名称",
  21146. "type": "string"
  21147. },
  21148. "tradeuserid": {
  21149. "description": "交易用户id",
  21150. "type": "integer"
  21151. },
  21152. "tradeusername": {
  21153. "description": "交易用户名称",
  21154. "type": "string"
  21155. },
  21156. "unitid": {
  21157. "description": "单位id(现货商品)",
  21158. "type": "integer"
  21159. },
  21160. "updatetime": {
  21161. "description": "更新时间",
  21162. "type": "string"
  21163. },
  21164. "vatrate": {
  21165. "description": "增值税率",
  21166. "type": "number"
  21167. },
  21168. "wrstandardcode": {
  21169. "description": "品类代码",
  21170. "type": "string"
  21171. },
  21172. "wrstandardid": {
  21173. "description": "品类id",
  21174. "type": "integer"
  21175. },
  21176. "wrstandardname": {
  21177. "description": "品类名称",
  21178. "type": "string"
  21179. },
  21180. "wrunitid": {
  21181. "description": "品类单位id",
  21182. "type": "integer"
  21183. },
  21184. "wrunitidame": {
  21185. "description": "品类单位名称",
  21186. "type": "string"
  21187. }
  21188. }
  21189. },
  21190. "models.Ermcp3InnerTradeLink": {
  21191. "type": "object",
  21192. "properties": {
  21193. "accountid": {
  21194. "description": "期货账号代码 | 资金账号ID",
  21195. "type": "integer"
  21196. },
  21197. "buyorsell": {
  21198. "description": "方向 - 0:买 1:卖",
  21199. "type": "integer"
  21200. },
  21201. "channelbuildtype": {
  21202. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21203. "type": "integer"
  21204. },
  21205. "currencyid": {
  21206. "description": "币种id",
  21207. "type": "integer"
  21208. },
  21209. "currencyname": {
  21210. "description": "结算币种 名称",
  21211. "type": "string"
  21212. },
  21213. "goodscode": {
  21214. "description": "商品代码",
  21215. "type": "string"
  21216. },
  21217. "goodsid": {
  21218. "description": "商品ID",
  21219. "type": "integer"
  21220. },
  21221. "goodsname": {
  21222. "description": "商品名称",
  21223. "type": "string"
  21224. },
  21225. "outtradeid": {
  21226. "description": "外部成交单号",
  21227. "type": "string"
  21228. },
  21229. "taname": {
  21230. "description": "期货账户名称",
  21231. "type": "string"
  21232. },
  21233. "tradeid": {
  21234. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21235. "type": "string"
  21236. },
  21237. "tradeprice": {
  21238. "description": "成交价格",
  21239. "type": "number"
  21240. },
  21241. "tradeqty": {
  21242. "description": "期货成交数量",
  21243. "type": "integer"
  21244. },
  21245. "tradetime": {
  21246. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  21247. "type": "string"
  21248. },
  21249. "username": {
  21250. "description": "用户名称",
  21251. "type": "string"
  21252. }
  21253. }
  21254. },
  21255. "models.Ermcp3OutTradeLink": {
  21256. "type": "object",
  21257. "properties": {
  21258. "buyorsell": {
  21259. "description": "买卖方向 - 0:买 1:卖",
  21260. "type": "integer"
  21261. },
  21262. "channelbuildtype": {
  21263. "description": "开平标志- 0:无 1:建仓 2:平仓",
  21264. "type": "integer"
  21265. },
  21266. "currencyname": {
  21267. "description": "币种名称",
  21268. "type": "string"
  21269. },
  21270. "exexchangecode": {
  21271. "description": "交易所代码",
  21272. "type": "string"
  21273. },
  21274. "exexchangename": {
  21275. "description": "交易所名称",
  21276. "type": "string"
  21277. },
  21278. "goodscode": {
  21279. "description": "合约代码",
  21280. "type": "string"
  21281. },
  21282. "goodsid": {
  21283. "description": "合约id",
  21284. "type": "integer"
  21285. },
  21286. "goodsname": {
  21287. "description": "合约名称",
  21288. "type": "string"
  21289. },
  21290. "hasinnerorder": {
  21291. "description": "是否有内部单关联 - 0:无 1:有",
  21292. "type": "integer"
  21293. },
  21294. "hedgeaccountcode": {
  21295. "description": "外部账号 | 对冲账号",
  21296. "type": "string"
  21297. },
  21298. "outtradeid": {
  21299. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21300. "type": "string"
  21301. },
  21302. "tradeprice": {
  21303. "description": "成交价格",
  21304. "type": "number"
  21305. },
  21306. "tradeqty": {
  21307. "description": "成交数量",
  21308. "type": "integer"
  21309. },
  21310. "tradetime": {
  21311. "description": "成交时间",
  21312. "type": "string"
  21313. }
  21314. }
  21315. },
  21316. "models.Ermcp3PaAreaAuditCfg": {
  21317. "type": "object",
  21318. "properties": {
  21319. "areauserid": {
  21320. "description": "用户ID",
  21321. "type": "integer"
  21322. },
  21323. "buyinauditflag": {
  21324. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  21325. "type": "integer"
  21326. },
  21327. "costratioauditflag": {
  21328. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  21329. "type": "integer"
  21330. },
  21331. "customerauditflag": {
  21332. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  21333. "type": "integer"
  21334. },
  21335. "deliveryauditflag": {
  21336. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  21337. "type": "integer"
  21338. },
  21339. "invoiceauditflag": {
  21340. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  21341. "type": "integer"
  21342. },
  21343. "mgneedhedgeratioauditflag": {
  21344. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  21345. "type": "integer"
  21346. },
  21347. "moneyauditflag": {
  21348. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  21349. "type": "integer"
  21350. },
  21351. "operatorid": {
  21352. "description": "操作人",
  21353. "type": "integer"
  21354. },
  21355. "operatorsrc": {
  21356. "description": "操作来源 - 1:管理端 2:终端",
  21357. "type": "integer"
  21358. },
  21359. "pointpriceauditflag": {
  21360. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  21361. "type": "integer"
  21362. },
  21363. "produceinauditflag": {
  21364. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  21365. "type": "integer"
  21366. },
  21367. "produceoutauditflag": {
  21368. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  21369. "type": "integer"
  21370. },
  21371. "selloutauditflag": {
  21372. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  21373. "type": "integer"
  21374. },
  21375. "sgconvertratioauditflag": {
  21376. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  21377. "type": "integer"
  21378. },
  21379. "sgvtaratioauditflag": {
  21380. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  21381. "type": "integer"
  21382. },
  21383. "spotcontractauditflag": {
  21384. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  21385. "type": "integer"
  21386. },
  21387. "updatetime": {
  21388. "description": "更新时间",
  21389. "type": "string"
  21390. }
  21391. }
  21392. },
  21393. "models.Ermcp3PaAreaSubject": {
  21394. "type": "object",
  21395. "properties": {
  21396. "areauserid": {
  21397. "description": "所属机构",
  21398. "type": "integer"
  21399. },
  21400. "canmodify": {
  21401. "description": "是否可修改 - 0:否 1:是",
  21402. "type": "integer"
  21403. },
  21404. "createtime": {
  21405. "description": "创建时间",
  21406. "type": "string"
  21407. },
  21408. "creatorid": {
  21409. "description": "创建人ID",
  21410. "type": "string"
  21411. },
  21412. "creatorsrc": {
  21413. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  21414. "type": "integer"
  21415. },
  21416. "modifierid": {
  21417. "description": "修改人",
  21418. "type": "string"
  21419. },
  21420. "modifiersrc": {
  21421. "description": "修改人来源 - 1:管理端 2:终端",
  21422. "type": "integer"
  21423. },
  21424. "modifytime": {
  21425. "description": "修改时间",
  21426. "type": "string"
  21427. },
  21428. "parentsubjectid": {
  21429. "description": "上级主体ID",
  21430. "type": "string"
  21431. },
  21432. "remark": {
  21433. "description": "备注",
  21434. "type": "string"
  21435. },
  21436. "subjectid": {
  21437. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  21438. "type": "integer"
  21439. },
  21440. "subjectname": {
  21441. "description": "主体名称",
  21442. "type": "string"
  21443. },
  21444. "subjectstatus": {
  21445. "description": "主体状态 - 1:正常 2: 停用",
  21446. "type": "integer"
  21447. },
  21448. "subjecttype": {
  21449. "description": "主体类型 - 1:交易主体 2:业务部门",
  21450. "type": "integer"
  21451. }
  21452. }
  21453. },
  21454. "models.Ermcp3PaTradeLink": {
  21455. "type": "object",
  21456. "properties": {
  21457. "accountid": {
  21458. "description": "期货账户代码 | 账号ID",
  21459. "type": "integer"
  21460. },
  21461. "agreeunit": {
  21462. "description": "合约乘数",
  21463. "type": "number"
  21464. },
  21465. "buyorsell": {
  21466. "description": "方向 - 0:买 1:卖",
  21467. "type": "integer"
  21468. },
  21469. "channelbuildtype": {
  21470. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21471. "type": "integer"
  21472. },
  21473. "charge": {
  21474. "description": "手续费",
  21475. "type": "number"
  21476. },
  21477. "closepl": {
  21478. "description": "平仓盈亏",
  21479. "type": "number"
  21480. },
  21481. "closetype": {
  21482. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21483. "type": "integer"
  21484. },
  21485. "convertratio": {
  21486. "description": "折算系数",
  21487. "type": "number"
  21488. },
  21489. "enumdicname": {
  21490. "description": "单位名称",
  21491. "type": "string"
  21492. },
  21493. "executeprice": {
  21494. "description": "执行价 [期权]",
  21495. "type": "integer"
  21496. },
  21497. "goodscode": {
  21498. "description": "合约代码",
  21499. "type": "string"
  21500. },
  21501. "goodsgroupid": {
  21502. "description": "对冲品种ID[期货合约商品组ID]",
  21503. "type": "integer"
  21504. },
  21505. "goodsid": {
  21506. "description": "商品ID",
  21507. "type": "integer"
  21508. },
  21509. "goodsname": {
  21510. "description": "合约名称",
  21511. "type": "string"
  21512. },
  21513. "goodunitid": {
  21514. "description": "单位id",
  21515. "type": "integer"
  21516. },
  21517. "hedgeflag": {
  21518. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  21519. "type": "integer"
  21520. },
  21521. "marketid": {
  21522. "description": "市场ID",
  21523. "type": "integer"
  21524. },
  21525. "middlegoodsid": {
  21526. "description": "套保品种ID",
  21527. "type": "integer"
  21528. },
  21529. "middlegoodsqty": {
  21530. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  21531. "type": "number"
  21532. },
  21533. "optioncode": {
  21534. "description": "期权代码 [期权]",
  21535. "type": "string"
  21536. },
  21537. "ordertype": {
  21538. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  21539. "type": "integer"
  21540. },
  21541. "ordertypename": {
  21542. "description": "订单类型",
  21543. "type": "string"
  21544. },
  21545. "parentaccountid": {
  21546. "description": "所属母账户",
  21547. "type": "integer"
  21548. },
  21549. "premium": {
  21550. "description": "权利金 [期权]",
  21551. "type": "number"
  21552. },
  21553. "relatedlot": {
  21554. "description": "已关联数量(已关联数量手) | db:关联手数",
  21555. "type": "number"
  21556. },
  21557. "relatedouttradeid": {
  21558. "description": "关联外部成交单ID",
  21559. "type": "string"
  21560. },
  21561. "relatedqty": {
  21562. "description": "关联数量",
  21563. "type": "number"
  21564. },
  21565. "spotcontractid": {
  21566. "description": "现货合同ID [4:套期保值\\10\\11]",
  21567. "type": "string"
  21568. },
  21569. "taname": {
  21570. "description": "期货账户名称",
  21571. "type": "string"
  21572. },
  21573. "tradeamount": {
  21574. "description": "成交金额(账户)",
  21575. "type": "number"
  21576. },
  21577. "tradedate": {
  21578. "description": "交易日(yyyyMMdd)",
  21579. "type": "string"
  21580. },
  21581. "tradeid": {
  21582. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21583. "type": "string"
  21584. },
  21585. "tradelot": {
  21586. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  21587. "type": "integer"
  21588. },
  21589. "tradeprice": {
  21590. "description": "成交价格",
  21591. "type": "number"
  21592. },
  21593. "tradetime": {
  21594. "description": "时间 | db:成交时间",
  21595. "type": "string"
  21596. },
  21597. "tradetype": {
  21598. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  21599. "type": "integer"
  21600. },
  21601. "userid": {
  21602. "description": "所属机构 - 所属母账户的UserID",
  21603. "type": "string"
  21604. },
  21605. "username": {
  21606. "description": "用户名称",
  21607. "type": "string"
  21608. }
  21609. }
  21610. },
  21611. "models.Ermcp3ParamChangeApp": {
  21612. "type": "object",
  21613. "properties": {
  21614. "aftervalue": {
  21615. "description": "变更后",
  21616. "type": "number"
  21617. },
  21618. "applicationid": {
  21619. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  21620. "type": "string"
  21621. },
  21622. "applyid": {
  21623. "description": "申请人",
  21624. "type": "string"
  21625. },
  21626. "applyname": {
  21627. "description": "申请人名称(代码)",
  21628. "type": "string"
  21629. },
  21630. "applyremark": {
  21631. "description": "申请备注",
  21632. "type": "string"
  21633. },
  21634. "applysrc": {
  21635. "description": "申请来源 - 1:管理端 2:终端",
  21636. "type": "integer"
  21637. },
  21638. "applystatus": {
  21639. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  21640. "type": "integer"
  21641. },
  21642. "applytime": {
  21643. "description": "申请时间",
  21644. "type": "string"
  21645. },
  21646. "areauserid": {
  21647. "description": "所属机构用户ID",
  21648. "type": "integer"
  21649. },
  21650. "auditid": {
  21651. "description": "审核人",
  21652. "type": "string"
  21653. },
  21654. "auditname": {
  21655. "description": "审核人名称(代码)",
  21656. "type": "string"
  21657. },
  21658. "auditremark": {
  21659. "description": "审核备注",
  21660. "type": "string"
  21661. },
  21662. "auditsrc": {
  21663. "description": "审核来源 - 1:管理端 2:终端",
  21664. "type": "integer"
  21665. },
  21666. "audittime": {
  21667. "description": "审核时间",
  21668. "type": "string"
  21669. },
  21670. "audittradedate": {
  21671. "description": "审核交易日(yyyyMMdd)",
  21672. "type": "string"
  21673. },
  21674. "beforevalue": {
  21675. "description": "变更前",
  21676. "type": "number"
  21677. },
  21678. "deliverygoodscode": {
  21679. "description": "品种代码",
  21680. "type": "string"
  21681. },
  21682. "deliverygoodsid": {
  21683. "description": "品种id",
  21684. "type": "integer"
  21685. },
  21686. "deliverygoodsname": {
  21687. "description": "品种名称",
  21688. "type": "string"
  21689. },
  21690. "middlegoodscode": {
  21691. "description": "套保品种代码",
  21692. "type": "string"
  21693. },
  21694. "middlegoodsid": {
  21695. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  21696. "type": "integer"
  21697. },
  21698. "middlegoodsname": {
  21699. "description": "套保品种名称",
  21700. "type": "string"
  21701. },
  21702. "operatetype": {
  21703. "description": "操作类型 - 1:新增 2:修改",
  21704. "type": "integer"
  21705. },
  21706. "paramchangetype": {
  21707. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  21708. "type": "integer"
  21709. },
  21710. "wrstandardcode": {
  21711. "description": "现货商品代码",
  21712. "type": "string"
  21713. },
  21714. "wrstandardid": {
  21715. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  21716. "type": "integer"
  21717. },
  21718. "wrstandardname": {
  21719. "description": "现货商品名称",
  21720. "type": "string"
  21721. }
  21722. }
  21723. },
  21724. "models.Ermcp3RootUserAccount": {
  21725. "type": "object",
  21726. "properties": {
  21727. "accountname": {
  21728. "description": "账户名称(机构名称)",
  21729. "type": "string"
  21730. },
  21731. "accountstatus": {
  21732. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  21733. "type": "integer"
  21734. },
  21735. "applysrc": {
  21736. "description": "申请来源 - 1:管理端 2:终端",
  21737. "type": "integer"
  21738. },
  21739. "auditremark": {
  21740. "description": "审核备注",
  21741. "type": "string"
  21742. },
  21743. "auditsrc": {
  21744. "description": "审核来源 - 1:管理端 2:终端",
  21745. "type": "integer"
  21746. },
  21747. "audittime": {
  21748. "description": "审核时间",
  21749. "type": "string"
  21750. },
  21751. "audituserid": {
  21752. "description": "审核人",
  21753. "type": "integer"
  21754. },
  21755. "broker": {
  21756. "description": "所属经纪人ID",
  21757. "type": "integer"
  21758. },
  21759. "canceltime": {
  21760. "description": "销户时间",
  21761. "type": "string"
  21762. },
  21763. "canceluserid": {
  21764. "description": "销户人",
  21765. "type": "integer"
  21766. },
  21767. "canrecommend": {
  21768. "description": "是否可推荐 - 0:不可 1;可",
  21769. "type": "integer"
  21770. },
  21771. "createtime": {
  21772. "description": "创建时间",
  21773. "type": "string"
  21774. },
  21775. "creatorid": {
  21776. "description": "创建人",
  21777. "type": "integer"
  21778. },
  21779. "hasauth": {
  21780. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  21781. "type": "integer"
  21782. },
  21783. "isanonymous": {
  21784. "description": "是否匿名下单 - 0:否 1:是",
  21785. "type": "integer"
  21786. },
  21787. "maxinvestornum": {
  21788. "description": "最大用户数(经纪会员下投资者个数)",
  21789. "type": "integer"
  21790. },
  21791. "memberuserid": {
  21792. "description": "所属会员ID",
  21793. "type": "integer"
  21794. },
  21795. "modifierid": {
  21796. "description": "修改人",
  21797. "type": "integer"
  21798. },
  21799. "modifyremark": {
  21800. "description": "变更备注",
  21801. "type": "string"
  21802. },
  21803. "modifystatus": {
  21804. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  21805. "type": "integer"
  21806. },
  21807. "modifytime": {
  21808. "description": "修改时间",
  21809. "type": "string"
  21810. },
  21811. "parenttopuser": {
  21812. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  21813. "type": "string"
  21814. },
  21815. "parentuserid": {
  21816. "description": "所属机构ID",
  21817. "type": "integer"
  21818. },
  21819. "reckonaccountid": {
  21820. "description": "默认结算资金账号ID(机构分润使用) 作废",
  21821. "type": "integer"
  21822. },
  21823. "refercount": {
  21824. "description": "推荐总人数",
  21825. "type": "integer"
  21826. },
  21827. "refereeuserid": {
  21828. "description": "推荐人ID",
  21829. "type": "integer"
  21830. },
  21831. "refernum": {
  21832. "description": "推荐码",
  21833. "type": "string"
  21834. },
  21835. "rootuserid": {
  21836. "description": "根用户ID",
  21837. "type": "integer"
  21838. },
  21839. "subaccountlevel": {
  21840. "description": "子账户层数",
  21841. "type": "integer"
  21842. },
  21843. "subarealevelpath": {
  21844. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  21845. "type": "string"
  21846. },
  21847. "userid": {
  21848. "description": "用户ID",
  21849. "type": "integer"
  21850. },
  21851. "usertype": {
  21852. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  21853. "type": "integer"
  21854. }
  21855. }
  21856. },
  21857. "models.Ermcp3SCMiddleGoods": {
  21858. "type": "object",
  21859. "properties": {
  21860. "contractno": {
  21861. "description": "合同编号",
  21862. "type": "string"
  21863. },
  21864. "contracttype": {
  21865. "description": "合同类型 1:采购 -1:销售",
  21866. "type": "integer"
  21867. },
  21868. "customername": {
  21869. "description": "对手手名称",
  21870. "type": "string"
  21871. },
  21872. "customeruserid": {
  21873. "description": "对手id",
  21874. "type": "integer"
  21875. },
  21876. "middlegoodsid": {
  21877. "description": "套保品种ID",
  21878. "type": "integer"
  21879. },
  21880. "middlegoodspricedqty3": {
  21881. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  21882. "type": "number"
  21883. },
  21884. "needhedgeratio": {
  21885. "description": "套保比例",
  21886. "type": "number"
  21887. },
  21888. "pricedqty": {
  21889. "description": "已关联数量 | 已定价量",
  21890. "type": "number"
  21891. },
  21892. "spotcontractid": {
  21893. "description": "合同编号",
  21894. "type": "string"
  21895. },
  21896. "unitid": {
  21897. "description": "现货单位id",
  21898. "type": "integer"
  21899. },
  21900. "userid": {
  21901. "description": "用户id",
  21902. "type": "integer"
  21903. },
  21904. "vatrate": {
  21905. "description": "增值税率",
  21906. "type": "number"
  21907. },
  21908. "wrstandardcode": {
  21909. "description": "现货商品代码",
  21910. "type": "string"
  21911. },
  21912. "wrstandardid": {
  21913. "description": "现货商品id",
  21914. "type": "integer"
  21915. },
  21916. "wrstandardname": {
  21917. "description": "现货商品名称",
  21918. "type": "string"
  21919. }
  21920. }
  21921. },
  21922. "models.Ermcp3SCMiddleGoodsReport": {
  21923. "type": "object",
  21924. "properties": {
  21925. "begindate": {
  21926. "description": "开始交易日",
  21927. "type": "string"
  21928. },
  21929. "contractno": {
  21930. "description": "合同编号",
  21931. "type": "string"
  21932. },
  21933. "contracttype": {
  21934. "description": "合同类型 1:采购 -1:销售",
  21935. "type": "integer"
  21936. },
  21937. "convertratio": {
  21938. "description": "折算系数",
  21939. "type": "number"
  21940. },
  21941. "cycletime": {
  21942. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21943. "type": "string"
  21944. },
  21945. "cycletype": {
  21946. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21947. "type": "integer"
  21948. },
  21949. "deliverygoodscode": {
  21950. "description": "品种代码",
  21951. "type": "string"
  21952. },
  21953. "deliverygoodsid": {
  21954. "description": "现货品种ID",
  21955. "type": "integer"
  21956. },
  21957. "deliverygoodsname": {
  21958. "description": "品种名称",
  21959. "type": "string"
  21960. },
  21961. "diffprice": {
  21962. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  21963. "type": "number"
  21964. },
  21965. "diffqty": {
  21966. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  21967. "type": "number"
  21968. },
  21969. "enddate": {
  21970. "description": "结束交易日",
  21971. "type": "string"
  21972. },
  21973. "hedgeplanqty": {
  21974. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  21975. "type": "number"
  21976. },
  21977. "mathname": {
  21978. "description": "交易对手方",
  21979. "type": "string"
  21980. },
  21981. "middlegoodscode": {
  21982. "description": "套保品种代码",
  21983. "type": "string"
  21984. },
  21985. "middlegoodsid": {
  21986. "description": "套保品种ID",
  21987. "type": "integer"
  21988. },
  21989. "middlegoodsname": {
  21990. "description": "套保品种名称",
  21991. "type": "string"
  21992. },
  21993. "middlegoodspricedqty": {
  21994. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  21995. "type": "number"
  21996. },
  21997. "middlegoodspricedqty2": {
  21998. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  21999. "type": "number"
  22000. },
  22001. "middlegoodspricedqty3": {
  22002. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22003. "type": "number"
  22004. },
  22005. "needhedgeratio": {
  22006. "description": "套保系数",
  22007. "type": "number"
  22008. },
  22009. "pricedamount": {
  22010. "description": "已定价额(现货)",
  22011. "type": "number"
  22012. },
  22013. "pricedamount2": {
  22014. "description": "已定价额(现货-基价额)",
  22015. "type": "number"
  22016. },
  22017. "pricedqty": {
  22018. "description": "已定价量(现货)",
  22019. "type": "number"
  22020. },
  22021. "reckondate": {
  22022. "description": "日照时期(yyyyMMdd)",
  22023. "type": "string"
  22024. },
  22025. "relatedmiddlegoodsamount": {
  22026. "description": "已关联额(期货)",
  22027. "type": "number"
  22028. },
  22029. "relatedmiddlegoodsqty": {
  22030. "description": "已关联量(套保品种)(期货)",
  22031. "type": "number"
  22032. },
  22033. "spotcontractid": {
  22034. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22035. "type": "string"
  22036. },
  22037. "todayavgfutuprice": {
  22038. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /TodayRelatedMiddleGoodsQty",
  22039. "type": "number"
  22040. },
  22041. "todayavgprice": {
  22042. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  22043. "type": "number"
  22044. },
  22045. "todayavgprice2": {
  22046. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  22047. "type": "number"
  22048. },
  22049. "todaypricedamount": {
  22050. "description": "今日定价额(现货)",
  22051. "type": "number"
  22052. },
  22053. "todaypricedamount2": {
  22054. "description": "今日定价额(现货-基价额)",
  22055. "type": "number"
  22056. },
  22057. "todaypricedqty": {
  22058. "description": "今日定价量(现货)",
  22059. "type": "number"
  22060. },
  22061. "todayrelatedmiddlegoodsamount": {
  22062. "description": "今日关联额(期货)",
  22063. "type": "number"
  22064. },
  22065. "todayrelatedmiddlegoodsqty": {
  22066. "description": "今日关联量(期货)",
  22067. "type": "number"
  22068. },
  22069. "updatetime": {
  22070. "description": "更新时间",
  22071. "type": "string"
  22072. },
  22073. "userid": {
  22074. "description": "合同所属用户id",
  22075. "type": "integer"
  22076. },
  22077. "vatrate": {
  22078. "description": "增值税率",
  22079. "type": "number"
  22080. },
  22081. "wrstandardcode": {
  22082. "description": "商品(品类) 代码",
  22083. "type": "string"
  22084. },
  22085. "wrstandardid": {
  22086. "description": "现货商品ID",
  22087. "type": "integer"
  22088. },
  22089. "wrstandardname": {
  22090. "description": "商品(品类) 名称",
  22091. "type": "string"
  22092. }
  22093. }
  22094. },
  22095. "models.Ermcp3SellBuyContract": {
  22096. "type": "object",
  22097. "properties": {
  22098. "accountid": {
  22099. "description": "期货账户id",
  22100. "type": "string"
  22101. },
  22102. "accountname": {
  22103. "description": "账户名称",
  22104. "type": "string"
  22105. },
  22106. "attachment": {
  22107. "description": "附件",
  22108. "type": "string"
  22109. },
  22110. "audittime": {
  22111. "description": "审核时间",
  22112. "type": "string"
  22113. },
  22114. "biztype": {
  22115. "description": "业务类型 1-套保 2-套利",
  22116. "type": "integer"
  22117. },
  22118. "brandname": {
  22119. "description": "品牌名称",
  22120. "type": "string"
  22121. },
  22122. "contracctstatus": {
  22123. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22124. "type": "integer"
  22125. },
  22126. "contractmargin": {
  22127. "description": "合同保证金",
  22128. "type": "number"
  22129. },
  22130. "contractno": {
  22131. "description": "合同编号",
  22132. "type": "string"
  22133. },
  22134. "contracttype": {
  22135. "description": "合同类型 1-采购, -1-销售",
  22136. "type": "integer"
  22137. },
  22138. "convertfactor": {
  22139. "description": "标仓系数(品类)",
  22140. "type": "number"
  22141. },
  22142. "createtime": {
  22143. "description": "创建时间",
  22144. "type": "string"
  22145. },
  22146. "currencyid": {
  22147. "description": "币种id",
  22148. "type": "integer"
  22149. },
  22150. "currencyname": {
  22151. "description": "币种名称",
  22152. "type": "string"
  22153. },
  22154. "daikaiamount": {
  22155. "description": "应收(开)票额",
  22156. "type": "number"
  22157. },
  22158. "deliveryenddate": {
  22159. "description": "交割结束日",
  22160. "type": "string"
  22161. },
  22162. "deliverygoodscode": {
  22163. "description": "现货品种代码",
  22164. "type": "string"
  22165. },
  22166. "deliverygoodsid": {
  22167. "description": "现货商品ID",
  22168. "type": "integer"
  22169. },
  22170. "deliverygoodsname": {
  22171. "description": "现货品种名称",
  22172. "type": "string"
  22173. },
  22174. "deliverystartdate": {
  22175. "description": "交割开始日",
  22176. "type": "string"
  22177. },
  22178. "enddate": {
  22179. "description": "点价结束日",
  22180. "type": "string"
  22181. },
  22182. "enumdicname": {
  22183. "description": "单位名称",
  22184. "type": "string"
  22185. },
  22186. "goodscode": {
  22187. "description": "点价商品代码",
  22188. "type": "string"
  22189. },
  22190. "goodsid": {
  22191. "description": "点价商品ID",
  22192. "type": "integer"
  22193. },
  22194. "goodsname": {
  22195. "description": "点价商品名称",
  22196. "type": "string"
  22197. },
  22198. "invoiceamount": {
  22199. "description": "已开票额",
  22200. "type": "number"
  22201. },
  22202. "loanamount": {
  22203. "description": "贷款总额=已定价额+调整金额",
  22204. "type": "number"
  22205. },
  22206. "margin": {
  22207. "description": "保证金",
  22208. "type": "number"
  22209. },
  22210. "meruserid": {
  22211. "description": "跟单员id",
  22212. "type": "integer"
  22213. },
  22214. "meruserlogincode": {
  22215. "description": "跟单员登录代码",
  22216. "type": "string"
  22217. },
  22218. "merusername": {
  22219. "description": "跟单员名称",
  22220. "type": "string"
  22221. },
  22222. "nickname": {
  22223. "description": "账户昵称",
  22224. "type": "string"
  22225. },
  22226. "payamount": {
  22227. "description": "已收付额(收款或付款)",
  22228. "type": "number"
  22229. },
  22230. "preinvoiceamount": {
  22231. "description": "预收(开)票额",
  22232. "type": "number"
  22233. },
  22234. "prepayamount": {
  22235. "description": "预收付额",
  22236. "type": "number"
  22237. },
  22238. "price": {
  22239. "description": "价格",
  22240. "type": "number"
  22241. },
  22242. "pricedamount": {
  22243. "description": "已定价额",
  22244. "type": "number"
  22245. },
  22246. "pricedavg": {
  22247. "description": "已点均价",
  22248. "type": "number"
  22249. },
  22250. "pricedqty": {
  22251. "description": "已定价量",
  22252. "type": "number"
  22253. },
  22254. "pricemove": {
  22255. "description": "升贴水",
  22256. "type": "number"
  22257. },
  22258. "pricetype": {
  22259. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22260. "type": "integer"
  22261. },
  22262. "producttype": {
  22263. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22264. "type": "integer"
  22265. },
  22266. "qty": {
  22267. "description": "合同量",
  22268. "type": "number"
  22269. },
  22270. "reckonadjustamount": {
  22271. "description": "调整金额",
  22272. "type": "number"
  22273. },
  22274. "reckonedamount": {
  22275. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  22276. "type": "number"
  22277. },
  22278. "reckonotheramount": {
  22279. "description": "其它费用",
  22280. "type": "number"
  22281. },
  22282. "reckonrealqty": {
  22283. "description": "已确定量",
  22284. "type": "number"
  22285. },
  22286. "remark": {
  22287. "description": "备注",
  22288. "type": "string"
  22289. },
  22290. "saleuserid": {
  22291. "description": "业务员id",
  22292. "type": "integer"
  22293. },
  22294. "saleuserlogincode": {
  22295. "description": "业务员登录代码",
  22296. "type": "string"
  22297. },
  22298. "saleusername": {
  22299. "description": "业务员名称",
  22300. "type": "string"
  22301. },
  22302. "spotcontractid": {
  22303. "description": "合同ID",
  22304. "type": "string"
  22305. },
  22306. "spotgoodsbrandid": {
  22307. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22308. "type": "integer"
  22309. },
  22310. "spotgoodsdesc": {
  22311. "description": "商品型号(商品规格)",
  22312. "type": "string"
  22313. },
  22314. "startdate": {
  22315. "description": "点价开始日",
  22316. "type": "string"
  22317. },
  22318. "subjectid": {
  22319. "description": "交易主体ID",
  22320. "type": "string"
  22321. },
  22322. "subjectname": {
  22323. "description": "交易主体名称",
  22324. "type": "string"
  22325. },
  22326. "totalamount": {
  22327. "description": "合计总额",
  22328. "type": "number"
  22329. },
  22330. "tradeuserid": {
  22331. "description": "交易员id",
  22332. "type": "integer"
  22333. },
  22334. "tradeuserlogincode": {
  22335. "description": "交易员登录代码",
  22336. "type": "string"
  22337. },
  22338. "tradeusername": {
  22339. "description": "交易员名称",
  22340. "type": "string"
  22341. },
  22342. "unpayamount": {
  22343. "description": "应收付款额(应支付或应收款)",
  22344. "type": "number"
  22345. },
  22346. "unpricedqty": {
  22347. "description": "未定价量",
  22348. "type": "number"
  22349. },
  22350. "unsureqty": {
  22351. "description": "未确定量",
  22352. "type": "number"
  22353. },
  22354. "userid": {
  22355. "description": "机构ID",
  22356. "type": "integer"
  22357. },
  22358. "vatrate": {
  22359. "description": "增值税率",
  22360. "type": "number"
  22361. },
  22362. "wrstandardcode": {
  22363. "description": "品类代码",
  22364. "type": "string"
  22365. },
  22366. "wrstandardid": {
  22367. "description": "品类ID",
  22368. "type": "integer"
  22369. },
  22370. "wrstandardname": {
  22371. "description": "品类名称",
  22372. "type": "string"
  22373. }
  22374. }
  22375. },
  22376. "models.Ermcp3SpotGoodsPrice": {
  22377. "type": "object",
  22378. "properties": {
  22379. "areauserid": {
  22380. "description": "所属机构id",
  22381. "type": "integer"
  22382. },
  22383. "brandname": {
  22384. "description": "品牌名称",
  22385. "type": "string"
  22386. },
  22387. "currencyid": {
  22388. "description": "报价货币ID",
  22389. "type": "integer"
  22390. },
  22391. "currencyname": {
  22392. "description": "币种名称",
  22393. "type": "string"
  22394. },
  22395. "deliverygoodscode": {
  22396. "description": "现货商品代码",
  22397. "type": "string"
  22398. },
  22399. "deliverygoodsid": {
  22400. "description": "现货商品id",
  22401. "type": "integer"
  22402. },
  22403. "deliverygoodsname": {
  22404. "description": "现货商品名称",
  22405. "type": "string"
  22406. },
  22407. "enumdicname": {
  22408. "description": "现货商品单位名称",
  22409. "type": "string"
  22410. },
  22411. "gbenumdicname": {
  22412. "description": "品类单位名称",
  22413. "type": "string"
  22414. },
  22415. "gmunitid": {
  22416. "description": "品类单位id",
  22417. "type": "integer"
  22418. },
  22419. "isvalid": {
  22420. "description": "是否有效 - 0:无效 1:有效",
  22421. "type": "integer"
  22422. },
  22423. "operateid": {
  22424. "description": "最后操作人",
  22425. "type": "integer"
  22426. },
  22427. "operatesrc": {
  22428. "description": "最后操作来源 - 1:管理端 2:终端",
  22429. "type": "integer"
  22430. },
  22431. "operatetime": {
  22432. "description": "最后操作时间",
  22433. "type": "string"
  22434. },
  22435. "operatorname": {
  22436. "description": "操作人名称",
  22437. "type": "string"
  22438. },
  22439. "spotgoodsbrandid": {
  22440. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  22441. "type": "integer"
  22442. },
  22443. "spotgoodsprice": {
  22444. "description": "现货价格",
  22445. "type": "number"
  22446. },
  22447. "tradedate": {
  22448. "description": "交易日(yyyyMMdd)",
  22449. "type": "string"
  22450. },
  22451. "unitid": {
  22452. "description": "现货商品单位id",
  22453. "type": "integer"
  22454. },
  22455. "wrstandardcode": {
  22456. "description": "品类代码",
  22457. "type": "string"
  22458. },
  22459. "wrstandardid": {
  22460. "description": "现货品类ID(通用则为0)",
  22461. "type": "integer"
  22462. },
  22463. "wrstandardname": {
  22464. "description": "品类名称",
  22465. "type": "string"
  22466. }
  22467. }
  22468. },
  22469. "models.Ermcp3SpotGoodsPriceLog": {
  22470. "type": "object",
  22471. "properties": {
  22472. "areauserid": {
  22473. "description": "所属机构id",
  22474. "type": "integer"
  22475. },
  22476. "brandname": {
  22477. "description": "品牌名称",
  22478. "type": "string"
  22479. },
  22480. "currencyid": {
  22481. "description": "报价货币ID",
  22482. "type": "integer"
  22483. },
  22484. "deliverygoodscode": {
  22485. "description": "现货商品代码",
  22486. "type": "string"
  22487. },
  22488. "deliverygoodsid": {
  22489. "description": "现货商品id",
  22490. "type": "integer"
  22491. },
  22492. "deliverygoodsname": {
  22493. "description": "现货商品名称",
  22494. "type": "string"
  22495. },
  22496. "enumdicname": {
  22497. "description": "现货商品单位名称",
  22498. "type": "string"
  22499. },
  22500. "gbenumdicname": {
  22501. "description": "品类单位名称",
  22502. "type": "string"
  22503. },
  22504. "gmunitid": {
  22505. "description": "品类单位id",
  22506. "type": "integer"
  22507. },
  22508. "logid": {
  22509. "description": "日志id",
  22510. "type": "integer"
  22511. },
  22512. "operateid": {
  22513. "description": "最后操作人",
  22514. "type": "integer"
  22515. },
  22516. "operatesrc": {
  22517. "description": "最后操作来源 - 1:管理端 2:终端",
  22518. "type": "integer"
  22519. },
  22520. "operatetime": {
  22521. "description": "最后操作时间",
  22522. "type": "string"
  22523. },
  22524. "operatorname": {
  22525. "description": "操作人名称",
  22526. "type": "string"
  22527. },
  22528. "spotgoodsbrandid": {
  22529. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  22530. "type": "integer"
  22531. },
  22532. "spotgoodsprice": {
  22533. "description": "现货价格",
  22534. "type": "number"
  22535. },
  22536. "tradedate": {
  22537. "description": "交易日(yyyyMMdd)",
  22538. "type": "string"
  22539. },
  22540. "unitid": {
  22541. "description": "现货商品单位id",
  22542. "type": "integer"
  22543. },
  22544. "wrstandardcode": {
  22545. "description": "品类代码",
  22546. "type": "string"
  22547. },
  22548. "wrstandardid": {
  22549. "description": "现货品类ID(通用则为0)",
  22550. "type": "integer"
  22551. },
  22552. "wrstandardname": {
  22553. "description": "品类名称",
  22554. "type": "string"
  22555. }
  22556. }
  22557. },
  22558. "models.Ermcp3SubTaaccount": {
  22559. "type": "object",
  22560. "properties": {
  22561. "accountid": {
  22562. "description": "资金账户ID",
  22563. "type": "integer"
  22564. },
  22565. "parentaccountcode": {
  22566. "description": "所属根账号代码(母账号代码)",
  22567. "type": "string"
  22568. },
  22569. "parentaccountid": {
  22570. "description": "所属根账号(母账号)",
  22571. "type": "integer"
  22572. },
  22573. "taname": {
  22574. "description": "资金账号名称",
  22575. "type": "string"
  22576. },
  22577. "tradestatus": {
  22578. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  22579. "type": "integer"
  22580. },
  22581. "username": {
  22582. "description": "交易用户",
  22583. "type": "string"
  22584. }
  22585. }
  22586. },
  22587. "models.Ermcp3TaFutuReDataReport": {
  22588. "type": "object",
  22589. "properties": {
  22590. "accountid": {
  22591. "description": "交易账户",
  22592. "type": "integer"
  22593. },
  22594. "accountname": {
  22595. "description": "交易账号名称",
  22596. "type": "string"
  22597. },
  22598. "agreeunit": {
  22599. "description": "商品合约单位",
  22600. "type": "number"
  22601. },
  22602. "begindate": {
  22603. "description": "开始交易日",
  22604. "type": "string"
  22605. },
  22606. "buyorsell": {
  22607. "description": "持仓方向",
  22608. "type": "integer"
  22609. },
  22610. "charge": {
  22611. "description": "手续费",
  22612. "type": "number"
  22613. },
  22614. "closeavgprice": {
  22615. "description": "平仓均价",
  22616. "type": "number"
  22617. },
  22618. "closepl": {
  22619. "description": "平仓损益",
  22620. "type": "number"
  22621. },
  22622. "currencyid": {
  22623. "description": "结算币种ID",
  22624. "type": "integer"
  22625. },
  22626. "currencyname": {
  22627. "description": "币种名称",
  22628. "type": "string"
  22629. },
  22630. "cycletime": {
  22631. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22632. "type": "string"
  22633. },
  22634. "cycletype": {
  22635. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22636. "type": "integer"
  22637. },
  22638. "enddate": {
  22639. "description": "结束交易日",
  22640. "type": "string"
  22641. },
  22642. "enumdicname": {
  22643. "description": "单位名称",
  22644. "type": "string"
  22645. },
  22646. "floatpl": {
  22647. "description": "浮动损益",
  22648. "type": "number"
  22649. },
  22650. "goodscode": {
  22651. "description": "交易合约代码",
  22652. "type": "string"
  22653. },
  22654. "goodsgroupid": {
  22655. "description": "交易品种",
  22656. "type": "integer"
  22657. },
  22658. "goodsgroupname": {
  22659. "description": "交易品种名称",
  22660. "type": "string"
  22661. },
  22662. "goodsgroupspotqty": {
  22663. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  22664. "type": "number"
  22665. },
  22666. "goodsid": {
  22667. "description": "交易合约",
  22668. "type": "integer"
  22669. },
  22670. "goodsname": {
  22671. "description": "交易合约名称",
  22672. "type": "string"
  22673. },
  22674. "goodunitid": {
  22675. "description": "交易合约单位id",
  22676. "type": "integer"
  22677. },
  22678. "holdamount": {
  22679. "description": "期末持仓额",
  22680. "type": "number"
  22681. },
  22682. "holdqty": {
  22683. "description": "期末持仓量",
  22684. "type": "number"
  22685. },
  22686. "lastholdamount": {
  22687. "description": "当前持仓额",
  22688. "type": "number"
  22689. },
  22690. "lastprice": {
  22691. "description": "最新价",
  22692. "type": "number"
  22693. },
  22694. "middlegoodsid": {
  22695. "description": "套保品种id",
  22696. "type": "integer"
  22697. },
  22698. "middlegoodsname": {
  22699. "description": "套保商品名称",
  22700. "type": "string"
  22701. },
  22702. "middlegoodsqty": {
  22703. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  22704. "type": "number"
  22705. },
  22706. "middlgoodscode": {
  22707. "description": "套保商品代码",
  22708. "type": "string"
  22709. },
  22710. "openamount": {
  22711. "description": "期末开仓额",
  22712. "type": "number"
  22713. },
  22714. "openavgprice": {
  22715. "description": "开仓均价",
  22716. "type": "number"
  22717. },
  22718. "oriholdamount": {
  22719. "description": "期初持仓额",
  22720. "type": "number"
  22721. },
  22722. "oriholdqty": {
  22723. "description": "期初持仓量",
  22724. "type": "number"
  22725. },
  22726. "oriopenamount": {
  22727. "description": "期初开仓额",
  22728. "type": "number"
  22729. },
  22730. "outergroupcode": {
  22731. "description": "交易品种代码",
  22732. "type": "string"
  22733. },
  22734. "qtydecimalplace": {
  22735. "description": "成交量小数位",
  22736. "type": "integer"
  22737. },
  22738. "reckondate": {
  22739. "description": "日照时期(yyyyMMdd)",
  22740. "type": "string"
  22741. },
  22742. "reckonholdamount": {
  22743. "description": "结算持仓额",
  22744. "type": "number"
  22745. },
  22746. "reckonpl": {
  22747. "description": "结算损益",
  22748. "type": "number"
  22749. },
  22750. "reckonpl2": {
  22751. "description": "结算逐笔盈亏",
  22752. "type": "number"
  22753. },
  22754. "reckonprice": {
  22755. "description": "结算价",
  22756. "type": "number"
  22757. },
  22758. "relateduserid": {
  22759. "description": "账户关联用户ID",
  22760. "type": "integer"
  22761. },
  22762. "todaycloseamount": {
  22763. "description": "今平仓额",
  22764. "type": "number"
  22765. },
  22766. "todaycloseqty": {
  22767. "description": "今平仓量",
  22768. "type": "number"
  22769. },
  22770. "todaygoodsgroupspotqty": {
  22771. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  22772. "type": "number"
  22773. },
  22774. "todaymiddlegoodsqty": {
  22775. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  22776. "type": "number"
  22777. },
  22778. "todayopenamount": {
  22779. "description": "今开仓额",
  22780. "type": "number"
  22781. },
  22782. "todayopenqty": {
  22783. "description": "今开仓量",
  22784. "type": "number"
  22785. },
  22786. "userid": {
  22787. "description": "账户所属用户ID",
  22788. "type": "integer"
  22789. }
  22790. }
  22791. },
  22792. "models.Ermcp3TradeLinkDetail": {
  22793. "type": "object",
  22794. "properties": {
  22795. "accountid": {
  22796. "description": "资金账号",
  22797. "type": "integer"
  22798. },
  22799. "agreeunit": {
  22800. "description": "合约乘数",
  22801. "type": "number"
  22802. },
  22803. "areauserid": {
  22804. "description": "所属机构",
  22805. "type": "string"
  22806. },
  22807. "bizsubjectid": {
  22808. "description": "归属业务部门ID - SubjectID",
  22809. "type": "string"
  22810. },
  22811. "buyorsell": {
  22812. "description": "方向 - 0:买 1:卖",
  22813. "type": "integer"
  22814. },
  22815. "channelbuildtype": {
  22816. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22817. "type": "integer"
  22818. },
  22819. "contractno": {
  22820. "description": "现货编号 (合同编号)",
  22821. "type": "string"
  22822. },
  22823. "convertratio": {
  22824. "description": "折算系数",
  22825. "type": "number"
  22826. },
  22827. "createtime": {
  22828. "description": "关联时间 | 创建时间",
  22829. "type": "string"
  22830. },
  22831. "creatorid": {
  22832. "description": "创建人ID",
  22833. "type": "string"
  22834. },
  22835. "creatorsrc": {
  22836. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  22837. "type": "integer"
  22838. },
  22839. "enumdicname": {
  22840. "description": "单位名称",
  22841. "type": "string"
  22842. },
  22843. "goodscode": {
  22844. "description": "合约代码",
  22845. "type": "string"
  22846. },
  22847. "goodsgroupid": {
  22848. "description": "对冲品种ID[期货合约商品组ID]",
  22849. "type": "integer"
  22850. },
  22851. "goodsid": {
  22852. "description": "商品ID",
  22853. "type": "integer"
  22854. },
  22855. "goodsname": {
  22856. "description": "合约名称",
  22857. "type": "string"
  22858. },
  22859. "hedgeflag": {
  22860. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  22861. "type": "integer"
  22862. },
  22863. "linkdetailid": {
  22864. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  22865. "type": "string"
  22866. },
  22867. "linkstatus": {
  22868. "description": "关联状态 - 1:成功 2:失败",
  22869. "type": "integer"
  22870. },
  22871. "middlegoodsid": {
  22872. "description": "套保品种ID",
  22873. "type": "integer"
  22874. },
  22875. "relatedlot": {
  22876. "description": "关联手数",
  22877. "type": "number"
  22878. },
  22879. "relatedmode": {
  22880. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  22881. "type": "integer"
  22882. },
  22883. "relatedqty": {
  22884. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  22885. "type": "number"
  22886. },
  22887. "retcode": {
  22888. "description": "返回码",
  22889. "type": "integer"
  22890. },
  22891. "saleuserid": {
  22892. "description": "业务员ID",
  22893. "type": "string"
  22894. },
  22895. "spotcontractid": {
  22896. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  22897. "type": "string"
  22898. },
  22899. "taname": {
  22900. "description": "期货账户",
  22901. "type": "string"
  22902. },
  22903. "tradedate": {
  22904. "description": "关联交易日(yyyyMMdd)",
  22905. "type": "string"
  22906. },
  22907. "tradeid": {
  22908. "description": "期货订单号 | 内部成交单ID",
  22909. "type": "string"
  22910. },
  22911. "tradelot": {
  22912. "description": "成交数量 | 成交手数",
  22913. "type": "integer"
  22914. },
  22915. "tradeprice": {
  22916. "description": "成交价格",
  22917. "type": "number"
  22918. },
  22919. "tradetime": {
  22920. "description": "期货成交时间",
  22921. "type": "string"
  22922. },
  22923. "tradetradedate": {
  22924. "description": "成交交易日(yyyyMMdd)",
  22925. "type": "string"
  22926. },
  22927. "username": {
  22928. "description": "用户名称",
  22929. "type": "string"
  22930. }
  22931. }
  22932. },
  22933. "models.Ermcp3Wrstandard": {
  22934. "type": "object",
  22935. "properties": {
  22936. "areauserid": {
  22937. "description": "所属机构",
  22938. "type": "integer"
  22939. },
  22940. "cantrade": {
  22941. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  22942. "type": "integer"
  22943. },
  22944. "convertfactor": {
  22945. "description": "标仓系数",
  22946. "type": "number"
  22947. },
  22948. "createtime": {
  22949. "description": "创建时间",
  22950. "type": "string"
  22951. },
  22952. "creatorid": {
  22953. "description": "创建人",
  22954. "type": "integer"
  22955. },
  22956. "deliverygoodsid": {
  22957. "description": "现货品种ID",
  22958. "type": "integer"
  22959. },
  22960. "enumdicname": {
  22961. "description": "品类单位名称",
  22962. "type": "string"
  22963. },
  22964. "isvalid": {
  22965. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  22966. "type": "integer"
  22967. },
  22968. "minivalue": {
  22969. "description": "最小变动值",
  22970. "type": "integer"
  22971. },
  22972. "minivaluedp": {
  22973. "description": "最小变动值小数位",
  22974. "type": "integer"
  22975. },
  22976. "realminivalue": {
  22977. "description": "实际最小变动值",
  22978. "type": "integer"
  22979. },
  22980. "realminivaluedp": {
  22981. "description": "实际最小变动值小数位",
  22982. "type": "integer"
  22983. },
  22984. "remark": {
  22985. "description": "备注",
  22986. "type": "string"
  22987. },
  22988. "unitid": {
  22989. "description": "品类单位ID",
  22990. "type": "integer"
  22991. },
  22992. "updatetime": {
  22993. "description": "更新时间",
  22994. "type": "string"
  22995. },
  22996. "wrstandardcode": {
  22997. "description": "品类代码",
  22998. "type": "string"
  22999. },
  23000. "wrstandardid": {
  23001. "description": "品类ID(SEQ_WRSTANDARD)",
  23002. "type": "integer"
  23003. },
  23004. "wrstandardname": {
  23005. "description": "品类名称",
  23006. "type": "string"
  23007. }
  23008. }
  23009. },
  23010. "models.ErmcpBizGroupEx": {
  23011. "type": "object",
  23012. "properties": {
  23013. "acclist": {
  23014. "description": "账号列表",
  23015. "type": "array",
  23016. "items": {
  23017. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  23018. }
  23019. },
  23020. "bizgroupid": {
  23021. "description": "业务分组id",
  23022. "type": "integer"
  23023. },
  23024. "biztype": {
  23025. "description": "业务类型 1-套保 2-套利",
  23026. "type": "integer"
  23027. },
  23028. "wrlist": {
  23029. "description": "现货商品表",
  23030. "type": "array",
  23031. "items": {
  23032. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  23033. }
  23034. }
  23035. }
  23036. },
  23037. "models.ErmcpBizGroupSpotGoods": {
  23038. "type": "object",
  23039. "properties": {
  23040. "areauserid": {
  23041. "description": "所属机构id",
  23042. "type": "integer"
  23043. },
  23044. "bizgroupid": {
  23045. "description": "分组id",
  23046. "type": "integer"
  23047. },
  23048. "biztype": {
  23049. "description": "业务类型 1-套保 2-套利",
  23050. "type": "integer"
  23051. },
  23052. "deliverygoodscode": {
  23053. "description": "现货商品代码",
  23054. "type": "string"
  23055. },
  23056. "deliverygoodsid": {
  23057. "description": "现货商品id",
  23058. "type": "integer"
  23059. },
  23060. "deliverygoodsname": {
  23061. "description": "现货商品名称",
  23062. "type": "string"
  23063. },
  23064. "unitid": {
  23065. "description": "现货商品单位id",
  23066. "type": "integer"
  23067. }
  23068. }
  23069. },
  23070. "models.ErmcpBizGroupTaAccount": {
  23071. "type": "object",
  23072. "properties": {
  23073. "accountid": {
  23074. "description": "账号id",
  23075. "type": "integer"
  23076. },
  23077. "accountname": {
  23078. "description": "账号名称",
  23079. "type": "string"
  23080. },
  23081. "areauserid": {
  23082. "description": "所属机构id",
  23083. "type": "integer"
  23084. },
  23085. "bizgroupid": {
  23086. "description": "业务分组id",
  23087. "type": "integer"
  23088. },
  23089. "ismain": {
  23090. "description": "是否主账号 1-是 0-否",
  23091. "type": "integer"
  23092. }
  23093. }
  23094. },
  23095. "models.ErmcpDGFactoryItem": {
  23096. "type": "object",
  23097. "properties": {
  23098. "areauserid": {
  23099. "description": "用户id",
  23100. "type": "integer"
  23101. },
  23102. "deliverygoodsid": {
  23103. "description": "现货品种ID",
  23104. "type": "integer"
  23105. },
  23106. "dgfactoryitemid": {
  23107. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  23108. "type": "integer"
  23109. },
  23110. "dgfactoryitemtypeid": {
  23111. "description": "要素项类型",
  23112. "type": "integer"
  23113. },
  23114. "dgfactoryitemvalue": {
  23115. "description": "要素项值(类型为仓库时填写仓库名称)",
  23116. "type": "string"
  23117. },
  23118. "isvalid": {
  23119. "description": "是否有效 - 0:无效 1:有效",
  23120. "type": "integer"
  23121. },
  23122. "orderindex": {
  23123. "description": "顺序",
  23124. "type": "integer"
  23125. },
  23126. "warehouseid": {
  23127. "description": "仓库ID(类型为仓库时填写)",
  23128. "type": "integer"
  23129. }
  23130. }
  23131. },
  23132. "models.ErmcpDeliveryGoods": {
  23133. "type": "object",
  23134. "properties": {
  23135. "agreeunit": {
  23136. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  23137. "type": "integer"
  23138. },
  23139. "areauserid": {
  23140. "description": "所属机构",
  23141. "type": "integer"
  23142. },
  23143. "auditflag": {
  23144. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  23145. "type": "integer"
  23146. },
  23147. "categoryid": {
  23148. "description": "类别ID(SEQ_WRCATEGORY)",
  23149. "type": "integer"
  23150. },
  23151. "deliverygoodscode": {
  23152. "description": "现货品种代码",
  23153. "type": "string"
  23154. },
  23155. "deliverygoodsid": {
  23156. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  23157. "type": "integer"
  23158. },
  23159. "deliverygoodsname": {
  23160. "description": "现货品种名称",
  23161. "type": "string"
  23162. },
  23163. "deliverygoodstype": {
  23164. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  23165. "type": "integer"
  23166. },
  23167. "dgstatus": {
  23168. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  23169. "type": "integer"
  23170. },
  23171. "enumdicname": {
  23172. "description": "现货品种单位名称",
  23173. "type": "string"
  23174. },
  23175. "goodsunitid": {
  23176. "description": "现货品种单位ID",
  23177. "type": "integer"
  23178. },
  23179. "isvalid": {
  23180. "description": "是否有效 - 0:无效 1:有效",
  23181. "type": "integer"
  23182. },
  23183. "qtydecimalplace": {
  23184. "description": "成交量小数位",
  23185. "type": "integer"
  23186. },
  23187. "remark": {
  23188. "description": "备注",
  23189. "type": "string"
  23190. },
  23191. "standardqty": {
  23192. "description": "标准数量(库位数量) [标准品特有]",
  23193. "type": "integer"
  23194. },
  23195. "standardqtyrange": {
  23196. "description": "标准数量偏差范围 [标准品特有]",
  23197. "type": "integer"
  23198. }
  23199. }
  23200. },
  23201. "models.ErmcpFuturesCompany": {
  23202. "type": "object",
  23203. "properties": {
  23204. "brokerid": {
  23205. "description": "经纪公司代码",
  23206. "type": "string"
  23207. },
  23208. "channeladdress": {
  23209. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  23210. "type": "string"
  23211. },
  23212. "channelid": {
  23213. "description": "对冲渠道ID",
  23214. "type": "string"
  23215. },
  23216. "createtime": {
  23217. "description": "创建时间",
  23218. "type": "string"
  23219. },
  23220. "creatorid": {
  23221. "description": "创建人",
  23222. "type": "string"
  23223. },
  23224. "fcid": {
  23225. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  23226. "type": "integer"
  23227. },
  23228. "fcname": {
  23229. "description": "期货公司名称",
  23230. "type": "string"
  23231. },
  23232. "isvalid": {
  23233. "description": "是否有效 - 0:无效 1:有效",
  23234. "type": "integer"
  23235. },
  23236. "mhpaddress": {
  23237. "description": "MHP服务地址(IP:Port)",
  23238. "type": "string"
  23239. },
  23240. "riskrulegroupid": {
  23241. "description": "风控规则组ID",
  23242. "type": "string"
  23243. },
  23244. "tradefeetmpid": {
  23245. "description": "手续费模板ID[TradeConfigTmpType为2]",
  23246. "type": "string"
  23247. },
  23248. "trademargintmpid": {
  23249. "description": "保证金模板ID [TradeConfigTmpType为1]",
  23250. "type": "string"
  23251. },
  23252. "traderatetmpid": {
  23253. "description": "汇率模板ID[TradeConfigTmpType为3]",
  23254. "type": "string"
  23255. },
  23256. "updatetime": {
  23257. "description": "更新时间",
  23258. "type": "string"
  23259. },
  23260. "updatorid": {
  23261. "description": "更新人",
  23262. "type": "string"
  23263. }
  23264. }
  23265. },
  23266. "models.ErmcpGGConvertCfg": {
  23267. "type": "object",
  23268. "properties": {
  23269. "convertratio": {
  23270. "description": "折算系数",
  23271. "type": "number"
  23272. },
  23273. "destgoodsgroupid": {
  23274. "description": "目标品种ID",
  23275. "type": "integer"
  23276. },
  23277. "dstcode": {
  23278. "description": "目录品种代码",
  23279. "type": "string"
  23280. },
  23281. "dstexchangecode": {
  23282. "description": "目标期货交易所",
  23283. "type": "string"
  23284. },
  23285. "dstname": {
  23286. "description": "目标品种名称",
  23287. "type": "string"
  23288. },
  23289. "dstunitid": {
  23290. "description": "目标品种单位ID",
  23291. "type": "integer"
  23292. },
  23293. "dstunitidname": {
  23294. "description": "目标品种单位名称",
  23295. "type": "string"
  23296. },
  23297. "modifytime": {
  23298. "description": "修改时间",
  23299. "type": "string"
  23300. },
  23301. "srccode": {
  23302. "description": "源品种代码",
  23303. "type": "string"
  23304. },
  23305. "srcexchangecode": {
  23306. "description": "源期货交易所",
  23307. "type": "string"
  23308. },
  23309. "srcgoodsgroupid": {
  23310. "description": "源品种ID",
  23311. "type": "integer"
  23312. },
  23313. "srcname": {
  23314. "description": "源品种名称",
  23315. "type": "string"
  23316. },
  23317. "srcunitid": {
  23318. "description": "源品种单位ID",
  23319. "type": "integer"
  23320. },
  23321. "srcunitidname": {
  23322. "description": "源品种单位名称",
  23323. "type": "string"
  23324. }
  23325. }
  23326. },
  23327. "models.ErmcpGoods": {
  23328. "type": "object",
  23329. "required": [
  23330. "goodscode",
  23331. "goodsid",
  23332. "goodsname",
  23333. "marketid"
  23334. ],
  23335. "properties": {
  23336. "agreeunit": {
  23337. "description": "合约单位",
  23338. "type": "number"
  23339. },
  23340. "areauserid": {
  23341. "description": "所属机构",
  23342. "type": "integer"
  23343. },
  23344. "auditaccountid": {
  23345. "description": "审核操作员账号",
  23346. "type": "integer"
  23347. },
  23348. "audittime": {
  23349. "description": "审核时间",
  23350. "type": "string"
  23351. },
  23352. "cancelaccountid": {
  23353. "description": "注销操作员账号",
  23354. "type": "integer"
  23355. },
  23356. "canceltime": {
  23357. "description": "注销时间",
  23358. "type": "string"
  23359. },
  23360. "closepricemode": {
  23361. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23362. "type": "integer"
  23363. },
  23364. "closepriceparam": {
  23365. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23366. "type": "number"
  23367. },
  23368. "createtime": {
  23369. "description": "创建时间",
  23370. "type": "string"
  23371. },
  23372. "creatorid": {
  23373. "description": "创建人",
  23374. "type": "integer"
  23375. },
  23376. "currencyid": {
  23377. "description": "报价货币ID",
  23378. "type": "integer"
  23379. },
  23380. "cutmode": {
  23381. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  23382. "type": "integer"
  23383. },
  23384. "decimalplace": {
  23385. "description": "报价小数位",
  23386. "type": "integer"
  23387. },
  23388. "delistingdate": {
  23389. "description": "商品退市时间(状态:退市) -- 已作废",
  23390. "type": "string"
  23391. },
  23392. "delistingmode": {
  23393. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  23394. "type": "integer"
  23395. },
  23396. "deliveryflag": {
  23397. "description": "交割标志 - 0:不可交割 1:可交割",
  23398. "type": "integer"
  23399. },
  23400. "enumdicname": {
  23401. "description": "单位名称",
  23402. "type": "string"
  23403. },
  23404. "forceclosemode": {
  23405. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  23406. "type": "integer"
  23407. },
  23408. "forceclosevalue": {
  23409. "description": "定期强平参数 [收益权]",
  23410. "type": "integer"
  23411. },
  23412. "goodscode": {
  23413. "description": "商品代码(内部)",
  23414. "type": "string"
  23415. },
  23416. "goodscurrencyid": {
  23417. "description": "合约货币ID",
  23418. "type": "integer"
  23419. },
  23420. "goodsgroupid": {
  23421. "description": "所属商品组ID",
  23422. "type": "integer"
  23423. },
  23424. "goodsid": {
  23425. "description": "商品ID(自增ID SEQ_GOODS)",
  23426. "type": "integer"
  23427. },
  23428. "goodsname": {
  23429. "description": "商品名称",
  23430. "type": "string"
  23431. },
  23432. "goodsquotetype": {
  23433. "description": "合约报价类型: 1-直接报价 2-间接报价",
  23434. "type": "integer"
  23435. },
  23436. "goodsstatus": {
  23437. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23438. "type": "integer"
  23439. },
  23440. "goodstradetype": {
  23441. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  23442. "type": "integer"
  23443. },
  23444. "goodunitid": {
  23445. "description": "报价单位ID",
  23446. "type": "integer"
  23447. },
  23448. "hasquoter": {
  23449. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  23450. "type": "integer"
  23451. },
  23452. "hqprotecttime": {
  23453. "description": "行情保护时间(秒)",
  23454. "type": "integer"
  23455. },
  23456. "innerdealmode": {
  23457. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23458. "type": "integer"
  23459. },
  23460. "isbuylimited": {
  23461. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23462. "type": "integer"
  23463. },
  23464. "isvisible": {
  23465. "description": "游客是否可见 - 0:不可见 1:可见",
  23466. "type": "integer"
  23467. },
  23468. "lasttradedate": {
  23469. "description": "最后交易日期(状态:待退市)",
  23470. "type": "string"
  23471. },
  23472. "listingdate": {
  23473. "description": "交易开始日期",
  23474. "type": "string"
  23475. },
  23476. "marketid": {
  23477. "description": "所属市场ID",
  23478. "type": "integer"
  23479. },
  23480. "modifierid": {
  23481. "description": "修改人",
  23482. "type": "integer"
  23483. },
  23484. "modifystatus": {
  23485. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  23486. "type": "integer"
  23487. },
  23488. "modifytime": {
  23489. "description": "修改时间",
  23490. "type": "string"
  23491. },
  23492. "outerdealmode": {
  23493. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23494. "type": "integer"
  23495. },
  23496. "outgoodscode": {
  23497. "description": "商品代码(外部)",
  23498. "type": "string"
  23499. },
  23500. "pictureurl": {
  23501. "description": "商品图片",
  23502. "type": "string"
  23503. },
  23504. "qtydecimalplace": {
  23505. "description": "成交量小数位",
  23506. "type": "integer"
  23507. },
  23508. "quotegear": {
  23509. "description": "行情档位(1-10)",
  23510. "type": "integer"
  23511. },
  23512. "quoteminunit": {
  23513. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23514. "type": "integer"
  23515. },
  23516. "quoteshowtype": {
  23517. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  23518. "type": "integer"
  23519. },
  23520. "quoteshowtypeinterval": {
  23521. "description": "行情报价间隔时间(秒)(成交价时为0)",
  23522. "type": "integer"
  23523. },
  23524. "relatedgoodsid": {
  23525. "description": "关联参考商品ID",
  23526. "type": "integer"
  23527. },
  23528. "remark": {
  23529. "description": "备注",
  23530. "type": "string"
  23531. },
  23532. "trademode": {
  23533. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23534. "type": "integer"
  23535. }
  23536. }
  23537. },
  23538. "models.ErmcpGoodsBrand": {
  23539. "type": "object",
  23540. "properties": {
  23541. "areauserid": {
  23542. "description": "所属机构",
  23543. "type": "integer"
  23544. },
  23545. "brandid": {
  23546. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  23547. "type": "integer"
  23548. },
  23549. "brandname": {
  23550. "description": "品牌名称",
  23551. "type": "string"
  23552. },
  23553. "createtime": {
  23554. "description": "创建时间",
  23555. "type": "string"
  23556. },
  23557. "creatorid": {
  23558. "description": "创建人",
  23559. "type": "integer"
  23560. },
  23561. "creatorsrc": {
  23562. "description": "创建人来源 - 1:管理端 2:终端",
  23563. "type": "integer"
  23564. },
  23565. "deliverygoodsid": {
  23566. "description": "现货品种ID",
  23567. "type": "integer"
  23568. },
  23569. "isvalid": {
  23570. "description": "是否有效 - 0:无效 1:有效",
  23571. "type": "integer"
  23572. },
  23573. "updatetime": {
  23574. "description": "更新时间",
  23575. "type": "string"
  23576. },
  23577. "updatorid": {
  23578. "description": "更新人",
  23579. "type": "integer"
  23580. },
  23581. "updatorsrc": {
  23582. "description": "更新人来源 - 1:管理端 2:终端",
  23583. "type": "integer"
  23584. },
  23585. "wrstandardid": {
  23586. "description": "现货商品ID",
  23587. "type": "integer"
  23588. }
  23589. }
  23590. },
  23591. "models.ErmcpGoodsModel": {
  23592. "type": "object",
  23593. "properties": {
  23594. "areauserid": {
  23595. "description": "所属机构",
  23596. "type": "integer"
  23597. },
  23598. "convertfactor": {
  23599. "description": "标仓系数",
  23600. "type": "number"
  23601. },
  23602. "createtime": {
  23603. "description": "创建时间",
  23604. "type": "string"
  23605. },
  23606. "creatorid": {
  23607. "description": "创建人",
  23608. "type": "integer"
  23609. },
  23610. "creatorsrc": {
  23611. "description": "创建人来源 - 1:管理端 2:终端",
  23612. "type": "integer"
  23613. },
  23614. "deliverygoodsid": {
  23615. "description": "现货品种ID",
  23616. "type": "integer"
  23617. },
  23618. "isvalid": {
  23619. "description": "是否有效 - 0:无效 1:有效",
  23620. "type": "integer"
  23621. },
  23622. "modelid": {
  23623. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  23624. "type": "integer"
  23625. },
  23626. "modelname": {
  23627. "description": "型号名称",
  23628. "type": "string"
  23629. },
  23630. "updatetime": {
  23631. "description": "更新时间",
  23632. "type": "string"
  23633. },
  23634. "updatorid": {
  23635. "description": "更新人",
  23636. "type": "integer"
  23637. },
  23638. "updatorsrc": {
  23639. "description": "更新人来源 - 1:管理端 2:终端",
  23640. "type": "integer"
  23641. },
  23642. "wrstandardid": {
  23643. "description": "现货商品ID",
  23644. "type": "integer"
  23645. }
  23646. }
  23647. },
  23648. "models.ErmcpHisExposure": {
  23649. "type": "object",
  23650. "properties": {
  23651. "needhedgeexposoure": {
  23652. "description": "应套保敞口",
  23653. "type": "number"
  23654. },
  23655. "reckondate": {
  23656. "description": "日照时期(yyyyMMdd)",
  23657. "type": "string"
  23658. },
  23659. "totalexposure": {
  23660. "description": "总敞口",
  23661. "type": "number"
  23662. }
  23663. }
  23664. },
  23665. "models.ErmcpLoginTaAccount": {
  23666. "type": "object",
  23667. "properties": {
  23668. "accountid": {
  23669. "description": "账号id",
  23670. "type": "integer"
  23671. },
  23672. "accountname": {
  23673. "description": "账号名称",
  23674. "type": "string"
  23675. }
  23676. }
  23677. },
  23678. "models.ErmcpLoginUser": {
  23679. "type": "object",
  23680. "properties": {
  23681. "acclist": {
  23682. "description": "关联资金账号",
  23683. "type": "array",
  23684. "items": {
  23685. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  23686. }
  23687. },
  23688. "accountname": {
  23689. "description": "用户名称",
  23690. "type": "string"
  23691. },
  23692. "clientroleid": {
  23693. "description": "角色id(usertype=2)",
  23694. "type": "integer"
  23695. },
  23696. "createtime": {
  23697. "description": "创建时间",
  23698. "type": "string"
  23699. },
  23700. "logincode": {
  23701. "description": "登录代码",
  23702. "type": "string"
  23703. },
  23704. "loginid": {
  23705. "description": "登录id(LOGINID)",
  23706. "type": "integer"
  23707. },
  23708. "loginname": {
  23709. "description": "登录名称(loginaccount表中的accountname字段)",
  23710. "type": "string"
  23711. },
  23712. "loginstatus": {
  23713. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  23714. "type": "integer"
  23715. },
  23716. "memberuserid": {
  23717. "description": "所属会员id",
  23718. "type": "integer"
  23719. },
  23720. "mobile": {
  23721. "description": "手机号",
  23722. "type": "string"
  23723. },
  23724. "modifytime": {
  23725. "description": "修改时间",
  23726. "type": "string"
  23727. },
  23728. "password": {
  23729. "description": "密码(不可解密)",
  23730. "type": "string"
  23731. },
  23732. "rolename": {
  23733. "description": "角色名称",
  23734. "type": "string"
  23735. },
  23736. "rolestatus": {
  23737. "description": "角色状态 1-启用 2-停用",
  23738. "type": "integer"
  23739. },
  23740. "roletype": {
  23741. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  23742. "type": "string"
  23743. },
  23744. "userid": {
  23745. "description": "用户id",
  23746. "type": "integer"
  23747. },
  23748. "usertype": {
  23749. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  23750. "type": "integer"
  23751. }
  23752. }
  23753. },
  23754. "models.ErmcpLoginUserEx": {
  23755. "type": "object",
  23756. "properties": {
  23757. "accountstatus": {
  23758. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  23759. "type": "integer"
  23760. },
  23761. "mobile": {
  23762. "description": "手机号",
  23763. "type": "string"
  23764. },
  23765. "querytype": {
  23766. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  23767. "type": "integer"
  23768. },
  23769. "roleid": {
  23770. "description": "角色id(交易账户-\u003e用户id)",
  23771. "type": "integer"
  23772. },
  23773. "rolename": {
  23774. "description": "角色名称(交易账户-\u003e用户名称)",
  23775. "type": "string"
  23776. },
  23777. "userlist": {
  23778. "description": "用户列表",
  23779. "type": "array",
  23780. "items": {
  23781. "$ref": "#/definitions/models.ErmcpLoginUser"
  23782. }
  23783. },
  23784. "usertype": {
  23785. "description": "用户类型 2-机构 7-企业成员(云平台)",
  23786. "type": "integer"
  23787. }
  23788. }
  23789. },
  23790. "models.ErmcpMiddleGoodsModel": {
  23791. "type": "object",
  23792. "properties": {
  23793. "areauserid": {
  23794. "description": "机构用户ID",
  23795. "type": "integer"
  23796. },
  23797. "createtime": {
  23798. "description": "修改时间",
  23799. "type": "string"
  23800. },
  23801. "enumdicname": {
  23802. "description": "单位名称",
  23803. "type": "string"
  23804. },
  23805. "evaluateratio": {
  23806. "description": "估价系数",
  23807. "type": "number"
  23808. },
  23809. "goodsgroupid": {
  23810. "description": "关联期货品种ID",
  23811. "type": "integer"
  23812. },
  23813. "goodsunitid": {
  23814. "description": "单位ID",
  23815. "type": "integer"
  23816. },
  23817. "isvalid": {
  23818. "description": "状态 0-无效(停用) 1-有效(正常)",
  23819. "type": "integer"
  23820. },
  23821. "middlegoodscode": {
  23822. "description": "套保品种代码",
  23823. "type": "string"
  23824. },
  23825. "middlegoodsid": {
  23826. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  23827. "type": "integer"
  23828. },
  23829. "middlegoodsname": {
  23830. "description": "套保品种名称",
  23831. "type": "string"
  23832. },
  23833. "modifytime": {
  23834. "description": "修改时间",
  23835. "type": "string"
  23836. },
  23837. "needarbitrageratio": {
  23838. "description": "套利比例",
  23839. "type": "number"
  23840. },
  23841. "needhedgeratio": {
  23842. "description": "套保比率",
  23843. "type": "number"
  23844. },
  23845. "qtydecimalplace": {
  23846. "description": "数量小数位",
  23847. "type": "integer"
  23848. },
  23849. "relatedgoodsid": {
  23850. "description": "关联交易商品ID",
  23851. "type": "integer"
  23852. },
  23853. "relatedgoodstype": {
  23854. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  23855. "type": "integer"
  23856. },
  23857. "remark": {
  23858. "description": "备注",
  23859. "type": "string"
  23860. }
  23861. }
  23862. },
  23863. "models.ErmcpMiddlegoodsRelateGoods": {
  23864. "type": "object",
  23865. "properties": {
  23866. "agreeunit": {
  23867. "description": "合约乘数",
  23868. "type": "number"
  23869. },
  23870. "convertratio": {
  23871. "description": "折算系数",
  23872. "type": "number"
  23873. },
  23874. "enumdicname": {
  23875. "description": "单位名称(交易商品)",
  23876. "type": "string"
  23877. },
  23878. "goodscode": {
  23879. "description": "交易商品代码",
  23880. "type": "string"
  23881. },
  23882. "goodsgroupid": {
  23883. "description": "交易品种id",
  23884. "type": "integer"
  23885. },
  23886. "goodsid": {
  23887. "description": "商品Id",
  23888. "type": "integer"
  23889. },
  23890. "goodsname": {
  23891. "description": "交易商品名称",
  23892. "type": "string"
  23893. },
  23894. "goodunitid": {
  23895. "description": "交易商品单位id",
  23896. "type": "integer"
  23897. },
  23898. "middlegoodsid": {
  23899. "description": "套保商品id",
  23900. "type": "integer"
  23901. },
  23902. "middlegoodsname": {
  23903. "description": "套保商品名称",
  23904. "type": "string"
  23905. },
  23906. "middlegoodsswcode": {
  23907. "description": "套保商品代码",
  23908. "type": "string"
  23909. },
  23910. "needarbitrageratio": {
  23911. "description": "应套利比例",
  23912. "type": "number"
  23913. },
  23914. "needhedgeratio": {
  23915. "description": "应套保比例",
  23916. "type": "number"
  23917. }
  23918. }
  23919. },
  23920. "models.ErmcpRole": {
  23921. "type": "object",
  23922. "properties": {
  23923. "areauserid": {
  23924. "description": "所属机构",
  23925. "type": "integer"
  23926. },
  23927. "autoid": {
  23928. "description": "角色ID(自增ID)",
  23929. "type": "integer"
  23930. },
  23931. "modifierid": {
  23932. "description": "修改人(创建人)",
  23933. "type": "integer"
  23934. },
  23935. "modifiername": {
  23936. "description": "修改人名称",
  23937. "type": "string"
  23938. },
  23939. "modifytime": {
  23940. "description": "修改时间(创建时间)",
  23941. "type": "string"
  23942. },
  23943. "rolename": {
  23944. "description": "角色名称",
  23945. "type": "string"
  23946. },
  23947. "rolestatus": {
  23948. "description": "角色状态 - 1:启用 2:停用",
  23949. "type": "integer"
  23950. },
  23951. "roletype": {
  23952. "description": "角色类型 - 1- 管理端 2- 交易端",
  23953. "type": "integer"
  23954. }
  23955. }
  23956. },
  23957. "models.ErmcpRoleMenu": {
  23958. "type": "object",
  23959. "properties": {
  23960. "iconame": {
  23961. "description": "菜单图标",
  23962. "type": "string"
  23963. },
  23964. "ishadrole": {
  23965. "description": "是否有权限",
  23966. "type": "boolean"
  23967. },
  23968. "menutype": {
  23969. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  23970. "type": "integer"
  23971. },
  23972. "parentcode": {
  23973. "description": "上级资源代码",
  23974. "type": "string"
  23975. },
  23976. "remark": {
  23977. "description": "菜单备注",
  23978. "type": "string"
  23979. },
  23980. "resourcecode": {
  23981. "description": "菜单代码",
  23982. "type": "string"
  23983. },
  23984. "resourcelevel": {
  23985. "description": "级别",
  23986. "type": "integer"
  23987. },
  23988. "resourcename": {
  23989. "description": "菜单名称",
  23990. "type": "string"
  23991. },
  23992. "roleid": {
  23993. "description": "角色id",
  23994. "type": "integer"
  23995. },
  23996. "sort": {
  23997. "description": "排序",
  23998. "type": "integer"
  23999. },
  24000. "url": {
  24001. "description": "URL",
  24002. "type": "string"
  24003. },
  24004. "userid": {
  24005. "description": "用户id",
  24006. "type": "integer"
  24007. }
  24008. }
  24009. },
  24010. "models.ErmcpRoleMenuEx": {
  24011. "type": "object",
  24012. "properties": {
  24013. "menu": {
  24014. "description": "父级菜单",
  24015. "$ref": "#/definitions/models.ErmcpRoleMenu"
  24016. },
  24017. "subMenu": {
  24018. "description": "子级菜单",
  24019. "type": "array",
  24020. "items": {
  24021. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  24022. }
  24023. }
  24024. }
  24025. },
  24026. "models.ErmcpTaAccount": {
  24027. "type": "object",
  24028. "properties": {
  24029. "accountid": {
  24030. "description": "账户id",
  24031. "type": "integer"
  24032. },
  24033. "accountname": {
  24034. "description": "账户名称",
  24035. "type": "string"
  24036. },
  24037. "currencyid": {
  24038. "description": "币种id",
  24039. "type": "integer"
  24040. },
  24041. "hedgeaccountcode": {
  24042. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24043. "type": "string"
  24044. },
  24045. "ismain": {
  24046. "description": "是否主账户 0-否 1-是",
  24047. "type": "integer"
  24048. },
  24049. "parentaccountid": {
  24050. "description": "父账户id",
  24051. "type": "integer"
  24052. },
  24053. "relateduserid": {
  24054. "description": "关联userid",
  24055. "type": "integer"
  24056. },
  24057. "tradefeetmpid": {
  24058. "description": "手续费模板id",
  24059. "type": "integer"
  24060. },
  24061. "tradefeetmpname": {
  24062. "description": "手续费模板名称",
  24063. "type": "string"
  24064. },
  24065. "trademargintmpid": {
  24066. "description": "保证金模板id",
  24067. "type": "integer"
  24068. },
  24069. "trademargintmpname": {
  24070. "description": "保证金模板名称",
  24071. "type": "string"
  24072. },
  24073. "traderatetmpid": {
  24074. "description": "汇率模板id",
  24075. "type": "integer"
  24076. },
  24077. "traderatetmpname": {
  24078. "description": "汇率模板名称",
  24079. "type": "string"
  24080. },
  24081. "tradestatus": {
  24082. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24083. "type": "integer"
  24084. },
  24085. "userid": {
  24086. "description": "用户id",
  24087. "type": "integer"
  24088. }
  24089. }
  24090. },
  24091. "models.ErmcpTaAccountEx": {
  24092. "type": "object",
  24093. "properties": {
  24094. "mainAcc": {
  24095. "description": "主账号",
  24096. "$ref": "#/definitions/models.ErmcpTaAccountM"
  24097. },
  24098. "subacclist": {
  24099. "description": "子账号列表",
  24100. "type": "array",
  24101. "items": {
  24102. "$ref": "#/definitions/models.ErmcpTaAccount"
  24103. }
  24104. }
  24105. }
  24106. },
  24107. "models.ErmcpTaAccountInfo": {
  24108. "type": "object",
  24109. "properties": {
  24110. "accountid": {
  24111. "description": "资金账户ID",
  24112. "type": "integer"
  24113. },
  24114. "accountname": {
  24115. "description": "账户名称",
  24116. "type": "string"
  24117. },
  24118. "balance": {
  24119. "description": "期初余额",
  24120. "type": "number"
  24121. },
  24122. "capitalbalance": {
  24123. "description": "本金余额[外部子账户实际出入金余额]",
  24124. "type": "number"
  24125. },
  24126. "closepl": {
  24127. "description": "今日平仓盈亏",
  24128. "type": "number"
  24129. },
  24130. "creditdecrease": {
  24131. "description": "今日授信减少",
  24132. "type": "number"
  24133. },
  24134. "creditincrease": {
  24135. "description": "今日授信增加",
  24136. "type": "number"
  24137. },
  24138. "curdebt": {
  24139. "description": "期末欠款",
  24140. "type": "number"
  24141. },
  24142. "currencyid": {
  24143. "description": "货币ID",
  24144. "type": "integer"
  24145. },
  24146. "currentbalance": {
  24147. "description": "期末余额",
  24148. "type": "number"
  24149. },
  24150. "freezecharge": {
  24151. "description": "手续费冻结",
  24152. "type": "number"
  24153. },
  24154. "freezemargin": {
  24155. "description": "冻结保证金",
  24156. "type": "number"
  24157. },
  24158. "fromaccountid": {
  24159. "description": "所属上级账户",
  24160. "type": "integer"
  24161. },
  24162. "inamount": {
  24163. "description": "今日入金金额(包括三方入金)",
  24164. "type": "number"
  24165. },
  24166. "ismain": {
  24167. "description": "是否母账号 0:不是母账户 1:是母账户",
  24168. "type": "integer"
  24169. },
  24170. "mortgagecredit": {
  24171. "description": "授信金额",
  24172. "type": "number"
  24173. },
  24174. "oridebt": {
  24175. "description": "期初欠款",
  24176. "type": "number"
  24177. },
  24178. "orifreezecharge": {
  24179. "description": "期初手续费冻结",
  24180. "type": "number"
  24181. },
  24182. "orifreezemargin": {
  24183. "description": "期初冻结保证金",
  24184. "type": "number"
  24185. },
  24186. "orimortgagecredit": {
  24187. "description": "期初授信金额",
  24188. "type": "number"
  24189. },
  24190. "oriothercredit": {
  24191. "description": "期初其它授信金额",
  24192. "type": "number"
  24193. },
  24194. "oriotherfreezemargin": {
  24195. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  24196. "type": "number"
  24197. },
  24198. "orioutamountfreeze": {
  24199. "description": "期初出金冻结",
  24200. "type": "number"
  24201. },
  24202. "oriusedmargin": {
  24203. "description": "期初占用保证金",
  24204. "type": "number"
  24205. },
  24206. "othercredit": {
  24207. "description": "其它授信金额",
  24208. "type": "number"
  24209. },
  24210. "othercreditdecrease": {
  24211. "description": "今日其它授信减少",
  24212. "type": "number"
  24213. },
  24214. "othercreditincrease": {
  24215. "description": "今日其它授信增加",
  24216. "type": "number"
  24217. },
  24218. "otherfreezemargin": {
  24219. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  24220. "type": "number"
  24221. },
  24222. "outamount": {
  24223. "description": "今日出金金额(包括三方出金)",
  24224. "type": "number"
  24225. },
  24226. "outamountfreeze": {
  24227. "description": "出金冻结",
  24228. "type": "number"
  24229. },
  24230. "outthreshold": {
  24231. "description": "出金阈值",
  24232. "type": "number"
  24233. },
  24234. "parentaccountid": {
  24235. "description": "所属根账号",
  24236. "type": "integer"
  24237. },
  24238. "paycharge": {
  24239. "description": "今日手续费支出",
  24240. "type": "number"
  24241. },
  24242. "relateduserid": {
  24243. "description": "关联用户",
  24244. "type": "integer"
  24245. },
  24246. "signstatus": {
  24247. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  24248. "type": "integer"
  24249. },
  24250. "sublevelpath": {
  24251. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  24252. "type": "string"
  24253. },
  24254. "taaccounttype": {
  24255. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  24256. "type": "integer"
  24257. },
  24258. "thirdinamount": {
  24259. "description": "今日三方入金",
  24260. "type": "number"
  24261. },
  24262. "thirdoutamount": {
  24263. "description": "今日三方出金",
  24264. "type": "number"
  24265. },
  24266. "tradestatus": {
  24267. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24268. "type": "integer"
  24269. },
  24270. "transferamount": {
  24271. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  24272. "type": "number"
  24273. },
  24274. "usedmargin": {
  24275. "description": "占用保证金",
  24276. "type": "number"
  24277. },
  24278. "userid": {
  24279. "description": "用户ID",
  24280. "type": "integer"
  24281. }
  24282. }
  24283. },
  24284. "models.ErmcpTaAccountM": {
  24285. "type": "object",
  24286. "properties": {
  24287. "accountid": {
  24288. "description": "账户id",
  24289. "type": "integer"
  24290. },
  24291. "accountname": {
  24292. "description": "账户名称",
  24293. "type": "string"
  24294. },
  24295. "currencyid": {
  24296. "description": "币种id",
  24297. "type": "integer"
  24298. },
  24299. "fcid": {
  24300. "description": "期货公司id",
  24301. "type": "integer"
  24302. },
  24303. "fcname": {
  24304. "description": "期货公司代码",
  24305. "type": "string"
  24306. },
  24307. "hedgeaccountcode": {
  24308. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24309. "type": "string"
  24310. },
  24311. "ismain": {
  24312. "description": "是否主账户 0-否 1-是",
  24313. "type": "integer"
  24314. },
  24315. "parentaccountid": {
  24316. "description": "父账户id",
  24317. "type": "integer"
  24318. },
  24319. "relateduserid": {
  24320. "description": "关联userid",
  24321. "type": "integer"
  24322. },
  24323. "tradefeetmpid": {
  24324. "description": "手续费模板id",
  24325. "type": "integer"
  24326. },
  24327. "tradefeetmpname": {
  24328. "description": "手续费模板名称",
  24329. "type": "string"
  24330. },
  24331. "trademargintmpid": {
  24332. "description": "保证金模板id",
  24333. "type": "integer"
  24334. },
  24335. "trademargintmpname": {
  24336. "description": "保证金模板名称",
  24337. "type": "string"
  24338. },
  24339. "traderatetmpid": {
  24340. "description": "汇率模板id",
  24341. "type": "integer"
  24342. },
  24343. "traderatetmpname": {
  24344. "description": "汇率模板名称",
  24345. "type": "string"
  24346. },
  24347. "tradestatus": {
  24348. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24349. "type": "integer"
  24350. },
  24351. "userid": {
  24352. "description": "用户id",
  24353. "type": "integer"
  24354. }
  24355. }
  24356. },
  24357. "models.ErmcpTradeConfigTMP": {
  24358. "type": "object",
  24359. "properties": {
  24360. "areauserid": {
  24361. "description": "所属机构",
  24362. "type": "integer"
  24363. },
  24364. "basiccurrencyid": {
  24365. "description": "基本币种ID[汇率] - 目标币种",
  24366. "type": "integer"
  24367. },
  24368. "mainaccountid": {
  24369. "description": "主账户ID",
  24370. "type": "integer"
  24371. },
  24372. "modifierid": {
  24373. "description": "修改人",
  24374. "type": "integer"
  24375. },
  24376. "remark": {
  24377. "description": "备注",
  24378. "type": "string"
  24379. },
  24380. "tradeconfigtmpid": {
  24381. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  24382. "type": "integer"
  24383. },
  24384. "tradeconfigtmpname": {
  24385. "description": "交易配置模板名称",
  24386. "type": "string"
  24387. },
  24388. "tradeconfigtmptype": {
  24389. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  24390. "type": "integer"
  24391. },
  24392. "updatetime": {
  24393. "description": "更新时间",
  24394. "type": "string"
  24395. }
  24396. }
  24397. },
  24398. "models.Externalexchange": {
  24399. "type": "object",
  24400. "required": [
  24401. "autoid"
  24402. ],
  24403. "properties": {
  24404. "autoid": {
  24405. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  24406. "type": "integer"
  24407. },
  24408. "exchangefullname": {
  24409. "description": "外部交易所全称",
  24410. "type": "string"
  24411. },
  24412. "exexchangecode": {
  24413. "description": "外部交易所代码",
  24414. "type": "string"
  24415. },
  24416. "exexchangename": {
  24417. "description": "外部交易所名称(简称)",
  24418. "type": "string"
  24419. },
  24420. "ismarketprice": {
  24421. "description": "是否支持市价 - 0:不支持 1:支持",
  24422. "type": "integer"
  24423. },
  24424. "quotegear": {
  24425. "description": "行情档位(1-10)",
  24426. "type": "integer"
  24427. },
  24428. "showbrokerflag": {
  24429. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  24430. "type": "integer"
  24431. },
  24432. "updatetime": {
  24433. "description": "更新时间",
  24434. "type": "string"
  24435. }
  24436. }
  24437. },
  24438. "models.Funcmenulist": {
  24439. "type": "object",
  24440. "required": [
  24441. "resourcecode"
  24442. ],
  24443. "properties": {
  24444. "iconame": {
  24445. "description": "菜单图标",
  24446. "type": "string"
  24447. },
  24448. "menutype": {
  24449. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  24450. "type": "integer"
  24451. },
  24452. "parentcode": {
  24453. "description": "上级资源代码",
  24454. "type": "string"
  24455. },
  24456. "remark": {
  24457. "description": "备注",
  24458. "type": "string"
  24459. },
  24460. "resourcecode": {
  24461. "description": "资源代码",
  24462. "type": "string"
  24463. },
  24464. "resourcelevel": {
  24465. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  24466. "type": "integer"
  24467. },
  24468. "resourcename": {
  24469. "description": "资源名",
  24470. "type": "string"
  24471. },
  24472. "sort": {
  24473. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  24474. "type": "integer"
  24475. },
  24476. "url": {
  24477. "description": "URL",
  24478. "type": "string"
  24479. }
  24480. }
  24481. },
  24482. "models.Goods": {
  24483. "type": "object",
  24484. "required": [
  24485. "goodscode",
  24486. "goodsid",
  24487. "goodsname",
  24488. "marketid"
  24489. ],
  24490. "properties": {
  24491. "agreeunit": {
  24492. "description": "合约单位",
  24493. "type": "number"
  24494. },
  24495. "areauserid": {
  24496. "description": "所属机构",
  24497. "type": "integer"
  24498. },
  24499. "auditaccountid": {
  24500. "description": "审核操作员账号",
  24501. "type": "integer"
  24502. },
  24503. "audittime": {
  24504. "description": "审核时间",
  24505. "type": "string"
  24506. },
  24507. "cancelaccountid": {
  24508. "description": "注销操作员账号",
  24509. "type": "integer"
  24510. },
  24511. "canceltime": {
  24512. "description": "注销时间",
  24513. "type": "string"
  24514. },
  24515. "closepricemode": {
  24516. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24517. "type": "integer"
  24518. },
  24519. "closepriceparam": {
  24520. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24521. "type": "number"
  24522. },
  24523. "createtime": {
  24524. "description": "创建时间",
  24525. "type": "string"
  24526. },
  24527. "creatorid": {
  24528. "description": "创建人",
  24529. "type": "integer"
  24530. },
  24531. "currencyid": {
  24532. "description": "报价货币ID",
  24533. "type": "integer"
  24534. },
  24535. "cutmode": {
  24536. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24537. "type": "integer"
  24538. },
  24539. "decimalplace": {
  24540. "description": "报价小数位",
  24541. "type": "integer"
  24542. },
  24543. "delistingdate": {
  24544. "description": "商品退市时间(状态:退市) -- 已作废",
  24545. "type": "string"
  24546. },
  24547. "delistingmode": {
  24548. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24549. "type": "integer"
  24550. },
  24551. "deliveryflag": {
  24552. "description": "交割标志 - 0:不可交割 1:可交割",
  24553. "type": "integer"
  24554. },
  24555. "forceclosemode": {
  24556. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24557. "type": "integer"
  24558. },
  24559. "forceclosevalue": {
  24560. "description": "定期强平参数 [收益权]",
  24561. "type": "integer"
  24562. },
  24563. "goodscode": {
  24564. "description": "商品代码(内部)",
  24565. "type": "string"
  24566. },
  24567. "goodscurrencyid": {
  24568. "description": "合约货币ID",
  24569. "type": "integer"
  24570. },
  24571. "goodsgroupid": {
  24572. "description": "所属商品组ID",
  24573. "type": "integer"
  24574. },
  24575. "goodsid": {
  24576. "description": "商品ID(自增ID SEQ_GOODS)",
  24577. "type": "integer"
  24578. },
  24579. "goodsname": {
  24580. "description": "商品名称",
  24581. "type": "string"
  24582. },
  24583. "goodsquotetype": {
  24584. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24585. "type": "integer"
  24586. },
  24587. "goodsstatus": {
  24588. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24589. "type": "integer"
  24590. },
  24591. "goodstradetype": {
  24592. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24593. "type": "integer"
  24594. },
  24595. "goodunitid": {
  24596. "description": "报价单位ID",
  24597. "type": "integer"
  24598. },
  24599. "hasquoter": {
  24600. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24601. "type": "integer"
  24602. },
  24603. "hqprotecttime": {
  24604. "description": "行情保护时间(秒)",
  24605. "type": "integer"
  24606. },
  24607. "innerdealmode": {
  24608. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24609. "type": "integer"
  24610. },
  24611. "isbuylimited": {
  24612. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24613. "type": "integer"
  24614. },
  24615. "isvisible": {
  24616. "description": "游客是否可见 - 0:不可见 1:可见",
  24617. "type": "integer"
  24618. },
  24619. "lasttradedate": {
  24620. "description": "最后交易日期(状态:待退市)",
  24621. "type": "string"
  24622. },
  24623. "listingdate": {
  24624. "description": "交易开始日期",
  24625. "type": "string"
  24626. },
  24627. "marketid": {
  24628. "description": "所属市场ID",
  24629. "type": "integer"
  24630. },
  24631. "modifierid": {
  24632. "description": "修改人",
  24633. "type": "integer"
  24634. },
  24635. "modifystatus": {
  24636. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24637. "type": "integer"
  24638. },
  24639. "modifytime": {
  24640. "description": "修改时间",
  24641. "type": "string"
  24642. },
  24643. "outerdealmode": {
  24644. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24645. "type": "integer"
  24646. },
  24647. "outgoodscode": {
  24648. "description": "商品代码(外部)",
  24649. "type": "string"
  24650. },
  24651. "pictureurl": {
  24652. "description": "商品图片",
  24653. "type": "string"
  24654. },
  24655. "qtydecimalplace": {
  24656. "description": "成交量小数位",
  24657. "type": "integer"
  24658. },
  24659. "quotegear": {
  24660. "description": "行情档位(1-10)",
  24661. "type": "integer"
  24662. },
  24663. "quoteminunit": {
  24664. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24665. "type": "integer"
  24666. },
  24667. "quoteshowtype": {
  24668. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24669. "type": "integer"
  24670. },
  24671. "quoteshowtypeinterval": {
  24672. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24673. "type": "integer"
  24674. },
  24675. "remark": {
  24676. "description": "备注",
  24677. "type": "string"
  24678. }
  24679. }
  24680. },
  24681. "models.GoodsIDAndName": {
  24682. "type": "object",
  24683. "required": [
  24684. "goodscode",
  24685. "goodsid",
  24686. "goodsname",
  24687. "marketid"
  24688. ],
  24689. "properties": {
  24690. "goodscode": {
  24691. "description": "商品代码(内部)",
  24692. "type": "string"
  24693. },
  24694. "goodsid": {
  24695. "description": "商品ID(自增ID SEQ_GOODS)",
  24696. "type": "integer"
  24697. },
  24698. "goodsname": {
  24699. "description": "商品名称",
  24700. "type": "string"
  24701. },
  24702. "marketid": {
  24703. "description": "所属市场ID",
  24704. "type": "integer"
  24705. }
  24706. }
  24707. },
  24708. "models.Goodsgroup": {
  24709. "type": "object",
  24710. "required": [
  24711. "goodsgroupid",
  24712. "goodsgroupname",
  24713. "goodsgroupstatus",
  24714. "marketid"
  24715. ],
  24716. "properties": {
  24717. "agreeunit": {
  24718. "description": "合约单位",
  24719. "type": "number"
  24720. },
  24721. "canshort": {
  24722. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  24723. "type": "integer"
  24724. },
  24725. "closepricemode": {
  24726. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24727. "type": "integer"
  24728. },
  24729. "closepriceparam": {
  24730. "description": "强平最新价浮动比例 - 方式为2时使用",
  24731. "type": "number"
  24732. },
  24733. "createtime": {
  24734. "description": "创建时间",
  24735. "type": "string"
  24736. },
  24737. "creatorid": {
  24738. "description": "创建人",
  24739. "type": "integer"
  24740. },
  24741. "currencyid": {
  24742. "description": "报价货币ID",
  24743. "type": "integer"
  24744. },
  24745. "decimalplace": {
  24746. "description": "报价小数位",
  24747. "type": "integer"
  24748. },
  24749. "exercisetype": {
  24750. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  24751. "type": "integer"
  24752. },
  24753. "exexchangeid": {
  24754. "description": "外部交易所ID[通道交易]",
  24755. "type": "integer"
  24756. },
  24757. "goodsgroupid": {
  24758. "description": "商品组ID(自增ID)",
  24759. "type": "integer"
  24760. },
  24761. "goodsgroupname": {
  24762. "description": "商品组名称",
  24763. "type": "string"
  24764. },
  24765. "goodsgroupstatus": {
  24766. "description": "商品组状态 - 1:正常 2:注销",
  24767. "type": "integer"
  24768. },
  24769. "goodunitid": {
  24770. "description": "报价单位ID",
  24771. "type": "integer"
  24772. },
  24773. "innerdealmode": {
  24774. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24775. "type": "integer"
  24776. },
  24777. "isbuylimited": {
  24778. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24779. "type": "integer"
  24780. },
  24781. "marketid": {
  24782. "description": "所属市场ID",
  24783. "type": "integer"
  24784. },
  24785. "modifierid": {
  24786. "description": "修改人",
  24787. "type": "integer"
  24788. },
  24789. "modifytime": {
  24790. "description": "修改时间",
  24791. "type": "string"
  24792. },
  24793. "outerdealmode": {
  24794. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24795. "type": "integer"
  24796. },
  24797. "outergroupcode": {
  24798. "description": "外部商品组代码[通道交易]",
  24799. "type": "string"
  24800. },
  24801. "premiumdecimalplace": {
  24802. "description": "权利金小数位[场外期权]",
  24803. "type": "integer"
  24804. },
  24805. "premiumspreadalgorithm": {
  24806. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  24807. "type": "integer"
  24808. },
  24809. "premiumspreadvalue": {
  24810. "description": "权利金点差值[场外期权]",
  24811. "type": "number"
  24812. },
  24813. "qtydecimalplace": {
  24814. "description": "成交量小数位",
  24815. "type": "integer"
  24816. },
  24817. "quotegear": {
  24818. "description": "行情档位(1-10)",
  24819. "type": "integer"
  24820. },
  24821. "quoteminunit": {
  24822. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24823. "type": "integer"
  24824. },
  24825. "quoterid": {
  24826. "description": "报价商ID[场外期权]",
  24827. "type": "integer"
  24828. },
  24829. "quotesourcegroupid": {
  24830. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  24831. "type": "integer"
  24832. },
  24833. "syncgoodsqty": {
  24834. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  24835. "type": "integer"
  24836. }
  24837. }
  24838. },
  24839. "models.Goodssortbypreposition": {
  24840. "type": "object",
  24841. "required": [
  24842. "goodscode",
  24843. "tradedate"
  24844. ],
  24845. "properties": {
  24846. "goodscode": {
  24847. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  24848. "type": "string"
  24849. },
  24850. "goodsgroupcode": {
  24851. "description": "品种代码",
  24852. "type": "string"
  24853. },
  24854. "prepositionqty": {
  24855. "description": "昨持仓量",
  24856. "type": "integer"
  24857. },
  24858. "sortindex": {
  24859. "description": "排序",
  24860. "type": "integer"
  24861. },
  24862. "tradedate": {
  24863. "description": "交易日",
  24864. "type": "string"
  24865. },
  24866. "updatetime": {
  24867. "description": "更新时间",
  24868. "type": "string"
  24869. }
  24870. }
  24871. },
  24872. "models.Hedgeinnerholderdetail": {
  24873. "type": "object",
  24874. "required": [
  24875. "buyorsell",
  24876. "tradeid"
  24877. ],
  24878. "properties": {
  24879. "accountid": {
  24880. "description": "账号ID",
  24881. "type": "integer"
  24882. },
  24883. "buyorsell": {
  24884. "description": "方向 - 0:买 1:卖",
  24885. "type": "integer"
  24886. },
  24887. "freezeqty": {
  24888. "description": "冻结数量 - 按单平使用",
  24889. "type": "integer"
  24890. },
  24891. "goodsid": {
  24892. "description": "商品ID",
  24893. "type": "integer"
  24894. },
  24895. "holderamount": {
  24896. "description": "持仓金额 [商品币种]",
  24897. "type": "number"
  24898. },
  24899. "holderdays": {
  24900. "description": "剩余冻结天数",
  24901. "type": "integer"
  24902. },
  24903. "holderprice": {
  24904. "description": "持仓价格",
  24905. "type": "number"
  24906. },
  24907. "holderqty": {
  24908. "description": "持仓数量",
  24909. "type": "integer"
  24910. },
  24911. "marketid": {
  24912. "description": "市场ID",
  24913. "type": "integer"
  24914. },
  24915. "openprice": {
  24916. "description": "建仓价格",
  24917. "type": "number"
  24918. },
  24919. "openqty": {
  24920. "description": "建仓数量",
  24921. "type": "integer"
  24922. },
  24923. "parentaccountid": {
  24924. "description": "所属母账户",
  24925. "type": "integer"
  24926. },
  24927. "releaseamount": {
  24928. "description": "释放持仓金额[商品币种]",
  24929. "type": "number"
  24930. },
  24931. "tradeamount": {
  24932. "description": "成交金额[账户]",
  24933. "type": "number"
  24934. },
  24935. "tradedate": {
  24936. "description": "交易日(yyyyMMdd)",
  24937. "type": "string"
  24938. },
  24939. "tradeid": {
  24940. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24941. "type": "string"
  24942. },
  24943. "tradetime": {
  24944. "description": "交易时间",
  24945. "type": "string"
  24946. }
  24947. }
  24948. },
  24949. "models.Hedgemarketopenlog": {
  24950. "type": "object",
  24951. "required": [
  24952. "accountid"
  24953. ],
  24954. "properties": {
  24955. "accountid": {
  24956. "description": "资金账号[外部母账户]",
  24957. "type": "integer"
  24958. },
  24959. "fcname": {
  24960. "description": "期货公司名称",
  24961. "type": "string"
  24962. },
  24963. "handlestatus": {
  24964. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  24965. "type": "integer"
  24966. },
  24967. "marketid": {
  24968. "description": "市场ID",
  24969. "type": "integer"
  24970. },
  24971. "status": {
  24972. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  24973. "type": "integer"
  24974. },
  24975. "tradedate": {
  24976. "description": "交易日(yyyyMMdd)",
  24977. "type": "string"
  24978. },
  24979. "updatetime": {
  24980. "description": "更新时间",
  24981. "type": "string"
  24982. }
  24983. }
  24984. },
  24985. "models.HsbyBuyMyPayOrder": {
  24986. "type": "object",
  24987. "required": [
  24988. "goodscode",
  24989. "goodsname",
  24990. "tradeid",
  24991. "trademode"
  24992. ],
  24993. "properties": {
  24994. "agreeunit": {
  24995. "description": "合约单位",
  24996. "type": "number"
  24997. },
  24998. "buyaccountid": {
  24999. "description": "买方账号ID[报价币种]",
  25000. "type": "integer"
  25001. },
  25002. "buyorderid": {
  25003. "description": "买方委托单号",
  25004. "type": "string"
  25005. },
  25006. "createtime": {
  25007. "description": "创建时间",
  25008. "type": "string"
  25009. },
  25010. "currencysign": {
  25011. "description": "货币符号",
  25012. "type": "string"
  25013. },
  25014. "decimalplace": {
  25015. "description": "报价小数位",
  25016. "type": "integer"
  25017. },
  25018. "goodscode": {
  25019. "description": "商品代码(内部)",
  25020. "type": "string"
  25021. },
  25022. "goodsid": {
  25023. "description": "商品ID",
  25024. "type": "integer"
  25025. },
  25026. "goodsname": {
  25027. "description": "商品名称",
  25028. "type": "string"
  25029. },
  25030. "marketid": {
  25031. "description": "市场ID",
  25032. "type": "integer"
  25033. },
  25034. "offamount": {
  25035. "description": "优惠金额",
  25036. "type": "number"
  25037. },
  25038. "originalamount": {
  25039. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  25040. "type": "number"
  25041. },
  25042. "payamount": {
  25043. "description": "支付金额 = TradeAmount + TradeCharge",
  25044. "type": "number"
  25045. },
  25046. "payflag": {
  25047. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25048. "type": "integer"
  25049. },
  25050. "paylimitedtime": {
  25051. "description": "支付期限",
  25052. "type": "string"
  25053. },
  25054. "paytime": {
  25055. "description": "付款时间",
  25056. "type": "string"
  25057. },
  25058. "picurls1": {
  25059. "description": "预售商品介绍图片[多张用逗号分隔]",
  25060. "type": "string"
  25061. },
  25062. "picurls2": {
  25063. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25064. "type": "string"
  25065. },
  25066. "sellaccountid": {
  25067. "description": "卖方账号ID[报价币种]",
  25068. "type": "integer"
  25069. },
  25070. "sellorderid": {
  25071. "description": "卖方委托单号",
  25072. "type": "string"
  25073. },
  25074. "tradeamount": {
  25075. "description": "成交金额",
  25076. "type": "number"
  25077. },
  25078. "tradecharge": {
  25079. "description": "成交手续费(买方)",
  25080. "type": "number"
  25081. },
  25082. "tradedate": {
  25083. "description": "交易日(yyyyMMdd)",
  25084. "type": "string"
  25085. },
  25086. "tradeid": {
  25087. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25088. "type": "string"
  25089. },
  25090. "trademode": {
  25091. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25092. "type": "integer"
  25093. },
  25094. "tradeprice": {
  25095. "description": "成交价格",
  25096. "type": "number"
  25097. },
  25098. "tradeqty": {
  25099. "description": "成交数量",
  25100. "type": "integer"
  25101. },
  25102. "vendorname1": {
  25103. "description": "预售商品供应商名称",
  25104. "type": "string"
  25105. },
  25106. "vendorname2": {
  25107. "description": "挂牌商品供应商名称",
  25108. "type": "string"
  25109. }
  25110. }
  25111. },
  25112. "models.HsbyBuyMyTradeDetail": {
  25113. "type": "object",
  25114. "required": [
  25115. "accountid",
  25116. "buyorsell",
  25117. "goodscode",
  25118. "goodsid",
  25119. "goodsname",
  25120. "marketid",
  25121. "orderid",
  25122. "qty",
  25123. "time",
  25124. "trademode"
  25125. ],
  25126. "properties": {
  25127. "accountid": {
  25128. "description": "账户ID[报价币种]",
  25129. "type": "integer"
  25130. },
  25131. "agreeunit": {
  25132. "description": "合约单位",
  25133. "type": "number"
  25134. },
  25135. "amount": {
  25136. "description": "金额 = 价格 * 数量 * 合约单位",
  25137. "type": "number"
  25138. },
  25139. "buyorsell": {
  25140. "description": "买卖 - 0:买 1:卖",
  25141. "type": "integer"
  25142. },
  25143. "currencysign": {
  25144. "description": "货币符号",
  25145. "type": "string"
  25146. },
  25147. "decimalplace": {
  25148. "description": "报价小数位",
  25149. "type": "integer"
  25150. },
  25151. "goodscode": {
  25152. "description": "商品代码(内部)",
  25153. "type": "string"
  25154. },
  25155. "goodsid": {
  25156. "description": "商品ID",
  25157. "type": "integer"
  25158. },
  25159. "goodsname": {
  25160. "description": "商品名称",
  25161. "type": "string"
  25162. },
  25163. "marketid": {
  25164. "description": "市场ID",
  25165. "type": "integer"
  25166. },
  25167. "orderamount": {
  25168. "description": "委托金额",
  25169. "type": "number"
  25170. },
  25171. "orderid": {
  25172. "description": "单号(成交单号)",
  25173. "type": "string"
  25174. },
  25175. "picurls1": {
  25176. "description": "预售商品介绍图片[多张用逗号分隔]",
  25177. "type": "string"
  25178. },
  25179. "picurls2": {
  25180. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25181. "type": "string"
  25182. },
  25183. "price": {
  25184. "description": "价格",
  25185. "type": "number"
  25186. },
  25187. "qty": {
  25188. "description": "数量",
  25189. "type": "integer"
  25190. },
  25191. "time": {
  25192. "description": "时间",
  25193. "type": "string"
  25194. },
  25195. "trademode": {
  25196. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25197. "type": "integer"
  25198. },
  25199. "vendorname1": {
  25200. "description": "预售商品供应商名称",
  25201. "type": "string"
  25202. },
  25203. "vendorname2": {
  25204. "description": "挂牌商品供应商名称",
  25205. "type": "string"
  25206. }
  25207. }
  25208. },
  25209. "models.HsbyGoodsOrderDetail": {
  25210. "type": "object",
  25211. "required": [
  25212. "buyorsell",
  25213. "orderid",
  25214. "ordertime"
  25215. ],
  25216. "properties": {
  25217. "buyorsell": {
  25218. "description": "买卖 - 0:买 1:卖",
  25219. "type": "integer"
  25220. },
  25221. "currencysign": {
  25222. "description": "货币符号",
  25223. "type": "string"
  25224. },
  25225. "customername": {
  25226. "description": "客户名称(企业名称),已脱敏",
  25227. "type": "string"
  25228. },
  25229. "enableqty": {
  25230. "description": "可用数量",
  25231. "type": "integer"
  25232. },
  25233. "goodunit": {
  25234. "description": "报价单位",
  25235. "type": "string"
  25236. },
  25237. "orderid": {
  25238. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25239. "type": "string"
  25240. },
  25241. "orderprice": {
  25242. "description": "委托价格",
  25243. "type": "number"
  25244. },
  25245. "ordertime": {
  25246. "description": "委托时间",
  25247. "type": "string"
  25248. }
  25249. }
  25250. },
  25251. "models.HsbyListingGoodsDetail": {
  25252. "type": "object",
  25253. "required": [
  25254. "goodscode",
  25255. "goodsid",
  25256. "goodsname",
  25257. "marketid",
  25258. "trademode"
  25259. ],
  25260. "properties": {
  25261. "agreeunit": {
  25262. "description": "合约单位",
  25263. "type": "number"
  25264. },
  25265. "buymaxqty": {
  25266. "description": "购买上限 [71] - 0为不限",
  25267. "type": "integer"
  25268. },
  25269. "currency": {
  25270. "description": "货币",
  25271. "type": "string"
  25272. },
  25273. "currencysign": {
  25274. "description": "货币符号",
  25275. "type": "string"
  25276. },
  25277. "decimalplace": {
  25278. "description": "报价小数位",
  25279. "type": "integer"
  25280. },
  25281. "desccityid": {
  25282. "description": "目的地(市)ID",
  25283. "type": "integer"
  25284. },
  25285. "descprovinceid": {
  25286. "description": "目的地(省)ID",
  25287. "type": "integer"
  25288. },
  25289. "goodscode": {
  25290. "description": "商品代码(内部)",
  25291. "type": "string"
  25292. },
  25293. "goodsdesc": {
  25294. "description": "商品详情",
  25295. "type": "string"
  25296. },
  25297. "goodsid": {
  25298. "description": "商品ID(自增ID SEQ_GOODS)",
  25299. "type": "integer"
  25300. },
  25301. "goodsname": {
  25302. "description": "商品名称",
  25303. "type": "string"
  25304. },
  25305. "goodsprice": {
  25306. "description": "商品价格",
  25307. "type": "number"
  25308. },
  25309. "hotindex": {
  25310. "description": "景点热度",
  25311. "type": "integer"
  25312. },
  25313. "last": {
  25314. "description": "现价",
  25315. "type": "number"
  25316. },
  25317. "limitdown": {
  25318. "description": "跌停价",
  25319. "type": "number"
  25320. },
  25321. "limitup": {
  25322. "description": "涨停价",
  25323. "type": "number"
  25324. },
  25325. "lotsize": {
  25326. "description": "手数最小变动单位",
  25327. "type": "integer"
  25328. },
  25329. "marketid": {
  25330. "description": "所属市场ID",
  25331. "type": "integer"
  25332. },
  25333. "picurls": {
  25334. "description": "介绍图片[多张用逗号分隔]",
  25335. "type": "string"
  25336. },
  25337. "quoteminunit": {
  25338. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25339. "type": "integer"
  25340. },
  25341. "stepvalue": {
  25342. "description": "价格最小变动单位",
  25343. "type": "number"
  25344. },
  25345. "trademode": {
  25346. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25347. "type": "integer"
  25348. },
  25349. "vendorattr": {
  25350. "description": "供应商附件(多张,逗号分隔)",
  25351. "type": "string"
  25352. },
  25353. "vendorname": {
  25354. "description": "供应商名称",
  25355. "type": "string"
  25356. },
  25357. "vendorphone": {
  25358. "description": "供应商客服电话",
  25359. "type": "string"
  25360. },
  25361. "videourls": {
  25362. "description": "介绍视频[多张用逗号分隔]",
  25363. "type": "string"
  25364. }
  25365. }
  25366. },
  25367. "models.HsbyMarketGoods": {
  25368. "type": "object",
  25369. "required": [
  25370. "accountid",
  25371. "buyorsell",
  25372. "goodscode",
  25373. "goodsid",
  25374. "goodsname",
  25375. "marketid",
  25376. "orderid",
  25377. "trademode"
  25378. ],
  25379. "properties": {
  25380. "accountid": {
  25381. "description": "账户ID[报价币种]",
  25382. "type": "integer"
  25383. },
  25384. "agreeunit": {
  25385. "description": "合约单位",
  25386. "type": "number"
  25387. },
  25388. "buyorsell": {
  25389. "description": "买卖 - 0:买 1:卖",
  25390. "type": "integer"
  25391. },
  25392. "categoryid": {
  25393. "description": "类别ID(WRCATEGORY)",
  25394. "type": "integer"
  25395. },
  25396. "currency": {
  25397. "description": "货币",
  25398. "type": "string"
  25399. },
  25400. "currencysign": {
  25401. "description": "货币符号",
  25402. "type": "string"
  25403. },
  25404. "customername": {
  25405. "description": "卖家名称",
  25406. "type": "string"
  25407. },
  25408. "decimalplace": {
  25409. "description": "报价小数位",
  25410. "type": "integer"
  25411. },
  25412. "goodscode": {
  25413. "description": "商品代码(内部)",
  25414. "type": "string"
  25415. },
  25416. "goodsid": {
  25417. "description": "商品ID",
  25418. "type": "integer"
  25419. },
  25420. "goodsname": {
  25421. "description": "商品名称",
  25422. "type": "string"
  25423. },
  25424. "goodsprice": {
  25425. "description": "商品价格",
  25426. "type": "number"
  25427. },
  25428. "hascoupon": {
  25429. "description": "是否可用优惠卷",
  25430. "type": "boolean"
  25431. },
  25432. "hotindex": {
  25433. "description": "景点热度",
  25434. "type": "integer"
  25435. },
  25436. "marketid": {
  25437. "description": "市场ID",
  25438. "type": "integer"
  25439. },
  25440. "orderid": {
  25441. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25442. "type": "string"
  25443. },
  25444. "orderprice": {
  25445. "description": "委托价格",
  25446. "type": "number"
  25447. },
  25448. "orderstatus": {
  25449. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25450. "type": "integer"
  25451. },
  25452. "picurls": {
  25453. "description": "介绍图片[多张用逗号分隔]",
  25454. "type": "string"
  25455. },
  25456. "quoteminunit": {
  25457. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25458. "type": "integer"
  25459. },
  25460. "sellUserID": {
  25461. "description": "卖方UserID",
  25462. "type": "integer"
  25463. },
  25464. "trademode": {
  25465. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25466. "type": "integer"
  25467. },
  25468. "videourls": {
  25469. "description": "介绍视频[多张用逗号分隔]",
  25470. "type": "string"
  25471. }
  25472. }
  25473. },
  25474. "models.HsbyMarketGoodsDetail": {
  25475. "type": "object",
  25476. "required": [
  25477. "accountid",
  25478. "buyorsell",
  25479. "goodscode",
  25480. "goodsid",
  25481. "goodsname",
  25482. "marketid",
  25483. "orderid",
  25484. "orderqty",
  25485. "trademode"
  25486. ],
  25487. "properties": {
  25488. "accountid": {
  25489. "description": "账户ID[报价币种]",
  25490. "type": "integer"
  25491. },
  25492. "agreeunit": {
  25493. "description": "合约单位",
  25494. "type": "number"
  25495. },
  25496. "buymaxqty": {
  25497. "description": "购买上限 [71] - 0为不限",
  25498. "type": "integer"
  25499. },
  25500. "buyorsell": {
  25501. "description": "买卖 - 0:买 1:卖",
  25502. "type": "integer"
  25503. },
  25504. "cancelqty": {
  25505. "description": "撤单数量",
  25506. "type": "integer"
  25507. },
  25508. "categoryid": {
  25509. "description": "类别ID(WRCATEGORY)",
  25510. "type": "integer"
  25511. },
  25512. "currency": {
  25513. "description": "货币",
  25514. "type": "string"
  25515. },
  25516. "currencysign": {
  25517. "description": "货币符号",
  25518. "type": "string"
  25519. },
  25520. "customername": {
  25521. "description": "卖家名称",
  25522. "type": "string"
  25523. },
  25524. "decimalplace": {
  25525. "description": "报价小数位",
  25526. "type": "integer"
  25527. },
  25528. "goodscode": {
  25529. "description": "商品代码(内部)",
  25530. "type": "string"
  25531. },
  25532. "goodsdesc": {
  25533. "description": "商品详情",
  25534. "type": "string"
  25535. },
  25536. "goodsid": {
  25537. "description": "商品ID",
  25538. "type": "integer"
  25539. },
  25540. "goodsname": {
  25541. "description": "商品名称",
  25542. "type": "string"
  25543. },
  25544. "goodsprice": {
  25545. "description": "商品价格",
  25546. "type": "number"
  25547. },
  25548. "hotindex": {
  25549. "description": "景点热度",
  25550. "type": "integer"
  25551. },
  25552. "lotsize": {
  25553. "description": "手数最小变动单位",
  25554. "type": "integer"
  25555. },
  25556. "marketid": {
  25557. "description": "市场ID",
  25558. "type": "integer"
  25559. },
  25560. "orderid": {
  25561. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25562. "type": "string"
  25563. },
  25564. "orderprice": {
  25565. "description": "委托价格",
  25566. "type": "number"
  25567. },
  25568. "orderqty": {
  25569. "description": "委托数量",
  25570. "type": "integer"
  25571. },
  25572. "orderstatus": {
  25573. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25574. "type": "integer"
  25575. },
  25576. "picurls": {
  25577. "description": "介绍图片[多张用逗号分隔]",
  25578. "type": "string"
  25579. },
  25580. "quoteminunit": {
  25581. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25582. "type": "integer"
  25583. },
  25584. "sellUserID": {
  25585. "description": "卖方UserID",
  25586. "type": "integer"
  25587. },
  25588. "trademode": {
  25589. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25590. "type": "integer"
  25591. },
  25592. "tradeqty": {
  25593. "description": "成交数量",
  25594. "type": "integer"
  25595. },
  25596. "vendorattr": {
  25597. "description": "供应商附件(多张,逗号分隔)",
  25598. "type": "string"
  25599. },
  25600. "vendorname": {
  25601. "description": "供应商名称",
  25602. "type": "string"
  25603. },
  25604. "vendorphone": {
  25605. "description": "供应商客服电话",
  25606. "type": "string"
  25607. },
  25608. "videourls": {
  25609. "description": "介绍视频[多张用逗号分隔]",
  25610. "type": "string"
  25611. }
  25612. }
  25613. },
  25614. "models.HsbyMarketInfo": {
  25615. "type": "object",
  25616. "required": [
  25617. "marketid",
  25618. "marketstatus",
  25619. "trademode"
  25620. ],
  25621. "properties": {
  25622. "marketid": {
  25623. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  25624. "type": "integer"
  25625. },
  25626. "marketname": {
  25627. "description": "市场名称",
  25628. "type": "string"
  25629. },
  25630. "marketstatus": {
  25631. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  25632. "type": "integer"
  25633. },
  25634. "trademode": {
  25635. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25636. "type": "integer"
  25637. }
  25638. }
  25639. },
  25640. "models.HsbyMyGoods": {
  25641. "type": "object",
  25642. "required": [
  25643. "accountid",
  25644. "goodscode",
  25645. "goodsid",
  25646. "goodsname",
  25647. "marketid",
  25648. "trademode"
  25649. ],
  25650. "properties": {
  25651. "accountid": {
  25652. "description": "账号Id",
  25653. "type": "integer"
  25654. },
  25655. "agreeunit": {
  25656. "description": "合约单位",
  25657. "type": "number"
  25658. },
  25659. "buyaverageprice": {
  25660. "description": "持仓均价",
  25661. "type": "number"
  25662. },
  25663. "buycurholderamount": {
  25664. "description": "买当前持仓总金额[商品币种]",
  25665. "type": "number"
  25666. },
  25667. "buycurpositionqty": {
  25668. "description": "买当前持仓总数量",
  25669. "type": "integer"
  25670. },
  25671. "buymaxqty": {
  25672. "description": "购买上限 [71] - 0为不限",
  25673. "type": "integer"
  25674. },
  25675. "currencysign": {
  25676. "description": "货币符号",
  25677. "type": "string"
  25678. },
  25679. "decimalplace": {
  25680. "description": "报价小数位",
  25681. "type": "integer"
  25682. },
  25683. "enableqty": {
  25684. "description": "可用数量",
  25685. "type": "integer"
  25686. },
  25687. "goodscode": {
  25688. "description": "商品代码(内部)",
  25689. "type": "string"
  25690. },
  25691. "goodsid": {
  25692. "description": "商品Id",
  25693. "type": "integer"
  25694. },
  25695. "goodsname": {
  25696. "description": "商品名称",
  25697. "type": "string"
  25698. },
  25699. "goodsprice": {
  25700. "description": "商品价格",
  25701. "type": "number"
  25702. },
  25703. "goodsstatus": {
  25704. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25705. "type": "integer"
  25706. },
  25707. "last": {
  25708. "description": "现价(仅使用于挂牌点选)",
  25709. "type": "number"
  25710. },
  25711. "limitdown": {
  25712. "description": "跌停价(仅使用于挂牌点选)",
  25713. "type": "number"
  25714. },
  25715. "limitup": {
  25716. "description": "涨停价(仅使用于挂牌点选)",
  25717. "type": "number"
  25718. },
  25719. "lotsize": {
  25720. "description": "手数最小变动单位",
  25721. "type": "integer"
  25722. },
  25723. "marketid": {
  25724. "description": "所属市场ID",
  25725. "type": "integer"
  25726. },
  25727. "picurls": {
  25728. "description": "介绍图片[多张用逗号分隔]",
  25729. "type": "string"
  25730. },
  25731. "quoteminunit": {
  25732. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25733. "type": "integer"
  25734. },
  25735. "stepvalue": {
  25736. "description": "价格最小变动单位",
  25737. "type": "number"
  25738. },
  25739. "trademode": {
  25740. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25741. "type": "integer"
  25742. }
  25743. }
  25744. },
  25745. "models.HsbyMyPackage": {
  25746. "type": "object",
  25747. "required": [
  25748. "goodscode",
  25749. "goodsname",
  25750. "takeorderid",
  25751. "trademode"
  25752. ],
  25753. "properties": {
  25754. "accountid": {
  25755. "description": "账户ID",
  25756. "type": "integer"
  25757. },
  25758. "address": {
  25759. "description": "提货人详细地址",
  25760. "type": "string"
  25761. },
  25762. "agreeunit": {
  25763. "description": "合约单位",
  25764. "type": "number"
  25765. },
  25766. "amount": {
  25767. "description": "提货金额",
  25768. "type": "number"
  25769. },
  25770. "auditer": {
  25771. "description": "审核人",
  25772. "type": "integer"
  25773. },
  25774. "audittime": {
  25775. "description": "审核时间",
  25776. "type": "string"
  25777. },
  25778. "averageprice": {
  25779. "description": "均价",
  25780. "type": "number"
  25781. },
  25782. "cardnum": {
  25783. "description": "提货人证件号码",
  25784. "type": "string"
  25785. },
  25786. "cardtypeid": {
  25787. "description": "提货人证件类型",
  25788. "type": "integer"
  25789. },
  25790. "checkremark": {
  25791. "description": "审核备注",
  25792. "type": "string"
  25793. },
  25794. "currencysign": {
  25795. "description": "货币符号",
  25796. "type": "string"
  25797. },
  25798. "decimalplace": {
  25799. "description": "报价小数位",
  25800. "type": "integer"
  25801. },
  25802. "goodscode": {
  25803. "description": "商品代码(内部)",
  25804. "type": "string"
  25805. },
  25806. "goodsid": {
  25807. "description": "商品ID",
  25808. "type": "integer"
  25809. },
  25810. "goodsname": {
  25811. "description": "商品名称",
  25812. "type": "string"
  25813. },
  25814. "handlestatus": {
  25815. "description": "处理状态",
  25816. "type": "integer"
  25817. },
  25818. "marketid": {
  25819. "description": "市场ID",
  25820. "type": "integer"
  25821. },
  25822. "phonenum": {
  25823. "description": "提货人联系方式",
  25824. "type": "string"
  25825. },
  25826. "picurls": {
  25827. "description": "介绍图片[多张用逗号分隔]",
  25828. "type": "string"
  25829. },
  25830. "qty": {
  25831. "description": "提货数量",
  25832. "type": "number"
  25833. },
  25834. "recivername": {
  25835. "description": "提货人姓名",
  25836. "type": "string"
  25837. },
  25838. "reqtime": {
  25839. "description": "更新时间",
  25840. "type": "string"
  25841. },
  25842. "takemode": {
  25843. "description": "提货方式 - 2:自提 3:配送",
  25844. "type": "integer"
  25845. },
  25846. "takeorderid": {
  25847. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  25848. "type": "string"
  25849. },
  25850. "takeorderstatus": {
  25851. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  25852. "type": "integer"
  25853. },
  25854. "takeremark": {
  25855. "description": "提货备注",
  25856. "type": "string"
  25857. },
  25858. "tradedate": {
  25859. "description": "交易日(yyyyMMdd)",
  25860. "type": "string"
  25861. },
  25862. "trademode": {
  25863. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25864. "type": "integer"
  25865. },
  25866. "userid": {
  25867. "description": "用户ID",
  25868. "type": "integer"
  25869. },
  25870. "vendorname": {
  25871. "description": "供应商名称",
  25872. "type": "string"
  25873. }
  25874. }
  25875. },
  25876. "models.HsbyPreGoods": {
  25877. "type": "object",
  25878. "required": [
  25879. "goodscode",
  25880. "goodsid",
  25881. "goodsname",
  25882. "marketid",
  25883. "trademode"
  25884. ],
  25885. "properties": {
  25886. "agreeunit": {
  25887. "description": "合约单位",
  25888. "type": "number"
  25889. },
  25890. "currency": {
  25891. "description": "货币",
  25892. "type": "string"
  25893. },
  25894. "currencysign": {
  25895. "description": "货币符号",
  25896. "type": "string"
  25897. },
  25898. "decimalplace": {
  25899. "description": "报价小数位",
  25900. "type": "integer"
  25901. },
  25902. "desccityid": {
  25903. "description": "目的地(市)",
  25904. "type": "integer"
  25905. },
  25906. "descprovinceid": {
  25907. "description": "目的地(省)",
  25908. "type": "integer"
  25909. },
  25910. "enableqty": {
  25911. "description": "剩余数量",
  25912. "type": "integer"
  25913. },
  25914. "goodscode": {
  25915. "description": "商品代码(内部)",
  25916. "type": "string"
  25917. },
  25918. "goodsid": {
  25919. "description": "商品ID(自增ID SEQ_GOODS)",
  25920. "type": "integer"
  25921. },
  25922. "goodsname": {
  25923. "description": "商品名称",
  25924. "type": "string"
  25925. },
  25926. "goodsstatus": {
  25927. "description": "商品状态- 2:未上市 3:上市",
  25928. "type": "integer"
  25929. },
  25930. "lasttradedate": {
  25931. "description": "最后交易日期(状态:待退市)",
  25932. "type": "string"
  25933. },
  25934. "listingdate": {
  25935. "description": "交易开始日期",
  25936. "type": "string"
  25937. },
  25938. "marketid": {
  25939. "description": "所属市场ID",
  25940. "type": "integer"
  25941. },
  25942. "picurls": {
  25943. "description": "介绍图片[多张用逗号分隔]",
  25944. "type": "string"
  25945. },
  25946. "presaledqty": {
  25947. "description": "已预售量(预售结束时更新)",
  25948. "type": "integer"
  25949. },
  25950. "presaleqty": {
  25951. "description": "预售数量",
  25952. "type": "integer"
  25953. },
  25954. "quoteminunit": {
  25955. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25956. "type": "integer"
  25957. },
  25958. "refprice": {
  25959. "description": "参考价格[一口价]",
  25960. "type": "number"
  25961. },
  25962. "relatedgoodsid": {
  25963. "description": "关联交易合约ID",
  25964. "type": "integer"
  25965. },
  25966. "trademode": {
  25967. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25968. "type": "integer"
  25969. },
  25970. "videourls": {
  25971. "description": "介绍视频[多张用逗号分隔]",
  25972. "type": "string"
  25973. }
  25974. }
  25975. },
  25976. "models.HsbyPreGoodsDetail": {
  25977. "type": "object",
  25978. "required": [
  25979. "goodscode",
  25980. "goodsid",
  25981. "goodsname",
  25982. "marketid",
  25983. "trademode"
  25984. ],
  25985. "properties": {
  25986. "agreeunit": {
  25987. "description": "合约单位",
  25988. "type": "number"
  25989. },
  25990. "buymaxqty": {
  25991. "description": "购买上限 [71] - 0为不限",
  25992. "type": "integer"
  25993. },
  25994. "currency": {
  25995. "description": "货币",
  25996. "type": "string"
  25997. },
  25998. "currencysign": {
  25999. "description": "货币符号",
  26000. "type": "string"
  26001. },
  26002. "customername": {
  26003. "description": "发行单位",
  26004. "type": "string"
  26005. },
  26006. "decimalplace": {
  26007. "description": "报价小数位",
  26008. "type": "integer"
  26009. },
  26010. "desccityid": {
  26011. "description": "目的地(市)ID",
  26012. "type": "integer"
  26013. },
  26014. "descprovinceid": {
  26015. "description": "目的地(省)ID",
  26016. "type": "integer"
  26017. },
  26018. "enableqty": {
  26019. "description": "剩余数量",
  26020. "type": "integer"
  26021. },
  26022. "goodscode": {
  26023. "description": "商品代码(内部)",
  26024. "type": "string"
  26025. },
  26026. "goodsdesc": {
  26027. "description": "商品详情",
  26028. "type": "string"
  26029. },
  26030. "goodsid": {
  26031. "description": "商品ID(自增ID SEQ_GOODS)",
  26032. "type": "integer"
  26033. },
  26034. "goodsname": {
  26035. "description": "商品名称",
  26036. "type": "string"
  26037. },
  26038. "goodsstatus": {
  26039. "description": "商品状态- 2:未上市 3:上市",
  26040. "type": "integer"
  26041. },
  26042. "goodunit": {
  26043. "description": "报价单位",
  26044. "type": "string"
  26045. },
  26046. "lasttradedate": {
  26047. "description": "最后交易日期(状态:待退市)",
  26048. "type": "string"
  26049. },
  26050. "listingdate": {
  26051. "description": "交易开始日期",
  26052. "type": "string"
  26053. },
  26054. "lotsize": {
  26055. "description": "手数最小变动单位",
  26056. "type": "integer"
  26057. },
  26058. "marketid": {
  26059. "description": "所属市场ID",
  26060. "type": "integer"
  26061. },
  26062. "picurls": {
  26063. "description": "介绍图片[多张用逗号分隔]",
  26064. "type": "string"
  26065. },
  26066. "presaledqty": {
  26067. "description": "已预售量(预售结束时更新)",
  26068. "type": "integer"
  26069. },
  26070. "presaleqty": {
  26071. "description": "预售数量",
  26072. "type": "integer"
  26073. },
  26074. "quoteminunit": {
  26075. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26076. "type": "integer"
  26077. },
  26078. "refprice": {
  26079. "description": "参考价格[一口价]",
  26080. "type": "number"
  26081. },
  26082. "relatedgoodsid": {
  26083. "description": "关联交易合约ID",
  26084. "type": "integer"
  26085. },
  26086. "stepvalue": {
  26087. "description": "价格最小变动单位",
  26088. "type": "number"
  26089. },
  26090. "trademode": {
  26091. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26092. "type": "integer"
  26093. },
  26094. "vendorattr": {
  26095. "description": "供应商附件(多张,逗号分隔)",
  26096. "type": "string"
  26097. },
  26098. "vendorname": {
  26099. "description": "供应商名称",
  26100. "type": "string"
  26101. },
  26102. "vendorphone": {
  26103. "description": "供应商客服电话",
  26104. "type": "string"
  26105. },
  26106. "videourls": {
  26107. "description": "介绍视频[多张用逗号分隔]",
  26108. "type": "string"
  26109. }
  26110. }
  26111. },
  26112. "models.HsbySellCollectionOrder": {
  26113. "type": "object",
  26114. "required": [
  26115. "goodscode",
  26116. "goodsname",
  26117. "tradeid",
  26118. "trademode"
  26119. ],
  26120. "properties": {
  26121. "agreeunit": {
  26122. "description": "合约单位",
  26123. "type": "number"
  26124. },
  26125. "buyaccountid": {
  26126. "description": "买方账号ID[报价币种]",
  26127. "type": "integer"
  26128. },
  26129. "buyorderid": {
  26130. "description": "买方委托单号",
  26131. "type": "string"
  26132. },
  26133. "createtime": {
  26134. "description": "创建时间",
  26135. "type": "string"
  26136. },
  26137. "currencysign": {
  26138. "description": "货币符号",
  26139. "type": "string"
  26140. },
  26141. "decimalplace": {
  26142. "description": "报价小数位",
  26143. "type": "integer"
  26144. },
  26145. "goodscode": {
  26146. "description": "商品代码(内部)",
  26147. "type": "string"
  26148. },
  26149. "goodsid": {
  26150. "description": "商品ID",
  26151. "type": "integer"
  26152. },
  26153. "goodsname": {
  26154. "description": "商品名称",
  26155. "type": "string"
  26156. },
  26157. "marketid": {
  26158. "description": "市场ID",
  26159. "type": "integer"
  26160. },
  26161. "offamount": {
  26162. "description": "优惠金额",
  26163. "type": "number"
  26164. },
  26165. "payamount": {
  26166. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  26167. "type": "number"
  26168. },
  26169. "payflag": {
  26170. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26171. "type": "integer"
  26172. },
  26173. "paylimitedtime": {
  26174. "description": "支付期限",
  26175. "type": "string"
  26176. },
  26177. "paytime": {
  26178. "description": "付款时间",
  26179. "type": "string"
  26180. },
  26181. "picurls": {
  26182. "description": "商品介绍图片[多张用逗号分隔]",
  26183. "type": "string"
  26184. },
  26185. "sellaccountid": {
  26186. "description": "卖方账号ID[报价币种]",
  26187. "type": "integer"
  26188. },
  26189. "sellorderid": {
  26190. "description": "卖方委托单号",
  26191. "type": "string"
  26192. },
  26193. "tradeamount": {
  26194. "description": "成交金额",
  26195. "type": "number"
  26196. },
  26197. "tradecharge": {
  26198. "description": "成交手续费(买方)",
  26199. "type": "number"
  26200. },
  26201. "tradedate": {
  26202. "description": "交易日(yyyyMMdd)",
  26203. "type": "string"
  26204. },
  26205. "tradeid": {
  26206. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26207. "type": "string"
  26208. },
  26209. "trademode": {
  26210. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26211. "type": "integer"
  26212. },
  26213. "tradeprice": {
  26214. "description": "成交价格",
  26215. "type": "number"
  26216. },
  26217. "tradeqty": {
  26218. "description": "成交数量",
  26219. "type": "integer"
  26220. }
  26221. }
  26222. },
  26223. "models.HsbySellMyDetail": {
  26224. "type": "object",
  26225. "required": [
  26226. "accountid",
  26227. "buyorsell",
  26228. "goodscode",
  26229. "goodsid",
  26230. "goodsname",
  26231. "marketid",
  26232. "orderid",
  26233. "time",
  26234. "trademode"
  26235. ],
  26236. "properties": {
  26237. "accountid": {
  26238. "description": "账户ID[报价币种]",
  26239. "type": "integer"
  26240. },
  26241. "agreeunit": {
  26242. "description": "合约单位",
  26243. "type": "number"
  26244. },
  26245. "buyorsell": {
  26246. "description": "买卖 - 0:买 1:卖",
  26247. "type": "integer"
  26248. },
  26249. "currencysign": {
  26250. "description": "货币符号",
  26251. "type": "string"
  26252. },
  26253. "decimalplace": {
  26254. "description": "报价小数位",
  26255. "type": "integer"
  26256. },
  26257. "goodscode": {
  26258. "description": "商品代码(内部)",
  26259. "type": "string"
  26260. },
  26261. "goodsid": {
  26262. "description": "商品ID",
  26263. "type": "integer"
  26264. },
  26265. "goodsname": {
  26266. "description": "商品名称",
  26267. "type": "string"
  26268. },
  26269. "marketid": {
  26270. "description": "市场ID",
  26271. "type": "integer"
  26272. },
  26273. "orderid": {
  26274. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  26275. "type": "string"
  26276. },
  26277. "ordertype": {
  26278. "description": "单据类型:0 - 发布中, 1 - 已完成",
  26279. "type": "integer"
  26280. },
  26281. "picurls": {
  26282. "description": "介绍图片[多张用逗号分隔]",
  26283. "type": "string"
  26284. },
  26285. "price": {
  26286. "description": "价格",
  26287. "type": "number"
  26288. },
  26289. "qty": {
  26290. "description": "数量",
  26291. "type": "integer"
  26292. },
  26293. "time": {
  26294. "description": "时间",
  26295. "type": "string"
  26296. },
  26297. "trademode": {
  26298. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26299. "type": "integer"
  26300. },
  26301. "vendorname": {
  26302. "description": "供应商名称",
  26303. "type": "string"
  26304. }
  26305. }
  26306. },
  26307. "models.HsbyTopGoods": {
  26308. "type": "object",
  26309. "required": [
  26310. "goodscode",
  26311. "goodsid",
  26312. "goodsname",
  26313. "marketid",
  26314. "trademode"
  26315. ],
  26316. "properties": {
  26317. "agreeunit": {
  26318. "description": "合约单位",
  26319. "type": "number"
  26320. },
  26321. "currency": {
  26322. "description": "货币",
  26323. "type": "string"
  26324. },
  26325. "currencysign": {
  26326. "description": "货币符号",
  26327. "type": "string"
  26328. },
  26329. "decimalplace": {
  26330. "description": "报价小数位",
  26331. "type": "integer"
  26332. },
  26333. "desccityid": {
  26334. "description": "目的地(市)",
  26335. "type": "integer"
  26336. },
  26337. "descprovinceid": {
  26338. "description": "目的地(省)",
  26339. "type": "integer"
  26340. },
  26341. "goodscode": {
  26342. "description": "商品代码(内部)",
  26343. "type": "string"
  26344. },
  26345. "goodsid": {
  26346. "description": "商品ID(自增ID SEQ_GOODS)",
  26347. "type": "integer"
  26348. },
  26349. "goodsname": {
  26350. "description": "商品名称",
  26351. "type": "string"
  26352. },
  26353. "hotindex": {
  26354. "description": "景点热度",
  26355. "type": "integer"
  26356. },
  26357. "last": {
  26358. "description": "现价",
  26359. "type": "number"
  26360. },
  26361. "marketid": {
  26362. "description": "所属市场ID",
  26363. "type": "integer"
  26364. },
  26365. "picurls": {
  26366. "description": "介绍图片[多张用逗号分隔]",
  26367. "type": "string"
  26368. },
  26369. "quoteminunit": {
  26370. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26371. "type": "integer"
  26372. },
  26373. "trademode": {
  26374. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26375. "type": "integer"
  26376. },
  26377. "videourls": {
  26378. "description": "介绍视频[多张用逗号分隔]",
  26379. "type": "string"
  26380. }
  26381. }
  26382. },
  26383. "models.HybsMyBuyOrderDetail": {
  26384. "type": "object",
  26385. "required": [
  26386. "accountid",
  26387. "buyorsell",
  26388. "goodscode",
  26389. "goodsid",
  26390. "goodsname",
  26391. "marketid",
  26392. "orderid",
  26393. "orderqty",
  26394. "ordertime",
  26395. "trademode"
  26396. ],
  26397. "properties": {
  26398. "accountid": {
  26399. "description": "账户ID[报价币种]",
  26400. "type": "integer"
  26401. },
  26402. "agreeunit": {
  26403. "description": "合约单位",
  26404. "type": "number"
  26405. },
  26406. "buyorsell": {
  26407. "description": "买卖 - 0:买 1:卖",
  26408. "type": "integer"
  26409. },
  26410. "cancelqty": {
  26411. "description": "撤单数量",
  26412. "type": "integer"
  26413. },
  26414. "currencysign": {
  26415. "description": "货币符号",
  26416. "type": "string"
  26417. },
  26418. "decimalplace": {
  26419. "description": "报价小数位",
  26420. "type": "integer"
  26421. },
  26422. "goodscode": {
  26423. "description": "商品代码(内部)",
  26424. "type": "string"
  26425. },
  26426. "goodsid": {
  26427. "description": "商品ID",
  26428. "type": "integer"
  26429. },
  26430. "goodsname": {
  26431. "description": "商品名称",
  26432. "type": "string"
  26433. },
  26434. "listingselecttype": {
  26435. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26436. "type": "integer"
  26437. },
  26438. "marketid": {
  26439. "description": "市场ID",
  26440. "type": "integer"
  26441. },
  26442. "mybuystatus": {
  26443. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  26444. "type": "integer"
  26445. },
  26446. "orderamount": {
  26447. "description": "委托金额",
  26448. "type": "number"
  26449. },
  26450. "orderid": {
  26451. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26452. "type": "string"
  26453. },
  26454. "orderprice": {
  26455. "description": "委托价格",
  26456. "type": "number"
  26457. },
  26458. "orderqty": {
  26459. "description": "委托数量",
  26460. "type": "integer"
  26461. },
  26462. "orderstatus": {
  26463. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26464. "type": "integer"
  26465. },
  26466. "ordertime": {
  26467. "description": "委托时间",
  26468. "type": "string"
  26469. },
  26470. "picurls1": {
  26471. "description": "预售商品介绍图片[多张用逗号分隔]",
  26472. "type": "string"
  26473. },
  26474. "picurls2": {
  26475. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  26476. "type": "string"
  26477. },
  26478. "trademode": {
  26479. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26480. "type": "integer"
  26481. },
  26482. "tradeqty": {
  26483. "description": "成交数量",
  26484. "type": "integer"
  26485. },
  26486. "vendorname1": {
  26487. "description": "预售商品供应商名称",
  26488. "type": "string"
  26489. },
  26490. "vendorname2": {
  26491. "description": "挂牌商品供应商名称",
  26492. "type": "string"
  26493. }
  26494. }
  26495. },
  26496. "models.Loginaccount": {
  26497. "type": "object",
  26498. "required": [
  26499. "loginid"
  26500. ],
  26501. "properties": {
  26502. "accountname": {
  26503. "description": "账户名称",
  26504. "type": "string"
  26505. },
  26506. "canoutin": {
  26507. "description": "是否可出入金 - 0:不可 1:可",
  26508. "type": "integer"
  26509. },
  26510. "clientroleid": {
  26511. "description": "终端角色ID",
  26512. "type": "integer"
  26513. },
  26514. "haslogined": {
  26515. "description": "是否已登录 - 0:未登录 1:已登录",
  26516. "type": "integer"
  26517. },
  26518. "hasupdatedpwd": {
  26519. "description": "是否已更改密码 - 0:未修改 1:已修改",
  26520. "type": "integer"
  26521. },
  26522. "lastloginip": {
  26523. "description": "最新登录地址",
  26524. "type": "string"
  26525. },
  26526. "lastloginmode": {
  26527. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26528. "type": "integer"
  26529. },
  26530. "lastloginremark": {
  26531. "description": "最新登录描述",
  26532. "type": "string"
  26533. },
  26534. "lastlogintime": {
  26535. "description": "最新登录时间",
  26536. "type": "string"
  26537. },
  26538. "logincode": {
  26539. "description": "登录代码",
  26540. "type": "string"
  26541. },
  26542. "loginfailnum": {
  26543. "description": "连续登录失败次数(登录成功时清零)",
  26544. "type": "integer"
  26545. },
  26546. "loginid": {
  26547. "description": "登陆账号",
  26548. "type": "integer"
  26549. },
  26550. "loginport": {
  26551. "description": "最新登录端口",
  26552. "type": "integer"
  26553. },
  26554. "loginstatus": {
  26555. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  26556. "type": "integer"
  26557. },
  26558. "loginusertype": {
  26559. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  26560. "type": "integer"
  26561. },
  26562. "mobile": {
  26563. "description": "手机号码(加密存储)",
  26564. "type": "string"
  26565. },
  26566. "modifierid": {
  26567. "description": "修改人",
  26568. "type": "integer"
  26569. },
  26570. "modifysrc": {
  26571. "description": "审核来源 - 1:管理端 2:终端",
  26572. "type": "integer"
  26573. },
  26574. "modifytime": {
  26575. "description": "修改时间",
  26576. "type": "string"
  26577. },
  26578. "password": {
  26579. "description": "登陆密码",
  26580. "type": "string"
  26581. },
  26582. "pwdwrongcount": {
  26583. "description": "密码错误次数",
  26584. "type": "integer"
  26585. },
  26586. "relateduserid": {
  26587. "description": "关联用户ID(机构)",
  26588. "type": "integer"
  26589. },
  26590. "taaccountrighttype": {
  26591. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  26592. "type": "integer"
  26593. },
  26594. "unfreezetime": {
  26595. "description": "账户解冻时间",
  26596. "type": "string"
  26597. },
  26598. "userid": {
  26599. "description": "用户ID",
  26600. "type": "integer"
  26601. }
  26602. }
  26603. },
  26604. "models.MainAccountInfo": {
  26605. "type": "object",
  26606. "properties": {
  26607. "accountid": {
  26608. "description": "账号id",
  26609. "type": "integer"
  26610. },
  26611. "accountname": {
  26612. "description": "账号名称(taaccount表中的名称)",
  26613. "type": "string"
  26614. },
  26615. "appid": {
  26616. "description": "AppID",
  26617. "type": "string"
  26618. },
  26619. "authcode": {
  26620. "description": "授权码",
  26621. "type": "string"
  26622. },
  26623. "brokerid": {
  26624. "description": "经纪商id",
  26625. "type": "string"
  26626. },
  26627. "fcid": {
  26628. "description": "期货公司id",
  26629. "type": "integer"
  26630. },
  26631. "fcname": {
  26632. "description": "期货公司代码",
  26633. "type": "string"
  26634. },
  26635. "hedgeaccountcode": {
  26636. "description": "外部账号代码(主账号登录代码)",
  26637. "type": "string"
  26638. },
  26639. "hedgeaccountpwd": {
  26640. "description": "密码",
  26641. "type": "string"
  26642. },
  26643. "ismain": {
  26644. "description": "是否主账号",
  26645. "type": "integer"
  26646. },
  26647. "relateduserid": {
  26648. "description": "关联用户id",
  26649. "type": "integer"
  26650. },
  26651. "userid": {
  26652. "description": "关联用户id",
  26653. "type": "integer"
  26654. }
  26655. }
  26656. },
  26657. "models.Market": {
  26658. "type": "object",
  26659. "required": [
  26660. "marketid",
  26661. "marketstatus",
  26662. "openmethod",
  26663. "reckonpricealgorithm",
  26664. "trademode",
  26665. "tradeproperty"
  26666. ],
  26667. "properties": {
  26668. "auctionwrtype": {
  26669. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  26670. "type": "integer"
  26671. },
  26672. "canacceptquote": {
  26673. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  26674. "type": "integer"
  26675. },
  26676. "cangoodsexercise": {
  26677. "description": "[期权]是否可现货行权- 0:否 1:是",
  26678. "type": "integer"
  26679. },
  26680. "cangoodsexercisetype": {
  26681. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  26682. "type": "integer"
  26683. },
  26684. "canmanualquotestrike": {
  26685. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  26686. "type": "integer"
  26687. },
  26688. "canmutistage": {
  26689. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  26690. "type": "integer"
  26691. },
  26692. "canpreexercise": {
  26693. "description": "[期权]是否可预申报- 0:否 1:是",
  26694. "type": "integer"
  26695. },
  26696. "clearinterval": {
  26697. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  26698. "type": "integer"
  26699. },
  26700. "contracttmp": {
  26701. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  26702. "type": "string"
  26703. },
  26704. "exchareaid": {
  26705. "description": "所属交易所,可以没有",
  26706. "type": "integer"
  26707. },
  26708. "goodstype": {
  26709. "description": "商品类型 - 1:交易商品 2:仓单商品",
  26710. "type": "integer"
  26711. },
  26712. "hasrebate": {
  26713. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  26714. "type": "integer"
  26715. },
  26716. "hastradecredit": {
  26717. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  26718. "type": "integer"
  26719. },
  26720. "haswr": {
  26721. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  26722. "type": "integer"
  26723. },
  26724. "isdeductmargin": {
  26725. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  26726. "type": "integer"
  26727. },
  26728. "isrecordsource": {
  26729. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  26730. "type": "integer"
  26731. },
  26732. "isreleasemargin": {
  26733. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  26734. "type": "integer"
  26735. },
  26736. "marginformula": {
  26737. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  26738. "type": "integer"
  26739. },
  26740. "marginformula2": {
  26741. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  26742. "type": "integer"
  26743. },
  26744. "marketid": {
  26745. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26746. "type": "integer"
  26747. },
  26748. "marketname": {
  26749. "description": "市场名称",
  26750. "type": "string"
  26751. },
  26752. "marketserviceid": {
  26753. "description": "市场服务ID",
  26754. "type": "integer"
  26755. },
  26756. "marketstatus": {
  26757. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26758. "type": "integer"
  26759. },
  26760. "markettype": {
  26761. "description": "市场类型- 1:非交易服务 2:交易服务",
  26762. "type": "integer"
  26763. },
  26764. "matchermode": {
  26765. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  26766. "type": "integer"
  26767. },
  26768. "openmethod": {
  26769. "description": "开盘模式 - 0 自动 1手动",
  26770. "type": "integer"
  26771. },
  26772. "otcuserid": {
  26773. "description": "场外期权做市商[场外期权]",
  26774. "type": "integer"
  26775. },
  26776. "outersynctime": {
  26777. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  26778. "type": "string"
  26779. },
  26780. "pendingflag": {
  26781. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  26782. "type": "integer"
  26783. },
  26784. "pendingtime": {
  26785. "description": "待开市时间[通道交易-对冲](HH:mm)",
  26786. "type": "string"
  26787. },
  26788. "performancetempid": {
  26789. "description": "履约计划模板ID - 作废",
  26790. "type": "integer"
  26791. },
  26792. "premiumquotemode": {
  26793. "description": "权利金报价方式 - 1:自动 2:手动",
  26794. "type": "integer"
  26795. },
  26796. "rebateratio": {
  26797. "description": "返利比率[竞价式]",
  26798. "type": "number"
  26799. },
  26800. "reckonorder": {
  26801. "description": "结算顺序",
  26802. "type": "integer"
  26803. },
  26804. "reckonpricealgorithm": {
  26805. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  26806. "type": "integer"
  26807. },
  26808. "reckonpriceparam": {
  26809. "description": "结算价参数",
  26810. "type": "integer"
  26811. },
  26812. "reckontime": {
  26813. "description": "结算时间[通道交易-对冲](HH:mm)",
  26814. "type": "string"
  26815. },
  26816. "roleprioritytype": {
  26817. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  26818. "type": "integer"
  26819. },
  26820. "selllistingauditflag": {
  26821. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  26822. "type": "integer"
  26823. },
  26824. "trademarkettype": {
  26825. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  26826. "type": "integer"
  26827. },
  26828. "trademode": {
  26829. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26830. "type": "integer"
  26831. },
  26832. "tradeproperty": {
  26833. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  26834. "type": "integer"
  26835. },
  26836. "tradetype": {
  26837. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  26838. "type": "integer"
  26839. }
  26840. }
  26841. },
  26842. "models.Marketrun": {
  26843. "type": "object",
  26844. "required": [
  26845. "marketid",
  26846. "nexttradedate",
  26847. "reckonflag",
  26848. "runstatus",
  26849. "tradedate",
  26850. "tradedate2"
  26851. ],
  26852. "properties": {
  26853. "afternexttradedate": {
  26854. "description": "下下交易日",
  26855. "type": "string"
  26856. },
  26857. "clearquoteflag": {
  26858. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  26859. "type": "integer"
  26860. },
  26861. "lastreckondate": {
  26862. "description": "最新交易日(结算成功)",
  26863. "type": "string"
  26864. },
  26865. "machinedate": {
  26866. "description": "机器时间",
  26867. "type": "string"
  26868. },
  26869. "manualflag": {
  26870. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  26871. "type": "integer"
  26872. },
  26873. "marketid": {
  26874. "description": "市场ID",
  26875. "type": "integer"
  26876. },
  26877. "nexttradedate": {
  26878. "description": "下一交易日",
  26879. "type": "string"
  26880. },
  26881. "pretradedate": {
  26882. "description": "上一交易日",
  26883. "type": "string"
  26884. },
  26885. "reckonflag": {
  26886. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  26887. "type": "integer"
  26888. },
  26889. "runstatus": {
  26890. "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.今日免清算",
  26891. "type": "integer"
  26892. },
  26893. "sectionid": {
  26894. "description": "时间段号[多时段时用]",
  26895. "type": "integer"
  26896. },
  26897. "tradedate": {
  26898. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  26899. "type": "string"
  26900. },
  26901. "tradedate2": {
  26902. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  26903. "type": "string"
  26904. },
  26905. "updatetime": {
  26906. "description": "更新时间",
  26907. "type": "string"
  26908. }
  26909. }
  26910. },
  26911. "models.Messageboard": {
  26912. "type": "object",
  26913. "required": [
  26914. "messageboardid"
  26915. ],
  26916. "properties": {
  26917. "contactnum": {
  26918. "description": "联系电话",
  26919. "type": "string"
  26920. },
  26921. "createtime": {
  26922. "description": "创建时间",
  26923. "type": "string"
  26924. },
  26925. "message": {
  26926. "description": "留言信息",
  26927. "type": "string"
  26928. },
  26929. "messageboardid": {
  26930. "description": "留言簿ID(SEQ_MessageBoard)",
  26931. "type": "integer"
  26932. },
  26933. "userid": {
  26934. "description": "用户ID",
  26935. "type": "integer"
  26936. }
  26937. }
  26938. },
  26939. "models.MyCoupon": {
  26940. "type": "object",
  26941. "required": [
  26942. "accountid",
  26943. "coupontypeid"
  26944. ],
  26945. "properties": {
  26946. "accountid": {
  26947. "description": "资金账户ID",
  26948. "type": "integer"
  26949. },
  26950. "areauserid": {
  26951. "description": "所属机构",
  26952. "type": "integer"
  26953. },
  26954. "conditionvalue": {
  26955. "description": "条件阈值(可为0)",
  26956. "type": "number"
  26957. },
  26958. "couponcategroy": {
  26959. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  26960. "type": "integer"
  26961. },
  26962. "couponname": {
  26963. "description": "优惠券名称",
  26964. "type": "string"
  26965. },
  26966. "coupontypeid": {
  26967. "description": "优惠券类型ID",
  26968. "type": "string"
  26969. },
  26970. "couponvalue": {
  26971. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  26972. "type": "number"
  26973. },
  26974. "curfreezeqty": {
  26975. "description": "期末冻结数量",
  26976. "type": "integer"
  26977. },
  26978. "curqty": {
  26979. "description": "期末数量",
  26980. "type": "integer"
  26981. },
  26982. "isgeneral": {
  26983. "description": "是否通用券 - 0:否 1:是",
  26984. "type": "integer"
  26985. },
  26986. "isunusable": {
  26987. "description": "是否不可用",
  26988. "type": "boolean"
  26989. },
  26990. "limitedflag": {
  26991. "description": "是否指定商品 - 0:不限 1:限制",
  26992. "type": "integer"
  26993. },
  26994. "limitedgoodsids": {
  26995. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  26996. "type": "string"
  26997. },
  26998. "orifreezeqty": {
  26999. "description": "期初冻结数量",
  27000. "type": "integer"
  27001. },
  27002. "oriqty": {
  27003. "description": "期初数量",
  27004. "type": "integer"
  27005. },
  27006. "reasontype": {
  27007. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  27008. "type": "integer"
  27009. },
  27010. "todaydecrease": {
  27011. "description": "今日减少",
  27012. "type": "integer"
  27013. },
  27014. "todayincrease": {
  27015. "description": "今日增加",
  27016. "type": "integer"
  27017. },
  27018. "userid": {
  27019. "description": "用户ID",
  27020. "type": "integer"
  27021. },
  27022. "userscope": {
  27023. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  27024. "type": "string"
  27025. }
  27026. }
  27027. },
  27028. "models.MyCouponHold": {
  27029. "type": "object",
  27030. "required": [
  27031. "couponholdid"
  27032. ],
  27033. "properties": {
  27034. "accountid": {
  27035. "description": "资金账户ID",
  27036. "type": "integer"
  27037. },
  27038. "conditionvalue": {
  27039. "description": "条件阈值(可为0)",
  27040. "type": "number"
  27041. },
  27042. "couponcategroy": {
  27043. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  27044. "type": "integer"
  27045. },
  27046. "couponholdid": {
  27047. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  27048. "type": "string"
  27049. },
  27050. "couponname": {
  27051. "description": "优惠券名称",
  27052. "type": "string"
  27053. },
  27054. "coupontypeid": {
  27055. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  27056. "type": "string"
  27057. },
  27058. "couponvalue": {
  27059. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27060. "type": "number"
  27061. },
  27062. "createtime": {
  27063. "description": "创建时间",
  27064. "type": "string"
  27065. },
  27066. "enddate": {
  27067. "description": "结束日期",
  27068. "type": "string"
  27069. },
  27070. "giveapplyid": {
  27071. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  27072. "type": "integer"
  27073. },
  27074. "holdstatus": {
  27075. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  27076. "type": "integer"
  27077. },
  27078. "isgeneral": {
  27079. "description": "是否通用券 - 0:否 1:是",
  27080. "type": "integer"
  27081. },
  27082. "limitedflag": {
  27083. "description": "是否指定商品 - 0:不限 1:限制",
  27084. "type": "integer"
  27085. },
  27086. "limitedgoodsids": {
  27087. "description": "指定商品IDs[逗号分隔]",
  27088. "type": "string"
  27089. },
  27090. "qty": {
  27091. "description": "数量(按1平铺)",
  27092. "type": "integer"
  27093. },
  27094. "startdate": {
  27095. "description": "开始日期",
  27096. "type": "string"
  27097. },
  27098. "userid": {
  27099. "description": "用户ID",
  27100. "type": "integer"
  27101. },
  27102. "userscope": {
  27103. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  27104. "type": "string"
  27105. }
  27106. }
  27107. },
  27108. "models.MyUsedCoupon": {
  27109. "type": "object",
  27110. "required": [
  27111. "coupontypeid",
  27112. "orderid"
  27113. ],
  27114. "properties": {
  27115. "accountid": {
  27116. "description": "资金账户ID(买方)",
  27117. "type": "integer"
  27118. },
  27119. "conditionvalue": {
  27120. "description": "条件阈值(可为0)",
  27121. "type": "number"
  27122. },
  27123. "couponcategroy": {
  27124. "description": "种类 - 1:现金券 2:折扣券",
  27125. "type": "integer"
  27126. },
  27127. "couponname": {
  27128. "description": "优惠券名称",
  27129. "type": "string"
  27130. },
  27131. "coupontypeid": {
  27132. "description": "优惠券类型ID(买方)",
  27133. "type": "string"
  27134. },
  27135. "couponvalue": {
  27136. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  27137. "type": "number"
  27138. },
  27139. "createtime": {
  27140. "description": "创建时间",
  27141. "type": "string"
  27142. },
  27143. "goodsid": {
  27144. "description": "商品ID",
  27145. "type": "integer"
  27146. },
  27147. "handlestatus": {
  27148. "description": "处理状态",
  27149. "type": "integer"
  27150. },
  27151. "marketid": {
  27152. "description": "市场ID",
  27153. "type": "integer"
  27154. },
  27155. "offamount": {
  27156. "description": "优惠金额",
  27157. "type": "number"
  27158. },
  27159. "orderid": {
  27160. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27161. "type": "string"
  27162. },
  27163. "sellaccountid": {
  27164. "description": "资金账户ID(卖方)",
  27165. "type": "integer"
  27166. },
  27167. "tradeamount": {
  27168. "description": "成交金额",
  27169. "type": "number"
  27170. },
  27171. "tradeid": {
  27172. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27173. "type": "string"
  27174. },
  27175. "usedqty": {
  27176. "description": "使用数量",
  27177. "type": "integer"
  27178. }
  27179. }
  27180. },
  27181. "models.OperationPrimaryMenu": {
  27182. "type": "object",
  27183. "properties": {
  27184. "Children": {
  27185. "description": "二级功能菜单",
  27186. "type": "array",
  27187. "items": {
  27188. "$ref": "#/definitions/models.OperationSecondaryMenu"
  27189. }
  27190. },
  27191. "Key": {
  27192. "description": "菜单KEY",
  27193. "type": "string"
  27194. },
  27195. "Label": {
  27196. "description": "菜单标题",
  27197. "type": "string"
  27198. }
  27199. }
  27200. },
  27201. "models.OperationSecondaryMenu": {
  27202. "type": "object",
  27203. "properties": {
  27204. "Key": {
  27205. "description": "菜单KEY",
  27206. "type": "string"
  27207. },
  27208. "Label": {
  27209. "description": "菜单标题",
  27210. "type": "string"
  27211. },
  27212. "TabList": {
  27213. "description": "三级功能菜单",
  27214. "type": "array",
  27215. "items": {
  27216. "$ref": "#/definitions/models.OperationTabMenu"
  27217. }
  27218. }
  27219. }
  27220. },
  27221. "models.OperationTabMenu": {
  27222. "type": "object",
  27223. "properties": {
  27224. "Key": {
  27225. "description": "菜单KEY",
  27226. "type": "string"
  27227. },
  27228. "Label": {
  27229. "description": "菜单标题",
  27230. "type": "string"
  27231. }
  27232. }
  27233. },
  27234. "models.QhjAccountOutInApply": {
  27235. "type": "object",
  27236. "properties": {
  27237. "accountcode": {
  27238. "description": "资金账号",
  27239. "type": "string"
  27240. },
  27241. "accountname": {
  27242. "description": "用户名称(名称)",
  27243. "type": "string"
  27244. },
  27245. "accountpwd": {
  27246. "description": "资金密码",
  27247. "type": "string"
  27248. },
  27249. "accountticket": {
  27250. "description": "最新账户服务流水号",
  27251. "type": "string"
  27252. },
  27253. "amount": {
  27254. "description": "金额",
  27255. "type": "number"
  27256. },
  27257. "applyremark": {
  27258. "description": "申请备注",
  27259. "type": "string"
  27260. },
  27261. "applystatus": {
  27262. "description": "申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;",
  27263. "type": "integer"
  27264. },
  27265. "auditid": {
  27266. "description": "审核人",
  27267. "type": "integer"
  27268. },
  27269. "audittime": {
  27270. "description": "审核时间",
  27271. "type": "string"
  27272. },
  27273. "bank_apply_ticket": {
  27274. "description": "银行申请流水",
  27275. "type": "string"
  27276. },
  27277. "bankaccountname": {
  27278. "description": "银行账户名",
  27279. "type": "string"
  27280. },
  27281. "bankaccountno": {
  27282. "description": "银行卡号",
  27283. "type": "string"
  27284. },
  27285. "bankid": {
  27286. "description": "银行编号",
  27287. "type": "string"
  27288. },
  27289. "bankticket": {
  27290. "description": "银行流水",
  27291. "type": "string"
  27292. },
  27293. "branchbankid": {
  27294. "description": "银行支行号",
  27295. "type": "string"
  27296. },
  27297. "branchbankname": {
  27298. "description": "银行支行名称",
  27299. "type": "string"
  27300. },
  27301. "capamountout": {
  27302. "description": "出金(劣后本金) - 外部子账户",
  27303. "type": "number"
  27304. },
  27305. "certificatephotourl": {
  27306. "description": "凭证地址",
  27307. "type": "string"
  27308. },
  27309. "charge": {
  27310. "description": "手续费",
  27311. "type": "number"
  27312. },
  27313. "checkerrorflag": {
  27314. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27315. "type": "integer"
  27316. },
  27317. "currency": {
  27318. "description": "币种",
  27319. "type": "string"
  27320. },
  27321. "cusbankid": {
  27322. "description": "托管银行编号",
  27323. "type": "string"
  27324. },
  27325. "exchticket": {
  27326. "description": "银行服务流水号",
  27327. "type": "string"
  27328. },
  27329. "executetype": {
  27330. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27331. "type": "integer"
  27332. },
  27333. "extendinfo": {
  27334. "description": "扩展信息",
  27335. "type": "string"
  27336. },
  27337. "extoperateid": {
  27338. "description": "交易服务流水号",
  27339. "type": "integer"
  27340. },
  27341. "infamount": {
  27342. "description": "劣后金额(自有)",
  27343. "type": "number"
  27344. },
  27345. "logincode": {
  27346. "description": "登录账号(账号)",
  27347. "type": "string"
  27348. },
  27349. "netaddr": {
  27350. "description": "调转网址",
  27351. "type": "string"
  27352. },
  27353. "priamount": {
  27354. "description": "优先金额(授信)",
  27355. "type": "number"
  27356. },
  27357. "reauditid": {
  27358. "description": "复审人",
  27359. "type": "integer"
  27360. },
  27361. "reauditremark": {
  27362. "description": "复审备注",
  27363. "type": "string"
  27364. },
  27365. "reaudittime": {
  27366. "description": "复审时间",
  27367. "type": "string"
  27368. },
  27369. "relatedorderid": {
  27370. "description": "三方关联ID",
  27371. "type": "string"
  27372. },
  27373. "remark": {
  27374. "description": "备注",
  27375. "type": "string"
  27376. },
  27377. "remark2": {
  27378. "description": "备注(失败原因)",
  27379. "type": "string"
  27380. },
  27381. "soucreamount": {
  27382. "description": "原始出入金金额",
  27383. "type": "number"
  27384. },
  27385. "soucrecurrencyid": {
  27386. "description": "原始出入金币种",
  27387. "type": "integer"
  27388. },
  27389. "tradedate": {
  27390. "description": "交易日(yyyyMMdd)",
  27391. "type": "string"
  27392. },
  27393. "updatetime": {
  27394. "description": "更新时间(申请时间)",
  27395. "type": "string"
  27396. },
  27397. "userid": {
  27398. "description": "用户id",
  27399. "type": "integer"
  27400. },
  27401. "userinfotype": {
  27402. "description": "账户类型 1-个人 2-企业",
  27403. "type": "integer"
  27404. }
  27405. }
  27406. },
  27407. "models.QhjAgreementChangeLog": {
  27408. "type": "object",
  27409. "properties": {
  27410. "agreementcontent": {
  27411. "description": "协议内容",
  27412. "type": "string"
  27413. },
  27414. "agreementfrequency": {
  27415. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  27416. "type": "integer"
  27417. },
  27418. "agreementid": {
  27419. "description": "协议ID",
  27420. "type": "integer"
  27421. },
  27422. "agreementname": {
  27423. "description": "协议名称",
  27424. "type": "string"
  27425. },
  27426. "agreementno": {
  27427. "description": "协议编号",
  27428. "type": "string"
  27429. },
  27430. "agreementtype": {
  27431. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27432. "type": "integer"
  27433. },
  27434. "agreementversion": {
  27435. "description": "协议版本号",
  27436. "type": "integer"
  27437. },
  27438. "logid": {
  27439. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  27440. "type": "integer"
  27441. },
  27442. "reviserid": {
  27443. "description": "修改人",
  27444. "type": "integer"
  27445. },
  27446. "revisersrc": {
  27447. "description": "修改来源 - 1:管理端 2:终端",
  27448. "type": "integer"
  27449. },
  27450. "updatetime": {
  27451. "description": "更新时间",
  27452. "type": "string"
  27453. }
  27454. }
  27455. },
  27456. "models.QhjAgreementConfig": {
  27457. "type": "object",
  27458. "properties": {
  27459. "agreementcontent": {
  27460. "description": "协议内容",
  27461. "type": "string"
  27462. },
  27463. "agreementfrequency": {
  27464. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  27465. "type": "integer"
  27466. },
  27467. "agreementid": {
  27468. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  27469. "type": "integer"
  27470. },
  27471. "agreementname": {
  27472. "description": "协议名称",
  27473. "type": "string"
  27474. },
  27475. "agreementno": {
  27476. "description": "协议编号",
  27477. "type": "string"
  27478. },
  27479. "agreementtype": {
  27480. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27481. "type": "integer"
  27482. },
  27483. "agreementversion": {
  27484. "description": "协议版本号(从1开始每次修改加1)",
  27485. "type": "integer"
  27486. },
  27487. "createtime": {
  27488. "description": "创建时间",
  27489. "type": "string"
  27490. },
  27491. "creatorid": {
  27492. "description": "创建人",
  27493. "type": "integer"
  27494. },
  27495. "creatorsrc": {
  27496. "description": "创建来源 - 1:管理端 2:终端",
  27497. "type": "integer"
  27498. },
  27499. "isvalid": {
  27500. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  27501. "type": "integer"
  27502. },
  27503. "reviserid": {
  27504. "description": "修改人",
  27505. "type": "integer"
  27506. },
  27507. "revisersrc": {
  27508. "description": "修改来源 - 1:管理端 2:终端",
  27509. "type": "integer"
  27510. },
  27511. "updatetime": {
  27512. "description": "更新时间",
  27513. "type": "string"
  27514. }
  27515. }
  27516. },
  27517. "models.QhjAreaFinanceConfig": {
  27518. "type": "object",
  27519. "properties": {
  27520. "additionalratio": {
  27521. "description": "追加款比例",
  27522. "type": "number"
  27523. },
  27524. "advanceratio": {
  27525. "description": "预付款比例",
  27526. "type": "number"
  27527. },
  27528. "alarmratio": {
  27529. "description": "告警比例",
  27530. "type": "number"
  27531. },
  27532. "consumptiondirectreward": {
  27533. "description": "消费直推奖励值",
  27534. "type": "number"
  27535. },
  27536. "consumptionenabled": {
  27537. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  27538. "type": "integer"
  27539. },
  27540. "consumptionindirectreward": {
  27541. "description": "消费间推奖励值",
  27542. "type": "number"
  27543. },
  27544. "consumptionmodel": {
  27545. "description": "消费奖励方式 - 1:比率 2:固定",
  27546. "type": "integer"
  27547. },
  27548. "customerservicenum": {
  27549. "description": "客服电话",
  27550. "type": "string"
  27551. },
  27552. "dayinterestrate": {
  27553. "description": "日利率",
  27554. "type": "number"
  27555. },
  27556. "disableconsumptiontips": {
  27557. "description": "关闭消费奖励提示",
  27558. "type": "string"
  27559. },
  27560. "modifierid": {
  27561. "description": "修改人ID",
  27562. "type": "integer"
  27563. },
  27564. "modifysrc": {
  27565. "description": "审核来源 - 1:管理端 2:终端",
  27566. "type": "integer"
  27567. },
  27568. "modifytime": {
  27569. "description": "修改时间",
  27570. "type": "string"
  27571. },
  27572. "promotionvalue": {
  27573. "description": "推广奖励值(固定)",
  27574. "type": "number"
  27575. },
  27576. "scoreconfigvalue1": {
  27577. "description": "提货积分配置1",
  27578. "type": "integer"
  27579. },
  27580. "scoreconfigvalue2": {
  27581. "description": "提货积分配置2",
  27582. "type": "integer"
  27583. },
  27584. "userid": {
  27585. "description": "机构用户ID其他做市关系,都设置为 1",
  27586. "type": "integer"
  27587. },
  27588. "username": {
  27589. "description": "用户名称",
  27590. "type": "string"
  27591. }
  27592. }
  27593. },
  27594. "models.QhjBankAccountSign": {
  27595. "type": "object",
  27596. "properties": {
  27597. "accountcode": {
  27598. "description": "资金账号",
  27599. "type": "string"
  27600. },
  27601. "accountname": {
  27602. "description": "资金账号对应的账号名(UserName)",
  27603. "type": "string"
  27604. },
  27605. "accountname2": {
  27606. "description": "资金账号对应的账号名(UserName) - 密文",
  27607. "type": "string"
  27608. },
  27609. "accounttype": {
  27610. "description": "账户类型(UserType)",
  27611. "type": "integer"
  27612. },
  27613. "applicationtime": {
  27614. "description": "最后一次更新的时间",
  27615. "type": "string"
  27616. },
  27617. "applyexchticket": {
  27618. "description": "申请流水",
  27619. "type": "string"
  27620. },
  27621. "auditid": {
  27622. "description": "审核人",
  27623. "type": "integer"
  27624. },
  27625. "audittime": {
  27626. "description": "审核时间",
  27627. "type": "string"
  27628. },
  27629. "bankaccountname": {
  27630. "description": "签约银行卡账号名",
  27631. "type": "string"
  27632. },
  27633. "bankaccountname2": {
  27634. "description": "签约银行卡账号名 - 密文",
  27635. "type": "string"
  27636. },
  27637. "bankaccountno": {
  27638. "description": "银行卡号",
  27639. "type": "string"
  27640. },
  27641. "bankaccountno2": {
  27642. "description": "银行卡号 - 密文",
  27643. "type": "string"
  27644. },
  27645. "bankaccounttype": {
  27646. "description": "银行账户类型 - 1-对私; 2-对公",
  27647. "type": "integer"
  27648. },
  27649. "bankcardtype": {
  27650. "description": "银行卡类型",
  27651. "type": "integer"
  27652. },
  27653. "bankchildaccount": {
  27654. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  27655. "type": "string"
  27656. },
  27657. "bankcity": {
  27658. "description": "开户行城市",
  27659. "type": "string"
  27660. },
  27661. "bankid": {
  27662. "description": "签约银行ID",
  27663. "type": "string"
  27664. },
  27665. "bankname": {
  27666. "description": "签约银行名称",
  27667. "type": "string"
  27668. },
  27669. "bankprovince": {
  27670. "description": "开户行省份",
  27671. "type": "string"
  27672. },
  27673. "branchbankid": {
  27674. "description": "签约银行支行号",
  27675. "type": "string"
  27676. },
  27677. "branchbankname": {
  27678. "description": "签约银行支行名称",
  27679. "type": "string"
  27680. },
  27681. "cardno": {
  27682. "description": "证件号码",
  27683. "type": "string"
  27684. },
  27685. "cardno2": {
  27686. "description": "证件号码 - 密文",
  27687. "type": "string"
  27688. },
  27689. "cardtype": {
  27690. "description": "证件类型",
  27691. "type": "string"
  27692. },
  27693. "currency": {
  27694. "description": "币种",
  27695. "type": "string"
  27696. },
  27697. "cusbankid": {
  27698. "description": "托管银行编号",
  27699. "type": "string"
  27700. },
  27701. "direct": {
  27702. "description": "方向(可以判断那方先发起的签约)",
  27703. "type": "integer"
  27704. },
  27705. "exchticket": {
  27706. "description": "最后一次签约成功的流水号",
  27707. "type": "string"
  27708. },
  27709. "extendinfo": {
  27710. "description": "扩展信息(JSON字符串)",
  27711. "type": "string"
  27712. },
  27713. "mobilephone": {
  27714. "description": "手机号",
  27715. "type": "string"
  27716. },
  27717. "mobilephone2": {
  27718. "description": "手机号 - 密文",
  27719. "type": "string"
  27720. },
  27721. "netaddr": {
  27722. "description": "调转网址",
  27723. "type": "string"
  27724. },
  27725. "relateduserid": {
  27726. "description": "关联使用者userid",
  27727. "type": "integer"
  27728. },
  27729. "signstatus": {
  27730. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  27731. "type": "integer"
  27732. },
  27733. "updatetime": {
  27734. "description": "更新时间(签解约更新时间)",
  27735. "type": "string"
  27736. }
  27737. }
  27738. },
  27739. "models.QhjBankInfo": {
  27740. "type": "object",
  27741. "properties": {
  27742. "bankid": {
  27743. "description": "银行ID",
  27744. "type": "string"
  27745. },
  27746. "bankname": {
  27747. "description": "银行名称",
  27748. "type": "string"
  27749. },
  27750. "clearbankno": {
  27751. "description": "清算系统银行编号",
  27752. "type": "string"
  27753. },
  27754. "orderindex": {
  27755. "description": "排序顺序",
  27756. "type": "integer"
  27757. },
  27758. "status": {
  27759. "description": "状态 - 0:正常 1:注销",
  27760. "type": "integer"
  27761. }
  27762. }
  27763. },
  27764. "models.QhjBrokerApply": {
  27765. "type": "object",
  27766. "properties": {
  27767. "applicantid": {
  27768. "description": "申请人",
  27769. "type": "integer"
  27770. },
  27771. "applysrc": {
  27772. "description": "申请来源 - 1:管理端 2:终端",
  27773. "type": "integer"
  27774. },
  27775. "applystatus": {
  27776. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  27777. "type": "integer"
  27778. },
  27779. "applytime": {
  27780. "description": "申请时间",
  27781. "type": "string"
  27782. },
  27783. "auditorid": {
  27784. "description": "审核人",
  27785. "type": "integer"
  27786. },
  27787. "auditremark": {
  27788. "description": "审核备注",
  27789. "type": "string"
  27790. },
  27791. "auditsrc": {
  27792. "description": "审核来源 - 1:管理端 2:终端",
  27793. "type": "integer"
  27794. },
  27795. "audittime": {
  27796. "description": "审核时间",
  27797. "type": "string"
  27798. },
  27799. "audittradedate": {
  27800. "description": "审核交易日(yyyyMMdd)",
  27801. "type": "string"
  27802. },
  27803. "brokerapplyid": {
  27804. "description": "申请ID(SEQ_BROKERAPPLY)",
  27805. "type": "integer"
  27806. },
  27807. "cardbackphotourl": {
  27808. "description": "证件背面图片地址",
  27809. "type": "string"
  27810. },
  27811. "cardfrontphotourl": {
  27812. "description": "证件正面图片地址",
  27813. "type": "string"
  27814. },
  27815. "cardnum": {
  27816. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  27817. "type": "string"
  27818. },
  27819. "customername": {
  27820. "description": "姓名",
  27821. "type": "string"
  27822. },
  27823. "logincode": {
  27824. "description": "登录代码",
  27825. "type": "string"
  27826. },
  27827. "mobile": {
  27828. "description": "手机号码",
  27829. "type": "string"
  27830. },
  27831. "parentuserid": {
  27832. "description": "所属机构id",
  27833. "type": "integer"
  27834. },
  27835. "parentusername": {
  27836. "description": "所属机构名称",
  27837. "type": "string"
  27838. },
  27839. "refereeuserid": {
  27840. "description": "推荐人id(经纪人)",
  27841. "type": "integer"
  27842. },
  27843. "refernum": {
  27844. "description": "推荐码",
  27845. "type": "string"
  27846. },
  27847. "remark": {
  27848. "description": "备注",
  27849. "type": "string"
  27850. },
  27851. "subarealevelpath": {
  27852. "description": "层级路径",
  27853. "type": "string"
  27854. },
  27855. "tradedate": {
  27856. "description": "交易日(yyyyMMdd)",
  27857. "type": "string"
  27858. },
  27859. "userid": {
  27860. "description": "申请人用户ID",
  27861. "type": "integer"
  27862. },
  27863. "userinfotype": {
  27864. "description": "用户类型 1-个人 2-企业",
  27865. "type": "integer"
  27866. },
  27867. "username": {
  27868. "description": "用户名称",
  27869. "type": "string"
  27870. }
  27871. }
  27872. },
  27873. "models.QhjBrokerApplyEx": {
  27874. "type": "object",
  27875. "properties": {
  27876. "applylist": {
  27877. "description": "经纪人申请记录(只返回最新一条)",
  27878. "type": "array",
  27879. "items": {
  27880. "$ref": "#/definitions/models.QhjBrokerApply"
  27881. }
  27882. },
  27883. "canrecommend": {
  27884. "description": "是否经纪人 0-不是 1-是",
  27885. "type": "integer"
  27886. },
  27887. "refernum": {
  27888. "description": "推荐码",
  27889. "type": "string"
  27890. },
  27891. "userid": {
  27892. "description": "用户id",
  27893. "type": "integer"
  27894. },
  27895. "userinfotype": {
  27896. "description": "用户类型 1-个人 2-企业",
  27897. "type": "integer"
  27898. }
  27899. }
  27900. },
  27901. "models.QhjBrokerRewardLog": {
  27902. "type": "object",
  27903. "properties": {
  27904. "accountid": {
  27905. "description": "资金账号ID",
  27906. "type": "integer"
  27907. },
  27908. "createtime": {
  27909. "description": "创建时间(时间)",
  27910. "type": "string"
  27911. },
  27912. "handlestatus": {
  27913. "description": "处理状态",
  27914. "type": "integer"
  27915. },
  27916. "logid": {
  27917. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27918. "type": "string"
  27919. },
  27920. "marketid": {
  27921. "description": "市场ID",
  27922. "type": "integer"
  27923. },
  27924. "mmaccountid": {
  27925. "description": "做市商资金账号ID",
  27926. "type": "string"
  27927. },
  27928. "mmuserid": {
  27929. "description": "做市商用户ID",
  27930. "type": "string"
  27931. },
  27932. "rewardamount": {
  27933. "description": "奖励金额",
  27934. "type": "number"
  27935. },
  27936. "rewardmodel": {
  27937. "description": "消费奖励方式 - 1:比率 2:固定",
  27938. "type": "integer"
  27939. },
  27940. "rewardtype": {
  27941. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  27942. "type": "integer"
  27943. },
  27944. "rewardvalue": {
  27945. "description": "配置奖励值",
  27946. "type": "number"
  27947. },
  27948. "srcamount": {
  27949. "description": "成交金额 [消费奖励] (金额)",
  27950. "type": "number"
  27951. },
  27952. "srcgoodsid": {
  27953. "description": "来源商品ID [消费奖励]",
  27954. "type": "string"
  27955. },
  27956. "srctime": {
  27957. "description": "来源时间 (成交时间) [消费奖励]",
  27958. "type": "string"
  27959. },
  27960. "srctradeid": {
  27961. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  27962. "type": "string"
  27963. },
  27964. "srcuserid": {
  27965. "description": "来源用户ID(推广账户)",
  27966. "type": "string"
  27967. },
  27968. "srcusername": {
  27969. "description": "推广账户名称",
  27970. "type": "string"
  27971. },
  27972. "tradedate": {
  27973. "description": "交易日(yyyyMMdd)",
  27974. "type": "string"
  27975. },
  27976. "userid": {
  27977. "description": "经纪人用户ID",
  27978. "type": "integer"
  27979. }
  27980. }
  27981. },
  27982. "models.QhjContract": {
  27983. "type": "object",
  27984. "properties": {
  27985. "contractconfirmtime": {
  27986. "description": "合同确认时间(时间)",
  27987. "type": "string"
  27988. },
  27989. "currisklevel": {
  27990. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  27991. "type": "integer"
  27992. },
  27993. "decimalplace": {
  27994. "description": "商品报价小数位",
  27995. "type": "integer"
  27996. },
  27997. "enumdicname": {
  27998. "description": "单位名称",
  27999. "type": "string"
  28000. },
  28001. "goodscode": {
  28002. "description": "商品代码",
  28003. "type": "string"
  28004. },
  28005. "goodsid": {
  28006. "description": "商品ID [5:融资单]",
  28007. "type": "integer"
  28008. },
  28009. "goodsname": {
  28010. "description": "商品名称",
  28011. "type": "string"
  28012. },
  28013. "goodunitid": {
  28014. "description": "商品单位id",
  28015. "type": "integer"
  28016. },
  28017. "initmargin": {
  28018. "description": "初始保证金(首付款)",
  28019. "type": "number"
  28020. },
  28021. "lenderamount": {
  28022. "description": "贷款金额(总额|订单总额)",
  28023. "type": "number"
  28024. },
  28025. "marginratio": {
  28026. "description": "保证金比率(首付比例)",
  28027. "type": "number"
  28028. },
  28029. "payamount": {
  28030. "description": "已付(已付货款)",
  28031. "type": "number"
  28032. },
  28033. "reckonrecovermargin": {
  28034. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28035. "type": "number"
  28036. },
  28037. "recoveredmargin": {
  28038. "description": "已追缴保证金",
  28039. "type": "number"
  28040. },
  28041. "remainamount": {
  28042. "description": "合同剩余金额(融资额)",
  28043. "type": "number"
  28044. },
  28045. "scfcontractid": {
  28046. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28047. "type": "string"
  28048. },
  28049. "scfcontractstatus": {
  28050. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28051. "type": "integer"
  28052. },
  28053. "scfcontracttype": {
  28054. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28055. "type": "integer"
  28056. },
  28057. "totalinterest": {
  28058. "description": "已计总利息(利息)",
  28059. "type": "number"
  28060. },
  28061. "tradeprice": {
  28062. "description": "成交价格(成本价格)",
  28063. "type": "number"
  28064. },
  28065. "userid": {
  28066. "description": "用户ID",
  28067. "type": "integer"
  28068. },
  28069. "username": {
  28070. "description": "用户名称",
  28071. "type": "string"
  28072. },
  28073. "wrqty": {
  28074. "description": "仓单数量(数量)",
  28075. "type": "number"
  28076. }
  28077. }
  28078. },
  28079. "models.QhjContractLog": {
  28080. "type": "object",
  28081. "properties": {
  28082. "amount": {
  28083. "description": "支付金额",
  28084. "type": "number"
  28085. },
  28086. "amounttype": {
  28087. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  28088. "type": "integer"
  28089. },
  28090. "logid": {
  28091. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28092. "type": "string"
  28093. },
  28094. "remainamount": {
  28095. "description": "剩余货款",
  28096. "type": "number"
  28097. },
  28098. "scfcontractid": {
  28099. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28100. "type": "integer"
  28101. },
  28102. "updatetime": {
  28103. "description": "更新时间",
  28104. "type": "string"
  28105. }
  28106. }
  28107. },
  28108. "models.QhjCusBankSignBankEx": {
  28109. "type": "object",
  28110. "properties": {
  28111. "banklst": {
  28112. "description": "银行列表",
  28113. "type": "array",
  28114. "items": {
  28115. "$ref": "#/definitions/models.QhjBankInfo"
  28116. }
  28117. },
  28118. "canallot": {
  28119. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  28120. "type": "integer"
  28121. },
  28122. "canallotquery": {
  28123. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  28124. "type": "integer"
  28125. },
  28126. "canbindcard": {
  28127. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  28128. "type": "integer"
  28129. },
  28130. "caninamount": {
  28131. "description": "是否可入金 - 0:不可 1:可以",
  28132. "type": "integer"
  28133. },
  28134. "caninamount2": {
  28135. "description": "是否可入金(网银端) - 0:不可 1:可以",
  28136. "type": "integer"
  28137. },
  28138. "canmodifybankcard": {
  28139. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  28140. "type": "integer"
  28141. },
  28142. "canmodifyphone": {
  28143. "description": "是否可修改手机号 - 0:不可 1:可以",
  28144. "type": "integer"
  28145. },
  28146. "canmodifysigninfo": {
  28147. "description": "是否可修改签约信息 - 0:不可 1:可以",
  28148. "type": "integer"
  28149. },
  28150. "canoutamount": {
  28151. "description": "是否可出金 - 0:不可 1:可以",
  28152. "type": "integer"
  28153. },
  28154. "canoutamount2": {
  28155. "description": "是否可出金(网银端) - 0:不可 1:可以",
  28156. "type": "integer"
  28157. },
  28158. "canrelease": {
  28159. "description": "是否可解约 - 0:不可 1:可以",
  28160. "type": "integer"
  28161. },
  28162. "canrelease2": {
  28163. "description": "是否可解约(网银端) - 0:不可 1:可以",
  28164. "type": "integer"
  28165. },
  28166. "cansign": {
  28167. "description": "是否可签约 - 0:不可 1:可以",
  28168. "type": "integer"
  28169. },
  28170. "cansign2": {
  28171. "description": "是否可签约(网银端) - 0:不可 1:可以",
  28172. "type": "integer"
  28173. },
  28174. "currency": {
  28175. "description": "币种",
  28176. "type": "string"
  28177. },
  28178. "cusbankid": {
  28179. "description": "托管银行编号(对应清算中心TRAN_NO)",
  28180. "type": "string"
  28181. },
  28182. "cusbankname": {
  28183. "description": "银行业务名称",
  28184. "type": "string"
  28185. },
  28186. "cusbankshortname": {
  28187. "description": "银行业务简称",
  28188. "type": "string"
  28189. },
  28190. "exchbankid": {
  28191. "description": "交易所开户银行ID",
  28192. "type": "string"
  28193. },
  28194. "exchpaybankaccname": {
  28195. "description": "交易所支出结算账户户名",
  28196. "type": "string"
  28197. },
  28198. "exchpaybankaccno": {
  28199. "description": "交易所支出结算账户",
  28200. "type": "string"
  28201. },
  28202. "isneedcheck": {
  28203. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  28204. "type": "integer"
  28205. },
  28206. "isneedclear": {
  28207. "description": "是否需要清算 - 0:不需要 1:需要",
  28208. "type": "integer"
  28209. },
  28210. "lastcheckstatus": {
  28211. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  28212. "type": "integer"
  28213. },
  28214. "lastchecktime": {
  28215. "description": "最后对账时间",
  28216. "type": "string"
  28217. },
  28218. "lastclearstatus": {
  28219. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  28220. "type": "integer"
  28221. },
  28222. "lastcleartime": {
  28223. "description": "最后清算时间",
  28224. "type": "string"
  28225. },
  28226. "lastsignintime": {
  28227. "description": "最后签到时间",
  28228. "type": "string"
  28229. },
  28230. "lastsignouttime": {
  28231. "description": "最后签退时间",
  28232. "type": "string"
  28233. },
  28234. "riskinfo": {
  28235. "description": "签约风险提示书",
  28236. "type": "string"
  28237. },
  28238. "signstatus": {
  28239. "description": "当前签到/签退状态 - 1:签到 2:签退",
  28240. "type": "integer"
  28241. },
  28242. "tradedate": {
  28243. "description": "交易日(yyyyMMdd)",
  28244. "type": "string"
  28245. },
  28246. "updatetime": {
  28247. "description": "当前签到/签退更新时间",
  28248. "type": "string"
  28249. }
  28250. }
  28251. },
  28252. "models.QhjCustomer": {
  28253. "type": "object",
  28254. "properties": {
  28255. "address": {
  28256. "description": "通讯地址",
  28257. "type": "string"
  28258. },
  28259. "attachment1": {
  28260. "description": "附件1",
  28261. "type": "string"
  28262. },
  28263. "audittime": {
  28264. "description": "审核时间",
  28265. "type": "string"
  28266. },
  28267. "cardbackphotourl": {
  28268. "description": "证件反面图片地址",
  28269. "type": "string"
  28270. },
  28271. "cardfrontphotourl": {
  28272. "description": "证件正面图片地址",
  28273. "type": "string"
  28274. },
  28275. "cardnum": {
  28276. "description": "证件号码",
  28277. "type": "string"
  28278. },
  28279. "cardtype": {
  28280. "description": "证件类型",
  28281. "type": "integer"
  28282. },
  28283. "cardtypename": {
  28284. "description": "证件类型名称",
  28285. "type": "string"
  28286. },
  28287. "cityid": {
  28288. "description": "市",
  28289. "type": "integer"
  28290. },
  28291. "cityname": {
  28292. "description": "城市名称",
  28293. "type": "string"
  28294. },
  28295. "contactname": {
  28296. "description": "联系人",
  28297. "type": "string"
  28298. },
  28299. "countryid": {
  28300. "description": "国家",
  28301. "type": "integer"
  28302. },
  28303. "countryname": {
  28304. "description": "国家名称",
  28305. "type": "string"
  28306. },
  28307. "createtime": {
  28308. "description": "创建时间",
  28309. "type": "string"
  28310. },
  28311. "customername": {
  28312. "description": "客户名称",
  28313. "type": "string"
  28314. },
  28315. "districtid": {
  28316. "description": "区域",
  28317. "type": "integer"
  28318. },
  28319. "districtname": {
  28320. "description": "地区名称",
  28321. "type": "string"
  28322. },
  28323. "email": {
  28324. "description": "邮件",
  28325. "type": "string"
  28326. },
  28327. "legalpersonname": {
  28328. "description": "法人姓名(企业)",
  28329. "type": "string"
  28330. },
  28331. "logincode": {
  28332. "description": "登录账号(代码)",
  28333. "type": "string"
  28334. },
  28335. "memberuserid": {
  28336. "description": "所属机构ID(所属会员)",
  28337. "type": "integer"
  28338. },
  28339. "memberusername": {
  28340. "description": "所属会员名称",
  28341. "type": "string"
  28342. },
  28343. "mobile": {
  28344. "description": "手机号码",
  28345. "type": "string"
  28346. },
  28347. "modifytime": {
  28348. "description": "修改时间",
  28349. "type": "string"
  28350. },
  28351. "nickname": {
  28352. "description": "昵称",
  28353. "type": "string"
  28354. },
  28355. "parentuserid": {
  28356. "description": "上级机构(所属机构)",
  28357. "type": "integer"
  28358. },
  28359. "parentusername": {
  28360. "description": "所属机构名称",
  28361. "type": "string"
  28362. },
  28363. "provinceid": {
  28364. "description": "省",
  28365. "type": "integer"
  28366. },
  28367. "provincename": {
  28368. "description": "省名称",
  28369. "type": "string"
  28370. },
  28371. "proxystatementurl": {
  28372. "description": "授权委托书",
  28373. "type": "string"
  28374. },
  28375. "remark": {
  28376. "description": "备注",
  28377. "type": "string"
  28378. },
  28379. "status": {
  28380. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  28381. "type": "integer"
  28382. },
  28383. "statusdesc": {
  28384. "description": "账户状态中文描述",
  28385. "type": "string"
  28386. },
  28387. "taxpayernum": {
  28388. "description": "纳税人识别号",
  28389. "type": "string"
  28390. },
  28391. "telphone": {
  28392. "description": "联系电话",
  28393. "type": "string"
  28394. },
  28395. "userid": {
  28396. "description": "用户ID",
  28397. "type": "integer"
  28398. },
  28399. "userinfotype": {
  28400. "description": "客户类型 1-个人 2-企业",
  28401. "type": "integer"
  28402. },
  28403. "username": {
  28404. "description": "用户名称",
  28405. "type": "string"
  28406. }
  28407. }
  28408. },
  28409. "models.QhjCustomerSignLog": {
  28410. "type": "object",
  28411. "properties": {
  28412. "agreementcontent": {
  28413. "description": "协议内容",
  28414. "type": "string"
  28415. },
  28416. "agreementid": {
  28417. "description": "协议ID",
  28418. "type": "integer"
  28419. },
  28420. "agreementname": {
  28421. "description": "协议名称",
  28422. "type": "string"
  28423. },
  28424. "agreementno": {
  28425. "description": "协议编号",
  28426. "type": "string"
  28427. },
  28428. "agreementtype": {
  28429. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28430. "type": "integer"
  28431. },
  28432. "agreementversion": {
  28433. "description": "协议版本号",
  28434. "type": "integer"
  28435. },
  28436. "createtime": {
  28437. "description": "创建时间",
  28438. "type": "string"
  28439. },
  28440. "goodscode": {
  28441. "description": "商品代码",
  28442. "type": "string"
  28443. },
  28444. "goodsid": {
  28445. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28446. "type": "integer"
  28447. },
  28448. "goodsname": {
  28449. "description": "商品名称",
  28450. "type": "string"
  28451. },
  28452. "logid": {
  28453. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  28454. "type": "integer"
  28455. },
  28456. "nodetype": {
  28457. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28458. "type": "integer"
  28459. },
  28460. "signadressurl": {
  28461. "description": "签约文件地址",
  28462. "type": "string"
  28463. },
  28464. "signtimestamp": {
  28465. "description": "签约状态时间戳",
  28466. "type": "string"
  28467. },
  28468. "userid": {
  28469. "description": "客户ID",
  28470. "type": "integer"
  28471. },
  28472. "username": {
  28473. "description": "客户名称",
  28474. "type": "string"
  28475. }
  28476. }
  28477. },
  28478. "models.QhjCustomerSignStatus": {
  28479. "type": "object",
  28480. "properties": {
  28481. "createtime": {
  28482. "description": "创建时间",
  28483. "type": "string"
  28484. },
  28485. "goodscode": {
  28486. "description": "商品代码",
  28487. "type": "string"
  28488. },
  28489. "goodsid": {
  28490. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28491. "type": "integer"
  28492. },
  28493. "goodsname": {
  28494. "description": "商品名称",
  28495. "type": "string"
  28496. },
  28497. "nodetype": {
  28498. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  28499. "type": "integer"
  28500. },
  28501. "signtimestamp": {
  28502. "description": "签约状态时间戳",
  28503. "type": "string"
  28504. },
  28505. "tradedate": {
  28506. "description": "创建交易日(yyyyMMdd)",
  28507. "type": "string"
  28508. },
  28509. "updatetime": {
  28510. "description": "更新时间",
  28511. "type": "string"
  28512. },
  28513. "userid": {
  28514. "description": "客户ID",
  28515. "type": "integer"
  28516. },
  28517. "username": {
  28518. "description": "客户名称",
  28519. "type": "string"
  28520. }
  28521. }
  28522. },
  28523. "models.QhjMgrAccountOutInApply": {
  28524. "type": "object",
  28525. "properties": {
  28526. "accountcode": {
  28527. "description": "资金账号",
  28528. "type": "string"
  28529. },
  28530. "accountname": {
  28531. "description": "用户名称(名称)",
  28532. "type": "string"
  28533. },
  28534. "accountpwd": {
  28535. "description": "资金密码",
  28536. "type": "string"
  28537. },
  28538. "accountticket": {
  28539. "description": "最新账户服务流水号",
  28540. "type": "string"
  28541. },
  28542. "amount": {
  28543. "description": "金额",
  28544. "type": "number"
  28545. },
  28546. "applyremark": {
  28547. "description": "申请备注",
  28548. "type": "string"
  28549. },
  28550. "applystatus": {
  28551. "description": "申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;",
  28552. "type": "integer"
  28553. },
  28554. "auditid": {
  28555. "description": "审核人",
  28556. "type": "integer"
  28557. },
  28558. "audittime": {
  28559. "description": "审核时间",
  28560. "type": "string"
  28561. },
  28562. "bank_apply_ticket": {
  28563. "description": "银行申请流水",
  28564. "type": "string"
  28565. },
  28566. "bankaccountname": {
  28567. "description": "银行账户名",
  28568. "type": "string"
  28569. },
  28570. "bankaccountno": {
  28571. "description": "银行卡号",
  28572. "type": "string"
  28573. },
  28574. "bankid": {
  28575. "description": "银行编号",
  28576. "type": "string"
  28577. },
  28578. "bankname": {
  28579. "description": "银行名称",
  28580. "type": "string"
  28581. },
  28582. "bankticket": {
  28583. "description": "银行流水",
  28584. "type": "string"
  28585. },
  28586. "branchbankid": {
  28587. "description": "银行支行号",
  28588. "type": "string"
  28589. },
  28590. "branchbankname": {
  28591. "description": "银行支行名称",
  28592. "type": "string"
  28593. },
  28594. "capamountout": {
  28595. "description": "出金(劣后本金) - 外部子账户",
  28596. "type": "number"
  28597. },
  28598. "certificatephotourl": {
  28599. "description": "凭证地址",
  28600. "type": "string"
  28601. },
  28602. "charge": {
  28603. "description": "手续费",
  28604. "type": "number"
  28605. },
  28606. "checkerrorflag": {
  28607. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  28608. "type": "integer"
  28609. },
  28610. "currency": {
  28611. "description": "币种",
  28612. "type": "string"
  28613. },
  28614. "cusbankid": {
  28615. "description": "托管银行编号",
  28616. "type": "string"
  28617. },
  28618. "exchticket": {
  28619. "description": "银行服务流水号",
  28620. "type": "string"
  28621. },
  28622. "executetype": {
  28623. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  28624. "type": "integer"
  28625. },
  28626. "extendinfo": {
  28627. "description": "扩展信息",
  28628. "type": "string"
  28629. },
  28630. "extoperateid": {
  28631. "description": "交易服务流水号",
  28632. "type": "integer"
  28633. },
  28634. "infamount": {
  28635. "description": "劣后金额(自有)",
  28636. "type": "number"
  28637. },
  28638. "logincode": {
  28639. "description": "登录账号(账号)",
  28640. "type": "string"
  28641. },
  28642. "netaddr": {
  28643. "description": "调转网址",
  28644. "type": "string"
  28645. },
  28646. "priamount": {
  28647. "description": "优先金额(授信)",
  28648. "type": "number"
  28649. },
  28650. "reauditid": {
  28651. "description": "复审人",
  28652. "type": "integer"
  28653. },
  28654. "reauditremark": {
  28655. "description": "复审备注",
  28656. "type": "string"
  28657. },
  28658. "reaudittime": {
  28659. "description": "复审时间",
  28660. "type": "string"
  28661. },
  28662. "relatedorderid": {
  28663. "description": "三方关联ID",
  28664. "type": "string"
  28665. },
  28666. "remark": {
  28667. "description": "备注",
  28668. "type": "string"
  28669. },
  28670. "remark2": {
  28671. "description": "备注(失败原因)",
  28672. "type": "string"
  28673. },
  28674. "soucreamount": {
  28675. "description": "原始出入金金额",
  28676. "type": "number"
  28677. },
  28678. "soucrecurrencyid": {
  28679. "description": "原始出入金币种",
  28680. "type": "integer"
  28681. },
  28682. "tradedate": {
  28683. "description": "交易日(yyyyMMdd)",
  28684. "type": "string"
  28685. },
  28686. "updatetime": {
  28687. "description": "更新时间(申请时间)",
  28688. "type": "string"
  28689. },
  28690. "userid": {
  28691. "description": "用户id",
  28692. "type": "integer"
  28693. },
  28694. "userinfotype": {
  28695. "description": "账户类型 1-个人 2-企业",
  28696. "type": "integer"
  28697. }
  28698. }
  28699. },
  28700. "models.QhjMgrBrokerApply": {
  28701. "type": "object",
  28702. "properties": {
  28703. "applicantid": {
  28704. "description": "申请人",
  28705. "type": "integer"
  28706. },
  28707. "applysrc": {
  28708. "description": "申请来源 - 1:管理端 2:终端",
  28709. "type": "integer"
  28710. },
  28711. "applystatus": {
  28712. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28713. "type": "integer"
  28714. },
  28715. "applytime": {
  28716. "description": "申请时间",
  28717. "type": "string"
  28718. },
  28719. "auditorid": {
  28720. "description": "审核人",
  28721. "type": "integer"
  28722. },
  28723. "auditremark": {
  28724. "description": "审核备注",
  28725. "type": "string"
  28726. },
  28727. "auditsrc": {
  28728. "description": "审核来源 - 1:管理端 2:终端",
  28729. "type": "integer"
  28730. },
  28731. "audittime": {
  28732. "description": "审核时间",
  28733. "type": "string"
  28734. },
  28735. "audittradedate": {
  28736. "description": "审核交易日(yyyyMMdd)",
  28737. "type": "string"
  28738. },
  28739. "brokerapplyid": {
  28740. "description": "申请ID(SEQ_BROKERAPPLY)",
  28741. "type": "integer"
  28742. },
  28743. "cardbackphotourl": {
  28744. "description": "证件背面图片地址",
  28745. "type": "string"
  28746. },
  28747. "cardfrontphotourl": {
  28748. "description": "证件正面图片地址",
  28749. "type": "string"
  28750. },
  28751. "cardnum": {
  28752. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28753. "type": "string"
  28754. },
  28755. "customername": {
  28756. "description": "姓名",
  28757. "type": "string"
  28758. },
  28759. "filterstatus": {
  28760. "description": "筛选条件",
  28761. "type": "string"
  28762. },
  28763. "logincode": {
  28764. "description": "登录代码",
  28765. "type": "string"
  28766. },
  28767. "mobile": {
  28768. "description": "手机号码",
  28769. "type": "string"
  28770. },
  28771. "parentuserid": {
  28772. "description": "所属机构id",
  28773. "type": "integer"
  28774. },
  28775. "parentusername": {
  28776. "description": "所属机构名称",
  28777. "type": "string"
  28778. },
  28779. "refereeuserid": {
  28780. "description": "推荐人id(经纪人)",
  28781. "type": "integer"
  28782. },
  28783. "refernum": {
  28784. "description": "推荐码",
  28785. "type": "string"
  28786. },
  28787. "remark": {
  28788. "description": "备注",
  28789. "type": "string"
  28790. },
  28791. "subarealevelpath": {
  28792. "description": "层级路径",
  28793. "type": "string"
  28794. },
  28795. "tradedate": {
  28796. "description": "交易日(yyyyMMdd)",
  28797. "type": "string"
  28798. },
  28799. "userid": {
  28800. "description": "申请人用户ID",
  28801. "type": "integer"
  28802. },
  28803. "userinfotype": {
  28804. "description": "用户类型 1-个人 2-企业",
  28805. "type": "integer"
  28806. },
  28807. "username": {
  28808. "description": "用户名称",
  28809. "type": "string"
  28810. }
  28811. }
  28812. },
  28813. "models.QhjMgrBrokerRewardReport": {
  28814. "type": "object",
  28815. "properties": {
  28816. "createtime": {
  28817. "description": "创建时间(注册时间)",
  28818. "type": "string"
  28819. },
  28820. "cycletime": {
  28821. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  28822. "type": "string"
  28823. },
  28824. "cycletype": {
  28825. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  28826. "type": "integer"
  28827. },
  28828. "directtotalnum": {
  28829. "description": "直推总人数【期末】",
  28830. "type": "integer"
  28831. },
  28832. "indirecttotalnum": {
  28833. "description": "间推总人数【期末】",
  28834. "type": "integer"
  28835. },
  28836. "mobile": {
  28837. "description": "电话号码",
  28838. "type": "string"
  28839. },
  28840. "refereeuserid": {
  28841. "description": "推荐人id(经纪人id)",
  28842. "type": "integer"
  28843. },
  28844. "refereeusername": {
  28845. "description": "推荐人名称(经纪人) 上级经纪人名称",
  28846. "type": "string"
  28847. },
  28848. "refernum": {
  28849. "description": "推荐码",
  28850. "type": "string"
  28851. },
  28852. "subarealevelpath": {
  28853. "description": "用户层级路径",
  28854. "type": "string"
  28855. },
  28856. "todayrewardamount": {
  28857. "description": "奖励总金额【汇总】",
  28858. "type": "number"
  28859. },
  28860. "updatetime": {
  28861. "description": "更新时间",
  28862. "type": "string"
  28863. },
  28864. "userid": {
  28865. "description": "经纪人用户ID",
  28866. "type": "integer"
  28867. },
  28868. "userinfotype": {
  28869. "description": "用户类型 1-个人 2-企业",
  28870. "type": "integer"
  28871. },
  28872. "username": {
  28873. "description": "用户名称",
  28874. "type": "string"
  28875. }
  28876. }
  28877. },
  28878. "models.QhjMgrContract": {
  28879. "type": "object",
  28880. "properties": {
  28881. "contractconfirmtime": {
  28882. "description": "合同确认时间(时间)",
  28883. "type": "string"
  28884. },
  28885. "currisklevel": {
  28886. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28887. "type": "integer"
  28888. },
  28889. "decimalplace": {
  28890. "description": "商品报价小数位",
  28891. "type": "integer"
  28892. },
  28893. "enumdicname": {
  28894. "description": "单位名称",
  28895. "type": "string"
  28896. },
  28897. "goodscode": {
  28898. "description": "商品代码",
  28899. "type": "string"
  28900. },
  28901. "goodsid": {
  28902. "description": "商品ID [5:融资单]",
  28903. "type": "integer"
  28904. },
  28905. "goodsname": {
  28906. "description": "商品名称",
  28907. "type": "string"
  28908. },
  28909. "goodunitid": {
  28910. "description": "商品单位id",
  28911. "type": "integer"
  28912. },
  28913. "initmargin": {
  28914. "description": "初始保证金(首付款)",
  28915. "type": "number"
  28916. },
  28917. "lenderamount": {
  28918. "description": "贷款金额(总额|订单总额)",
  28919. "type": "number"
  28920. },
  28921. "logincode": {
  28922. "description": "账号(登录代码)",
  28923. "type": "string"
  28924. },
  28925. "marginratio": {
  28926. "description": "保证金比率(首付比例)",
  28927. "type": "number"
  28928. },
  28929. "mobile": {
  28930. "description": "电话号码(用户资料里的电话)",
  28931. "type": "string"
  28932. },
  28933. "payamount": {
  28934. "description": "已付(已付货款)",
  28935. "type": "number"
  28936. },
  28937. "reckonrecovermargin": {
  28938. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28939. "type": "number"
  28940. },
  28941. "recoveredmargin": {
  28942. "description": "已追缴保证金",
  28943. "type": "number"
  28944. },
  28945. "remainamount": {
  28946. "description": "合同剩余金额(融资额)",
  28947. "type": "number"
  28948. },
  28949. "scfcontractid": {
  28950. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28951. "type": "string"
  28952. },
  28953. "scfcontractstatus": {
  28954. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28955. "type": "integer"
  28956. },
  28957. "scfcontracttype": {
  28958. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28959. "type": "integer"
  28960. },
  28961. "totalinterest": {
  28962. "description": "已计总利息(利息)",
  28963. "type": "number"
  28964. },
  28965. "tradedate": {
  28966. "description": "交易日",
  28967. "type": "string"
  28968. },
  28969. "tradeprice": {
  28970. "description": "成交价格(成本价格)",
  28971. "type": "number"
  28972. },
  28973. "userid": {
  28974. "description": "用户ID",
  28975. "type": "integer"
  28976. },
  28977. "userinfotype": {
  28978. "description": "用户类型 1-个人 2-企业",
  28979. "type": "integer"
  28980. },
  28981. "username": {
  28982. "description": "用户名称",
  28983. "type": "string"
  28984. },
  28985. "wrqty": {
  28986. "description": "仓单数量(数量)",
  28987. "type": "number"
  28988. }
  28989. }
  28990. },
  28991. "models.QhjMgrCustomer": {
  28992. "type": "object",
  28993. "properties": {
  28994. "address": {
  28995. "description": "通讯地址",
  28996. "type": "string"
  28997. },
  28998. "attachment1": {
  28999. "description": "附件1",
  29000. "type": "string"
  29001. },
  29002. "audittime": {
  29003. "description": "审核时间",
  29004. "type": "string"
  29005. },
  29006. "birthday": {
  29007. "description": "生日",
  29008. "type": "string"
  29009. },
  29010. "brokerid": {
  29011. "description": "所属客户经理id",
  29012. "type": "integer"
  29013. },
  29014. "brokername": {
  29015. "description": "所属客户经理名称",
  29016. "type": "string"
  29017. },
  29018. "cardbackphotourl": {
  29019. "description": "证件反面图片地址",
  29020. "type": "string"
  29021. },
  29022. "cardfrontphotourl": {
  29023. "description": "证件正面图片地址",
  29024. "type": "string"
  29025. },
  29026. "cardnum": {
  29027. "description": "证件号码",
  29028. "type": "string"
  29029. },
  29030. "cardtype": {
  29031. "description": "证件类型",
  29032. "type": "integer"
  29033. },
  29034. "cardtypename": {
  29035. "description": "证件类型名称",
  29036. "type": "string"
  29037. },
  29038. "cityid": {
  29039. "description": "市",
  29040. "type": "integer"
  29041. },
  29042. "cityname": {
  29043. "description": "城市名称",
  29044. "type": "string"
  29045. },
  29046. "contactname": {
  29047. "description": "联系人",
  29048. "type": "string"
  29049. },
  29050. "countryid": {
  29051. "description": "国家",
  29052. "type": "integer"
  29053. },
  29054. "countryname": {
  29055. "description": "国家名称",
  29056. "type": "string"
  29057. },
  29058. "createtime": {
  29059. "description": "创建时间",
  29060. "type": "string"
  29061. },
  29062. "customername": {
  29063. "description": "客户名称",
  29064. "type": "string"
  29065. },
  29066. "districtid": {
  29067. "description": "区域",
  29068. "type": "integer"
  29069. },
  29070. "districtname": {
  29071. "description": "地区名称",
  29072. "type": "string"
  29073. },
  29074. "email": {
  29075. "description": "邮件",
  29076. "type": "string"
  29077. },
  29078. "legalpersonname": {
  29079. "description": "法人姓名(企业)",
  29080. "type": "string"
  29081. },
  29082. "logincode": {
  29083. "description": "登录账号(代码)",
  29084. "type": "string"
  29085. },
  29086. "memberuserid": {
  29087. "description": "所属机构ID(所属会员)",
  29088. "type": "integer"
  29089. },
  29090. "memberusername": {
  29091. "description": "所属会员名称",
  29092. "type": "string"
  29093. },
  29094. "mobile": {
  29095. "description": "手机号码",
  29096. "type": "string"
  29097. },
  29098. "modifytime": {
  29099. "description": "修改时间",
  29100. "type": "string"
  29101. },
  29102. "nickname": {
  29103. "description": "昵称",
  29104. "type": "string"
  29105. },
  29106. "parentuserid": {
  29107. "description": "上级机构(所属机构)",
  29108. "type": "integer"
  29109. },
  29110. "parentusername": {
  29111. "description": "所属机构名称",
  29112. "type": "string"
  29113. },
  29114. "provinceid": {
  29115. "description": "省",
  29116. "type": "integer"
  29117. },
  29118. "provincename": {
  29119. "description": "省名称",
  29120. "type": "string"
  29121. },
  29122. "proxystatementurl": {
  29123. "description": "授权委托书",
  29124. "type": "string"
  29125. },
  29126. "querytype": {
  29127. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  29128. "type": "integer"
  29129. },
  29130. "remark": {
  29131. "description": "备注",
  29132. "type": "string"
  29133. },
  29134. "sex": {
  29135. "description": "性别 0-女 1-男",
  29136. "type": "integer"
  29137. },
  29138. "status": {
  29139. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29140. "type": "integer"
  29141. },
  29142. "statusdesc": {
  29143. "description": "账户状态中文描述",
  29144. "type": "string"
  29145. },
  29146. "taxpayernum": {
  29147. "description": "纳税人识别号",
  29148. "type": "string"
  29149. },
  29150. "telphone": {
  29151. "description": "联系电话",
  29152. "type": "string"
  29153. },
  29154. "userid": {
  29155. "description": "用户ID",
  29156. "type": "integer"
  29157. },
  29158. "userinfotype": {
  29159. "description": "客户类型 1-个人 2-企业",
  29160. "type": "integer"
  29161. },
  29162. "username": {
  29163. "description": "用户名称",
  29164. "type": "string"
  29165. }
  29166. }
  29167. },
  29168. "models.QhjMgrPickGoods": {
  29169. "type": "object",
  29170. "properties": {
  29171. "enumdicname": {
  29172. "description": "单位名称(提货商品)",
  29173. "type": "string"
  29174. },
  29175. "goodsid": {
  29176. "description": "商品id",
  29177. "type": "integer"
  29178. },
  29179. "imageaddress": {
  29180. "description": "图片",
  29181. "type": "string"
  29182. },
  29183. "modifierid": {
  29184. "description": "修改人",
  29185. "type": "integer"
  29186. },
  29187. "modifiername": {
  29188. "description": "修改人名称",
  29189. "type": "string"
  29190. },
  29191. "modifysrc": {
  29192. "description": "修改来源 - 1:管理端 2:终端",
  29193. "type": "integer"
  29194. },
  29195. "pickupgoodsagreeunit": {
  29196. "description": "合约乘数",
  29197. "type": "number"
  29198. },
  29199. "pickupgoodsdesc": {
  29200. "description": "描述",
  29201. "type": "string"
  29202. },
  29203. "pickupgoodsid": {
  29204. "description": "提货商品ID",
  29205. "type": "string"
  29206. },
  29207. "pickupgoodsname": {
  29208. "description": "提货商品名称",
  29209. "type": "string"
  29210. },
  29211. "pickupgoodsstatus": {
  29212. "description": "状态 - 1:正常 2:停用 3:注销",
  29213. "type": "integer"
  29214. },
  29215. "pickupgoodsunitid": {
  29216. "description": "单位ID",
  29217. "type": "integer"
  29218. },
  29219. "pickupratio": {
  29220. "description": "提货系数",
  29221. "type": "number"
  29222. },
  29223. "preparedays": {
  29224. "description": "备货期(天)",
  29225. "type": "integer"
  29226. },
  29227. "remark": {
  29228. "description": "备注",
  29229. "type": "string"
  29230. },
  29231. "updatetime": {
  29232. "description": "更新时间",
  29233. "type": "string"
  29234. }
  29235. }
  29236. },
  29237. "models.QhjMgrPositionRsp": {
  29238. "type": "object",
  29239. "properties": {
  29240. "accountid": {
  29241. "description": "账号Id",
  29242. "type": "integer"
  29243. },
  29244. "accountname": {
  29245. "description": "用户名称",
  29246. "type": "string"
  29247. },
  29248. "agreeunit": {
  29249. "description": "合约乘数",
  29250. "type": "number"
  29251. },
  29252. "averageprice": {
  29253. "description": "均价",
  29254. "type": "number"
  29255. },
  29256. "avialqty": {
  29257. "description": "可用数量",
  29258. "type": "number"
  29259. },
  29260. "decimalplace": {
  29261. "description": "报价小数位",
  29262. "type": "integer"
  29263. },
  29264. "enumdicname": {
  29265. "description": "单位名称(商品)",
  29266. "type": "string"
  29267. },
  29268. "frozenqty": {
  29269. "description": "冻结数量",
  29270. "type": "number"
  29271. },
  29272. "goodscode": {
  29273. "description": "商品代码(内部)",
  29274. "type": "string"
  29275. },
  29276. "goodsid": {
  29277. "description": "商品Id",
  29278. "type": "integer"
  29279. },
  29280. "goodsname": {
  29281. "description": "商品名称",
  29282. "type": "string"
  29283. },
  29284. "goodunitid": {
  29285. "description": "报价单位ID",
  29286. "type": "integer"
  29287. },
  29288. "holderamount": {
  29289. "description": "金额",
  29290. "type": "number"
  29291. },
  29292. "holderqty": {
  29293. "description": "持有数量",
  29294. "type": "number"
  29295. },
  29296. "holdertype": {
  29297. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  29298. "type": "integer"
  29299. },
  29300. "logincode": {
  29301. "description": "登录代码(账户)",
  29302. "type": "string"
  29303. },
  29304. "marketid": {
  29305. "description": "市场id",
  29306. "type": "integer"
  29307. },
  29308. "qtydecimalplace": {
  29309. "description": "成交量小数位",
  29310. "type": "integer"
  29311. },
  29312. "trademode": {
  29313. "description": "交易模式",
  29314. "type": "integer"
  29315. },
  29316. "userid": {
  29317. "description": "用户id",
  29318. "type": "integer"
  29319. },
  29320. "userinfotype": {
  29321. "description": "账户类型 1-个人 2-企业",
  29322. "type": "integer"
  29323. }
  29324. }
  29325. },
  29326. "models.QhjMgrSubArea": {
  29327. "type": "object",
  29328. "properties": {
  29329. "accountname": {
  29330. "description": "账户名称(机构名称)",
  29331. "type": "string"
  29332. },
  29333. "memberuserid": {
  29334. "description": "所属会员ID",
  29335. "type": "integer"
  29336. },
  29337. "parenttopuser": {
  29338. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29339. "type": "string"
  29340. },
  29341. "parentuserid": {
  29342. "description": "所属机构ID",
  29343. "type": "integer"
  29344. },
  29345. "rootuserid": {
  29346. "description": "根用户ID",
  29347. "type": "string"
  29348. },
  29349. "subaccountlevel": {
  29350. "description": "子账户层数",
  29351. "type": "integer"
  29352. },
  29353. "subarealevelpath": {
  29354. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29355. "type": "string"
  29356. },
  29357. "userid": {
  29358. "description": "用户ID",
  29359. "type": "integer"
  29360. },
  29361. "usertype": {
  29362. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29363. "type": "integer"
  29364. }
  29365. }
  29366. },
  29367. "models.QhjMgrTradeDetailRsp": {
  29368. "type": "object",
  29369. "properties": {
  29370. "accountid": {
  29371. "description": "资金账号",
  29372. "type": "integer"
  29373. },
  29374. "accountname": {
  29375. "description": "用户名称",
  29376. "type": "string"
  29377. },
  29378. "agreeunit": {
  29379. "description": "合约乘数",
  29380. "type": "number"
  29381. },
  29382. "buyorsell": {
  29383. "description": "成交类型(方向) 0:买 1:卖",
  29384. "type": "integer"
  29385. },
  29386. "decimalplace": {
  29387. "description": "报价小数位",
  29388. "type": "integer"
  29389. },
  29390. "enumdicname": {
  29391. "description": "单位名称(商品)",
  29392. "type": "string"
  29393. },
  29394. "goodscode": {
  29395. "description": "商品代码(内部)",
  29396. "type": "string"
  29397. },
  29398. "goodsid": {
  29399. "description": "商品id",
  29400. "type": "integer"
  29401. },
  29402. "goodsname": {
  29403. "description": "商品名称",
  29404. "type": "string"
  29405. },
  29406. "goodunitid": {
  29407. "description": "报价单位ID",
  29408. "type": "integer"
  29409. },
  29410. "logincode": {
  29411. "description": "登录代码(账户)",
  29412. "type": "string"
  29413. },
  29414. "marketid": {
  29415. "description": "市场id",
  29416. "type": "integer"
  29417. },
  29418. "orderid": {
  29419. "description": "关联委托单号",
  29420. "type": "string"
  29421. },
  29422. "qtydecimalplace": {
  29423. "description": "成交量小数位",
  29424. "type": "integer"
  29425. },
  29426. "tradeamount": {
  29427. "description": "金额",
  29428. "type": "number"
  29429. },
  29430. "tradedate": {
  29431. "description": "交易日",
  29432. "type": "string"
  29433. },
  29434. "tradeid": {
  29435. "description": "成交单号",
  29436. "type": "string"
  29437. },
  29438. "trademode": {
  29439. "description": "交易模式",
  29440. "type": "integer"
  29441. },
  29442. "tradeprice": {
  29443. "description": "价格",
  29444. "type": "number"
  29445. },
  29446. "tradeqty": {
  29447. "description": "数量",
  29448. "type": "number"
  29449. },
  29450. "tradetime": {
  29451. "description": "成交时间",
  29452. "type": "string"
  29453. },
  29454. "userid": {
  29455. "description": "用户id",
  29456. "type": "integer"
  29457. },
  29458. "userinfotype": {
  29459. "description": "账户类型 1-个人 2-企业",
  29460. "type": "integer"
  29461. }
  29462. }
  29463. },
  29464. "models.QhjMgrTradeOrderDetailRsp": {
  29465. "type": "object",
  29466. "properties": {
  29467. "accountid": {
  29468. "description": "资金账号",
  29469. "type": "integer"
  29470. },
  29471. "accountname": {
  29472. "description": "用户名称",
  29473. "type": "string"
  29474. },
  29475. "agreeunit": {
  29476. "description": "合约乘数",
  29477. "type": "number"
  29478. },
  29479. "amount": {
  29480. "description": "金额",
  29481. "type": "number"
  29482. },
  29483. "decimalplace": {
  29484. "description": "报价小数位",
  29485. "type": "integer"
  29486. },
  29487. "enumdicname": {
  29488. "description": "单位名称(商品)",
  29489. "type": "string"
  29490. },
  29491. "goodscode": {
  29492. "description": "商品代码(内部)",
  29493. "type": "string"
  29494. },
  29495. "goodsid": {
  29496. "description": "商品id",
  29497. "type": "integer"
  29498. },
  29499. "goodsname": {
  29500. "description": "商品名称",
  29501. "type": "string"
  29502. },
  29503. "goodunitid": {
  29504. "description": "报价单位ID",
  29505. "type": "integer"
  29506. },
  29507. "logincode": {
  29508. "description": "登录代码(账户)",
  29509. "type": "string"
  29510. },
  29511. "marketid": {
  29512. "description": "市场id",
  29513. "type": "integer"
  29514. },
  29515. "orderid": {
  29516. "description": "关联委托单号",
  29517. "type": "string"
  29518. },
  29519. "orderprice": {
  29520. "description": "价格",
  29521. "type": "number"
  29522. },
  29523. "orderqty": {
  29524. "description": "数量",
  29525. "type": "number"
  29526. },
  29527. "orderstatus": {
  29528. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29529. "type": "integer"
  29530. },
  29531. "ordertime": {
  29532. "description": "委托时间",
  29533. "type": "string"
  29534. },
  29535. "qtydecimalplace": {
  29536. "description": "成交量小数位",
  29537. "type": "integer"
  29538. },
  29539. "tradedate": {
  29540. "description": "交易日",
  29541. "type": "string"
  29542. },
  29543. "trademode": {
  29544. "description": "交易模式",
  29545. "type": "integer"
  29546. },
  29547. "userid": {
  29548. "description": "用户id",
  29549. "type": "integer"
  29550. },
  29551. "userinfotype": {
  29552. "description": "账户类型 1-个人 2-企业",
  29553. "type": "integer"
  29554. }
  29555. }
  29556. },
  29557. "models.QhjMgrTradePayOrder": {
  29558. "type": "object",
  29559. "properties": {
  29560. "accountname": {
  29561. "description": "用户名称",
  29562. "type": "string"
  29563. },
  29564. "advanceratio": {
  29565. "description": "首付比率",
  29566. "type": "number"
  29567. },
  29568. "agreeunit": {
  29569. "description": "合约乘数",
  29570. "type": "number"
  29571. },
  29572. "buyaccountid": {
  29573. "description": "买方账号ID[报价币种]",
  29574. "type": "integer"
  29575. },
  29576. "buyorderid": {
  29577. "description": "买方委托单号(关联单号)",
  29578. "type": "string"
  29579. },
  29580. "createtime": {
  29581. "description": "创建时间",
  29582. "type": "string"
  29583. },
  29584. "decimalplace": {
  29585. "description": "报价小数位",
  29586. "type": "integer"
  29587. },
  29588. "enumdicname": {
  29589. "description": "单位名称(商品)",
  29590. "type": "string"
  29591. },
  29592. "goodscode": {
  29593. "description": "商品代码(内部)",
  29594. "type": "string"
  29595. },
  29596. "goodsid": {
  29597. "description": "商品ID",
  29598. "type": "integer"
  29599. },
  29600. "goodsname": {
  29601. "description": "商品名称",
  29602. "type": "string"
  29603. },
  29604. "goodunitid": {
  29605. "description": "报价单位ID",
  29606. "type": "integer"
  29607. },
  29608. "logincode": {
  29609. "description": "登录代码(账户)",
  29610. "type": "string"
  29611. },
  29612. "marketid": {
  29613. "description": "市场id",
  29614. "type": "integer"
  29615. },
  29616. "offamount": {
  29617. "description": "优惠金额",
  29618. "type": "number"
  29619. },
  29620. "operatetype": {
  29621. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  29622. "type": "integer"
  29623. },
  29624. "payamount": {
  29625. "description": "支付金额(金额)",
  29626. "type": "number"
  29627. },
  29628. "payflag": {
  29629. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  29630. "type": "integer"
  29631. },
  29632. "paylimitedtime": {
  29633. "description": "支付期限",
  29634. "type": "string"
  29635. },
  29636. "paytime": {
  29637. "description": "付款时间",
  29638. "type": "string"
  29639. },
  29640. "qtydecimalplace": {
  29641. "description": "成交量小数位",
  29642. "type": "integer"
  29643. },
  29644. "sellaccountid": {
  29645. "description": "卖方账号ID[报价币种]",
  29646. "type": "integer"
  29647. },
  29648. "sellorderid": {
  29649. "description": "卖方委托单号",
  29650. "type": "string"
  29651. },
  29652. "tradeamount": {
  29653. "description": "成交金额(优惠后金额)",
  29654. "type": "number"
  29655. },
  29656. "tradecharge": {
  29657. "description": "成交手续费(买方)",
  29658. "type": "number"
  29659. },
  29660. "tradedate": {
  29661. "description": "交易日(yyyyMMdd)",
  29662. "type": "string"
  29663. },
  29664. "tradeid": {
  29665. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29666. "type": "string"
  29667. },
  29668. "trademode": {
  29669. "description": "交易模式",
  29670. "type": "integer"
  29671. },
  29672. "tradeprice": {
  29673. "description": "成交价格(价格)",
  29674. "type": "number"
  29675. },
  29676. "tradeqty": {
  29677. "description": "成交数量(数量)",
  29678. "type": "number"
  29679. },
  29680. "tradetime": {
  29681. "description": "成交时间",
  29682. "type": "string"
  29683. },
  29684. "userid": {
  29685. "description": "用户id",
  29686. "type": "integer"
  29687. },
  29688. "userinfotype": {
  29689. "description": "账户类型 1-个人 2-企业",
  29690. "type": "integer"
  29691. }
  29692. }
  29693. },
  29694. "models.QhjMyTeamEx": {
  29695. "type": "object",
  29696. "properties": {
  29697. "accountname": {
  29698. "description": "用户名称",
  29699. "type": "string"
  29700. },
  29701. "accountstatus": {
  29702. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29703. "type": "integer"
  29704. },
  29705. "createtime": {
  29706. "description": "创建时间",
  29707. "type": "string"
  29708. },
  29709. "mobile": {
  29710. "description": "手机号码",
  29711. "type": "string"
  29712. },
  29713. "refereeuserid": {
  29714. "description": "推荐人id",
  29715. "type": "integer"
  29716. },
  29717. "refernum": {
  29718. "description": "推荐码",
  29719. "type": "string"
  29720. },
  29721. "subList": {
  29722. "type": "array",
  29723. "items": {
  29724. "$ref": "#/definitions/models.QhjMyTeamEx"
  29725. }
  29726. },
  29727. "userid": {
  29728. "description": "用户id",
  29729. "type": "integer"
  29730. },
  29731. "userinfotype": {
  29732. "description": "用户类型 1-个人 2-企业",
  29733. "type": "integer"
  29734. }
  29735. }
  29736. },
  29737. "models.QhjNodeAgreementConfig": {
  29738. "type": "object",
  29739. "properties": {
  29740. "agreementcontent": {
  29741. "description": "协议内容",
  29742. "type": "string"
  29743. },
  29744. "agreementid": {
  29745. "description": "协议ID",
  29746. "type": "integer"
  29747. },
  29748. "agreementname": {
  29749. "description": "协议名称",
  29750. "type": "string"
  29751. },
  29752. "agreementno": {
  29753. "description": "协议编号",
  29754. "type": "string"
  29755. },
  29756. "agreementtype": {
  29757. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29758. "type": "integer"
  29759. },
  29760. "agreementversion": {
  29761. "description": "协议版本号",
  29762. "type": "integer"
  29763. },
  29764. "configid": {
  29765. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  29766. "type": "integer"
  29767. },
  29768. "createtime": {
  29769. "description": "创建时间",
  29770. "type": "string"
  29771. },
  29772. "goodsid": {
  29773. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29774. "type": "integer"
  29775. },
  29776. "nodetype": {
  29777. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29778. "type": "integer"
  29779. }
  29780. }
  29781. },
  29782. "models.QhjParentAreaList": {
  29783. "type": "object",
  29784. "properties": {
  29785. "accountname": {
  29786. "description": "账户名称(机构名称)",
  29787. "type": "string"
  29788. },
  29789. "userid": {
  29790. "description": "用户ID",
  29791. "type": "integer"
  29792. },
  29793. "usertype": {
  29794. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29795. "type": "integer"
  29796. }
  29797. }
  29798. },
  29799. "models.QhjPayOrder": {
  29800. "type": "object",
  29801. "properties": {
  29802. "advanceratio": {
  29803. "description": "首付比率",
  29804. "type": "number"
  29805. },
  29806. "buyaccountid": {
  29807. "description": "买方账号ID[报价币种]",
  29808. "type": "integer"
  29809. },
  29810. "buyorderid": {
  29811. "description": "买方委托单号",
  29812. "type": "string"
  29813. },
  29814. "createtime": {
  29815. "description": "创建时间",
  29816. "type": "string"
  29817. },
  29818. "decimalplace": {
  29819. "description": "商品报价小数位",
  29820. "type": "integer"
  29821. },
  29822. "enumdicname": {
  29823. "description": "单位名称",
  29824. "type": "string"
  29825. },
  29826. "goodscode": {
  29827. "description": "商品代码",
  29828. "type": "string"
  29829. },
  29830. "goodsid": {
  29831. "description": "商品ID",
  29832. "type": "integer"
  29833. },
  29834. "goodsname": {
  29835. "description": "商品名称",
  29836. "type": "string"
  29837. },
  29838. "goodunitid": {
  29839. "description": "商品单位id",
  29840. "type": "integer"
  29841. },
  29842. "marketid": {
  29843. "description": "市场ID",
  29844. "type": "integer"
  29845. },
  29846. "offamount": {
  29847. "description": "优惠金额",
  29848. "type": "number"
  29849. },
  29850. "operatetype": {
  29851. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  29852. "type": "integer"
  29853. },
  29854. "payamount": {
  29855. "description": "支付金额",
  29856. "type": "number"
  29857. },
  29858. "payflag": {
  29859. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  29860. "type": "integer"
  29861. },
  29862. "paylimitedtime": {
  29863. "description": "支付期限",
  29864. "type": "string"
  29865. },
  29866. "paytime": {
  29867. "description": "付款时间",
  29868. "type": "string"
  29869. },
  29870. "qtydecimalplace": {
  29871. "description": "成交量小数位",
  29872. "type": "integer"
  29873. },
  29874. "sellaccountid": {
  29875. "description": "卖方账号ID[报价币种]",
  29876. "type": "integer"
  29877. },
  29878. "sellorderid": {
  29879. "description": "卖方委托单号",
  29880. "type": "string"
  29881. },
  29882. "tradeamount": {
  29883. "description": "成交金额(优惠后金额)",
  29884. "type": "number"
  29885. },
  29886. "tradecharge": {
  29887. "description": "成交手续费(买方)",
  29888. "type": "number"
  29889. },
  29890. "tradedate": {
  29891. "description": "交易日(yyyyMMdd)",
  29892. "type": "string"
  29893. },
  29894. "tradeid": {
  29895. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29896. "type": "string"
  29897. },
  29898. "tradeprice": {
  29899. "description": "成交价格",
  29900. "type": "number"
  29901. },
  29902. "tradeqty": {
  29903. "description": "成交数量",
  29904. "type": "number"
  29905. }
  29906. }
  29907. },
  29908. "models.QhjPickArea": {
  29909. "type": "object",
  29910. "properties": {
  29911. "address": {
  29912. "description": "详细地址",
  29913. "type": "string"
  29914. },
  29915. "cityid": {
  29916. "description": "市",
  29917. "type": "integer"
  29918. },
  29919. "cityname": {
  29920. "description": "城市名称",
  29921. "type": "string"
  29922. },
  29923. "countryid": {
  29924. "description": "国家",
  29925. "type": "integer"
  29926. },
  29927. "countryname": {
  29928. "description": "国家名称",
  29929. "type": "string"
  29930. },
  29931. "districtid": {
  29932. "description": "地区",
  29933. "type": "integer"
  29934. },
  29935. "districtname": {
  29936. "description": "地区名称",
  29937. "type": "string"
  29938. },
  29939. "fromuserid": {
  29940. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  29941. "type": "integer"
  29942. },
  29943. "fromusername": {
  29944. "description": "所属机构名称",
  29945. "type": "string"
  29946. },
  29947. "provinceid": {
  29948. "description": "省",
  29949. "type": "integer"
  29950. },
  29951. "provincename": {
  29952. "description": "省名称",
  29953. "type": "string"
  29954. },
  29955. "suborgtype": {
  29956. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  29957. "type": "integer"
  29958. },
  29959. "userid": {
  29960. "description": "机构用户ID 其他做市关系,都设置为 1",
  29961. "type": "integer"
  29962. },
  29963. "username": {
  29964. "description": "机构用户名称(门店门称)",
  29965. "type": "string"
  29966. }
  29967. }
  29968. },
  29969. "models.QhjPickGoods": {
  29970. "type": "object",
  29971. "properties": {
  29972. "enumdicname": {
  29973. "description": "单位名称(提货商品)",
  29974. "type": "string"
  29975. },
  29976. "goodsid": {
  29977. "description": "商品id",
  29978. "type": "integer"
  29979. },
  29980. "imageaddress": {
  29981. "description": "图片",
  29982. "type": "string"
  29983. },
  29984. "modifierid": {
  29985. "description": "修改人",
  29986. "type": "integer"
  29987. },
  29988. "modifiername": {
  29989. "description": "修改人名称",
  29990. "type": "string"
  29991. },
  29992. "modifysrc": {
  29993. "description": "修改来源 - 1:管理端 2:终端",
  29994. "type": "integer"
  29995. },
  29996. "pickupgoodsagreeunit": {
  29997. "description": "合约乘数",
  29998. "type": "number"
  29999. },
  30000. "pickupgoodsdesc": {
  30001. "description": "描述",
  30002. "type": "string"
  30003. },
  30004. "pickupgoodsid": {
  30005. "description": "提货商品ID",
  30006. "type": "string"
  30007. },
  30008. "pickupgoodsname": {
  30009. "description": "提货商品名称",
  30010. "type": "string"
  30011. },
  30012. "pickupgoodsstatus": {
  30013. "description": "状态 - 1:正常 2:停用 3:注销",
  30014. "type": "integer"
  30015. },
  30016. "pickupgoodsunitid": {
  30017. "description": "单位ID",
  30018. "type": "integer"
  30019. },
  30020. "pickupratio": {
  30021. "description": "提货系数",
  30022. "type": "number"
  30023. },
  30024. "preparedays": {
  30025. "description": "备货期(天)",
  30026. "type": "integer"
  30027. },
  30028. "remark": {
  30029. "description": "备注",
  30030. "type": "string"
  30031. },
  30032. "updatetime": {
  30033. "description": "更新时间",
  30034. "type": "string"
  30035. }
  30036. }
  30037. },
  30038. "models.QhjRSTriggerLog": {
  30039. "type": "object",
  30040. "properties": {
  30041. "accountid": {
  30042. "description": "用户资金账户",
  30043. "type": "integer"
  30044. },
  30045. "accountname": {
  30046. "description": "账号名称(ACCOUNTID对应的名称)",
  30047. "type": "string"
  30048. },
  30049. "currencyid": {
  30050. "description": "币种id",
  30051. "type": "integer"
  30052. },
  30053. "currencyname": {
  30054. "description": "币种名称",
  30055. "type": "string"
  30056. },
  30057. "decimalplace": {
  30058. "description": "商品报价小数位",
  30059. "type": "integer"
  30060. },
  30061. "enumdicname": {
  30062. "description": "单位名称",
  30063. "type": "string"
  30064. },
  30065. "goodscode": {
  30066. "description": "定投商品代码",
  30067. "type": "string"
  30068. },
  30069. "goodsid": {
  30070. "description": "定投商品ID",
  30071. "type": "integer"
  30072. },
  30073. "goodsname": {
  30074. "description": "定投商品名称",
  30075. "type": "string"
  30076. },
  30077. "goodunitid": {
  30078. "description": "定投商品单位id",
  30079. "type": "integer"
  30080. },
  30081. "logid": {
  30082. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  30083. "type": "string"
  30084. },
  30085. "logincode": {
  30086. "description": "账号(登录代码)",
  30087. "type": "string"
  30088. },
  30089. "qtydecimalplace": {
  30090. "description": "成交量小数位",
  30091. "type": "integer"
  30092. },
  30093. "regularlycycle": {
  30094. "description": "定投频率 - 1:每周 2:每月",
  30095. "type": "integer"
  30096. },
  30097. "regularlycyclevalue": {
  30098. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30099. "type": "string"
  30100. },
  30101. "regularlymode": {
  30102. "description": "定投方式 - 1:按数量 2:按金额",
  30103. "type": "integer"
  30104. },
  30105. "regularlymodevalue": {
  30106. "description": "定投方式值 - 数量或金额",
  30107. "type": "number"
  30108. },
  30109. "regularlystrategyid": {
  30110. "description": "定投策略ID",
  30111. "type": "integer"
  30112. },
  30113. "retcode": {
  30114. "description": "错误码",
  30115. "type": "string"
  30116. },
  30117. "tradeid": {
  30118. "description": "成交单ID",
  30119. "type": "string"
  30120. },
  30121. "triggeramount": {
  30122. "description": "触发金额",
  30123. "type": "number"
  30124. },
  30125. "triggerqty": {
  30126. "description": "触发数量",
  30127. "type": "number"
  30128. },
  30129. "triggerstatus": {
  30130. "description": "触发状态 - 1:成功 2:失败",
  30131. "type": "integer"
  30132. },
  30133. "triggertime": {
  30134. "description": "触发时间",
  30135. "type": "string"
  30136. },
  30137. "triggertradedate": {
  30138. "description": "触发交易日",
  30139. "type": "string"
  30140. },
  30141. "userid": {
  30142. "description": "所属用户ID",
  30143. "type": "integer"
  30144. },
  30145. "userinfotype": {
  30146. "description": "用户类型 1-个人 2-企业",
  30147. "type": "integer"
  30148. },
  30149. "username": {
  30150. "description": "用户名称(userid对应的名称)",
  30151. "type": "string"
  30152. }
  30153. }
  30154. },
  30155. "models.QhjRStrategy": {
  30156. "type": "object",
  30157. "properties": {
  30158. "accountid": {
  30159. "description": "用户资金账户",
  30160. "type": "integer"
  30161. },
  30162. "accountname": {
  30163. "description": "账号名称(ACCOUNTID对应的名称)",
  30164. "type": "string"
  30165. },
  30166. "currencyid": {
  30167. "description": "币种id",
  30168. "type": "integer"
  30169. },
  30170. "currencyname": {
  30171. "description": "币种名称",
  30172. "type": "string"
  30173. },
  30174. "decimalplace": {
  30175. "description": "商品报价小数位",
  30176. "type": "integer"
  30177. },
  30178. "enumdicname": {
  30179. "description": "单位名称",
  30180. "type": "string"
  30181. },
  30182. "goodscode": {
  30183. "description": "定投商品代码",
  30184. "type": "string"
  30185. },
  30186. "goodsid": {
  30187. "description": "定投商品ID",
  30188. "type": "integer"
  30189. },
  30190. "goodsname": {
  30191. "description": "定投商品名称",
  30192. "type": "string"
  30193. },
  30194. "goodunitid": {
  30195. "description": "定投商品单位id",
  30196. "type": "integer"
  30197. },
  30198. "lasteffecttradedate": {
  30199. "description": "最新生效交易日",
  30200. "type": "string"
  30201. },
  30202. "laststoptradedate": {
  30203. "description": "最新暂停交易日",
  30204. "type": "string"
  30205. },
  30206. "lasttriggertradedate": {
  30207. "description": "最新触发交易日",
  30208. "type": "string"
  30209. },
  30210. "logincode": {
  30211. "description": "账号(登录代码)",
  30212. "type": "string"
  30213. },
  30214. "nexttriggeramount": {
  30215. "description": "下次触发金额",
  30216. "type": "number"
  30217. },
  30218. "nexttriggerdate": {
  30219. "description": "下次触发日期",
  30220. "type": "string"
  30221. },
  30222. "nexttriggerqty": {
  30223. "description": "下次触发数量 [按小数位放大值]",
  30224. "type": "number"
  30225. },
  30226. "qtydecimalplace": {
  30227. "description": "成交量小数位",
  30228. "type": "integer"
  30229. },
  30230. "regularlycycle": {
  30231. "description": "定投频率 - 1:每周 2:每月",
  30232. "type": "integer"
  30233. },
  30234. "regularlycyclevalue": {
  30235. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30236. "type": "string"
  30237. },
  30238. "regularlymode": {
  30239. "description": "定投方式 - 1:按数量 2:按金额",
  30240. "type": "integer"
  30241. },
  30242. "regularlymodevalue": {
  30243. "description": "定投方式值 - 数量或金额",
  30244. "type": "number"
  30245. },
  30246. "regularlystrategyid": {
  30247. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  30248. "type": "integer"
  30249. },
  30250. "regularlystrategystatus": {
  30251. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  30252. "type": "integer"
  30253. },
  30254. "remark": {
  30255. "description": "备注",
  30256. "type": "string"
  30257. },
  30258. "triggersuccesstimes": {
  30259. "description": "累计定投成功次数",
  30260. "type": "string"
  30261. },
  30262. "triggertotalamount": {
  30263. "description": "累计定投金额(成功)",
  30264. "type": "number"
  30265. },
  30266. "triggertotalqty": {
  30267. "description": "累计定投数量(成功) [按小数位放大值]",
  30268. "type": "number"
  30269. },
  30270. "triggertotaltimes": {
  30271. "description": "累计定投总次数",
  30272. "type": "string"
  30273. },
  30274. "updatesrc": {
  30275. "description": "更新来源 - 1:管理端 2:终端",
  30276. "type": "integer"
  30277. },
  30278. "updatetime": {
  30279. "description": "更新时间",
  30280. "type": "string"
  30281. },
  30282. "updatorid": {
  30283. "description": "更新人",
  30284. "type": "string"
  30285. },
  30286. "userid": {
  30287. "description": "所属用户ID",
  30288. "type": "integer"
  30289. },
  30290. "userinfotype": {
  30291. "description": "用户类型 1-个人 2-企业",
  30292. "type": "integer"
  30293. },
  30294. "username": {
  30295. "description": "用户名称(userid对应的名称)",
  30296. "type": "string"
  30297. }
  30298. }
  30299. },
  30300. "models.QhjReckonPriceLog": {
  30301. "type": "object",
  30302. "properties": {
  30303. "decimalplace": {
  30304. "description": "商品报价小数位",
  30305. "type": "integer"
  30306. },
  30307. "goodscode": {
  30308. "description": "商品代码",
  30309. "type": "string"
  30310. },
  30311. "goodsid": {
  30312. "description": "商品ID",
  30313. "type": "integer"
  30314. },
  30315. "goodsname": {
  30316. "description": "商品名称",
  30317. "type": "string"
  30318. },
  30319. "lastreckonprice": {
  30320. "description": "上日结算价",
  30321. "type": "number"
  30322. },
  30323. "nextdnlimitprice": {
  30324. "description": "下个交易日跌停价",
  30325. "type": "number"
  30326. },
  30327. "nexttrade": {
  30328. "description": "下个交易日",
  30329. "type": "string"
  30330. },
  30331. "nextuplimitprice": {
  30332. "description": "下个交易日涨停价",
  30333. "type": "number"
  30334. },
  30335. "reckonprice": {
  30336. "description": "今日结算价(定投价)",
  30337. "type": "number"
  30338. },
  30339. "reckontime": {
  30340. "description": "结算时间",
  30341. "type": "string"
  30342. },
  30343. "totalholderqty": {
  30344. "description": "总持仓数",
  30345. "type": "integer"
  30346. },
  30347. "totalstock": {
  30348. "description": "总库存",
  30349. "type": "integer"
  30350. },
  30351. "tradedate": {
  30352. "description": "交易日",
  30353. "type": "string"
  30354. },
  30355. "updowncount": {
  30356. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  30357. "type": "integer"
  30358. },
  30359. "updownflag": {
  30360. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  30361. "type": "integer"
  30362. },
  30363. "updownrate": {
  30364. "description": "今日涨跌幅",
  30365. "type": "number"
  30366. },
  30367. "updownrate_2d": {
  30368. "description": "连续两日涨跌幅",
  30369. "type": "number"
  30370. },
  30371. "updownrate_3d": {
  30372. "description": "连续三日涨跌幅",
  30373. "type": "number"
  30374. }
  30375. }
  30376. },
  30377. "models.QhjScoreLog": {
  30378. "type": "object",
  30379. "properties": {
  30380. "accountid": {
  30381. "description": "账户ID",
  30382. "type": "integer"
  30383. },
  30384. "createtime": {
  30385. "description": "创建时间(时间)",
  30386. "type": "string"
  30387. },
  30388. "goodsid": {
  30389. "description": "商品ID",
  30390. "type": "integer"
  30391. },
  30392. "hasuploaded": {
  30393. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  30394. "type": "integer"
  30395. },
  30396. "logid": {
  30397. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30398. "type": "string"
  30399. },
  30400. "marketid": {
  30401. "description": "市场ID",
  30402. "type": "integer"
  30403. },
  30404. "relatedamount": {
  30405. "description": "关联金额",
  30406. "type": "number"
  30407. },
  30408. "relatedorderid": {
  30409. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  30410. "type": "string"
  30411. },
  30412. "scoreconfigvalue1": {
  30413. "description": "积分配置1",
  30414. "type": "integer"
  30415. },
  30416. "scoreconfigvalue2": {
  30417. "description": "积分配置1",
  30418. "type": "integer"
  30419. },
  30420. "scoretype": {
  30421. "description": "积分类型 - 1:提货积分",
  30422. "type": "integer"
  30423. },
  30424. "scorevalue": {
  30425. "description": "积分",
  30426. "type": "number"
  30427. },
  30428. "tradedate": {
  30429. "description": "交易日(yyyyMMdd)",
  30430. "type": "string"
  30431. },
  30432. "uploadedtime": {
  30433. "description": "同步时间",
  30434. "type": "string"
  30435. },
  30436. "userid": {
  30437. "description": "用户ID",
  30438. "type": "integer"
  30439. }
  30440. }
  30441. },
  30442. "models.QhjSiteColumnDetail": {
  30443. "type": "object",
  30444. "properties": {
  30445. "author": {
  30446. "description": "作者",
  30447. "type": "string"
  30448. },
  30449. "brief": {
  30450. "description": "简介",
  30451. "type": "string"
  30452. },
  30453. "columnid": {
  30454. "description": "所属栏目",
  30455. "type": "integer"
  30456. },
  30457. "context": {
  30458. "description": "内容",
  30459. "type": "string"
  30460. },
  30461. "coverimage": {
  30462. "description": "封面图片",
  30463. "type": "string"
  30464. },
  30465. "creaedate": {
  30466. "description": "创建时间",
  30467. "type": "string"
  30468. },
  30469. "creatorid": {
  30470. "description": "创建人",
  30471. "type": "integer"
  30472. },
  30473. "hits": {
  30474. "description": "点击数",
  30475. "type": "integer"
  30476. },
  30477. "id": {
  30478. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  30479. "type": "integer"
  30480. },
  30481. "isshow": {
  30482. "description": "是否展示 - 0:不展示 1:展示",
  30483. "type": "integer"
  30484. },
  30485. "istop": {
  30486. "description": "是否置顶 - 0:不置 1:置顶",
  30487. "type": "integer"
  30488. },
  30489. "modifierid": {
  30490. "description": "操作人",
  30491. "type": "integer"
  30492. },
  30493. "publishdate": {
  30494. "description": "发布日期",
  30495. "type": "string"
  30496. },
  30497. "status": {
  30498. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  30499. "type": "integer"
  30500. },
  30501. "title": {
  30502. "description": "标题",
  30503. "type": "string"
  30504. },
  30505. "updatedate": {
  30506. "description": "修改时间",
  30507. "type": "string"
  30508. },
  30509. "userid": {
  30510. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  30511. "type": "integer"
  30512. },
  30513. "username": {
  30514. "description": "用户名称",
  30515. "type": "string"
  30516. }
  30517. }
  30518. },
  30519. "models.QhjTeamOrder": {
  30520. "type": "object",
  30521. "properties": {
  30522. "accountid": {
  30523. "description": "账户ID[报价币种]",
  30524. "type": "integer"
  30525. },
  30526. "accountname": {
  30527. "description": "账户名称",
  30528. "type": "string"
  30529. },
  30530. "agreeunit": {
  30531. "description": "合约乘数",
  30532. "type": "number"
  30533. },
  30534. "buyorsell": {
  30535. "description": "方向 - 0:买 1:卖",
  30536. "type": "integer"
  30537. },
  30538. "decimalplace": {
  30539. "description": "报价小数位",
  30540. "type": "integer"
  30541. },
  30542. "enumdicname": {
  30543. "description": "单位名称",
  30544. "type": "string"
  30545. },
  30546. "goodscode": {
  30547. "description": "商品代码(内部)",
  30548. "type": "string"
  30549. },
  30550. "goodsid": {
  30551. "description": "商品ID",
  30552. "type": "integer"
  30553. },
  30554. "goodsname": {
  30555. "description": "商品名称",
  30556. "type": "string"
  30557. },
  30558. "goodunitid": {
  30559. "description": "报价单位ID",
  30560. "type": "integer"
  30561. },
  30562. "marketid": {
  30563. "description": "市场ID",
  30564. "type": "integer"
  30565. },
  30566. "marketname": {
  30567. "description": "市场名称",
  30568. "type": "string"
  30569. },
  30570. "qtydecimalplace": {
  30571. "description": "成交量小数位",
  30572. "type": "integer"
  30573. },
  30574. "refereeuserid": {
  30575. "description": "推荐人ID",
  30576. "type": "integer"
  30577. },
  30578. "tradeamount": {
  30579. "description": "成交金额[账户币种,用于所有权]",
  30580. "type": "number"
  30581. },
  30582. "tradedate": {
  30583. "description": "交易日(yyyyMMdd)",
  30584. "type": "string"
  30585. },
  30586. "trademode": {
  30587. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30588. "type": "integer"
  30589. },
  30590. "tradeprice": {
  30591. "description": "成交价格",
  30592. "type": "number"
  30593. },
  30594. "tradeqty": {
  30595. "description": "成交数量",
  30596. "type": "number"
  30597. },
  30598. "tradetime": {
  30599. "description": "成交时间",
  30600. "type": "string"
  30601. },
  30602. "userid": {
  30603. "description": "用户ID",
  30604. "type": "integer"
  30605. }
  30606. }
  30607. },
  30608. "models.QhjTradeGoodsPickup": {
  30609. "type": "object",
  30610. "properties": {
  30611. "accountid": {
  30612. "description": "账户ID",
  30613. "type": "integer"
  30614. },
  30615. "address": {
  30616. "description": "提货人详细地址",
  30617. "type": "string"
  30618. },
  30619. "amount": {
  30620. "description": "提货金额",
  30621. "type": "number"
  30622. },
  30623. "artradedate": {
  30624. "description": "自动收货交易日(yyyyMMdd)",
  30625. "type": "string"
  30626. },
  30627. "auditer": {
  30628. "description": "审核人",
  30629. "type": "integer"
  30630. },
  30631. "auditsrc": {
  30632. "description": "更新来源 - 1:管理端 2:终端",
  30633. "type": "integer"
  30634. },
  30635. "audittime": {
  30636. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  30637. "type": "string"
  30638. },
  30639. "audittradedate": {
  30640. "description": "审核交易日(yyyyMMdd)",
  30641. "type": "string"
  30642. },
  30643. "cardnum": {
  30644. "description": "提货人证件号码",
  30645. "type": "string"
  30646. },
  30647. "cardtypeid": {
  30648. "description": "提货人证件类型",
  30649. "type": "integer"
  30650. },
  30651. "checkremark": {
  30652. "description": "审核备注",
  30653. "type": "string"
  30654. },
  30655. "cityid": {
  30656. "description": "市",
  30657. "type": "integer"
  30658. },
  30659. "cityname": {
  30660. "description": "城市名称",
  30661. "type": "string"
  30662. },
  30663. "confirmtime": {
  30664. "description": "取货时间 或 收货时间",
  30665. "type": "string"
  30666. },
  30667. "countryid": {
  30668. "description": "国家",
  30669. "type": "integer"
  30670. },
  30671. "countryname": {
  30672. "description": "国家名称",
  30673. "type": "string"
  30674. },
  30675. "decimalplace": {
  30676. "description": "商品报价小数位",
  30677. "type": "integer"
  30678. },
  30679. "districtid": {
  30680. "description": "地区",
  30681. "type": "integer"
  30682. },
  30683. "districtname": {
  30684. "description": "地区名称",
  30685. "type": "string"
  30686. },
  30687. "enumdicname": {
  30688. "description": "单位名称(提货商品)",
  30689. "type": "string"
  30690. },
  30691. "expresscompany": {
  30692. "description": "物流公司",
  30693. "type": "string"
  30694. },
  30695. "expressnum": {
  30696. "description": "物流单号",
  30697. "type": "string"
  30698. },
  30699. "goodsagreeunit": {
  30700. "description": "交易商品乘数",
  30701. "type": "number"
  30702. },
  30703. "goodscode": {
  30704. "description": "商品代码",
  30705. "type": "string"
  30706. },
  30707. "goodsid": {
  30708. "description": "商品ID",
  30709. "type": "integer"
  30710. },
  30711. "goodsname": {
  30712. "description": "商品名称",
  30713. "type": "string"
  30714. },
  30715. "goodsqty": {
  30716. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  30717. "type": "number"
  30718. },
  30719. "handlestatus": {
  30720. "description": "处理状态",
  30721. "type": "integer"
  30722. },
  30723. "logincode": {
  30724. "description": "账号(登录代码, 有可能为空)",
  30725. "type": "string"
  30726. },
  30727. "marketid": {
  30728. "description": "市场ID",
  30729. "type": "integer"
  30730. },
  30731. "phonenum": {
  30732. "description": "提货人联系方式",
  30733. "type": "string"
  30734. },
  30735. "pickupgoodsagreeunit": {
  30736. "description": "提货商品合约乘数",
  30737. "type": "number"
  30738. },
  30739. "pickupgoodsid": {
  30740. "description": "提货商品ID",
  30741. "type": "string"
  30742. },
  30743. "pickupgoodsname": {
  30744. "description": "提货商品名称",
  30745. "type": "string"
  30746. },
  30747. "pickupgoodsqty": {
  30748. "description": "提货商品手数(数量)",
  30749. "type": "number"
  30750. },
  30751. "pickupgoodsunitid": {
  30752. "description": "单位ID(提货商品)",
  30753. "type": "integer"
  30754. },
  30755. "pickupratio": {
  30756. "description": "提货系数",
  30757. "type": "number"
  30758. },
  30759. "preparedays": {
  30760. "description": "备货期(天)-提货单明细表",
  30761. "type": "integer"
  30762. },
  30763. "provinceid": {
  30764. "description": "省",
  30765. "type": "integer"
  30766. },
  30767. "provincename": {
  30768. "description": "省名称",
  30769. "type": "string"
  30770. },
  30771. "qty": {
  30772. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  30773. "type": "number"
  30774. },
  30775. "qtydecimalplace": {
  30776. "description": "商品数量小数位",
  30777. "type": "integer"
  30778. },
  30779. "recivername": {
  30780. "description": "提货人姓名",
  30781. "type": "string"
  30782. },
  30783. "reqtime": {
  30784. "description": "提货申请时间",
  30785. "type": "string"
  30786. },
  30787. "storeuserid": {
  30788. "description": "门店用户ID (千海金)",
  30789. "type": "integer"
  30790. },
  30791. "storeusername": {
  30792. "description": "门店用户名称",
  30793. "type": "string"
  30794. },
  30795. "takemode": {
  30796. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  30797. "type": "integer"
  30798. },
  30799. "takeorderid": {
  30800. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  30801. "type": "string"
  30802. },
  30803. "takeorderstatus": {
  30804. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  30805. "type": "integer"
  30806. },
  30807. "takeremark": {
  30808. "description": "提货备注",
  30809. "type": "string"
  30810. },
  30811. "tradedate": {
  30812. "description": "交易日(yyyyMMdd)",
  30813. "type": "string"
  30814. },
  30815. "updatetime": {
  30816. "description": "更新时间",
  30817. "type": "string"
  30818. },
  30819. "userid": {
  30820. "description": "用户ID",
  30821. "type": "integer"
  30822. },
  30823. "userinfotype": {
  30824. "description": "客户类型 1-个人 2-企业",
  30825. "type": "integer"
  30826. },
  30827. "username": {
  30828. "description": "用户名称",
  30829. "type": "string"
  30830. }
  30831. }
  30832. },
  30833. "models.QhjUserNodeCfgAndStatus": {
  30834. "type": "object",
  30835. "properties": {
  30836. "agreementcontent": {
  30837. "description": "协议内容",
  30838. "type": "string"
  30839. },
  30840. "agreementid": {
  30841. "description": "协议ID",
  30842. "type": "integer"
  30843. },
  30844. "agreementname": {
  30845. "description": "协议名称",
  30846. "type": "string"
  30847. },
  30848. "agreementno": {
  30849. "description": "协议编号",
  30850. "type": "string"
  30851. },
  30852. "agreementtype": {
  30853. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30854. "type": "integer"
  30855. },
  30856. "agreementversion": {
  30857. "description": "协议版本号",
  30858. "type": "integer"
  30859. },
  30860. "configid": {
  30861. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  30862. "type": "integer"
  30863. },
  30864. "createtime": {
  30865. "description": "创建时间",
  30866. "type": "string"
  30867. },
  30868. "goodsid": {
  30869. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30870. "type": "integer"
  30871. },
  30872. "nodetype": {
  30873. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  30874. "type": "integer"
  30875. },
  30876. "signtimestamp": {
  30877. "description": "签约状态时间戳(最近一次)",
  30878. "type": "string"
  30879. },
  30880. "tradedate": {
  30881. "description": "签约交易日(yyyyMMdd)",
  30882. "type": "string"
  30883. },
  30884. "userid": {
  30885. "description": "客户ID",
  30886. "type": "integer"
  30887. }
  30888. }
  30889. },
  30890. "models.Qhjgoodsex": {
  30891. "type": "object",
  30892. "properties": {
  30893. "canfinance": {
  30894. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  30895. "type": "integer"
  30896. },
  30897. "canregularlybuy": {
  30898. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  30899. "type": "integer"
  30900. },
  30901. "defaulttradeuserid": {
  30902. "description": "默认交易用户ID",
  30903. "type": "integer"
  30904. },
  30905. "deliverygoodsid": {
  30906. "description": "现货品种ID",
  30907. "type": "integer"
  30908. },
  30909. "goodsid": {
  30910. "description": "商品ID(自增ID SEQ_GOODS)",
  30911. "type": "integer"
  30912. },
  30913. "minamount": {
  30914. "description": "最小购买金额",
  30915. "type": "number"
  30916. },
  30917. "regularlybuyminamount": {
  30918. "description": "定投最小金额",
  30919. "type": "number"
  30920. },
  30921. "regularlybuyminqty": {
  30922. "description": "定投最小数量",
  30923. "type": "number"
  30924. },
  30925. "spotgoodsbrandid": {
  30926. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  30927. "type": "integer"
  30928. },
  30929. "visibilityforenterprise": {
  30930. "description": "企业客户是否可见 - 0:不可见 1:可见",
  30931. "type": "integer"
  30932. },
  30933. "visibilityforpersonal": {
  30934. "description": "个人客户是否可见 - 0:不可见 1:可见",
  30935. "type": "integer"
  30936. },
  30937. "wrstandardid": {
  30938. "description": "现货商品ID",
  30939. "type": "integer"
  30940. }
  30941. }
  30942. },
  30943. "models.QueryErrorInfosRsp": {
  30944. "type": "object",
  30945. "required": [
  30946. "errorid"
  30947. ],
  30948. "properties": {
  30949. "description": {
  30950. "description": "异常描述",
  30951. "type": "string"
  30952. },
  30953. "errorcode": {
  30954. "description": "异常代码",
  30955. "type": "string"
  30956. },
  30957. "errorid": {
  30958. "description": "异常ID",
  30959. "type": "integer"
  30960. },
  30961. "modulecode": {
  30962. "description": "所属模块",
  30963. "type": "string"
  30964. },
  30965. "operatecode": {
  30966. "description": "所属操作",
  30967. "type": "string"
  30968. },
  30969. "rownumber": {
  30970. "description": "行号",
  30971. "type": "string"
  30972. }
  30973. }
  30974. },
  30975. "models.QueryHedgeOrderDetailRsp": {
  30976. "type": "object",
  30977. "properties": {
  30978. "accountid": {
  30979. "description": "账户ID",
  30980. "type": "integer"
  30981. },
  30982. "buyorsell": {
  30983. "description": "买卖 - 0:买 1:卖",
  30984. "type": "integer"
  30985. },
  30986. "cancellogincode": {
  30987. "description": "撤单人",
  30988. "type": "string"
  30989. },
  30990. "channelbuildtype": {
  30991. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  30992. "type": "integer"
  30993. },
  30994. "channelinnerorderstatus": {
  30995. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  30996. "type": "integer"
  30997. },
  30998. "channeloperatetype": {
  30999. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  31000. "type": "integer"
  31001. },
  31002. "closetype": {
  31003. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31004. "type": "integer"
  31005. },
  31006. "curexchangerate": {
  31007. "description": "当前汇率",
  31008. "type": "number"
  31009. },
  31010. "exchangefullname": {
  31011. "description": "外部交易所全称",
  31012. "type": "string"
  31013. },
  31014. "goodscode": {
  31015. "description": "商品代码(内部)",
  31016. "type": "string"
  31017. },
  31018. "goodsid": {
  31019. "description": "商品ID",
  31020. "type": "integer"
  31021. },
  31022. "goodsname": {
  31023. "description": "商品名称",
  31024. "type": "string"
  31025. },
  31026. "marketid": {
  31027. "description": "市场ID",
  31028. "type": "integer"
  31029. },
  31030. "openfreezemargin": {
  31031. "description": "冻结保证金(冻结交易金额)",
  31032. "type": "number"
  31033. },
  31034. "orderid": {
  31035. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31036. "type": "string"
  31037. },
  31038. "orderlogincode": {
  31039. "description": "委托人",
  31040. "type": "string"
  31041. },
  31042. "orderprice": {
  31043. "description": "委托价格(账户)",
  31044. "type": "number"
  31045. },
  31046. "orderqty": {
  31047. "description": "委托数量",
  31048. "type": "integer"
  31049. },
  31050. "ordertime": {
  31051. "description": "委托时间",
  31052. "type": "string"
  31053. },
  31054. "pricemode": {
  31055. "description": "取价方式 - 1:市价 2: 限价",
  31056. "type": "integer"
  31057. },
  31058. "tradedate": {
  31059. "description": "交易日(yyyyMMdd)",
  31060. "type": "string"
  31061. },
  31062. "tradeqty": {
  31063. "description": "成交数量",
  31064. "type": "integer"
  31065. }
  31066. }
  31067. },
  31068. "models.QueryHedgeTradeDetailRsp": {
  31069. "type": "object",
  31070. "properties": {
  31071. "accountid": {
  31072. "description": "账号ID",
  31073. "type": "integer"
  31074. },
  31075. "buyorsell": {
  31076. "description": "方向 - 0:买 1:卖",
  31077. "type": "integer"
  31078. },
  31079. "channelbuildtype": {
  31080. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31081. "type": "integer"
  31082. },
  31083. "closecharge": {
  31084. "description": "平仓手续费(账户)",
  31085. "type": "number"
  31086. },
  31087. "closecharge2": {
  31088. "description": "平仓手续费(商品)",
  31089. "type": "number"
  31090. },
  31091. "closepl": {
  31092. "description": "平仓盈亏(账户)",
  31093. "type": "number"
  31094. },
  31095. "closepl2": {
  31096. "description": "平仓盈亏(商品)",
  31097. "type": "number"
  31098. },
  31099. "closepl3": {
  31100. "description": "平仓盈亏(账户)(逐笔)",
  31101. "type": "number"
  31102. },
  31103. "closepl4": {
  31104. "description": "平仓盈亏(商品)(逐笔)",
  31105. "type": "number"
  31106. },
  31107. "closetype": {
  31108. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31109. "type": "integer"
  31110. },
  31111. "curexchangerate": {
  31112. "description": "当前汇率",
  31113. "type": "number"
  31114. },
  31115. "exchangefullname": {
  31116. "description": "外部交易所全称",
  31117. "type": "string"
  31118. },
  31119. "goodscode": {
  31120. "description": "商品代码(内部)",
  31121. "type": "string"
  31122. },
  31123. "goodsid": {
  31124. "description": "商品ID",
  31125. "type": "integer"
  31126. },
  31127. "goodsname": {
  31128. "description": "商品名称",
  31129. "type": "string"
  31130. },
  31131. "marketid": {
  31132. "description": "市场ID",
  31133. "type": "integer"
  31134. },
  31135. "opencharge": {
  31136. "description": "建仓手续费(账户)",
  31137. "type": "number"
  31138. },
  31139. "opencharge2": {
  31140. "description": "建仓手续费(商品)",
  31141. "type": "number"
  31142. },
  31143. "orderid": {
  31144. "description": "委托单号",
  31145. "type": "string"
  31146. },
  31147. "orderlogincode": {
  31148. "description": "委托人",
  31149. "type": "string"
  31150. },
  31151. "tradeamount": {
  31152. "description": "成交金额(账户)",
  31153. "type": "number"
  31154. },
  31155. "tradedate": {
  31156. "description": "交易日(yyyyMMdd)",
  31157. "type": "string"
  31158. },
  31159. "tradeid": {
  31160. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31161. "type": "string"
  31162. },
  31163. "tradeprice": {
  31164. "description": "成交价格",
  31165. "type": "number"
  31166. },
  31167. "tradeqty": {
  31168. "description": "成交数量",
  31169. "type": "integer"
  31170. },
  31171. "tradetime": {
  31172. "description": "成交时间",
  31173. "type": "string"
  31174. },
  31175. "tradetype": {
  31176. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  31177. "type": "integer"
  31178. }
  31179. }
  31180. },
  31181. "models.QuotePrimaryMenu": {
  31182. "type": "object",
  31183. "properties": {
  31184. "Index": {
  31185. "description": "序号",
  31186. "type": "integer"
  31187. },
  31188. "Key": {
  31189. "description": "键名",
  31190. "type": "string"
  31191. },
  31192. "Name": {
  31193. "description": "菜单名称",
  31194. "type": "string"
  31195. },
  31196. "SubMenus": {
  31197. "description": "子菜单",
  31198. "type": "array",
  31199. "items": {
  31200. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  31201. }
  31202. },
  31203. "SubTitleType": {
  31204. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  31205. "type": "integer"
  31206. },
  31207. "TradeModes": {
  31208. "description": "包含市场交易类型",
  31209. "type": "string"
  31210. }
  31211. }
  31212. },
  31213. "models.QuoteSecondaryMenu": {
  31214. "type": "object",
  31215. "properties": {
  31216. "ExExchangeCode": {
  31217. "description": "外部交易所代码",
  31218. "type": "string"
  31219. },
  31220. "ExExchangeID": {
  31221. "description": "外部交易所ID",
  31222. "type": "integer"
  31223. },
  31224. "GoodsGroupIDs": {
  31225. "description": "商品组ID列表",
  31226. "type": "array",
  31227. "items": {
  31228. "type": "integer"
  31229. }
  31230. },
  31231. "Index": {
  31232. "description": "序号",
  31233. "type": "integer"
  31234. },
  31235. "MarketID": {
  31236. "description": "市场ID",
  31237. "type": "integer"
  31238. },
  31239. "MenuTitle": {
  31240. "description": "菜单标题(市场名称或外部交易所名称)",
  31241. "type": "string"
  31242. },
  31243. "TradeMode": {
  31244. "description": "交易模式",
  31245. "type": "integer"
  31246. }
  31247. }
  31248. },
  31249. "models.RoleMenu": {
  31250. "type": "object",
  31251. "properties": {
  31252. "hasright": {
  31253. "description": "是否有权限 0-没有权限 1-有权限",
  31254. "type": "integer"
  31255. },
  31256. "iconame": {
  31257. "description": "菜单图标",
  31258. "type": "string"
  31259. },
  31260. "menutype": {
  31261. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  31262. "type": "integer"
  31263. },
  31264. "parentcode": {
  31265. "description": "上级资源代码",
  31266. "type": "string"
  31267. },
  31268. "remark": {
  31269. "description": "菜单备注",
  31270. "type": "string"
  31271. },
  31272. "resourcecode": {
  31273. "description": "菜单代码",
  31274. "type": "string"
  31275. },
  31276. "resourcelevel": {
  31277. "description": "级别",
  31278. "type": "integer"
  31279. },
  31280. "resourcename": {
  31281. "description": "菜单名称",
  31282. "type": "string"
  31283. },
  31284. "roleid": {
  31285. "description": "角色id",
  31286. "type": "integer"
  31287. },
  31288. "sort": {
  31289. "description": "排序",
  31290. "type": "integer"
  31291. },
  31292. "subMenu": {
  31293. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  31294. "type": "array",
  31295. "items": {
  31296. "$ref": "#/definitions/models.RoleMenu"
  31297. }
  31298. },
  31299. "url": {
  31300. "description": "URL",
  31301. "type": "string"
  31302. },
  31303. "userid": {
  31304. "description": "用户id",
  31305. "type": "integer"
  31306. }
  31307. }
  31308. },
  31309. "models.SearchGoods": {
  31310. "type": "object",
  31311. "required": [
  31312. "goodscode",
  31313. "goodsid",
  31314. "goodsname",
  31315. "marketid",
  31316. "trademode"
  31317. ],
  31318. "properties": {
  31319. "goodscode": {
  31320. "description": "商品代码(内部)",
  31321. "type": "string"
  31322. },
  31323. "goodsid": {
  31324. "description": "商品ID(自增ID SEQ_GOODS)",
  31325. "type": "integer"
  31326. },
  31327. "goodsname": {
  31328. "description": "商品名称",
  31329. "type": "string"
  31330. },
  31331. "marketid": {
  31332. "description": "所属市场ID",
  31333. "type": "integer"
  31334. },
  31335. "marketname": {
  31336. "description": "市场名称",
  31337. "type": "string"
  31338. },
  31339. "trademode": {
  31340. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31341. "type": "integer"
  31342. }
  31343. }
  31344. },
  31345. "models.Systemparam": {
  31346. "type": "object",
  31347. "required": [
  31348. "paramcode"
  31349. ],
  31350. "properties": {
  31351. "loginid": {
  31352. "description": "更新用户账号,登录账号",
  31353. "type": "string"
  31354. },
  31355. "modifyflag": {
  31356. "description": "修改标志0 不允许修改 1 允许修改",
  31357. "type": "integer"
  31358. },
  31359. "paramcode": {
  31360. "description": "参数代码",
  31361. "type": "string"
  31362. },
  31363. "paramname": {
  31364. "description": "参数名",
  31365. "type": "string"
  31366. },
  31367. "paramtype": {
  31368. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  31369. "type": "integer"
  31370. },
  31371. "paramvalue": {
  31372. "description": "参数值",
  31373. "type": "string"
  31374. },
  31375. "paramvalue2": {
  31376. "description": "参数值(CLOB)",
  31377. "type": "string"
  31378. },
  31379. "regexpress": {
  31380. "description": "正则表达式",
  31381. "type": "string"
  31382. },
  31383. "remark": {
  31384. "description": "备注",
  31385. "type": "string"
  31386. },
  31387. "serverip": {
  31388. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  31389. "type": "string"
  31390. },
  31391. "showflag": {
  31392. "description": "是否显示0 不显示 1 显示",
  31393. "type": "integer"
  31394. },
  31395. "updatetime": {
  31396. "description": "更新时间",
  31397. "type": "string"
  31398. },
  31399. "userid": {
  31400. "description": "更新用户ID",
  31401. "type": "integer"
  31402. }
  31403. }
  31404. },
  31405. "models.Szdz3convertconfig": {
  31406. "type": "object",
  31407. "required": [
  31408. "converttype",
  31409. "innergoodsid",
  31410. "outergoodscode"
  31411. ],
  31412. "properties": {
  31413. "canin": {
  31414. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  31415. "type": "integer"
  31416. },
  31417. "canout": {
  31418. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  31419. "type": "integer"
  31420. },
  31421. "converttype": {
  31422. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  31423. "type": "integer"
  31424. },
  31425. "createtime": {
  31426. "description": "创建时间",
  31427. "type": "string"
  31428. },
  31429. "creatorid": {
  31430. "description": "创建人",
  31431. "type": "integer"
  31432. },
  31433. "daymaxvalue": {
  31434. "description": "当日最大转入限制",
  31435. "type": "number"
  31436. },
  31437. "freezedays": {
  31438. "description": "冻结天数 [5:花生米转交易]",
  31439. "type": "integer"
  31440. },
  31441. "innergoodsid": {
  31442. "description": "内部商品ID[交易]",
  31443. "type": "integer"
  31444. },
  31445. "inratio": {
  31446. "description": "目标值",
  31447. "type": "integer"
  31448. },
  31449. "modifierid": {
  31450. "description": "修改人",
  31451. "type": "integer"
  31452. },
  31453. "modifytime": {
  31454. "description": "修改时间",
  31455. "type": "string"
  31456. },
  31457. "outergoodscode": {
  31458. "description": "外部商品代码[JD\\PD]",
  31459. "type": "string"
  31460. },
  31461. "outratio": {
  31462. "description": "源值",
  31463. "type": "integer"
  31464. },
  31465. "pddecimalplace": {
  31466. "description": "PD小数位",
  31467. "type": "integer"
  31468. },
  31469. "timemaxvalue": {
  31470. "description": "单次最大转入限制",
  31471. "type": "number"
  31472. },
  31473. "timeminvalue": {
  31474. "description": "单次最小转入限制",
  31475. "type": "number"
  31476. }
  31477. }
  31478. },
  31479. "models.Szdz3searchwhitelist": {
  31480. "type": "object",
  31481. "required": [
  31482. "userid"
  31483. ],
  31484. "properties": {
  31485. "createtime": {
  31486. "description": "创建时间",
  31487. "type": "string"
  31488. },
  31489. "creatorid": {
  31490. "description": "创建人",
  31491. "type": "integer"
  31492. },
  31493. "modifierid": {
  31494. "description": "修改人",
  31495. "type": "integer"
  31496. },
  31497. "modifytime": {
  31498. "description": "修改时间",
  31499. "type": "string"
  31500. },
  31501. "userid": {
  31502. "description": "用户ID",
  31503. "type": "integer"
  31504. }
  31505. }
  31506. },
  31507. "models.TBGoods": {
  31508. "type": "object",
  31509. "properties": {
  31510. "agreeunit": {
  31511. "description": "合约乘数",
  31512. "type": "number"
  31513. },
  31514. "enumdicname": {
  31515. "description": "单位名称",
  31516. "type": "string"
  31517. },
  31518. "goodscode": {
  31519. "description": "商品代码(内部)",
  31520. "type": "string"
  31521. },
  31522. "goodsid": {
  31523. "description": "商品ID(自增ID SEQ_GOODS)",
  31524. "type": "integer"
  31525. },
  31526. "goodsname": {
  31527. "description": "商品名称",
  31528. "type": "string"
  31529. }
  31530. }
  31531. },
  31532. "models.TBGoodsGroup": {
  31533. "type": "object",
  31534. "properties": {
  31535. "convertratio": {
  31536. "description": "折算系数",
  31537. "type": "number"
  31538. },
  31539. "enumdicname": {
  31540. "description": "单位名称",
  31541. "type": "string"
  31542. },
  31543. "exexchangecode": {
  31544. "description": "交易所代码",
  31545. "type": "string"
  31546. },
  31547. "exexchangename": {
  31548. "description": "交易所名称",
  31549. "type": "string"
  31550. },
  31551. "gdlst": {
  31552. "description": "商品列表",
  31553. "type": "array",
  31554. "items": {
  31555. "$ref": "#/definitions/models.TBGoods"
  31556. }
  31557. },
  31558. "goodsgroupid": {
  31559. "description": "商品组ID(自增ID)",
  31560. "type": "integer"
  31561. },
  31562. "goodsgroupname": {
  31563. "description": "商品组名称",
  31564. "type": "string"
  31565. },
  31566. "goodunitid": {
  31567. "description": "报价单位ID",
  31568. "type": "integer"
  31569. }
  31570. }
  31571. },
  31572. "models.TBMiddleGoods": {
  31573. "type": "object",
  31574. "properties": {
  31575. "areauserid": {
  31576. "description": "机构用户ID",
  31577. "type": "integer"
  31578. },
  31579. "enumdicname": {
  31580. "description": "单位名称",
  31581. "type": "string"
  31582. },
  31583. "gplst": {
  31584. "description": "期货品种列表",
  31585. "type": "array",
  31586. "items": {
  31587. "$ref": "#/definitions/models.TBGoodsGroup"
  31588. }
  31589. },
  31590. "middlegoodscode": {
  31591. "description": "套保品种代码",
  31592. "type": "string"
  31593. },
  31594. "middlegoodsid": {
  31595. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  31596. "type": "integer"
  31597. },
  31598. "middlegoodsname": {
  31599. "description": "套保品种名称",
  31600. "type": "string"
  31601. },
  31602. "needarbitrageratio": {
  31603. "description": "套利比率",
  31604. "type": "number"
  31605. },
  31606. "needhedgeratio": {
  31607. "description": "套保比率",
  31608. "type": "number"
  31609. },
  31610. "wdlst": {
  31611. "description": "商品信息列表(现货品类)",
  31612. "type": "array",
  31613. "items": {
  31614. "$ref": "#/definitions/models.TBWrstandard"
  31615. }
  31616. }
  31617. }
  31618. },
  31619. "models.TBWrstandard": {
  31620. "type": "object",
  31621. "properties": {
  31622. "convertratio": {
  31623. "description": "折算系数",
  31624. "type": "number"
  31625. },
  31626. "deliverygoodsname": {
  31627. "description": "品种名称",
  31628. "type": "string"
  31629. },
  31630. "enumdicname": {
  31631. "description": "单位名称",
  31632. "type": "string"
  31633. },
  31634. "vatrate": {
  31635. "description": "增值税率",
  31636. "type": "number"
  31637. },
  31638. "wrstandardcode": {
  31639. "description": "现货商品代码",
  31640. "type": "string"
  31641. },
  31642. "wrstandardid": {
  31643. "description": "现货商品ID(SEQ_WRSTANDARD)",
  31644. "type": "integer"
  31645. },
  31646. "wrstandardname": {
  31647. "description": "现货商品名称",
  31648. "type": "string"
  31649. }
  31650. }
  31651. },
  31652. "models.Taaccount": {
  31653. "type": "object",
  31654. "required": [
  31655. "accountid",
  31656. "userid"
  31657. ],
  31658. "properties": {
  31659. "accountflag": {
  31660. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  31661. "type": "integer"
  31662. },
  31663. "accountid": {
  31664. "description": "资金账户ID",
  31665. "type": "integer"
  31666. },
  31667. "accountname": {
  31668. "description": "账户名称",
  31669. "type": "string"
  31670. },
  31671. "balance": {
  31672. "description": "期初余额",
  31673. "type": "number"
  31674. },
  31675. "capitalbalance": {
  31676. "description": "本金余额[外部子账户实际出入金余额]",
  31677. "type": "number"
  31678. },
  31679. "changeflag": {
  31680. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  31681. "type": "integer"
  31682. },
  31683. "changetime": {
  31684. "description": "账户状态变更时间",
  31685. "type": "string"
  31686. },
  31687. "closepl": {
  31688. "description": "今日平仓盈亏",
  31689. "type": "number"
  31690. },
  31691. "creditdecrease": {
  31692. "description": "今日授信减少",
  31693. "type": "number"
  31694. },
  31695. "creditincrease": {
  31696. "description": "今日授信增加",
  31697. "type": "number"
  31698. },
  31699. "curamount": {
  31700. "description": "总市值(从持仓中统计)",
  31701. "type": "number"
  31702. },
  31703. "currencyid": {
  31704. "description": "货币ID",
  31705. "type": "integer"
  31706. },
  31707. "currentbalance": {
  31708. "description": "期末余额",
  31709. "type": "number"
  31710. },
  31711. "freezecharge": {
  31712. "description": "手续费冻结",
  31713. "type": "number"
  31714. },
  31715. "freezemargin": {
  31716. "description": "冻结保证金",
  31717. "type": "number"
  31718. },
  31719. "fromaccountid": {
  31720. "description": "所属上级账户",
  31721. "type": "integer"
  31722. },
  31723. "inamount": {
  31724. "description": "今日入金金额(包括三方入金)",
  31725. "type": "number"
  31726. },
  31727. "ismain": {
  31728. "description": "是否母账号 0:不是母账户 1:是母账户",
  31729. "type": "integer"
  31730. },
  31731. "ismarketaccount": {
  31732. "description": "是否机构接单账号 0:不是 1:是",
  31733. "type": "integer"
  31734. },
  31735. "isreckonaccount": {
  31736. "description": "是否机构分润账号 0:不是 1:是",
  31737. "type": "integer"
  31738. },
  31739. "mortgagecredit": {
  31740. "description": "授信金额",
  31741. "type": "number"
  31742. },
  31743. "orifreezecharge": {
  31744. "description": "期初手续费冻结",
  31745. "type": "number"
  31746. },
  31747. "orifreezemargin": {
  31748. "description": "期初冻结保证金",
  31749. "type": "number"
  31750. },
  31751. "orimortgagecredit": {
  31752. "description": "期初授信金额",
  31753. "type": "number"
  31754. },
  31755. "oriothercredit": {
  31756. "description": "期初其它授信金额",
  31757. "type": "number"
  31758. },
  31759. "oriotherfreezemargin": {
  31760. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  31761. "type": "number"
  31762. },
  31763. "orioutamountfreeze": {
  31764. "description": "期初出金冻结",
  31765. "type": "number"
  31766. },
  31767. "oriusedmargin": {
  31768. "description": "期初占用保证金",
  31769. "type": "number"
  31770. },
  31771. "othercredit": {
  31772. "description": "其它授信金额",
  31773. "type": "number"
  31774. },
  31775. "othercreditdecrease": {
  31776. "description": "今日其它授信减少",
  31777. "type": "number"
  31778. },
  31779. "othercreditincrease": {
  31780. "description": "今日其它授信增加",
  31781. "type": "number"
  31782. },
  31783. "otherfreezemargin": {
  31784. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  31785. "type": "number"
  31786. },
  31787. "otherincome": {
  31788. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  31789. "type": "number"
  31790. },
  31791. "otherpay": {
  31792. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  31793. "type": "number"
  31794. },
  31795. "outamount": {
  31796. "description": "今日出金金额(包括三方出金)",
  31797. "type": "number"
  31798. },
  31799. "outamountfreeze": {
  31800. "description": "出金冻结",
  31801. "type": "number"
  31802. },
  31803. "outthreshold": {
  31804. "description": "出金阈值",
  31805. "type": "number"
  31806. },
  31807. "parentaccountid": {
  31808. "description": "所属根账号",
  31809. "type": "integer"
  31810. },
  31811. "paycharge": {
  31812. "description": "今日手续费支出",
  31813. "type": "number"
  31814. },
  31815. "relatedaccountstatus": {
  31816. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  31817. "type": "integer"
  31818. },
  31819. "relateduserid": {
  31820. "description": "关联用户",
  31821. "type": "integer"
  31822. },
  31823. "remainamount": {
  31824. "description": "融资额(从融资合同中统计)",
  31825. "type": "number"
  31826. },
  31827. "serivcegroup": {
  31828. "description": "服务分组",
  31829. "type": "integer"
  31830. },
  31831. "signstatus": {
  31832. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  31833. "type": "integer"
  31834. },
  31835. "sublevelpath": {
  31836. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  31837. "type": "string"
  31838. },
  31839. "taaccounttype": {
  31840. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  31841. "type": "integer"
  31842. },
  31843. "thirdinamount": {
  31844. "description": "今日三方入金",
  31845. "type": "number"
  31846. },
  31847. "thirdoutamount": {
  31848. "description": "今日三方出金",
  31849. "type": "number"
  31850. },
  31851. "tradestatus": {
  31852. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  31853. "type": "integer"
  31854. },
  31855. "tradestatuschangetime": {
  31856. "description": "激活时间",
  31857. "type": "string"
  31858. },
  31859. "transferamount": {
  31860. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  31861. "type": "number"
  31862. },
  31863. "usedmargin": {
  31864. "description": "占用保证金",
  31865. "type": "number"
  31866. },
  31867. "userid": {
  31868. "description": "用户ID",
  31869. "type": "integer"
  31870. }
  31871. }
  31872. },
  31873. "models.Tablecolumnconfig": {
  31874. "type": "object",
  31875. "required": [
  31876. "autoid"
  31877. ],
  31878. "properties": {
  31879. "aligntype": {
  31880. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  31881. "type": "integer"
  31882. },
  31883. "autoid": {
  31884. "description": "AutoID",
  31885. "type": "integer"
  31886. },
  31887. "columnfield": {
  31888. "description": "列字段",
  31889. "type": "string"
  31890. },
  31891. "columntitle": {
  31892. "description": "列Title",
  31893. "type": "string"
  31894. },
  31895. "columnwidth": {
  31896. "description": "列宽",
  31897. "type": "string"
  31898. },
  31899. "formatterstring": {
  31900. "description": "格式化字符",
  31901. "type": "string"
  31902. },
  31903. "formattertype": {
  31904. "description": "格式化类型",
  31905. "type": "string"
  31906. },
  31907. "groupname": {
  31908. "description": "表头分组名称",
  31909. "type": "string"
  31910. },
  31911. "isshow": {
  31912. "description": "是否显示 - 0:不显示 1:显示",
  31913. "type": "integer"
  31914. },
  31915. "needsummary": {
  31916. "description": "是否需要汇总 - 0:不需要 1:需要",
  31917. "type": "integer"
  31918. },
  31919. "orderindex": {
  31920. "description": "顺序",
  31921. "type": "integer"
  31922. },
  31923. "remark": {
  31924. "description": "备注",
  31925. "type": "string"
  31926. },
  31927. "summarytype": {
  31928. "description": "汇总类型 - 1:加总 2:最后一个",
  31929. "type": "integer"
  31930. },
  31931. "tablekey": {
  31932. "description": "列表Key",
  31933. "type": "string"
  31934. }
  31935. }
  31936. },
  31937. "models.TjmdQuoteGoods": {
  31938. "type": "object",
  31939. "properties": {
  31940. "buyqty": {
  31941. "description": "买量(暂不做, 无值, 保留字段)",
  31942. "type": "number"
  31943. },
  31944. "goodscode": {
  31945. "description": "合约代码",
  31946. "type": "string"
  31947. },
  31948. "goodsgroupid": {
  31949. "description": "商品组ID(自增ID)",
  31950. "type": "integer"
  31951. },
  31952. "goodsgroupname": {
  31953. "description": "商品组名称",
  31954. "type": "string"
  31955. },
  31956. "goodsid": {
  31957. "description": "合约id",
  31958. "type": "integer"
  31959. },
  31960. "goodsname": {
  31961. "description": "合约名称",
  31962. "type": "string"
  31963. },
  31964. "refgoodscode": {
  31965. "description": "标的合约代码",
  31966. "type": "string"
  31967. },
  31968. "refgoodsid": {
  31969. "description": "标的合约id",
  31970. "type": "integer"
  31971. },
  31972. "refgoodsname": {
  31973. "description": "标的合约名称",
  31974. "type": "string"
  31975. },
  31976. "sellqty": {
  31977. "description": "卖量(暂不做, 无值, 保留字段)",
  31978. "type": "number"
  31979. }
  31980. }
  31981. },
  31982. "models.TjmdTodayAccountMargin": {
  31983. "type": "object",
  31984. "properties": {
  31985. "accountid": {
  31986. "description": "账号ID",
  31987. "type": "integer"
  31988. },
  31989. "goodsid": {
  31990. "description": "商品ID",
  31991. "type": "integer"
  31992. },
  31993. "infoc": {
  31994. "description": "配置参数",
  31995. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  31996. },
  31997. "marketid": {
  31998. "description": "市场ID",
  31999. "type": "integer"
  32000. }
  32001. }
  32002. },
  32003. "models.TjmdTradeOrderDetail": {
  32004. "type": "object",
  32005. "properties": {
  32006. "buyorsell": {
  32007. "description": "买卖方向 0-买 1-卖",
  32008. "type": "integer"
  32009. },
  32010. "goodsid": {
  32011. "description": "商品id",
  32012. "type": "integer"
  32013. },
  32014. "marketmaxsub": {
  32015. "description": "市价最大偏移范围 [浮动价 - 点差]",
  32016. "type": "number"
  32017. },
  32018. "orderid": {
  32019. "description": "委托单号",
  32020. "type": "string"
  32021. },
  32022. "orderprice": {
  32023. "description": "委托价格",
  32024. "type": "number"
  32025. },
  32026. "orderqty": {
  32027. "description": "委托数量",
  32028. "type": "integer"
  32029. },
  32030. "pricemode": {
  32031. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  32032. "type": "integer"
  32033. },
  32034. "userid": {
  32035. "description": "用户id",
  32036. "type": "integer"
  32037. },
  32038. "username": {
  32039. "description": "用户名称(已脱敏)",
  32040. "type": "string"
  32041. }
  32042. }
  32043. },
  32044. "models.TjmdTransferApply": {
  32045. "type": "object",
  32046. "properties": {
  32047. "applyid": {
  32048. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  32049. "type": "integer"
  32050. },
  32051. "applystatus": {
  32052. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  32053. "type": "integer"
  32054. },
  32055. "applytime": {
  32056. "description": "申请时间(时间)",
  32057. "type": "string"
  32058. },
  32059. "auditremark": {
  32060. "description": "审核备注(拒绝原因?)",
  32061. "type": "string"
  32062. },
  32063. "buyorsell": {
  32064. "description": "买卖 - 0:买 1:卖",
  32065. "type": "integer"
  32066. },
  32067. "goodscode": {
  32068. "description": "商品代码",
  32069. "type": "string"
  32070. },
  32071. "goodsid": {
  32072. "description": "商品ID",
  32073. "type": "integer"
  32074. },
  32075. "goodsname": {
  32076. "description": "商品名称",
  32077. "type": "string"
  32078. },
  32079. "marketid": {
  32080. "description": "市场ID",
  32081. "type": "integer"
  32082. },
  32083. "qty": {
  32084. "description": "转让数量(数量)",
  32085. "type": "number"
  32086. },
  32087. "tradeid": {
  32088. "description": "成交单号(关联持仓)",
  32089. "type": "string"
  32090. },
  32091. "transferamount": {
  32092. "description": "转让总金额(金额)",
  32093. "type": "number"
  32094. },
  32095. "transferprice": {
  32096. "description": "转让价格(协议价格)",
  32097. "type": "number"
  32098. }
  32099. }
  32100. },
  32101. "models.TradeHolderDetail": {
  32102. "type": "object",
  32103. "properties": {
  32104. "accountid": {
  32105. "description": "账号ID",
  32106. "type": "integer"
  32107. },
  32108. "agreeunit": {
  32109. "description": "合约乘数",
  32110. "type": "number"
  32111. },
  32112. "buyorsell": {
  32113. "description": "方向 - 0:买 1:卖",
  32114. "type": "integer"
  32115. },
  32116. "currencyid": {
  32117. "description": "商品币种id",
  32118. "type": "integer"
  32119. },
  32120. "currencyname": {
  32121. "description": "币种名称",
  32122. "type": "string"
  32123. },
  32124. "decimalplace": {
  32125. "description": "商品价格小数位",
  32126. "type": "integer"
  32127. },
  32128. "enumdicname": {
  32129. "description": "商品单位名称",
  32130. "type": "string"
  32131. },
  32132. "expirecycle": {
  32133. "description": "行权周期(天) - 1:滚动行权时填写",
  32134. "type": "integer"
  32135. },
  32136. "expiredate": {
  32137. "description": "行权日(yyyyMMdd) - 到期日",
  32138. "type": "string"
  32139. },
  32140. "expiretype": {
  32141. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  32142. "type": "integer"
  32143. },
  32144. "freezeqty": {
  32145. "description": "冻结数量",
  32146. "type": "number"
  32147. },
  32148. "goodscode": {
  32149. "description": "商品代码",
  32150. "type": "string"
  32151. },
  32152. "goodsid": {
  32153. "description": "商品ID",
  32154. "type": "integer"
  32155. },
  32156. "goodsname": {
  32157. "description": "商品名称",
  32158. "type": "string"
  32159. },
  32160. "goodunitid": {
  32161. "description": "商品单位id",
  32162. "type": "integer"
  32163. },
  32164. "holderamount": {
  32165. "description": "持仓金额",
  32166. "type": "number"
  32167. },
  32168. "holdercredit": {
  32169. "description": "持仓授信金额",
  32170. "type": "number"
  32171. },
  32172. "holderdays": {
  32173. "description": "剩余冻结天数",
  32174. "type": "integer"
  32175. },
  32176. "holderprice": {
  32177. "description": "持仓价格",
  32178. "type": "number"
  32179. },
  32180. "holderqty": {
  32181. "description": "持仓数量",
  32182. "type": "number"
  32183. },
  32184. "isconfirmexercise": {
  32185. "description": "是否确认行权- 0:否 1:是",
  32186. "type": "integer"
  32187. },
  32188. "ispreexercise": {
  32189. "description": "是否预申报- 0:否 1:是 2:不可行权",
  32190. "type": "integer"
  32191. },
  32192. "marketid": {
  32193. "description": "市场id",
  32194. "type": "integer"
  32195. },
  32196. "marketname": {
  32197. "description": "市场名称",
  32198. "type": "string"
  32199. },
  32200. "openprice": {
  32201. "description": "建仓价格",
  32202. "type": "number"
  32203. },
  32204. "openqty": {
  32205. "description": "建仓数量",
  32206. "type": "number"
  32207. },
  32208. "optiontype": {
  32209. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  32210. "type": "integer"
  32211. },
  32212. "preexerciseprice": {
  32213. "description": "预申报价格",
  32214. "type": "number"
  32215. },
  32216. "premium": {
  32217. "description": "权利金",
  32218. "type": "number"
  32219. },
  32220. "qtydecimalplace": {
  32221. "description": "商品成交量小数位",
  32222. "type": "integer"
  32223. },
  32224. "refgoodscode": {
  32225. "description": "标的合约代码",
  32226. "type": "string"
  32227. },
  32228. "refgoodsid": {
  32229. "description": "标的合约id",
  32230. "type": "integer"
  32231. },
  32232. "releaseamount": {
  32233. "description": "释放持仓金额",
  32234. "type": "number"
  32235. },
  32236. "releaseholdercredit": {
  32237. "description": "释放持仓授信金额",
  32238. "type": "number"
  32239. },
  32240. "taname": {
  32241. "description": "资金账号名称",
  32242. "type": "string"
  32243. },
  32244. "tradeamount": {
  32245. "description": "成交金额",
  32246. "type": "number"
  32247. },
  32248. "tradedate": {
  32249. "description": "交易日(yyyyMMdd)",
  32250. "type": "string"
  32251. },
  32252. "tradeid": {
  32253. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32254. "type": "string"
  32255. },
  32256. "trademode": {
  32257. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  32258. "type": "integer"
  32259. },
  32260. "tradeproperty": {
  32261. "description": "交易属性",
  32262. "type": "integer"
  32263. },
  32264. "tradetime": {
  32265. "description": "交易时间",
  32266. "type": "string"
  32267. },
  32268. "userid": {
  32269. "description": "用户id",
  32270. "type": "integer"
  32271. },
  32272. "username": {
  32273. "description": "用户名称",
  32274. "type": "string"
  32275. }
  32276. }
  32277. },
  32278. "models.UserCollectConfig": {
  32279. "type": "object",
  32280. "properties": {
  32281. "accountstatus": {
  32282. "description": "账户状态 - 1:正常 2:停用 3:注销",
  32283. "type": "integer"
  32284. },
  32285. "collectaccountname": {
  32286. "description": "收款人账户名称",
  32287. "type": "string"
  32288. },
  32289. "collectaccountno": {
  32290. "description": "收款人账户",
  32291. "type": "string"
  32292. },
  32293. "collectbankname": {
  32294. "description": "收款人开户行",
  32295. "type": "string"
  32296. },
  32297. "collectbranchbankname": {
  32298. "description": "收款人开户支行",
  32299. "type": "string"
  32300. },
  32301. "collectconfigid": {
  32302. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  32303. "type": "string"
  32304. },
  32305. "remark": {
  32306. "description": "备注",
  32307. "type": "string"
  32308. },
  32309. "userid": {
  32310. "description": "收款人用户ID",
  32311. "type": "integer"
  32312. }
  32313. }
  32314. },
  32315. "models.UserReceiveInfo": {
  32316. "type": "object",
  32317. "properties": {
  32318. "address": {
  32319. "description": "提货人详细地址",
  32320. "type": "string"
  32321. },
  32322. "autoid": {
  32323. "description": "AutoID",
  32324. "type": "integer"
  32325. },
  32326. "cardnum": {
  32327. "description": "证件号码(加密存储)",
  32328. "type": "string"
  32329. },
  32330. "cardtypeid": {
  32331. "description": "证件类型",
  32332. "type": "integer"
  32333. },
  32334. "cityid": {
  32335. "description": "市",
  32336. "type": "integer"
  32337. },
  32338. "cityname": {
  32339. "description": "城市名称",
  32340. "type": "string"
  32341. },
  32342. "countryid": {
  32343. "description": "国家",
  32344. "type": "integer"
  32345. },
  32346. "countryname": {
  32347. "description": "国家名称",
  32348. "type": "string"
  32349. },
  32350. "districtid": {
  32351. "description": "地区",
  32352. "type": "integer"
  32353. },
  32354. "districtname": {
  32355. "description": "地区名称",
  32356. "type": "string"
  32357. },
  32358. "hasencrypt": {
  32359. "description": "数据是否已加密 - 0:未加密 1:已加密",
  32360. "type": "integer"
  32361. },
  32362. "isdefault": {
  32363. "description": "是否默认地址 - 0:否 1:是",
  32364. "type": "integer"
  32365. },
  32366. "phonenum": {
  32367. "description": "提货人联系方式(加密存储)",
  32368. "type": "string"
  32369. },
  32370. "provinceid": {
  32371. "description": "省",
  32372. "type": "integer"
  32373. },
  32374. "provincename": {
  32375. "description": "省名称",
  32376. "type": "string"
  32377. },
  32378. "receivername": {
  32379. "description": "提货人姓名",
  32380. "type": "string"
  32381. },
  32382. "takeremark": {
  32383. "description": "提货备注",
  32384. "type": "string"
  32385. },
  32386. "userid": {
  32387. "description": "用户ID",
  32388. "type": "integer"
  32389. }
  32390. }
  32391. },
  32392. "models.Useraccount": {
  32393. "type": "object",
  32394. "required": [
  32395. "userid"
  32396. ],
  32397. "properties": {
  32398. "accountname": {
  32399. "description": "账户名称(机构名称)",
  32400. "type": "string"
  32401. },
  32402. "accountstatus": {
  32403. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  32404. "type": "integer"
  32405. },
  32406. "applysrc": {
  32407. "description": "申请来源 - 1:管理端 2:终端",
  32408. "type": "integer"
  32409. },
  32410. "auditremark": {
  32411. "description": "审核备注",
  32412. "type": "string"
  32413. },
  32414. "auditsrc": {
  32415. "description": "审核来源 - 1:管理端 2:终端",
  32416. "type": "integer"
  32417. },
  32418. "audittime": {
  32419. "description": "审核时间",
  32420. "type": "string"
  32421. },
  32422. "audituserid": {
  32423. "description": "审核人",
  32424. "type": "integer"
  32425. },
  32426. "broker": {
  32427. "description": "所属经纪人ID",
  32428. "type": "integer"
  32429. },
  32430. "canceltime": {
  32431. "description": "销户时间",
  32432. "type": "string"
  32433. },
  32434. "canceluserid": {
  32435. "description": "销户人",
  32436. "type": "integer"
  32437. },
  32438. "canrecommend": {
  32439. "description": "是否可推荐 - 0:不可 1;可",
  32440. "type": "integer"
  32441. },
  32442. "createtime": {
  32443. "description": "创建时间",
  32444. "type": "string"
  32445. },
  32446. "creatorid": {
  32447. "description": "创建人",
  32448. "type": "integer"
  32449. },
  32450. "hasauth": {
  32451. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  32452. "type": "integer"
  32453. },
  32454. "isanonymous": {
  32455. "description": "是否匿名下单 - 0:否 1:是",
  32456. "type": "integer"
  32457. },
  32458. "maxinvestornum": {
  32459. "description": "最大用户数(经纪会员下投资者个数)",
  32460. "type": "integer"
  32461. },
  32462. "memberuserid": {
  32463. "description": "所属会员ID",
  32464. "type": "integer"
  32465. },
  32466. "modifierid": {
  32467. "description": "修改人",
  32468. "type": "integer"
  32469. },
  32470. "modifyremark": {
  32471. "description": "变更备注",
  32472. "type": "string"
  32473. },
  32474. "modifystatus": {
  32475. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  32476. "type": "integer"
  32477. },
  32478. "modifytime": {
  32479. "description": "修改时间",
  32480. "type": "string"
  32481. },
  32482. "parenttopuser": {
  32483. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  32484. "type": "string"
  32485. },
  32486. "parentuserid": {
  32487. "description": "所属机构ID",
  32488. "type": "integer"
  32489. },
  32490. "reckonaccountid": {
  32491. "description": "默认结算资金账号ID(机构分润使用) 作废",
  32492. "type": "integer"
  32493. },
  32494. "refercount": {
  32495. "description": "推荐总人数",
  32496. "type": "integer"
  32497. },
  32498. "refereeuserid": {
  32499. "description": "推荐人ID",
  32500. "type": "integer"
  32501. },
  32502. "refernum": {
  32503. "description": "推荐码",
  32504. "type": "string"
  32505. },
  32506. "rootuserid": {
  32507. "description": "根用户ID",
  32508. "type": "integer"
  32509. },
  32510. "subaccountlevel": {
  32511. "description": "子账户层数",
  32512. "type": "integer"
  32513. },
  32514. "subarealevelpath": {
  32515. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  32516. "type": "string"
  32517. },
  32518. "userid": {
  32519. "description": "用户ID",
  32520. "type": "integer"
  32521. },
  32522. "usertype": {
  32523. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  32524. "type": "integer"
  32525. }
  32526. }
  32527. },
  32528. "models.Userfavoritegoods": {
  32529. "type": "object",
  32530. "required": [
  32531. "goodsid"
  32532. ],
  32533. "properties": {
  32534. "goodsid": {
  32535. "description": "商品ID",
  32536. "type": "integer"
  32537. }
  32538. }
  32539. },
  32540. "models.Userinfo": {
  32541. "type": "object",
  32542. "required": [
  32543. "userid"
  32544. ],
  32545. "properties": {
  32546. "address": {
  32547. "description": "地址",
  32548. "type": "string"
  32549. },
  32550. "attachment1": {
  32551. "description": "附件1",
  32552. "type": "string"
  32553. },
  32554. "attachment2": {
  32555. "description": "附件2",
  32556. "type": "string"
  32557. },
  32558. "bankaccount": {
  32559. "description": "银行帐号 (加密存储)",
  32560. "type": "string"
  32561. },
  32562. "bankaccountname": {
  32563. "description": "收款人名称",
  32564. "type": "string"
  32565. },
  32566. "bankcardfrontphotourl": {
  32567. "description": "银行卡正面照地址",
  32568. "type": "string"
  32569. },
  32570. "bankid": {
  32571. "description": "银行编码",
  32572. "type": "string"
  32573. },
  32574. "bankname": {
  32575. "description": "银行名称",
  32576. "type": "string"
  32577. },
  32578. "biznature": {
  32579. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  32580. "type": "integer"
  32581. },
  32582. "bizscope": {
  32583. "description": "企业经营范围(企业)",
  32584. "type": "string"
  32585. },
  32586. "cardbackphotourl": {
  32587. "description": "证件背面图片地址",
  32588. "type": "string"
  32589. },
  32590. "cardfrontphotourl": {
  32591. "description": "证件正面图片地址",
  32592. "type": "string"
  32593. },
  32594. "cardnum": {
  32595. "description": "证件号码(加密存储)",
  32596. "type": "string"
  32597. },
  32598. "cardtypeid": {
  32599. "description": "证件类型ID",
  32600. "type": "integer"
  32601. },
  32602. "cityid": {
  32603. "description": "市",
  32604. "type": "integer"
  32605. },
  32606. "company": {
  32607. "description": "公司(个人)",
  32608. "type": "string"
  32609. },
  32610. "contactname": {
  32611. "description": "联系人",
  32612. "type": "string"
  32613. },
  32614. "countryid": {
  32615. "description": "国家",
  32616. "type": "integer"
  32617. },
  32618. "createtime": {
  32619. "description": "创建时间",
  32620. "type": "string"
  32621. },
  32622. "creatorid": {
  32623. "description": "创建人",
  32624. "type": "integer"
  32625. },
  32626. "customername": {
  32627. "description": "客户名称(企业名称)",
  32628. "type": "string"
  32629. },
  32630. "districtid": {
  32631. "description": "地区",
  32632. "type": "integer"
  32633. },
  32634. "email": {
  32635. "description": "邮件(加密存储)",
  32636. "type": "string"
  32637. },
  32638. "fax": {
  32639. "description": "传真(加密存储)",
  32640. "type": "string"
  32641. },
  32642. "halfbodyphotourl": {
  32643. "description": "半身照地址",
  32644. "type": "string"
  32645. },
  32646. "hasencrypt": {
  32647. "description": "数据是否已加密 - 0:未加密 1:已加密",
  32648. "type": "integer"
  32649. },
  32650. "headurl": {
  32651. "description": "头像地址",
  32652. "type": "string"
  32653. },
  32654. "legalcardbackphotourl": {
  32655. "description": "法人身份证背面照地址",
  32656. "type": "string"
  32657. },
  32658. "legalcardfrontphotourl": {
  32659. "description": "法人身份证正面照地址",
  32660. "type": "string"
  32661. },
  32662. "legalpersonname": {
  32663. "description": "法人姓名(企业)",
  32664. "type": "string"
  32665. },
  32666. "mobile": {
  32667. "description": "手机号码(加密存储)",
  32668. "type": "string"
  32669. },
  32670. "mobile2": {
  32671. "description": "手机号码[明文-尚志]",
  32672. "type": "string"
  32673. },
  32674. "modifierid": {
  32675. "description": "修改人",
  32676. "type": "integer"
  32677. },
  32678. "modifiertime": {
  32679. "description": "修改时间",
  32680. "type": "string"
  32681. },
  32682. "needinvoice": {
  32683. "description": "是否需要发票 - 0:不需要 1:需要",
  32684. "type": "integer"
  32685. },
  32686. "nickname": {
  32687. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  32688. "type": "string"
  32689. },
  32690. "openmode": {
  32691. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  32692. "type": "integer"
  32693. },
  32694. "otherurl": {
  32695. "description": "其它图片地址[使用分号分隔]",
  32696. "type": "string"
  32697. },
  32698. "postalcode": {
  32699. "description": "邮政编码",
  32700. "type": "string"
  32701. },
  32702. "provinceid": {
  32703. "description": "省",
  32704. "type": "integer"
  32705. },
  32706. "qq": {
  32707. "description": "QQ(加密存储",
  32708. "type": "string"
  32709. },
  32710. "remark": {
  32711. "description": "备注",
  32712. "type": "string"
  32713. },
  32714. "sex": {
  32715. "description": "用户性别 0: 女 1: 男",
  32716. "type": "integer"
  32717. },
  32718. "signpdfurl": {
  32719. "description": "签约pdf文件",
  32720. "type": "string"
  32721. },
  32722. "telphone": {
  32723. "description": "联系电话(加密存储)",
  32724. "type": "string"
  32725. },
  32726. "userid": {
  32727. "description": "用户ID",
  32728. "type": "integer"
  32729. },
  32730. "userinfotype": {
  32731. "description": "用户信息类型 - 1:个人 2:企业",
  32732. "type": "integer"
  32733. },
  32734. "userstatus": {
  32735. "description": "用户状态 - 1:正常 2:注销",
  32736. "type": "integer"
  32737. },
  32738. "usertype": {
  32739. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  32740. "type": "integer"
  32741. },
  32742. "wechat": {
  32743. "description": "微信(加密存储)",
  32744. "type": "string"
  32745. },
  32746. "wskhinfo": {
  32747. "description": "开户申请信息(JSON)",
  32748. "type": "string"
  32749. }
  32750. }
  32751. },
  32752. "models.WRSConverTDetail": {
  32753. "type": "object",
  32754. "properties": {
  32755. "convertratio": {
  32756. "description": "套保系数",
  32757. "type": "number"
  32758. },
  32759. "deliverygoodscode": {
  32760. "description": "现货商品代码",
  32761. "type": "string"
  32762. },
  32763. "deliverygoodsid": {
  32764. "description": "现货品种ID",
  32765. "type": "integer"
  32766. },
  32767. "deliverygoodsname": {
  32768. "description": "现货商品名称",
  32769. "type": "string"
  32770. },
  32771. "enumdicname": {
  32772. "description": "单位名称",
  32773. "type": "string"
  32774. },
  32775. "goodsunitid": {
  32776. "description": "套保品种单位id",
  32777. "type": "integer"
  32778. },
  32779. "middlegoodscode": {
  32780. "description": "套保品种代码",
  32781. "type": "string"
  32782. },
  32783. "middlegoodsid": {
  32784. "description": "套保品种ID",
  32785. "type": "integer"
  32786. },
  32787. "middlegoodsname": {
  32788. "description": "套保品种名称",
  32789. "type": "string"
  32790. },
  32791. "modifytime": {
  32792. "description": "修改时间",
  32793. "type": "string"
  32794. },
  32795. "wrstandardid": {
  32796. "description": "品类ID",
  32797. "type": "integer"
  32798. }
  32799. }
  32800. },
  32801. "models.WRStandardInfo": {
  32802. "type": "object",
  32803. "required": [
  32804. "wrstandardid"
  32805. ],
  32806. "properties": {
  32807. "areauserid": {
  32808. "description": "所属机构",
  32809. "type": "integer"
  32810. },
  32811. "convertfactor": {
  32812. "description": "标仓系数",
  32813. "type": "number"
  32814. },
  32815. "createtime": {
  32816. "description": "创建时间",
  32817. "type": "string"
  32818. },
  32819. "creatorid": {
  32820. "description": "创建人",
  32821. "type": "integer"
  32822. },
  32823. "deliverygoodsid": {
  32824. "description": "品种ID",
  32825. "type": "integer"
  32826. },
  32827. "deliverygoodsname": {
  32828. "description": "交割商品名称",
  32829. "type": "string"
  32830. },
  32831. "factoryitemjson": {
  32832. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  32833. "type": "string"
  32834. },
  32835. "isvalid": {
  32836. "description": "是否有效 - 0:无效 1:有效",
  32837. "type": "integer"
  32838. },
  32839. "minivalue": {
  32840. "description": "最小变动值",
  32841. "type": "integer"
  32842. },
  32843. "minivaluedp": {
  32844. "description": "最小变动值小数位",
  32845. "type": "integer"
  32846. },
  32847. "realminivalue": {
  32848. "description": "实际最小变动值",
  32849. "type": "integer"
  32850. },
  32851. "realminivaluedp": {
  32852. "description": "实际最小变动值小数位",
  32853. "type": "integer"
  32854. },
  32855. "remark": {
  32856. "description": "备注",
  32857. "type": "string"
  32858. },
  32859. "unitid": {
  32860. "description": "单位ID",
  32861. "type": "integer"
  32862. },
  32863. "unitname": {
  32864. "description": "单位",
  32865. "type": "string"
  32866. },
  32867. "updatetime": {
  32868. "description": "更新时间",
  32869. "type": "string"
  32870. },
  32871. "updatorid": {
  32872. "description": "更新人",
  32873. "type": "integer"
  32874. },
  32875. "wrsstatus": {
  32876. "description": "状态 - 作废 - 0:未激活 1:正常",
  32877. "type": "integer"
  32878. },
  32879. "wrstandardcode": {
  32880. "description": "现货品类代码",
  32881. "type": "string"
  32882. },
  32883. "wrstandardid": {
  32884. "description": "现货品类ID(SEQ_WRSTANDARD)",
  32885. "type": "integer"
  32886. },
  32887. "wrstandardname": {
  32888. "description": "现货品类名称",
  32889. "type": "string"
  32890. }
  32891. }
  32892. },
  32893. "models.WRTradeBargainApply": {
  32894. "type": "object",
  32895. "properties": {
  32896. "accountid": {
  32897. "description": "摘牌资金账号",
  32898. "type": "integer"
  32899. },
  32900. "applyprice": {
  32901. "description": "申请价格(议价价格)",
  32902. "type": "string"
  32903. },
  32904. "applyqty": {
  32905. "description": "摘牌数量(议价数量)",
  32906. "type": "number"
  32907. },
  32908. "applyremark": {
  32909. "description": "申请备注",
  32910. "type": "string"
  32911. },
  32912. "applystatus": {
  32913. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  32914. "type": "integer"
  32915. },
  32916. "applytime": {
  32917. "description": "申请时间(议价时间)",
  32918. "type": "string"
  32919. },
  32920. "buyorsell": {
  32921. "description": "买卖(挂牌类型) - 0:买 1:卖",
  32922. "type": "integer"
  32923. },
  32924. "confirmremark": {
  32925. "description": "确认备注",
  32926. "type": "string"
  32927. },
  32928. "confirmtime": {
  32929. "description": "确认时间",
  32930. "type": "string"
  32931. },
  32932. "confirmuserid": {
  32933. "description": "确认人",
  32934. "type": "integer"
  32935. },
  32936. "deliverygoodscode": {
  32937. "description": "品种代码",
  32938. "type": "string"
  32939. },
  32940. "deliverygoodsid": {
  32941. "description": "品种ID",
  32942. "type": "integer"
  32943. },
  32944. "deliverygoodsname": {
  32945. "description": "品种名称",
  32946. "type": "string"
  32947. },
  32948. "deliverymonth": {
  32949. "description": "交收月",
  32950. "type": "string"
  32951. },
  32952. "enumdicname": {
  32953. "description": "单位名称",
  32954. "type": "string"
  32955. },
  32956. "fixedprice": {
  32957. "description": "挂牌价格",
  32958. "type": "number"
  32959. },
  32960. "handlestatus": {
  32961. "description": "处理状态",
  32962. "type": "integer"
  32963. },
  32964. "marginvalue": {
  32965. "description": "履约保证金比例",
  32966. "type": "number"
  32967. },
  32968. "marketid": {
  32969. "description": "市场ID",
  32970. "type": "integer"
  32971. },
  32972. "matchaccountid": {
  32973. "description": "挂牌方资金账号",
  32974. "type": "integer"
  32975. },
  32976. "matchuserid": {
  32977. "description": "挂牌方用户id",
  32978. "type": "integer"
  32979. },
  32980. "matchusername": {
  32981. "description": "挂牌方用户名称(已脱敏)",
  32982. "type": "string"
  32983. },
  32984. "minivalue": {
  32985. "description": "现货商品最小变动值",
  32986. "type": "integer"
  32987. },
  32988. "optioncompare": {
  32989. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32990. "type": "string"
  32991. },
  32992. "orderqty": {
  32993. "description": "挂牌数量",
  32994. "type": "integer"
  32995. },
  32996. "refprice": {
  32997. "description": "参考价格",
  32998. "type": "string"
  32999. },
  33000. "retcode": {
  33001. "description": "委托返回代码",
  33002. "type": "integer"
  33003. },
  33004. "templatename": {
  33005. "description": "履约方式(履约模板名称)",
  33006. "type": "string"
  33007. },
  33008. "tradedate": {
  33009. "description": "交易日(yyyyMMdd)",
  33010. "type": "string"
  33011. },
  33012. "userid": {
  33013. "description": "摘牌人用户ID(议价人ID)",
  33014. "type": "integer"
  33015. },
  33016. "username": {
  33017. "description": "议价人名字(已脱敏)",
  33018. "type": "string"
  33019. },
  33020. "validtime": {
  33021. "description": "有效期限",
  33022. "type": "string"
  33023. },
  33024. "warehouseid": {
  33025. "description": "仓库ID",
  33026. "type": "integer"
  33027. },
  33028. "warehousename": {
  33029. "description": "仓库名称",
  33030. "type": "string"
  33031. },
  33032. "wrbargainid": {
  33033. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  33034. "type": "string"
  33035. },
  33036. "wrfactortypeid": {
  33037. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33038. "type": "string"
  33039. },
  33040. "wrfactortypename": {
  33041. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33042. "type": "string"
  33043. },
  33044. "wrstandardcode": {
  33045. "description": "现货商品代码",
  33046. "type": "string"
  33047. },
  33048. "wrstandardid": {
  33049. "description": "现货商品ID",
  33050. "type": "integer"
  33051. },
  33052. "wrstandardname": {
  33053. "description": "商品名称",
  33054. "type": "string"
  33055. },
  33056. "wrtradeorderid": {
  33057. "description": "关联委托单ID",
  33058. "type": "string"
  33059. },
  33060. "wrtypename": {
  33061. "description": "商品",
  33062. "type": "string"
  33063. }
  33064. }
  33065. },
  33066. "models.Warehouseinfo": {
  33067. "type": "object",
  33068. "required": [
  33069. "autoid",
  33070. "warehousecode"
  33071. ],
  33072. "properties": {
  33073. "address": {
  33074. "description": "详细地址",
  33075. "type": "string"
  33076. },
  33077. "areauserid": {
  33078. "description": "所属机构",
  33079. "type": "integer"
  33080. },
  33081. "autoid": {
  33082. "description": "自增ID",
  33083. "type": "integer"
  33084. },
  33085. "cityid": {
  33086. "description": "市",
  33087. "type": "integer"
  33088. },
  33089. "contactname": {
  33090. "description": "联系人",
  33091. "type": "string"
  33092. },
  33093. "contactnum": {
  33094. "description": "联系电话",
  33095. "type": "string"
  33096. },
  33097. "countryid": {
  33098. "description": "国家",
  33099. "type": "integer"
  33100. },
  33101. "createtime": {
  33102. "description": "创建时间",
  33103. "type": "string"
  33104. },
  33105. "districtid": {
  33106. "description": "区",
  33107. "type": "integer"
  33108. },
  33109. "hasvideo": {
  33110. "description": "是否有视频 - 0:无 1:有",
  33111. "type": "integer"
  33112. },
  33113. "provinceid": {
  33114. "description": "省",
  33115. "type": "integer"
  33116. },
  33117. "remark": {
  33118. "description": "审核备注",
  33119. "type": "string"
  33120. },
  33121. "videourl": {
  33122. "description": "视频地址",
  33123. "type": "string"
  33124. },
  33125. "warehousecode": {
  33126. "description": "仓库代码",
  33127. "type": "string"
  33128. },
  33129. "warehousename": {
  33130. "description": "仓库名称",
  33131. "type": "string"
  33132. },
  33133. "warehousestatus": {
  33134. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  33135. "type": "integer"
  33136. },
  33137. "warehousetype": {
  33138. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  33139. "type": "integer"
  33140. }
  33141. }
  33142. },
  33143. "models.WrAverageTradePrice": {
  33144. "type": "object",
  33145. "properties": {
  33146. "averageprice": {
  33147. "description": "成交均价",
  33148. "type": "number"
  33149. },
  33150. "tradedate": {
  33151. "description": "交易日yyyymm",
  33152. "type": "string"
  33153. }
  33154. }
  33155. },
  33156. "models.WrBsGoodsInfo": {
  33157. "type": "object",
  33158. "properties": {
  33159. "buyorsell": {
  33160. "description": "买卖方向 0-买 1-卖",
  33161. "type": "integer"
  33162. },
  33163. "goodsid": {
  33164. "description": "交易合约ID",
  33165. "type": "integer"
  33166. },
  33167. "lstitem": {
  33168. "description": "商品信息项",
  33169. "type": "array",
  33170. "items": {
  33171. "$ref": "#/definitions/models.WrTypeItem"
  33172. }
  33173. },
  33174. "lststep": {
  33175. "description": "履约规则",
  33176. "type": "array",
  33177. "items": {
  33178. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33179. }
  33180. }
  33181. }
  33182. },
  33183. "models.WrBuybackDetail": {
  33184. "type": "object",
  33185. "properties": {
  33186. "buybackamount": {
  33187. "description": "回购金额",
  33188. "type": "number"
  33189. },
  33190. "buybackqty": {
  33191. "description": "回购数量",
  33192. "type": "number"
  33193. },
  33194. "buybackreleasemargin": {
  33195. "description": "回购释放保证金",
  33196. "type": "number"
  33197. },
  33198. "buybacktime": {
  33199. "description": "回购时间",
  33200. "type": "string"
  33201. },
  33202. "errordesc": {
  33203. "description": "错误描述",
  33204. "type": "string"
  33205. },
  33206. "handlestatus": {
  33207. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  33208. "type": "integer"
  33209. },
  33210. "relatedwrid": {
  33211. "description": "关联仓单ID",
  33212. "type": "integer"
  33213. },
  33214. "scfcontractid": {
  33215. "description": "SCF合同ID",
  33216. "type": "string"
  33217. },
  33218. "scfwrbuybackid": {
  33219. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  33220. "type": "integer"
  33221. },
  33222. "tradedate": {
  33223. "description": "交易日(yyyyMMdd)",
  33224. "type": "string"
  33225. }
  33226. }
  33227. },
  33228. "models.WrDeliveryAvalidHoldLB": {
  33229. "type": "object",
  33230. "properties": {
  33231. "accountid": {
  33232. "description": "资金账号",
  33233. "type": "integer"
  33234. },
  33235. "avalidqty": {
  33236. "description": "数量(可点选数量)",
  33237. "type": "number"
  33238. },
  33239. "deliverygoodsid": {
  33240. "description": "品种id",
  33241. "type": "integer"
  33242. },
  33243. "enumdicname": {
  33244. "description": "单位名称",
  33245. "type": "string"
  33246. },
  33247. "goodsid": {
  33248. "description": "x合约商品id",
  33249. "type": "integer"
  33250. },
  33251. "ladingbillid": {
  33252. "description": "提单id",
  33253. "type": "string"
  33254. },
  33255. "pgoodscode": {
  33256. "description": "p商品代码(点价合约)",
  33257. "type": "string"
  33258. },
  33259. "pgoodsid": {
  33260. "description": "p商品id(点价合约)",
  33261. "type": "integer"
  33262. },
  33263. "pgoodsname": {
  33264. "description": "p商品名称(点价合约)",
  33265. "type": "string"
  33266. },
  33267. "pricemove": {
  33268. "description": "升贴水",
  33269. "type": "number"
  33270. },
  33271. "subnum": {
  33272. "description": "提单子id",
  33273. "type": "integer"
  33274. },
  33275. "userid": {
  33276. "description": "用户id",
  33277. "type": "integer"
  33278. },
  33279. "username": {
  33280. "description": "仓单持有人",
  33281. "type": "string"
  33282. },
  33283. "warehousecode": {
  33284. "description": "仓库代码",
  33285. "type": "string"
  33286. },
  33287. "warehouseid": {
  33288. "description": "仓库id",
  33289. "type": "integer"
  33290. },
  33291. "warehousename": {
  33292. "description": "仓库名称",
  33293. "type": "string"
  33294. },
  33295. "wrfactortypeid": {
  33296. "description": "仓单要素id",
  33297. "type": "string"
  33298. },
  33299. "wrstandardcode": {
  33300. "description": "品代码",
  33301. "type": "string"
  33302. },
  33303. "wrstandardid": {
  33304. "description": "品类d",
  33305. "type": "integer"
  33306. },
  33307. "wrstandardname": {
  33308. "description": "品类名称",
  33309. "type": "string"
  33310. },
  33311. "wrtypename": {
  33312. "description": "商品",
  33313. "type": "string"
  33314. },
  33315. "xgoodscode": {
  33316. "description": "x合约代码",
  33317. "type": "string"
  33318. },
  33319. "xgoodsname": {
  33320. "description": "x合约名称",
  33321. "type": "string"
  33322. }
  33323. }
  33324. },
  33325. "models.WrDeliveryDetail": {
  33326. "type": "object",
  33327. "properties": {
  33328. "accountid": {
  33329. "description": "账号ID",
  33330. "type": "integer"
  33331. },
  33332. "averageprice": {
  33333. "description": "交割均价 = 交割金额 / 交割数量",
  33334. "type": "number"
  33335. },
  33336. "buyorsell": {
  33337. "description": "方向 - 0:买 1:卖",
  33338. "type": "integer"
  33339. },
  33340. "deliveryamount": {
  33341. "description": "货款金额(X总货款+P总货款)",
  33342. "type": "number"
  33343. },
  33344. "deliveryid": {
  33345. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  33346. "type": "string"
  33347. },
  33348. "deliveryorderid": {
  33349. "description": "申报单号",
  33350. "type": "string"
  33351. },
  33352. "deliverypricemove": {
  33353. "description": "升贴水(升贴水总额)",
  33354. "type": "number"
  33355. },
  33356. "deliveryqty": {
  33357. "description": "交收数量(点选数量)",
  33358. "type": "number"
  33359. },
  33360. "deliverystatus": {
  33361. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  33362. "type": "integer"
  33363. },
  33364. "deliverytime": {
  33365. "description": "交割时间",
  33366. "type": "string"
  33367. },
  33368. "deliverytotalamount": {
  33369. "description": "交收金额",
  33370. "type": "number"
  33371. },
  33372. "enumdicname": {
  33373. "description": "单位名称",
  33374. "type": "string"
  33375. },
  33376. "matchaccountid": {
  33377. "description": "对手账号ID",
  33378. "type": "integer"
  33379. },
  33380. "matchusername": {
  33381. "description": "对手方名称(仓单持有人)",
  33382. "type": "string"
  33383. },
  33384. "p1goodsremainamount": {
  33385. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  33386. "type": "number"
  33387. },
  33388. "pdeliverycloseqty": {
  33389. "description": "p合约平仓数量",
  33390. "type": "number"
  33391. },
  33392. "pdeliveryprice": {
  33393. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  33394. "type": "number"
  33395. },
  33396. "pgoodscode": {
  33397. "description": "商品代码",
  33398. "type": "string"
  33399. },
  33400. "pgoodsid": {
  33401. "description": "p点选合约id",
  33402. "type": "integer"
  33403. },
  33404. "pgoodsname": {
  33405. "description": "商品名称",
  33406. "type": "string"
  33407. },
  33408. "ppricemode": {
  33409. "description": "点价价格方式 - 1:商品价 2:固定值",
  33410. "type": "integer"
  33411. },
  33412. "tradedate": {
  33413. "description": "交易日(yyyymmdd)",
  33414. "type": "string"
  33415. },
  33416. "userid": {
  33417. "description": "用户id",
  33418. "type": "integer"
  33419. },
  33420. "username": {
  33421. "description": "用户名称",
  33422. "type": "string"
  33423. },
  33424. "warehousename": {
  33425. "description": "仓库名称",
  33426. "type": "string"
  33427. },
  33428. "wrfactortypeid": {
  33429. "description": "仓单要素类型ID",
  33430. "type": "string"
  33431. },
  33432. "wrtypename": {
  33433. "description": "商品",
  33434. "type": "string"
  33435. },
  33436. "xdeliverycloseqty": {
  33437. "description": "合约数量",
  33438. "type": "number"
  33439. },
  33440. "xgoodsamount": {
  33441. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  33442. "type": "number"
  33443. },
  33444. "xgoodscode": {
  33445. "description": "商品代码",
  33446. "type": "string"
  33447. },
  33448. "xgoodsid": {
  33449. "description": "x交易合约ID",
  33450. "type": "integer"
  33451. },
  33452. "xgoodsname": {
  33453. "description": "商品名称",
  33454. "type": "string"
  33455. }
  33456. }
  33457. },
  33458. "models.WrFAProductDetail": {
  33459. "type": "object",
  33460. "properties": {
  33461. "accountid": {
  33462. "description": "资金账号",
  33463. "type": "integer"
  33464. },
  33465. "areauserid": {
  33466. "description": "金融机构ID",
  33467. "type": "integer"
  33468. },
  33469. "financingdays": {
  33470. "description": "天数(天)",
  33471. "type": "integer"
  33472. },
  33473. "interestminlen": {
  33474. "description": "最小起息天数",
  33475. "type": "integer"
  33476. },
  33477. "interestrate": {
  33478. "description": "利率",
  33479. "type": "number"
  33480. },
  33481. "interestratemode": {
  33482. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33483. "type": "integer"
  33484. },
  33485. "interestsettlemode": {
  33486. "description": "结息方式 - 1:按日结息 3:按月结息",
  33487. "type": "integer"
  33488. },
  33489. "interestsettlevalue": {
  33490. "description": "结息方式值",
  33491. "type": "integer"
  33492. },
  33493. "isautoloan": {
  33494. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  33495. "type": "integer"
  33496. },
  33497. "loantag": {
  33498. "description": "放款标识: \"放款快\" 或者为空",
  33499. "type": "string"
  33500. },
  33501. "marginratio": {
  33502. "description": "保证金比率质押率 - [仓单质押]",
  33503. "type": "number"
  33504. },
  33505. "productdetailid": {
  33506. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  33507. "type": "integer"
  33508. },
  33509. "productid": {
  33510. "description": "金融产品ID",
  33511. "type": "integer"
  33512. },
  33513. "productname": {
  33514. "description": "产品名称",
  33515. "type": "string"
  33516. },
  33517. "updatetime": {
  33518. "description": "更新时间",
  33519. "type": "string"
  33520. },
  33521. "username": {
  33522. "description": "融出方",
  33523. "type": "string"
  33524. }
  33525. }
  33526. },
  33527. "models.WrFactorTypeInfo": {
  33528. "type": "object",
  33529. "properties": {
  33530. "deliverygoodscode": {
  33531. "description": "品种代码",
  33532. "type": "string"
  33533. },
  33534. "deliverygoodsname": {
  33535. "description": "品种名称",
  33536. "type": "string"
  33537. },
  33538. "dgfactoryitemid": {
  33539. "description": "选择项id",
  33540. "type": "integer"
  33541. },
  33542. "dgfactoryitemtypeid": {
  33543. "description": "要素选择项ID (1-仓库 2-品牌)",
  33544. "type": "integer"
  33545. },
  33546. "dgfactoryitemvalue": {
  33547. "description": "要素项值",
  33548. "type": "string"
  33549. },
  33550. "itemtypename": {
  33551. "description": "要素项名称",
  33552. "type": "string"
  33553. },
  33554. "optioncompare": {
  33555. "description": "选择比较串",
  33556. "type": "string"
  33557. },
  33558. "warehouseid": {
  33559. "description": "仓库id",
  33560. "type": "integer"
  33561. },
  33562. "wrfactortypeid": {
  33563. "description": "仓单要素ID",
  33564. "type": "string"
  33565. },
  33566. "wrfactortypename": {
  33567. "description": "要素名称",
  33568. "type": "string"
  33569. },
  33570. "wrfactortypename2": {
  33571. "description": "要素名称(不含仓库)",
  33572. "type": "string"
  33573. },
  33574. "wrstandardcode": {
  33575. "description": "品类代码",
  33576. "type": "string"
  33577. },
  33578. "wrstandardid": {
  33579. "description": "品类id",
  33580. "type": "integer"
  33581. },
  33582. "wrstandardname": {
  33583. "description": "品类名称",
  33584. "type": "string"
  33585. }
  33586. }
  33587. },
  33588. "models.WrFilterItem": {
  33589. "type": "object",
  33590. "properties": {
  33591. "itemcode": {
  33592. "description": "代码",
  33593. "type": "string"
  33594. },
  33595. "itemid": {
  33596. "description": "项id",
  33597. "type": "integer"
  33598. },
  33599. "itemname": {
  33600. "description": "名称",
  33601. "type": "string"
  33602. },
  33603. "itemtype": {
  33604. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  33605. "type": "integer"
  33606. }
  33607. }
  33608. },
  33609. "models.WrFinanceBuyApply": {
  33610. "type": "object",
  33611. "properties": {
  33612. "applydate": {
  33613. "description": "申请时间",
  33614. "type": "string"
  33615. },
  33616. "applystatus": {
  33617. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  33618. "type": "integer"
  33619. },
  33620. "applyuserid": {
  33621. "description": "申请人",
  33622. "type": "integer"
  33623. },
  33624. "auditdate": {
  33625. "description": "审核时间",
  33626. "type": "string"
  33627. },
  33628. "auditremark": {
  33629. "description": "审核备注",
  33630. "type": "string"
  33631. },
  33632. "audituserid": {
  33633. "description": "审核人",
  33634. "type": "integer"
  33635. },
  33636. "buyaccountid": {
  33637. "description": "买方资金账号",
  33638. "type": "integer"
  33639. },
  33640. "buyorsell": {
  33641. "description": "买卖 - 0:买 1:卖",
  33642. "type": "integer"
  33643. },
  33644. "buyuserid": {
  33645. "description": "买方用户ID",
  33646. "type": "integer"
  33647. },
  33648. "buyusername": {
  33649. "description": "买方名称",
  33650. "type": "string"
  33651. },
  33652. "buywrtradeorderid": {
  33653. "description": "融资方买委托单ID",
  33654. "type": "string"
  33655. },
  33656. "deliverygoodscode": {
  33657. "description": "品种代码",
  33658. "type": "string"
  33659. },
  33660. "deliverygoodsid": {
  33661. "description": "品种ID",
  33662. "type": "integer"
  33663. },
  33664. "deliverygoodsname": {
  33665. "description": "品种名称",
  33666. "type": "string"
  33667. },
  33668. "deliverymonth": {
  33669. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  33670. "type": "string"
  33671. },
  33672. "enumdicname": {
  33673. "description": "单位名称",
  33674. "type": "string"
  33675. },
  33676. "financeaccountid": {
  33677. "description": "融资方资金帐户ID",
  33678. "type": "integer"
  33679. },
  33680. "financeapplyid": {
  33681. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33682. "type": "string"
  33683. },
  33684. "financeareauserid": {
  33685. "description": "融资方用户ID",
  33686. "type": "string"
  33687. },
  33688. "financename": {
  33689. "description": "融出方名称",
  33690. "type": "string"
  33691. },
  33692. "financetype": {
  33693. "description": "融资类型 1-融资回购",
  33694. "type": "integer"
  33695. },
  33696. "financingdays": {
  33697. "description": "天数(天)",
  33698. "type": "integer"
  33699. },
  33700. "freezebuymargin": {
  33701. "description": "冻结融资保证金(买方)",
  33702. "type": "number"
  33703. },
  33704. "handleremark": {
  33705. "description": "处理备注",
  33706. "type": "string"
  33707. },
  33708. "handlestatus": {
  33709. "description": "处理状态",
  33710. "type": "integer"
  33711. },
  33712. "interestminlen": {
  33713. "description": "最小起息天数",
  33714. "type": "integer"
  33715. },
  33716. "interestrate": {
  33717. "description": "利率",
  33718. "type": "number"
  33719. },
  33720. "interestratemode": {
  33721. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33722. "type": "integer"
  33723. },
  33724. "interestsettlemode": {
  33725. "description": "结息方式 - 1:按日结息 3:按月结息",
  33726. "type": "integer"
  33727. },
  33728. "interestsettlevalue": {
  33729. "description": "结息方式值",
  33730. "type": "integer"
  33731. },
  33732. "isautoloan": {
  33733. "description": "是否自动放款 - 0:手动 1:自动",
  33734. "type": "integer"
  33735. },
  33736. "marginratio": {
  33737. "description": "保证金比率质押率 - [仓单质押]",
  33738. "type": "number"
  33739. },
  33740. "marketid": {
  33741. "description": "市场ID",
  33742. "type": "integer"
  33743. },
  33744. "minivalue": {
  33745. "description": "现货商品最小变动值",
  33746. "type": "integer"
  33747. },
  33748. "optioncompare": {
  33749. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33750. "type": "string"
  33751. },
  33752. "orderqty": {
  33753. "description": "委托数量(商品数量)",
  33754. "type": "number"
  33755. },
  33756. "productdetailid": {
  33757. "description": "产品组合ID",
  33758. "type": "integer"
  33759. },
  33760. "productid": {
  33761. "description": "金融产品ID",
  33762. "type": "integer"
  33763. },
  33764. "productname": {
  33765. "description": "产品名称",
  33766. "type": "string"
  33767. },
  33768. "remark": {
  33769. "description": "备注",
  33770. "type": "string"
  33771. },
  33772. "scfcontractid": {
  33773. "description": "仓单回购合同ID",
  33774. "type": "string"
  33775. },
  33776. "sellaccountid": {
  33777. "description": "卖方资金账号",
  33778. "type": "integer"
  33779. },
  33780. "selluserid": {
  33781. "description": "卖方用户ID",
  33782. "type": "integer"
  33783. },
  33784. "sellwrtradeorderid": {
  33785. "description": "卖方委托单ID",
  33786. "type": "string"
  33787. },
  33788. "tradeamount": {
  33789. "description": "成交金额(借款金额)",
  33790. "type": "number"
  33791. },
  33792. "tradedate": {
  33793. "description": "交易日(yyyyMMdd)",
  33794. "type": "string"
  33795. },
  33796. "tradeprice": {
  33797. "description": "成交价格",
  33798. "type": "number"
  33799. },
  33800. "warehouseid": {
  33801. "description": "仓库ID",
  33802. "type": "integer"
  33803. },
  33804. "warehousename": {
  33805. "description": "仓库名称",
  33806. "type": "string"
  33807. },
  33808. "wrfactortypeid": {
  33809. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33810. "type": "string"
  33811. },
  33812. "wrfactortypename": {
  33813. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33814. "type": "string"
  33815. },
  33816. "wrpricetype": {
  33817. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  33818. "type": "integer"
  33819. },
  33820. "wrstandardcode": {
  33821. "description": "现货商品代码",
  33822. "type": "string"
  33823. },
  33824. "wrstandardid": {
  33825. "description": "现货商品ID",
  33826. "type": "integer"
  33827. },
  33828. "wrstandardname": {
  33829. "description": "商品名称",
  33830. "type": "string"
  33831. },
  33832. "wrtypename": {
  33833. "description": "商品",
  33834. "type": "string"
  33835. }
  33836. }
  33837. },
  33838. "models.WrFriendApply": {
  33839. "type": "object",
  33840. "properties": {
  33841. "applicantid": {
  33842. "description": "申请人",
  33843. "type": "integer"
  33844. },
  33845. "applyname": {
  33846. "description": "申请人名称",
  33847. "type": "string"
  33848. },
  33849. "applysrc": {
  33850. "description": "申请来源 - 1:管理端 2:终端",
  33851. "type": "integer"
  33852. },
  33853. "applystatus": {
  33854. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  33855. "type": "integer"
  33856. },
  33857. "applytime": {
  33858. "description": "申请时间",
  33859. "type": "string"
  33860. },
  33861. "auditname": {
  33862. "description": "审核人名称",
  33863. "type": "string"
  33864. },
  33865. "auditorid": {
  33866. "description": "审核人",
  33867. "type": "integer"
  33868. },
  33869. "auditremark": {
  33870. "description": "审核备注",
  33871. "type": "string"
  33872. },
  33873. "auditsrc": {
  33874. "description": "审核来源 - 1:管理端 2:终端",
  33875. "type": "integer"
  33876. },
  33877. "audittime": {
  33878. "description": "审核时间",
  33879. "type": "string"
  33880. },
  33881. "friendapplyid": {
  33882. "description": "申请ID(SEQ_FRIENDAPPLY)",
  33883. "type": "string"
  33884. },
  33885. "friendname": {
  33886. "description": "好友名字(已脱敏)",
  33887. "type": "string"
  33888. },
  33889. "frienduserid": {
  33890. "description": "好友用户ID",
  33891. "type": "string"
  33892. },
  33893. "remark": {
  33894. "description": "备注",
  33895. "type": "string"
  33896. },
  33897. "userid": {
  33898. "description": "申请人用户ID",
  33899. "type": "integer"
  33900. }
  33901. }
  33902. },
  33903. "models.WrFtDeliveryGoods": {
  33904. "type": "object",
  33905. "properties": {
  33906. "deliverygoodscode": {
  33907. "description": "品种代码",
  33908. "type": "string"
  33909. },
  33910. "deliverygoodsid": {
  33911. "description": "品种ID",
  33912. "type": "integer"
  33913. },
  33914. "deliverygoodsname": {
  33915. "description": "品种名称",
  33916. "type": "string"
  33917. },
  33918. "wdlst": {
  33919. "description": "商品列表",
  33920. "type": "array",
  33921. "items": {
  33922. "$ref": "#/definitions/models.WrFtWrstandard"
  33923. }
  33924. }
  33925. }
  33926. },
  33927. "models.WrFtWrstandard": {
  33928. "type": "object",
  33929. "properties": {
  33930. "enumdicname": {
  33931. "description": "单位名称",
  33932. "type": "string"
  33933. },
  33934. "minivalue": {
  33935. "description": "最小变动值",
  33936. "type": "integer"
  33937. },
  33938. "wrstandardcode": {
  33939. "description": "现货商品代码",
  33940. "type": "string"
  33941. },
  33942. "wrstandardid": {
  33943. "description": "现货商品ID",
  33944. "type": "integer"
  33945. },
  33946. "wrstandardname": {
  33947. "description": "商品名称",
  33948. "type": "string"
  33949. }
  33950. }
  33951. },
  33952. "models.WrGoodsInfo": {
  33953. "type": "object",
  33954. "properties": {
  33955. "haswr": {
  33956. "description": "0:仓单预售 1:仓单贸易",
  33957. "type": "integer"
  33958. },
  33959. "lstitem": {
  33960. "description": "商品信息项",
  33961. "type": "array",
  33962. "items": {
  33963. "$ref": "#/definitions/models.WrTypeItem"
  33964. }
  33965. },
  33966. "lststep": {
  33967. "description": "履约规则",
  33968. "type": "array",
  33969. "items": {
  33970. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33971. }
  33972. },
  33973. "marketid": {
  33974. "description": "市场id",
  33975. "type": "integer"
  33976. }
  33977. }
  33978. },
  33979. "models.WrGoodsPerformanceStep": {
  33980. "type": "object",
  33981. "properties": {
  33982. "autoid": {
  33983. "description": "AutoID",
  33984. "type": "integer"
  33985. },
  33986. "isauto": {
  33987. "description": "是否自动 - 0:不自动 1:自动",
  33988. "type": "integer"
  33989. },
  33990. "remark": {
  33991. "description": "备注",
  33992. "type": "string"
  33993. },
  33994. "stepdate": {
  33995. "description": "天数信息(T+N)",
  33996. "type": "string"
  33997. },
  33998. "stepdays": {
  33999. "description": "距离上一步天数",
  34000. "type": "integer"
  34001. },
  34002. "stepindex": {
  34003. "description": "步骤序号",
  34004. "type": "integer"
  34005. },
  34006. "stepinfo": {
  34007. "description": "步骤信息(步骤名称+步骤值)",
  34008. "type": "string"
  34009. },
  34010. "steptypeid": {
  34011. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34012. "type": "integer"
  34013. },
  34014. "steptypename": {
  34015. "description": "步骤名称",
  34016. "type": "string"
  34017. },
  34018. "stepvalue": {
  34019. "description": "步骤值",
  34020. "type": "number"
  34021. },
  34022. "templateid": {
  34023. "description": "履约计划模板ID",
  34024. "type": "integer"
  34025. }
  34026. }
  34027. },
  34028. "models.WrHoldLB": {
  34029. "type": "object",
  34030. "properties": {
  34031. "accountid": {
  34032. "description": "持有人帐户ID",
  34033. "type": "integer"
  34034. },
  34035. "createtime": {
  34036. "description": "创建时间(过户时间)",
  34037. "type": "string"
  34038. },
  34039. "deliverygoodscode": {
  34040. "description": "品种代码",
  34041. "type": "string"
  34042. },
  34043. "deliverygoodsid": {
  34044. "description": "品种ID",
  34045. "type": "integer"
  34046. },
  34047. "deliverygoodsname": {
  34048. "description": "品种名称",
  34049. "type": "string"
  34050. },
  34051. "enableqty": {
  34052. "description": "可用数量",
  34053. "type": "number"
  34054. },
  34055. "enumdicname": {
  34056. "description": "单位名称",
  34057. "type": "string"
  34058. },
  34059. "freezerqty": {
  34060. "description": "冻结数量",
  34061. "type": "number"
  34062. },
  34063. "ladingbillid": {
  34064. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34065. "type": "string"
  34066. },
  34067. "minivalue": {
  34068. "description": "现货商品最小变动值",
  34069. "type": "integer"
  34070. },
  34071. "optioncompare": {
  34072. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34073. "type": "string"
  34074. },
  34075. "parentsubnum": {
  34076. "description": "拆分父子单号",
  34077. "type": "integer"
  34078. },
  34079. "pledgeqty": {
  34080. "description": "质押数量",
  34081. "type": "number"
  34082. },
  34083. "qty": {
  34084. "description": "数量",
  34085. "type": "number"
  34086. },
  34087. "subnum": {
  34088. "description": "提单子单号",
  34089. "type": "integer"
  34090. },
  34091. "tradedate": {
  34092. "description": "交易日(yyyyMMdd)",
  34093. "type": "string"
  34094. },
  34095. "userid": {
  34096. "description": "持有人ID",
  34097. "type": "integer"
  34098. },
  34099. "warehouseid": {
  34100. "description": "仓库ID",
  34101. "type": "integer"
  34102. },
  34103. "warehousename": {
  34104. "description": "仓库名称",
  34105. "type": "string"
  34106. },
  34107. "wrfactortypeid": {
  34108. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34109. "type": "string"
  34110. },
  34111. "wrfactortypename": {
  34112. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34113. "type": "string"
  34114. },
  34115. "wrholdeno": {
  34116. "description": "仓单编号",
  34117. "type": "string"
  34118. },
  34119. "wrid": {
  34120. "description": "仓单变更ID",
  34121. "type": "string"
  34122. },
  34123. "wrstandardcode": {
  34124. "description": "现货商品代码",
  34125. "type": "string"
  34126. },
  34127. "wrstandardid": {
  34128. "description": "现货商品ID",
  34129. "type": "integer"
  34130. },
  34131. "wrstandardname": {
  34132. "description": "商品名称",
  34133. "type": "string"
  34134. },
  34135. "wrtypename": {
  34136. "description": "商品",
  34137. "type": "string"
  34138. }
  34139. }
  34140. },
  34141. "models.WrMarketTradeConfig": {
  34142. "type": "object",
  34143. "properties": {
  34144. "basisdownratio": {
  34145. "description": "浮动价基差下限比例(仓单贸易)",
  34146. "type": "number"
  34147. },
  34148. "basisupratio": {
  34149. "description": "浮动价基差上限比例(仓单贸易)",
  34150. "type": "number"
  34151. },
  34152. "buychargealgorithm": {
  34153. "description": "买方手续费收取方式 1:比率 2:固定",
  34154. "type": "integer"
  34155. },
  34156. "buychargealgorithm2": {
  34157. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34158. "type": "integer"
  34159. },
  34160. "buychargealgorithmvalue": {
  34161. "description": "买方手续费设置值(交易所部分)",
  34162. "type": "number"
  34163. },
  34164. "buychargealgorithmvalue2": {
  34165. "description": "买方手续费设置值(会员部分)",
  34166. "type": "number"
  34167. },
  34168. "buychargealgorithmvalue3": {
  34169. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  34170. "type": "number"
  34171. },
  34172. "buychargealgorithmvalue4": {
  34173. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  34174. "type": "number"
  34175. },
  34176. "buyfirstmarginalgorithm": {
  34177. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  34178. "type": "integer"
  34179. },
  34180. "buyfirstmarginvalue": {
  34181. "description": "买方出价保证金设置值 - [竞拍]",
  34182. "type": "number"
  34183. },
  34184. "buymarginalgorithm": {
  34185. "description": "买方保证金方式 - 1:比率 2:固定",
  34186. "type": "integer"
  34187. },
  34188. "buymarginvalue": {
  34189. "description": "买方保证金设置值",
  34190. "type": "number"
  34191. },
  34192. "buyreleaseratio": {
  34193. "description": "买方释放比率[2:分步履约]",
  34194. "type": "number"
  34195. },
  34196. "executemode": {
  34197. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  34198. "type": "integer"
  34199. },
  34200. "executeside": {
  34201. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  34202. "type": "integer"
  34203. },
  34204. "failedchargealgorithm": {
  34205. "description": "流拍手续费收取方式 1:比率 2:固定",
  34206. "type": "integer"
  34207. },
  34208. "failedchargevalue": {
  34209. "description": "流拍手续费设置值",
  34210. "type": "number"
  34211. },
  34212. "failedchargevalue2": {
  34213. "description": "流拍卖方手续费设置值",
  34214. "type": "number"
  34215. },
  34216. "holddays": {
  34217. "description": "合同期限[2:分步履约]",
  34218. "type": "integer"
  34219. },
  34220. "marketid": {
  34221. "description": "市场ID-仓单贸易、竞拍、预售",
  34222. "type": "integer"
  34223. },
  34224. "minqty": {
  34225. "description": "最小执行量[2:分步履约]",
  34226. "type": "number"
  34227. },
  34228. "modifierid": {
  34229. "description": "修改人",
  34230. "type": "integer"
  34231. },
  34232. "performancetempid": {
  34233. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  34234. "type": "integer"
  34235. },
  34236. "performancetempid2": {
  34237. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  34238. "type": "integer"
  34239. },
  34240. "performanceway": {
  34241. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  34242. "type": "integer"
  34243. },
  34244. "sellchargealgorithm": {
  34245. "description": "卖方手续费收取方式 1:比率 2:固定",
  34246. "type": "integer"
  34247. },
  34248. "sellchargealgorithm2": {
  34249. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34250. "type": "integer"
  34251. },
  34252. "sellchargealgorithmvalue": {
  34253. "description": "卖方手续费设置值(交易所部分)",
  34254. "type": "number"
  34255. },
  34256. "sellchargealgorithmvalue2": {
  34257. "description": "卖方手续费设置值(会员部分)",
  34258. "type": "number"
  34259. },
  34260. "sellchargealgorithmvalue3": {
  34261. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  34262. "type": "number"
  34263. },
  34264. "sellchargealgorithmvalue4": {
  34265. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  34266. "type": "number"
  34267. },
  34268. "sellmarginalgorithm": {
  34269. "description": "卖方保证金方式 - 1:比率 2:固定",
  34270. "type": "integer"
  34271. },
  34272. "sellmarginvalue": {
  34273. "description": "卖方保证金设置值",
  34274. "type": "number"
  34275. },
  34276. "sellmarginvalue2": {
  34277. "description": "卖方保证金设置值(无仓单)",
  34278. "type": "number"
  34279. },
  34280. "sellreleaseratio": {
  34281. "description": "卖方释放比率[2:分步履约]",
  34282. "type": "number"
  34283. },
  34284. "updatetime": {
  34285. "description": "更新时间",
  34286. "type": "string"
  34287. }
  34288. }
  34289. },
  34290. "models.WrOrderDetail": {
  34291. "type": "object",
  34292. "properties": {
  34293. "accountid": {
  34294. "description": "交易账号(资金账号)",
  34295. "type": "integer"
  34296. },
  34297. "allfriendsflag": {
  34298. "description": "是否全好友可见 - 0:否 1:是",
  34299. "type": "integer"
  34300. },
  34301. "amount": {
  34302. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  34303. "type": "number"
  34304. },
  34305. "buyorsell": {
  34306. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34307. "type": "integer"
  34308. },
  34309. "canbargain": {
  34310. "description": "是否可议价 - 0:不可 1:可",
  34311. "type": "integer"
  34312. },
  34313. "cancelqty": {
  34314. "description": "撤销数量",
  34315. "type": "number"
  34316. },
  34317. "canpart": {
  34318. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  34319. "type": "integer"
  34320. },
  34321. "delistminqty": {
  34322. "description": "起摘数量",
  34323. "type": "integer"
  34324. },
  34325. "deliverygoodscode": {
  34326. "description": "品种代码",
  34327. "type": "string"
  34328. },
  34329. "deliverygoodsid": {
  34330. "description": "品种ID",
  34331. "type": "integer"
  34332. },
  34333. "deliverygoodsname": {
  34334. "description": "品种名称",
  34335. "type": "string"
  34336. },
  34337. "deliverymonth": {
  34338. "description": "交收月",
  34339. "type": "string"
  34340. },
  34341. "enumdicname": {
  34342. "description": "单位名称",
  34343. "type": "string"
  34344. },
  34345. "fixedprice": {
  34346. "description": "固定价格 - [挂牌]",
  34347. "type": "number"
  34348. },
  34349. "freezemargin": {
  34350. "description": "冻结保证金(保证金)",
  34351. "type": "number"
  34352. },
  34353. "futupricemove": {
  34354. "description": "期货升贴水",
  34355. "type": "number"
  34356. },
  34357. "futushow": {
  34358. "description": "期货合约/升贴水",
  34359. "type": "string"
  34360. },
  34361. "goodscode": {
  34362. "description": "期货合约",
  34363. "type": "string"
  34364. },
  34365. "goodsid": {
  34366. "description": "期货商品id",
  34367. "type": "integer"
  34368. },
  34369. "goodsname": {
  34370. "description": "商品名称",
  34371. "type": "string"
  34372. },
  34373. "haswr": {
  34374. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34375. "type": "integer"
  34376. },
  34377. "isspecified": {
  34378. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  34379. "type": "integer"
  34380. },
  34381. "ladingbillid": {
  34382. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34383. "type": "string"
  34384. },
  34385. "marginvalue": {
  34386. "description": "保证金设置值(履约保证金)",
  34387. "type": "number"
  34388. },
  34389. "marketid": {
  34390. "description": "市场ID",
  34391. "type": "integer"
  34392. },
  34393. "matchusername": {
  34394. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  34395. "type": "string"
  34396. },
  34397. "minivalue": {
  34398. "description": "现货商品最小变动值",
  34399. "type": "integer"
  34400. },
  34401. "optioncompare": {
  34402. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34403. "type": "string"
  34404. },
  34405. "orderqty": {
  34406. "description": "委托数量",
  34407. "type": "number"
  34408. },
  34409. "ordertime": {
  34410. "description": "委托时间(挂牌时间)",
  34411. "type": "string"
  34412. },
  34413. "performancetemplateid": {
  34414. "description": "履约模板id",
  34415. "type": "integer"
  34416. },
  34417. "pricemove": {
  34418. "description": "升贴水(浮动价时填写) - [挂牌]",
  34419. "type": "number"
  34420. },
  34421. "taname": {
  34422. "description": "交易用户名称(资金账号名称)",
  34423. "type": "string"
  34424. },
  34425. "tradedate": {
  34426. "description": "交易日(yyyyMMdd)",
  34427. "type": "string"
  34428. },
  34429. "tradeprice": {
  34430. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  34431. "type": "number"
  34432. },
  34433. "tradeqty": {
  34434. "description": "成交数量",
  34435. "type": "number"
  34436. },
  34437. "userid": {
  34438. "description": "用户ID",
  34439. "type": "integer"
  34440. },
  34441. "validtime": {
  34442. "description": "挂牌有效期",
  34443. "type": "string"
  34444. },
  34445. "warehouseid": {
  34446. "description": "仓库ID",
  34447. "type": "integer"
  34448. },
  34449. "warehousename": {
  34450. "description": "仓库名称",
  34451. "type": "string"
  34452. },
  34453. "wrfactortypeid": {
  34454. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34455. "type": "string"
  34456. },
  34457. "wrfactortypename": {
  34458. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34459. "type": "string"
  34460. },
  34461. "wrpricetype": {
  34462. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  34463. "type": "integer"
  34464. },
  34465. "wrstandardcode": {
  34466. "description": "现货商品代码",
  34467. "type": "string"
  34468. },
  34469. "wrstandardid": {
  34470. "description": "现货商品ID",
  34471. "type": "integer"
  34472. },
  34473. "wrstandardname": {
  34474. "description": "商品名称",
  34475. "type": "string"
  34476. },
  34477. "wrtradeorderid": {
  34478. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34479. "type": "string"
  34480. },
  34481. "wrtradeorderstatus": {
  34482. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败",
  34483. "type": "integer"
  34484. },
  34485. "wrtradetype": {
  34486. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34487. "type": "integer"
  34488. },
  34489. "wrtypename": {
  34490. "description": "商品",
  34491. "type": "string"
  34492. }
  34493. }
  34494. },
  34495. "models.WrOrderQuote": {
  34496. "type": "object",
  34497. "properties": {
  34498. "buyprice": {
  34499. "description": "买价",
  34500. "type": "number"
  34501. },
  34502. "buypricemove": {
  34503. "description": "买升贴水(基差)",
  34504. "type": "number"
  34505. },
  34506. "buyqty": {
  34507. "description": "买量",
  34508. "type": "number"
  34509. },
  34510. "deliverygoodscode": {
  34511. "description": "品种代码",
  34512. "type": "string"
  34513. },
  34514. "deliverygoodsid": {
  34515. "description": "品种id",
  34516. "type": "integer"
  34517. },
  34518. "deliverygoodsname": {
  34519. "description": "品种名称",
  34520. "type": "string"
  34521. },
  34522. "deliverymonth": {
  34523. "description": "交收月",
  34524. "type": "string"
  34525. },
  34526. "enumdicname": {
  34527. "description": "单位名称",
  34528. "type": "string"
  34529. },
  34530. "goodscode": {
  34531. "description": "商品合约(浮动价列表才有)",
  34532. "type": "string"
  34533. },
  34534. "goodsid": {
  34535. "description": "商品id(浮动价列表才有)",
  34536. "type": "integer"
  34537. },
  34538. "minivalue": {
  34539. "description": "现货商品最小变动值",
  34540. "type": "integer"
  34541. },
  34542. "sellprice": {
  34543. "description": "卖价",
  34544. "type": "number"
  34545. },
  34546. "sellpricemove": {
  34547. "description": "卖升贴水(基差)",
  34548. "type": "number"
  34549. },
  34550. "sellqty": {
  34551. "description": "卖量",
  34552. "type": "number"
  34553. },
  34554. "warehousecode": {
  34555. "description": "仓库代码",
  34556. "type": "string"
  34557. },
  34558. "warehouseid": {
  34559. "description": "仓库id",
  34560. "type": "integer"
  34561. },
  34562. "warehousename": {
  34563. "description": "仓库名称",
  34564. "type": "string"
  34565. },
  34566. "wrfactortypeid": {
  34567. "description": "仓单要素id",
  34568. "type": "string"
  34569. },
  34570. "wrfactortypename": {
  34571. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34572. "type": "string"
  34573. },
  34574. "wrgoodsname": {
  34575. "description": "商品(商品名称+仓库要素名称 拼接)",
  34576. "type": "string"
  34577. },
  34578. "wrstandardcode": {
  34579. "description": "商品代码",
  34580. "type": "string"
  34581. },
  34582. "wrstandardid": {
  34583. "description": "商品id",
  34584. "type": "integer"
  34585. },
  34586. "wrstandardname": {
  34587. "description": "商品名称",
  34588. "type": "string"
  34589. }
  34590. }
  34591. },
  34592. "models.WrOrderQuoteDetail": {
  34593. "type": "object",
  34594. "properties": {
  34595. "buyorsell": {
  34596. "description": "买卖 - 0:买 1:卖",
  34597. "type": "integer"
  34598. },
  34599. "delistminqty": {
  34600. "description": "起摘数量",
  34601. "type": "number"
  34602. },
  34603. "deliverymonth": {
  34604. "description": "交收月",
  34605. "type": "string"
  34606. },
  34607. "enumdicname": {
  34608. "description": "单位名称",
  34609. "type": "string"
  34610. },
  34611. "fixedprice": {
  34612. "description": "买(卖)价",
  34613. "type": "number"
  34614. },
  34615. "minivalue": {
  34616. "description": "现货商品最小变动值",
  34617. "type": "integer"
  34618. },
  34619. "orderqty": {
  34620. "description": "买(卖)量(=委托量-成交量)",
  34621. "type": "number"
  34622. },
  34623. "ordertime": {
  34624. "description": "委托时间",
  34625. "type": "string"
  34626. },
  34627. "pricemove": {
  34628. "description": "买(卖)升贴水- 基差",
  34629. "type": "number"
  34630. },
  34631. "userid": {
  34632. "description": "购买方(销售方)用户ID",
  34633. "type": "integer"
  34634. },
  34635. "username": {
  34636. "description": "购买方(销售方)",
  34637. "type": "string"
  34638. },
  34639. "wrtradeorderid": {
  34640. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34641. "type": "string"
  34642. }
  34643. }
  34644. },
  34645. "models.WrOutInApply": {
  34646. "type": "object",
  34647. "properties": {
  34648. "applyid": {
  34649. "description": "申请单id",
  34650. "type": "string"
  34651. },
  34652. "applystatus": {
  34653. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  34654. "type": "integer"
  34655. },
  34656. "applytime": {
  34657. "description": "申请时间",
  34658. "type": "string"
  34659. },
  34660. "applytype": {
  34661. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  34662. "type": "integer"
  34663. },
  34664. "deliverygoodscode": {
  34665. "description": "品种代码",
  34666. "type": "string"
  34667. },
  34668. "deliverygoodsid": {
  34669. "description": "品种ID",
  34670. "type": "integer"
  34671. },
  34672. "deliverygoodsname": {
  34673. "description": "品种名称",
  34674. "type": "string"
  34675. },
  34676. "enumdicname": {
  34677. "description": "单位名称",
  34678. "type": "string"
  34679. },
  34680. "expresscompany": {
  34681. "description": "物流公司",
  34682. "type": "string"
  34683. },
  34684. "expressnum": {
  34685. "description": "物流单号",
  34686. "type": "string"
  34687. },
  34688. "minivalue": {
  34689. "description": "现货商品最小变动值",
  34690. "type": "integer"
  34691. },
  34692. "optioncompare": {
  34693. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34694. "type": "string"
  34695. },
  34696. "qty": {
  34697. "description": "数量",
  34698. "type": "integer"
  34699. },
  34700. "userid": {
  34701. "description": "用户id",
  34702. "type": "integer"
  34703. },
  34704. "warehouseid": {
  34705. "description": "仓库ID",
  34706. "type": "integer"
  34707. },
  34708. "warehousename": {
  34709. "description": "仓库名称",
  34710. "type": "string"
  34711. },
  34712. "wrfactortypeid": {
  34713. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34714. "type": "string"
  34715. },
  34716. "wrfactortypename": {
  34717. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34718. "type": "string"
  34719. },
  34720. "wrstandardcode": {
  34721. "description": "现货商品代码",
  34722. "type": "string"
  34723. },
  34724. "wrstandardid": {
  34725. "description": "现货商品ID",
  34726. "type": "integer"
  34727. },
  34728. "wrstandardname": {
  34729. "description": "商品名称",
  34730. "type": "string"
  34731. },
  34732. "wrtypename": {
  34733. "description": "商品",
  34734. "type": "string"
  34735. }
  34736. }
  34737. },
  34738. "models.WrPerformancePlan": {
  34739. "type": "object",
  34740. "required": [
  34741. "userid"
  34742. ],
  34743. "properties": {
  34744. "activatemonth": {
  34745. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  34746. "type": "string"
  34747. },
  34748. "amount": {
  34749. "description": "履约金额(总金额)",
  34750. "type": "number"
  34751. },
  34752. "buyaccountid": {
  34753. "description": "买方账号",
  34754. "type": "integer"
  34755. },
  34756. "buyerfreezeamount": {
  34757. "description": "履约冻结(买履约)",
  34758. "type": "number"
  34759. },
  34760. "buyerfreezeamountremain": {
  34761. "description": "履约冻结剩余(买履约)",
  34762. "type": "number"
  34763. },
  34764. "buyorsell": {
  34765. "description": "买卖方向 0-买 1-卖",
  34766. "type": "integer"
  34767. },
  34768. "buypaidamount": {
  34769. "description": "买方已冻/已扣金额 (已付金额)",
  34770. "type": "number"
  34771. },
  34772. "buyusername": {
  34773. "description": "买方名字",
  34774. "type": "string"
  34775. },
  34776. "contractid": {
  34777. "description": "合同ID",
  34778. "type": "integer"
  34779. },
  34780. "createtime": {
  34781. "description": "创建时间",
  34782. "type": "string"
  34783. },
  34784. "creatorid": {
  34785. "description": "创建人",
  34786. "type": "integer"
  34787. },
  34788. "curstepdeadline": {
  34789. "description": "当前步骤到期时间",
  34790. "type": "string"
  34791. },
  34792. "curstepid": {
  34793. "description": "当前步骤ID",
  34794. "type": "string"
  34795. },
  34796. "curstepname": {
  34797. "description": "当前步骤名称",
  34798. "type": "string"
  34799. },
  34800. "deliverygoodscode": {
  34801. "description": "品种代码",
  34802. "type": "string"
  34803. },
  34804. "deliverygoodsid": {
  34805. "description": "品种ID",
  34806. "type": "integer"
  34807. },
  34808. "deliverygoodsname": {
  34809. "description": "品种名称",
  34810. "type": "string"
  34811. },
  34812. "enumdicname": {
  34813. "description": "单位名称",
  34814. "type": "string"
  34815. },
  34816. "expressfee": {
  34817. "description": "运费",
  34818. "type": "number"
  34819. },
  34820. "expressfeeconfirmed": {
  34821. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  34822. "type": "integer"
  34823. },
  34824. "hasovershort": {
  34825. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  34826. "type": "integer"
  34827. },
  34828. "haswr": {
  34829. "description": "类型 0-仓单预售 1-仓单贸易",
  34830. "type": "integer"
  34831. },
  34832. "marketid": {
  34833. "description": "市场ID",
  34834. "type": "integer"
  34835. },
  34836. "middleaccountid": {
  34837. "description": "中间商资金账号ID",
  34838. "type": "integer"
  34839. },
  34840. "middleuserid": {
  34841. "description": "中间商用户ID",
  34842. "type": "integer"
  34843. },
  34844. "minivalue": {
  34845. "description": "现货商品最小变动值",
  34846. "type": "integer"
  34847. },
  34848. "optioncompare": {
  34849. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34850. "type": "string"
  34851. },
  34852. "overshortamount": {
  34853. "description": "溢短金额",
  34854. "type": "number"
  34855. },
  34856. "overshortqty": {
  34857. "description": "溢短数量",
  34858. "type": "number"
  34859. },
  34860. "paymenttype": {
  34861. "description": "付款方式 - 1:冻结 2:扣款",
  34862. "type": "integer"
  34863. },
  34864. "performanceplanid": {
  34865. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  34866. "type": "string"
  34867. },
  34868. "performancestatus": {
  34869. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  34870. "type": "integer"
  34871. },
  34872. "performancetype": {
  34873. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  34874. "type": "integer"
  34875. },
  34876. "qty": {
  34877. "description": "履约数量",
  34878. "type": "number"
  34879. },
  34880. "relatedorderid": {
  34881. "description": "关联单号(履约类型的关联单号)",
  34882. "type": "string"
  34883. },
  34884. "remark": {
  34885. "description": "备注",
  34886. "type": "string"
  34887. },
  34888. "sellaccountid": {
  34889. "description": "卖方账号",
  34890. "type": "integer"
  34891. },
  34892. "sellerfreezeamount": {
  34893. "description": "履约冻结(卖履约)",
  34894. "type": "number"
  34895. },
  34896. "sellerfreezeamountremain": {
  34897. "description": "履约冻结剩余(卖履约)",
  34898. "type": "number"
  34899. },
  34900. "sellreceivedamount": {
  34901. "description": "卖方已收金额",
  34902. "type": "number"
  34903. },
  34904. "sellusername": {
  34905. "description": "卖方名字",
  34906. "type": "string"
  34907. },
  34908. "shipremark": {
  34909. "description": "发货备注[物流单号]",
  34910. "type": "string"
  34911. },
  34912. "starttime": {
  34913. "description": "开始时间",
  34914. "type": "string"
  34915. },
  34916. "steptypeid": {
  34917. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34918. "type": "integer"
  34919. },
  34920. "typename": {
  34921. "description": "履约类型 名称",
  34922. "type": "string"
  34923. },
  34924. "unpaidamount": {
  34925. "description": "剩余款(待支付金额)",
  34926. "type": "number"
  34927. },
  34928. "userid": {
  34929. "description": "用户id",
  34930. "type": "integer"
  34931. },
  34932. "warehouseid": {
  34933. "description": "仓库ID",
  34934. "type": "integer"
  34935. },
  34936. "warehousename": {
  34937. "description": "仓库名称",
  34938. "type": "string"
  34939. },
  34940. "wrfactortypeid": {
  34941. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34942. "type": "string"
  34943. },
  34944. "wrfactortypename": {
  34945. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34946. "type": "string"
  34947. },
  34948. "wrstandardcode": {
  34949. "description": "现货商品代码",
  34950. "type": "string"
  34951. },
  34952. "wrstandardid": {
  34953. "description": "现货商品ID",
  34954. "type": "integer"
  34955. },
  34956. "wrstandardname": {
  34957. "description": "商品名称",
  34958. "type": "string"
  34959. },
  34960. "wrtransferuserid": {
  34961. "description": "仓单受让用户",
  34962. "type": "integer"
  34963. },
  34964. "wrtypename": {
  34965. "description": "商品",
  34966. "type": "string"
  34967. }
  34968. }
  34969. },
  34970. "models.WrPerformancePlanStep": {
  34971. "type": "object",
  34972. "properties": {
  34973. "delaydays": {
  34974. "description": "延期申请天数",
  34975. "type": "integer"
  34976. },
  34977. "deliverygoodscode": {
  34978. "description": "品种代码",
  34979. "type": "string"
  34980. },
  34981. "deliverygoodsid": {
  34982. "description": "品种ID",
  34983. "type": "integer"
  34984. },
  34985. "deliverygoodsname": {
  34986. "description": "品种名称",
  34987. "type": "string"
  34988. },
  34989. "endtime": {
  34990. "description": "结束日期",
  34991. "type": "string"
  34992. },
  34993. "enumdicname": {
  34994. "description": "单位名称",
  34995. "type": "string"
  34996. },
  34997. "executeside": {
  34998. "description": "步骤执行方 - 1:买方 2:卖方",
  34999. "type": "integer"
  35000. },
  35001. "handlestatus": {
  35002. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  35003. "type": "integer"
  35004. },
  35005. "isauto": {
  35006. "description": "是否自动 - 0:不自动 1:自动",
  35007. "type": "integer"
  35008. },
  35009. "islastreceivestep": {
  35010. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  35011. "type": "integer"
  35012. },
  35013. "minivalue": {
  35014. "description": "现货商品最小变动值",
  35015. "type": "integer"
  35016. },
  35017. "optioncompare": {
  35018. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35019. "type": "string"
  35020. },
  35021. "overdays": {
  35022. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  35023. "type": "integer"
  35024. },
  35025. "performancestepid": {
  35026. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  35027. "type": "string"
  35028. },
  35029. "planid": {
  35030. "description": "所属履约计划ID",
  35031. "type": "string"
  35032. },
  35033. "realamount": {
  35034. "description": "实际完成金额",
  35035. "type": "number"
  35036. },
  35037. "relatedorderid": {
  35038. "description": "关联单号",
  35039. "type": "string"
  35040. },
  35041. "remaindays": {
  35042. "description": "剩余天数",
  35043. "type": "integer"
  35044. },
  35045. "remark": {
  35046. "description": "错误备注",
  35047. "type": "string"
  35048. },
  35049. "starttime": {
  35050. "description": "开始日期",
  35051. "type": "string"
  35052. },
  35053. "stepamount": {
  35054. "description": "步骤金额",
  35055. "type": "number"
  35056. },
  35057. "stepdays": {
  35058. "description": "距离上一步天数(分钟)",
  35059. "type": "integer"
  35060. },
  35061. "stepindex": {
  35062. "description": "步骤序号",
  35063. "type": "integer"
  35064. },
  35065. "steplanchtype": {
  35066. "description": "步骤启动类型 - 1:系统自动 2:手动",
  35067. "type": "integer"
  35068. },
  35069. "stepremark": {
  35070. "description": "步骤备注",
  35071. "type": "string"
  35072. },
  35073. "stepstatus": {
  35074. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  35075. "type": "integer"
  35076. },
  35077. "steptypeid": {
  35078. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35079. "type": "integer"
  35080. },
  35081. "steptypename": {
  35082. "description": "步骤名称",
  35083. "type": "string"
  35084. },
  35085. "stepvalue": {
  35086. "description": "步骤值",
  35087. "type": "number"
  35088. },
  35089. "warehouseid": {
  35090. "description": "仓库ID",
  35091. "type": "integer"
  35092. },
  35093. "warehousename": {
  35094. "description": "仓库名称",
  35095. "type": "string"
  35096. },
  35097. "wrfactortypeid": {
  35098. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35099. "type": "string"
  35100. },
  35101. "wrfactortypename": {
  35102. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35103. "type": "string"
  35104. },
  35105. "wrstandardcode": {
  35106. "description": "现货商品代码",
  35107. "type": "string"
  35108. },
  35109. "wrstandardid": {
  35110. "description": "现货商品ID",
  35111. "type": "integer"
  35112. },
  35113. "wrstandardname": {
  35114. "description": "商品名称",
  35115. "type": "string"
  35116. },
  35117. "wrtypename": {
  35118. "description": "商品",
  35119. "type": "string"
  35120. }
  35121. }
  35122. },
  35123. "models.WrPerformanceStepType": {
  35124. "type": "object",
  35125. "properties": {
  35126. "canauto": {
  35127. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  35128. "type": "integer"
  35129. },
  35130. "steptypeid": {
  35131. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  35132. "type": "integer"
  35133. },
  35134. "steptypename": {
  35135. "description": "步骤类型名称",
  35136. "type": "string"
  35137. }
  35138. }
  35139. },
  35140. "models.WrPerformanceTemplateEx": {
  35141. "type": "object",
  35142. "properties": {
  35143. "autoid": {
  35144. "description": "AutoID 模板id",
  35145. "type": "integer"
  35146. },
  35147. "createtime": {
  35148. "description": "创建时间",
  35149. "type": "string"
  35150. },
  35151. "creatorid": {
  35152. "description": "创建人",
  35153. "type": "integer"
  35154. },
  35155. "lstStep": {
  35156. "description": "步骤信息列表",
  35157. "type": "array",
  35158. "items": {
  35159. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  35160. }
  35161. },
  35162. "paymenttype": {
  35163. "description": "支付方式 - 1:冻结 2:扣款",
  35164. "type": "integer"
  35165. },
  35166. "takemode": {
  35167. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  35168. "type": "integer"
  35169. },
  35170. "templatename": {
  35171. "description": "模板名称",
  35172. "type": "string"
  35173. },
  35174. "templatetype": {
  35175. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  35176. "type": "integer"
  35177. },
  35178. "userid": {
  35179. "description": "所属用户",
  35180. "type": "integer"
  35181. }
  35182. }
  35183. },
  35184. "models.WrPosition": {
  35185. "type": "object",
  35186. "properties": {
  35187. "accountid": {
  35188. "description": "帐户ID",
  35189. "type": "integer"
  35190. },
  35191. "buyexcuteqty": {
  35192. "description": "采购履约中数量",
  35193. "type": "number"
  35194. },
  35195. "creditcurqty": {
  35196. "description": "授信当前数量(预售仓单:预售当前量)",
  35197. "type": "number"
  35198. },
  35199. "creditenableqty": {
  35200. "description": "授信可用数量(预售仓单: 可用数量)",
  35201. "type": "number"
  35202. },
  35203. "creditfreezeqty": {
  35204. "description": "授信冻结数量(预售仓单: 当前数量)",
  35205. "type": "number"
  35206. },
  35207. "credittotalqty": {
  35208. "description": "授信总数量(预售仓单:预售总量)",
  35209. "type": "number"
  35210. },
  35211. "credittradeqty": {
  35212. "description": "授信成交数量(预售仓单:成交总量)",
  35213. "type": "number"
  35214. },
  35215. "deliverygoodscode": {
  35216. "description": "品种代码",
  35217. "type": "string"
  35218. },
  35219. "deliverygoodsid": {
  35220. "description": "品种ID",
  35221. "type": "integer"
  35222. },
  35223. "deliverygoodsname": {
  35224. "description": "品种名称",
  35225. "type": "string"
  35226. },
  35227. "enalbeqty": {
  35228. "description": "可用数量",
  35229. "type": "number"
  35230. },
  35231. "enumdicname": {
  35232. "description": "单位名称",
  35233. "type": "string"
  35234. },
  35235. "freezeqty": {
  35236. "description": "总冻结数量",
  35237. "type": "number"
  35238. },
  35239. "haswr": {
  35240. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35241. "type": "integer"
  35242. },
  35243. "minivalue": {
  35244. "description": "现货商品最小变动值",
  35245. "type": "integer"
  35246. },
  35247. "modifytime": {
  35248. "description": "修改时间(过户时间)",
  35249. "type": "string"
  35250. },
  35251. "optioncompare": {
  35252. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35253. "type": "string"
  35254. },
  35255. "pledgeqty": {
  35256. "description": "质押数量",
  35257. "type": "number"
  35258. },
  35259. "querytype": {
  35260. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  35261. "type": "integer"
  35262. },
  35263. "sellexcuteqty": {
  35264. "description": "销售履约中数量",
  35265. "type": "number"
  35266. },
  35267. "totalqty": {
  35268. "description": "总数量(库存数量)",
  35269. "type": "number"
  35270. },
  35271. "warehouseid": {
  35272. "description": "仓库ID",
  35273. "type": "integer"
  35274. },
  35275. "warehousename": {
  35276. "description": "仓库名称",
  35277. "type": "string"
  35278. },
  35279. "wrfactortypeid": {
  35280. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35281. "type": "string"
  35282. },
  35283. "wrfactortypename": {
  35284. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35285. "type": "string"
  35286. },
  35287. "wrpositionid": {
  35288. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  35289. "type": "string"
  35290. },
  35291. "wrpositionno": {
  35292. "description": "仓单编号",
  35293. "type": "string"
  35294. },
  35295. "wrstandardcode": {
  35296. "description": "现货商品代码",
  35297. "type": "string"
  35298. },
  35299. "wrstandardid": {
  35300. "description": "现货商品ID",
  35301. "type": "integer"
  35302. },
  35303. "wrstandardname": {
  35304. "description": "商品名称",
  35305. "type": "string"
  35306. },
  35307. "wrtypename": {
  35308. "description": "商品",
  35309. "type": "string"
  35310. },
  35311. "wruserid": {
  35312. "description": "持有人ID",
  35313. "type": "integer"
  35314. }
  35315. }
  35316. },
  35317. "models.WrQuoteOrderMyq": {
  35318. "type": "object",
  35319. "properties": {
  35320. "buyorsell": {
  35321. "description": "买卖 - 0:买 1:卖",
  35322. "type": "integer"
  35323. },
  35324. "canbargain": {
  35325. "description": "是否可议价 - 0:不可 1:可",
  35326. "type": "integer"
  35327. },
  35328. "canpart": {
  35329. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  35330. "type": "integer"
  35331. },
  35332. "delistminqty": {
  35333. "description": "起摘数量",
  35334. "type": "number"
  35335. },
  35336. "deliverygoodscode": {
  35337. "description": "品种代码",
  35338. "type": "string"
  35339. },
  35340. "deliverygoodsid": {
  35341. "description": "品种ID",
  35342. "type": "integer"
  35343. },
  35344. "deliverygoodsname": {
  35345. "description": "品种名称",
  35346. "type": "string"
  35347. },
  35348. "deliverymonth": {
  35349. "description": "交收月",
  35350. "type": "string"
  35351. },
  35352. "enumdicname": {
  35353. "description": "单位名称",
  35354. "type": "string"
  35355. },
  35356. "fixedprice": {
  35357. "description": "买(卖)价",
  35358. "type": "number"
  35359. },
  35360. "goodscode": {
  35361. "description": "商品合约代码",
  35362. "type": "string"
  35363. },
  35364. "marginflag": {
  35365. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  35366. "type": "integer"
  35367. },
  35368. "marginvalue": {
  35369. "description": "保证金设置值",
  35370. "type": "number"
  35371. },
  35372. "minivalue": {
  35373. "description": "现货商品最小变动值",
  35374. "type": "integer"
  35375. },
  35376. "orderqty": {
  35377. "description": "买(卖)量(=委托量-成交量)",
  35378. "type": "number"
  35379. },
  35380. "ordertime": {
  35381. "description": "委托时间",
  35382. "type": "string"
  35383. },
  35384. "performancetemplateid": {
  35385. "description": "履约模板id",
  35386. "type": "integer"
  35387. },
  35388. "pricemove": {
  35389. "description": "买(卖)升贴水- 基差",
  35390. "type": "number"
  35391. },
  35392. "templatename": {
  35393. "description": "履约模板名称",
  35394. "type": "string"
  35395. },
  35396. "userid": {
  35397. "description": "购买方(销售方)用户ID",
  35398. "type": "integer"
  35399. },
  35400. "username": {
  35401. "description": "购买方(销售方)",
  35402. "type": "string"
  35403. },
  35404. "validtime": {
  35405. "description": "有效期限",
  35406. "type": "string"
  35407. },
  35408. "validtype": {
  35409. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  35410. "type": "integer"
  35411. },
  35412. "warehousename": {
  35413. "description": "仓库名称",
  35414. "type": "string"
  35415. },
  35416. "wrfactortypeid": {
  35417. "description": "仓单要素id",
  35418. "type": "string"
  35419. },
  35420. "wrstandardcode": {
  35421. "description": "现货商品代码",
  35422. "type": "string"
  35423. },
  35424. "wrstandardid": {
  35425. "description": "现货商品ID",
  35426. "type": "integer"
  35427. },
  35428. "wrstandardname": {
  35429. "description": "商品名称",
  35430. "type": "string"
  35431. },
  35432. "wrtradeorderid": {
  35433. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35434. "type": "string"
  35435. },
  35436. "wrtypename": {
  35437. "description": "商品",
  35438. "type": "string"
  35439. }
  35440. }
  35441. },
  35442. "models.WrScfContract": {
  35443. "type": "object",
  35444. "properties": {
  35445. "borroweruserid": {
  35446. "description": "借款用户ID",
  35447. "type": "integer"
  35448. },
  35449. "buybackwrpositionqty": {
  35450. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  35451. "type": "number"
  35452. },
  35453. "closeinterest": {
  35454. "description": "已结利息 -\u003e 已结费用",
  35455. "type": "number"
  35456. },
  35457. "currisklevel": {
  35458. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  35459. "type": "integer"
  35460. },
  35461. "deadline": {
  35462. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  35463. "type": "string"
  35464. },
  35465. "deliverygoodscode": {
  35466. "description": "品种代码",
  35467. "type": "string"
  35468. },
  35469. "deliverygoodsid": {
  35470. "description": "品种ID",
  35471. "type": "integer"
  35472. },
  35473. "deliverygoodsname": {
  35474. "description": "品种名称",
  35475. "type": "string"
  35476. },
  35477. "enumdicname": {
  35478. "description": "单位名称",
  35479. "type": "string"
  35480. },
  35481. "financingdays": {
  35482. "description": "天数(天)",
  35483. "type": "integer"
  35484. },
  35485. "initmargin": {
  35486. "description": "保证金 - [仓单回购]",
  35487. "type": "number"
  35488. },
  35489. "interestamount": {
  35490. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  35491. "type": "number"
  35492. },
  35493. "interestdebt": {
  35494. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  35495. "type": "number"
  35496. },
  35497. "interestminlen": {
  35498. "description": "最小起息天数",
  35499. "type": "integer"
  35500. },
  35501. "interestrate": {
  35502. "description": "利率",
  35503. "type": "number"
  35504. },
  35505. "interestratemode": {
  35506. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  35507. "type": "integer"
  35508. },
  35509. "interestsettlemode": {
  35510. "description": "结息方式 - 1:按日结息 3:按月结息",
  35511. "type": "integer"
  35512. },
  35513. "interestsettlevalue": {
  35514. "description": "结息方式值",
  35515. "type": "integer"
  35516. },
  35517. "isautoloan": {
  35518. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  35519. "type": "integer"
  35520. },
  35521. "lastcloseinterestday": {
  35522. "description": "最近结息日(yyyyMMdd)",
  35523. "type": "string"
  35524. },
  35525. "lenderamount": {
  35526. "description": "贷款金额 -\u003e 借款金额",
  35527. "type": "number"
  35528. },
  35529. "lenderuserid": {
  35530. "description": "贷款方用户ID -\u003e 融出方用户ID",
  35531. "type": "integer"
  35532. },
  35533. "lenderusername": {
  35534. "description": "融出方",
  35535. "type": "string"
  35536. },
  35537. "marginratio": {
  35538. "description": "保证金比率质押率 - [仓单质押]",
  35539. "type": "number"
  35540. },
  35541. "marketid": {
  35542. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  35543. "type": "integer"
  35544. },
  35545. "minivalue": {
  35546. "description": "现货商品最小变动值",
  35547. "type": "integer"
  35548. },
  35549. "optioncompare": {
  35550. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35551. "type": "string"
  35552. },
  35553. "pricemove": {
  35554. "description": "估值升贴水值",
  35555. "type": "number"
  35556. },
  35557. "productdetailid": {
  35558. "description": "产品组合ID",
  35559. "type": "integer"
  35560. },
  35561. "productid": {
  35562. "description": "金融产品ID",
  35563. "type": "integer"
  35564. },
  35565. "productname": {
  35566. "description": "产品名称",
  35567. "type": "string"
  35568. },
  35569. "remainamount": {
  35570. "description": "合同剩余金额 -\u003e 剩余金额",
  35571. "type": "number"
  35572. },
  35573. "remainwrpositionqty": {
  35574. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  35575. "type": "number"
  35576. },
  35577. "remark": {
  35578. "description": "备注",
  35579. "type": "string"
  35580. },
  35581. "scfcontractid": {
  35582. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  35583. "type": "string"
  35584. },
  35585. "scfcontractstatus": {
  35586. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  35587. "type": "integer"
  35588. },
  35589. "scfcontracttype": {
  35590. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  35591. "type": "integer"
  35592. },
  35593. "startinterestday": {
  35594. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  35595. "type": "string"
  35596. },
  35597. "totalinterest": {
  35598. "description": "已计利息 -\u003e 已计费用",
  35599. "type": "number"
  35600. },
  35601. "unpaidinterest": {
  35602. "description": "未结费用",
  35603. "type": "number"
  35604. },
  35605. "updatetime": {
  35606. "description": "更新时间",
  35607. "type": "string"
  35608. },
  35609. "warehouseid": {
  35610. "description": "仓库ID",
  35611. "type": "integer"
  35612. },
  35613. "warehousename": {
  35614. "description": "仓库名称",
  35615. "type": "string"
  35616. },
  35617. "wrfactortypeid": {
  35618. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35619. "type": "string"
  35620. },
  35621. "wrfactortypename": {
  35622. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35623. "type": "string"
  35624. },
  35625. "wrqty": {
  35626. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  35627. "type": "number"
  35628. },
  35629. "wrstandardcode": {
  35630. "description": "现货商品代码",
  35631. "type": "string"
  35632. },
  35633. "wrstandardid": {
  35634. "description": "现货商品ID",
  35635. "type": "integer"
  35636. },
  35637. "wrstandardname": {
  35638. "description": "商品名称",
  35639. "type": "string"
  35640. },
  35641. "wrtypename": {
  35642. "description": "商品",
  35643. "type": "string"
  35644. }
  35645. }
  35646. },
  35647. "models.WrScfContractInterest": {
  35648. "type": "object",
  35649. "properties": {
  35650. "closeinterest": {
  35651. "description": "已结利息",
  35652. "type": "number"
  35653. },
  35654. "closeintereststatus": {
  35655. "description": "结息状态 - 1:未结 2:已结",
  35656. "type": "integer"
  35657. },
  35658. "closetime": {
  35659. "description": "结息时间",
  35660. "type": "string"
  35661. },
  35662. "closetradedate": {
  35663. "description": "结息交易日",
  35664. "type": "string"
  35665. },
  35666. "creatorid": {
  35667. "description": "操作人ID",
  35668. "type": "integer"
  35669. },
  35670. "dayrate": {
  35671. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  35672. "type": "number"
  35673. },
  35674. "interest": {
  35675. "description": "利息",
  35676. "type": "number"
  35677. },
  35678. "interestamount": {
  35679. "description": "计息金额",
  35680. "type": "number"
  35681. },
  35682. "interestday": {
  35683. "description": "计息日(yyyyMMdd)",
  35684. "type": "string"
  35685. },
  35686. "scfcontractid": {
  35687. "description": "SCF合同ID",
  35688. "type": "string"
  35689. },
  35690. "scfcontractinterestid": {
  35691. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  35692. "type": "integer"
  35693. },
  35694. "updatetime": {
  35695. "description": "更新时间",
  35696. "type": "string"
  35697. }
  35698. }
  35699. },
  35700. "models.WrSpecialMatchOrder": {
  35701. "type": "object",
  35702. "properties": {
  35703. "amount": {
  35704. "description": "金额 = 数量 * 价格",
  35705. "type": "number"
  35706. },
  35707. "buyorsell": {
  35708. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35709. "type": "integer"
  35710. },
  35711. "cancelqty": {
  35712. "description": "撤销数量",
  35713. "type": "number"
  35714. },
  35715. "deliverygoodscode": {
  35716. "description": "品种代码",
  35717. "type": "string"
  35718. },
  35719. "deliverygoodsid": {
  35720. "description": "品种ID",
  35721. "type": "integer"
  35722. },
  35723. "deliverygoodsname": {
  35724. "description": "品种名称",
  35725. "type": "string"
  35726. },
  35727. "enumdicname": {
  35728. "description": "单位名称",
  35729. "type": "string"
  35730. },
  35731. "fixedprice": {
  35732. "description": "固定价格(价格)",
  35733. "type": "number"
  35734. },
  35735. "haswr": {
  35736. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35737. "type": "integer"
  35738. },
  35739. "marketid": {
  35740. "description": "市场ID",
  35741. "type": "integer"
  35742. },
  35743. "matchuserid": {
  35744. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  35745. "type": "integer"
  35746. },
  35747. "matchusername": {
  35748. "description": "指定方",
  35749. "type": "string"
  35750. },
  35751. "minivalue": {
  35752. "description": "现货商品最小变动值",
  35753. "type": "integer"
  35754. },
  35755. "optioncompare": {
  35756. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35757. "type": "string"
  35758. },
  35759. "orderqty": {
  35760. "description": "委托数量",
  35761. "type": "number"
  35762. },
  35763. "ordertime": {
  35764. "description": "委托时间",
  35765. "type": "string"
  35766. },
  35767. "pricemove": {
  35768. "description": "升贴水(浮动价时填写) - [挂牌]",
  35769. "type": "number"
  35770. },
  35771. "tradedate": {
  35772. "description": "交易日(yyyyMMdd)",
  35773. "type": "string"
  35774. },
  35775. "tradeprice": {
  35776. "description": "成交价格",
  35777. "type": "number"
  35778. },
  35779. "tradeqty": {
  35780. "description": "成交数量",
  35781. "type": "number"
  35782. },
  35783. "userid": {
  35784. "description": "用户ID",
  35785. "type": "integer"
  35786. },
  35787. "username": {
  35788. "description": "发起方",
  35789. "type": "string"
  35790. },
  35791. "warehouseid": {
  35792. "description": "仓库ID",
  35793. "type": "integer"
  35794. },
  35795. "warehousename": {
  35796. "description": "仓库名称",
  35797. "type": "string"
  35798. },
  35799. "wrfactortypeid": {
  35800. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35801. "type": "string"
  35802. },
  35803. "wrfactortypename": {
  35804. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35805. "type": "string"
  35806. },
  35807. "wrpricetype": {
  35808. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  35809. "type": "integer"
  35810. },
  35811. "wrstandardcode": {
  35812. "description": "现货商品代码",
  35813. "type": "string"
  35814. },
  35815. "wrstandardid": {
  35816. "description": "现货商品ID",
  35817. "type": "integer"
  35818. },
  35819. "wrstandardname": {
  35820. "description": "商品名称",
  35821. "type": "string"
  35822. },
  35823. "wrtradeorderid": {
  35824. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35825. "type": "string"
  35826. },
  35827. "wrtradeorderstatus": {
  35828. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  35829. "type": "integer"
  35830. },
  35831. "wrtradetype": {
  35832. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35833. "type": "integer"
  35834. },
  35835. "wrtypename": {
  35836. "description": "商品",
  35837. "type": "string"
  35838. }
  35839. }
  35840. },
  35841. "models.WrStandardFactoryItem": {
  35842. "type": "object",
  35843. "properties": {
  35844. "dgfactoryitemid": {
  35845. "description": "选择项id",
  35846. "type": "integer"
  35847. },
  35848. "dgfactoryitemvalue": {
  35849. "description": "要素项值",
  35850. "type": "string"
  35851. },
  35852. "warehouseid": {
  35853. "description": "仓库id",
  35854. "type": "integer"
  35855. }
  35856. }
  35857. },
  35858. "models.WrStandardFactoryItemEx": {
  35859. "type": "object",
  35860. "properties": {
  35861. "dgfactoryitemtypeid": {
  35862. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  35863. "type": "integer"
  35864. },
  35865. "itemlst": {
  35866. "description": "要素项列表",
  35867. "type": "array",
  35868. "items": {
  35869. "$ref": "#/definitions/models.WrStandardFactoryItem"
  35870. }
  35871. },
  35872. "itemtypename": {
  35873. "description": "要素项类型名称",
  35874. "type": "string"
  35875. },
  35876. "wrstandardid": {
  35877. "description": "品类",
  35878. "type": "integer"
  35879. }
  35880. }
  35881. },
  35882. "models.WrTradeDetail": {
  35883. "type": "object",
  35884. "properties": {
  35885. "accountid": {
  35886. "description": "资金账号",
  35887. "type": "integer"
  35888. },
  35889. "buyorsell": {
  35890. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35891. "type": "integer"
  35892. },
  35893. "chargevalue": {
  35894. "description": "手续费",
  35895. "type": "number"
  35896. },
  35897. "deliverygoodscode": {
  35898. "description": "品种代码",
  35899. "type": "string"
  35900. },
  35901. "deliverygoodsid": {
  35902. "description": "品种ID",
  35903. "type": "integer"
  35904. },
  35905. "deliverygoodsname": {
  35906. "description": "品种名称",
  35907. "type": "string"
  35908. },
  35909. "deliverymonth": {
  35910. "description": "交收月",
  35911. "type": "string"
  35912. },
  35913. "enumdicname": {
  35914. "description": "单位名称",
  35915. "type": "string"
  35916. },
  35917. "haswr": {
  35918. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35919. "type": "integer"
  35920. },
  35921. "marketid": {
  35922. "description": "市场ID",
  35923. "type": "integer"
  35924. },
  35925. "matchaccountid": {
  35926. "description": "对手账号",
  35927. "type": "integer"
  35928. },
  35929. "matchusername": {
  35930. "description": "对手方",
  35931. "type": "string"
  35932. },
  35933. "minivalue": {
  35934. "description": "现货商品最小变动值",
  35935. "type": "integer"
  35936. },
  35937. "optioncompare": {
  35938. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35939. "type": "string"
  35940. },
  35941. "tradedate": {
  35942. "description": "交易日(yyyyMMdd)",
  35943. "type": "string"
  35944. },
  35945. "tradeprice": {
  35946. "description": "成交价格",
  35947. "type": "number"
  35948. },
  35949. "tradeqty": {
  35950. "description": "成交数量",
  35951. "type": "number"
  35952. },
  35953. "tradetime": {
  35954. "description": "成交时间",
  35955. "type": "string"
  35956. },
  35957. "userid": {
  35958. "description": "用户ID",
  35959. "type": "integer"
  35960. },
  35961. "warehouseid": {
  35962. "description": "仓库ID",
  35963. "type": "integer"
  35964. },
  35965. "warehousename": {
  35966. "description": "仓库名称",
  35967. "type": "string"
  35968. },
  35969. "wrfactortypeid": {
  35970. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35971. "type": "string"
  35972. },
  35973. "wrfactortypename": {
  35974. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35975. "type": "string"
  35976. },
  35977. "wrstandardcode": {
  35978. "description": "现货商品代码",
  35979. "type": "string"
  35980. },
  35981. "wrstandardid": {
  35982. "description": "现货商品ID",
  35983. "type": "integer"
  35984. },
  35985. "wrstandardname": {
  35986. "description": "商品名称",
  35987. "type": "string"
  35988. },
  35989. "wrtradedetailid": {
  35990. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  35991. "type": "string"
  35992. },
  35993. "wrtradetype": {
  35994. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35995. "type": "integer"
  35996. },
  35997. "wrtypename": {
  35998. "description": "商品",
  35999. "type": "string"
  36000. }
  36001. }
  36002. },
  36003. "models.WrTradeOrderDetail": {
  36004. "type": "object",
  36005. "properties": {
  36006. "buyorsell": {
  36007. "description": "买卖方向 0-买 1-卖",
  36008. "type": "integer"
  36009. },
  36010. "goodsid": {
  36011. "description": "商品id",
  36012. "type": "integer"
  36013. },
  36014. "orderid": {
  36015. "description": "委托单号",
  36016. "type": "string"
  36017. },
  36018. "orderprice": {
  36019. "description": "委托价格",
  36020. "type": "number"
  36021. },
  36022. "orderqty": {
  36023. "description": "委托数量",
  36024. "type": "integer"
  36025. },
  36026. "userid": {
  36027. "description": "用户id",
  36028. "type": "integer"
  36029. },
  36030. "username": {
  36031. "description": "用户名称(已脱敏)",
  36032. "type": "string"
  36033. }
  36034. }
  36035. },
  36036. "models.WrTypeItem": {
  36037. "type": "object",
  36038. "properties": {
  36039. "name": {
  36040. "description": "名称",
  36041. "type": "string"
  36042. },
  36043. "value": {
  36044. "description": "值",
  36045. "type": "string"
  36046. }
  36047. }
  36048. },
  36049. "models.WrUserFriend": {
  36050. "type": "object",
  36051. "properties": {
  36052. "friendname": {
  36053. "description": "朋友名称(已脱敏)",
  36054. "type": "string"
  36055. },
  36056. "frienduserid": {
  36057. "description": "朋友id",
  36058. "type": "integer"
  36059. },
  36060. "isfriend": {
  36061. "description": "是否好友 0-不是 1-是",
  36062. "type": "integer"
  36063. },
  36064. "userid": {
  36065. "description": "用户id",
  36066. "type": "integer"
  36067. }
  36068. }
  36069. },
  36070. "models.XHBRAND": {
  36071. "type": "object",
  36072. "properties": {
  36073. "brandid": {
  36074. "description": "品牌id",
  36075. "type": "integer"
  36076. },
  36077. "brandname": {
  36078. "description": "品牌名称",
  36079. "type": "string"
  36080. }
  36081. }
  36082. },
  36083. "models.XHDeliveryGoods": {
  36084. "type": "object",
  36085. "properties": {
  36086. "areauserid": {
  36087. "description": "所属机构",
  36088. "type": "integer"
  36089. },
  36090. "bdlst": {
  36091. "description": "品牌列表",
  36092. "type": "array",
  36093. "items": {
  36094. "$ref": "#/definitions/models.XHBRAND"
  36095. }
  36096. },
  36097. "deliverygoodscode": {
  36098. "description": "现货品种代码",
  36099. "type": "string"
  36100. },
  36101. "deliverygoodsid": {
  36102. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36103. "type": "integer"
  36104. },
  36105. "deliverygoodsname": {
  36106. "description": "现货品种名称",
  36107. "type": "string"
  36108. },
  36109. "dgstatus": {
  36110. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  36111. "type": "integer"
  36112. },
  36113. "isvalid": {
  36114. "description": "是否有效 - 0:无效 1:有效",
  36115. "type": "integer"
  36116. },
  36117. "remark": {
  36118. "description": "备注",
  36119. "type": "string"
  36120. },
  36121. "unitid": {
  36122. "description": "单位id(目前看,数据库中是空值)",
  36123. "type": "integer"
  36124. },
  36125. "wdlst": {
  36126. "description": "品类(现货商品)列表",
  36127. "type": "array",
  36128. "items": {
  36129. "$ref": "#/definitions/models.XHWrstandard"
  36130. }
  36131. }
  36132. }
  36133. },
  36134. "models.XHMiddleGoods": {
  36135. "type": "object",
  36136. "properties": {
  36137. "convertratio": {
  36138. "description": "拆算系数",
  36139. "type": "number"
  36140. },
  36141. "costratio": {
  36142. "description": "成本权重",
  36143. "type": "number"
  36144. },
  36145. "deliverygoodsid": {
  36146. "description": "现货商品id",
  36147. "type": "integer"
  36148. },
  36149. "enumdicname": {
  36150. "description": "单位名称",
  36151. "type": "string"
  36152. },
  36153. "gplst": {
  36154. "description": "期货品种列表",
  36155. "type": "array",
  36156. "items": {
  36157. "$ref": "#/definitions/models.TBGoodsGroup"
  36158. }
  36159. },
  36160. "middlegoodscode": {
  36161. "description": "套保品种代码",
  36162. "type": "string"
  36163. },
  36164. "middlegoodsid": {
  36165. "description": "套保品种id",
  36166. "type": "integer"
  36167. },
  36168. "middlegoodsname": {
  36169. "description": "套保品种名称",
  36170. "type": "string"
  36171. },
  36172. "unitid": {
  36173. "description": "单位id",
  36174. "type": "integer"
  36175. }
  36176. }
  36177. },
  36178. "models.XHWrstandard": {
  36179. "type": "object",
  36180. "properties": {
  36181. "deliverygoodsid": {
  36182. "description": "品种ID",
  36183. "type": "integer"
  36184. },
  36185. "enumdicname": {
  36186. "description": "单位名称",
  36187. "type": "string"
  36188. },
  36189. "mglst": {
  36190. "description": "套保品列表",
  36191. "type": "array",
  36192. "items": {
  36193. "$ref": "#/definitions/models.XHMiddleGoods"
  36194. }
  36195. },
  36196. "unitid": {
  36197. "description": "单位id",
  36198. "type": "integer"
  36199. },
  36200. "vatrate": {
  36201. "description": "增值税率",
  36202. "type": "number"
  36203. },
  36204. "wrstandardcode": {
  36205. "description": "现货商品代码",
  36206. "type": "string"
  36207. },
  36208. "wrstandardid": {
  36209. "description": "现货商品ID(SEQ_WRSTANDARD)",
  36210. "type": "integer"
  36211. },
  36212. "wrstandardname": {
  36213. "description": "现货商品名称",
  36214. "type": "string"
  36215. }
  36216. }
  36217. },
  36218. "order.QueryHisTradeDetailRsp": {
  36219. "type": "object",
  36220. "required": [
  36221. "accountid",
  36222. "buyorsell",
  36223. "goodsid",
  36224. "histradedate",
  36225. "marketid",
  36226. "memberuserid",
  36227. "orderid",
  36228. "tradeamount",
  36229. "tradedate",
  36230. "tradeid",
  36231. "tradeprice",
  36232. "tradeqty",
  36233. "tradetime"
  36234. ],
  36235. "properties": {
  36236. "accountid": {
  36237. "description": "账户ID[报价币种]",
  36238. "type": "integer"
  36239. },
  36240. "advanceratio": {
  36241. "description": "首付比率",
  36242. "type": "number"
  36243. },
  36244. "buildtype": {
  36245. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  36246. "type": "integer"
  36247. },
  36248. "buyorsell": {
  36249. "description": "方向 - 0:买 1:卖",
  36250. "type": "integer"
  36251. },
  36252. "charge": {
  36253. "description": "手续费",
  36254. "type": "number"
  36255. },
  36256. "closecharge": {
  36257. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36258. "type": "number"
  36259. },
  36260. "closeexchagechargevalue": {
  36261. "description": "平仓交易所手续费设置值",
  36262. "type": "number"
  36263. },
  36264. "closefeealgorithm": {
  36265. "description": "平仓手续费收取方式 1:比率 2:固定",
  36266. "type": "integer"
  36267. },
  36268. "closememberchargevalue": {
  36269. "description": "平仓会员手续费设置值",
  36270. "type": "number"
  36271. },
  36272. "closepl": {
  36273. "description": "平仓盈亏",
  36274. "type": "number"
  36275. },
  36276. "closepl2": {
  36277. "description": "平仓盈亏[逐笔]",
  36278. "type": "number"
  36279. },
  36280. "closeqty": {
  36281. "description": "平仓数量(先建后平操作 需要记录)",
  36282. "type": "number"
  36283. },
  36284. "creditamount": {
  36285. "description": "授信金额",
  36286. "type": "number"
  36287. },
  36288. "decimalplace": {
  36289. "description": "商品报价小数位",
  36290. "type": "integer"
  36291. },
  36292. "enumdicname": {
  36293. "description": "单位名称",
  36294. "type": "string"
  36295. },
  36296. "gcaccountid": {
  36297. "description": "账户ID[合约币种]",
  36298. "type": "integer"
  36299. },
  36300. "goodscode": {
  36301. "description": "商品代码",
  36302. "type": "string"
  36303. },
  36304. "goodsid": {
  36305. "description": "商品ID",
  36306. "type": "integer"
  36307. },
  36308. "goodsname": {
  36309. "description": "商品名称",
  36310. "type": "string"
  36311. },
  36312. "goodunitid": {
  36313. "description": "商品单位id",
  36314. "type": "integer"
  36315. },
  36316. "histradedate": {
  36317. "description": "历史交易日",
  36318. "type": "string"
  36319. },
  36320. "intclosepl": {
  36321. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  36322. "type": "integer"
  36323. },
  36324. "isconfirmexercise": {
  36325. "description": "是否确认行权- 0:否 1:是",
  36326. "type": "integer"
  36327. },
  36328. "ismain": {
  36329. "description": "是否主单 - 0:不是 1:是",
  36330. "type": "integer"
  36331. },
  36332. "ispreexercise": {
  36333. "description": "是否预申报- 0:否 1:是",
  36334. "type": "integer"
  36335. },
  36336. "isreckoned": {
  36337. "description": "是否结算 - 0:未结算 1:已结算",
  36338. "type": "integer"
  36339. },
  36340. "isvaliddata": {
  36341. "description": "是否有效 - 0:无效 1:有效",
  36342. "type": "integer"
  36343. },
  36344. "listingselecttype": {
  36345. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36346. "type": "integer"
  36347. },
  36348. "marketid": {
  36349. "description": "市场ID",
  36350. "type": "integer"
  36351. },
  36352. "marketname": {
  36353. "description": "市场名称",
  36354. "type": "string"
  36355. },
  36356. "matchaccountid": {
  36357. "description": "对手账号id",
  36358. "type": "integer"
  36359. },
  36360. "memberuserid": {
  36361. "description": "会员id 个人投资者 需要填写",
  36362. "type": "integer"
  36363. },
  36364. "opencharge": {
  36365. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36366. "type": "number"
  36367. },
  36368. "openexchagechargevalue": {
  36369. "description": "建仓交易所手续费设置值",
  36370. "type": "number"
  36371. },
  36372. "openfeealgorithm": {
  36373. "description": "建仓手续费收取方式 1:比率 2:固定",
  36374. "type": "integer"
  36375. },
  36376. "openmemberchargevalue": {
  36377. "description": "建仓会员手续费设置值",
  36378. "type": "number"
  36379. },
  36380. "openqty": {
  36381. "description": "开仓数量(先建后平操作 需要记录)",
  36382. "type": "number"
  36383. },
  36384. "optiontype": {
  36385. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36386. "type": "integer"
  36387. },
  36388. "orderid": {
  36389. "description": "委托单号",
  36390. "type": "string"
  36391. },
  36392. "payamount": {
  36393. "description": "支付金额(付款金额)",
  36394. "type": "number"
  36395. },
  36396. "performanceplanid": {
  36397. "description": "履约计划ID[期权]",
  36398. "type": "integer"
  36399. },
  36400. "performancestatus": {
  36401. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  36402. "type": "integer"
  36403. },
  36404. "preexerciseprice": {
  36405. "description": "预申报价格",
  36406. "type": "number"
  36407. },
  36408. "premium": {
  36409. "description": "权利金 - [持仓单的权利金]",
  36410. "type": "number"
  36411. },
  36412. "qtydecimalplace": {
  36413. "description": "商品报价小数位",
  36414. "type": "integer"
  36415. },
  36416. "recvamount": {
  36417. "description": "到账金额 = 成交金额 - 手续费",
  36418. "type": "number"
  36419. },
  36420. "relatedouttradeid": {
  36421. "description": "关联外部成交单ID",
  36422. "type": "integer"
  36423. },
  36424. "status": {
  36425. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  36426. "type": "integer"
  36427. },
  36428. "totalamount": {
  36429. "description": "订单总额 = 成交金额 + 手续费",
  36430. "type": "number"
  36431. },
  36432. "tradeamount": {
  36433. "description": "成交金额[账户币种,用于所有权]",
  36434. "type": "number"
  36435. },
  36436. "tradedate": {
  36437. "description": "交易日(yyyyMMdd)",
  36438. "type": "string"
  36439. },
  36440. "tradeid": {
  36441. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36442. "type": "string"
  36443. },
  36444. "trademode": {
  36445. "description": "交易模式",
  36446. "type": "integer"
  36447. },
  36448. "tradeprice": {
  36449. "description": "成交价格",
  36450. "type": "number"
  36451. },
  36452. "tradeproperty": {
  36453. "description": "交易属性",
  36454. "type": "integer"
  36455. },
  36456. "tradeqty": {
  36457. "description": "成交数量",
  36458. "type": "number"
  36459. },
  36460. "tradetime": {
  36461. "description": "成交时间",
  36462. "type": "string"
  36463. },
  36464. "tradetype": {
  36465. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  36466. "type": "integer"
  36467. }
  36468. }
  36469. },
  36470. "order.QueryHisTradeOrderDetailRsp": {
  36471. "type": "object",
  36472. "required": [
  36473. "accountid",
  36474. "buildtype",
  36475. "buyorsell",
  36476. "goodsid",
  36477. "histradedate",
  36478. "marketid",
  36479. "memberuserid",
  36480. "operatetype",
  36481. "orderid",
  36482. "orderqty",
  36483. "ordertime",
  36484. "pricemode",
  36485. "tradedate",
  36486. "validtype"
  36487. ],
  36488. "properties": {
  36489. "accountid": {
  36490. "description": "账户ID[报价币种]",
  36491. "type": "integer"
  36492. },
  36493. "buildtype": {
  36494. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  36495. "type": "integer"
  36496. },
  36497. "buyorsell": {
  36498. "description": "买卖 - 0:买 1:卖",
  36499. "type": "integer"
  36500. },
  36501. "cancelorderid": {
  36502. "description": "撤单单号(撤单时填写)",
  36503. "type": "string"
  36504. },
  36505. "cancelqty": {
  36506. "description": "撤单数量",
  36507. "type": "number"
  36508. },
  36509. "clientordertime": {
  36510. "description": "客户端委托时间",
  36511. "type": "string"
  36512. },
  36513. "clientticket": {
  36514. "description": "客户端流水号",
  36515. "type": "string"
  36516. },
  36517. "clienttype": {
  36518. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  36519. "type": "integer"
  36520. },
  36521. "closeexchagechargevalue": {
  36522. "description": "平仓交易所手续费设置值",
  36523. "type": "number"
  36524. },
  36525. "closefeealgorithm": {
  36526. "description": "平仓手续费收取方式 1:比率 2:固定",
  36527. "type": "integer"
  36528. },
  36529. "closefreezecharge": {
  36530. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  36531. "type": "number"
  36532. },
  36533. "closememberchargevalue": {
  36534. "description": "平仓会员手续费设置值",
  36535. "type": "number"
  36536. },
  36537. "closeqty": {
  36538. "description": "平仓数量(先建后平操作 需要记录)",
  36539. "type": "number"
  36540. },
  36541. "closetradeqty": {
  36542. "description": "平仓成交数量(先建后平操作,需要记录)",
  36543. "type": "number"
  36544. },
  36545. "closeunfreezecharge": {
  36546. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  36547. "type": "number"
  36548. },
  36549. "decimalplace": {
  36550. "description": "商品报价小数位",
  36551. "type": "integer"
  36552. },
  36553. "delistingtype": {
  36554. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  36555. "type": "integer"
  36556. },
  36557. "enumdicname": {
  36558. "description": "单位名称",
  36559. "type": "string"
  36560. },
  36561. "freezecharge": {
  36562. "description": "冻结手续费",
  36563. "type": "number"
  36564. },
  36565. "freezemargin": {
  36566. "description": "冻结保证金(冻结交易金额)",
  36567. "type": "number"
  36568. },
  36569. "gcaccountid": {
  36570. "description": "账户ID[合约币种]",
  36571. "type": "integer"
  36572. },
  36573. "goodscode": {
  36574. "description": "商品代码",
  36575. "type": "string"
  36576. },
  36577. "goodsid": {
  36578. "description": "商品ID",
  36579. "type": "integer"
  36580. },
  36581. "goodsname": {
  36582. "description": "商品名称",
  36583. "type": "string"
  36584. },
  36585. "goodunitid": {
  36586. "description": "商品单位id",
  36587. "type": "integer"
  36588. },
  36589. "histradedate": {
  36590. "description": "历史交易日",
  36591. "type": "string"
  36592. },
  36593. "isconfirmexercise": {
  36594. "description": "是否确认行权- 0:否 1:是",
  36595. "type": "integer"
  36596. },
  36597. "ispreexercise": {
  36598. "description": "是否预申报- 0:否 1:是",
  36599. "type": "integer"
  36600. },
  36601. "isvaliddata": {
  36602. "description": "是否有效 - 0:无效 1:有效",
  36603. "type": "integer"
  36604. },
  36605. "listingselecttype": {
  36606. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36607. "type": "integer"
  36608. },
  36609. "marginalgorithm": {
  36610. "description": "保证金收取方式 1:比率 2:固定",
  36611. "type": "integer"
  36612. },
  36613. "marginvalue": {
  36614. "description": "即市保证金设置值",
  36615. "type": "number"
  36616. },
  36617. "marketid": {
  36618. "description": "市场ID",
  36619. "type": "integer"
  36620. },
  36621. "marketmaxsub": {
  36622. "description": "市价最大偏移范围",
  36623. "type": "number"
  36624. },
  36625. "marketname": {
  36626. "description": "市场名称",
  36627. "type": "string"
  36628. },
  36629. "memberuserid": {
  36630. "description": "所属会员UserID",
  36631. "type": "integer"
  36632. },
  36633. "openexchagechargevalue": {
  36634. "description": "建仓交易所手续费设置值",
  36635. "type": "number"
  36636. },
  36637. "openfeealgorithm": {
  36638. "description": "建仓手续费收取方式 1:比率 2:固定",
  36639. "type": "integer"
  36640. },
  36641. "openfreezecharge": {
  36642. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  36643. "type": "number"
  36644. },
  36645. "openmemberchargevalue": {
  36646. "description": "建仓会员手续费设置值",
  36647. "type": "number"
  36648. },
  36649. "openqty": {
  36650. "description": "开仓数量(先建后平操作,需要记录)",
  36651. "type": "number"
  36652. },
  36653. "opentradeqty": {
  36654. "description": "开仓成交数量(先建后平操作,需要记录)",
  36655. "type": "number"
  36656. },
  36657. "openunfreezecharge": {
  36658. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  36659. "type": "number"
  36660. },
  36661. "operatetype": {
  36662. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  36663. "type": "integer"
  36664. },
  36665. "operatorid": {
  36666. "description": "登录账号(LoginID)",
  36667. "type": "integer"
  36668. },
  36669. "optiontype": {
  36670. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36671. "type": "integer"
  36672. },
  36673. "orderid": {
  36674. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36675. "type": "string"
  36676. },
  36677. "orderprice": {
  36678. "description": "委托价格",
  36679. "type": "number"
  36680. },
  36681. "orderqty": {
  36682. "description": "委托数量",
  36683. "type": "number"
  36684. },
  36685. "ordersrc": {
  36686. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  36687. "type": "integer"
  36688. },
  36689. "orderstatus": {
  36690. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  36691. "type": "integer"
  36692. },
  36693. "ordertime": {
  36694. "description": "委托时间",
  36695. "type": "string"
  36696. },
  36697. "preexerciseprice": {
  36698. "description": "预申报价格",
  36699. "type": "number"
  36700. },
  36701. "premium": {
  36702. "description": "权利金",
  36703. "type": "number"
  36704. },
  36705. "preorderid": {
  36706. "description": "关联预埋单号(止盈止损单时填写)",
  36707. "type": "string"
  36708. },
  36709. "pricemode": {
  36710. "description": "取价方式 - 1:市价 2: 限价",
  36711. "type": "integer"
  36712. },
  36713. "qtydecimalplace": {
  36714. "description": "成交量小数位",
  36715. "type": "integer"
  36716. },
  36717. "quoteid": {
  36718. "description": "报价单ID",
  36719. "type": "integer"
  36720. },
  36721. "relatedid": {
  36722. "description": "关联单号(交割单)",
  36723. "type": "string"
  36724. },
  36725. "retcode": {
  36726. "description": "错误代码",
  36727. "type": "integer"
  36728. },
  36729. "sessionid": {
  36730. "description": "会话ID",
  36731. "type": "integer"
  36732. },
  36733. "tradedate": {
  36734. "description": "交易日(yyyyMMdd)",
  36735. "type": "string"
  36736. },
  36737. "trademode": {
  36738. "description": "交易模式",
  36739. "type": "integer"
  36740. },
  36741. "tradeproperty": {
  36742. "description": "交易属性",
  36743. "type": "integer"
  36744. },
  36745. "tradeqty": {
  36746. "description": "成交数量",
  36747. "type": "number"
  36748. },
  36749. "unfreezecharge": {
  36750. "description": "解冻手续费",
  36751. "type": "number"
  36752. },
  36753. "unfreezemargin": {
  36754. "description": "解冻保证金",
  36755. "type": "number"
  36756. },
  36757. "updatetime": {
  36758. "description": "更新时间",
  36759. "type": "string"
  36760. },
  36761. "uuid": {
  36762. "description": "发起端唯一id",
  36763. "type": "string"
  36764. },
  36765. "validtime": {
  36766. "description": "有效期限",
  36767. "type": "string"
  36768. },
  36769. "validtype": {
  36770. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  36771. "type": "integer"
  36772. },
  36773. "volumetype": {
  36774. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  36775. "type": "integer"
  36776. }
  36777. }
  36778. },
  36779. "order.QueryTradeDetailRsp": {
  36780. "type": "object",
  36781. "required": [
  36782. "accountid",
  36783. "buyorsell",
  36784. "goodsid",
  36785. "marketid",
  36786. "memberuserid",
  36787. "orderid",
  36788. "tradeamount",
  36789. "tradedate",
  36790. "tradeid",
  36791. "tradeprice",
  36792. "tradeqty",
  36793. "tradetime"
  36794. ],
  36795. "properties": {
  36796. "accountid": {
  36797. "description": "账户ID[报价币种]",
  36798. "type": "integer"
  36799. },
  36800. "advanceratio": {
  36801. "description": "首付比率",
  36802. "type": "number"
  36803. },
  36804. "buildtype": {
  36805. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  36806. "type": "integer"
  36807. },
  36808. "buyorsell": {
  36809. "description": "方向 - 0:买 1:卖",
  36810. "type": "integer"
  36811. },
  36812. "charge": {
  36813. "description": "手续费",
  36814. "type": "number"
  36815. },
  36816. "closecharge": {
  36817. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36818. "type": "number"
  36819. },
  36820. "closeexchagechargevalue": {
  36821. "description": "平仓交易所手续费设置值",
  36822. "type": "number"
  36823. },
  36824. "closefeealgorithm": {
  36825. "description": "平仓手续费收取方式 1:比率 2:固定",
  36826. "type": "integer"
  36827. },
  36828. "closememberchargevalue": {
  36829. "description": "平仓会员手续费设置值",
  36830. "type": "number"
  36831. },
  36832. "closepl": {
  36833. "description": "平仓盈亏",
  36834. "type": "number"
  36835. },
  36836. "closepl2": {
  36837. "description": "平仓盈亏[逐笔]",
  36838. "type": "number"
  36839. },
  36840. "closeqty": {
  36841. "description": "平仓数量(先建后平操作 需要记录)",
  36842. "type": "number"
  36843. },
  36844. "creditamount": {
  36845. "description": "授信金额",
  36846. "type": "number"
  36847. },
  36848. "decimalplace": {
  36849. "description": "商品报价小数位",
  36850. "type": "integer"
  36851. },
  36852. "enumdicname": {
  36853. "description": "单位名称",
  36854. "type": "string"
  36855. },
  36856. "gcaccountid": {
  36857. "description": "账户ID[合约币种]",
  36858. "type": "integer"
  36859. },
  36860. "goodscode": {
  36861. "description": "商品代码",
  36862. "type": "string"
  36863. },
  36864. "goodsid": {
  36865. "description": "商品ID",
  36866. "type": "integer"
  36867. },
  36868. "goodsname": {
  36869. "description": "商品名称",
  36870. "type": "string"
  36871. },
  36872. "goodunitid": {
  36873. "description": "商品单位id",
  36874. "type": "integer"
  36875. },
  36876. "intclosepl": {
  36877. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  36878. "type": "integer"
  36879. },
  36880. "isconfirmexercise": {
  36881. "description": "是否确认行权- 0:否 1:是",
  36882. "type": "integer"
  36883. },
  36884. "ismain": {
  36885. "description": "是否主单 - 0:不是 1:是",
  36886. "type": "integer"
  36887. },
  36888. "ispreexercise": {
  36889. "description": "是否预申报- 0:否 1:是",
  36890. "type": "integer"
  36891. },
  36892. "isreckoned": {
  36893. "description": "是否结算 - 0:未结算 1:已结算",
  36894. "type": "integer"
  36895. },
  36896. "listingselecttype": {
  36897. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36898. "type": "integer"
  36899. },
  36900. "marketid": {
  36901. "description": "市场ID",
  36902. "type": "integer"
  36903. },
  36904. "marketname": {
  36905. "description": "市场名称",
  36906. "type": "string"
  36907. },
  36908. "matchaccountid": {
  36909. "description": "对手账号id",
  36910. "type": "integer"
  36911. },
  36912. "memberuserid": {
  36913. "description": "会员id 个人投资者 需要填写",
  36914. "type": "integer"
  36915. },
  36916. "opencharge": {
  36917. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36918. "type": "number"
  36919. },
  36920. "openexchagechargevalue": {
  36921. "description": "建仓交易所手续费设置值",
  36922. "type": "number"
  36923. },
  36924. "openfeealgorithm": {
  36925. "description": "建仓手续费收取方式 1:比率 2:固定",
  36926. "type": "integer"
  36927. },
  36928. "openmemberchargevalue": {
  36929. "description": "建仓会员手续费设置值",
  36930. "type": "number"
  36931. },
  36932. "openqty": {
  36933. "description": "开仓数量(先建后平操作 需要记录)",
  36934. "type": "number"
  36935. },
  36936. "optiontype": {
  36937. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36938. "type": "integer"
  36939. },
  36940. "orderid": {
  36941. "description": "委托单号",
  36942. "type": "string"
  36943. },
  36944. "payamount": {
  36945. "description": "支付金额(付款金额)",
  36946. "type": "number"
  36947. },
  36948. "performanceplanid": {
  36949. "description": "履约计划ID[期权]",
  36950. "type": "integer"
  36951. },
  36952. "performancestatus": {
  36953. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  36954. "type": "integer"
  36955. },
  36956. "preexerciseprice": {
  36957. "description": "预申报价格",
  36958. "type": "number"
  36959. },
  36960. "premium": {
  36961. "description": "权利金 - [持仓单的权利金]",
  36962. "type": "number"
  36963. },
  36964. "qtydecimalplace": {
  36965. "description": "商品报价小数位",
  36966. "type": "integer"
  36967. },
  36968. "recvamount": {
  36969. "description": "到账金额 = 成交金额 - 手续费",
  36970. "type": "number"
  36971. },
  36972. "relatedouttradeid": {
  36973. "description": "关联外部成交单ID",
  36974. "type": "integer"
  36975. },
  36976. "status": {
  36977. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  36978. "type": "integer"
  36979. },
  36980. "totalamount": {
  36981. "description": "订单总额 = 成交金额 + 手续费",
  36982. "type": "number"
  36983. },
  36984. "tradeamount": {
  36985. "description": "成交金额[账户币种,用于所有权]",
  36986. "type": "number"
  36987. },
  36988. "tradedate": {
  36989. "description": "交易日(yyyyMMdd)",
  36990. "type": "string"
  36991. },
  36992. "tradeid": {
  36993. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36994. "type": "string"
  36995. },
  36996. "trademode": {
  36997. "description": "交易模式",
  36998. "type": "integer"
  36999. },
  37000. "tradeprice": {
  37001. "description": "成交价格",
  37002. "type": "number"
  37003. },
  37004. "tradeproperty": {
  37005. "description": "交易属性",
  37006. "type": "integer"
  37007. },
  37008. "tradeqty": {
  37009. "description": "成交数量",
  37010. "type": "number"
  37011. },
  37012. "tradetime": {
  37013. "description": "成交时间",
  37014. "type": "string"
  37015. },
  37016. "tradetype": {
  37017. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37018. "type": "integer"
  37019. }
  37020. }
  37021. },
  37022. "order.QueryTradeOrderDetailRsp": {
  37023. "type": "object",
  37024. "required": [
  37025. "accountid",
  37026. "buildtype",
  37027. "buyorsell",
  37028. "goodsid",
  37029. "marketid",
  37030. "operatetype",
  37031. "orderqty",
  37032. "ordertime",
  37033. "pricemode",
  37034. "tradedate",
  37035. "validtype"
  37036. ],
  37037. "properties": {
  37038. "accountid": {
  37039. "description": "账户ID[报价币种]",
  37040. "type": "integer"
  37041. },
  37042. "buildtype": {
  37043. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37044. "type": "integer"
  37045. },
  37046. "buyorsell": {
  37047. "description": "买卖 - 0:买 1:卖",
  37048. "type": "integer"
  37049. },
  37050. "cancelorderid": {
  37051. "description": "撤单单号(撤单时填写)",
  37052. "type": "string"
  37053. },
  37054. "cancelqty": {
  37055. "description": "撤单数量",
  37056. "type": "number"
  37057. },
  37058. "clienttype": {
  37059. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37060. "type": "integer"
  37061. },
  37062. "closefreezecharge": {
  37063. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37064. "type": "number"
  37065. },
  37066. "closeqty": {
  37067. "description": "平仓数量(先建后平操作 需要记录)",
  37068. "type": "number"
  37069. },
  37070. "closetradeqty": {
  37071. "description": "平仓成交数量(先建后平操作,需要记录)",
  37072. "type": "number"
  37073. },
  37074. "closeunfreezecharge": {
  37075. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37076. "type": "number"
  37077. },
  37078. "decimalplace": {
  37079. "description": "商品报价小数位",
  37080. "type": "integer"
  37081. },
  37082. "delistingtype": {
  37083. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37084. "type": "integer"
  37085. },
  37086. "enableqty": {
  37087. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  37088. "type": "number"
  37089. },
  37090. "enumdicname": {
  37091. "description": "单位名称",
  37092. "type": "string"
  37093. },
  37094. "freezecharge": {
  37095. "description": "冻结手续费",
  37096. "type": "number"
  37097. },
  37098. "freezemargin": {
  37099. "description": "冻结保证金(冻结交易金额)",
  37100. "type": "number"
  37101. },
  37102. "goodscode": {
  37103. "description": "商品代码",
  37104. "type": "string"
  37105. },
  37106. "goodsid": {
  37107. "description": "商品ID",
  37108. "type": "integer"
  37109. },
  37110. "goodsname": {
  37111. "description": "商品名称",
  37112. "type": "string"
  37113. },
  37114. "goodunitid": {
  37115. "description": "商品单位id",
  37116. "type": "integer"
  37117. },
  37118. "listingselecttype": {
  37119. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37120. "type": "integer"
  37121. },
  37122. "marketid": {
  37123. "description": "市场ID",
  37124. "type": "integer"
  37125. },
  37126. "marketname": {
  37127. "description": "市场名称",
  37128. "type": "string"
  37129. },
  37130. "openfreezecharge": {
  37131. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37132. "type": "number"
  37133. },
  37134. "openqty": {
  37135. "description": "开仓数量(先建后平操作,需要记录)",
  37136. "type": "number"
  37137. },
  37138. "opentradeqty": {
  37139. "description": "开仓成交数量(先建后平操作,需要记录)",
  37140. "type": "number"
  37141. },
  37142. "openunfreezecharge": {
  37143. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37144. "type": "number"
  37145. },
  37146. "operatetype": {
  37147. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37148. "type": "integer"
  37149. },
  37150. "operatorid": {
  37151. "description": "登录账号(LoginID)",
  37152. "type": "integer"
  37153. },
  37154. "orderid": {
  37155. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37156. "type": "string"
  37157. },
  37158. "orderprice": {
  37159. "description": "委托价格",
  37160. "type": "number"
  37161. },
  37162. "orderqty": {
  37163. "description": "委托数量",
  37164. "type": "number"
  37165. },
  37166. "ordersrc": {
  37167. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37168. "type": "integer"
  37169. },
  37170. "orderstatus": {
  37171. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37172. "type": "integer"
  37173. },
  37174. "ordertime": {
  37175. "description": "委托时间",
  37176. "type": "string"
  37177. },
  37178. "preorderid": {
  37179. "description": "关联预埋单号(止盈止损单时填写)",
  37180. "type": "string"
  37181. },
  37182. "pricemode": {
  37183. "description": "取价方式 - 1:市价 2: 限价",
  37184. "type": "integer"
  37185. },
  37186. "qtydecimalplace": {
  37187. "description": "商品报价小数位",
  37188. "type": "integer"
  37189. },
  37190. "relatedid": {
  37191. "description": "关联单号(交割单)",
  37192. "type": "string"
  37193. },
  37194. "tradedate": {
  37195. "description": "交易日(yyyyMMdd)",
  37196. "type": "string"
  37197. },
  37198. "trademode": {
  37199. "description": "交易模式",
  37200. "type": "integer"
  37201. },
  37202. "tradeqty": {
  37203. "description": "成交数量",
  37204. "type": "number"
  37205. },
  37206. "unfreezecharge": {
  37207. "description": "解冻手续费",
  37208. "type": "number"
  37209. },
  37210. "unfreezemargin": {
  37211. "description": "解冻保证金",
  37212. "type": "number"
  37213. },
  37214. "validtime": {
  37215. "description": "有效期限",
  37216. "type": "string"
  37217. },
  37218. "validtype": {
  37219. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37220. "type": "integer"
  37221. },
  37222. "volumetype": {
  37223. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37224. "type": "integer"
  37225. }
  37226. }
  37227. },
  37228. "order.QueryTradePositionRsp": {
  37229. "type": "object",
  37230. "required": [
  37231. "goodsid"
  37232. ],
  37233. "properties": {
  37234. "accountid": {
  37235. "description": "资金账户",
  37236. "type": "integer"
  37237. },
  37238. "agreeunit": {
  37239. "description": "合约单位",
  37240. "type": "number"
  37241. },
  37242. "averageprice": {
  37243. "description": "持仓均价",
  37244. "type": "number"
  37245. },
  37246. "buyorsell": {
  37247. "description": "方向 - 0:买 1:卖",
  37248. "type": "integer"
  37249. },
  37250. "closetotalqty": {
  37251. "description": "平仓总数量",
  37252. "type": "number"
  37253. },
  37254. "curholderamount": {
  37255. "description": "当前持仓总金额[商品币种]",
  37256. "type": "number"
  37257. },
  37258. "curpositionqty": {
  37259. "description": "当前持仓总数量",
  37260. "type": "number"
  37261. },
  37262. "currencyid": {
  37263. "description": "报价货币ID",
  37264. "type": "integer"
  37265. },
  37266. "curtdposition": {
  37267. "description": "期末今日头寸",
  37268. "type": "number"
  37269. },
  37270. "decimalplace": {
  37271. "description": "报价小数位",
  37272. "type": "integer"
  37273. },
  37274. "enableqty": {
  37275. "description": "可用量",
  37276. "type": "number"
  37277. },
  37278. "fretdposition": {
  37279. "description": "冻结今日头寸",
  37280. "type": "number"
  37281. },
  37282. "frozenqty": {
  37283. "description": "持仓冻结数量",
  37284. "type": "number"
  37285. },
  37286. "goodscode": {
  37287. "description": "商品代码",
  37288. "type": "string"
  37289. },
  37290. "goodsid": {
  37291. "description": "商品Id",
  37292. "type": "integer"
  37293. },
  37294. "goodsname": {
  37295. "description": "商品名称",
  37296. "type": "string"
  37297. },
  37298. "goodunit": {
  37299. "description": "报价单位",
  37300. "type": "string"
  37301. },
  37302. "goodunitid": {
  37303. "description": "报价单位ID",
  37304. "type": "integer"
  37305. },
  37306. "holderamount": {
  37307. "description": "期初持仓总金额[商品币种]",
  37308. "type": "number"
  37309. },
  37310. "lastprice": {
  37311. "description": "最新价",
  37312. "type": "number"
  37313. },
  37314. "marketamount": {
  37315. "description": "市值",
  37316. "type": "number"
  37317. },
  37318. "marketid": {
  37319. "description": "所属市场ID",
  37320. "type": "integer"
  37321. },
  37322. "openreqqty": {
  37323. "description": "开仓申请数量(用于比较最大持仓数量)",
  37324. "type": "number"
  37325. },
  37326. "opentotalqty": {
  37327. "description": "开仓总数量",
  37328. "type": "number"
  37329. },
  37330. "otherfrozenqty": {
  37331. "description": "持仓其他冻结数量(交割冻结)",
  37332. "type": "number"
  37333. },
  37334. "positionpl": {
  37335. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  37336. "type": "number"
  37337. },
  37338. "positionplrate": {
  37339. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  37340. "type": "number"
  37341. },
  37342. "positionqty": {
  37343. "description": "期初持仓数量",
  37344. "type": "number"
  37345. },
  37346. "qtydecimalplace": {
  37347. "description": "成交量小数位",
  37348. "type": "integer"
  37349. },
  37350. "refgoodscode": {
  37351. "description": "参考商品代码",
  37352. "type": "string"
  37353. },
  37354. "refgoodsid": {
  37355. "description": "参考商品ID",
  37356. "type": "integer"
  37357. },
  37358. "tnqty": {
  37359. "description": "T+N冻结总量",
  37360. "type": "number"
  37361. },
  37362. "tnusedqty": {
  37363. "description": "T+N使用量(可以使用T+N的冻结数量)",
  37364. "type": "number"
  37365. },
  37366. "trademode": {
  37367. "description": "交易模式",
  37368. "type": "integer"
  37369. },
  37370. "tradeproperty": {
  37371. "description": "交易属性",
  37372. "type": "integer"
  37373. },
  37374. "usedmargin": {
  37375. "description": "占用保证金[商品币种]",
  37376. "type": "number"
  37377. }
  37378. }
  37379. },
  37380. "pb.GoodsMarginCfgStruct": {
  37381. "type": "object",
  37382. "properties": {
  37383. "CustomerTypeID": {
  37384. "description": "投资者客户类型",
  37385. "type": "integer"
  37386. },
  37387. "GoodsID": {
  37388. "description": "商品ID",
  37389. "type": "integer"
  37390. },
  37391. "IsDefault": {
  37392. "description": "是否默认标志位",
  37393. "type": "integer"
  37394. },
  37395. "LockMarginValue": {
  37396. "description": "锁仓保证金",
  37397. "type": "number"
  37398. },
  37399. "MarginAlgorithm": {
  37400. "description": "保证金计算方式",
  37401. "type": "integer"
  37402. },
  37403. "MarketMarginValue": {
  37404. "description": "即市保证金值",
  37405. "type": "number"
  37406. },
  37407. "RealMarginAlgorithm": {
  37408. "description": "实付保证金计算方式",
  37409. "type": "integer"
  37410. },
  37411. "RealMarginValue": {
  37412. "description": "实付比例",
  37413. "type": "number"
  37414. },
  37415. "ReckonMarginValue": {
  37416. "description": "结算保证金值",
  37417. "type": "number"
  37418. }
  37419. }
  37420. },
  37421. "quote.HistoryData": {
  37422. "type": "object",
  37423. "properties": {
  37424. "c": {
  37425. "description": "收盘价",
  37426. "type": "number"
  37427. },
  37428. "f": {
  37429. "description": "是否补充数据",
  37430. "type": "boolean"
  37431. },
  37432. "h": {
  37433. "description": "最高价",
  37434. "type": "number"
  37435. },
  37436. "hv": {
  37437. "description": "持仓量",
  37438. "type": "integer"
  37439. },
  37440. "l": {
  37441. "description": "最低价",
  37442. "type": "number"
  37443. },
  37444. "o": {
  37445. "description": "开盘价",
  37446. "type": "number"
  37447. },
  37448. "s": {
  37449. "description": "结算价,日线周期(包括)以上才有",
  37450. "type": "number"
  37451. },
  37452. "ts": {
  37453. "description": "时间",
  37454. "type": "string"
  37455. },
  37456. "tt": {
  37457. "description": "总金额",
  37458. "type": "number"
  37459. },
  37460. "tv": {
  37461. "description": "总量(成交量)",
  37462. "type": "integer"
  37463. }
  37464. }
  37465. },
  37466. "quote.HistoryTikData": {
  37467. "type": "object",
  37468. "properties": {
  37469. "AV": {
  37470. "description": "卖量",
  37471. "type": "integer"
  37472. },
  37473. "Ask": {
  37474. "description": "卖价",
  37475. "type": "number"
  37476. },
  37477. "BV": {
  37478. "description": "买量",
  37479. "type": "integer"
  37480. },
  37481. "Bid": {
  37482. "description": "买价",
  37483. "type": "number"
  37484. },
  37485. "HI": {
  37486. "description": "单笔持仓",
  37487. "type": "integer"
  37488. },
  37489. "HV": {
  37490. "description": "持仓量",
  37491. "type": "integer"
  37492. },
  37493. "PE": {
  37494. "description": "现价",
  37495. "type": "number"
  37496. },
  37497. "TDR": {
  37498. "description": "交易方向,0:买 1:卖",
  37499. "type": "integer"
  37500. },
  37501. "TK": {
  37502. "description": "交易类型",
  37503. "type": "integer"
  37504. },
  37505. "TS": {
  37506. "description": "行情时间文本",
  37507. "type": "string"
  37508. },
  37509. "TT": {
  37510. "description": "现金额",
  37511. "type": "number"
  37512. },
  37513. "Vol": {
  37514. "description": "现量",
  37515. "type": "integer"
  37516. }
  37517. }
  37518. },
  37519. "quote.QueryQuoteDayRsp": {
  37520. "type": "object",
  37521. "properties": {
  37522. "ask": {
  37523. "description": "卖1",
  37524. "type": "number"
  37525. },
  37526. "ask10": {
  37527. "description": "卖10",
  37528. "type": "number"
  37529. },
  37530. "ask2": {
  37531. "description": "卖2",
  37532. "type": "number"
  37533. },
  37534. "ask3": {
  37535. "description": "卖3",
  37536. "type": "number"
  37537. },
  37538. "ask4": {
  37539. "description": "卖4",
  37540. "type": "number"
  37541. },
  37542. "ask5": {
  37543. "description": "卖5",
  37544. "type": "number"
  37545. },
  37546. "ask6": {
  37547. "description": "卖6",
  37548. "type": "number"
  37549. },
  37550. "ask7": {
  37551. "description": "卖7",
  37552. "type": "number"
  37553. },
  37554. "ask8": {
  37555. "description": "卖8",
  37556. "type": "number"
  37557. },
  37558. "ask9": {
  37559. "description": "卖9",
  37560. "type": "number"
  37561. },
  37562. "askorderid": {
  37563. "description": "卖单号1",
  37564. "type": "integer"
  37565. },
  37566. "askorderid2": {
  37567. "description": "卖单号2",
  37568. "type": "integer"
  37569. },
  37570. "askorderid3": {
  37571. "description": "卖单号3",
  37572. "type": "integer"
  37573. },
  37574. "askorderid4": {
  37575. "description": "卖单号4",
  37576. "type": "integer"
  37577. },
  37578. "askorderid5": {
  37579. "description": "卖单号5",
  37580. "type": "integer"
  37581. },
  37582. "askordervolume": {
  37583. "description": "卖单量1",
  37584. "type": "integer"
  37585. },
  37586. "askordervolume10": {
  37587. "description": "卖单量10",
  37588. "type": "integer"
  37589. },
  37590. "askordervolume2": {
  37591. "description": "卖单量2",
  37592. "type": "integer"
  37593. },
  37594. "askordervolume3": {
  37595. "description": "卖单量3",
  37596. "type": "integer"
  37597. },
  37598. "askordervolume4": {
  37599. "description": "卖单量4",
  37600. "type": "integer"
  37601. },
  37602. "askordervolume5": {
  37603. "description": "卖单量5",
  37604. "type": "integer"
  37605. },
  37606. "askordervolume6": {
  37607. "description": "卖单量6",
  37608. "type": "integer"
  37609. },
  37610. "askordervolume7": {
  37611. "description": "卖单量7",
  37612. "type": "integer"
  37613. },
  37614. "askordervolume8": {
  37615. "description": "卖单量8",
  37616. "type": "integer"
  37617. },
  37618. "askordervolume9": {
  37619. "description": "卖单量9",
  37620. "type": "integer"
  37621. },
  37622. "askqueueinfo": {
  37623. "description": "大利市卖港股用",
  37624. "type": "string"
  37625. },
  37626. "askvolume": {
  37627. "description": "卖量1",
  37628. "type": "integer"
  37629. },
  37630. "askvolume10": {
  37631. "description": "卖量10",
  37632. "type": "integer"
  37633. },
  37634. "askvolume2": {
  37635. "description": "卖量2",
  37636. "type": "integer"
  37637. },
  37638. "askvolume3": {
  37639. "description": "卖量3",
  37640. "type": "integer"
  37641. },
  37642. "askvolume4": {
  37643. "description": "卖量4",
  37644. "type": "integer"
  37645. },
  37646. "askvolume5": {
  37647. "description": "卖量5",
  37648. "type": "integer"
  37649. },
  37650. "askvolume6": {
  37651. "description": "卖量6",
  37652. "type": "integer"
  37653. },
  37654. "askvolume7": {
  37655. "description": "卖量7",
  37656. "type": "integer"
  37657. },
  37658. "askvolume8": {
  37659. "description": "卖量8",
  37660. "type": "integer"
  37661. },
  37662. "askvolume9": {
  37663. "description": "卖量9",
  37664. "type": "integer"
  37665. },
  37666. "averageprice": {
  37667. "description": "均价",
  37668. "type": "number"
  37669. },
  37670. "bid": {
  37671. "description": "买1",
  37672. "type": "number"
  37673. },
  37674. "bid10": {
  37675. "description": "买10",
  37676. "type": "number"
  37677. },
  37678. "bid2": {
  37679. "description": "买2",
  37680. "type": "number"
  37681. },
  37682. "bid3": {
  37683. "description": "买3",
  37684. "type": "number"
  37685. },
  37686. "bid4": {
  37687. "description": "买4",
  37688. "type": "number"
  37689. },
  37690. "bid5": {
  37691. "description": "买5",
  37692. "type": "number"
  37693. },
  37694. "bid6": {
  37695. "description": "买6",
  37696. "type": "number"
  37697. },
  37698. "bid7": {
  37699. "description": "买7",
  37700. "type": "number"
  37701. },
  37702. "bid8": {
  37703. "description": "买8",
  37704. "type": "number"
  37705. },
  37706. "bid9": {
  37707. "description": "买9",
  37708. "type": "number"
  37709. },
  37710. "bidorderid": {
  37711. "description": "买单号1",
  37712. "type": "integer"
  37713. },
  37714. "bidorderid2": {
  37715. "description": "买单号2",
  37716. "type": "integer"
  37717. },
  37718. "bidorderid3": {
  37719. "description": "买单号3",
  37720. "type": "integer"
  37721. },
  37722. "bidorderid4": {
  37723. "description": "买单号4",
  37724. "type": "integer"
  37725. },
  37726. "bidorderid5": {
  37727. "description": "买单号5",
  37728. "type": "integer"
  37729. },
  37730. "bidordervolume": {
  37731. "description": "买单量1",
  37732. "type": "integer"
  37733. },
  37734. "bidordervolume10": {
  37735. "description": "买单量10",
  37736. "type": "integer"
  37737. },
  37738. "bidordervolume2": {
  37739. "description": "买单量2",
  37740. "type": "integer"
  37741. },
  37742. "bidordervolume3": {
  37743. "description": "买单量3",
  37744. "type": "integer"
  37745. },
  37746. "bidordervolume4": {
  37747. "description": "买单量4",
  37748. "type": "integer"
  37749. },
  37750. "bidordervolume5": {
  37751. "description": "买单量5",
  37752. "type": "integer"
  37753. },
  37754. "bidordervolume6": {
  37755. "description": "买单量6",
  37756. "type": "integer"
  37757. },
  37758. "bidordervolume7": {
  37759. "description": "买单量7",
  37760. "type": "integer"
  37761. },
  37762. "bidordervolume8": {
  37763. "description": "买单量8",
  37764. "type": "integer"
  37765. },
  37766. "bidordervolume9": {
  37767. "description": "买单量9",
  37768. "type": "integer"
  37769. },
  37770. "bidqueueinfo": {
  37771. "description": "大利市买港股用",
  37772. "type": "string"
  37773. },
  37774. "bidvolume": {
  37775. "description": "买量1",
  37776. "type": "integer"
  37777. },
  37778. "bidvolume10": {
  37779. "description": "买量10",
  37780. "type": "integer"
  37781. },
  37782. "bidvolume2": {
  37783. "description": "买量2",
  37784. "type": "integer"
  37785. },
  37786. "bidvolume3": {
  37787. "description": "买量3",
  37788. "type": "integer"
  37789. },
  37790. "bidvolume4": {
  37791. "description": "买量4",
  37792. "type": "integer"
  37793. },
  37794. "bidvolume5": {
  37795. "description": "买量5",
  37796. "type": "integer"
  37797. },
  37798. "bidvolume6": {
  37799. "description": "买量6",
  37800. "type": "integer"
  37801. },
  37802. "bidvolume7": {
  37803. "description": "买量7",
  37804. "type": "integer"
  37805. },
  37806. "bidvolume8": {
  37807. "description": "买量8",
  37808. "type": "integer"
  37809. },
  37810. "bidvolume9": {
  37811. "description": "买量9",
  37812. "type": "integer"
  37813. },
  37814. "calloptionpremiums": {
  37815. "description": "认购期权1",
  37816. "type": "integer"
  37817. },
  37818. "calloptionpremiums2": {
  37819. "description": "认购期权2",
  37820. "type": "integer"
  37821. },
  37822. "calloptionpremiums3": {
  37823. "description": "认购期权3",
  37824. "type": "integer"
  37825. },
  37826. "calloptionpremiums4": {
  37827. "description": "认购期权4",
  37828. "type": "integer"
  37829. },
  37830. "calloptionpremiums5": {
  37831. "description": "认购期权5",
  37832. "type": "integer"
  37833. },
  37834. "cleartime": {
  37835. "description": "清盘时间",
  37836. "type": "integer"
  37837. },
  37838. "exchangecode": {
  37839. "description": "交易所代码",
  37840. "type": "integer"
  37841. },
  37842. "exchangedate": {
  37843. "description": "交易日",
  37844. "type": "integer"
  37845. },
  37846. "goodscode": {
  37847. "description": "商品代码",
  37848. "type": "string"
  37849. },
  37850. "grepmarketprice": {
  37851. "description": "暗盘价 港股专用",
  37852. "type": "number"
  37853. },
  37854. "highest": {
  37855. "description": "最高价",
  37856. "type": "number"
  37857. },
  37858. "holdincrement": {
  37859. "description": "单笔持仓",
  37860. "type": "integer"
  37861. },
  37862. "holdvolume": {
  37863. "description": "持仓",
  37864. "type": "integer"
  37865. },
  37866. "iep": {
  37867. "description": "平衡价 港股专用",
  37868. "type": "number"
  37869. },
  37870. "iev": {
  37871. "description": "平衡量 港股专用",
  37872. "type": "number"
  37873. },
  37874. "inventory": {
  37875. "description": "库存",
  37876. "type": "integer"
  37877. },
  37878. "iscleared": {
  37879. "description": "是否清盘标志",
  37880. "type": "integer"
  37881. },
  37882. "issettled": {
  37883. "description": "是否结算标志",
  37884. "type": "integer"
  37885. },
  37886. "last": {
  37887. "description": "最新价",
  37888. "type": "number"
  37889. },
  37890. "lastlot": {
  37891. "description": "最新成交手数",
  37892. "type": "integer"
  37893. },
  37894. "lasttime": {
  37895. "description": "行情时间(只有现价变化行情时间才变化)",
  37896. "type": "string"
  37897. },
  37898. "lastturnover": {
  37899. "description": "最新成交金额",
  37900. "type": "number"
  37901. },
  37902. "lastvolume": {
  37903. "description": "最新成交量",
  37904. "type": "integer"
  37905. },
  37906. "limitdown": {
  37907. "description": "跌停价",
  37908. "type": "number"
  37909. },
  37910. "limitup": {
  37911. "description": "涨停价",
  37912. "type": "number"
  37913. },
  37914. "lowest": {
  37915. "description": "最低价",
  37916. "type": "number"
  37917. },
  37918. "nontotalholdervolume": {
  37919. "description": "非交易持仓量",
  37920. "type": "integer"
  37921. },
  37922. "nontotallot": {
  37923. "description": "非交易总手数",
  37924. "type": "integer"
  37925. },
  37926. "nontotalturnover": {
  37927. "description": "非交易总金额",
  37928. "type": "integer"
  37929. },
  37930. "nontotalvolume": {
  37931. "description": "非交易总量",
  37932. "type": "integer"
  37933. },
  37934. "opened": {
  37935. "description": "开盘价",
  37936. "type": "number"
  37937. },
  37938. "opentime": {
  37939. "description": "开盘时间",
  37940. "type": "string"
  37941. },
  37942. "orderid": {
  37943. "description": "序号",
  37944. "type": "integer"
  37945. },
  37946. "preclose": {
  37947. "description": "昨收",
  37948. "type": "number"
  37949. },
  37950. "preholdvolume": {
  37951. "description": "昨持仓",
  37952. "type": "integer"
  37953. },
  37954. "presettle": {
  37955. "description": "昨结价",
  37956. "type": "number"
  37957. },
  37958. "publictradetype": {
  37959. "description": "公共交易标志类型 港股专用",
  37960. "type": "string"
  37961. },
  37962. "putoptionpremiums": {
  37963. "description": "认沽期权1",
  37964. "type": "integer"
  37965. },
  37966. "putoptionpremiums2": {
  37967. "description": "认沽期权2",
  37968. "type": "integer"
  37969. },
  37970. "putoptionpremiums3": {
  37971. "description": "认沽期权3",
  37972. "type": "integer"
  37973. },
  37974. "putoptionpremiums4": {
  37975. "description": "认沽期权4",
  37976. "type": "integer"
  37977. },
  37978. "putoptionpremiums5": {
  37979. "description": "认沽期权5",
  37980. "type": "integer"
  37981. },
  37982. "settle": {
  37983. "description": "结算价",
  37984. "type": "number"
  37985. },
  37986. "strikeprice": {
  37987. "description": "发行价",
  37988. "type": "number"
  37989. },
  37990. "totalaskvolume": {
  37991. "description": "内盘",
  37992. "type": "integer"
  37993. },
  37994. "totalbidvolume": {
  37995. "description": "外盘",
  37996. "type": "integer"
  37997. },
  37998. "totallot": {
  37999. "description": "总手数",
  38000. "type": "integer"
  38001. },
  38002. "totalturnover": {
  38003. "description": "总金额",
  38004. "type": "number"
  38005. },
  38006. "totalvolume": {
  38007. "description": "总量",
  38008. "type": "integer"
  38009. },
  38010. "utclasttime": {
  38011. "description": "utc的行情时间",
  38012. "type": "string"
  38013. }
  38014. }
  38015. },
  38016. "quote.QueryTSDataRsp": {
  38017. "type": "object",
  38018. "properties": {
  38019. "Count": {
  38020. "description": "交易日应有数据个数",
  38021. "type": "integer"
  38022. },
  38023. "decimalPlace": {
  38024. "description": "小数位",
  38025. "type": "integer"
  38026. },
  38027. "endTime": {
  38028. "description": "结束时间",
  38029. "type": "string"
  38030. },
  38031. "goodsCode": {
  38032. "description": "商品代码",
  38033. "type": "string"
  38034. },
  38035. "historyDatas": {
  38036. "description": "历史数据",
  38037. "type": "array",
  38038. "items": {
  38039. "$ref": "#/definitions/quote.HistoryData"
  38040. }
  38041. },
  38042. "outGoodsCode": {
  38043. "description": "外部商品代码",
  38044. "type": "string"
  38045. },
  38046. "preSettle": {
  38047. "description": "昨结价",
  38048. "type": "number"
  38049. },
  38050. "runSteps": {
  38051. "description": "交易日开休市计划",
  38052. "type": "array",
  38053. "items": {
  38054. "$ref": "#/definitions/quote.TSDataRunStep"
  38055. }
  38056. },
  38057. "startTime": {
  38058. "description": "开始时间",
  38059. "type": "string"
  38060. },
  38061. "tradeDate": {
  38062. "description": "交易日",
  38063. "type": "string"
  38064. }
  38065. }
  38066. },
  38067. "quote.TSDataRunStep": {
  38068. "type": "object",
  38069. "properties": {
  38070. "end": {
  38071. "description": "真实结束时间",
  38072. "type": "string"
  38073. },
  38074. "endflag": {
  38075. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  38076. "type": "integer"
  38077. },
  38078. "endtime": {
  38079. "description": "结束时间(HH:mm)",
  38080. "type": "string"
  38081. },
  38082. "endweekday": {
  38083. "description": "结束周几",
  38084. "type": "integer"
  38085. },
  38086. "groupid": {
  38087. "description": "分组ID",
  38088. "type": "integer"
  38089. },
  38090. "runstep": {
  38091. "description": "运行阶段 - 2:连续交易",
  38092. "type": "integer"
  38093. },
  38094. "sectionid": {
  38095. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  38096. "type": "integer"
  38097. },
  38098. "start": {
  38099. "description": "真实开始时间",
  38100. "type": "string"
  38101. },
  38102. "startflag": {
  38103. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  38104. "type": "integer"
  38105. },
  38106. "starttime": {
  38107. "description": "起始时间(HH:mm)",
  38108. "type": "string"
  38109. },
  38110. "startweekday": {
  38111. "description": "起始周几",
  38112. "type": "integer"
  38113. },
  38114. "tradeweekday": {
  38115. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  38116. "type": "integer"
  38117. }
  38118. }
  38119. },
  38120. "szdz.QueryConvertLogRsp": {
  38121. "type": "object",
  38122. "required": [
  38123. "logid"
  38124. ],
  38125. "properties": {
  38126. "accountid": {
  38127. "description": "资金账户ID",
  38128. "type": "integer"
  38129. },
  38130. "clientticket": {
  38131. "description": "客户端流水号",
  38132. "type": "string"
  38133. },
  38134. "converttype": {
  38135. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  38136. "type": "integer"
  38137. },
  38138. "createtime": {
  38139. "description": "记账时间",
  38140. "type": "string"
  38141. },
  38142. "daymaxvalue": {
  38143. "description": "配置当日最大转入限制",
  38144. "type": "number"
  38145. },
  38146. "daymaxvalue2": {
  38147. "description": "配置当日最大转入限制(转入)",
  38148. "type": "number"
  38149. },
  38150. "goodscode": {
  38151. "description": "商品代码",
  38152. "type": "string"
  38153. },
  38154. "goodsname": {
  38155. "description": "商品名称",
  38156. "type": "string"
  38157. },
  38158. "handlestatus": {
  38159. "description": "处理状态",
  38160. "type": "integer"
  38161. },
  38162. "innergoodsid": {
  38163. "description": "内部商品ID",
  38164. "type": "integer"
  38165. },
  38166. "inratio": {
  38167. "description": "配置转入比值",
  38168. "type": "integer"
  38169. },
  38170. "invalue": {
  38171. "description": "目标值",
  38172. "type": "number"
  38173. },
  38174. "logid": {
  38175. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38176. "type": "integer"
  38177. },
  38178. "mobile": {
  38179. "description": "手机号码(加密存储)",
  38180. "type": "string"
  38181. },
  38182. "outergoodscode": {
  38183. "description": "外部商品代码[JD\\PD]",
  38184. "type": "string"
  38185. },
  38186. "outratio": {
  38187. "description": "配置转出比值",
  38188. "type": "integer"
  38189. },
  38190. "outvalue": {
  38191. "description": "源值",
  38192. "type": "number"
  38193. },
  38194. "pddecimalplace": {
  38195. "description": "PD小数位",
  38196. "type": "integer"
  38197. },
  38198. "qty": {
  38199. "description": "数量",
  38200. "type": "string"
  38201. },
  38202. "remark": {
  38203. "description": "备注",
  38204. "type": "string"
  38205. },
  38206. "sessionid": {
  38207. "description": "会话ID",
  38208. "type": "integer"
  38209. },
  38210. "timemaxvalue": {
  38211. "description": "配置单次最大转入限制",
  38212. "type": "number"
  38213. },
  38214. "timemaxvalue2": {
  38215. "description": "配置单次最大转入限制(转入)",
  38216. "type": "number"
  38217. },
  38218. "timeminvalue": {
  38219. "description": "配置单次最小数量限制",
  38220. "type": "number"
  38221. },
  38222. "timeminvalue2": {
  38223. "description": "配置单次最小数量限制(转入)",
  38224. "type": "number"
  38225. },
  38226. "tradedate": {
  38227. "description": "交易日(yyyyMMdd)",
  38228. "type": "string"
  38229. },
  38230. "userid": {
  38231. "description": "用户ID",
  38232. "type": "integer"
  38233. }
  38234. }
  38235. },
  38236. "szdz.QueryGoodsPickupRsp": {
  38237. "type": "object",
  38238. "required": [
  38239. "takeorderid"
  38240. ],
  38241. "properties": {
  38242. "accountid": {
  38243. "description": "账户ID",
  38244. "type": "integer"
  38245. },
  38246. "address": {
  38247. "description": "提货人详细地址",
  38248. "type": "string"
  38249. },
  38250. "auditer": {
  38251. "description": "审核人",
  38252. "type": "integer"
  38253. },
  38254. "audittime": {
  38255. "description": "审核时间",
  38256. "type": "string"
  38257. },
  38258. "cardnum": {
  38259. "description": "提货人证件号码",
  38260. "type": "string"
  38261. },
  38262. "cardtypeid": {
  38263. "description": "提货人证件类型",
  38264. "type": "integer"
  38265. },
  38266. "checkremark": {
  38267. "description": "审核备注",
  38268. "type": "string"
  38269. },
  38270. "goodscode": {
  38271. "description": "商品代码",
  38272. "type": "string"
  38273. },
  38274. "goodsid": {
  38275. "description": "商品ID",
  38276. "type": "integer"
  38277. },
  38278. "goodsname": {
  38279. "description": "商品名称",
  38280. "type": "string"
  38281. },
  38282. "handlestatus": {
  38283. "description": "处理状态",
  38284. "type": "integer"
  38285. },
  38286. "marketid": {
  38287. "description": "市场ID",
  38288. "type": "integer"
  38289. },
  38290. "phonenum": {
  38291. "description": "提货人联系方式",
  38292. "type": "string"
  38293. },
  38294. "qty": {
  38295. "description": "提货数量",
  38296. "type": "number"
  38297. },
  38298. "recivername": {
  38299. "description": "提货人姓名",
  38300. "type": "string"
  38301. },
  38302. "reqtime": {
  38303. "description": "更新时间",
  38304. "type": "string"
  38305. },
  38306. "takemode": {
  38307. "description": "提货方式 - 2:自提 3:配送",
  38308. "type": "integer"
  38309. },
  38310. "takeorderid": {
  38311. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  38312. "type": "string"
  38313. },
  38314. "takeorderstatus": {
  38315. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  38316. "type": "integer"
  38317. },
  38318. "takeremark": {
  38319. "description": "提货备注",
  38320. "type": "string"
  38321. },
  38322. "tradedate": {
  38323. "description": "交易日(yyyyMMdd)",
  38324. "type": "string"
  38325. },
  38326. "userid": {
  38327. "description": "用户ID",
  38328. "type": "integer"
  38329. }
  38330. }
  38331. },
  38332. "szdz.QueryRecieptOrderRsp": {
  38333. "type": "object",
  38334. "required": [
  38335. "ordertime"
  38336. ],
  38337. "properties": {
  38338. "accountName": {
  38339. "description": "所属账号名称(已脱敏)",
  38340. "type": "string"
  38341. },
  38342. "accountid": {
  38343. "description": "资金账号",
  38344. "type": "integer"
  38345. },
  38346. "buyorsell": {
  38347. "description": "方向 - 0:买 1:卖",
  38348. "type": "integer"
  38349. },
  38350. "enableqty": {
  38351. "description": "可摘数量",
  38352. "type": "integer"
  38353. },
  38354. "goodscode": {
  38355. "description": "商品代码",
  38356. "type": "string"
  38357. },
  38358. "goodsid": {
  38359. "description": "商品ID",
  38360. "type": "integer"
  38361. },
  38362. "goodsname": {
  38363. "description": "商品名称",
  38364. "type": "string"
  38365. },
  38366. "orderid": {
  38367. "description": "委托单号",
  38368. "type": "string"
  38369. },
  38370. "orderprice": {
  38371. "description": "委托价格",
  38372. "type": "number"
  38373. },
  38374. "ordertime": {
  38375. "description": "委托时间",
  38376. "type": "string"
  38377. },
  38378. "tradedate": {
  38379. "description": "交易日(yyyyMMdd)",
  38380. "type": "string"
  38381. }
  38382. }
  38383. },
  38384. "szdz.QuerySZDZTradePositionRsp": {
  38385. "type": "object",
  38386. "properties": {
  38387. "accountid": {
  38388. "description": "账号Id",
  38389. "type": "integer"
  38390. },
  38391. "agreeunit": {
  38392. "description": "合约单位",
  38393. "type": "number"
  38394. },
  38395. "averageprice": {
  38396. "description": "持仓均价",
  38397. "type": "number"
  38398. },
  38399. "buyorsell": {
  38400. "description": "方向 - 0:买 1:卖",
  38401. "type": "integer"
  38402. },
  38403. "closetotalqty": {
  38404. "description": "平仓总数量",
  38405. "type": "integer"
  38406. },
  38407. "curholderamount": {
  38408. "description": "当前持仓总金额",
  38409. "type": "number"
  38410. },
  38411. "curpositionqty": {
  38412. "description": "当前持仓总数量",
  38413. "type": "integer"
  38414. },
  38415. "currencyid": {
  38416. "description": "报价货币ID",
  38417. "type": "integer"
  38418. },
  38419. "curtdposition": {
  38420. "description": "期末今日头寸",
  38421. "type": "integer"
  38422. },
  38423. "decimalplace": {
  38424. "description": "报价小数位",
  38425. "type": "integer"
  38426. },
  38427. "enableqty": {
  38428. "description": "可用量",
  38429. "type": "integer"
  38430. },
  38431. "fretdposition": {
  38432. "description": "冻结今日头寸",
  38433. "type": "integer"
  38434. },
  38435. "frozenqty": {
  38436. "description": "持仓冻结数量",
  38437. "type": "integer"
  38438. },
  38439. "goodscode": {
  38440. "description": "商品代码(内部)",
  38441. "type": "string"
  38442. },
  38443. "goodsid": {
  38444. "description": "商品Id",
  38445. "type": "integer"
  38446. },
  38447. "goodsname": {
  38448. "description": "商品名称",
  38449. "type": "string"
  38450. },
  38451. "goodunit": {
  38452. "description": "报价单位",
  38453. "type": "string"
  38454. },
  38455. "goodunitid": {
  38456. "description": "报价单位ID",
  38457. "type": "integer"
  38458. },
  38459. "holderamount": {
  38460. "description": "期初持仓总金额",
  38461. "type": "number"
  38462. },
  38463. "marketid": {
  38464. "description": "市场ID",
  38465. "type": "integer"
  38466. },
  38467. "openreqqty": {
  38468. "description": "开仓申请数量",
  38469. "type": "integer"
  38470. },
  38471. "opentotalqty": {
  38472. "description": "开仓总数量",
  38473. "type": "integer"
  38474. },
  38475. "otherfrozenqty": {
  38476. "description": "持仓其他冻结数量(交割冻结)",
  38477. "type": "integer"
  38478. },
  38479. "positionqty": {
  38480. "description": "期初持仓数量",
  38481. "type": "integer"
  38482. },
  38483. "szdz3freezqty": {
  38484. "description": "尚志大宗转换冻结总数量",
  38485. "type": "integer"
  38486. },
  38487. "tnqty": {
  38488. "description": "T+N冻结总量",
  38489. "type": "integer"
  38490. },
  38491. "tnusedqty": {
  38492. "description": "T+N使用量",
  38493. "type": "integer"
  38494. },
  38495. "trademode": {
  38496. "description": "交易模式",
  38497. "type": "integer"
  38498. },
  38499. "usedmargin": {
  38500. "description": "占用保证金",
  38501. "type": "number"
  38502. }
  38503. }
  38504. },
  38505. "taaccount.QueryAmountLogRsp": {
  38506. "type": "object",
  38507. "required": [
  38508. "accountid",
  38509. "amount",
  38510. "amountadjusttype",
  38511. "autoid",
  38512. "balance",
  38513. "createtime",
  38514. "currentbalance",
  38515. "operatetype"
  38516. ],
  38517. "properties": {
  38518. "OPERATETYPENAME": {
  38519. "description": "资金操作类型名称",
  38520. "type": "string"
  38521. },
  38522. "accountid": {
  38523. "description": "资金账户ID",
  38524. "type": "integer"
  38525. },
  38526. "agoodscode": {
  38527. "description": "竞拍商品代码",
  38528. "type": "string"
  38529. },
  38530. "agoodsname": {
  38531. "description": "竞拍商品名称",
  38532. "type": "string"
  38533. },
  38534. "amount": {
  38535. "description": "资金金额",
  38536. "type": "number"
  38537. },
  38538. "amountadjusttype": {
  38539. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  38540. "type": "integer"
  38541. },
  38542. "autoid": {
  38543. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  38544. "type": "integer"
  38545. },
  38546. "balance": {
  38547. "description": "期初余额",
  38548. "type": "number"
  38549. },
  38550. "businesscode": {
  38551. "description": "业务编号",
  38552. "type": "integer"
  38553. },
  38554. "createtime": {
  38555. "description": "发生时间",
  38556. "type": "string"
  38557. },
  38558. "currencyid": {
  38559. "description": "币种ID",
  38560. "type": "integer"
  38561. },
  38562. "currentbalance": {
  38563. "description": "期末余额(变动后金额)",
  38564. "type": "number"
  38565. },
  38566. "dgoodscode": {
  38567. "description": "交割商品代码",
  38568. "type": "string"
  38569. },
  38570. "dgoodsname": {
  38571. "description": "交割商品名称",
  38572. "type": "string"
  38573. },
  38574. "goodscode": {
  38575. "description": "商品代码",
  38576. "type": "string"
  38577. },
  38578. "goodsid": {
  38579. "description": "商品ID",
  38580. "type": "integer"
  38581. },
  38582. "goodsname": {
  38583. "description": "商品名称",
  38584. "type": "string"
  38585. },
  38586. "marketid": {
  38587. "description": "市场ID",
  38588. "type": "integer"
  38589. },
  38590. "marketname": {
  38591. "description": "市场名称",
  38592. "type": "string"
  38593. },
  38594. "moneyticket": {
  38595. "description": "资金流水号:银行端流水号",
  38596. "type": "integer"
  38597. },
  38598. "operatetype": {
  38599. "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:营销收款",
  38600. "type": "integer"
  38601. },
  38602. "relationorderid": {
  38603. "description": "关联单号",
  38604. "type": "string"
  38605. },
  38606. "remark": {
  38607. "description": "备注",
  38608. "type": "string"
  38609. },
  38610. "trademode": {
  38611. "description": "交易模式",
  38612. "type": "integer"
  38613. }
  38614. }
  38615. },
  38616. "taaccount.QueryHisAmountLogRsp": {
  38617. "type": "object",
  38618. "required": [
  38619. "accountid",
  38620. "amount",
  38621. "amountadjusttype",
  38622. "autoid",
  38623. "balance",
  38624. "createtime",
  38625. "currentbalance",
  38626. "histradedate",
  38627. "operatetype"
  38628. ],
  38629. "properties": {
  38630. "OPERATETYPENAME": {
  38631. "description": "资金操作类型名称",
  38632. "type": "string"
  38633. },
  38634. "accountid": {
  38635. "description": "资金账户ID",
  38636. "type": "integer"
  38637. },
  38638. "agoodscode": {
  38639. "description": "竞拍商品代码",
  38640. "type": "string"
  38641. },
  38642. "agoodsname": {
  38643. "description": "竞拍商品名称",
  38644. "type": "string"
  38645. },
  38646. "amount": {
  38647. "description": "资金金额",
  38648. "type": "number"
  38649. },
  38650. "amountadjusttype": {
  38651. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  38652. "type": "integer"
  38653. },
  38654. "autoid": {
  38655. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  38656. "type": "integer"
  38657. },
  38658. "balance": {
  38659. "description": "期初余额",
  38660. "type": "number"
  38661. },
  38662. "businesscode": {
  38663. "description": "业务编号",
  38664. "type": "integer"
  38665. },
  38666. "createtime": {
  38667. "description": "发生时间",
  38668. "type": "string"
  38669. },
  38670. "currencyid": {
  38671. "description": "币种ID",
  38672. "type": "integer"
  38673. },
  38674. "currentbalance": {
  38675. "description": "期末余额(变动后金额)",
  38676. "type": "number"
  38677. },
  38678. "dgoodscode": {
  38679. "description": "交割商品代码",
  38680. "type": "string"
  38681. },
  38682. "dgoodsname": {
  38683. "description": "交割商品名称",
  38684. "type": "string"
  38685. },
  38686. "goodscode": {
  38687. "description": "商品代码",
  38688. "type": "string"
  38689. },
  38690. "goodsid": {
  38691. "description": "商品ID",
  38692. "type": "integer"
  38693. },
  38694. "goodsname": {
  38695. "description": "商品名称",
  38696. "type": "string"
  38697. },
  38698. "histradedate": {
  38699. "description": "历史交易日",
  38700. "type": "string"
  38701. },
  38702. "isvaliddata": {
  38703. "description": "是否有效 - 0:无效 1:有效",
  38704. "type": "integer"
  38705. },
  38706. "marketid": {
  38707. "description": "市场ID",
  38708. "type": "integer"
  38709. },
  38710. "marketname": {
  38711. "description": "市场名称",
  38712. "type": "string"
  38713. },
  38714. "moneyticket": {
  38715. "description": "资金流水号:银行端流水号",
  38716. "type": "integer"
  38717. },
  38718. "operatetype": {
  38719. "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:营销收款",
  38720. "type": "integer"
  38721. },
  38722. "relationorderid": {
  38723. "description": "关联单号",
  38724. "type": "string"
  38725. },
  38726. "remark": {
  38727. "description": "备注",
  38728. "type": "string"
  38729. },
  38730. "trademode": {
  38731. "description": "交易模式",
  38732. "type": "integer"
  38733. }
  38734. }
  38735. },
  38736. "trade.QueryRecieptOrderRsp": {
  38737. "type": "object",
  38738. "required": [
  38739. "ordertime"
  38740. ],
  38741. "properties": {
  38742. "accountName": {
  38743. "description": "所属账号名称(已脱敏)",
  38744. "type": "string"
  38745. },
  38746. "accountid": {
  38747. "description": "资金账号",
  38748. "type": "integer"
  38749. },
  38750. "buyorsell": {
  38751. "description": "方向 - 0:买 1:卖",
  38752. "type": "integer"
  38753. },
  38754. "enableqty": {
  38755. "description": "可摘数量",
  38756. "type": "integer"
  38757. },
  38758. "goodscode": {
  38759. "description": "商品代码",
  38760. "type": "string"
  38761. },
  38762. "goodsid": {
  38763. "description": "商品ID",
  38764. "type": "integer"
  38765. },
  38766. "goodsname": {
  38767. "description": "商品名称",
  38768. "type": "string"
  38769. },
  38770. "orderid": {
  38771. "description": "委托单号",
  38772. "type": "string"
  38773. },
  38774. "orderprice": {
  38775. "description": "委托价格",
  38776. "type": "number"
  38777. },
  38778. "ordertime": {
  38779. "description": "委托时间",
  38780. "type": "string"
  38781. },
  38782. "tradedate": {
  38783. "description": "交易日(yyyyMMdd)",
  38784. "type": "string"
  38785. }
  38786. }
  38787. },
  38788. "user.LoginQueryRsp": {
  38789. "type": "object",
  38790. "properties": {
  38791. "areaRoles": {
  38792. "description": "所属角色信息",
  38793. "type": "array",
  38794. "items": {
  38795. "$ref": "#/definitions/models.Arearole"
  38796. }
  38797. },
  38798. "externalExchanges": {
  38799. "description": "外部交易所",
  38800. "type": "array",
  38801. "items": {
  38802. "$ref": "#/definitions/models.Externalexchange"
  38803. }
  38804. },
  38805. "goodsgroups": {
  38806. "description": "商品组",
  38807. "type": "array",
  38808. "items": {
  38809. "$ref": "#/definitions/models.Goodsgroup"
  38810. }
  38811. },
  38812. "loginAccount": {
  38813. "description": "登录账号",
  38814. "$ref": "#/definitions/models.Loginaccount"
  38815. },
  38816. "markets": {
  38817. "description": "市场",
  38818. "type": "array",
  38819. "items": {
  38820. "$ref": "#/definitions/models.Market"
  38821. }
  38822. },
  38823. "systemParams": {
  38824. "description": "系统参数",
  38825. "type": "array",
  38826. "items": {
  38827. "$ref": "#/definitions/models.Systemparam"
  38828. }
  38829. },
  38830. "userAccount": {
  38831. "description": "用户账号",
  38832. "$ref": "#/definitions/models.Useraccount"
  38833. },
  38834. "userInfo": {
  38835. "description": "用户信息",
  38836. "$ref": "#/definitions/models.Userinfo"
  38837. },
  38838. "username": {
  38839. "description": "用户姓名",
  38840. "type": "string"
  38841. }
  38842. }
  38843. }
  38844. },
  38845. "securityDefinitions": {
  38846. "ApiKeyAuth": {
  38847. "type": "apiKey",
  38848. "name": "Authorization",
  38849. "in": "header"
  38850. }
  38851. }
  38852. }`
  38853. type swaggerInfo struct {
  38854. Version string
  38855. Host string
  38856. BasePath string
  38857. Schemes []string
  38858. Title string
  38859. Description string
  38860. }
  38861. // SwaggerInfo holds exported Swagger Info so clients can modify it
  38862. var SwaggerInfo = swaggerInfo{
  38863. Version: "1.0",
  38864. Host: "",
  38865. BasePath: "/api",
  38866. Schemes: []string{},
  38867. Title: "MTP2.0 查询服务 API",
  38868. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  38869. }
  38870. type s struct{}
  38871. func (s *s) ReadDoc() string {
  38872. sInfo := SwaggerInfo
  38873. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  38874. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  38875. "marshal": func(v interface{}) string {
  38876. a, _ := json.Marshal(v)
  38877. return string(a)
  38878. },
  38879. }).Parse(doc)
  38880. if err != nil {
  38881. return doc
  38882. }
  38883. var tpl bytes.Buffer
  38884. if err := t.Execute(&tpl, sInfo); err != nil {
  38885. return doc
  38886. }
  38887. return tpl.String()
  38888. }
  38889. func init() {
  38890. swag.Register(swag.Name, &s{})
  38891. }