docs.go 1.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887
  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. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PC 1:Mobile",
  427. "name": "clientType",
  428. "in": "query"
  429. }
  430. ],
  431. "responses": {
  432. "200": {
  433. "description": "OK",
  434. "schema": {
  435. "type": "array",
  436. "items": {
  437. "$ref": "#/definitions/common.ClientMenu"
  438. }
  439. }
  440. },
  441. "500": {
  442. "description": "Internal Server Error",
  443. "schema": {
  444. "$ref": "#/definitions/app.Response"
  445. }
  446. }
  447. }
  448. }
  449. },
  450. "/Common/GetDivisions": {
  451. "get": {
  452. "produces": [
  453. "application/json"
  454. ],
  455. "tags": [
  456. "通用服务"
  457. ],
  458. "summary": "查询区域信息",
  459. "responses": {
  460. "200": {
  461. "description": "OK",
  462. "schema": {
  463. "$ref": "#/definitions/models.Division"
  464. }
  465. },
  466. "500": {
  467. "description": "Internal Server Error",
  468. "schema": {
  469. "$ref": "#/definitions/app.Response"
  470. }
  471. }
  472. }
  473. }
  474. },
  475. "/Common/GetServerTime": {
  476. "get": {
  477. "produces": [
  478. "application/json"
  479. ],
  480. "tags": [
  481. "通用服务"
  482. ],
  483. "summary": "获取服务器时间",
  484. "responses": {
  485. "200": {
  486. "description": "OK",
  487. "schema": {
  488. "$ref": "#/definitions/app.Response"
  489. }
  490. },
  491. "500": {
  492. "description": "Internal Server Error",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. }
  497. }
  498. }
  499. },
  500. "/Common/NoticeReaded": {
  501. "post": {
  502. "security": [
  503. {
  504. "ApiKeyAuth": []
  505. }
  506. ],
  507. "produces": [
  508. "application/json"
  509. ],
  510. "tags": [
  511. "通用服务"
  512. ],
  513. "summary": "通知公告设置已读请求",
  514. "parameters": [
  515. {
  516. "type": "integer",
  517. "description": "登录账号",
  518. "name": "loginID",
  519. "in": "query",
  520. "required": true
  521. },
  522. {
  523. "type": "integer",
  524. "description": "通知公告ID",
  525. "name": "noticeID",
  526. "in": "query",
  527. "required": true
  528. }
  529. ],
  530. "responses": {
  531. "200": {
  532. "description": "OK",
  533. "schema": {
  534. "$ref": "#/definitions/app.Response"
  535. }
  536. },
  537. "500": {
  538. "description": "Internal Server Error",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. }
  543. }
  544. }
  545. },
  546. "/Common/QueryErrorInfos": {
  547. "get": {
  548. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "获取数据库错误信息",
  556. "parameters": [
  557. {
  558. "type": "string",
  559. "description": "起始行号前索引",
  560. "name": "rowNumber",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryImageConfigs": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询轮播图配置信息",
  589. "parameters": [
  590. {
  591. "type": "integer",
  592. "description": "用户id",
  593. "name": "userId",
  594. "in": "query"
  595. },
  596. {
  597. "type": "integer",
  598. "description": "类型 - 1:App首页轮播 2:我的",
  599. "name": "imageType",
  600. "in": "query"
  601. }
  602. ],
  603. "responses": {
  604. "200": {
  605. "description": "OK",
  606. "schema": {
  607. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  608. }
  609. },
  610. "500": {
  611. "description": "Internal Server Error",
  612. "schema": {
  613. "$ref": "#/definitions/app.Response"
  614. }
  615. }
  616. }
  617. }
  618. },
  619. "/Common/QueryNotice": {
  620. "get": {
  621. "security": [
  622. {
  623. "ApiKeyAuth": []
  624. }
  625. ],
  626. "produces": [
  627. "application/json"
  628. ],
  629. "tags": [
  630. "通用服务"
  631. ],
  632. "summary": "通知公告系统消息查询",
  633. "parameters": [
  634. {
  635. "type": "integer",
  636. "description": "页码",
  637. "name": "page",
  638. "in": "query"
  639. },
  640. {
  641. "type": "integer",
  642. "description": "每页条数",
  643. "name": "pagesize",
  644. "in": "query"
  645. },
  646. {
  647. "type": "integer",
  648. "description": "登录账号",
  649. "name": "loginID",
  650. "in": "query",
  651. "required": true
  652. },
  653. {
  654. "type": "integer",
  655. "description": "消息类型 - 1:公告通知 2:系统消息",
  656. "name": "msgType",
  657. "in": "query"
  658. },
  659. {
  660. "type": "boolean",
  661. "description": "是否只获取未读信息",
  662. "name": "onlyUnRead",
  663. "in": "query"
  664. },
  665. {
  666. "type": "integer",
  667. "description": "自增ID,传入后会返回这个ID后面的记录",
  668. "name": "lastID",
  669. "in": "query"
  670. }
  671. ],
  672. "responses": {
  673. "200": {
  674. "description": "OK",
  675. "schema": {
  676. "$ref": "#/definitions/common.QueryNoticeRsp"
  677. }
  678. },
  679. "500": {
  680. "description": "Internal Server Error",
  681. "schema": {
  682. "$ref": "#/definitions/app.Response"
  683. }
  684. }
  685. }
  686. }
  687. },
  688. "/Common/QueryProvincesAndCities": {
  689. "get": {
  690. "produces": [
  691. "application/json"
  692. ],
  693. "tags": [
  694. "通用服务"
  695. ],
  696. "summary": "查询省市信息(不包括区)",
  697. "parameters": [
  698. {
  699. "type": "integer",
  700. "description": "省ID",
  701. "name": "provinceID",
  702. "in": "query"
  703. }
  704. ],
  705. "responses": {
  706. "200": {
  707. "description": "OK",
  708. "schema": {
  709. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  710. }
  711. },
  712. "500": {
  713. "description": "Internal Server Error",
  714. "schema": {
  715. "$ref": "#/definitions/app.Response"
  716. }
  717. }
  718. }
  719. }
  720. },
  721. "/Common/QueryTableDefine": {
  722. "get": {
  723. "produces": [
  724. "application/json"
  725. ],
  726. "tags": [
  727. "通用服务"
  728. ],
  729. "summary": "查询交易端列表头信息",
  730. "parameters": [
  731. {
  732. "type": "string",
  733. "description": "表key",
  734. "name": "tableKey",
  735. "in": "query"
  736. },
  737. {
  738. "type": "integer",
  739. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  740. "name": "tableType",
  741. "in": "query"
  742. }
  743. ],
  744. "responses": {
  745. "200": {
  746. "description": "OK",
  747. "schema": {
  748. "$ref": "#/definitions/common.QueryTableDefineRsp"
  749. }
  750. },
  751. "500": {
  752. "description": "Internal Server Error",
  753. "schema": {
  754. "$ref": "#/definitions/app.Response"
  755. }
  756. }
  757. }
  758. }
  759. },
  760. "/Common/QueryTraderMenu": {
  761. "get": {
  762. "produces": [
  763. "application/json"
  764. ],
  765. "tags": [
  766. "通用服务"
  767. ],
  768. "summary": "查询交易端菜单",
  769. "parameters": [
  770. {
  771. "type": "integer",
  772. "description": "登录账号",
  773. "name": "loginid",
  774. "in": "query",
  775. "required": true
  776. }
  777. ],
  778. "responses": {
  779. "200": {
  780. "description": "OK",
  781. "schema": {
  782. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  783. }
  784. },
  785. "500": {
  786. "description": "Internal Server Error",
  787. "schema": {
  788. "$ref": "#/definitions/app.Response"
  789. }
  790. }
  791. }
  792. }
  793. },
  794. "/Delivery/QueryDeliveryRelation": {
  795. "get": {
  796. "security": [
  797. {
  798. "ApiKeyAuth": []
  799. }
  800. ],
  801. "produces": [
  802. "application/json"
  803. ],
  804. "tags": [
  805. "交割服务"
  806. ],
  807. "summary": "查询商品交割关系表",
  808. "parameters": [
  809. {
  810. "type": "integer",
  811. "description": "商品ID",
  812. "name": "goodsid",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": "品种ID",
  818. "name": "deliverygoodsid",
  819. "in": "query"
  820. },
  821. {
  822. "type": "integer",
  823. "description": "市场ID",
  824. "name": "marketid",
  825. "in": "query"
  826. }
  827. ],
  828. "responses": {
  829. "200": {
  830. "description": "OK",
  831. "schema": {
  832. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  833. }
  834. },
  835. "500": {
  836. "description": "Internal Server Error",
  837. "schema": {
  838. "$ref": "#/definitions/app.Response"
  839. }
  840. }
  841. }
  842. }
  843. },
  844. "/Ermcp/GetErmcpGoods": {
  845. "get": {
  846. "security": [
  847. {
  848. "ApiKeyAuth": []
  849. }
  850. ],
  851. "produces": [
  852. "application/json"
  853. ],
  854. "tags": [
  855. "企业风险管理(app)"
  856. ],
  857. "summary": "查询企业风管期货商品信息",
  858. "parameters": [
  859. {
  860. "type": "string",
  861. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  862. "name": "lastUpdateTime",
  863. "in": "query"
  864. }
  865. ],
  866. "responses": {
  867. "200": {
  868. "description": "OK",
  869. "schema": {
  870. "$ref": "#/definitions/models.ErmcpGoods"
  871. }
  872. },
  873. "500": {
  874. "description": "Internal Server Error",
  875. "schema": {
  876. "$ref": "#/definitions/app.Response"
  877. }
  878. }
  879. }
  880. }
  881. },
  882. "/Ermcp/GetErmcpGoodsSortByPosition": {
  883. "get": {
  884. "security": [
  885. {
  886. "ApiKeyAuth": []
  887. }
  888. ],
  889. "produces": [
  890. "application/json"
  891. ],
  892. "tags": [
  893. "企业风险管理(app)"
  894. ],
  895. "summary": "查询企业风管期货主力、次主力商品信息",
  896. "parameters": [
  897. {
  898. "type": "string",
  899. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  900. "name": "sortIndex",
  901. "in": "query"
  902. }
  903. ],
  904. "responses": {
  905. "200": {
  906. "description": "OK",
  907. "schema": {
  908. "$ref": "#/definitions/models.Goodssortbypreposition"
  909. }
  910. },
  911. "500": {
  912. "description": "Internal Server Error",
  913. "schema": {
  914. "$ref": "#/definitions/app.Response"
  915. }
  916. }
  917. }
  918. }
  919. },
  920. "/Ermcp/GetErmcpOutAccountStatus": {
  921. "get": {
  922. "security": [
  923. {
  924. "ApiKeyAuth": []
  925. }
  926. ],
  927. "produces": [
  928. "application/json"
  929. ],
  930. "tags": [
  931. "企业风险管理(app)"
  932. ],
  933. "summary": "获取目标登录账号当前对冲账号在线状态",
  934. "parameters": [
  935. {
  936. "type": "integer",
  937. "description": "登录账号",
  938. "name": "loginID",
  939. "in": "query",
  940. "required": true
  941. }
  942. ],
  943. "responses": {
  944. "200": {
  945. "description": "OK",
  946. "schema": {
  947. "$ref": "#/definitions/models.Hedgemarketopenlog"
  948. }
  949. },
  950. "500": {
  951. "description": "Internal Server Error",
  952. "schema": {
  953. "$ref": "#/definitions/app.Response"
  954. }
  955. }
  956. }
  957. }
  958. },
  959. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  960. "get": {
  961. "security": [
  962. {
  963. "ApiKeyAuth": []
  964. }
  965. ],
  966. "produces": [
  967. "application/json"
  968. ],
  969. "tags": [
  970. "企业风险管理(app)"
  971. ],
  972. "summary": "获取企业风管终端权限",
  973. "parameters": [
  974. {
  975. "type": "integer",
  976. "description": "登录账号",
  977. "name": "loginID",
  978. "in": "query",
  979. "required": true
  980. }
  981. ],
  982. "responses": {
  983. "200": {
  984. "description": "OK",
  985. "schema": {
  986. "$ref": "#/definitions/models.Funcmenulist"
  987. }
  988. },
  989. "500": {
  990. "description": "Internal Server Error",
  991. "schema": {
  992. "$ref": "#/definitions/app.Response"
  993. }
  994. }
  995. }
  996. }
  997. },
  998. "/Ermcp/QueryAccMgrBizGroupSet": {
  999. "get": {
  1000. "security": [
  1001. {
  1002. "ApiKeyAuth": []
  1003. }
  1004. ],
  1005. "produces": [
  1006. "application/json"
  1007. ],
  1008. "tags": [
  1009. "企业风险管理(app)"
  1010. ],
  1011. "summary": "查询业务类型分组(账户管理/账户设置)",
  1012. "parameters": [
  1013. {
  1014. "type": "integer",
  1015. "description": "用户ID",
  1016. "name": "userid",
  1017. "in": "query",
  1018. "required": true
  1019. },
  1020. {
  1021. "type": "integer",
  1022. "description": "现货商品id",
  1023. "name": "deliverygoodsid",
  1024. "in": "query"
  1025. }
  1026. ],
  1027. "responses": {
  1028. "200": {
  1029. "description": "OK",
  1030. "schema": {
  1031. "type": "array",
  1032. "items": {
  1033. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1034. }
  1035. }
  1036. },
  1037. "500": {
  1038. "description": "Internal Server Error",
  1039. "schema": {
  1040. "$ref": "#/definitions/app.Response"
  1041. }
  1042. }
  1043. }
  1044. }
  1045. },
  1046. "/Ermcp/QueryAccMgrLoginUser": {
  1047. "get": {
  1048. "security": [
  1049. {
  1050. "ApiKeyAuth": []
  1051. }
  1052. ],
  1053. "produces": [
  1054. "application/json"
  1055. ],
  1056. "tags": [
  1057. "企业风险管理(app)"
  1058. ],
  1059. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1060. "parameters": [
  1061. {
  1062. "type": "integer",
  1063. "description": "用户ID",
  1064. "name": "userid",
  1065. "in": "query",
  1066. "required": true
  1067. },
  1068. {
  1069. "type": "integer",
  1070. "description": "用户类型 2-机构 7-企业成员",
  1071. "name": "usertype",
  1072. "in": "query"
  1073. },
  1074. {
  1075. "type": "integer",
  1076. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1077. "name": "querytype",
  1078. "in": "query",
  1079. "required": true
  1080. }
  1081. ],
  1082. "responses": {
  1083. "200": {
  1084. "description": "OK",
  1085. "schema": {
  1086. "type": "array",
  1087. "items": {
  1088. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1089. }
  1090. }
  1091. },
  1092. "500": {
  1093. "description": "Internal Server Error",
  1094. "schema": {
  1095. "$ref": "#/definitions/app.Response"
  1096. }
  1097. }
  1098. }
  1099. }
  1100. },
  1101. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1102. "get": {
  1103. "security": [
  1104. {
  1105. "ApiKeyAuth": []
  1106. }
  1107. ],
  1108. "produces": [
  1109. "application/json"
  1110. ],
  1111. "tags": [
  1112. "企业风险管理(app)"
  1113. ],
  1114. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1115. "parameters": [
  1116. {
  1117. "type": "integer",
  1118. "description": "用户ID",
  1119. "name": "userid",
  1120. "in": "query"
  1121. },
  1122. {
  1123. "type": "integer",
  1124. "description": "主账号id",
  1125. "name": "accountid",
  1126. "in": "query"
  1127. }
  1128. ],
  1129. "responses": {
  1130. "200": {
  1131. "description": "OK",
  1132. "schema": {
  1133. "type": "array",
  1134. "items": {
  1135. "$ref": "#/definitions/models.MainAccountInfo"
  1136. }
  1137. }
  1138. },
  1139. "500": {
  1140. "description": "Internal Server Error",
  1141. "schema": {
  1142. "$ref": "#/definitions/app.Response"
  1143. }
  1144. }
  1145. }
  1146. }
  1147. },
  1148. "/Ermcp/QueryAccMgrRole": {
  1149. "get": {
  1150. "security": [
  1151. {
  1152. "ApiKeyAuth": []
  1153. }
  1154. ],
  1155. "produces": [
  1156. "application/json"
  1157. ],
  1158. "tags": [
  1159. "企业风险管理(app)"
  1160. ],
  1161. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1162. "parameters": [
  1163. {
  1164. "type": "integer",
  1165. "description": "用户ID",
  1166. "name": "userid",
  1167. "in": "query",
  1168. "required": true
  1169. }
  1170. ],
  1171. "responses": {
  1172. "200": {
  1173. "description": "OK",
  1174. "schema": {
  1175. "type": "array",
  1176. "items": {
  1177. "$ref": "#/definitions/models.ErmcpRole"
  1178. }
  1179. }
  1180. },
  1181. "500": {
  1182. "description": "Internal Server Error",
  1183. "schema": {
  1184. "$ref": "#/definitions/app.Response"
  1185. }
  1186. }
  1187. }
  1188. }
  1189. },
  1190. "/Ermcp/QueryAccMgrRoleMenu": {
  1191. "get": {
  1192. "security": [
  1193. {
  1194. "ApiKeyAuth": []
  1195. }
  1196. ],
  1197. "produces": [
  1198. "application/json"
  1199. ],
  1200. "tags": [
  1201. "企业风险管理(app)"
  1202. ],
  1203. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1204. "parameters": [
  1205. {
  1206. "type": "integer",
  1207. "description": "用户ID",
  1208. "name": "userid",
  1209. "in": "query",
  1210. "required": true
  1211. },
  1212. {
  1213. "type": "string",
  1214. "description": "角色id(可多个,逗号隔开)",
  1215. "name": "roleid",
  1216. "in": "query"
  1217. },
  1218. {
  1219. "type": "integer",
  1220. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1221. "name": "menutype",
  1222. "in": "query"
  1223. }
  1224. ],
  1225. "responses": {
  1226. "200": {
  1227. "description": "OK",
  1228. "schema": {
  1229. "type": "array",
  1230. "items": {
  1231. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1232. }
  1233. }
  1234. },
  1235. "500": {
  1236. "description": "Internal Server Error",
  1237. "schema": {
  1238. "$ref": "#/definitions/app.Response"
  1239. }
  1240. }
  1241. }
  1242. }
  1243. },
  1244. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1245. "get": {
  1246. "security": [
  1247. {
  1248. "ApiKeyAuth": []
  1249. }
  1250. ],
  1251. "produces": [
  1252. "application/json"
  1253. ],
  1254. "tags": [
  1255. "企业风险管理(app)"
  1256. ],
  1257. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1258. "parameters": [
  1259. {
  1260. "type": "integer",
  1261. "description": "用户ID",
  1262. "name": "userid",
  1263. "in": "query",
  1264. "required": true
  1265. },
  1266. {
  1267. "type": "integer",
  1268. "description": "账号id",
  1269. "name": "accountid",
  1270. "in": "query"
  1271. }
  1272. ],
  1273. "responses": {
  1274. "200": {
  1275. "description": "OK",
  1276. "schema": {
  1277. "type": "array",
  1278. "items": {
  1279. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1280. }
  1281. }
  1282. },
  1283. "500": {
  1284. "description": "Internal Server Error",
  1285. "schema": {
  1286. "$ref": "#/definitions/app.Response"
  1287. }
  1288. }
  1289. }
  1290. }
  1291. },
  1292. "/Ermcp/QueryAccMgrTaaccount": {
  1293. "get": {
  1294. "security": [
  1295. {
  1296. "ApiKeyAuth": []
  1297. }
  1298. ],
  1299. "produces": [
  1300. "application/json"
  1301. ],
  1302. "tags": [
  1303. "企业风险管理(app)"
  1304. ],
  1305. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1306. "parameters": [
  1307. {
  1308. "type": "integer",
  1309. "description": "用户ID",
  1310. "name": "userid",
  1311. "in": "query",
  1312. "required": true
  1313. }
  1314. ],
  1315. "responses": {
  1316. "200": {
  1317. "description": "OK",
  1318. "schema": {
  1319. "type": "array",
  1320. "items": {
  1321. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1322. }
  1323. }
  1324. },
  1325. "500": {
  1326. "description": "Internal Server Error",
  1327. "schema": {
  1328. "$ref": "#/definitions/app.Response"
  1329. }
  1330. }
  1331. }
  1332. }
  1333. },
  1334. "/Ermcp/QueryAvaildGoodsGroup": {
  1335. "get": {
  1336. "security": [
  1337. {
  1338. "ApiKeyAuth": []
  1339. }
  1340. ],
  1341. "produces": [
  1342. "application/json"
  1343. ],
  1344. "tags": [
  1345. "企业风险管理(app)"
  1346. ],
  1347. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1348. "parameters": [
  1349. {
  1350. "type": "integer",
  1351. "description": "所属机构ID",
  1352. "name": "userid",
  1353. "in": "query",
  1354. "required": true
  1355. }
  1356. ],
  1357. "responses": {
  1358. "200": {
  1359. "description": "OK",
  1360. "schema": {
  1361. "type": "array",
  1362. "items": {
  1363. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1364. }
  1365. }
  1366. },
  1367. "500": {
  1368. "description": "Internal Server Error",
  1369. "schema": {
  1370. "$ref": "#/definitions/app.Response"
  1371. }
  1372. }
  1373. }
  1374. }
  1375. },
  1376. "/Ermcp/QueryBusinessDj": {
  1377. "get": {
  1378. "security": [
  1379. {
  1380. "ApiKeyAuth": []
  1381. }
  1382. ],
  1383. "produces": [
  1384. "application/json"
  1385. ],
  1386. "tags": [
  1387. "企业风险管理(app)"
  1388. ],
  1389. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1390. "parameters": [
  1391. {
  1392. "type": "integer",
  1393. "description": "用户ID",
  1394. "name": "UserId",
  1395. "in": "query",
  1396. "required": true
  1397. },
  1398. {
  1399. "type": "integer",
  1400. "description": "用户类型 2-机构 7-企业成员",
  1401. "name": "usertype",
  1402. "in": "query"
  1403. },
  1404. {
  1405. "type": "string",
  1406. "description": "现货合同ID, 不填则查所有",
  1407. "name": "relatedid",
  1408. "in": "query"
  1409. },
  1410. {
  1411. "type": "string",
  1412. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1413. "name": "applystatus",
  1414. "in": "query"
  1415. }
  1416. ],
  1417. "responses": {
  1418. "200": {
  1419. "description": "OK",
  1420. "schema": {
  1421. "type": "array",
  1422. "items": {
  1423. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1424. }
  1425. }
  1426. },
  1427. "500": {
  1428. "description": "Internal Server Error",
  1429. "schema": {
  1430. "$ref": "#/definitions/app.Response"
  1431. }
  1432. }
  1433. }
  1434. }
  1435. },
  1436. "/Ermcp/QueryBusinessFp": {
  1437. "get": {
  1438. "security": [
  1439. {
  1440. "ApiKeyAuth": []
  1441. }
  1442. ],
  1443. "produces": [
  1444. "application/json"
  1445. ],
  1446. "tags": [
  1447. "企业风险管理(app)"
  1448. ],
  1449. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1450. "parameters": [
  1451. {
  1452. "type": "integer",
  1453. "description": "用户ID",
  1454. "name": "UserId",
  1455. "in": "query",
  1456. "required": true
  1457. },
  1458. {
  1459. "type": "integer",
  1460. "description": "用户类型 2-机构 7-企业成员",
  1461. "name": "usertype",
  1462. "in": "query"
  1463. },
  1464. {
  1465. "type": "string",
  1466. "description": "现货合同ID, 不填则查所有",
  1467. "name": "relatedid",
  1468. "in": "query"
  1469. },
  1470. {
  1471. "type": "string",
  1472. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1473. "name": "applystatus",
  1474. "in": "query"
  1475. }
  1476. ],
  1477. "responses": {
  1478. "200": {
  1479. "description": "OK",
  1480. "schema": {
  1481. "type": "array",
  1482. "items": {
  1483. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1484. }
  1485. }
  1486. },
  1487. "500": {
  1488. "description": "Internal Server Error",
  1489. "schema": {
  1490. "$ref": "#/definitions/app.Response"
  1491. }
  1492. }
  1493. }
  1494. }
  1495. },
  1496. "/Ermcp/QueryBusinessJs": {
  1497. "get": {
  1498. "security": [
  1499. {
  1500. "ApiKeyAuth": []
  1501. }
  1502. ],
  1503. "produces": [
  1504. "application/json"
  1505. ],
  1506. "tags": [
  1507. "企业风险管理(app)"
  1508. ],
  1509. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1510. "parameters": [
  1511. {
  1512. "type": "integer",
  1513. "description": "用户ID",
  1514. "name": "UserId",
  1515. "in": "query",
  1516. "required": true
  1517. },
  1518. {
  1519. "type": "integer",
  1520. "description": "用户类型 2-机构 7-企业成员",
  1521. "name": "usertype",
  1522. "in": "query"
  1523. },
  1524. {
  1525. "type": "string",
  1526. "description": "现货合同ID, 不填则查所有",
  1527. "name": "relatedid",
  1528. "in": "query"
  1529. },
  1530. {
  1531. "type": "string",
  1532. "description": "操作申请id",
  1533. "name": "operateapplyid",
  1534. "in": "query"
  1535. },
  1536. {
  1537. "type": "string",
  1538. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1539. "name": "applystatus",
  1540. "in": "query"
  1541. }
  1542. ],
  1543. "responses": {
  1544. "200": {
  1545. "description": "OK",
  1546. "schema": {
  1547. "type": "array",
  1548. "items": {
  1549. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1550. }
  1551. }
  1552. },
  1553. "500": {
  1554. "description": "Internal Server Error",
  1555. "schema": {
  1556. "$ref": "#/definitions/app.Response"
  1557. }
  1558. }
  1559. }
  1560. }
  1561. },
  1562. "/Ermcp/QueryBusinessJsEx": {
  1563. "get": {
  1564. "security": [
  1565. {
  1566. "ApiKeyAuth": []
  1567. }
  1568. ],
  1569. "produces": [
  1570. "application/json"
  1571. ],
  1572. "tags": [
  1573. "企业风险管理(app)"
  1574. ],
  1575. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1576. "parameters": [
  1577. {
  1578. "type": "integer",
  1579. "description": "用户ID",
  1580. "name": "UserId",
  1581. "in": "query",
  1582. "required": true
  1583. },
  1584. {
  1585. "type": "integer",
  1586. "description": "用户类型 2-机构 7-企业成员",
  1587. "name": "usertype",
  1588. "in": "query"
  1589. },
  1590. {
  1591. "type": "string",
  1592. "description": "现货合同ID, 不填则查所有",
  1593. "name": "relatedid",
  1594. "in": "query"
  1595. },
  1596. {
  1597. "type": "string",
  1598. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1599. "name": "applystatus",
  1600. "in": "query"
  1601. }
  1602. ],
  1603. "responses": {
  1604. "200": {
  1605. "description": "OK",
  1606. "schema": {
  1607. "type": "array",
  1608. "items": {
  1609. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1610. }
  1611. }
  1612. },
  1613. "500": {
  1614. "description": "Internal Server Error",
  1615. "schema": {
  1616. "$ref": "#/definitions/app.Response"
  1617. }
  1618. }
  1619. }
  1620. }
  1621. },
  1622. "/Ermcp/QueryBusinessKx": {
  1623. "get": {
  1624. "security": [
  1625. {
  1626. "ApiKeyAuth": []
  1627. }
  1628. ],
  1629. "produces": [
  1630. "application/json"
  1631. ],
  1632. "tags": [
  1633. "企业风险管理(app)"
  1634. ],
  1635. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1636. "parameters": [
  1637. {
  1638. "type": "integer",
  1639. "description": "用户ID",
  1640. "name": "UserId",
  1641. "in": "query",
  1642. "required": true
  1643. },
  1644. {
  1645. "type": "integer",
  1646. "description": "用户类型 2-机构 7-企业成员",
  1647. "name": "usertype",
  1648. "in": "query"
  1649. },
  1650. {
  1651. "type": "string",
  1652. "description": "现货合同ID, 不填则查所有",
  1653. "name": "relatedid",
  1654. "in": "query"
  1655. },
  1656. {
  1657. "type": "string",
  1658. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1659. "name": "applystatus",
  1660. "in": "query"
  1661. }
  1662. ],
  1663. "responses": {
  1664. "200": {
  1665. "description": "OK",
  1666. "schema": {
  1667. "type": "array",
  1668. "items": {
  1669. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1670. }
  1671. }
  1672. },
  1673. "500": {
  1674. "description": "Internal Server Error",
  1675. "schema": {
  1676. "$ref": "#/definitions/app.Response"
  1677. }
  1678. }
  1679. }
  1680. }
  1681. },
  1682. "/Ermcp/QueryChangeLog": {
  1683. "get": {
  1684. "security": [
  1685. {
  1686. "ApiKeyAuth": []
  1687. }
  1688. ],
  1689. "produces": [
  1690. "application/json"
  1691. ],
  1692. "tags": [
  1693. "企业风险管理(app)"
  1694. ],
  1695. "summary": "查询变更记录",
  1696. "parameters": [
  1697. {
  1698. "type": "string",
  1699. "description": "合同ID",
  1700. "name": "RelatedId",
  1701. "in": "query",
  1702. "required": true
  1703. }
  1704. ],
  1705. "responses": {
  1706. "200": {
  1707. "description": "OK",
  1708. "schema": {
  1709. "type": "array",
  1710. "items": {
  1711. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1712. }
  1713. }
  1714. },
  1715. "500": {
  1716. "description": "Internal Server Error",
  1717. "schema": {
  1718. "$ref": "#/definitions/app.Response"
  1719. }
  1720. }
  1721. }
  1722. }
  1723. },
  1724. "/Ermcp/QueryErmcpHisOrderDetails": {
  1725. "get": {
  1726. "security": [
  1727. {
  1728. "ApiKeyAuth": []
  1729. }
  1730. ],
  1731. "produces": [
  1732. "application/json"
  1733. ],
  1734. "tags": [
  1735. "企业风险管理(app)"
  1736. ],
  1737. "summary": "获取企业风管期货历史委托单信息",
  1738. "parameters": [
  1739. {
  1740. "type": "integer",
  1741. "description": "资金账户ID",
  1742. "name": "accountID",
  1743. "in": "query",
  1744. "required": true
  1745. },
  1746. {
  1747. "type": "string",
  1748. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1749. "name": "startDate",
  1750. "in": "query"
  1751. },
  1752. {
  1753. "type": "string",
  1754. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1755. "name": "endDate",
  1756. "in": "query"
  1757. }
  1758. ],
  1759. "responses": {
  1760. "200": {
  1761. "description": "OK",
  1762. "schema": {
  1763. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1764. }
  1765. },
  1766. "500": {
  1767. "description": "Internal Server Error",
  1768. "schema": {
  1769. "$ref": "#/definitions/app.Response"
  1770. }
  1771. }
  1772. }
  1773. }
  1774. },
  1775. "/Ermcp/QueryErmcpHisTradeDetails": {
  1776. "get": {
  1777. "security": [
  1778. {
  1779. "ApiKeyAuth": []
  1780. }
  1781. ],
  1782. "produces": [
  1783. "application/json"
  1784. ],
  1785. "tags": [
  1786. "企业风险管理(app)"
  1787. ],
  1788. "summary": "获取企业风管期货历史成交单信息",
  1789. "parameters": [
  1790. {
  1791. "type": "integer",
  1792. "description": "资金账户ID",
  1793. "name": "accountID",
  1794. "in": "query",
  1795. "required": true
  1796. },
  1797. {
  1798. "type": "integer",
  1799. "description": "商品ID",
  1800. "name": "goodsID",
  1801. "in": "query"
  1802. },
  1803. {
  1804. "type": "integer",
  1805. "description": "买卖方向,0:买 1:卖",
  1806. "name": "buyOrSell",
  1807. "in": "query"
  1808. },
  1809. {
  1810. "type": "integer",
  1811. "description": "关联委托单号",
  1812. "name": "orderID",
  1813. "in": "query"
  1814. },
  1815. {
  1816. "type": "string",
  1817. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1818. "name": "startDate",
  1819. "in": "query"
  1820. },
  1821. {
  1822. "type": "string",
  1823. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1824. "name": "endDate",
  1825. "in": "query"
  1826. }
  1827. ],
  1828. "responses": {
  1829. "200": {
  1830. "description": "OK",
  1831. "schema": {
  1832. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1833. }
  1834. },
  1835. "500": {
  1836. "description": "Internal Server Error",
  1837. "schema": {
  1838. "$ref": "#/definitions/app.Response"
  1839. }
  1840. }
  1841. }
  1842. }
  1843. },
  1844. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1845. "get": {
  1846. "security": [
  1847. {
  1848. "ApiKeyAuth": []
  1849. }
  1850. ],
  1851. "produces": [
  1852. "application/json"
  1853. ],
  1854. "tags": [
  1855. "企业风险管理(app)"
  1856. ],
  1857. "summary": "获取企业风管期货内部持仓单信息",
  1858. "parameters": [
  1859. {
  1860. "type": "integer",
  1861. "description": "资金账户ID",
  1862. "name": "accountID",
  1863. "in": "query",
  1864. "required": true
  1865. },
  1866. {
  1867. "type": "integer",
  1868. "description": "商品ID",
  1869. "name": "goodsID",
  1870. "in": "query"
  1871. },
  1872. {
  1873. "type": "integer",
  1874. "description": "买卖方向,0:买 1:卖",
  1875. "name": "buyOrSell",
  1876. "in": "query"
  1877. }
  1878. ],
  1879. "responses": {
  1880. "200": {
  1881. "description": "OK",
  1882. "schema": {
  1883. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1884. }
  1885. },
  1886. "500": {
  1887. "description": "Internal Server Error",
  1888. "schema": {
  1889. "$ref": "#/definitions/app.Response"
  1890. }
  1891. }
  1892. }
  1893. }
  1894. },
  1895. "/Ermcp/QueryErmcpOrderDetails": {
  1896. "get": {
  1897. "security": [
  1898. {
  1899. "ApiKeyAuth": []
  1900. }
  1901. ],
  1902. "produces": [
  1903. "application/json"
  1904. ],
  1905. "tags": [
  1906. "企业风险管理(app)"
  1907. ],
  1908. "summary": "获取企业风管期货委托单信息",
  1909. "parameters": [
  1910. {
  1911. "type": "integer",
  1912. "description": "资金账户ID",
  1913. "name": "accountID",
  1914. "in": "query",
  1915. "required": true
  1916. }
  1917. ],
  1918. "responses": {
  1919. "200": {
  1920. "description": "OK",
  1921. "schema": {
  1922. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1923. }
  1924. },
  1925. "500": {
  1926. "description": "Internal Server Error",
  1927. "schema": {
  1928. "$ref": "#/definitions/app.Response"
  1929. }
  1930. }
  1931. }
  1932. }
  1933. },
  1934. "/Ermcp/QueryErmcpTradeDetails": {
  1935. "get": {
  1936. "security": [
  1937. {
  1938. "ApiKeyAuth": []
  1939. }
  1940. ],
  1941. "produces": [
  1942. "application/json"
  1943. ],
  1944. "tags": [
  1945. "企业风险管理(app)"
  1946. ],
  1947. "summary": "获取企业风管期货成交单信息",
  1948. "parameters": [
  1949. {
  1950. "type": "integer",
  1951. "description": "资金账户ID",
  1952. "name": "accountID",
  1953. "in": "query",
  1954. "required": true
  1955. },
  1956. {
  1957. "type": "integer",
  1958. "description": "商品ID",
  1959. "name": "goodsID",
  1960. "in": "query"
  1961. },
  1962. {
  1963. "type": "integer",
  1964. "description": "买卖方向,0:买 1:卖",
  1965. "name": "buyOrSell",
  1966. "in": "query"
  1967. },
  1968. {
  1969. "type": "integer",
  1970. "description": "关联委托单号",
  1971. "name": "orderID",
  1972. "in": "query"
  1973. }
  1974. ],
  1975. "responses": {
  1976. "200": {
  1977. "description": "OK",
  1978. "schema": {
  1979. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1980. }
  1981. },
  1982. "500": {
  1983. "description": "Internal Server Error",
  1984. "schema": {
  1985. "$ref": "#/definitions/app.Response"
  1986. }
  1987. }
  1988. }
  1989. }
  1990. },
  1991. "/Ermcp/QueryErmcpTradePosition": {
  1992. "get": {
  1993. "security": [
  1994. {
  1995. "ApiKeyAuth": []
  1996. }
  1997. ],
  1998. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1999. "produces": [
  2000. "application/json"
  2001. ],
  2002. "tags": [
  2003. "企业风险管理(app)"
  2004. ],
  2005. "summary": "获取企业风管期货持仓头寸信息",
  2006. "parameters": [
  2007. {
  2008. "type": "integer",
  2009. "description": "资金账户ID",
  2010. "name": "accountID",
  2011. "in": "query",
  2012. "required": true
  2013. },
  2014. {
  2015. "type": "integer",
  2016. "description": "所属市场ID",
  2017. "name": "marketID",
  2018. "in": "query"
  2019. }
  2020. ],
  2021. "responses": {
  2022. "200": {
  2023. "description": "OK",
  2024. "schema": {
  2025. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2026. }
  2027. },
  2028. "500": {
  2029. "description": "Internal Server Error",
  2030. "schema": {
  2031. "$ref": "#/definitions/app.Response"
  2032. }
  2033. }
  2034. }
  2035. }
  2036. },
  2037. "/Ermcp/QueryExposureDetail": {
  2038. "get": {
  2039. "security": [
  2040. {
  2041. "ApiKeyAuth": []
  2042. }
  2043. ],
  2044. "produces": [
  2045. "application/json"
  2046. ],
  2047. "tags": [
  2048. "企业风险管理(app)"
  2049. ],
  2050. "summary": "查询敞口现货明细",
  2051. "parameters": [
  2052. {
  2053. "type": "integer",
  2054. "description": "所属机构ID",
  2055. "name": "areaUserId",
  2056. "in": "query",
  2057. "required": true
  2058. },
  2059. {
  2060. "type": "integer",
  2061. "description": "套保商品",
  2062. "name": "middleGoodsId",
  2063. "in": "query",
  2064. "required": true
  2065. }
  2066. ],
  2067. "responses": {
  2068. "200": {
  2069. "description": "OK",
  2070. "schema": {
  2071. "type": "array",
  2072. "items": {
  2073. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2074. }
  2075. }
  2076. },
  2077. "500": {
  2078. "description": "Internal Server Error",
  2079. "schema": {
  2080. "$ref": "#/definitions/app.Response"
  2081. }
  2082. }
  2083. }
  2084. }
  2085. },
  2086. "/Ermcp/QueryExposureGoods": {
  2087. "get": {
  2088. "security": [
  2089. {
  2090. "ApiKeyAuth": []
  2091. }
  2092. ],
  2093. "produces": [
  2094. "application/json"
  2095. ],
  2096. "tags": [
  2097. "企业风险管理(app)"
  2098. ],
  2099. "summary": "查询敞口主力合约",
  2100. "parameters": [
  2101. {
  2102. "type": "integer",
  2103. "description": "套保商品id",
  2104. "name": "middlegoodsid",
  2105. "in": "query",
  2106. "required": true
  2107. }
  2108. ],
  2109. "responses": {
  2110. "200": {
  2111. "description": "OK",
  2112. "schema": {
  2113. "type": "array",
  2114. "items": {
  2115. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2116. }
  2117. }
  2118. },
  2119. "500": {
  2120. "description": "Internal Server Error",
  2121. "schema": {
  2122. "$ref": "#/definitions/app.Response"
  2123. }
  2124. }
  2125. }
  2126. }
  2127. },
  2128. "/Ermcp/QueryExposureHedgePosition": {
  2129. "get": {
  2130. "security": [
  2131. {
  2132. "ApiKeyAuth": []
  2133. }
  2134. ],
  2135. "produces": [
  2136. "application/json"
  2137. ],
  2138. "tags": [
  2139. "企业风险管理(app)"
  2140. ],
  2141. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2142. "parameters": [
  2143. {
  2144. "type": "integer",
  2145. "description": "用户id",
  2146. "name": "userid",
  2147. "in": "query",
  2148. "required": true
  2149. }
  2150. ],
  2151. "responses": {
  2152. "200": {
  2153. "description": "OK",
  2154. "schema": {
  2155. "type": "array",
  2156. "items": {
  2157. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2158. }
  2159. }
  2160. },
  2161. "500": {
  2162. "description": "Internal Server Error",
  2163. "schema": {
  2164. "$ref": "#/definitions/app.Response"
  2165. }
  2166. }
  2167. }
  2168. }
  2169. },
  2170. "/Ermcp/QueryExposureHedgePositionDetail": {
  2171. "get": {
  2172. "security": [
  2173. {
  2174. "ApiKeyAuth": []
  2175. }
  2176. ],
  2177. "produces": [
  2178. "application/json"
  2179. ],
  2180. "tags": [
  2181. "企业风险管理(app)"
  2182. ],
  2183. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2184. "parameters": [
  2185. {
  2186. "type": "integer",
  2187. "description": "所属机构ID",
  2188. "name": "userid",
  2189. "in": "query",
  2190. "required": true
  2191. },
  2192. {
  2193. "type": "integer",
  2194. "description": "商品id",
  2195. "name": "goodsId",
  2196. "in": "query",
  2197. "required": true
  2198. }
  2199. ],
  2200. "responses": {
  2201. "200": {
  2202. "description": "OK",
  2203. "schema": {
  2204. "type": "array",
  2205. "items": {
  2206. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2207. }
  2208. }
  2209. },
  2210. "500": {
  2211. "description": "Internal Server Error",
  2212. "schema": {
  2213. "$ref": "#/definitions/app.Response"
  2214. }
  2215. }
  2216. }
  2217. }
  2218. },
  2219. "/Ermcp/QueryExposureSpot": {
  2220. "get": {
  2221. "security": [
  2222. {
  2223. "ApiKeyAuth": []
  2224. }
  2225. ],
  2226. "produces": [
  2227. "application/json"
  2228. ],
  2229. "tags": [
  2230. "企业风险管理(app)"
  2231. ],
  2232. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2233. "parameters": [
  2234. {
  2235. "type": "integer",
  2236. "description": "所属机构ID",
  2237. "name": "areaUserId",
  2238. "in": "query",
  2239. "required": true
  2240. }
  2241. ],
  2242. "responses": {
  2243. "200": {
  2244. "description": "OK",
  2245. "schema": {
  2246. "type": "array",
  2247. "items": {
  2248. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2249. }
  2250. }
  2251. },
  2252. "500": {
  2253. "description": "Internal Server Error",
  2254. "schema": {
  2255. "$ref": "#/definitions/app.Response"
  2256. }
  2257. }
  2258. }
  2259. }
  2260. },
  2261. "/Ermcp/QueryExposureSpotDetail": {
  2262. "get": {
  2263. "security": [
  2264. {
  2265. "ApiKeyAuth": []
  2266. }
  2267. ],
  2268. "produces": [
  2269. "application/json"
  2270. ],
  2271. "tags": [
  2272. "企业风险管理(app)"
  2273. ],
  2274. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2275. "parameters": [
  2276. {
  2277. "type": "integer",
  2278. "description": "所属机构ID",
  2279. "name": "areaUserId",
  2280. "in": "query",
  2281. "required": true
  2282. },
  2283. {
  2284. "type": "integer",
  2285. "description": "现货品种ID",
  2286. "name": "wrstandardId",
  2287. "in": "query",
  2288. "required": true
  2289. }
  2290. ],
  2291. "responses": {
  2292. "200": {
  2293. "description": "OK",
  2294. "schema": {
  2295. "type": "array",
  2296. "items": {
  2297. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2298. }
  2299. }
  2300. },
  2301. "500": {
  2302. "description": "Internal Server Error",
  2303. "schema": {
  2304. "$ref": "#/definitions/app.Response"
  2305. }
  2306. }
  2307. }
  2308. }
  2309. },
  2310. "/Ermcp/QueryFuturesCompany": {
  2311. "get": {
  2312. "security": [
  2313. {
  2314. "ApiKeyAuth": []
  2315. }
  2316. ],
  2317. "produces": [
  2318. "application/json"
  2319. ],
  2320. "tags": [
  2321. "企业风险管理(app)"
  2322. ],
  2323. "summary": "查询期货公司",
  2324. "responses": {
  2325. "200": {
  2326. "description": "OK",
  2327. "schema": {
  2328. "type": "array",
  2329. "items": {
  2330. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2331. }
  2332. }
  2333. },
  2334. "500": {
  2335. "description": "Internal Server Error",
  2336. "schema": {
  2337. "$ref": "#/definitions/app.Response"
  2338. }
  2339. }
  2340. }
  2341. }
  2342. },
  2343. "/Ermcp/QueryGGConvertConfig": {
  2344. "get": {
  2345. "security": [
  2346. {
  2347. "ApiKeyAuth": []
  2348. }
  2349. ],
  2350. "produces": [
  2351. "application/json"
  2352. ],
  2353. "tags": [
  2354. "企业风险管理(app)"
  2355. ],
  2356. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2357. "parameters": [
  2358. {
  2359. "type": "integer",
  2360. "description": "品种id(不填则查所有)",
  2361. "name": "goodsgroupid",
  2362. "in": "query"
  2363. }
  2364. ],
  2365. "responses": {
  2366. "200": {
  2367. "description": "OK",
  2368. "schema": {
  2369. "type": "array",
  2370. "items": {
  2371. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2372. }
  2373. }
  2374. },
  2375. "500": {
  2376. "description": "Internal Server Error",
  2377. "schema": {
  2378. "$ref": "#/definitions/app.Response"
  2379. }
  2380. }
  2381. }
  2382. }
  2383. },
  2384. "/Ermcp/QueryGoodsBrand": {
  2385. "get": {
  2386. "security": [
  2387. {
  2388. "ApiKeyAuth": []
  2389. }
  2390. ],
  2391. "produces": [
  2392. "application/json"
  2393. ],
  2394. "tags": [
  2395. "企业风险管理(app)"
  2396. ],
  2397. "summary": "查询商品品牌",
  2398. "parameters": [
  2399. {
  2400. "type": "integer",
  2401. "description": "用户ID",
  2402. "name": "userid",
  2403. "in": "query",
  2404. "required": true
  2405. },
  2406. {
  2407. "type": "integer",
  2408. "description": "现货商品ID",
  2409. "name": "wrstandardid",
  2410. "in": "query"
  2411. }
  2412. ],
  2413. "responses": {
  2414. "200": {
  2415. "description": "OK",
  2416. "schema": {
  2417. "type": "array",
  2418. "items": {
  2419. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2420. }
  2421. }
  2422. },
  2423. "500": {
  2424. "description": "Internal Server Error",
  2425. "schema": {
  2426. "$ref": "#/definitions/app.Response"
  2427. }
  2428. }
  2429. }
  2430. }
  2431. },
  2432. "/Ermcp/QueryGoodsModel": {
  2433. "get": {
  2434. "security": [
  2435. {
  2436. "ApiKeyAuth": []
  2437. }
  2438. ],
  2439. "produces": [
  2440. "application/json"
  2441. ],
  2442. "tags": [
  2443. "企业风险管理(app)"
  2444. ],
  2445. "summary": "查询商品型号",
  2446. "parameters": [
  2447. {
  2448. "type": "integer",
  2449. "description": "用户ID",
  2450. "name": "userid",
  2451. "in": "query",
  2452. "required": true
  2453. }
  2454. ],
  2455. "responses": {
  2456. "200": {
  2457. "description": "OK",
  2458. "schema": {
  2459. "type": "array",
  2460. "items": {
  2461. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2462. }
  2463. }
  2464. },
  2465. "500": {
  2466. "description": "Internal Server Error",
  2467. "schema": {
  2468. "$ref": "#/definitions/app.Response"
  2469. }
  2470. }
  2471. }
  2472. }
  2473. },
  2474. "/Ermcp/QueryHisExposure": {
  2475. "get": {
  2476. "security": [
  2477. {
  2478. "ApiKeyAuth": []
  2479. }
  2480. ],
  2481. "produces": [
  2482. "application/json"
  2483. ],
  2484. "tags": [
  2485. "企业风险管理(app)"
  2486. ],
  2487. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2488. "parameters": [
  2489. {
  2490. "type": "integer",
  2491. "description": "用户id",
  2492. "name": "userid",
  2493. "in": "query",
  2494. "required": true
  2495. },
  2496. {
  2497. "type": "integer",
  2498. "description": "每个品种记录数",
  2499. "name": "lastNum",
  2500. "in": "query",
  2501. "required": true
  2502. }
  2503. ],
  2504. "responses": {
  2505. "200": {
  2506. "description": "OK",
  2507. "schema": {
  2508. "type": "array",
  2509. "items": {
  2510. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2511. }
  2512. }
  2513. },
  2514. "500": {
  2515. "description": "Internal Server Error",
  2516. "schema": {
  2517. "$ref": "#/definitions/app.Response"
  2518. }
  2519. }
  2520. }
  2521. }
  2522. },
  2523. "/Ermcp/QueryMiddleGoods": {
  2524. "get": {
  2525. "security": [
  2526. {
  2527. "ApiKeyAuth": []
  2528. }
  2529. ],
  2530. "produces": [
  2531. "application/json"
  2532. ],
  2533. "tags": [
  2534. "企业风险管理(app)"
  2535. ],
  2536. "summary": "查询套保品种(菜单:套保品种)",
  2537. "parameters": [
  2538. {
  2539. "type": "integer",
  2540. "description": "所属机构ID",
  2541. "name": "userid",
  2542. "in": "query",
  2543. "required": true
  2544. },
  2545. {
  2546. "type": "integer",
  2547. "description": "状态 0-停用 1-正常",
  2548. "name": "status",
  2549. "in": "query",
  2550. "required": true
  2551. }
  2552. ],
  2553. "responses": {
  2554. "200": {
  2555. "description": "OK",
  2556. "schema": {
  2557. "type": "array",
  2558. "items": {
  2559. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2560. }
  2561. }
  2562. },
  2563. "500": {
  2564. "description": "Internal Server Error",
  2565. "schema": {
  2566. "$ref": "#/definitions/app.Response"
  2567. }
  2568. }
  2569. }
  2570. }
  2571. },
  2572. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2573. "get": {
  2574. "security": [
  2575. {
  2576. "ApiKeyAuth": []
  2577. }
  2578. ],
  2579. "produces": [
  2580. "application/json"
  2581. ],
  2582. "tags": [
  2583. "企业风险管理(app)"
  2584. ],
  2585. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2586. "parameters": [
  2587. {
  2588. "type": "integer",
  2589. "description": "所属机构ID",
  2590. "name": "userid",
  2591. "in": "query",
  2592. "required": true
  2593. },
  2594. {
  2595. "type": "integer",
  2596. "description": "套保品种id",
  2597. "name": "middlegoodsid",
  2598. "in": "query",
  2599. "required": true
  2600. }
  2601. ],
  2602. "responses": {
  2603. "200": {
  2604. "description": "OK",
  2605. "schema": {
  2606. "type": "array",
  2607. "items": {
  2608. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2609. }
  2610. }
  2611. },
  2612. "500": {
  2613. "description": "Internal Server Error",
  2614. "schema": {
  2615. "$ref": "#/definitions/app.Response"
  2616. }
  2617. }
  2618. }
  2619. }
  2620. },
  2621. "/Ermcp/QueryMiddleGoodsDetail": {
  2622. "get": {
  2623. "security": [
  2624. {
  2625. "ApiKeyAuth": []
  2626. }
  2627. ],
  2628. "produces": [
  2629. "application/json"
  2630. ],
  2631. "tags": [
  2632. "企业风险管理(app)"
  2633. ],
  2634. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2635. "parameters": [
  2636. {
  2637. "type": "integer",
  2638. "description": "所属机构ID",
  2639. "name": "userid",
  2640. "in": "query",
  2641. "required": true
  2642. },
  2643. {
  2644. "type": "integer",
  2645. "description": "套保品种id",
  2646. "name": "middlegoodsid",
  2647. "in": "query"
  2648. }
  2649. ],
  2650. "responses": {
  2651. "200": {
  2652. "description": "OK",
  2653. "schema": {
  2654. "type": "array",
  2655. "items": {
  2656. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2657. }
  2658. }
  2659. },
  2660. "500": {
  2661. "description": "Internal Server Error",
  2662. "schema": {
  2663. "$ref": "#/definitions/app.Response"
  2664. }
  2665. }
  2666. }
  2667. }
  2668. },
  2669. "/Ermcp/QueryPendingAuditInfo": {
  2670. "get": {
  2671. "security": [
  2672. {
  2673. "ApiKeyAuth": []
  2674. }
  2675. ],
  2676. "produces": [
  2677. "application/json"
  2678. ],
  2679. "tags": [
  2680. "企业风险管理(app)"
  2681. ],
  2682. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2683. "parameters": [
  2684. {
  2685. "type": "integer",
  2686. "description": "用户ID",
  2687. "name": "UserId",
  2688. "in": "query",
  2689. "required": true
  2690. }
  2691. ],
  2692. "responses": {
  2693. "200": {
  2694. "description": "OK",
  2695. "schema": {
  2696. "type": "array",
  2697. "items": {
  2698. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2699. }
  2700. }
  2701. },
  2702. "500": {
  2703. "description": "Internal Server Error",
  2704. "schema": {
  2705. "$ref": "#/definitions/app.Response"
  2706. }
  2707. }
  2708. }
  2709. }
  2710. },
  2711. "/Ermcp/QueryRealtimeExposure": {
  2712. "get": {
  2713. "security": [
  2714. {
  2715. "ApiKeyAuth": []
  2716. }
  2717. ],
  2718. "produces": [
  2719. "application/json"
  2720. ],
  2721. "tags": [
  2722. "企业风险管理(app)"
  2723. ],
  2724. "summary": "查询实时敞口",
  2725. "parameters": [
  2726. {
  2727. "type": "integer",
  2728. "description": "所属机构ID",
  2729. "name": "userid",
  2730. "in": "query",
  2731. "required": true
  2732. }
  2733. ],
  2734. "responses": {
  2735. "200": {
  2736. "description": "OK",
  2737. "schema": {
  2738. "type": "array",
  2739. "items": {
  2740. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2741. }
  2742. }
  2743. },
  2744. "500": {
  2745. "description": "Internal Server Error",
  2746. "schema": {
  2747. "$ref": "#/definitions/app.Response"
  2748. }
  2749. }
  2750. }
  2751. }
  2752. },
  2753. "/Ermcp/QueryRealtimeExposurePosition": {
  2754. "get": {
  2755. "security": [
  2756. {
  2757. "ApiKeyAuth": []
  2758. }
  2759. ],
  2760. "produces": [
  2761. "application/json"
  2762. ],
  2763. "tags": [
  2764. "企业风险管理(app)"
  2765. ],
  2766. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2767. "parameters": [
  2768. {
  2769. "type": "integer",
  2770. "description": "用户id",
  2771. "name": "userid",
  2772. "in": "query",
  2773. "required": true
  2774. },
  2775. {
  2776. "type": "integer",
  2777. "description": "套保商品ID",
  2778. "name": "middleGoodsId",
  2779. "in": "query",
  2780. "required": true
  2781. }
  2782. ],
  2783. "responses": {
  2784. "200": {
  2785. "description": "OK",
  2786. "schema": {
  2787. "type": "array",
  2788. "items": {
  2789. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2790. }
  2791. }
  2792. },
  2793. "500": {
  2794. "description": "Internal Server Error",
  2795. "schema": {
  2796. "$ref": "#/definitions/app.Response"
  2797. }
  2798. }
  2799. }
  2800. }
  2801. },
  2802. "/Ermcp/QueryRoleMenu": {
  2803. "get": {
  2804. "security": [
  2805. {
  2806. "ApiKeyAuth": []
  2807. }
  2808. ],
  2809. "produces": [
  2810. "application/json"
  2811. ],
  2812. "tags": [
  2813. "企业风险管理(app)"
  2814. ],
  2815. "summary": "查询角色菜单和权限",
  2816. "parameters": [
  2817. {
  2818. "type": "integer",
  2819. "description": "登录ID",
  2820. "name": "loginid",
  2821. "in": "query",
  2822. "required": true
  2823. },
  2824. {
  2825. "type": "integer",
  2826. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2827. "name": "menutype",
  2828. "in": "query"
  2829. }
  2830. ],
  2831. "responses": {
  2832. "200": {
  2833. "description": "OK",
  2834. "schema": {
  2835. "type": "array",
  2836. "items": {
  2837. "$ref": "#/definitions/models.RoleMenu"
  2838. }
  2839. }
  2840. },
  2841. "500": {
  2842. "description": "Internal Server Error",
  2843. "schema": {
  2844. "$ref": "#/definitions/app.Response"
  2845. }
  2846. }
  2847. }
  2848. }
  2849. },
  2850. "/Ermcp/QueryTradeConfigTMP": {
  2851. "get": {
  2852. "security": [
  2853. {
  2854. "ApiKeyAuth": []
  2855. }
  2856. ],
  2857. "produces": [
  2858. "application/json"
  2859. ],
  2860. "tags": [
  2861. "企业风险管理(app)"
  2862. ],
  2863. "summary": "查询交易模板配置",
  2864. "parameters": [
  2865. {
  2866. "type": "integer",
  2867. "description": "所属机构id",
  2868. "name": "areauserid",
  2869. "in": "query"
  2870. }
  2871. ],
  2872. "responses": {
  2873. "200": {
  2874. "description": "OK",
  2875. "schema": {
  2876. "type": "array",
  2877. "items": {
  2878. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2879. }
  2880. }
  2881. },
  2882. "500": {
  2883. "description": "Internal Server Error",
  2884. "schema": {
  2885. "$ref": "#/definitions/app.Response"
  2886. }
  2887. }
  2888. }
  2889. }
  2890. },
  2891. "/Ermcp/QueryUserInfo": {
  2892. "get": {
  2893. "security": [
  2894. {
  2895. "ApiKeyAuth": []
  2896. }
  2897. ],
  2898. "produces": [
  2899. "application/json"
  2900. ],
  2901. "tags": [
  2902. "企业风险管理(app)"
  2903. ],
  2904. "summary": "查询客户资料",
  2905. "parameters": [
  2906. {
  2907. "type": "integer",
  2908. "description": "所属机构用户ID",
  2909. "name": "MemberUserID",
  2910. "in": "query",
  2911. "required": true
  2912. },
  2913. {
  2914. "type": "integer",
  2915. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2916. "name": "queryType",
  2917. "in": "query",
  2918. "required": true
  2919. }
  2920. ],
  2921. "responses": {
  2922. "200": {
  2923. "description": "OK",
  2924. "schema": {
  2925. "type": "array",
  2926. "items": {
  2927. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2928. }
  2929. }
  2930. },
  2931. "500": {
  2932. "description": "Internal Server Error",
  2933. "schema": {
  2934. "$ref": "#/definitions/app.Response"
  2935. }
  2936. }
  2937. }
  2938. }
  2939. },
  2940. "/Ermcp/QueryWarehouseInfo": {
  2941. "get": {
  2942. "security": [
  2943. {
  2944. "ApiKeyAuth": []
  2945. }
  2946. ],
  2947. "produces": [
  2948. "application/json"
  2949. ],
  2950. "tags": [
  2951. "企业风险管理(app)"
  2952. ],
  2953. "summary": "查询仓库信息",
  2954. "parameters": [
  2955. {
  2956. "type": "integer",
  2957. "description": "用户ID",
  2958. "name": "userid",
  2959. "in": "query",
  2960. "required": true
  2961. },
  2962. {
  2963. "type": "string",
  2964. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2965. "name": "status",
  2966. "in": "query"
  2967. }
  2968. ],
  2969. "responses": {
  2970. "200": {
  2971. "description": "OK",
  2972. "schema": {
  2973. "type": "array",
  2974. "items": {
  2975. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2976. }
  2977. }
  2978. },
  2979. "500": {
  2980. "description": "Internal Server Error",
  2981. "schema": {
  2982. "$ref": "#/definitions/app.Response"
  2983. }
  2984. }
  2985. }
  2986. }
  2987. },
  2988. "/Ermcp3/QryAreaExpourseContractDetail": {
  2989. "get": {
  2990. "security": [
  2991. {
  2992. "ApiKeyAuth": []
  2993. }
  2994. ],
  2995. "produces": [
  2996. "application/json"
  2997. ],
  2998. "tags": [
  2999. "企业风险管理v3(app)"
  3000. ],
  3001. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3002. "parameters": [
  3003. {
  3004. "type": "integer",
  3005. "description": "用户ID",
  3006. "name": "userid",
  3007. "in": "query",
  3008. "required": true
  3009. },
  3010. {
  3011. "type": "integer",
  3012. "description": "套保商品id",
  3013. "name": "middlegoodsid",
  3014. "in": "query",
  3015. "required": true
  3016. },
  3017. {
  3018. "type": "integer",
  3019. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3020. "name": "cycletype",
  3021. "in": "query",
  3022. "required": true
  3023. },
  3024. {
  3025. "type": "string",
  3026. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3027. "name": "cycletime",
  3028. "in": "query",
  3029. "required": true
  3030. }
  3031. ],
  3032. "responses": {
  3033. "200": {
  3034. "description": "OK",
  3035. "schema": {
  3036. "type": "array",
  3037. "items": {
  3038. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3039. }
  3040. }
  3041. },
  3042. "500": {
  3043. "description": "Internal Server Error",
  3044. "schema": {
  3045. "$ref": "#/definitions/app.Response"
  3046. }
  3047. }
  3048. }
  3049. }
  3050. },
  3051. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3052. "get": {
  3053. "security": [
  3054. {
  3055. "ApiKeyAuth": []
  3056. }
  3057. ],
  3058. "produces": [
  3059. "application/json"
  3060. ],
  3061. "tags": [
  3062. "企业风险管理v3(app)"
  3063. ],
  3064. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3065. "parameters": [
  3066. {
  3067. "type": "integer",
  3068. "description": "用户ID",
  3069. "name": "userid",
  3070. "in": "query",
  3071. "required": true
  3072. },
  3073. {
  3074. "type": "integer",
  3075. "description": "套保商品id",
  3076. "name": "middlegoodsid",
  3077. "in": "query",
  3078. "required": true
  3079. },
  3080. {
  3081. "type": "integer",
  3082. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3083. "name": "cycletype",
  3084. "in": "query",
  3085. "required": true
  3086. },
  3087. {
  3088. "type": "string",
  3089. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3090. "name": "cycletime",
  3091. "in": "query",
  3092. "required": true
  3093. }
  3094. ],
  3095. "responses": {
  3096. "200": {
  3097. "description": "OK",
  3098. "schema": {
  3099. "type": "array",
  3100. "items": {
  3101. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3102. }
  3103. }
  3104. },
  3105. "500": {
  3106. "description": "Internal Server Error",
  3107. "schema": {
  3108. "$ref": "#/definitions/app.Response"
  3109. }
  3110. }
  3111. }
  3112. }
  3113. },
  3114. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3115. "get": {
  3116. "security": [
  3117. {
  3118. "ApiKeyAuth": []
  3119. }
  3120. ],
  3121. "produces": [
  3122. "application/json"
  3123. ],
  3124. "tags": [
  3125. "企业风险管理v3(app)"
  3126. ],
  3127. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3128. "parameters": [
  3129. {
  3130. "type": "integer",
  3131. "description": "用户ID",
  3132. "name": "userid",
  3133. "in": "query",
  3134. "required": true
  3135. },
  3136. {
  3137. "type": "integer",
  3138. "description": "套保商品id",
  3139. "name": "middlegoodsid",
  3140. "in": "query",
  3141. "required": true
  3142. },
  3143. {
  3144. "type": "integer",
  3145. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3146. "name": "cycletype",
  3147. "in": "query",
  3148. "required": true
  3149. },
  3150. {
  3151. "type": "string",
  3152. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3153. "name": "cycletime",
  3154. "in": "query",
  3155. "required": true
  3156. }
  3157. ],
  3158. "responses": {
  3159. "200": {
  3160. "description": "OK",
  3161. "schema": {
  3162. "type": "array",
  3163. "items": {
  3164. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3165. }
  3166. }
  3167. },
  3168. "500": {
  3169. "description": "Internal Server Error",
  3170. "schema": {
  3171. "$ref": "#/definitions/app.Response"
  3172. }
  3173. }
  3174. }
  3175. }
  3176. },
  3177. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3178. "get": {
  3179. "security": [
  3180. {
  3181. "ApiKeyAuth": []
  3182. }
  3183. ],
  3184. "produces": [
  3185. "application/json"
  3186. ],
  3187. "tags": [
  3188. "企业风险管理v3(app)"
  3189. ],
  3190. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3191. "parameters": [
  3192. {
  3193. "type": "integer",
  3194. "description": "用户ID",
  3195. "name": "userid",
  3196. "in": "query",
  3197. "required": true
  3198. },
  3199. {
  3200. "type": "integer",
  3201. "description": "套保商品id",
  3202. "name": "middlegoodsid",
  3203. "in": "query",
  3204. "required": true
  3205. },
  3206. {
  3207. "type": "integer",
  3208. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3209. "name": "cycletype",
  3210. "in": "query",
  3211. "required": true
  3212. },
  3213. {
  3214. "type": "string",
  3215. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3216. "name": "cycletime",
  3217. "in": "query",
  3218. "required": true
  3219. }
  3220. ],
  3221. "responses": {
  3222. "200": {
  3223. "description": "OK",
  3224. "schema": {
  3225. "type": "array",
  3226. "items": {
  3227. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3228. }
  3229. }
  3230. },
  3231. "500": {
  3232. "description": "Internal Server Error",
  3233. "schema": {
  3234. "$ref": "#/definitions/app.Response"
  3235. }
  3236. }
  3237. }
  3238. }
  3239. },
  3240. "/Ermcp3/QryAreaExpourseReport": {
  3241. "get": {
  3242. "security": [
  3243. {
  3244. "ApiKeyAuth": []
  3245. }
  3246. ],
  3247. "produces": [
  3248. "application/json"
  3249. ],
  3250. "tags": [
  3251. "企业风险管理v3(app)"
  3252. ],
  3253. "summary": "查询敞口报表",
  3254. "parameters": [
  3255. {
  3256. "type": "integer",
  3257. "description": "用户ID",
  3258. "name": "userid",
  3259. "in": "query",
  3260. "required": true
  3261. },
  3262. {
  3263. "type": "integer",
  3264. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3265. "name": "querytype",
  3266. "in": "query",
  3267. "required": true
  3268. },
  3269. {
  3270. "type": "integer",
  3271. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3272. "name": "cycletype",
  3273. "in": "query",
  3274. "required": true
  3275. },
  3276. {
  3277. "type": "string",
  3278. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3279. "name": "cycletime",
  3280. "in": "query",
  3281. "required": true
  3282. }
  3283. ],
  3284. "responses": {
  3285. "200": {
  3286. "description": "OK",
  3287. "schema": {
  3288. "type": "array",
  3289. "items": {
  3290. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3291. }
  3292. }
  3293. },
  3294. "500": {
  3295. "description": "Internal Server Error",
  3296. "schema": {
  3297. "$ref": "#/definitions/app.Response"
  3298. }
  3299. }
  3300. }
  3301. }
  3302. },
  3303. "/Ermcp3/QryAreaSpotplReport": {
  3304. "get": {
  3305. "security": [
  3306. {
  3307. "ApiKeyAuth": []
  3308. }
  3309. ],
  3310. "produces": [
  3311. "application/json"
  3312. ],
  3313. "tags": [
  3314. "企业风险管理v3(app)"
  3315. ],
  3316. "summary": "查询现货报表",
  3317. "parameters": [
  3318. {
  3319. "type": "integer",
  3320. "description": "用户ID",
  3321. "name": "userid",
  3322. "in": "query",
  3323. "required": true
  3324. },
  3325. {
  3326. "type": "integer",
  3327. "description": "查询类型 1-报表 2-报表明细",
  3328. "name": "querytype",
  3329. "in": "query",
  3330. "required": true
  3331. },
  3332. {
  3333. "type": "integer",
  3334. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3335. "name": "cycletype",
  3336. "in": "query",
  3337. "required": true
  3338. },
  3339. {
  3340. "type": "string",
  3341. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3342. "name": "cycletime",
  3343. "in": "query",
  3344. "required": true
  3345. },
  3346. {
  3347. "type": "integer",
  3348. "description": "现货品种id(明细必填)",
  3349. "name": "deliverygoodsid",
  3350. "in": "query"
  3351. },
  3352. {
  3353. "type": "integer",
  3354. "description": "币种id(明细必填)",
  3355. "name": "currencyid",
  3356. "in": "query"
  3357. }
  3358. ],
  3359. "responses": {
  3360. "200": {
  3361. "description": "OK",
  3362. "schema": {
  3363. "type": "array",
  3364. "items": {
  3365. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3366. }
  3367. }
  3368. },
  3369. "500": {
  3370. "description": "Internal Server Error",
  3371. "schema": {
  3372. "$ref": "#/definitions/app.Response"
  3373. }
  3374. }
  3375. }
  3376. }
  3377. },
  3378. "/Ermcp3/QryAreaStockReport": {
  3379. "get": {
  3380. "security": [
  3381. {
  3382. "ApiKeyAuth": []
  3383. }
  3384. ],
  3385. "produces": [
  3386. "application/json"
  3387. ],
  3388. "tags": [
  3389. "企业风险管理v3(app)"
  3390. ],
  3391. "summary": "查询库存报表",
  3392. "parameters": [
  3393. {
  3394. "type": "integer",
  3395. "description": "用户ID",
  3396. "name": "userid",
  3397. "in": "query",
  3398. "required": true
  3399. },
  3400. {
  3401. "type": "integer",
  3402. "description": "查询类型 1-报表 2-报表明细",
  3403. "name": "querytype",
  3404. "in": "query",
  3405. "required": true
  3406. },
  3407. {
  3408. "type": "integer",
  3409. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3410. "name": "cycletype",
  3411. "in": "query",
  3412. "required": true
  3413. },
  3414. {
  3415. "type": "string",
  3416. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3417. "name": "cycletime",
  3418. "in": "query",
  3419. "required": true
  3420. },
  3421. {
  3422. "type": "string",
  3423. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3424. "name": "sumfields",
  3425. "in": "query"
  3426. },
  3427. {
  3428. "type": "integer",
  3429. "description": "品种ID",
  3430. "name": "deliverygoodsid",
  3431. "in": "query"
  3432. },
  3433. {
  3434. "type": "integer",
  3435. "description": "品类ID",
  3436. "name": "wrstandardid",
  3437. "in": "query"
  3438. },
  3439. {
  3440. "type": "integer",
  3441. "description": "品牌ID",
  3442. "name": "spotgoodsbrandid",
  3443. "in": "query"
  3444. },
  3445. {
  3446. "type": "integer",
  3447. "description": "仓库ID",
  3448. "name": "warehouseinfoid",
  3449. "in": "query"
  3450. }
  3451. ],
  3452. "responses": {
  3453. "200": {
  3454. "description": "OK",
  3455. "schema": {
  3456. "type": "array",
  3457. "items": {
  3458. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3459. }
  3460. }
  3461. },
  3462. "500": {
  3463. "description": "Internal Server Error",
  3464. "schema": {
  3465. "$ref": "#/definitions/app.Response"
  3466. }
  3467. }
  3468. }
  3469. }
  3470. },
  3471. "/Ermcp3/QryAreaSumPL": {
  3472. "get": {
  3473. "security": [
  3474. {
  3475. "ApiKeyAuth": []
  3476. }
  3477. ],
  3478. "produces": [
  3479. "application/json"
  3480. ],
  3481. "tags": [
  3482. "企业风险管理v3(app)"
  3483. ],
  3484. "summary": "查询汇总损益表",
  3485. "parameters": [
  3486. {
  3487. "type": "integer",
  3488. "description": "用户ID",
  3489. "name": "userid",
  3490. "in": "query",
  3491. "required": true
  3492. },
  3493. {
  3494. "type": "integer",
  3495. "description": "查询类型 1-报表 2-报表明细",
  3496. "name": "querytype",
  3497. "in": "query",
  3498. "required": true
  3499. },
  3500. {
  3501. "type": "integer",
  3502. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3503. "name": "cycletype",
  3504. "in": "query",
  3505. "required": true
  3506. },
  3507. {
  3508. "type": "string",
  3509. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3510. "name": "cycletime",
  3511. "in": "query",
  3512. "required": true
  3513. },
  3514. {
  3515. "type": "integer",
  3516. "description": "币种id(明细必填)",
  3517. "name": "currencyid",
  3518. "in": "query"
  3519. }
  3520. ],
  3521. "responses": {
  3522. "200": {
  3523. "description": "OK",
  3524. "schema": {
  3525. "type": "array",
  3526. "items": {
  3527. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3528. }
  3529. }
  3530. },
  3531. "500": {
  3532. "description": "Internal Server Error",
  3533. "schema": {
  3534. "$ref": "#/definitions/app.Response"
  3535. }
  3536. }
  3537. }
  3538. }
  3539. },
  3540. "/Ermcp3/QryFinanceReport": {
  3541. "get": {
  3542. "security": [
  3543. {
  3544. "ApiKeyAuth": []
  3545. }
  3546. ],
  3547. "produces": [
  3548. "application/json"
  3549. ],
  3550. "tags": [
  3551. "企业风险管理v3(app)"
  3552. ],
  3553. "summary": "查询财务报表",
  3554. "parameters": [
  3555. {
  3556. "type": "integer",
  3557. "description": "用户ID",
  3558. "name": "userid",
  3559. "in": "query",
  3560. "required": true
  3561. },
  3562. {
  3563. "type": "integer",
  3564. "description": "查询类型 1-报表 2-报表明细",
  3565. "name": "querytype",
  3566. "in": "query",
  3567. "required": true
  3568. },
  3569. {
  3570. "type": "integer",
  3571. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3572. "name": "cycletype",
  3573. "in": "query",
  3574. "required": true
  3575. },
  3576. {
  3577. "type": "string",
  3578. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3579. "name": "cycletime",
  3580. "in": "query",
  3581. "required": true
  3582. },
  3583. {
  3584. "type": "integer",
  3585. "description": "币种id(报表明细必填)",
  3586. "name": "currencyid",
  3587. "in": "query"
  3588. },
  3589. {
  3590. "type": "string",
  3591. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3592. "name": "sumfields",
  3593. "in": "query"
  3594. }
  3595. ],
  3596. "responses": {
  3597. "200": {
  3598. "description": "OK",
  3599. "schema": {
  3600. "type": "array",
  3601. "items": {
  3602. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3603. }
  3604. }
  3605. },
  3606. "500": {
  3607. "description": "Internal Server Error",
  3608. "schema": {
  3609. "$ref": "#/definitions/app.Response"
  3610. }
  3611. }
  3612. }
  3613. }
  3614. },
  3615. "/Ermcp3/QryTaFutureDataReport": {
  3616. "get": {
  3617. "security": [
  3618. {
  3619. "ApiKeyAuth": []
  3620. }
  3621. ],
  3622. "produces": [
  3623. "application/json"
  3624. ],
  3625. "tags": [
  3626. "企业风险管理v3(app)"
  3627. ],
  3628. "summary": "查询期货报表",
  3629. "parameters": [
  3630. {
  3631. "type": "integer",
  3632. "description": "用户ID",
  3633. "name": "userid",
  3634. "in": "query",
  3635. "required": true
  3636. },
  3637. {
  3638. "type": "integer",
  3639. "description": "查询类型 1-报表 2-报表明细",
  3640. "name": "querytype",
  3641. "in": "query",
  3642. "required": true
  3643. },
  3644. {
  3645. "type": "integer",
  3646. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3647. "name": "cycletype",
  3648. "in": "query",
  3649. "required": true
  3650. },
  3651. {
  3652. "type": "string",
  3653. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3654. "name": "cycletime",
  3655. "in": "query",
  3656. "required": true
  3657. },
  3658. {
  3659. "type": "integer",
  3660. "description": "币种id(查明细必填)",
  3661. "name": "currencyid",
  3662. "in": "query"
  3663. },
  3664. {
  3665. "type": "integer",
  3666. "description": "品种id(查明细必填)",
  3667. "name": "goodsgroupid",
  3668. "in": "query"
  3669. },
  3670. {
  3671. "type": "integer",
  3672. "description": "商品id(查明细必填)",
  3673. "name": "goodsid",
  3674. "in": "query"
  3675. },
  3676. {
  3677. "type": "integer",
  3678. "description": "买卖方向(查明细必填)",
  3679. "name": "buyorsell",
  3680. "in": "query"
  3681. }
  3682. ],
  3683. "responses": {
  3684. "200": {
  3685. "description": "OK",
  3686. "schema": {
  3687. "type": "array",
  3688. "items": {
  3689. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3690. }
  3691. }
  3692. },
  3693. "500": {
  3694. "description": "Internal Server Error",
  3695. "schema": {
  3696. "$ref": "#/definitions/app.Response"
  3697. }
  3698. }
  3699. }
  3700. }
  3701. },
  3702. "/Ermcp3/QueryAreaStock": {
  3703. "get": {
  3704. "security": [
  3705. {
  3706. "ApiKeyAuth": []
  3707. }
  3708. ],
  3709. "produces": [
  3710. "application/json"
  3711. ],
  3712. "tags": [
  3713. "企业风险管理v3(app)"
  3714. ],
  3715. "summary": "查询机构库存(库存管理/当前库存)",
  3716. "parameters": [
  3717. {
  3718. "type": "integer",
  3719. "description": "用户ID",
  3720. "name": "userid",
  3721. "in": "query",
  3722. "required": true
  3723. }
  3724. ],
  3725. "responses": {
  3726. "200": {
  3727. "description": "OK",
  3728. "schema": {
  3729. "type": "array",
  3730. "items": {
  3731. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3732. }
  3733. }
  3734. },
  3735. "500": {
  3736. "description": "Internal Server Error",
  3737. "schema": {
  3738. "$ref": "#/definitions/app.Response"
  3739. }
  3740. }
  3741. }
  3742. }
  3743. },
  3744. "/Ermcp3/QueryAreaStockApply": {
  3745. "get": {
  3746. "security": [
  3747. {
  3748. "ApiKeyAuth": []
  3749. }
  3750. ],
  3751. "produces": [
  3752. "application/json"
  3753. ],
  3754. "tags": [
  3755. "企业风险管理v3(app)"
  3756. ],
  3757. "summary": "查询库存申请(出入库记录|库存审核)",
  3758. "parameters": [
  3759. {
  3760. "type": "integer",
  3761. "description": "用户ID",
  3762. "name": "userid",
  3763. "in": "query",
  3764. "required": true
  3765. },
  3766. {
  3767. "type": "integer",
  3768. "description": "用户类型 2-机构 7-企业成员",
  3769. "name": "usertype",
  3770. "in": "query"
  3771. },
  3772. {
  3773. "type": "integer",
  3774. "description": "现货商品ID",
  3775. "name": "deliverygoodsid",
  3776. "in": "query"
  3777. },
  3778. {
  3779. "type": "string",
  3780. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3781. "name": "inouttype",
  3782. "in": "query"
  3783. },
  3784. {
  3785. "type": "integer",
  3786. "description": "合同ID",
  3787. "name": "spotcontractid",
  3788. "in": "query"
  3789. },
  3790. {
  3791. "type": "integer",
  3792. "description": "品类ID",
  3793. "name": "wrstandardid",
  3794. "in": "query"
  3795. },
  3796. {
  3797. "type": "integer",
  3798. "description": "品牌ID",
  3799. "name": "spotgoodsbrandid",
  3800. "in": "query"
  3801. },
  3802. {
  3803. "type": "integer",
  3804. "description": "仓库ID",
  3805. "name": "warehouseinfoid",
  3806. "in": "query"
  3807. },
  3808. {
  3809. "type": "string",
  3810. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3811. "name": "applystatus",
  3812. "in": "query"
  3813. }
  3814. ],
  3815. "responses": {
  3816. "200": {
  3817. "description": "OK",
  3818. "schema": {
  3819. "type": "array",
  3820. "items": {
  3821. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3822. }
  3823. }
  3824. },
  3825. "500": {
  3826. "description": "Internal Server Error",
  3827. "schema": {
  3828. "$ref": "#/definitions/app.Response"
  3829. }
  3830. }
  3831. }
  3832. }
  3833. },
  3834. "/Ermcp3/QueryAreaStockApplySum": {
  3835. "get": {
  3836. "security": [
  3837. {
  3838. "ApiKeyAuth": []
  3839. }
  3840. ],
  3841. "produces": [
  3842. "application/json"
  3843. ],
  3844. "tags": [
  3845. "企业风险管理v3(app)"
  3846. ],
  3847. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3848. "parameters": [
  3849. {
  3850. "type": "integer",
  3851. "description": "合同ID",
  3852. "name": "spotcontractid",
  3853. "in": "query",
  3854. "required": true
  3855. }
  3856. ],
  3857. "responses": {
  3858. "200": {
  3859. "description": "OK",
  3860. "schema": {
  3861. "type": "array",
  3862. "items": {
  3863. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3864. }
  3865. }
  3866. },
  3867. "500": {
  3868. "description": "Internal Server Error",
  3869. "schema": {
  3870. "$ref": "#/definitions/app.Response"
  3871. }
  3872. }
  3873. }
  3874. }
  3875. },
  3876. "/Ermcp3/QueryDGFactoryItem": {
  3877. "get": {
  3878. "security": [
  3879. {
  3880. "ApiKeyAuth": []
  3881. }
  3882. ],
  3883. "produces": [
  3884. "application/json"
  3885. ],
  3886. "tags": [
  3887. "企业风险管理v3(app)"
  3888. ],
  3889. "summary": "查询品种要素定义项",
  3890. "parameters": [
  3891. {
  3892. "type": "integer",
  3893. "description": "用户id",
  3894. "name": "userid",
  3895. "in": "query"
  3896. },
  3897. {
  3898. "type": "integer",
  3899. "description": "用户类型 2-机构 7-企业成员",
  3900. "name": "usertype",
  3901. "in": "query"
  3902. },
  3903. {
  3904. "type": "integer",
  3905. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3906. "name": "dgfactoryitemid",
  3907. "in": "query"
  3908. },
  3909. {
  3910. "type": "integer",
  3911. "description": "现货品种ID",
  3912. "name": "deliverygoodsid",
  3913. "in": "query"
  3914. },
  3915. {
  3916. "type": "integer",
  3917. "description": "要素项类型",
  3918. "name": "dgfactoryitemtypeid",
  3919. "in": "query"
  3920. },
  3921. {
  3922. "type": "integer",
  3923. "description": "顺序",
  3924. "name": "orderindex",
  3925. "in": "query"
  3926. }
  3927. ],
  3928. "responses": {
  3929. "200": {
  3930. "description": "OK",
  3931. "schema": {
  3932. "type": "array",
  3933. "items": {
  3934. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3935. }
  3936. }
  3937. },
  3938. "500": {
  3939. "description": "Internal Server Error",
  3940. "schema": {
  3941. "$ref": "#/definitions/app.Response"
  3942. }
  3943. }
  3944. }
  3945. }
  3946. },
  3947. "/Ermcp3/QueryDeliveryGoods": {
  3948. "get": {
  3949. "security": [
  3950. {
  3951. "ApiKeyAuth": []
  3952. }
  3953. ],
  3954. "produces": [
  3955. "application/json"
  3956. ],
  3957. "tags": [
  3958. "企业风险管理v3(app)"
  3959. ],
  3960. "summary": "查询现货商品",
  3961. "parameters": [
  3962. {
  3963. "type": "integer",
  3964. "description": "用户id",
  3965. "name": "userid",
  3966. "in": "query",
  3967. "required": true
  3968. },
  3969. {
  3970. "type": "integer",
  3971. "description": "用户类型 2-机构 7-企业成员",
  3972. "name": "usertype",
  3973. "in": "query"
  3974. },
  3975. {
  3976. "type": "integer",
  3977. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3978. "name": "excludecfg",
  3979. "in": "query"
  3980. }
  3981. ],
  3982. "responses": {
  3983. "200": {
  3984. "description": "OK",
  3985. "schema": {
  3986. "type": "array",
  3987. "items": {
  3988. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3989. }
  3990. }
  3991. },
  3992. "500": {
  3993. "description": "Internal Server Error",
  3994. "schema": {
  3995. "$ref": "#/definitions/app.Response"
  3996. }
  3997. }
  3998. }
  3999. }
  4000. },
  4001. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4002. "get": {
  4003. "security": [
  4004. {
  4005. "ApiKeyAuth": []
  4006. }
  4007. ],
  4008. "produces": [
  4009. "application/json"
  4010. ],
  4011. "tags": [
  4012. "企业风险管理v3(app)"
  4013. ],
  4014. "summary": "查询现货商品详情",
  4015. "parameters": [
  4016. {
  4017. "type": "integer",
  4018. "description": "用户id",
  4019. "name": "userid",
  4020. "in": "query",
  4021. "required": true
  4022. },
  4023. {
  4024. "type": "integer",
  4025. "description": "用户类型 2-机构 7-企业成员",
  4026. "name": "usertype",
  4027. "in": "query"
  4028. },
  4029. {
  4030. "type": "integer",
  4031. "description": "现货商品id",
  4032. "name": "deliverygoodsid",
  4033. "in": "query"
  4034. }
  4035. ],
  4036. "responses": {
  4037. "200": {
  4038. "description": "OK",
  4039. "schema": {
  4040. "type": "array",
  4041. "items": {
  4042. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  4043. }
  4044. }
  4045. },
  4046. "500": {
  4047. "description": "Internal Server Error",
  4048. "schema": {
  4049. "$ref": "#/definitions/app.Response"
  4050. }
  4051. }
  4052. }
  4053. }
  4054. },
  4055. "/Ermcp3/QueryExposureDetail": {
  4056. "get": {
  4057. "security": [
  4058. {
  4059. "ApiKeyAuth": []
  4060. }
  4061. ],
  4062. "produces": [
  4063. "application/json"
  4064. ],
  4065. "tags": [
  4066. "企业风险管理v3(app)"
  4067. ],
  4068. "summary": "查询敞口现货明细",
  4069. "parameters": [
  4070. {
  4071. "type": "integer",
  4072. "description": "用户id",
  4073. "name": "userid",
  4074. "in": "query",
  4075. "required": true
  4076. },
  4077. {
  4078. "type": "integer",
  4079. "description": "用户类型 2-机构 7-企业成员",
  4080. "name": "usertype",
  4081. "in": "query"
  4082. },
  4083. {
  4084. "type": "integer",
  4085. "description": "套保商品",
  4086. "name": "middlegoodsid",
  4087. "in": "query",
  4088. "required": true
  4089. }
  4090. ],
  4091. "responses": {
  4092. "200": {
  4093. "description": "OK",
  4094. "schema": {
  4095. "type": "array",
  4096. "items": {
  4097. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4098. }
  4099. }
  4100. },
  4101. "500": {
  4102. "description": "Internal Server Error",
  4103. "schema": {
  4104. "$ref": "#/definitions/app.Response"
  4105. }
  4106. }
  4107. }
  4108. }
  4109. },
  4110. "/Ermcp3/QueryExposureSpot": {
  4111. "get": {
  4112. "security": [
  4113. {
  4114. "ApiKeyAuth": []
  4115. }
  4116. ],
  4117. "produces": [
  4118. "application/json"
  4119. ],
  4120. "tags": [
  4121. "企业风险管理v3(app)"
  4122. ],
  4123. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4124. "parameters": [
  4125. {
  4126. "type": "integer",
  4127. "description": "用户id",
  4128. "name": "userid",
  4129. "in": "query",
  4130. "required": true
  4131. },
  4132. {
  4133. "type": "integer",
  4134. "description": "用户类型 2-机构 7-企业成员",
  4135. "name": "usertype",
  4136. "in": "query"
  4137. }
  4138. ],
  4139. "responses": {
  4140. "200": {
  4141. "description": "OK",
  4142. "schema": {
  4143. "type": "array",
  4144. "items": {
  4145. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4146. }
  4147. }
  4148. },
  4149. "500": {
  4150. "description": "Internal Server Error",
  4151. "schema": {
  4152. "$ref": "#/definitions/app.Response"
  4153. }
  4154. }
  4155. }
  4156. }
  4157. },
  4158. "/Ermcp3/QueryExposureSpotDetail": {
  4159. "get": {
  4160. "security": [
  4161. {
  4162. "ApiKeyAuth": []
  4163. }
  4164. ],
  4165. "produces": [
  4166. "application/json"
  4167. ],
  4168. "tags": [
  4169. "企业风险管理v3(app)"
  4170. ],
  4171. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4172. "parameters": [
  4173. {
  4174. "type": "integer",
  4175. "description": "用户id",
  4176. "name": "userid",
  4177. "in": "query",
  4178. "required": true
  4179. },
  4180. {
  4181. "type": "integer",
  4182. "description": "用户类型 2-机构 7-企业成员",
  4183. "name": "usertype",
  4184. "in": "query"
  4185. },
  4186. {
  4187. "type": "integer",
  4188. "description": "现货品种ID",
  4189. "name": "deliverygoodsid",
  4190. "in": "query",
  4191. "required": true
  4192. }
  4193. ],
  4194. "responses": {
  4195. "200": {
  4196. "description": "OK",
  4197. "schema": {
  4198. "type": "array",
  4199. "items": {
  4200. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4201. }
  4202. }
  4203. },
  4204. "500": {
  4205. "description": "Internal Server Error",
  4206. "schema": {
  4207. "$ref": "#/definitions/app.Response"
  4208. }
  4209. }
  4210. }
  4211. }
  4212. },
  4213. "/Ermcp3/QueryGoodsGroup": {
  4214. "get": {
  4215. "security": [
  4216. {
  4217. "ApiKeyAuth": []
  4218. }
  4219. ],
  4220. "produces": [
  4221. "application/json"
  4222. ],
  4223. "tags": [
  4224. "企业风险管理v3(app)"
  4225. ],
  4226. "summary": "查询期货商品组",
  4227. "parameters": [
  4228. {
  4229. "type": "integer",
  4230. "description": "用户id",
  4231. "name": "userid",
  4232. "in": "query",
  4233. "required": true
  4234. },
  4235. {
  4236. "type": "integer",
  4237. "description": "用户类型 2-机构 7-企业成员",
  4238. "name": "usertype",
  4239. "in": "query"
  4240. },
  4241. {
  4242. "type": "integer",
  4243. "description": "排除套保品中已关联的商品组 1-排除",
  4244. "name": "excludecfg",
  4245. "in": "query"
  4246. }
  4247. ],
  4248. "responses": {
  4249. "200": {
  4250. "description": "OK",
  4251. "schema": {
  4252. "type": "array",
  4253. "items": {
  4254. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4255. }
  4256. }
  4257. },
  4258. "500": {
  4259. "description": "Internal Server Error",
  4260. "schema": {
  4261. "$ref": "#/definitions/app.Response"
  4262. }
  4263. }
  4264. }
  4265. }
  4266. },
  4267. "/Ermcp3/QueryGoodsWrstandard": {
  4268. "get": {
  4269. "security": [
  4270. {
  4271. "ApiKeyAuth": []
  4272. }
  4273. ],
  4274. "produces": [
  4275. "application/json"
  4276. ],
  4277. "tags": [
  4278. "企业风险管理v3(app)"
  4279. ],
  4280. "summary": "查询商品品类",
  4281. "parameters": [
  4282. {
  4283. "type": "integer",
  4284. "description": "用户id",
  4285. "name": "userid",
  4286. "in": "query",
  4287. "required": true
  4288. },
  4289. {
  4290. "type": "integer",
  4291. "description": "用户类型 2-机构 7-企业成员",
  4292. "name": "usertype",
  4293. "in": "query"
  4294. },
  4295. {
  4296. "type": "integer",
  4297. "description": "现货商品id",
  4298. "name": "deliverygoodsid",
  4299. "in": "query"
  4300. }
  4301. ],
  4302. "responses": {
  4303. "200": {
  4304. "description": "OK",
  4305. "schema": {
  4306. "type": "array",
  4307. "items": {
  4308. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4309. }
  4310. }
  4311. },
  4312. "500": {
  4313. "description": "Internal Server Error",
  4314. "schema": {
  4315. "$ref": "#/definitions/app.Response"
  4316. }
  4317. }
  4318. }
  4319. }
  4320. },
  4321. "/Ermcp3/QueryGoodsbrand": {
  4322. "get": {
  4323. "security": [
  4324. {
  4325. "ApiKeyAuth": []
  4326. }
  4327. ],
  4328. "produces": [
  4329. "application/json"
  4330. ],
  4331. "tags": [
  4332. "企业风险管理v3(app)"
  4333. ],
  4334. "summary": "查询商品品牌",
  4335. "parameters": [
  4336. {
  4337. "type": "integer",
  4338. "description": "用户id",
  4339. "name": "userid",
  4340. "in": "query",
  4341. "required": true
  4342. },
  4343. {
  4344. "type": "integer",
  4345. "description": "用户类型 2-机构 7-企业成员",
  4346. "name": "usertype",
  4347. "in": "query"
  4348. }
  4349. ],
  4350. "responses": {
  4351. "200": {
  4352. "description": "OK",
  4353. "schema": {
  4354. "type": "array",
  4355. "items": {
  4356. "$ref": "#/definitions/models.Ermcp3Brand"
  4357. }
  4358. }
  4359. },
  4360. "500": {
  4361. "description": "Internal Server Error",
  4362. "schema": {
  4363. "$ref": "#/definitions/app.Response"
  4364. }
  4365. }
  4366. }
  4367. }
  4368. },
  4369. "/Ermcp3/QueryHedgePlan": {
  4370. "get": {
  4371. "security": [
  4372. {
  4373. "ApiKeyAuth": []
  4374. }
  4375. ],
  4376. "produces": [
  4377. "application/json"
  4378. ],
  4379. "tags": [
  4380. "企业风险管理v3(app)"
  4381. ],
  4382. "summary": "查询套保计划",
  4383. "parameters": [
  4384. {
  4385. "type": "integer",
  4386. "description": "用户ID",
  4387. "name": "userid",
  4388. "in": "query",
  4389. "required": true
  4390. },
  4391. {
  4392. "type": "integer",
  4393. "description": "用户类型 2-机构 7-企业成员",
  4394. "name": "usertype",
  4395. "in": "query"
  4396. },
  4397. {
  4398. "type": "string",
  4399. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4400. "name": "hedgeplanstatus",
  4401. "in": "query",
  4402. "required": true
  4403. }
  4404. ],
  4405. "responses": {
  4406. "200": {
  4407. "description": "OK",
  4408. "schema": {
  4409. "type": "array",
  4410. "items": {
  4411. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4412. }
  4413. }
  4414. },
  4415. "500": {
  4416. "description": "Internal Server Error",
  4417. "schema": {
  4418. "$ref": "#/definitions/app.Response"
  4419. }
  4420. }
  4421. }
  4422. }
  4423. },
  4424. "/Ermcp3/QueryMiddleGoodsDetail": {
  4425. "get": {
  4426. "security": [
  4427. {
  4428. "ApiKeyAuth": []
  4429. }
  4430. ],
  4431. "produces": [
  4432. "application/json"
  4433. ],
  4434. "tags": [
  4435. "企业风险管理v3(app)"
  4436. ],
  4437. "summary": "查询套保品种详情(套保品种/商品详情)",
  4438. "parameters": [
  4439. {
  4440. "type": "integer",
  4441. "description": "用户id",
  4442. "name": "userid",
  4443. "in": "query",
  4444. "required": true
  4445. },
  4446. {
  4447. "type": "integer",
  4448. "description": "用户类型 2-机构 7-企业成员",
  4449. "name": "usertype",
  4450. "in": "query"
  4451. },
  4452. {
  4453. "type": "integer",
  4454. "description": "套保品种id",
  4455. "name": "middlegoodsid",
  4456. "in": "query"
  4457. }
  4458. ],
  4459. "responses": {
  4460. "200": {
  4461. "description": "OK",
  4462. "schema": {
  4463. "type": "array",
  4464. "items": {
  4465. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4466. }
  4467. }
  4468. },
  4469. "500": {
  4470. "description": "Internal Server Error",
  4471. "schema": {
  4472. "$ref": "#/definitions/app.Response"
  4473. }
  4474. }
  4475. }
  4476. }
  4477. },
  4478. "/Ermcp3/QueryRootUserAccount": {
  4479. "get": {
  4480. "security": [
  4481. {
  4482. "ApiKeyAuth": []
  4483. }
  4484. ],
  4485. "produces": [
  4486. "application/json"
  4487. ],
  4488. "tags": [
  4489. "企业风险管理v3(app)"
  4490. ],
  4491. "summary": "查询顶级用户信息",
  4492. "parameters": [
  4493. {
  4494. "type": "integer",
  4495. "description": "用户ID",
  4496. "name": "userid",
  4497. "in": "query",
  4498. "required": true
  4499. }
  4500. ],
  4501. "responses": {
  4502. "200": {
  4503. "description": "OK",
  4504. "schema": {
  4505. "type": "array",
  4506. "items": {
  4507. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4508. }
  4509. }
  4510. },
  4511. "500": {
  4512. "description": "Internal Server Error",
  4513. "schema": {
  4514. "$ref": "#/definitions/app.Response"
  4515. }
  4516. }
  4517. }
  4518. }
  4519. },
  4520. "/Ermcp3/QuerySpotContract": {
  4521. "get": {
  4522. "security": [
  4523. {
  4524. "ApiKeyAuth": []
  4525. }
  4526. ],
  4527. "produces": [
  4528. "application/json"
  4529. ],
  4530. "tags": [
  4531. "企业风险管理v3(app)"
  4532. ],
  4533. "summary": "查询现货合同",
  4534. "parameters": [
  4535. {
  4536. "type": "integer",
  4537. "description": "用户id",
  4538. "name": "userid",
  4539. "in": "query",
  4540. "required": true
  4541. },
  4542. {
  4543. "type": "integer",
  4544. "description": "用户类型 2-机构 7-企业成员",
  4545. "name": "usertype",
  4546. "in": "query"
  4547. },
  4548. {
  4549. "type": "integer",
  4550. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4551. "name": "querytype",
  4552. "in": "query",
  4553. "required": true
  4554. },
  4555. {
  4556. "type": "string",
  4557. "description": "合同ID(SpotContractId)",
  4558. "name": "contractid",
  4559. "in": "query"
  4560. }
  4561. ],
  4562. "responses": {
  4563. "200": {
  4564. "description": "OK",
  4565. "schema": {
  4566. "type": "array",
  4567. "items": {
  4568. "$ref": "#/definitions/models.Ermcp3Contract"
  4569. }
  4570. }
  4571. },
  4572. "500": {
  4573. "description": "Internal Server Error",
  4574. "schema": {
  4575. "$ref": "#/definitions/app.Response"
  4576. }
  4577. }
  4578. }
  4579. }
  4580. },
  4581. "/Ermcp3/QuerySpotContractBS": {
  4582. "get": {
  4583. "security": [
  4584. {
  4585. "ApiKeyAuth": []
  4586. }
  4587. ],
  4588. "produces": [
  4589. "application/json"
  4590. ],
  4591. "tags": [
  4592. "企业风险管理v3(app)"
  4593. ],
  4594. "summary": "查询合同(采购/销售)",
  4595. "parameters": [
  4596. {
  4597. "type": "integer",
  4598. "description": "用户id",
  4599. "name": "userid",
  4600. "in": "query",
  4601. "required": true
  4602. },
  4603. {
  4604. "type": "integer",
  4605. "description": "用户类型 2-机构 7-企业成员",
  4606. "name": "usertype",
  4607. "in": "query"
  4608. },
  4609. {
  4610. "type": "integer",
  4611. "description": "合同类型 1-采购, -1-销售",
  4612. "name": "contracttype",
  4613. "in": "query",
  4614. "required": true
  4615. },
  4616. {
  4617. "type": "integer",
  4618. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4619. "name": "querytype",
  4620. "in": "query",
  4621. "required": true
  4622. },
  4623. {
  4624. "type": "string",
  4625. "description": "合同ID(SpotContractId)",
  4626. "name": "contractid",
  4627. "in": "query"
  4628. }
  4629. ],
  4630. "responses": {
  4631. "200": {
  4632. "description": "OK",
  4633. "schema": {
  4634. "type": "array",
  4635. "items": {
  4636. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4637. }
  4638. }
  4639. },
  4640. "500": {
  4641. "description": "Internal Server Error",
  4642. "schema": {
  4643. "$ref": "#/definitions/app.Response"
  4644. }
  4645. }
  4646. }
  4647. }
  4648. },
  4649. "/Ermcp3/QuerySpotGoodsPrice": {
  4650. "get": {
  4651. "security": [
  4652. {
  4653. "ApiKeyAuth": []
  4654. }
  4655. ],
  4656. "produces": [
  4657. "application/json"
  4658. ],
  4659. "tags": [
  4660. "企业风险管理v3(app)"
  4661. ],
  4662. "summary": "查询现货市价(现货市价)",
  4663. "parameters": [
  4664. {
  4665. "type": "integer",
  4666. "description": "用户ID",
  4667. "name": "userid",
  4668. "in": "query",
  4669. "required": true
  4670. }
  4671. ],
  4672. "responses": {
  4673. "200": {
  4674. "description": "OK",
  4675. "schema": {
  4676. "type": "array",
  4677. "items": {
  4678. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4679. }
  4680. }
  4681. },
  4682. "500": {
  4683. "description": "Internal Server Error",
  4684. "schema": {
  4685. "$ref": "#/definitions/app.Response"
  4686. }
  4687. }
  4688. }
  4689. }
  4690. },
  4691. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4692. "get": {
  4693. "security": [
  4694. {
  4695. "ApiKeyAuth": []
  4696. }
  4697. ],
  4698. "produces": [
  4699. "application/json"
  4700. ],
  4701. "tags": [
  4702. "企业风险管理v3(app)"
  4703. ],
  4704. "summary": "查询现货市价详情(现货市价/详情)",
  4705. "parameters": [
  4706. {
  4707. "type": "integer",
  4708. "description": "用户ID",
  4709. "name": "userid",
  4710. "in": "query",
  4711. "required": true
  4712. },
  4713. {
  4714. "type": "integer",
  4715. "description": "现货商品ID",
  4716. "name": "deliverygoodsid",
  4717. "in": "query",
  4718. "required": true
  4719. },
  4720. {
  4721. "type": "integer",
  4722. "description": "品牌ID",
  4723. "name": "brandid",
  4724. "in": "query"
  4725. },
  4726. {
  4727. "type": "integer",
  4728. "description": "品类ID",
  4729. "name": "wrstandardid",
  4730. "in": "query"
  4731. }
  4732. ],
  4733. "responses": {
  4734. "200": {
  4735. "description": "OK",
  4736. "schema": {
  4737. "type": "array",
  4738. "items": {
  4739. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4740. }
  4741. }
  4742. },
  4743. "500": {
  4744. "description": "Internal Server Error",
  4745. "schema": {
  4746. "$ref": "#/definitions/app.Response"
  4747. }
  4748. }
  4749. }
  4750. }
  4751. },
  4752. "/Erms2/QueryArbitrageStrategy": {
  4753. "get": {
  4754. "security": [
  4755. {
  4756. "ApiKeyAuth": []
  4757. }
  4758. ],
  4759. "produces": [
  4760. "application/json"
  4761. ],
  4762. "tags": [
  4763. "风险管理"
  4764. ],
  4765. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4766. "parameters": [
  4767. {
  4768. "type": "integer",
  4769. "description": "账户ID",
  4770. "name": "userid",
  4771. "in": "query",
  4772. "required": true
  4773. },
  4774. {
  4775. "type": "string",
  4776. "description": "商品组ID(品种ID)",
  4777. "name": "goodsgroupid",
  4778. "in": "query"
  4779. }
  4780. ],
  4781. "responses": {
  4782. "200": {
  4783. "description": "OK",
  4784. "schema": {
  4785. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4786. }
  4787. },
  4788. "500": {
  4789. "description": "Internal Server Error",
  4790. "schema": {
  4791. "$ref": "#/definitions/app.Response"
  4792. }
  4793. }
  4794. }
  4795. }
  4796. },
  4797. "/Erms2/QueryInnerTradeDetail": {
  4798. "get": {
  4799. "security": [
  4800. {
  4801. "ApiKeyAuth": []
  4802. }
  4803. ],
  4804. "produces": [
  4805. "application/json"
  4806. ],
  4807. "tags": [
  4808. "风险管理"
  4809. ],
  4810. "summary": "查询内部成交单信息",
  4811. "parameters": [
  4812. {
  4813. "type": "integer",
  4814. "description": "资金账户",
  4815. "name": "accountid",
  4816. "in": "query",
  4817. "required": true
  4818. }
  4819. ],
  4820. "responses": {
  4821. "200": {
  4822. "description": "OK",
  4823. "schema": {
  4824. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4825. }
  4826. },
  4827. "500": {
  4828. "description": "Internal Server Error",
  4829. "schema": {
  4830. "$ref": "#/definitions/app.Response"
  4831. }
  4832. }
  4833. }
  4834. }
  4835. },
  4836. "/Erms2/QuerySpotContract": {
  4837. "get": {
  4838. "security": [
  4839. {
  4840. "ApiKeyAuth": []
  4841. }
  4842. ],
  4843. "produces": [
  4844. "application/json"
  4845. ],
  4846. "tags": [
  4847. "风险管理"
  4848. ],
  4849. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4850. "parameters": [
  4851. {
  4852. "type": "integer",
  4853. "description": "策略申请ID",
  4854. "name": "asapplyid",
  4855. "in": "query",
  4856. "required": true
  4857. },
  4858. {
  4859. "type": "integer",
  4860. "description": "现货合同ID",
  4861. "name": "spotcontractid",
  4862. "in": "query"
  4863. }
  4864. ],
  4865. "responses": {
  4866. "200": {
  4867. "description": "OK",
  4868. "schema": {
  4869. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4870. }
  4871. },
  4872. "500": {
  4873. "description": "Internal Server Error",
  4874. "schema": {
  4875. "$ref": "#/definitions/app.Response"
  4876. }
  4877. }
  4878. }
  4879. }
  4880. },
  4881. "/Erms3/AddErms2ASApply": {
  4882. "post": {
  4883. "security": [
  4884. {
  4885. "ApiKeyAuth": []
  4886. }
  4887. ],
  4888. "produces": [
  4889. "application/json"
  4890. ],
  4891. "tags": [
  4892. "风险管理v3"
  4893. ],
  4894. "summary": "新增期现套利业务申请",
  4895. "parameters": [
  4896. {
  4897. "description": "申请参数",
  4898. "name": "jsonBody",
  4899. "in": "body",
  4900. "required": true,
  4901. "schema": {
  4902. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4903. }
  4904. }
  4905. ],
  4906. "responses": {
  4907. "200": {
  4908. "description": "OK",
  4909. "schema": {
  4910. "$ref": "#/definitions/app.Response"
  4911. }
  4912. },
  4913. "500": {
  4914. "description": "Internal Server Error",
  4915. "schema": {
  4916. "$ref": "#/definitions/app.Response"
  4917. }
  4918. }
  4919. }
  4920. }
  4921. },
  4922. "/Erms3/AddErms2SpotTradeApply": {
  4923. "post": {
  4924. "security": [
  4925. {
  4926. "ApiKeyAuth": []
  4927. }
  4928. ],
  4929. "produces": [
  4930. "application/json"
  4931. ],
  4932. "tags": [
  4933. "风险管理v3"
  4934. ],
  4935. "summary": "新增现货贸易业务申请",
  4936. "parameters": [
  4937. {
  4938. "description": "申请参数",
  4939. "name": "jsonBody",
  4940. "in": "body",
  4941. "required": true,
  4942. "schema": {
  4943. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4944. }
  4945. }
  4946. ],
  4947. "responses": {
  4948. "200": {
  4949. "description": "OK",
  4950. "schema": {
  4951. "$ref": "#/definitions/app.Response"
  4952. }
  4953. },
  4954. "500": {
  4955. "description": "Internal Server Error",
  4956. "schema": {
  4957. "$ref": "#/definitions/app.Response"
  4958. }
  4959. }
  4960. }
  4961. }
  4962. },
  4963. "/Erms3/AddSpotContractApply": {
  4964. "post": {
  4965. "security": [
  4966. {
  4967. "ApiKeyAuth": []
  4968. }
  4969. ],
  4970. "produces": [
  4971. "application/json"
  4972. ],
  4973. "tags": [
  4974. "风险管理v3"
  4975. ],
  4976. "summary": "新增现货合同申请",
  4977. "parameters": [
  4978. {
  4979. "description": "申请参数",
  4980. "name": "jsonBody",
  4981. "in": "body",
  4982. "required": true,
  4983. "schema": {
  4984. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4985. }
  4986. }
  4987. ],
  4988. "responses": {
  4989. "200": {
  4990. "description": "OK",
  4991. "schema": {
  4992. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4993. }
  4994. },
  4995. "500": {
  4996. "description": "Internal Server Error",
  4997. "schema": {
  4998. "$ref": "#/definitions/app.Response"
  4999. }
  5000. }
  5001. }
  5002. }
  5003. },
  5004. "/Erms3/AddUserInfoApply": {
  5005. "post": {
  5006. "security": [
  5007. {
  5008. "ApiKeyAuth": []
  5009. }
  5010. ],
  5011. "produces": [
  5012. "application/json"
  5013. ],
  5014. "tags": [
  5015. "风险管理v3"
  5016. ],
  5017. "summary": "新增客户申请",
  5018. "parameters": [
  5019. {
  5020. "description": "用户信息",
  5021. "name": "jsonBody",
  5022. "in": "body",
  5023. "required": true,
  5024. "schema": {
  5025. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5026. }
  5027. }
  5028. ],
  5029. "responses": {
  5030. "200": {
  5031. "description": "OK",
  5032. "schema": {
  5033. "$ref": "#/definitions/app.Response"
  5034. }
  5035. },
  5036. "500": {
  5037. "description": "Internal Server Error",
  5038. "schema": {
  5039. "$ref": "#/definitions/app.Response"
  5040. }
  5041. }
  5042. }
  5043. }
  5044. },
  5045. "/Erms3/DeleteUserInfoApply": {
  5046. "get": {
  5047. "security": [
  5048. {
  5049. "ApiKeyAuth": []
  5050. }
  5051. ],
  5052. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5053. "produces": [
  5054. "application/json"
  5055. ],
  5056. "tags": [
  5057. "风险管理v3"
  5058. ],
  5059. "summary": "删除客户申请",
  5060. "parameters": [
  5061. {
  5062. "type": "integer",
  5063. "description": "用户ID",
  5064. "name": "userID",
  5065. "in": "query",
  5066. "required": true
  5067. }
  5068. ],
  5069. "responses": {
  5070. "200": {
  5071. "description": "OK",
  5072. "schema": {
  5073. "$ref": "#/definitions/app.Response"
  5074. }
  5075. },
  5076. "500": {
  5077. "description": "Internal Server Error",
  5078. "schema": {
  5079. "$ref": "#/definitions/app.Response"
  5080. }
  5081. }
  5082. }
  5083. }
  5084. },
  5085. "/Erms3/ModifyUserInfoApply": {
  5086. "post": {
  5087. "security": [
  5088. {
  5089. "ApiKeyAuth": []
  5090. }
  5091. ],
  5092. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5093. "produces": [
  5094. "application/json"
  5095. ],
  5096. "tags": [
  5097. "风险管理v3"
  5098. ],
  5099. "summary": "修改客户申请",
  5100. "parameters": [
  5101. {
  5102. "description": "用户信息",
  5103. "name": "jsonBody",
  5104. "in": "body",
  5105. "required": true,
  5106. "schema": {
  5107. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5108. }
  5109. }
  5110. ],
  5111. "responses": {
  5112. "200": {
  5113. "description": "OK",
  5114. "schema": {
  5115. "$ref": "#/definitions/app.Response"
  5116. }
  5117. },
  5118. "500": {
  5119. "description": "Internal Server Error",
  5120. "schema": {
  5121. "$ref": "#/definitions/app.Response"
  5122. }
  5123. }
  5124. }
  5125. }
  5126. },
  5127. "/Erms3/QueryBusinessInfo": {
  5128. "get": {
  5129. "security": [
  5130. {
  5131. "ApiKeyAuth": []
  5132. }
  5133. ],
  5134. "produces": [
  5135. "application/json"
  5136. ],
  5137. "tags": [
  5138. "风险管理v3"
  5139. ],
  5140. "summary": "查询业务表单数据",
  5141. "parameters": [
  5142. {
  5143. "type": "string",
  5144. "description": "资金账号ID列表,用逗号分隔",
  5145. "name": "accountids",
  5146. "in": "query",
  5147. "required": true
  5148. },
  5149. {
  5150. "type": "integer",
  5151. "description": "状态,0为未结束 1为已结束",
  5152. "name": "status",
  5153. "in": "query",
  5154. "required": true
  5155. }
  5156. ],
  5157. "responses": {
  5158. "200": {
  5159. "description": "OK",
  5160. "schema": {
  5161. "type": "array",
  5162. "items": {
  5163. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5164. }
  5165. }
  5166. },
  5167. "500": {
  5168. "description": "Internal Server Error",
  5169. "schema": {
  5170. "$ref": "#/definitions/app.Response"
  5171. }
  5172. }
  5173. }
  5174. }
  5175. },
  5176. "/Erms3/QueryPendingAuditContract": {
  5177. "get": {
  5178. "security": [
  5179. {
  5180. "ApiKeyAuth": []
  5181. }
  5182. ],
  5183. "produces": [
  5184. "application/json"
  5185. ],
  5186. "tags": [
  5187. "风险管理v3"
  5188. ],
  5189. "summary": "查询待审核合同",
  5190. "parameters": [
  5191. {
  5192. "type": "string",
  5193. "description": "资金账号ID列表,逗号隔开",
  5194. "name": "accountids",
  5195. "in": "query",
  5196. "required": true
  5197. },
  5198. {
  5199. "type": "integer",
  5200. "description": "合同类型 1-采购 -1-销售",
  5201. "name": "contracttype",
  5202. "in": "query",
  5203. "required": true
  5204. },
  5205. {
  5206. "type": "integer",
  5207. "description": "合同模式 1-普通 2-回购",
  5208. "name": "contractmode",
  5209. "in": "query",
  5210. "required": true
  5211. }
  5212. ],
  5213. "responses": {
  5214. "200": {
  5215. "description": "OK",
  5216. "schema": {
  5217. "type": "array",
  5218. "items": {
  5219. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5220. }
  5221. }
  5222. },
  5223. "500": {
  5224. "description": "Internal Server Error",
  5225. "schema": {
  5226. "$ref": "#/definitions/app.Response"
  5227. }
  5228. }
  5229. }
  5230. }
  5231. },
  5232. "/Erms3/QueryPendingBusiness": {
  5233. "get": {
  5234. "security": [
  5235. {
  5236. "ApiKeyAuth": []
  5237. }
  5238. ],
  5239. "produces": [
  5240. "application/json"
  5241. ],
  5242. "tags": [
  5243. "风险管理v3"
  5244. ],
  5245. "summary": "查询待审核基差贸易业务",
  5246. "parameters": [
  5247. {
  5248. "type": "string",
  5249. "description": "资金账号ID列表,逗号隔开",
  5250. "name": "accountids",
  5251. "in": "query",
  5252. "required": true
  5253. }
  5254. ],
  5255. "responses": {
  5256. "200": {
  5257. "description": "OK",
  5258. "schema": {
  5259. "type": "array",
  5260. "items": {
  5261. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5262. }
  5263. }
  5264. },
  5265. "500": {
  5266. "description": "Internal Server Error",
  5267. "schema": {
  5268. "$ref": "#/definitions/app.Response"
  5269. }
  5270. }
  5271. }
  5272. }
  5273. },
  5274. "/Erms3/QuerySpotContractAppleForm": {
  5275. "get": {
  5276. "security": [
  5277. {
  5278. "ApiKeyAuth": []
  5279. }
  5280. ],
  5281. "produces": [
  5282. "application/json"
  5283. ],
  5284. "tags": [
  5285. "风险管理v3"
  5286. ],
  5287. "summary": "查询合同申请表单数据",
  5288. "parameters": [
  5289. {
  5290. "type": "integer",
  5291. "description": "登录账号",
  5292. "name": "loginID",
  5293. "in": "query",
  5294. "required": true
  5295. }
  5296. ],
  5297. "responses": {
  5298. "200": {
  5299. "description": "OK",
  5300. "schema": {
  5301. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5302. }
  5303. },
  5304. "500": {
  5305. "description": "Internal Server Error",
  5306. "schema": {
  5307. "$ref": "#/definitions/app.Response"
  5308. }
  5309. }
  5310. }
  5311. }
  5312. },
  5313. "/Erms3/QuerySpotContractDetail": {
  5314. "get": {
  5315. "security": [
  5316. {
  5317. "ApiKeyAuth": []
  5318. }
  5319. ],
  5320. "produces": [
  5321. "application/json"
  5322. ],
  5323. "tags": [
  5324. "风险管理v3"
  5325. ],
  5326. "summary": "查询合同详细信息",
  5327. "parameters": [
  5328. {
  5329. "type": "string",
  5330. "description": "资金账号ID列表,用逗号分隔",
  5331. "name": "accountids",
  5332. "in": "query",
  5333. "required": true
  5334. },
  5335. {
  5336. "type": "integer",
  5337. "description": "合同类型,1为采购合同 -1为销售合同",
  5338. "name": "contracttype",
  5339. "in": "query",
  5340. "required": true
  5341. },
  5342. {
  5343. "type": "integer",
  5344. "description": "合同模式,1为普通合同 2为回购销售合同",
  5345. "name": "contractmode",
  5346. "in": "query",
  5347. "required": true
  5348. },
  5349. {
  5350. "type": "integer",
  5351. "description": "状态,0为履约中 1为已完成",
  5352. "name": "status",
  5353. "in": "query",
  5354. "required": true
  5355. }
  5356. ],
  5357. "responses": {
  5358. "200": {
  5359. "description": "OK",
  5360. "schema": {
  5361. "type": "array",
  5362. "items": {
  5363. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5364. }
  5365. }
  5366. },
  5367. "500": {
  5368. "description": "Internal Server Error",
  5369. "schema": {
  5370. "$ref": "#/definitions/app.Response"
  5371. }
  5372. }
  5373. }
  5374. }
  5375. },
  5376. "/Erms3/QueryUserInfoApplies": {
  5377. "get": {
  5378. "security": [
  5379. {
  5380. "ApiKeyAuth": []
  5381. }
  5382. ],
  5383. "produces": [
  5384. "application/json"
  5385. ],
  5386. "tags": [
  5387. "风险管理v3"
  5388. ],
  5389. "summary": "客户申请信息查询",
  5390. "parameters": [
  5391. {
  5392. "type": "integer",
  5393. "description": "页码",
  5394. "name": "page",
  5395. "in": "query"
  5396. },
  5397. {
  5398. "type": "integer",
  5399. "description": "每页条数",
  5400. "name": "pagesize",
  5401. "in": "query"
  5402. },
  5403. {
  5404. "type": "string",
  5405. "description": "客户名称,支持模糊查询",
  5406. "name": "userName",
  5407. "in": "query"
  5408. }
  5409. ],
  5410. "responses": {
  5411. "200": {
  5412. "description": "OK",
  5413. "schema": {
  5414. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5415. }
  5416. },
  5417. "500": {
  5418. "description": "Internal Server Error",
  5419. "schema": {
  5420. "$ref": "#/definitions/app.Response"
  5421. }
  5422. }
  5423. }
  5424. }
  5425. },
  5426. "/Erms3/QueryUserInfos": {
  5427. "get": {
  5428. "security": [
  5429. {
  5430. "ApiKeyAuth": []
  5431. }
  5432. ],
  5433. "produces": [
  5434. "application/json"
  5435. ],
  5436. "tags": [
  5437. "风险管理v3"
  5438. ],
  5439. "summary": "客户信息查询",
  5440. "parameters": [
  5441. {
  5442. "type": "integer",
  5443. "description": "页码",
  5444. "name": "page",
  5445. "in": "query"
  5446. },
  5447. {
  5448. "type": "integer",
  5449. "description": "每页条数",
  5450. "name": "pagesize",
  5451. "in": "query"
  5452. },
  5453. {
  5454. "type": "string",
  5455. "description": "客户名称,支持模糊查询",
  5456. "name": "userName",
  5457. "in": "query"
  5458. }
  5459. ],
  5460. "responses": {
  5461. "200": {
  5462. "description": "OK",
  5463. "schema": {
  5464. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5465. }
  5466. },
  5467. "500": {
  5468. "description": "Internal Server Error",
  5469. "schema": {
  5470. "$ref": "#/definitions/app.Response"
  5471. }
  5472. }
  5473. }
  5474. }
  5475. },
  5476. "/HSBY/GetHsbyMyCount": {
  5477. "get": {
  5478. "security": [
  5479. {
  5480. "ApiKeyAuth": []
  5481. }
  5482. ],
  5483. "description": "说明: 不包括已完成的数量。",
  5484. "produces": [
  5485. "application/json"
  5486. ],
  5487. "tags": [
  5488. "定制【海商报业】"
  5489. ],
  5490. "summary": "获取我的订单与包裹数量",
  5491. "parameters": [
  5492. {
  5493. "type": "string",
  5494. "description": "资金账户列表,格式:1,2,3",
  5495. "name": "accountIDs",
  5496. "in": "query",
  5497. "required": true
  5498. }
  5499. ],
  5500. "responses": {
  5501. "200": {
  5502. "description": "OK",
  5503. "schema": {
  5504. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5505. }
  5506. },
  5507. "500": {
  5508. "description": "Internal Server Error",
  5509. "schema": {
  5510. "$ref": "#/definitions/app.Response"
  5511. }
  5512. }
  5513. }
  5514. }
  5515. },
  5516. "/HSBY/QueryClientFixedADConfigs": {
  5517. "get": {
  5518. "security": [
  5519. {
  5520. "ApiKeyAuth": []
  5521. }
  5522. ],
  5523. "produces": [
  5524. "application/json"
  5525. ],
  5526. "tags": [
  5527. "定制【海商报业】"
  5528. ],
  5529. "summary": "获取终端固定广告配置",
  5530. "responses": {
  5531. "200": {
  5532. "description": "OK",
  5533. "schema": {
  5534. "$ref": "#/definitions/models.Clientfixedadconfig"
  5535. }
  5536. },
  5537. "500": {
  5538. "description": "Internal Server Error",
  5539. "schema": {
  5540. "$ref": "#/definitions/app.Response"
  5541. }
  5542. }
  5543. }
  5544. }
  5545. },
  5546. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5547. "get": {
  5548. "security": [
  5549. {
  5550. "ApiKeyAuth": []
  5551. }
  5552. ],
  5553. "produces": [
  5554. "application/json"
  5555. ],
  5556. "tags": [
  5557. "定制【海商报业】"
  5558. ],
  5559. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5560. "parameters": [
  5561. {
  5562. "type": "integer",
  5563. "description": "页码",
  5564. "name": "page",
  5565. "in": "query"
  5566. },
  5567. {
  5568. "type": "integer",
  5569. "description": "每页条数",
  5570. "name": "pagesize",
  5571. "in": "query"
  5572. },
  5573. {
  5574. "type": "string",
  5575. "description": "资金账户列表,格式:1,2,3",
  5576. "name": "accountIDs",
  5577. "in": "query",
  5578. "required": true
  5579. }
  5580. ],
  5581. "responses": {
  5582. "200": {
  5583. "description": "OK",
  5584. "schema": {
  5585. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5586. }
  5587. },
  5588. "500": {
  5589. "description": "Internal Server Error",
  5590. "schema": {
  5591. "$ref": "#/definitions/app.Response"
  5592. }
  5593. }
  5594. }
  5595. }
  5596. },
  5597. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5598. "get": {
  5599. "security": [
  5600. {
  5601. "ApiKeyAuth": []
  5602. }
  5603. ],
  5604. "description": "说明:查询结果已按委托价格和委托时间排序",
  5605. "produces": [
  5606. "application/json"
  5607. ],
  5608. "tags": [
  5609. "定制【海商报业】"
  5610. ],
  5611. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5612. "parameters": [
  5613. {
  5614. "type": "integer",
  5615. "description": "商品ID",
  5616. "name": "goodsID",
  5617. "in": "query",
  5618. "required": true
  5619. },
  5620. {
  5621. "type": "string",
  5622. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5623. "name": "accountIDs",
  5624. "in": "query"
  5625. },
  5626. {
  5627. "type": "integer",
  5628. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5629. "name": "buyOrSell",
  5630. "in": "query"
  5631. },
  5632. {
  5633. "type": "number",
  5634. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5635. "name": "price",
  5636. "in": "query"
  5637. },
  5638. {
  5639. "type": "integer",
  5640. "description": "档位,不传则默认为3档",
  5641. "name": "speed",
  5642. "in": "query"
  5643. }
  5644. ],
  5645. "responses": {
  5646. "200": {
  5647. "description": "OK",
  5648. "schema": {
  5649. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5650. }
  5651. },
  5652. "500": {
  5653. "description": "Internal Server Error",
  5654. "schema": {
  5655. "$ref": "#/definitions/app.Response"
  5656. }
  5657. }
  5658. }
  5659. }
  5660. },
  5661. "/HSBY/QueryHsbyListingGoodsDetail": {
  5662. "get": {
  5663. "security": [
  5664. {
  5665. "ApiKeyAuth": []
  5666. }
  5667. ],
  5668. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5669. "produces": [
  5670. "application/json"
  5671. ],
  5672. "tags": [
  5673. "定制【海商报业】"
  5674. ],
  5675. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5676. "parameters": [
  5677. {
  5678. "type": "integer",
  5679. "description": "商品ID",
  5680. "name": "goodsID",
  5681. "in": "query",
  5682. "required": true
  5683. },
  5684. {
  5685. "type": "integer",
  5686. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5687. "name": "accountID",
  5688. "in": "query"
  5689. }
  5690. ],
  5691. "responses": {
  5692. "200": {
  5693. "description": "OK",
  5694. "schema": {
  5695. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5696. }
  5697. },
  5698. "500": {
  5699. "description": "Internal Server Error",
  5700. "schema": {
  5701. "$ref": "#/definitions/app.Response"
  5702. }
  5703. }
  5704. }
  5705. }
  5706. },
  5707. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5708. "get": {
  5709. "security": [
  5710. {
  5711. "ApiKeyAuth": []
  5712. }
  5713. ],
  5714. "produces": [
  5715. "application/json"
  5716. ],
  5717. "tags": [
  5718. "定制【海商报业】"
  5719. ],
  5720. "summary": "查询三级市场(商城)商品信息详情",
  5721. "parameters": [
  5722. {
  5723. "type": "integer",
  5724. "description": "委托单号",
  5725. "name": "orderID",
  5726. "in": "query",
  5727. "required": true
  5728. },
  5729. {
  5730. "type": "integer",
  5731. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5732. "name": "accountID",
  5733. "in": "query"
  5734. }
  5735. ],
  5736. "responses": {
  5737. "200": {
  5738. "description": "OK",
  5739. "schema": {
  5740. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5741. }
  5742. },
  5743. "500": {
  5744. "description": "Internal Server Error",
  5745. "schema": {
  5746. "$ref": "#/definitions/app.Response"
  5747. }
  5748. }
  5749. }
  5750. }
  5751. },
  5752. "/HSBY/QueryHsbyMarketGoodses": {
  5753. "get": {
  5754. "security": [
  5755. {
  5756. "ApiKeyAuth": []
  5757. }
  5758. ],
  5759. "produces": [
  5760. "application/json"
  5761. ],
  5762. "tags": [
  5763. "定制【海商报业】"
  5764. ],
  5765. "summary": "查询特卖商品列表(三级商城)",
  5766. "parameters": [
  5767. {
  5768. "type": "integer",
  5769. "description": "页码",
  5770. "name": "page",
  5771. "in": "query"
  5772. },
  5773. {
  5774. "type": "integer",
  5775. "description": "每页条数",
  5776. "name": "pagesize",
  5777. "in": "query"
  5778. },
  5779. {
  5780. "type": "string",
  5781. "description": "市场ID列表,格式:1,2,3",
  5782. "name": "marketIDs",
  5783. "in": "query",
  5784. "required": true
  5785. },
  5786. {
  5787. "type": "integer",
  5788. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5789. "name": "accountID",
  5790. "in": "query",
  5791. "required": true
  5792. },
  5793. {
  5794. "type": "integer",
  5795. "description": "类别ID",
  5796. "name": "categoryID",
  5797. "in": "query"
  5798. },
  5799. {
  5800. "type": "string",
  5801. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5802. "name": "goodsIDs",
  5803. "in": "query"
  5804. },
  5805. {
  5806. "type": "integer",
  5807. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5808. "name": "couponTypeID",
  5809. "in": "query"
  5810. }
  5811. ],
  5812. "responses": {
  5813. "200": {
  5814. "description": "OK",
  5815. "schema": {
  5816. "$ref": "#/definitions/models.HsbyMarketGoods"
  5817. }
  5818. },
  5819. "500": {
  5820. "description": "Internal Server Error",
  5821. "schema": {
  5822. "$ref": "#/definitions/app.Response"
  5823. }
  5824. }
  5825. }
  5826. }
  5827. },
  5828. "/HSBY/QueryHsbyMarkets": {
  5829. "get": {
  5830. "security": [
  5831. {
  5832. "ApiKeyAuth": []
  5833. }
  5834. ],
  5835. "produces": [
  5836. "application/json"
  5837. ],
  5838. "tags": [
  5839. "定制【海商报业】"
  5840. ],
  5841. "summary": "查询海商报业相关市场信息",
  5842. "responses": {
  5843. "200": {
  5844. "description": "OK",
  5845. "schema": {
  5846. "$ref": "#/definitions/models.HsbyMarketInfo"
  5847. }
  5848. },
  5849. "500": {
  5850. "description": "Internal Server Error",
  5851. "schema": {
  5852. "$ref": "#/definitions/app.Response"
  5853. }
  5854. }
  5855. }
  5856. }
  5857. },
  5858. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5859. "get": {
  5860. "security": [
  5861. {
  5862. "ApiKeyAuth": []
  5863. }
  5864. ],
  5865. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5866. "produces": [
  5867. "application/json"
  5868. ],
  5869. "tags": [
  5870. "定制【海商报业】"
  5871. ],
  5872. "summary": "查询“我的订单”信息",
  5873. "parameters": [
  5874. {
  5875. "type": "string",
  5876. "description": "资金账户列表,格式:1,2,3",
  5877. "name": "accountIDs",
  5878. "in": "query",
  5879. "required": true
  5880. }
  5881. ],
  5882. "responses": {
  5883. "200": {
  5884. "description": "OK",
  5885. "schema": {
  5886. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5887. }
  5888. },
  5889. "500": {
  5890. "description": "Internal Server Error",
  5891. "schema": {
  5892. "$ref": "#/definitions/app.Response"
  5893. }
  5894. }
  5895. }
  5896. }
  5897. },
  5898. "/HSBY/QueryHsbyMyGoods": {
  5899. "get": {
  5900. "security": [
  5901. {
  5902. "ApiKeyAuth": []
  5903. }
  5904. ],
  5905. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5906. "produces": [
  5907. "application/json"
  5908. ],
  5909. "tags": [
  5910. "定制【海商报业】"
  5911. ],
  5912. "summary": "查询“我的商品”信息",
  5913. "parameters": [
  5914. {
  5915. "type": "string",
  5916. "description": "资金账户列表,格式:1,2,3",
  5917. "name": "accountIDs",
  5918. "in": "query",
  5919. "required": true
  5920. }
  5921. ],
  5922. "responses": {
  5923. "200": {
  5924. "description": "OK",
  5925. "schema": {
  5926. "$ref": "#/definitions/models.HsbyMyGoods"
  5927. }
  5928. },
  5929. "500": {
  5930. "description": "Internal Server Error",
  5931. "schema": {
  5932. "$ref": "#/definitions/app.Response"
  5933. }
  5934. }
  5935. }
  5936. }
  5937. },
  5938. "/HSBY/QueryHsbyMyPackages": {
  5939. "get": {
  5940. "security": [
  5941. {
  5942. "ApiKeyAuth": []
  5943. }
  5944. ],
  5945. "produces": [
  5946. "application/json"
  5947. ],
  5948. "tags": [
  5949. "定制【海商报业】"
  5950. ],
  5951. "summary": "查询我的包裹信息",
  5952. "parameters": [
  5953. {
  5954. "type": "string",
  5955. "description": "资金账户列表,格式:1,2,3",
  5956. "name": "accountIDs",
  5957. "in": "query",
  5958. "required": true
  5959. },
  5960. {
  5961. "type": "integer",
  5962. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5963. "name": "takeOrderStatus",
  5964. "in": "query"
  5965. }
  5966. ],
  5967. "responses": {
  5968. "200": {
  5969. "description": "OK",
  5970. "schema": {
  5971. "$ref": "#/definitions/models.HsbyMyPackage"
  5972. }
  5973. },
  5974. "500": {
  5975. "description": "Internal Server Error",
  5976. "schema": {
  5977. "$ref": "#/definitions/app.Response"
  5978. }
  5979. }
  5980. }
  5981. }
  5982. },
  5983. "/HSBY/QueryHsbyPreGoodsDetail": {
  5984. "get": {
  5985. "security": [
  5986. {
  5987. "ApiKeyAuth": []
  5988. }
  5989. ],
  5990. "produces": [
  5991. "application/json"
  5992. ],
  5993. "tags": [
  5994. "定制【海商报业】"
  5995. ],
  5996. "summary": "查询一级市场(预售)商品信息详情",
  5997. "parameters": [
  5998. {
  5999. "type": "integer",
  6000. "description": "商品ID",
  6001. "name": "goodsID",
  6002. "in": "query",
  6003. "required": true
  6004. },
  6005. {
  6006. "type": "integer",
  6007. "description": "资金账户,主要用于获取预售商品购买上限",
  6008. "name": "accountID",
  6009. "in": "query"
  6010. }
  6011. ],
  6012. "responses": {
  6013. "200": {
  6014. "description": "OK",
  6015. "schema": {
  6016. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6017. }
  6018. },
  6019. "500": {
  6020. "description": "Internal Server Error",
  6021. "schema": {
  6022. "$ref": "#/definitions/app.Response"
  6023. }
  6024. }
  6025. }
  6026. }
  6027. },
  6028. "/HSBY/QueryHsbyPreGoodses": {
  6029. "get": {
  6030. "security": [
  6031. {
  6032. "ApiKeyAuth": []
  6033. }
  6034. ],
  6035. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6036. "produces": [
  6037. "application/json"
  6038. ],
  6039. "tags": [
  6040. "定制【海商报业】"
  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": "市场ID列表,格式:1,2,3",
  6059. "name": "marketIDs",
  6060. "in": "query",
  6061. "required": true
  6062. },
  6063. {
  6064. "type": "integer",
  6065. "description": "目的地(省)ID",
  6066. "name": "descProvinceID",
  6067. "in": "query"
  6068. },
  6069. {
  6070. "type": "integer",
  6071. "description": "目的地(市)ID",
  6072. "name": "descCityID",
  6073. "in": "query"
  6074. }
  6075. ],
  6076. "responses": {
  6077. "200": {
  6078. "description": "OK",
  6079. "schema": {
  6080. "$ref": "#/definitions/models.HsbyPreGoods"
  6081. }
  6082. },
  6083. "500": {
  6084. "description": "Internal Server Error",
  6085. "schema": {
  6086. "$ref": "#/definitions/app.Response"
  6087. }
  6088. }
  6089. }
  6090. }
  6091. },
  6092. "/HSBY/QueryHsbySellMyDetails": {
  6093. "get": {
  6094. "security": [
  6095. {
  6096. "ApiKeyAuth": []
  6097. }
  6098. ],
  6099. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6100. "produces": [
  6101. "application/json"
  6102. ],
  6103. "tags": [
  6104. "定制【海商报业】"
  6105. ],
  6106. "summary": "查询\"我的闲置\"单据信息",
  6107. "parameters": [
  6108. {
  6109. "type": "integer",
  6110. "description": "页码",
  6111. "name": "page",
  6112. "in": "query"
  6113. },
  6114. {
  6115. "type": "integer",
  6116. "description": "每页条数",
  6117. "name": "pagesize",
  6118. "in": "query"
  6119. },
  6120. {
  6121. "type": "string",
  6122. "description": "资金账户列表,格式:1,2,3",
  6123. "name": "accountIDs",
  6124. "in": "query",
  6125. "required": true
  6126. },
  6127. {
  6128. "type": "integer",
  6129. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6130. "name": "orderType",
  6131. "in": "query"
  6132. }
  6133. ],
  6134. "responses": {
  6135. "200": {
  6136. "description": "OK",
  6137. "schema": {
  6138. "$ref": "#/definitions/models.HsbySellMyDetail"
  6139. }
  6140. },
  6141. "500": {
  6142. "description": "Internal Server Error",
  6143. "schema": {
  6144. "$ref": "#/definitions/app.Response"
  6145. }
  6146. }
  6147. }
  6148. }
  6149. },
  6150. "/HSBY/QueryHsbyTopGoodses": {
  6151. "get": {
  6152. "security": [
  6153. {
  6154. "ApiKeyAuth": []
  6155. }
  6156. ],
  6157. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6158. "produces": [
  6159. "application/json"
  6160. ],
  6161. "tags": [
  6162. "定制【海商报业】"
  6163. ],
  6164. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6165. "parameters": [
  6166. {
  6167. "type": "integer",
  6168. "description": "页码",
  6169. "name": "page",
  6170. "in": "query"
  6171. },
  6172. {
  6173. "type": "integer",
  6174. "description": "每页条数",
  6175. "name": "pagesize",
  6176. "in": "query"
  6177. },
  6178. {
  6179. "type": "string",
  6180. "description": "市场ID列表,格式:1,2,3",
  6181. "name": "marketIDs",
  6182. "in": "query",
  6183. "required": true
  6184. },
  6185. {
  6186. "type": "integer",
  6187. "description": "目的地(省)ID",
  6188. "name": "descProvinceID",
  6189. "in": "query"
  6190. },
  6191. {
  6192. "type": "integer",
  6193. "description": "目的地(市)ID",
  6194. "name": "descCityID",
  6195. "in": "query"
  6196. }
  6197. ],
  6198. "responses": {
  6199. "200": {
  6200. "description": "OK",
  6201. "schema": {
  6202. "$ref": "#/definitions/models.HsbyTopGoods"
  6203. }
  6204. },
  6205. "500": {
  6206. "description": "Internal Server Error",
  6207. "schema": {
  6208. "$ref": "#/definitions/app.Response"
  6209. }
  6210. }
  6211. }
  6212. }
  6213. },
  6214. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6215. "get": {
  6216. "security": [
  6217. {
  6218. "ApiKeyAuth": []
  6219. }
  6220. ],
  6221. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6222. "produces": [
  6223. "application/json"
  6224. ],
  6225. "tags": [
  6226. "定制【海商报业】"
  6227. ],
  6228. "summary": "查询游客三级市场(商城)商品信息详情",
  6229. "parameters": [
  6230. {
  6231. "type": "integer",
  6232. "description": "商品ID",
  6233. "name": "goodsID",
  6234. "in": "query",
  6235. "required": true
  6236. }
  6237. ],
  6238. "responses": {
  6239. "200": {
  6240. "description": "OK",
  6241. "schema": {
  6242. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6243. }
  6244. },
  6245. "500": {
  6246. "description": "Internal Server Error",
  6247. "schema": {
  6248. "$ref": "#/definitions/app.Response"
  6249. }
  6250. }
  6251. }
  6252. }
  6253. },
  6254. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6255. "get": {
  6256. "security": [
  6257. {
  6258. "ApiKeyAuth": []
  6259. }
  6260. ],
  6261. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6262. "produces": [
  6263. "application/json"
  6264. ],
  6265. "tags": [
  6266. "定制【海商报业】"
  6267. ],
  6268. "summary": "查询游客特卖商品列表(三级商城)",
  6269. "parameters": [
  6270. {
  6271. "type": "integer",
  6272. "description": "页码",
  6273. "name": "page",
  6274. "in": "query"
  6275. },
  6276. {
  6277. "type": "integer",
  6278. "description": "每页条数",
  6279. "name": "pagesize",
  6280. "in": "query"
  6281. },
  6282. {
  6283. "type": "string",
  6284. "description": "市场ID列表,格式:1,2,3",
  6285. "name": "marketIDs",
  6286. "in": "query",
  6287. "required": true
  6288. },
  6289. {
  6290. "type": "integer",
  6291. "description": "类别ID",
  6292. "name": "categoryID",
  6293. "in": "query"
  6294. },
  6295. {
  6296. "type": "string",
  6297. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6298. "name": "goodsIDs",
  6299. "in": "query"
  6300. }
  6301. ],
  6302. "responses": {
  6303. "200": {
  6304. "description": "OK",
  6305. "schema": {
  6306. "$ref": "#/definitions/models.HsbyMarketGoods"
  6307. }
  6308. },
  6309. "500": {
  6310. "description": "Internal Server Error",
  6311. "schema": {
  6312. "$ref": "#/definitions/app.Response"
  6313. }
  6314. }
  6315. }
  6316. }
  6317. },
  6318. "/HSBY/QueryMyCollectionOrders": {
  6319. "get": {
  6320. "security": [
  6321. {
  6322. "ApiKeyAuth": []
  6323. }
  6324. ],
  6325. "produces": [
  6326. "application/json"
  6327. ],
  6328. "tags": [
  6329. "定制【海商报业】"
  6330. ],
  6331. "summary": "我的闲置中收款信息查询",
  6332. "parameters": [
  6333. {
  6334. "type": "integer",
  6335. "description": "页码",
  6336. "name": "page",
  6337. "in": "query"
  6338. },
  6339. {
  6340. "type": "integer",
  6341. "description": "每页条数",
  6342. "name": "pagesize",
  6343. "in": "query"
  6344. },
  6345. {
  6346. "type": "string",
  6347. "description": "资金账户,格式:1,2,3",
  6348. "name": "accountIDs",
  6349. "in": "query",
  6350. "required": true
  6351. }
  6352. ],
  6353. "responses": {
  6354. "200": {
  6355. "description": "OK",
  6356. "schema": {
  6357. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6358. }
  6359. },
  6360. "500": {
  6361. "description": "Internal Server Error",
  6362. "schema": {
  6363. "$ref": "#/definitions/app.Response"
  6364. }
  6365. }
  6366. }
  6367. }
  6368. },
  6369. "/HSBY/QueryMyCouponHolds": {
  6370. "get": {
  6371. "security": [
  6372. {
  6373. "ApiKeyAuth": []
  6374. }
  6375. ],
  6376. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6377. "produces": [
  6378. "application/json"
  6379. ],
  6380. "tags": [
  6381. "定制【海商报业】"
  6382. ],
  6383. "summary": "我的优惠卷持仓查询",
  6384. "parameters": [
  6385. {
  6386. "type": "string",
  6387. "description": "资金账户列表,格式:1,2,3",
  6388. "name": "accountIDs",
  6389. "in": "query",
  6390. "required": true
  6391. },
  6392. {
  6393. "type": "string",
  6394. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6395. "name": "holdStatus",
  6396. "in": "query"
  6397. }
  6398. ],
  6399. "responses": {
  6400. "200": {
  6401. "description": "OK",
  6402. "schema": {
  6403. "$ref": "#/definitions/models.MyCouponHold"
  6404. }
  6405. },
  6406. "500": {
  6407. "description": "Internal Server Error",
  6408. "schema": {
  6409. "$ref": "#/definitions/app.Response"
  6410. }
  6411. }
  6412. }
  6413. }
  6414. },
  6415. "/HSBY/QueryMyCoupons": {
  6416. "get": {
  6417. "security": [
  6418. {
  6419. "ApiKeyAuth": []
  6420. }
  6421. ],
  6422. "produces": [
  6423. "application/json"
  6424. ],
  6425. "tags": [
  6426. "定制【海商报业】"
  6427. ],
  6428. "summary": "我的优惠卷查询",
  6429. "parameters": [
  6430. {
  6431. "type": "string",
  6432. "description": "资金账户列表,格式:1,2,3",
  6433. "name": "accountIDs",
  6434. "in": "query",
  6435. "required": true
  6436. },
  6437. {
  6438. "type": "integer",
  6439. "description": "商品ID, 一般与sellUserID配套传入",
  6440. "name": "goodsID",
  6441. "in": "query"
  6442. },
  6443. {
  6444. "type": "integer",
  6445. "description": "卖方UserID",
  6446. "name": "sellUserID",
  6447. "in": "query"
  6448. }
  6449. ],
  6450. "responses": {
  6451. "200": {
  6452. "description": "OK",
  6453. "schema": {
  6454. "$ref": "#/definitions/models.MyCoupon"
  6455. }
  6456. },
  6457. "500": {
  6458. "description": "Internal Server Error",
  6459. "schema": {
  6460. "$ref": "#/definitions/app.Response"
  6461. }
  6462. }
  6463. }
  6464. }
  6465. },
  6466. "/HSBY/QueryMyPayOrders": {
  6467. "get": {
  6468. "security": [
  6469. {
  6470. "ApiKeyAuth": []
  6471. }
  6472. ],
  6473. "produces": [
  6474. "application/json"
  6475. ],
  6476. "tags": [
  6477. "定制【海商报业】"
  6478. ],
  6479. "summary": "获取我的订单中待付款信息",
  6480. "parameters": [
  6481. {
  6482. "type": "integer",
  6483. "description": "页码",
  6484. "name": "page",
  6485. "in": "query"
  6486. },
  6487. {
  6488. "type": "integer",
  6489. "description": "每页条数",
  6490. "name": "pagesize",
  6491. "in": "query"
  6492. },
  6493. {
  6494. "type": "string",
  6495. "description": "资金账户列表,格式:1,2,3",
  6496. "name": "accountIDs",
  6497. "in": "query",
  6498. "required": true
  6499. },
  6500. {
  6501. "type": "integer",
  6502. "description": "买方委托单号",
  6503. "name": "buyOrderID",
  6504. "in": "query"
  6505. },
  6506. {
  6507. "type": "integer",
  6508. "description": "卖方委托单号",
  6509. "name": "sellOrderID",
  6510. "in": "query"
  6511. }
  6512. ],
  6513. "responses": {
  6514. "200": {
  6515. "description": "OK",
  6516. "schema": {
  6517. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6518. }
  6519. },
  6520. "500": {
  6521. "description": "Internal Server Error",
  6522. "schema": {
  6523. "$ref": "#/definitions/app.Response"
  6524. }
  6525. }
  6526. }
  6527. }
  6528. },
  6529. "/HSBY/QueryMyUsedCoupon": {
  6530. "get": {
  6531. "security": [
  6532. {
  6533. "ApiKeyAuth": []
  6534. }
  6535. ],
  6536. "produces": [
  6537. "application/json"
  6538. ],
  6539. "tags": [
  6540. "定制【海商报业】"
  6541. ],
  6542. "summary": "已使用优惠卷查询",
  6543. "parameters": [
  6544. {
  6545. "type": "string",
  6546. "description": "资金账户列表,格式:1,2,3",
  6547. "name": "accountIDs",
  6548. "in": "query",
  6549. "required": true
  6550. }
  6551. ],
  6552. "responses": {
  6553. "200": {
  6554. "description": "OK",
  6555. "schema": {
  6556. "$ref": "#/definitions/models.MyUsedCoupon"
  6557. }
  6558. },
  6559. "500": {
  6560. "description": "Internal Server Error",
  6561. "schema": {
  6562. "$ref": "#/definitions/app.Response"
  6563. }
  6564. }
  6565. }
  6566. }
  6567. },
  6568. "/HSBY/QueryProvincesAndCities": {
  6569. "get": {
  6570. "security": [
  6571. {
  6572. "ApiKeyAuth": []
  6573. }
  6574. ],
  6575. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6576. "produces": [
  6577. "application/json"
  6578. ],
  6579. "tags": [
  6580. "定制【海商报业】"
  6581. ],
  6582. "summary": "查询省市信息(不包括区)",
  6583. "parameters": [
  6584. {
  6585. "type": "integer",
  6586. "description": "省ID",
  6587. "name": "provinceID",
  6588. "in": "query"
  6589. }
  6590. ],
  6591. "responses": {
  6592. "200": {
  6593. "description": "OK",
  6594. "schema": {
  6595. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6596. }
  6597. },
  6598. "500": {
  6599. "description": "Internal Server Error",
  6600. "schema": {
  6601. "$ref": "#/definitions/app.Response"
  6602. }
  6603. }
  6604. }
  6605. }
  6606. },
  6607. "/HSBY/SetHsbyMyPackagesStatus": {
  6608. "post": {
  6609. "security": [
  6610. {
  6611. "ApiKeyAuth": []
  6612. }
  6613. ],
  6614. "produces": [
  6615. "application/json"
  6616. ],
  6617. "tags": [
  6618. "定制【海商报业】"
  6619. ],
  6620. "summary": "设置我的包裹已收货状态",
  6621. "parameters": [
  6622. {
  6623. "type": "string",
  6624. "description": "提货单号",
  6625. "name": "takeOrderID",
  6626. "in": "query",
  6627. "required": true
  6628. },
  6629. {
  6630. "type": "integer",
  6631. "description": "资金账号",
  6632. "name": "accountID",
  6633. "in": "query",
  6634. "required": true
  6635. }
  6636. ],
  6637. "responses": {
  6638. "200": {
  6639. "description": "OK",
  6640. "schema": {
  6641. "$ref": "#/definitions/app.Response"
  6642. }
  6643. },
  6644. "500": {
  6645. "description": "Internal Server Error",
  6646. "schema": {
  6647. "$ref": "#/definitions/app.Response"
  6648. }
  6649. }
  6650. }
  6651. }
  6652. },
  6653. "/Market/GetAllExExchanges": {
  6654. "get": {
  6655. "security": [
  6656. {
  6657. "ApiKeyAuth": []
  6658. }
  6659. ],
  6660. "produces": [
  6661. "application/json"
  6662. ],
  6663. "tags": [
  6664. "通用市场"
  6665. ],
  6666. "summary": "获取所有外部交易所信息",
  6667. "responses": {
  6668. "200": {
  6669. "description": "OK",
  6670. "schema": {
  6671. "$ref": "#/definitions/models.Goods"
  6672. }
  6673. },
  6674. "500": {
  6675. "description": "Internal Server Error",
  6676. "schema": {
  6677. "$ref": "#/definitions/app.Response"
  6678. }
  6679. }
  6680. }
  6681. }
  6682. },
  6683. "/Market/QueryGoodsesByLoginID": {
  6684. "get": {
  6685. "security": [
  6686. {
  6687. "ApiKeyAuth": []
  6688. }
  6689. ],
  6690. "produces": [
  6691. "application/json"
  6692. ],
  6693. "tags": [
  6694. "通用市场"
  6695. ],
  6696. "summary": "获取登录账号有权限的商品信息",
  6697. "parameters": [
  6698. {
  6699. "type": "integer",
  6700. "description": "登录账号",
  6701. "name": "loginID",
  6702. "in": "query",
  6703. "required": true
  6704. },
  6705. {
  6706. "type": "string",
  6707. "description": "市场ID列表,格式:1,2,3",
  6708. "name": "marketIDs",
  6709. "in": "query"
  6710. }
  6711. ],
  6712. "responses": {
  6713. "200": {
  6714. "description": "OK",
  6715. "schema": {
  6716. "$ref": "#/definitions/models.Goods"
  6717. }
  6718. },
  6719. "500": {
  6720. "description": "Internal Server Error",
  6721. "schema": {
  6722. "$ref": "#/definitions/app.Response"
  6723. }
  6724. }
  6725. }
  6726. }
  6727. },
  6728. "/Market/QueryMarketRun": {
  6729. "get": {
  6730. "security": [
  6731. {
  6732. "ApiKeyAuth": []
  6733. }
  6734. ],
  6735. "produces": [
  6736. "application/json"
  6737. ],
  6738. "tags": [
  6739. "通用市场"
  6740. ],
  6741. "summary": "查询市场运行信息",
  6742. "parameters": [
  6743. {
  6744. "type": "integer",
  6745. "description": "市场ID,不传返回所有",
  6746. "name": "marketID",
  6747. "in": "query"
  6748. }
  6749. ],
  6750. "responses": {
  6751. "200": {
  6752. "description": "OK",
  6753. "schema": {
  6754. "$ref": "#/definitions/models.Marketrun"
  6755. }
  6756. },
  6757. "500": {
  6758. "description": "Internal Server Error",
  6759. "schema": {
  6760. "$ref": "#/definitions/app.Response"
  6761. }
  6762. }
  6763. }
  6764. }
  6765. },
  6766. "/Market/QueryMarketsByLoginID": {
  6767. "get": {
  6768. "security": [
  6769. {
  6770. "ApiKeyAuth": []
  6771. }
  6772. ],
  6773. "produces": [
  6774. "application/json"
  6775. ],
  6776. "tags": [
  6777. "通用市场"
  6778. ],
  6779. "summary": "获取登录账号有权限的市场信息",
  6780. "parameters": [
  6781. {
  6782. "type": "integer",
  6783. "description": "登录账号",
  6784. "name": "loginID",
  6785. "in": "query",
  6786. "required": true
  6787. }
  6788. ],
  6789. "responses": {
  6790. "200": {
  6791. "description": "OK",
  6792. "schema": {
  6793. "$ref": "#/definitions/models.Market"
  6794. }
  6795. },
  6796. "500": {
  6797. "description": "Internal Server Error",
  6798. "schema": {
  6799. "$ref": "#/definitions/app.Response"
  6800. }
  6801. }
  6802. }
  6803. }
  6804. },
  6805. "/Order/QueryHisTradeDetail": {
  6806. "get": {
  6807. "security": [
  6808. {
  6809. "ApiKeyAuth": []
  6810. }
  6811. ],
  6812. "produces": [
  6813. "application/json"
  6814. ],
  6815. "tags": [
  6816. "通用单据"
  6817. ],
  6818. "summary": "历史成交单查询(合约市场)",
  6819. "parameters": [
  6820. {
  6821. "type": "string",
  6822. "description": "资金账户 - 格式:1,2,3",
  6823. "name": "accountID",
  6824. "in": "query",
  6825. "required": true
  6826. },
  6827. {
  6828. "type": "integer",
  6829. "description": "成交单号",
  6830. "name": "tradeID",
  6831. "in": "query"
  6832. },
  6833. {
  6834. "type": "integer",
  6835. "description": "委托单号",
  6836. "name": "orderID",
  6837. "in": "query"
  6838. },
  6839. {
  6840. "type": "integer",
  6841. "description": "商品ID",
  6842. "name": "goodsID",
  6843. "in": "query"
  6844. },
  6845. {
  6846. "type": "string",
  6847. "description": "交易模式 - 格式:1,2,3",
  6848. "name": "tradeMode",
  6849. "in": "query"
  6850. },
  6851. {
  6852. "type": "integer",
  6853. "description": "委托单据类型",
  6854. "name": "buildType",
  6855. "in": "query"
  6856. },
  6857. {
  6858. "type": "string",
  6859. "description": "成交类别 - 格式:1,2,3",
  6860. "name": "tradeType",
  6861. "in": "query"
  6862. },
  6863. {
  6864. "type": "string",
  6865. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6866. "name": "startDate",
  6867. "in": "query"
  6868. },
  6869. {
  6870. "type": "string",
  6871. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6872. "name": "endDate",
  6873. "in": "query"
  6874. }
  6875. ],
  6876. "responses": {
  6877. "200": {
  6878. "description": "OK",
  6879. "schema": {
  6880. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6881. }
  6882. },
  6883. "500": {
  6884. "description": "Internal Server Error",
  6885. "schema": {
  6886. "$ref": "#/definitions/app.Response"
  6887. }
  6888. }
  6889. }
  6890. }
  6891. },
  6892. "/Order/QueryHisTradeOrderDetail": {
  6893. "get": {
  6894. "security": [
  6895. {
  6896. "ApiKeyAuth": []
  6897. }
  6898. ],
  6899. "produces": [
  6900. "application/json"
  6901. ],
  6902. "tags": [
  6903. "通用单据"
  6904. ],
  6905. "summary": "历史委托单查询请求(合约市场)",
  6906. "parameters": [
  6907. {
  6908. "type": "string",
  6909. "description": "资金账户 - 格式:1,2,3",
  6910. "name": "accountID",
  6911. "in": "query",
  6912. "required": true
  6913. },
  6914. {
  6915. "type": "string",
  6916. "description": "交易模式 - 格式:1,2,3",
  6917. "name": "tradeMode",
  6918. "in": "query"
  6919. },
  6920. {
  6921. "type": "string",
  6922. "description": "委托状态 - 格式:1,2,3",
  6923. "name": "orderStatus",
  6924. "in": "query"
  6925. },
  6926. {
  6927. "type": "integer",
  6928. "description": "委托单号",
  6929. "name": "orderID",
  6930. "in": "query"
  6931. },
  6932. {
  6933. "type": "string",
  6934. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6935. "name": "startDate",
  6936. "in": "query"
  6937. },
  6938. {
  6939. "type": "string",
  6940. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6941. "name": "endDate",
  6942. "in": "query"
  6943. }
  6944. ],
  6945. "responses": {
  6946. "200": {
  6947. "description": "OK",
  6948. "schema": {
  6949. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6950. }
  6951. },
  6952. "500": {
  6953. "description": "Internal Server Error",
  6954. "schema": {
  6955. "$ref": "#/definitions/app.Response"
  6956. }
  6957. }
  6958. }
  6959. }
  6960. },
  6961. "/Order/QueryTradeDetail": {
  6962. "get": {
  6963. "security": [
  6964. {
  6965. "ApiKeyAuth": []
  6966. }
  6967. ],
  6968. "produces": [
  6969. "application/json"
  6970. ],
  6971. "tags": [
  6972. "通用单据"
  6973. ],
  6974. "summary": "成交单查询(合约市场)",
  6975. "parameters": [
  6976. {
  6977. "type": "string",
  6978. "description": "资金账户 - 格式:1,2,3",
  6979. "name": "accountID",
  6980. "in": "query",
  6981. "required": true
  6982. },
  6983. {
  6984. "type": "integer",
  6985. "description": "成交单号",
  6986. "name": "tradeID",
  6987. "in": "query"
  6988. },
  6989. {
  6990. "type": "integer",
  6991. "description": "委托单号",
  6992. "name": "orderID",
  6993. "in": "query"
  6994. },
  6995. {
  6996. "type": "string",
  6997. "description": "交易模式 - 格式:1,2,3",
  6998. "name": "tradeMode",
  6999. "in": "query"
  7000. },
  7001. {
  7002. "type": "integer",
  7003. "description": "委托单据类型",
  7004. "name": "buildType",
  7005. "in": "query"
  7006. },
  7007. {
  7008. "type": "string",
  7009. "description": "成交类别 - 格式:1,2,3",
  7010. "name": "tradeType",
  7011. "in": "query"
  7012. },
  7013. {
  7014. "type": "integer",
  7015. "description": "商品ID",
  7016. "name": "goodsID",
  7017. "in": "query"
  7018. }
  7019. ],
  7020. "responses": {
  7021. "200": {
  7022. "description": "OK",
  7023. "schema": {
  7024. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7025. }
  7026. },
  7027. "500": {
  7028. "description": "Internal Server Error",
  7029. "schema": {
  7030. "$ref": "#/definitions/app.Response"
  7031. }
  7032. }
  7033. }
  7034. }
  7035. },
  7036. "/Order/QueryTradeOrderDetail": {
  7037. "get": {
  7038. "security": [
  7039. {
  7040. "ApiKeyAuth": []
  7041. }
  7042. ],
  7043. "produces": [
  7044. "application/json"
  7045. ],
  7046. "tags": [
  7047. "通用单据"
  7048. ],
  7049. "summary": "委托单查询请求(合约市场)",
  7050. "parameters": [
  7051. {
  7052. "type": "string",
  7053. "description": "资金账户 - 格式:1,2,3",
  7054. "name": "accountID",
  7055. "in": "query",
  7056. "required": true
  7057. },
  7058. {
  7059. "type": "string",
  7060. "description": "交易模式 - 格式:1,2,3",
  7061. "name": "tradeMode",
  7062. "in": "query"
  7063. },
  7064. {
  7065. "type": "string",
  7066. "description": "委托状态 - 格式:1,2,3",
  7067. "name": "orderStatus",
  7068. "in": "query"
  7069. },
  7070. {
  7071. "type": "integer",
  7072. "description": "委托单号",
  7073. "name": "orderID",
  7074. "in": "query"
  7075. }
  7076. ],
  7077. "responses": {
  7078. "200": {
  7079. "description": "OK",
  7080. "schema": {
  7081. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7082. }
  7083. },
  7084. "500": {
  7085. "description": "Internal Server Error",
  7086. "schema": {
  7087. "$ref": "#/definitions/app.Response"
  7088. }
  7089. }
  7090. }
  7091. }
  7092. },
  7093. "/Order/QueryTradePosition": {
  7094. "get": {
  7095. "security": [
  7096. {
  7097. "ApiKeyAuth": []
  7098. }
  7099. ],
  7100. "produces": [
  7101. "application/json"
  7102. ],
  7103. "tags": [
  7104. "通用单据"
  7105. ],
  7106. "summary": "持仓汇总查询(合约市场)",
  7107. "parameters": [
  7108. {
  7109. "type": "string",
  7110. "description": "资金账户 - 格式:1,2,3",
  7111. "name": "accountID",
  7112. "in": "query",
  7113. "required": true
  7114. },
  7115. {
  7116. "type": "string",
  7117. "description": "交易模式 - 格式:1,2,3",
  7118. "name": "tradeMode",
  7119. "in": "query"
  7120. }
  7121. ],
  7122. "responses": {
  7123. "200": {
  7124. "description": "OK",
  7125. "schema": {
  7126. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7127. }
  7128. },
  7129. "500": {
  7130. "description": "Internal Server Error",
  7131. "schema": {
  7132. "$ref": "#/definitions/app.Response"
  7133. }
  7134. }
  7135. }
  7136. }
  7137. },
  7138. "/Qhj/QueryAccountInOutApply": {
  7139. "get": {
  7140. "security": [
  7141. {
  7142. "ApiKeyAuth": []
  7143. }
  7144. ],
  7145. "produces": [
  7146. "application/json"
  7147. ],
  7148. "tags": [
  7149. "大连千海金"
  7150. ],
  7151. "summary": "查询充值提现",
  7152. "parameters": [
  7153. {
  7154. "type": "integer",
  7155. "description": "用户ID",
  7156. "name": "userid",
  7157. "in": "query",
  7158. "required": true
  7159. },
  7160. {
  7161. "type": "string",
  7162. "description": "申请起始日期(格式yyyymmdd)",
  7163. "name": "begindate",
  7164. "in": "query"
  7165. },
  7166. {
  7167. "type": "string",
  7168. "description": "申请截止日期(格式yyyymmdd)",
  7169. "name": "enddate",
  7170. "in": "query"
  7171. },
  7172. {
  7173. "type": "string",
  7174. "description": "模糊搜索名称",
  7175. "name": "likename",
  7176. "in": "query"
  7177. }
  7178. ],
  7179. "responses": {
  7180. "200": {
  7181. "description": "OK",
  7182. "schema": {
  7183. "type": "array",
  7184. "items": {
  7185. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7186. }
  7187. }
  7188. },
  7189. "500": {
  7190. "description": "Internal Server Error",
  7191. "schema": {
  7192. "$ref": "#/definitions/app.Response"
  7193. }
  7194. }
  7195. }
  7196. }
  7197. },
  7198. "/Qhj/QueryAreaFinanceConfig": {
  7199. "get": {
  7200. "security": [
  7201. {
  7202. "ApiKeyAuth": []
  7203. }
  7204. ],
  7205. "produces": [
  7206. "application/json"
  7207. ],
  7208. "tags": [
  7209. "大连千海金"
  7210. ],
  7211. "summary": "查询企业配置表",
  7212. "parameters": [
  7213. {
  7214. "type": "integer",
  7215. "description": "机构用户ID 其他做市关系,都设置为 1",
  7216. "name": "userid",
  7217. "in": "query"
  7218. }
  7219. ],
  7220. "responses": {
  7221. "200": {
  7222. "description": "OK",
  7223. "schema": {
  7224. "type": "array",
  7225. "items": {
  7226. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7227. }
  7228. }
  7229. },
  7230. "500": {
  7231. "description": "Internal Server Error",
  7232. "schema": {
  7233. "$ref": "#/definitions/app.Response"
  7234. }
  7235. }
  7236. }
  7237. }
  7238. },
  7239. "/Qhj/QueryBankAccountSign": {
  7240. "get": {
  7241. "security": [
  7242. {
  7243. "ApiKeyAuth": []
  7244. }
  7245. ],
  7246. "produces": [
  7247. "application/json"
  7248. ],
  7249. "tags": [
  7250. "大连千海金"
  7251. ],
  7252. "summary": "查询签约银行信息(提现账户管理)",
  7253. "parameters": [
  7254. {
  7255. "type": "integer",
  7256. "description": "用户ID",
  7257. "name": "userid",
  7258. "in": "query",
  7259. "required": true
  7260. }
  7261. ],
  7262. "responses": {
  7263. "200": {
  7264. "description": "OK",
  7265. "schema": {
  7266. "type": "array",
  7267. "items": {
  7268. "$ref": "#/definitions/models.QhjBankAccountSign"
  7269. }
  7270. }
  7271. },
  7272. "500": {
  7273. "description": "Internal Server Error",
  7274. "schema": {
  7275. "$ref": "#/definitions/app.Response"
  7276. }
  7277. }
  7278. }
  7279. }
  7280. },
  7281. "/Qhj/QueryBankInfo": {
  7282. "get": {
  7283. "security": [
  7284. {
  7285. "ApiKeyAuth": []
  7286. }
  7287. ],
  7288. "produces": [
  7289. "application/json"
  7290. ],
  7291. "tags": [
  7292. "大连千海金"
  7293. ],
  7294. "summary": "查询开户行",
  7295. "responses": {
  7296. "200": {
  7297. "description": "OK",
  7298. "schema": {
  7299. "type": "array",
  7300. "items": {
  7301. "$ref": "#/definitions/models.QhjBankInfo"
  7302. }
  7303. }
  7304. },
  7305. "500": {
  7306. "description": "Internal Server Error",
  7307. "schema": {
  7308. "$ref": "#/definitions/app.Response"
  7309. }
  7310. }
  7311. }
  7312. }
  7313. },
  7314. "/Qhj/QueryBrokerApply": {
  7315. "get": {
  7316. "security": [
  7317. {
  7318. "ApiKeyAuth": []
  7319. }
  7320. ],
  7321. "produces": [
  7322. "application/json"
  7323. ],
  7324. "tags": [
  7325. "大连千海金"
  7326. ],
  7327. "summary": "查询经纪人申请",
  7328. "parameters": [
  7329. {
  7330. "type": "integer",
  7331. "description": "所属机构ID",
  7332. "name": "userid",
  7333. "in": "query"
  7334. },
  7335. {
  7336. "type": "string",
  7337. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7338. "name": "filterstatus",
  7339. "in": "query"
  7340. }
  7341. ],
  7342. "responses": {
  7343. "200": {
  7344. "description": "OK",
  7345. "schema": {
  7346. "type": "array",
  7347. "items": {
  7348. "$ref": "#/definitions/models.QhjBrokerApply"
  7349. }
  7350. }
  7351. },
  7352. "500": {
  7353. "description": "Internal Server Error",
  7354. "schema": {
  7355. "$ref": "#/definitions/app.Response"
  7356. }
  7357. }
  7358. }
  7359. }
  7360. },
  7361. "/Qhj/QueryBrokerApplyEx": {
  7362. "get": {
  7363. "security": [
  7364. {
  7365. "ApiKeyAuth": []
  7366. }
  7367. ],
  7368. "produces": [
  7369. "application/json"
  7370. ],
  7371. "tags": [
  7372. "大连千海金"
  7373. ],
  7374. "summary": "查询经纪人信息和申请记录",
  7375. "parameters": [
  7376. {
  7377. "type": "integer",
  7378. "description": "所属机构ID",
  7379. "name": "userid",
  7380. "in": "query"
  7381. }
  7382. ],
  7383. "responses": {
  7384. "200": {
  7385. "description": "OK",
  7386. "schema": {
  7387. "type": "array",
  7388. "items": {
  7389. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  7390. }
  7391. }
  7392. },
  7393. "500": {
  7394. "description": "Internal Server Error",
  7395. "schema": {
  7396. "$ref": "#/definitions/app.Response"
  7397. }
  7398. }
  7399. }
  7400. }
  7401. },
  7402. "/Qhj/QueryBrokerRewardLog": {
  7403. "get": {
  7404. "security": [
  7405. {
  7406. "ApiKeyAuth": []
  7407. }
  7408. ],
  7409. "produces": [
  7410. "application/json"
  7411. ],
  7412. "tags": [
  7413. "大连千海金"
  7414. ],
  7415. "summary": "查询奖励流水(我的奖励)",
  7416. "parameters": [
  7417. {
  7418. "type": "integer",
  7419. "description": "用户ID",
  7420. "name": "userid",
  7421. "in": "query",
  7422. "required": true
  7423. },
  7424. {
  7425. "type": "string",
  7426. "description": "开始交易日(yyyymmdd)",
  7427. "name": "begindate",
  7428. "in": "query"
  7429. },
  7430. {
  7431. "type": "string",
  7432. "description": "结束交易日(yyyymmdd)",
  7433. "name": "enddate",
  7434. "in": "query"
  7435. }
  7436. ],
  7437. "responses": {
  7438. "200": {
  7439. "description": "OK",
  7440. "schema": {
  7441. "type": "array",
  7442. "items": {
  7443. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  7444. }
  7445. }
  7446. },
  7447. "500": {
  7448. "description": "Internal Server Error",
  7449. "schema": {
  7450. "$ref": "#/definitions/app.Response"
  7451. }
  7452. }
  7453. }
  7454. }
  7455. },
  7456. "/Qhj/QueryContract": {
  7457. "get": {
  7458. "security": [
  7459. {
  7460. "ApiKeyAuth": []
  7461. }
  7462. ],
  7463. "produces": [
  7464. "application/json"
  7465. ],
  7466. "tags": [
  7467. "大连千海金"
  7468. ],
  7469. "summary": "查询融资明细(合同)",
  7470. "parameters": [
  7471. {
  7472. "type": "integer",
  7473. "description": "用户ID",
  7474. "name": "userid",
  7475. "in": "query"
  7476. },
  7477. {
  7478. "type": "integer",
  7479. "description": "scf合同id",
  7480. "name": "scfcontractid",
  7481. "in": "query"
  7482. }
  7483. ],
  7484. "responses": {
  7485. "200": {
  7486. "description": "OK",
  7487. "schema": {
  7488. "type": "array",
  7489. "items": {
  7490. "$ref": "#/definitions/models.QhjContract"
  7491. }
  7492. }
  7493. },
  7494. "500": {
  7495. "description": "Internal Server Error",
  7496. "schema": {
  7497. "$ref": "#/definitions/app.Response"
  7498. }
  7499. }
  7500. }
  7501. }
  7502. },
  7503. "/Qhj/QueryContractLog": {
  7504. "get": {
  7505. "security": [
  7506. {
  7507. "ApiKeyAuth": []
  7508. }
  7509. ],
  7510. "produces": [
  7511. "application/json"
  7512. ],
  7513. "tags": [
  7514. "大连千海金"
  7515. ],
  7516. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7517. "parameters": [
  7518. {
  7519. "type": "integer",
  7520. "description": "scf合同id",
  7521. "name": "scfcontractid",
  7522. "in": "query",
  7523. "required": true
  7524. },
  7525. {
  7526. "type": "string",
  7527. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7528. "name": "amounttype",
  7529. "in": "query"
  7530. }
  7531. ],
  7532. "responses": {
  7533. "200": {
  7534. "description": "OK",
  7535. "schema": {
  7536. "type": "array",
  7537. "items": {
  7538. "$ref": "#/definitions/models.QhjContractLog"
  7539. }
  7540. }
  7541. },
  7542. "500": {
  7543. "description": "Internal Server Error",
  7544. "schema": {
  7545. "$ref": "#/definitions/app.Response"
  7546. }
  7547. }
  7548. }
  7549. }
  7550. },
  7551. "/Qhj/QueryCusBankSignBank": {
  7552. "get": {
  7553. "security": [
  7554. {
  7555. "ApiKeyAuth": []
  7556. }
  7557. ],
  7558. "produces": [
  7559. "application/json"
  7560. ],
  7561. "tags": [
  7562. "大连千海金"
  7563. ],
  7564. "summary": "查询托管银行",
  7565. "responses": {
  7566. "200": {
  7567. "description": "OK",
  7568. "schema": {
  7569. "type": "array",
  7570. "items": {
  7571. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7572. }
  7573. }
  7574. },
  7575. "500": {
  7576. "description": "Internal Server Error",
  7577. "schema": {
  7578. "$ref": "#/definitions/app.Response"
  7579. }
  7580. }
  7581. }
  7582. }
  7583. },
  7584. "/Qhj/QueryCustomerInfo": {
  7585. "get": {
  7586. "security": [
  7587. {
  7588. "ApiKeyAuth": []
  7589. }
  7590. ],
  7591. "produces": [
  7592. "application/json"
  7593. ],
  7594. "tags": [
  7595. "大连千海金"
  7596. ],
  7597. "summary": "查询客户资料",
  7598. "parameters": [
  7599. {
  7600. "type": "integer",
  7601. "description": "用户ID",
  7602. "name": "userid",
  7603. "in": "query",
  7604. "required": true
  7605. },
  7606. {
  7607. "type": "integer",
  7608. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7609. "name": "querytype",
  7610. "in": "query",
  7611. "required": true
  7612. },
  7613. {
  7614. "type": "integer",
  7615. "description": "客户类型 1-个人 2-企业",
  7616. "name": "userinfotype",
  7617. "in": "query"
  7618. },
  7619. {
  7620. "type": "string",
  7621. "description": "客户名称(模糊匹配)",
  7622. "name": "customername",
  7623. "in": "query"
  7624. },
  7625. {
  7626. "type": "string",
  7627. "description": "昵称(模糊匹配)",
  7628. "name": "nickname",
  7629. "in": "query"
  7630. },
  7631. {
  7632. "type": "integer",
  7633. "description": "是否包含子级 1-包含",
  7634. "name": "includesub",
  7635. "in": "query"
  7636. }
  7637. ],
  7638. "responses": {
  7639. "200": {
  7640. "description": "OK",
  7641. "schema": {
  7642. "type": "array",
  7643. "items": {
  7644. "$ref": "#/definitions/models.QhjCustomer"
  7645. }
  7646. }
  7647. },
  7648. "500": {
  7649. "description": "Internal Server Error",
  7650. "schema": {
  7651. "$ref": "#/definitions/app.Response"
  7652. }
  7653. }
  7654. }
  7655. }
  7656. },
  7657. "/Qhj/QueryGoodsEx": {
  7658. "get": {
  7659. "security": [
  7660. {
  7661. "ApiKeyAuth": []
  7662. }
  7663. ],
  7664. "produces": [
  7665. "application/json"
  7666. ],
  7667. "tags": [
  7668. "大连千海金"
  7669. ],
  7670. "summary": "交易商品扩展表",
  7671. "parameters": [
  7672. {
  7673. "type": "integer",
  7674. "description": "商品id",
  7675. "name": "goodsid",
  7676. "in": "query"
  7677. }
  7678. ],
  7679. "responses": {
  7680. "200": {
  7681. "description": "OK",
  7682. "schema": {
  7683. "type": "array",
  7684. "items": {
  7685. "$ref": "#/definitions/models.Qhjgoodsex"
  7686. }
  7687. }
  7688. },
  7689. "500": {
  7690. "description": "Internal Server Error",
  7691. "schema": {
  7692. "$ref": "#/definitions/app.Response"
  7693. }
  7694. }
  7695. }
  7696. }
  7697. },
  7698. "/Qhj/QueryMyTeam": {
  7699. "get": {
  7700. "security": [
  7701. {
  7702. "ApiKeyAuth": []
  7703. }
  7704. ],
  7705. "produces": [
  7706. "application/json"
  7707. ],
  7708. "tags": [
  7709. "大连千海金"
  7710. ],
  7711. "summary": "查询我的团队",
  7712. "parameters": [
  7713. {
  7714. "type": "integer",
  7715. "description": "用户ID",
  7716. "name": "userid",
  7717. "in": "query",
  7718. "required": true
  7719. }
  7720. ],
  7721. "responses": {
  7722. "200": {
  7723. "description": "OK",
  7724. "schema": {
  7725. "type": "array",
  7726. "items": {
  7727. "$ref": "#/definitions/models.QhjMyTeamEx"
  7728. }
  7729. }
  7730. },
  7731. "500": {
  7732. "description": "Internal Server Error",
  7733. "schema": {
  7734. "$ref": "#/definitions/app.Response"
  7735. }
  7736. }
  7737. }
  7738. }
  7739. },
  7740. "/Qhj/QueryMyTeamOrder": {
  7741. "get": {
  7742. "security": [
  7743. {
  7744. "ApiKeyAuth": []
  7745. }
  7746. ],
  7747. "produces": [
  7748. "application/json"
  7749. ],
  7750. "tags": [
  7751. "大连千海金"
  7752. ],
  7753. "summary": "查询团队订单(我的团队/团队订单)",
  7754. "parameters": [
  7755. {
  7756. "type": "integer",
  7757. "description": "页码",
  7758. "name": "page",
  7759. "in": "query"
  7760. },
  7761. {
  7762. "type": "integer",
  7763. "description": "每页条数",
  7764. "name": "pagesize",
  7765. "in": "query"
  7766. },
  7767. {
  7768. "type": "integer",
  7769. "description": "用户ID",
  7770. "name": "userid",
  7771. "in": "query",
  7772. "required": true
  7773. },
  7774. {
  7775. "type": "integer",
  7776. "description": "交易模式",
  7777. "name": "trademode",
  7778. "in": "query"
  7779. },
  7780. {
  7781. "type": "string",
  7782. "description": "名称(模糊搜索账户)",
  7783. "name": "filtername",
  7784. "in": "query"
  7785. }
  7786. ],
  7787. "responses": {
  7788. "200": {
  7789. "description": "OK",
  7790. "schema": {
  7791. "type": "array",
  7792. "items": {
  7793. "$ref": "#/definitions/models.QhjTeamOrder"
  7794. }
  7795. }
  7796. },
  7797. "500": {
  7798. "description": "Internal Server Error",
  7799. "schema": {
  7800. "$ref": "#/definitions/app.Response"
  7801. }
  7802. }
  7803. }
  7804. }
  7805. },
  7806. "/Qhj/QueryParentAreaList": {
  7807. "get": {
  7808. "security": [
  7809. {
  7810. "ApiKeyAuth": []
  7811. }
  7812. ],
  7813. "produces": [
  7814. "application/json"
  7815. ],
  7816. "tags": [
  7817. "大连千海金"
  7818. ],
  7819. "summary": "查询所属机构列表",
  7820. "parameters": [
  7821. {
  7822. "type": "integer",
  7823. "description": "用户ID",
  7824. "name": "userid",
  7825. "in": "query",
  7826. "required": true
  7827. }
  7828. ],
  7829. "responses": {
  7830. "200": {
  7831. "description": "OK",
  7832. "schema": {
  7833. "type": "array",
  7834. "items": {
  7835. "$ref": "#/definitions/models.QhjParentAreaList"
  7836. }
  7837. }
  7838. },
  7839. "500": {
  7840. "description": "Internal Server Error",
  7841. "schema": {
  7842. "$ref": "#/definitions/app.Response"
  7843. }
  7844. }
  7845. }
  7846. }
  7847. },
  7848. "/Qhj/QueryPayOrder": {
  7849. "get": {
  7850. "security": [
  7851. {
  7852. "ApiKeyAuth": []
  7853. }
  7854. ],
  7855. "produces": [
  7856. "application/json"
  7857. ],
  7858. "tags": [
  7859. "大连千海金"
  7860. ],
  7861. "summary": "查询待付款单据",
  7862. "parameters": [
  7863. {
  7864. "type": "integer",
  7865. "description": "资金账号id",
  7866. "name": "accountid",
  7867. "in": "query",
  7868. "required": true
  7869. },
  7870. {
  7871. "type": "integer",
  7872. "description": "成交单号",
  7873. "name": "tradeid",
  7874. "in": "query"
  7875. },
  7876. {
  7877. "type": "string",
  7878. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7879. "name": "payflag",
  7880. "in": "query"
  7881. }
  7882. ],
  7883. "responses": {
  7884. "200": {
  7885. "description": "OK",
  7886. "schema": {
  7887. "type": "array",
  7888. "items": {
  7889. "$ref": "#/definitions/models.QhjPayOrder"
  7890. }
  7891. }
  7892. },
  7893. "500": {
  7894. "description": "Internal Server Error",
  7895. "schema": {
  7896. "$ref": "#/definitions/app.Response"
  7897. }
  7898. }
  7899. }
  7900. }
  7901. },
  7902. "/Qhj/QueryPickArea": {
  7903. "get": {
  7904. "security": [
  7905. {
  7906. "ApiKeyAuth": []
  7907. }
  7908. ],
  7909. "produces": [
  7910. "application/json"
  7911. ],
  7912. "tags": [
  7913. "大连千海金"
  7914. ],
  7915. "summary": "查询提货门店",
  7916. "parameters": [
  7917. {
  7918. "type": "integer",
  7919. "description": "用户ID",
  7920. "name": "userid",
  7921. "in": "query"
  7922. }
  7923. ],
  7924. "responses": {
  7925. "200": {
  7926. "description": "OK",
  7927. "schema": {
  7928. "type": "array",
  7929. "items": {
  7930. "$ref": "#/definitions/models.QhjPickArea"
  7931. }
  7932. }
  7933. },
  7934. "500": {
  7935. "description": "Internal Server Error",
  7936. "schema": {
  7937. "$ref": "#/definitions/app.Response"
  7938. }
  7939. }
  7940. }
  7941. }
  7942. },
  7943. "/Qhj/QueryPickGoods": {
  7944. "get": {
  7945. "security": [
  7946. {
  7947. "ApiKeyAuth": []
  7948. }
  7949. ],
  7950. "produces": [
  7951. "application/json"
  7952. ],
  7953. "tags": [
  7954. "大连千海金"
  7955. ],
  7956. "summary": "查询提货商品",
  7957. "parameters": [
  7958. {
  7959. "type": "integer",
  7960. "description": "交易商品id",
  7961. "name": "goodsid",
  7962. "in": "query",
  7963. "required": true
  7964. },
  7965. {
  7966. "type": "string",
  7967. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7968. "name": "status",
  7969. "in": "query"
  7970. }
  7971. ],
  7972. "responses": {
  7973. "200": {
  7974. "description": "OK",
  7975. "schema": {
  7976. "type": "array",
  7977. "items": {
  7978. "$ref": "#/definitions/models.QhjPickGoods"
  7979. }
  7980. }
  7981. },
  7982. "500": {
  7983. "description": "Internal Server Error",
  7984. "schema": {
  7985. "$ref": "#/definitions/app.Response"
  7986. }
  7987. }
  7988. }
  7989. }
  7990. },
  7991. "/Qhj/QueryRSTriggerLog": {
  7992. "get": {
  7993. "security": [
  7994. {
  7995. "ApiKeyAuth": []
  7996. }
  7997. ],
  7998. "produces": [
  7999. "application/json"
  8000. ],
  8001. "tags": [
  8002. "大连千海金"
  8003. ],
  8004. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8005. "parameters": [
  8006. {
  8007. "type": "integer",
  8008. "description": "用户ID",
  8009. "name": "userid",
  8010. "in": "query"
  8011. },
  8012. {
  8013. "type": "integer",
  8014. "description": "定投策略id",
  8015. "name": "regularlystrategyid",
  8016. "in": "query"
  8017. },
  8018. {
  8019. "type": "integer",
  8020. "description": "商品id",
  8021. "name": "goodsid",
  8022. "in": "query"
  8023. },
  8024. {
  8025. "type": "string",
  8026. "description": "开始交易日(yyyymmdd)",
  8027. "name": "begindate",
  8028. "in": "query"
  8029. },
  8030. {
  8031. "type": "string",
  8032. "description": "结束交易日(yyyymmdd)",
  8033. "name": "enddate",
  8034. "in": "query"
  8035. },
  8036. {
  8037. "type": "string",
  8038. "description": "名称(模糊搜索账户)",
  8039. "name": "filtername",
  8040. "in": "query"
  8041. }
  8042. ],
  8043. "responses": {
  8044. "200": {
  8045. "description": "OK",
  8046. "schema": {
  8047. "type": "array",
  8048. "items": {
  8049. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8050. }
  8051. }
  8052. },
  8053. "500": {
  8054. "description": "Internal Server Error",
  8055. "schema": {
  8056. "$ref": "#/definitions/app.Response"
  8057. }
  8058. }
  8059. }
  8060. }
  8061. },
  8062. "/Qhj/QueryRStrategy": {
  8063. "get": {
  8064. "security": [
  8065. {
  8066. "ApiKeyAuth": []
  8067. }
  8068. ],
  8069. "produces": [
  8070. "application/json"
  8071. ],
  8072. "tags": [
  8073. "大连千海金"
  8074. ],
  8075. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8076. "parameters": [
  8077. {
  8078. "type": "integer",
  8079. "description": "用户ID",
  8080. "name": "userid",
  8081. "in": "query"
  8082. },
  8083. {
  8084. "type": "integer",
  8085. "description": "商品id",
  8086. "name": "goodsid",
  8087. "in": "query"
  8088. },
  8089. {
  8090. "type": "string",
  8091. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8092. "name": "status",
  8093. "in": "query"
  8094. },
  8095. {
  8096. "type": "string",
  8097. "description": "名称(模糊搜索账户)",
  8098. "name": "filtername",
  8099. "in": "query"
  8100. }
  8101. ],
  8102. "responses": {
  8103. "200": {
  8104. "description": "OK",
  8105. "schema": {
  8106. "type": "array",
  8107. "items": {
  8108. "$ref": "#/definitions/models.QhjRStrategy"
  8109. }
  8110. }
  8111. },
  8112. "500": {
  8113. "description": "Internal Server Error",
  8114. "schema": {
  8115. "$ref": "#/definitions/app.Response"
  8116. }
  8117. }
  8118. }
  8119. }
  8120. },
  8121. "/Qhj/QueryReckonPriceLog": {
  8122. "get": {
  8123. "security": [
  8124. {
  8125. "ApiKeyAuth": []
  8126. }
  8127. ],
  8128. "produces": [
  8129. "application/json"
  8130. ],
  8131. "tags": [
  8132. "大连千海金"
  8133. ],
  8134. "summary": "查询定投价(结算价)",
  8135. "parameters": [
  8136. {
  8137. "type": "integer",
  8138. "description": "商品ID",
  8139. "name": "goodsid",
  8140. "in": "query"
  8141. },
  8142. {
  8143. "type": "string",
  8144. "description": "交易日 格式(yyyymmdd)",
  8145. "name": "tradedate",
  8146. "in": "query"
  8147. }
  8148. ],
  8149. "responses": {
  8150. "200": {
  8151. "description": "OK",
  8152. "schema": {
  8153. "type": "array",
  8154. "items": {
  8155. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8156. }
  8157. }
  8158. },
  8159. "500": {
  8160. "description": "Internal Server Error",
  8161. "schema": {
  8162. "$ref": "#/definitions/app.Response"
  8163. }
  8164. }
  8165. }
  8166. }
  8167. },
  8168. "/Qhj/QueryScoreLog": {
  8169. "get": {
  8170. "security": [
  8171. {
  8172. "ApiKeyAuth": []
  8173. }
  8174. ],
  8175. "produces": [
  8176. "application/json"
  8177. ],
  8178. "tags": [
  8179. "大连千海金"
  8180. ],
  8181. "summary": "查询积分流水(我的积分)",
  8182. "parameters": [
  8183. {
  8184. "type": "integer",
  8185. "description": "用户ID",
  8186. "name": "userid",
  8187. "in": "query",
  8188. "required": true
  8189. },
  8190. {
  8191. "type": "string",
  8192. "description": "开始交易日(yyyymmdd)",
  8193. "name": "begindate",
  8194. "in": "query"
  8195. },
  8196. {
  8197. "type": "string",
  8198. "description": "结束交易日(yyyymmdd)",
  8199. "name": "enddate",
  8200. "in": "query"
  8201. },
  8202. {
  8203. "type": "integer",
  8204. "description": "最近多少条",
  8205. "name": "lastnum",
  8206. "in": "query"
  8207. }
  8208. ],
  8209. "responses": {
  8210. "200": {
  8211. "description": "OK",
  8212. "schema": {
  8213. "type": "array",
  8214. "items": {
  8215. "$ref": "#/definitions/models.QhjScoreLog"
  8216. }
  8217. }
  8218. },
  8219. "500": {
  8220. "description": "Internal Server Error",
  8221. "schema": {
  8222. "$ref": "#/definitions/app.Response"
  8223. }
  8224. }
  8225. }
  8226. }
  8227. },
  8228. "/Qhj/QuerySiteColumnDetail": {
  8229. "get": {
  8230. "security": [
  8231. {
  8232. "ApiKeyAuth": []
  8233. }
  8234. ],
  8235. "produces": [
  8236. "application/json"
  8237. ],
  8238. "tags": [
  8239. "大连千海金"
  8240. ],
  8241. "summary": "查询资讯",
  8242. "parameters": [
  8243. {
  8244. "type": "integer",
  8245. "description": "用户ID",
  8246. "name": "userid",
  8247. "in": "query",
  8248. "required": true
  8249. }
  8250. ],
  8251. "responses": {
  8252. "200": {
  8253. "description": "OK",
  8254. "schema": {
  8255. "type": "array",
  8256. "items": {
  8257. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8258. }
  8259. }
  8260. },
  8261. "500": {
  8262. "description": "Internal Server Error",
  8263. "schema": {
  8264. "$ref": "#/definitions/app.Response"
  8265. }
  8266. }
  8267. }
  8268. }
  8269. },
  8270. "/Qhj/QueryTradeGoodsPickup": {
  8271. "get": {
  8272. "security": [
  8273. {
  8274. "ApiKeyAuth": []
  8275. }
  8276. ],
  8277. "produces": [
  8278. "application/json"
  8279. ],
  8280. "tags": [
  8281. "大连千海金"
  8282. ],
  8283. "summary": "查询提货",
  8284. "parameters": [
  8285. {
  8286. "type": "integer",
  8287. "description": "用户ID",
  8288. "name": "userid",
  8289. "in": "query",
  8290. "required": true
  8291. },
  8292. {
  8293. "type": "integer",
  8294. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8295. "name": "takeorderstatus",
  8296. "in": "query"
  8297. }
  8298. ],
  8299. "responses": {
  8300. "200": {
  8301. "description": "OK",
  8302. "schema": {
  8303. "type": "array",
  8304. "items": {
  8305. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8306. }
  8307. }
  8308. },
  8309. "500": {
  8310. "description": "Internal Server Error",
  8311. "schema": {
  8312. "$ref": "#/definitions/app.Response"
  8313. }
  8314. }
  8315. }
  8316. }
  8317. },
  8318. "/Qhj/QueryUserCollectConfig": {
  8319. "get": {
  8320. "security": [
  8321. {
  8322. "ApiKeyAuth": []
  8323. }
  8324. ],
  8325. "produces": [
  8326. "application/json"
  8327. ],
  8328. "tags": [
  8329. "大连千海金"
  8330. ],
  8331. "summary": "查询提现账户设置",
  8332. "parameters": [
  8333. {
  8334. "type": "integer",
  8335. "description": "用户ID",
  8336. "name": "userid",
  8337. "in": "query",
  8338. "required": true
  8339. }
  8340. ],
  8341. "responses": {
  8342. "200": {
  8343. "description": "OK",
  8344. "schema": {
  8345. "type": "array",
  8346. "items": {
  8347. "$ref": "#/definitions/models.UserCollectConfig"
  8348. }
  8349. }
  8350. },
  8351. "500": {
  8352. "description": "Internal Server Error",
  8353. "schema": {
  8354. "$ref": "#/definitions/app.Response"
  8355. }
  8356. }
  8357. }
  8358. }
  8359. },
  8360. "/Qhj/QueryUserReceiveInfo": {
  8361. "get": {
  8362. "security": [
  8363. {
  8364. "ApiKeyAuth": []
  8365. }
  8366. ],
  8367. "produces": [
  8368. "application/json"
  8369. ],
  8370. "tags": [
  8371. "大连千海金"
  8372. ],
  8373. "summary": "查询收货地址信息",
  8374. "parameters": [
  8375. {
  8376. "type": "integer",
  8377. "description": "用户ID",
  8378. "name": "userid",
  8379. "in": "query",
  8380. "required": true
  8381. }
  8382. ],
  8383. "responses": {
  8384. "200": {
  8385. "description": "OK",
  8386. "schema": {
  8387. "type": "array",
  8388. "items": {
  8389. "$ref": "#/definitions/models.UserReceiveInfo"
  8390. }
  8391. }
  8392. },
  8393. "500": {
  8394. "description": "Internal Server Error",
  8395. "schema": {
  8396. "$ref": "#/definitions/app.Response"
  8397. }
  8398. }
  8399. }
  8400. }
  8401. },
  8402. "/QhjMgr/QueryAccountInOutApply": {
  8403. "get": {
  8404. "security": [
  8405. {
  8406. "ApiKeyAuth": []
  8407. }
  8408. ],
  8409. "produces": [
  8410. "application/json"
  8411. ],
  8412. "tags": [
  8413. "大连千海金(PCWeb)"
  8414. ],
  8415. "summary": "查询充值提现",
  8416. "parameters": [
  8417. {
  8418. "type": "integer",
  8419. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8420. "name": "querytype",
  8421. "in": "query",
  8422. "required": true
  8423. },
  8424. {
  8425. "type": "integer",
  8426. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8427. "name": "applystatus",
  8428. "in": "query"
  8429. },
  8430. {
  8431. "type": "string",
  8432. "description": "申请起始日期(格式yyyymmdd)",
  8433. "name": "begindate",
  8434. "in": "query"
  8435. },
  8436. {
  8437. "type": "string",
  8438. "description": "申请截止日期(格式yyyymmdd)",
  8439. "name": "enddate",
  8440. "in": "query"
  8441. },
  8442. {
  8443. "type": "string",
  8444. "description": "模糊搜索名称",
  8445. "name": "likename",
  8446. "in": "query"
  8447. }
  8448. ],
  8449. "responses": {
  8450. "200": {
  8451. "description": "OK",
  8452. "schema": {
  8453. "type": "array",
  8454. "items": {
  8455. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8456. }
  8457. }
  8458. },
  8459. "500": {
  8460. "description": "Internal Server Error",
  8461. "schema": {
  8462. "$ref": "#/definitions/app.Response"
  8463. }
  8464. }
  8465. }
  8466. }
  8467. },
  8468. "/QhjMgr/QueryBrokerApply": {
  8469. "get": {
  8470. "security": [
  8471. {
  8472. "ApiKeyAuth": []
  8473. }
  8474. ],
  8475. "produces": [
  8476. "application/json"
  8477. ],
  8478. "tags": [
  8479. "大连千海金(PCWeb)"
  8480. ],
  8481. "summary": "查询经纪人申请",
  8482. "parameters": [
  8483. {
  8484. "type": "integer",
  8485. "description": "所属机构ID",
  8486. "name": "userid",
  8487. "in": "query"
  8488. },
  8489. {
  8490. "type": "string",
  8491. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8492. "name": "filterstatus",
  8493. "in": "query"
  8494. },
  8495. {
  8496. "type": "string",
  8497. "description": "名称(模糊匹配)",
  8498. "name": "filtername",
  8499. "in": "query"
  8500. },
  8501. {
  8502. "type": "integer",
  8503. "description": "是否包含子级 1-包含",
  8504. "name": "includesub",
  8505. "in": "query"
  8506. }
  8507. ],
  8508. "responses": {
  8509. "200": {
  8510. "description": "OK",
  8511. "schema": {
  8512. "type": "array",
  8513. "items": {
  8514. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8515. }
  8516. }
  8517. },
  8518. "500": {
  8519. "description": "Internal Server Error",
  8520. "schema": {
  8521. "$ref": "#/definitions/app.Response"
  8522. }
  8523. }
  8524. }
  8525. }
  8526. },
  8527. "/QhjMgr/QueryBrokerRewardReport": {
  8528. "get": {
  8529. "security": [
  8530. {
  8531. "ApiKeyAuth": []
  8532. }
  8533. ],
  8534. "produces": [
  8535. "application/json"
  8536. ],
  8537. "tags": [
  8538. "大连千海金(PCWeb)"
  8539. ],
  8540. "summary": "查询经纪人奖励报表(废弃)",
  8541. "parameters": [
  8542. {
  8543. "type": "integer",
  8544. "description": "所属机构ID",
  8545. "name": "userid",
  8546. "in": "query",
  8547. "required": true
  8548. },
  8549. {
  8550. "type": "integer",
  8551. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8552. "name": "cycletype",
  8553. "in": "query",
  8554. "required": true
  8555. },
  8556. {
  8557. "type": "string",
  8558. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  8559. "name": "cycletime",
  8560. "in": "query",
  8561. "required": true
  8562. },
  8563. {
  8564. "type": "string",
  8565. "description": "名称(模糊匹配)",
  8566. "name": "filtername",
  8567. "in": "query"
  8568. },
  8569. {
  8570. "type": "integer",
  8571. "description": "是否包含子级 1-包含",
  8572. "name": "includesub",
  8573. "in": "query"
  8574. }
  8575. ],
  8576. "responses": {
  8577. "200": {
  8578. "description": "OK",
  8579. "schema": {
  8580. "type": "array",
  8581. "items": {
  8582. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  8583. }
  8584. }
  8585. },
  8586. "500": {
  8587. "description": "Internal Server Error",
  8588. "schema": {
  8589. "$ref": "#/definitions/app.Response"
  8590. }
  8591. }
  8592. }
  8593. }
  8594. },
  8595. "/QhjMgr/QueryContract": {
  8596. "get": {
  8597. "security": [
  8598. {
  8599. "ApiKeyAuth": []
  8600. }
  8601. ],
  8602. "produces": [
  8603. "application/json"
  8604. ],
  8605. "tags": [
  8606. "大连千海金(PCWeb)"
  8607. ],
  8608. "summary": "查询融资信息(合同)",
  8609. "parameters": [
  8610. {
  8611. "type": "integer",
  8612. "description": "用户ID",
  8613. "name": "userid",
  8614. "in": "query"
  8615. },
  8616. {
  8617. "type": "integer",
  8618. "description": "商品id",
  8619. "name": "goodsid",
  8620. "in": "query"
  8621. },
  8622. {
  8623. "type": "string",
  8624. "description": "名称(模糊搜索账户)",
  8625. "name": "filtername",
  8626. "in": "query"
  8627. },
  8628. {
  8629. "type": "string",
  8630. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8631. "name": "risklevel",
  8632. "in": "query"
  8633. },
  8634. {
  8635. "type": "string",
  8636. "description": "开始交易日(yyyymmdd)",
  8637. "name": "begindate",
  8638. "in": "query"
  8639. },
  8640. {
  8641. "type": "string",
  8642. "description": "结束交易日(yyyymmdd)",
  8643. "name": "enddate",
  8644. "in": "query"
  8645. }
  8646. ],
  8647. "responses": {
  8648. "200": {
  8649. "description": "OK",
  8650. "schema": {
  8651. "type": "array",
  8652. "items": {
  8653. "$ref": "#/definitions/models.QhjMgrContract"
  8654. }
  8655. }
  8656. },
  8657. "500": {
  8658. "description": "Internal Server Error",
  8659. "schema": {
  8660. "$ref": "#/definitions/app.Response"
  8661. }
  8662. }
  8663. }
  8664. }
  8665. },
  8666. "/QhjMgr/QueryCustomerInfo": {
  8667. "get": {
  8668. "security": [
  8669. {
  8670. "ApiKeyAuth": []
  8671. }
  8672. ],
  8673. "produces": [
  8674. "application/json"
  8675. ],
  8676. "tags": [
  8677. "大连千海金(PCWeb)"
  8678. ],
  8679. "summary": "查询客户资料",
  8680. "parameters": [
  8681. {
  8682. "type": "integer",
  8683. "description": "用户ID",
  8684. "name": "userid",
  8685. "in": "query",
  8686. "required": true
  8687. },
  8688. {
  8689. "type": "integer",
  8690. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8691. "name": "querytype",
  8692. "in": "query",
  8693. "required": true
  8694. },
  8695. {
  8696. "type": "integer",
  8697. "description": "客户类型 1-个人 2-企业",
  8698. "name": "userinfotype",
  8699. "in": "query"
  8700. },
  8701. {
  8702. "type": "string",
  8703. "description": "客户名称(模糊匹配)",
  8704. "name": "customername",
  8705. "in": "query"
  8706. },
  8707. {
  8708. "type": "string",
  8709. "description": "昵称(模糊匹配)",
  8710. "name": "nickname",
  8711. "in": "query"
  8712. },
  8713. {
  8714. "type": "integer",
  8715. "description": "是否包含子级 1-包含",
  8716. "name": "includesub",
  8717. "in": "query"
  8718. }
  8719. ],
  8720. "responses": {
  8721. "200": {
  8722. "description": "OK",
  8723. "schema": {
  8724. "type": "array",
  8725. "items": {
  8726. "$ref": "#/definitions/models.QhjMgrCustomer"
  8727. }
  8728. }
  8729. },
  8730. "500": {
  8731. "description": "Internal Server Error",
  8732. "schema": {
  8733. "$ref": "#/definitions/app.Response"
  8734. }
  8735. }
  8736. }
  8737. }
  8738. },
  8739. "/QhjMgr/QueryPickGoods": {
  8740. "get": {
  8741. "security": [
  8742. {
  8743. "ApiKeyAuth": []
  8744. }
  8745. ],
  8746. "produces": [
  8747. "application/json"
  8748. ],
  8749. "tags": [
  8750. "大连千海金(PCWeb)"
  8751. ],
  8752. "summary": "查询提货商品",
  8753. "parameters": [
  8754. {
  8755. "type": "string",
  8756. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8757. "name": "status",
  8758. "in": "query"
  8759. }
  8760. ],
  8761. "responses": {
  8762. "200": {
  8763. "description": "OK",
  8764. "schema": {
  8765. "type": "array",
  8766. "items": {
  8767. "$ref": "#/definitions/models.QhjMgrPickGoods"
  8768. }
  8769. }
  8770. },
  8771. "500": {
  8772. "description": "Internal Server Error",
  8773. "schema": {
  8774. "$ref": "#/definitions/app.Response"
  8775. }
  8776. }
  8777. }
  8778. }
  8779. },
  8780. "/QhjMgr/QuerySubArea": {
  8781. "get": {
  8782. "security": [
  8783. {
  8784. "ApiKeyAuth": []
  8785. }
  8786. ],
  8787. "produces": [
  8788. "application/json"
  8789. ],
  8790. "tags": [
  8791. "大连千海金(PCWeb)"
  8792. ],
  8793. "summary": "查询子机构列表",
  8794. "parameters": [
  8795. {
  8796. "type": "integer",
  8797. "description": "用户ID",
  8798. "name": "userid",
  8799. "in": "query",
  8800. "required": true
  8801. }
  8802. ],
  8803. "responses": {
  8804. "200": {
  8805. "description": "OK",
  8806. "schema": {
  8807. "type": "array",
  8808. "items": {
  8809. "$ref": "#/definitions/models.QhjMgrSubArea"
  8810. }
  8811. }
  8812. },
  8813. "500": {
  8814. "description": "Internal Server Error",
  8815. "schema": {
  8816. "$ref": "#/definitions/app.Response"
  8817. }
  8818. }
  8819. }
  8820. }
  8821. },
  8822. "/QhjMgr/QueryTradeDetail": {
  8823. "get": {
  8824. "security": [
  8825. {
  8826. "ApiKeyAuth": []
  8827. }
  8828. ],
  8829. "produces": [
  8830. "application/json"
  8831. ],
  8832. "tags": [
  8833. "大连千海金(PCWeb)"
  8834. ],
  8835. "summary": "查询成交明细",
  8836. "parameters": [
  8837. {
  8838. "type": "integer",
  8839. "description": "用户ID",
  8840. "name": "userid",
  8841. "in": "query",
  8842. "required": true
  8843. },
  8844. {
  8845. "type": "integer",
  8846. "description": "用户类型 1-个人 2-企业",
  8847. "name": "userinfotype",
  8848. "in": "query"
  8849. },
  8850. {
  8851. "type": "integer",
  8852. "description": "交易模式",
  8853. "name": "trademode",
  8854. "in": "query"
  8855. },
  8856. {
  8857. "type": "integer",
  8858. "description": "商品id",
  8859. "name": "goodsid",
  8860. "in": "query"
  8861. },
  8862. {
  8863. "type": "string",
  8864. "description": "名称(模糊搜索账户)",
  8865. "name": "filtername",
  8866. "in": "query"
  8867. },
  8868. {
  8869. "type": "string",
  8870. "description": "开始交易日(yyyymmdd)",
  8871. "name": "begindate",
  8872. "in": "query"
  8873. },
  8874. {
  8875. "type": "string",
  8876. "description": "结束交易日(yyyymmdd)",
  8877. "name": "enddate",
  8878. "in": "query"
  8879. },
  8880. {
  8881. "type": "integer",
  8882. "description": "是否包含子级 1-包含",
  8883. "name": "includesub",
  8884. "in": "query"
  8885. }
  8886. ],
  8887. "responses": {
  8888. "200": {
  8889. "description": "OK",
  8890. "schema": {
  8891. "type": "array",
  8892. "items": {
  8893. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  8894. }
  8895. }
  8896. },
  8897. "500": {
  8898. "description": "Internal Server Error",
  8899. "schema": {
  8900. "$ref": "#/definitions/app.Response"
  8901. }
  8902. }
  8903. }
  8904. }
  8905. },
  8906. "/QhjMgr/QueryTradeOrderDetail": {
  8907. "get": {
  8908. "security": [
  8909. {
  8910. "ApiKeyAuth": []
  8911. }
  8912. ],
  8913. "produces": [
  8914. "application/json"
  8915. ],
  8916. "tags": [
  8917. "大连千海金(PCWeb)"
  8918. ],
  8919. "summary": "查询委托明细",
  8920. "parameters": [
  8921. {
  8922. "type": "integer",
  8923. "description": "用户ID",
  8924. "name": "userid",
  8925. "in": "query",
  8926. "required": true
  8927. },
  8928. {
  8929. "type": "integer",
  8930. "description": "用户类型 1-个人 2-企业",
  8931. "name": "userinfotype",
  8932. "in": "query"
  8933. },
  8934. {
  8935. "type": "integer",
  8936. "description": "交易模式",
  8937. "name": "trademode",
  8938. "in": "query"
  8939. },
  8940. {
  8941. "type": "integer",
  8942. "description": "商品id",
  8943. "name": "goodsid",
  8944. "in": "query"
  8945. },
  8946. {
  8947. "type": "string",
  8948. "description": "名称(模糊搜索账户)",
  8949. "name": "filtername",
  8950. "in": "query"
  8951. },
  8952. {
  8953. "type": "string",
  8954. "description": "开始交易日(yyyymmdd)",
  8955. "name": "begindate",
  8956. "in": "query"
  8957. },
  8958. {
  8959. "type": "string",
  8960. "description": "结束交易日(yyyymmdd)",
  8961. "name": "enddate",
  8962. "in": "query"
  8963. },
  8964. {
  8965. "type": "integer",
  8966. "description": "是否包含子级 1-包含",
  8967. "name": "includesub",
  8968. "in": "query"
  8969. }
  8970. ],
  8971. "responses": {
  8972. "200": {
  8973. "description": "OK",
  8974. "schema": {
  8975. "type": "array",
  8976. "items": {
  8977. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  8978. }
  8979. }
  8980. },
  8981. "500": {
  8982. "description": "Internal Server Error",
  8983. "schema": {
  8984. "$ref": "#/definitions/app.Response"
  8985. }
  8986. }
  8987. }
  8988. }
  8989. },
  8990. "/QhjMgr/QueryTradePayOrder": {
  8991. "get": {
  8992. "security": [
  8993. {
  8994. "ApiKeyAuth": []
  8995. }
  8996. ],
  8997. "produces": [
  8998. "application/json"
  8999. ],
  9000. "tags": [
  9001. "大连千海金(PCWeb)"
  9002. ],
  9003. "summary": "查询待付款单",
  9004. "parameters": [
  9005. {
  9006. "type": "integer",
  9007. "description": "用户ID",
  9008. "name": "userid",
  9009. "in": "query",
  9010. "required": true
  9011. },
  9012. {
  9013. "type": "string",
  9014. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9015. "name": "payflag",
  9016. "in": "query"
  9017. },
  9018. {
  9019. "type": "integer",
  9020. "description": "用户类型 1-个人 2-企业",
  9021. "name": "userinfotype",
  9022. "in": "query"
  9023. },
  9024. {
  9025. "type": "integer",
  9026. "description": "交易模式",
  9027. "name": "trademode",
  9028. "in": "query"
  9029. },
  9030. {
  9031. "type": "integer",
  9032. "description": "商品id",
  9033. "name": "goodsid",
  9034. "in": "query"
  9035. },
  9036. {
  9037. "type": "string",
  9038. "description": "名称(模糊搜索账户)",
  9039. "name": "filtername",
  9040. "in": "query"
  9041. },
  9042. {
  9043. "type": "string",
  9044. "description": "开始交易日(yyyymmdd)",
  9045. "name": "begindate",
  9046. "in": "query"
  9047. },
  9048. {
  9049. "type": "string",
  9050. "description": "结束交易日(yyyymmdd)",
  9051. "name": "enddate",
  9052. "in": "query"
  9053. },
  9054. {
  9055. "type": "integer",
  9056. "description": "是否包含子级 1-包含",
  9057. "name": "includesub",
  9058. "in": "query"
  9059. }
  9060. ],
  9061. "responses": {
  9062. "200": {
  9063. "description": "OK",
  9064. "schema": {
  9065. "type": "array",
  9066. "items": {
  9067. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9068. }
  9069. }
  9070. },
  9071. "500": {
  9072. "description": "Internal Server Error",
  9073. "schema": {
  9074. "$ref": "#/definitions/app.Response"
  9075. }
  9076. }
  9077. }
  9078. }
  9079. },
  9080. "/QhjMgr/QueryTradePosition": {
  9081. "get": {
  9082. "security": [
  9083. {
  9084. "ApiKeyAuth": []
  9085. }
  9086. ],
  9087. "produces": [
  9088. "application/json"
  9089. ],
  9090. "tags": [
  9091. "大连千海金(PCWeb)"
  9092. ],
  9093. "summary": "查询持仓汇总",
  9094. "parameters": [
  9095. {
  9096. "type": "integer",
  9097. "description": "用户ID",
  9098. "name": "userid",
  9099. "in": "query",
  9100. "required": true
  9101. },
  9102. {
  9103. "type": "integer",
  9104. "description": "用户类型 1-个人 2-企业",
  9105. "name": "userinfotype",
  9106. "in": "query"
  9107. },
  9108. {
  9109. "type": "integer",
  9110. "description": "交易模式",
  9111. "name": "trademode",
  9112. "in": "query"
  9113. },
  9114. {
  9115. "type": "integer",
  9116. "description": "商品id",
  9117. "name": "goodsid",
  9118. "in": "query"
  9119. },
  9120. {
  9121. "type": "string",
  9122. "description": "名称(模糊搜索账户)",
  9123. "name": "filtername",
  9124. "in": "query"
  9125. },
  9126. {
  9127. "type": "integer",
  9128. "description": "是否包含子级 1-包含",
  9129. "name": "includesub",
  9130. "in": "query"
  9131. }
  9132. ],
  9133. "responses": {
  9134. "200": {
  9135. "description": "OK",
  9136. "schema": {
  9137. "type": "array",
  9138. "items": {
  9139. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9140. }
  9141. }
  9142. },
  9143. "500": {
  9144. "description": "Internal Server Error",
  9145. "schema": {
  9146. "$ref": "#/definitions/app.Response"
  9147. }
  9148. }
  9149. }
  9150. }
  9151. },
  9152. "/QhjSys/QueryAgreementChangeLog": {
  9153. "get": {
  9154. "security": [
  9155. {
  9156. "ApiKeyAuth": []
  9157. }
  9158. ],
  9159. "produces": [
  9160. "application/json"
  9161. ],
  9162. "tags": [
  9163. "大连千海金(协议和签约信息)"
  9164. ],
  9165. "summary": "查询协议配置变更流水",
  9166. "parameters": [
  9167. {
  9168. "type": "integer",
  9169. "description": "协议ID",
  9170. "name": "agreementid",
  9171. "in": "query"
  9172. },
  9173. {
  9174. "type": "integer",
  9175. "description": "协议版本号",
  9176. "name": "agreementversion",
  9177. "in": "query"
  9178. },
  9179. {
  9180. "type": "integer",
  9181. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9182. "name": "agreementtype",
  9183. "in": "query"
  9184. },
  9185. {
  9186. "type": "string",
  9187. "description": "协议编号(模糊匹配)",
  9188. "name": "agreementno",
  9189. "in": "query"
  9190. },
  9191. {
  9192. "type": "string",
  9193. "description": "协议名称(模糊匹配)",
  9194. "name": "agreementname",
  9195. "in": "query"
  9196. }
  9197. ],
  9198. "responses": {
  9199. "200": {
  9200. "description": "OK",
  9201. "schema": {
  9202. "type": "array",
  9203. "items": {
  9204. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9205. }
  9206. }
  9207. },
  9208. "500": {
  9209. "description": "Internal Server Error",
  9210. "schema": {
  9211. "$ref": "#/definitions/app.Response"
  9212. }
  9213. }
  9214. }
  9215. }
  9216. },
  9217. "/QhjSys/QueryAgreementConfig": {
  9218. "get": {
  9219. "security": [
  9220. {
  9221. "ApiKeyAuth": []
  9222. }
  9223. ],
  9224. "produces": [
  9225. "application/json"
  9226. ],
  9227. "tags": [
  9228. "大连千海金(协议和签约信息)"
  9229. ],
  9230. "summary": "查询协议配置",
  9231. "parameters": [
  9232. {
  9233. "type": "integer",
  9234. "description": "协议ID",
  9235. "name": "agreementid",
  9236. "in": "query"
  9237. },
  9238. {
  9239. "type": "integer",
  9240. "description": "协议版本号",
  9241. "name": "agreementversion",
  9242. "in": "query"
  9243. },
  9244. {
  9245. "type": "integer",
  9246. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9247. "name": "agreementtype",
  9248. "in": "query"
  9249. },
  9250. {
  9251. "type": "integer",
  9252. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9253. "name": "isvalid",
  9254. "in": "query"
  9255. },
  9256. {
  9257. "type": "string",
  9258. "description": "协议编号(模糊匹配)",
  9259. "name": "agreementno",
  9260. "in": "query"
  9261. },
  9262. {
  9263. "type": "string",
  9264. "description": "协议名称(模糊匹配)",
  9265. "name": "agreementname",
  9266. "in": "query"
  9267. }
  9268. ],
  9269. "responses": {
  9270. "200": {
  9271. "description": "OK",
  9272. "schema": {
  9273. "type": "array",
  9274. "items": {
  9275. "$ref": "#/definitions/models.QhjAgreementConfig"
  9276. }
  9277. }
  9278. },
  9279. "500": {
  9280. "description": "Internal Server Error",
  9281. "schema": {
  9282. "$ref": "#/definitions/app.Response"
  9283. }
  9284. }
  9285. }
  9286. }
  9287. },
  9288. "/QhjSys/QueryCustomerSignStatus": {
  9289. "get": {
  9290. "security": [
  9291. {
  9292. "ApiKeyAuth": []
  9293. }
  9294. ],
  9295. "produces": [
  9296. "application/json"
  9297. ],
  9298. "tags": [
  9299. "大连千海金(协议和签约信息)"
  9300. ],
  9301. "summary": "查询客户协议签约状态",
  9302. "parameters": [
  9303. {
  9304. "type": "integer",
  9305. "description": "客户ID",
  9306. "name": "userid",
  9307. "in": "query"
  9308. },
  9309. {
  9310. "type": "integer",
  9311. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9312. "name": "nodetype",
  9313. "in": "query"
  9314. },
  9315. {
  9316. "type": "integer",
  9317. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9318. "name": "goodsid",
  9319. "in": "query"
  9320. },
  9321. {
  9322. "type": "string",
  9323. "description": "创建交易日(yyyyMMdd)",
  9324. "name": "tradedate",
  9325. "in": "query"
  9326. },
  9327. {
  9328. "type": "string",
  9329. "description": "用户名称(模糊匹配)",
  9330. "name": "username",
  9331. "in": "query"
  9332. }
  9333. ],
  9334. "responses": {
  9335. "200": {
  9336. "description": "OK",
  9337. "schema": {
  9338. "type": "array",
  9339. "items": {
  9340. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9341. }
  9342. }
  9343. },
  9344. "500": {
  9345. "description": "Internal Server Error",
  9346. "schema": {
  9347. "$ref": "#/definitions/app.Response"
  9348. }
  9349. }
  9350. }
  9351. }
  9352. },
  9353. "/QhjSys/QueryNodeAgreementConfig": {
  9354. "get": {
  9355. "security": [
  9356. {
  9357. "ApiKeyAuth": []
  9358. }
  9359. ],
  9360. "produces": [
  9361. "application/json"
  9362. ],
  9363. "tags": [
  9364. "大连千海金(协议和签约信息)"
  9365. ],
  9366. "summary": "查询协议节点配置",
  9367. "parameters": [
  9368. {
  9369. "type": "integer",
  9370. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9371. "name": "configid",
  9372. "in": "query"
  9373. },
  9374. {
  9375. "type": "integer",
  9376. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9377. "name": "nodetype",
  9378. "in": "query"
  9379. },
  9380. {
  9381. "type": "integer",
  9382. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9383. "name": "goodsid",
  9384. "in": "query"
  9385. },
  9386. {
  9387. "type": "integer",
  9388. "description": "协议ID",
  9389. "name": "agreementid",
  9390. "in": "query"
  9391. },
  9392. {
  9393. "type": "integer",
  9394. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9395. "name": "agreementtype",
  9396. "in": "query"
  9397. },
  9398. {
  9399. "type": "integer",
  9400. "description": "协议版本号",
  9401. "name": "agreementversion",
  9402. "in": "query"
  9403. },
  9404. {
  9405. "type": "string",
  9406. "description": "协议编号(模糊匹配)",
  9407. "name": "agreementno",
  9408. "in": "query"
  9409. },
  9410. {
  9411. "type": "string",
  9412. "description": "协议名称(模糊匹配)",
  9413. "name": "agreementname",
  9414. "in": "query"
  9415. }
  9416. ],
  9417. "responses": {
  9418. "200": {
  9419. "description": "OK",
  9420. "schema": {
  9421. "type": "array",
  9422. "items": {
  9423. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  9424. }
  9425. }
  9426. },
  9427. "500": {
  9428. "description": "Internal Server Error",
  9429. "schema": {
  9430. "$ref": "#/definitions/app.Response"
  9431. }
  9432. }
  9433. }
  9434. }
  9435. },
  9436. "/QhjSys/QueryQhjCustomerSignLog": {
  9437. "get": {
  9438. "security": [
  9439. {
  9440. "ApiKeyAuth": []
  9441. }
  9442. ],
  9443. "produces": [
  9444. "application/json"
  9445. ],
  9446. "tags": [
  9447. "大连千海金(协议和签约信息)"
  9448. ],
  9449. "summary": "查询客户协议签约流水",
  9450. "parameters": [
  9451. {
  9452. "type": "integer",
  9453. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9454. "name": "logid",
  9455. "in": "query"
  9456. },
  9457. {
  9458. "type": "integer",
  9459. "description": "客户ID",
  9460. "name": "userid",
  9461. "in": "query"
  9462. },
  9463. {
  9464. "type": "integer",
  9465. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9466. "name": "nodetype",
  9467. "in": "query"
  9468. },
  9469. {
  9470. "type": "integer",
  9471. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9472. "name": "goodsid",
  9473. "in": "query"
  9474. },
  9475. {
  9476. "type": "integer",
  9477. "description": "协议ID",
  9478. "name": "agreementid",
  9479. "in": "query"
  9480. },
  9481. {
  9482. "type": "string",
  9483. "description": "用户名称(模糊匹配)",
  9484. "name": "username",
  9485. "in": "query"
  9486. },
  9487. {
  9488. "type": "string",
  9489. "description": "协议编号(模糊匹配)",
  9490. "name": "agreementno",
  9491. "in": "query"
  9492. },
  9493. {
  9494. "type": "string",
  9495. "description": "协议名称(模糊匹配)",
  9496. "name": "agreementname",
  9497. "in": "query"
  9498. }
  9499. ],
  9500. "responses": {
  9501. "200": {
  9502. "description": "OK",
  9503. "schema": {
  9504. "type": "array",
  9505. "items": {
  9506. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9507. }
  9508. }
  9509. },
  9510. "500": {
  9511. "description": "Internal Server Error",
  9512. "schema": {
  9513. "$ref": "#/definitions/app.Response"
  9514. }
  9515. }
  9516. }
  9517. }
  9518. },
  9519. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9520. "get": {
  9521. "security": [
  9522. {
  9523. "ApiKeyAuth": []
  9524. }
  9525. ],
  9526. "produces": [
  9527. "application/json"
  9528. ],
  9529. "tags": [
  9530. "大连千海金(协议和签约信息)"
  9531. ],
  9532. "summary": "查询用户协议节点配置和状态",
  9533. "parameters": [
  9534. {
  9535. "type": "integer",
  9536. "description": "客户ID",
  9537. "name": "userid",
  9538. "in": "query"
  9539. },
  9540. {
  9541. "type": "integer",
  9542. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9543. "name": "configid",
  9544. "in": "query"
  9545. },
  9546. {
  9547. "type": "string",
  9548. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9549. "name": "nodetype",
  9550. "in": "query"
  9551. },
  9552. {
  9553. "type": "integer",
  9554. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9555. "name": "goodsid",
  9556. "in": "query"
  9557. },
  9558. {
  9559. "type": "integer",
  9560. "description": "协议ID",
  9561. "name": "agreementid",
  9562. "in": "query"
  9563. },
  9564. {
  9565. "type": "integer",
  9566. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9567. "name": "agreementtype",
  9568. "in": "query"
  9569. },
  9570. {
  9571. "type": "integer",
  9572. "description": "协议版本号",
  9573. "name": "agreementversion",
  9574. "in": "query"
  9575. },
  9576. {
  9577. "type": "string",
  9578. "description": "协议编号(模糊匹配)",
  9579. "name": "agreementno",
  9580. "in": "query"
  9581. },
  9582. {
  9583. "type": "string",
  9584. "description": "协议名称(模糊匹配)",
  9585. "name": "agreementname",
  9586. "in": "query"
  9587. }
  9588. ],
  9589. "responses": {
  9590. "200": {
  9591. "description": "OK",
  9592. "schema": {
  9593. "type": "array",
  9594. "items": {
  9595. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9596. }
  9597. }
  9598. },
  9599. "500": {
  9600. "description": "Internal Server Error",
  9601. "schema": {
  9602. "$ref": "#/definitions/app.Response"
  9603. }
  9604. }
  9605. }
  9606. }
  9607. },
  9608. "/Quote/QueryHistoryDatas": {
  9609. "get": {
  9610. "security": [
  9611. {
  9612. "ApiKeyAuth": []
  9613. }
  9614. ],
  9615. "produces": [
  9616. "application/json"
  9617. ],
  9618. "tags": [
  9619. "行情服务"
  9620. ],
  9621. "summary": "查询行情历史数据",
  9622. "parameters": [
  9623. {
  9624. "type": "integer",
  9625. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9626. "name": "cycleType",
  9627. "in": "query",
  9628. "required": true
  9629. },
  9630. {
  9631. "type": "string",
  9632. "description": "商品代码",
  9633. "name": "goodsCode",
  9634. "in": "query",
  9635. "required": true
  9636. },
  9637. {
  9638. "type": "string",
  9639. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9640. "name": "startTime",
  9641. "in": "query"
  9642. },
  9643. {
  9644. "type": "string",
  9645. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9646. "name": "endTime",
  9647. "in": "query"
  9648. },
  9649. {
  9650. "type": "integer",
  9651. "description": "条数",
  9652. "name": "count",
  9653. "in": "query"
  9654. },
  9655. {
  9656. "type": "boolean",
  9657. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9658. "name": "isAsc",
  9659. "in": "query"
  9660. }
  9661. ],
  9662. "responses": {
  9663. "200": {
  9664. "description": "OK",
  9665. "schema": {
  9666. "$ref": "#/definitions/quote.HistoryData"
  9667. }
  9668. },
  9669. "500": {
  9670. "description": "Internal Server Error",
  9671. "schema": {
  9672. "$ref": "#/definitions/app.Response"
  9673. }
  9674. }
  9675. }
  9676. }
  9677. },
  9678. "/Quote/QueryHistoryTikDatas": {
  9679. "get": {
  9680. "security": [
  9681. {
  9682. "ApiKeyAuth": []
  9683. }
  9684. ],
  9685. "produces": [
  9686. "application/json"
  9687. ],
  9688. "tags": [
  9689. "行情服务"
  9690. ],
  9691. "summary": "查询行情Tik数据",
  9692. "parameters": [
  9693. {
  9694. "type": "string",
  9695. "description": "商品代码",
  9696. "name": "goodsCode",
  9697. "in": "query",
  9698. "required": true
  9699. },
  9700. {
  9701. "type": "string",
  9702. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9703. "name": "startTime",
  9704. "in": "query"
  9705. },
  9706. {
  9707. "type": "string",
  9708. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9709. "name": "endTime",
  9710. "in": "query"
  9711. },
  9712. {
  9713. "type": "integer",
  9714. "description": "条数",
  9715. "name": "count",
  9716. "in": "query"
  9717. },
  9718. {
  9719. "type": "boolean",
  9720. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9721. "name": "isAsc",
  9722. "in": "query"
  9723. }
  9724. ],
  9725. "responses": {
  9726. "200": {
  9727. "description": "OK",
  9728. "schema": {
  9729. "$ref": "#/definitions/quote.HistoryTikData"
  9730. }
  9731. },
  9732. "500": {
  9733. "description": "Internal Server Error",
  9734. "schema": {
  9735. "$ref": "#/definitions/app.Response"
  9736. }
  9737. }
  9738. }
  9739. }
  9740. },
  9741. "/Quote/QueryQuoteDay": {
  9742. "get": {
  9743. "security": [
  9744. {
  9745. "ApiKeyAuth": []
  9746. }
  9747. ],
  9748. "produces": [
  9749. "application/json"
  9750. ],
  9751. "tags": [
  9752. "行情服务"
  9753. ],
  9754. "summary": "获取商品盘面信息",
  9755. "parameters": [
  9756. {
  9757. "type": "string",
  9758. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9759. "name": "goodsCodes",
  9760. "in": "query",
  9761. "required": true
  9762. }
  9763. ],
  9764. "responses": {
  9765. "200": {
  9766. "description": "OK",
  9767. "schema": {
  9768. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9769. }
  9770. },
  9771. "500": {
  9772. "description": "Internal Server Error",
  9773. "schema": {
  9774. "$ref": "#/definitions/app.Response"
  9775. }
  9776. }
  9777. }
  9778. }
  9779. },
  9780. "/Quote/QueryTSData": {
  9781. "get": {
  9782. "security": [
  9783. {
  9784. "ApiKeyAuth": []
  9785. }
  9786. ],
  9787. "produces": [
  9788. "application/json"
  9789. ],
  9790. "tags": [
  9791. "行情服务"
  9792. ],
  9793. "summary": "分时图数据查询",
  9794. "parameters": [
  9795. {
  9796. "type": "string",
  9797. "description": "商品代码",
  9798. "name": "goodsCode",
  9799. "in": "query",
  9800. "required": true
  9801. }
  9802. ],
  9803. "responses": {
  9804. "200": {
  9805. "description": "OK",
  9806. "schema": {
  9807. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9808. }
  9809. },
  9810. "500": {
  9811. "description": "Internal Server Error",
  9812. "schema": {
  9813. "$ref": "#/definitions/app.Response"
  9814. }
  9815. }
  9816. }
  9817. }
  9818. },
  9819. "/SZDZ/QueryConvertConfig": {
  9820. "get": {
  9821. "security": [
  9822. {
  9823. "ApiKeyAuth": []
  9824. }
  9825. ],
  9826. "produces": [
  9827. "application/json"
  9828. ],
  9829. "tags": [
  9830. "定制【尚志大宗】"
  9831. ],
  9832. "summary": "查询交易系统转换设置",
  9833. "parameters": [
  9834. {
  9835. "type": "integer",
  9836. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9837. "name": "convertType",
  9838. "in": "query"
  9839. },
  9840. {
  9841. "type": "string",
  9842. "description": "外部商品代码[JD\\PD]",
  9843. "name": "outerGoodsCode",
  9844. "in": "query"
  9845. },
  9846. {
  9847. "type": "string",
  9848. "description": "内部商品ID列表[交易],格式:1,2,3",
  9849. "name": "innerGoodsIDs",
  9850. "in": "query"
  9851. }
  9852. ],
  9853. "responses": {
  9854. "200": {
  9855. "description": "OK",
  9856. "schema": {
  9857. "$ref": "#/definitions/models.Szdz3convertconfig"
  9858. }
  9859. },
  9860. "500": {
  9861. "description": "Internal Server Error",
  9862. "schema": {
  9863. "$ref": "#/definitions/app.Response"
  9864. }
  9865. }
  9866. }
  9867. }
  9868. },
  9869. "/SZDZ/QueryConvertLog": {
  9870. "get": {
  9871. "security": [
  9872. {
  9873. "ApiKeyAuth": []
  9874. }
  9875. ],
  9876. "produces": [
  9877. "application/json"
  9878. ],
  9879. "tags": [
  9880. "定制【尚志大宗】"
  9881. ],
  9882. "summary": "交易系统转换流水查询",
  9883. "parameters": [
  9884. {
  9885. "type": "string",
  9886. "description": "资金账户 - 格式:1,2,3",
  9887. "name": "accountID",
  9888. "in": "query",
  9889. "required": true
  9890. },
  9891. {
  9892. "type": "string",
  9893. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9894. "name": "startDate",
  9895. "in": "query"
  9896. },
  9897. {
  9898. "type": "string",
  9899. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9900. "name": "endDate",
  9901. "in": "query"
  9902. }
  9903. ],
  9904. "responses": {
  9905. "200": {
  9906. "description": "OK",
  9907. "schema": {
  9908. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  9909. }
  9910. },
  9911. "500": {
  9912. "description": "Internal Server Error",
  9913. "schema": {
  9914. "$ref": "#/definitions/app.Response"
  9915. }
  9916. }
  9917. }
  9918. }
  9919. },
  9920. "/SZDZ/QueryGoodsPickup": {
  9921. "get": {
  9922. "security": [
  9923. {
  9924. "ApiKeyAuth": []
  9925. }
  9926. ],
  9927. "produces": [
  9928. "application/json"
  9929. ],
  9930. "tags": [
  9931. "定制【尚志大宗】"
  9932. ],
  9933. "summary": "商品提货单查询",
  9934. "parameters": [
  9935. {
  9936. "type": "string",
  9937. "description": "资金账户 - 格式:1,2,3",
  9938. "name": "accountID",
  9939. "in": "query",
  9940. "required": true
  9941. },
  9942. {
  9943. "type": "integer",
  9944. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9945. "name": "takeOrderStatus",
  9946. "in": "query"
  9947. }
  9948. ],
  9949. "responses": {
  9950. "200": {
  9951. "description": "OK",
  9952. "schema": {
  9953. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  9954. }
  9955. },
  9956. "500": {
  9957. "description": "Internal Server Error",
  9958. "schema": {
  9959. "$ref": "#/definitions/app.Response"
  9960. }
  9961. }
  9962. }
  9963. }
  9964. },
  9965. "/SZDZ/QueryRecieptOrder": {
  9966. "get": {
  9967. "security": [
  9968. {
  9969. "ApiKeyAuth": []
  9970. }
  9971. ],
  9972. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9973. "produces": [
  9974. "application/json"
  9975. ],
  9976. "tags": [
  9977. "定制【尚志大宗】"
  9978. ],
  9979. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  9980. "parameters": [
  9981. {
  9982. "type": "integer",
  9983. "description": "页码",
  9984. "name": "page",
  9985. "in": "query"
  9986. },
  9987. {
  9988. "type": "integer",
  9989. "description": "每页条数",
  9990. "name": "pagesize",
  9991. "in": "query"
  9992. },
  9993. {
  9994. "type": "integer",
  9995. "description": "商品ID",
  9996. "name": "goodsID",
  9997. "in": "query",
  9998. "required": true
  9999. },
  10000. {
  10001. "type": "string",
  10002. "description": "所属账户名称",
  10003. "name": "accountName",
  10004. "in": "query"
  10005. },
  10006. {
  10007. "type": "integer",
  10008. "description": "市场ID",
  10009. "name": "marketID",
  10010. "in": "query"
  10011. },
  10012. {
  10013. "type": "integer",
  10014. "description": "方向 - 0:买 1:卖",
  10015. "name": "buyorsell",
  10016. "in": "query",
  10017. "required": true
  10018. }
  10019. ],
  10020. "responses": {
  10021. "200": {
  10022. "description": "OK",
  10023. "schema": {
  10024. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10025. }
  10026. },
  10027. "500": {
  10028. "description": "Internal Server Error",
  10029. "schema": {
  10030. "$ref": "#/definitions/app.Response"
  10031. }
  10032. }
  10033. }
  10034. }
  10035. },
  10036. "/SZDZ/QuerySZDZTradePosition": {
  10037. "get": {
  10038. "security": [
  10039. {
  10040. "ApiKeyAuth": []
  10041. }
  10042. ],
  10043. "produces": [
  10044. "application/json"
  10045. ],
  10046. "tags": [
  10047. "定制【尚志大宗】"
  10048. ],
  10049. "summary": "持仓汇总查询(尚志大宗)",
  10050. "parameters": [
  10051. {
  10052. "type": "integer",
  10053. "description": "资金账户",
  10054. "name": "accountID",
  10055. "in": "query",
  10056. "required": true
  10057. }
  10058. ],
  10059. "responses": {
  10060. "200": {
  10061. "description": "OK",
  10062. "schema": {
  10063. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10064. }
  10065. },
  10066. "500": {
  10067. "description": "Internal Server Error",
  10068. "schema": {
  10069. "$ref": "#/definitions/app.Response"
  10070. }
  10071. }
  10072. }
  10073. }
  10074. },
  10075. "/SZDZ/SearchWhite": {
  10076. "get": {
  10077. "security": [
  10078. {
  10079. "ApiKeyAuth": []
  10080. }
  10081. ],
  10082. "produces": [
  10083. "application/json"
  10084. ],
  10085. "tags": [
  10086. "定制【尚志大宗】"
  10087. ],
  10088. "summary": "搜索白名单",
  10089. "parameters": [
  10090. {
  10091. "type": "integer",
  10092. "description": "用户ID",
  10093. "name": "userID",
  10094. "in": "query",
  10095. "required": true
  10096. }
  10097. ],
  10098. "responses": {
  10099. "200": {
  10100. "description": "OK",
  10101. "schema": {
  10102. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10103. }
  10104. },
  10105. "500": {
  10106. "description": "Internal Server Error",
  10107. "schema": {
  10108. "$ref": "#/definitions/app.Response"
  10109. }
  10110. }
  10111. }
  10112. }
  10113. },
  10114. "/Search/SearchGoodses": {
  10115. "get": {
  10116. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10117. "produces": [
  10118. "application/json"
  10119. ],
  10120. "tags": [
  10121. "检索服务"
  10122. ],
  10123. "summary": "检索商品信息",
  10124. "parameters": [
  10125. {
  10126. "type": "string",
  10127. "description": "检索内容",
  10128. "name": "content",
  10129. "in": "query",
  10130. "required": true
  10131. },
  10132. {
  10133. "type": "string",
  10134. "description": "交易模式,格式:1,2,3",
  10135. "name": "tradeModes",
  10136. "in": "query"
  10137. }
  10138. ],
  10139. "responses": {
  10140. "200": {
  10141. "description": "OK",
  10142. "schema": {
  10143. "$ref": "#/definitions/models.SearchGoods"
  10144. }
  10145. },
  10146. "500": {
  10147. "description": "Internal Server Error",
  10148. "schema": {
  10149. "$ref": "#/definitions/app.Response"
  10150. }
  10151. }
  10152. }
  10153. }
  10154. },
  10155. "/TaAccount/GetTaAccounts": {
  10156. "get": {
  10157. "security": [
  10158. {
  10159. "ApiKeyAuth": []
  10160. }
  10161. ],
  10162. "produces": [
  10163. "application/json"
  10164. ],
  10165. "tags": [
  10166. "资金账户"
  10167. ],
  10168. "summary": "获取资金账户信息",
  10169. "parameters": [
  10170. {
  10171. "type": "integer",
  10172. "description": "登录账户",
  10173. "name": "loginID",
  10174. "in": "query",
  10175. "required": true
  10176. },
  10177. {
  10178. "type": "integer",
  10179. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10180. "name": "taAccountType",
  10181. "in": "query"
  10182. }
  10183. ],
  10184. "responses": {
  10185. "200": {
  10186. "description": "OK",
  10187. "schema": {
  10188. "$ref": "#/definitions/models.Taaccount"
  10189. }
  10190. },
  10191. "500": {
  10192. "description": "Internal Server Error",
  10193. "schema": {
  10194. "$ref": "#/definitions/app.Response"
  10195. }
  10196. }
  10197. }
  10198. }
  10199. },
  10200. "/TaAccount/QueryAmountLog": {
  10201. "get": {
  10202. "security": [
  10203. {
  10204. "ApiKeyAuth": []
  10205. }
  10206. ],
  10207. "produces": [
  10208. "application/json"
  10209. ],
  10210. "tags": [
  10211. "资金账户"
  10212. ],
  10213. "summary": "资金流水查询(当前)",
  10214. "parameters": [
  10215. {
  10216. "type": "integer",
  10217. "description": "页码",
  10218. "name": "page",
  10219. "in": "query"
  10220. },
  10221. {
  10222. "type": "integer",
  10223. "description": "每页条数",
  10224. "name": "pagesize",
  10225. "in": "query"
  10226. },
  10227. {
  10228. "type": "string",
  10229. "description": "资金账户 - 格式:1,2,3",
  10230. "name": "accountID",
  10231. "in": "query",
  10232. "required": true
  10233. },
  10234. {
  10235. "type": "string",
  10236. "description": "资金操作类型 - 格式:1,2,3",
  10237. "name": "OperateType",
  10238. "in": "query"
  10239. }
  10240. ],
  10241. "responses": {
  10242. "200": {
  10243. "description": "OK",
  10244. "schema": {
  10245. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10246. }
  10247. },
  10248. "500": {
  10249. "description": "Internal Server Error",
  10250. "schema": {
  10251. "$ref": "#/definitions/app.Response"
  10252. }
  10253. }
  10254. }
  10255. }
  10256. },
  10257. "/TaAccount/QueryHisAmountLog": {
  10258. "get": {
  10259. "security": [
  10260. {
  10261. "ApiKeyAuth": []
  10262. }
  10263. ],
  10264. "produces": [
  10265. "application/json"
  10266. ],
  10267. "tags": [
  10268. "资金账户"
  10269. ],
  10270. "summary": "资金流水查询(历史)",
  10271. "parameters": [
  10272. {
  10273. "type": "integer",
  10274. "description": "页码",
  10275. "name": "page",
  10276. "in": "query"
  10277. },
  10278. {
  10279. "type": "integer",
  10280. "description": "每页条数",
  10281. "name": "pagesize",
  10282. "in": "query"
  10283. },
  10284. {
  10285. "type": "string",
  10286. "description": "资金账户 - 格式:1,2,3",
  10287. "name": "accountID",
  10288. "in": "query",
  10289. "required": true
  10290. },
  10291. {
  10292. "type": "string",
  10293. "description": "资金操作类型 - 格式:1,2,3",
  10294. "name": "OperateType",
  10295. "in": "query"
  10296. },
  10297. {
  10298. "type": "string",
  10299. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10300. "name": "startDate",
  10301. "in": "query"
  10302. },
  10303. {
  10304. "type": "string",
  10305. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10306. "name": "endDate",
  10307. "in": "query"
  10308. }
  10309. ],
  10310. "responses": {
  10311. "200": {
  10312. "description": "OK",
  10313. "schema": {
  10314. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10315. }
  10316. },
  10317. "500": {
  10318. "description": "Internal Server Error",
  10319. "schema": {
  10320. "$ref": "#/definitions/app.Response"
  10321. }
  10322. }
  10323. }
  10324. }
  10325. },
  10326. "/Trade/QueryRecieptOrder": {
  10327. "get": {
  10328. "security": [
  10329. {
  10330. "ApiKeyAuth": []
  10331. }
  10332. ],
  10333. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10334. "produces": [
  10335. "application/json"
  10336. ],
  10337. "tags": [
  10338. "通用交易"
  10339. ],
  10340. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10341. "parameters": [
  10342. {
  10343. "type": "integer",
  10344. "description": "页码",
  10345. "name": "page",
  10346. "in": "query"
  10347. },
  10348. {
  10349. "type": "integer",
  10350. "description": "每页条数",
  10351. "name": "pagesize",
  10352. "in": "query"
  10353. },
  10354. {
  10355. "type": "integer",
  10356. "description": "商品ID",
  10357. "name": "goodsID",
  10358. "in": "query",
  10359. "required": true
  10360. },
  10361. {
  10362. "type": "string",
  10363. "description": "所属账户名称",
  10364. "name": "accountName",
  10365. "in": "query"
  10366. },
  10367. {
  10368. "type": "integer",
  10369. "description": "市场ID",
  10370. "name": "marketID",
  10371. "in": "query"
  10372. },
  10373. {
  10374. "type": "integer",
  10375. "description": "方向 - 0:买 1:卖",
  10376. "name": "buyorsell",
  10377. "in": "query",
  10378. "required": true
  10379. }
  10380. ],
  10381. "responses": {
  10382. "200": {
  10383. "description": "OK",
  10384. "schema": {
  10385. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10386. }
  10387. },
  10388. "500": {
  10389. "description": "Internal Server Error",
  10390. "schema": {
  10391. "$ref": "#/definitions/app.Response"
  10392. }
  10393. }
  10394. }
  10395. }
  10396. },
  10397. "/User/AddMessageBoard": {
  10398. "post": {
  10399. "security": [
  10400. {
  10401. "ApiKeyAuth": []
  10402. }
  10403. ],
  10404. "produces": [
  10405. "application/json"
  10406. ],
  10407. "tags": [
  10408. "用户信息"
  10409. ],
  10410. "summary": "添加用户留言板信息",
  10411. "parameters": [
  10412. {
  10413. "type": "integer",
  10414. "description": "用户ID",
  10415. "name": "userID",
  10416. "in": "query",
  10417. "required": true
  10418. },
  10419. {
  10420. "type": "string",
  10421. "description": "留言信息",
  10422. "name": "message",
  10423. "in": "query",
  10424. "required": true
  10425. },
  10426. {
  10427. "type": "string",
  10428. "description": "联系电话",
  10429. "name": "contactNum",
  10430. "in": "query",
  10431. "required": true
  10432. }
  10433. ],
  10434. "responses": {
  10435. "200": {
  10436. "description": "OK",
  10437. "schema": {
  10438. "$ref": "#/definitions/app.Response"
  10439. }
  10440. },
  10441. "500": {
  10442. "description": "Internal Server Error",
  10443. "schema": {
  10444. "$ref": "#/definitions/app.Response"
  10445. }
  10446. }
  10447. }
  10448. }
  10449. },
  10450. "/User/AddUserFavoriteGoods": {
  10451. "post": {
  10452. "security": [
  10453. {
  10454. "ApiKeyAuth": []
  10455. }
  10456. ],
  10457. "produces": [
  10458. "application/json"
  10459. ],
  10460. "tags": [
  10461. "用户信息"
  10462. ],
  10463. "summary": "添加用户商品收藏信息",
  10464. "parameters": [
  10465. {
  10466. "type": "integer",
  10467. "description": "用户ID",
  10468. "name": "userID",
  10469. "in": "query",
  10470. "required": true
  10471. },
  10472. {
  10473. "type": "integer",
  10474. "description": "商品ID",
  10475. "name": "goodsID",
  10476. "in": "query",
  10477. "required": true
  10478. }
  10479. ],
  10480. "responses": {
  10481. "200": {
  10482. "description": "OK",
  10483. "schema": {
  10484. "$ref": "#/definitions/app.Response"
  10485. }
  10486. },
  10487. "500": {
  10488. "description": "Internal Server Error",
  10489. "schema": {
  10490. "$ref": "#/definitions/app.Response"
  10491. }
  10492. }
  10493. }
  10494. }
  10495. },
  10496. "/User/GetLoginID": {
  10497. "get": {
  10498. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10499. "produces": [
  10500. "application/json"
  10501. ],
  10502. "tags": [
  10503. "用户信息"
  10504. ],
  10505. "summary": "获取登录ID",
  10506. "parameters": [
  10507. {
  10508. "type": "string",
  10509. "description": "登录代码",
  10510. "name": "username",
  10511. "in": "query",
  10512. "required": true
  10513. }
  10514. ],
  10515. "responses": {
  10516. "200": {
  10517. "description": "OK",
  10518. "schema": {
  10519. "$ref": "#/definitions/app.Response"
  10520. }
  10521. },
  10522. "500": {
  10523. "description": "Internal Server Error",
  10524. "schema": {
  10525. "$ref": "#/definitions/app.Response"
  10526. }
  10527. }
  10528. }
  10529. }
  10530. },
  10531. "/User/GetUserAccount": {
  10532. "get": {
  10533. "security": [
  10534. {
  10535. "ApiKeyAuth": []
  10536. }
  10537. ],
  10538. "produces": [
  10539. "application/json"
  10540. ],
  10541. "tags": [
  10542. "用户信息"
  10543. ],
  10544. "summary": "获取用户账号信息",
  10545. "parameters": [
  10546. {
  10547. "type": "integer",
  10548. "description": "用户ID",
  10549. "name": "userID",
  10550. "in": "query",
  10551. "required": true
  10552. }
  10553. ],
  10554. "responses": {
  10555. "200": {
  10556. "description": "OK",
  10557. "schema": {
  10558. "$ref": "#/definitions/models.Useraccount"
  10559. }
  10560. },
  10561. "500": {
  10562. "description": "Internal Server Error",
  10563. "schema": {
  10564. "$ref": "#/definitions/app.Response"
  10565. }
  10566. }
  10567. }
  10568. }
  10569. },
  10570. "/User/GetUserAuthStatus": {
  10571. "get": {
  10572. "security": [
  10573. {
  10574. "ApiKeyAuth": []
  10575. }
  10576. ],
  10577. "produces": [
  10578. "application/json"
  10579. ],
  10580. "tags": [
  10581. "用户信息"
  10582. ],
  10583. "summary": "获取用户实名认证状态",
  10584. "parameters": [
  10585. {
  10586. "type": "integer",
  10587. "description": "用户ID",
  10588. "name": "userID",
  10589. "in": "query",
  10590. "required": true
  10591. }
  10592. ],
  10593. "responses": {
  10594. "200": {
  10595. "description": "OK",
  10596. "schema": {
  10597. "$ref": "#/definitions/app.Response"
  10598. }
  10599. },
  10600. "500": {
  10601. "description": "Internal Server Error",
  10602. "schema": {
  10603. "$ref": "#/definitions/app.Response"
  10604. }
  10605. }
  10606. }
  10607. }
  10608. },
  10609. "/User/LoginQuery": {
  10610. "get": {
  10611. "security": [
  10612. {
  10613. "ApiKeyAuth": []
  10614. }
  10615. ],
  10616. "produces": [
  10617. "application/json"
  10618. ],
  10619. "tags": [
  10620. "用户信息"
  10621. ],
  10622. "summary": "账户登录后信息查询",
  10623. "parameters": [
  10624. {
  10625. "type": "integer",
  10626. "description": "登录账号",
  10627. "name": "loginID",
  10628. "in": "query",
  10629. "required": true
  10630. }
  10631. ],
  10632. "responses": {
  10633. "200": {
  10634. "description": "OK",
  10635. "schema": {
  10636. "$ref": "#/definitions/user.LoginQueryRsp"
  10637. }
  10638. },
  10639. "500": {
  10640. "description": "Internal Server Error",
  10641. "schema": {
  10642. "$ref": "#/definitions/app.Response"
  10643. }
  10644. }
  10645. }
  10646. }
  10647. },
  10648. "/User/QueryMessageBoard": {
  10649. "get": {
  10650. "security": [
  10651. {
  10652. "ApiKeyAuth": []
  10653. }
  10654. ],
  10655. "produces": [
  10656. "application/json"
  10657. ],
  10658. "tags": [
  10659. "用户信息"
  10660. ],
  10661. "summary": "获取用户留言板信息",
  10662. "parameters": [
  10663. {
  10664. "type": "integer",
  10665. "description": "用户ID",
  10666. "name": "userID",
  10667. "in": "query",
  10668. "required": true
  10669. }
  10670. ],
  10671. "responses": {
  10672. "200": {
  10673. "description": "OK",
  10674. "schema": {
  10675. "$ref": "#/definitions/models.Messageboard"
  10676. }
  10677. },
  10678. "500": {
  10679. "description": "Internal Server Error",
  10680. "schema": {
  10681. "$ref": "#/definitions/app.Response"
  10682. }
  10683. }
  10684. }
  10685. }
  10686. },
  10687. "/User/QueryUserFavoriteGoodses": {
  10688. "get": {
  10689. "security": [
  10690. {
  10691. "ApiKeyAuth": []
  10692. }
  10693. ],
  10694. "produces": [
  10695. "application/json"
  10696. ],
  10697. "tags": [
  10698. "用户信息"
  10699. ],
  10700. "summary": "获取用户商品收藏信息",
  10701. "parameters": [
  10702. {
  10703. "type": "integer",
  10704. "description": "用户ID",
  10705. "name": "userID",
  10706. "in": "query",
  10707. "required": true
  10708. }
  10709. ],
  10710. "responses": {
  10711. "200": {
  10712. "description": "OK",
  10713. "schema": {
  10714. "$ref": "#/definitions/models.Userfavoritegoods"
  10715. }
  10716. },
  10717. "500": {
  10718. "description": "Internal Server Error",
  10719. "schema": {
  10720. "$ref": "#/definitions/app.Response"
  10721. }
  10722. }
  10723. }
  10724. }
  10725. },
  10726. "/User/QueryUserInfo": {
  10727. "get": {
  10728. "security": [
  10729. {
  10730. "ApiKeyAuth": []
  10731. }
  10732. ],
  10733. "produces": [
  10734. "application/json"
  10735. ],
  10736. "tags": [
  10737. "用户信息"
  10738. ],
  10739. "summary": "获取用户信息",
  10740. "parameters": [
  10741. {
  10742. "type": "integer",
  10743. "description": "用户ID",
  10744. "name": "userID",
  10745. "in": "query",
  10746. "required": true
  10747. },
  10748. {
  10749. "type": "boolean",
  10750. "description": "是否解密",
  10751. "name": "isDecrypt",
  10752. "in": "query"
  10753. }
  10754. ],
  10755. "responses": {
  10756. "200": {
  10757. "description": "OK",
  10758. "schema": {
  10759. "$ref": "#/definitions/models.Userinfo"
  10760. }
  10761. },
  10762. "500": {
  10763. "description": "Internal Server Error",
  10764. "schema": {
  10765. "$ref": "#/definitions/app.Response"
  10766. }
  10767. }
  10768. }
  10769. }
  10770. },
  10771. "/User/QueryUserReferNum": {
  10772. "get": {
  10773. "produces": [
  10774. "application/json"
  10775. ],
  10776. "tags": [
  10777. "用户信息"
  10778. ],
  10779. "summary": "获取用户邀请码",
  10780. "parameters": [
  10781. {
  10782. "type": "integer",
  10783. "description": "用户ID",
  10784. "name": "userID",
  10785. "in": "query",
  10786. "required": true
  10787. }
  10788. ],
  10789. "responses": {
  10790. "200": {
  10791. "description": "OK",
  10792. "schema": {
  10793. "$ref": "#/definitions/app.Response"
  10794. }
  10795. },
  10796. "500": {
  10797. "description": "Internal Server Error",
  10798. "schema": {
  10799. "$ref": "#/definitions/app.Response"
  10800. }
  10801. }
  10802. }
  10803. }
  10804. },
  10805. "/User/RemoveUserFavoriteGoods": {
  10806. "post": {
  10807. "security": [
  10808. {
  10809. "ApiKeyAuth": []
  10810. }
  10811. ],
  10812. "produces": [
  10813. "application/json"
  10814. ],
  10815. "tags": [
  10816. "用户信息"
  10817. ],
  10818. "summary": "移除用户商品收藏信息",
  10819. "parameters": [
  10820. {
  10821. "type": "integer",
  10822. "description": "用户ID",
  10823. "name": "userID",
  10824. "in": "query",
  10825. "required": true
  10826. },
  10827. {
  10828. "type": "integer",
  10829. "description": "商品ID",
  10830. "name": "goodsID",
  10831. "in": "query",
  10832. "required": true
  10833. }
  10834. ],
  10835. "responses": {
  10836. "200": {
  10837. "description": "OK",
  10838. "schema": {
  10839. "$ref": "#/definitions/app.Response"
  10840. }
  10841. },
  10842. "500": {
  10843. "description": "Internal Server Error",
  10844. "schema": {
  10845. "$ref": "#/definitions/app.Response"
  10846. }
  10847. }
  10848. }
  10849. }
  10850. },
  10851. "/User/UpdateUserAccountStatus": {
  10852. "post": {
  10853. "security": [
  10854. {
  10855. "ApiKeyAuth": []
  10856. }
  10857. ],
  10858. "produces": [
  10859. "application/json"
  10860. ],
  10861. "tags": [
  10862. "用户信息"
  10863. ],
  10864. "summary": "更新用户状态",
  10865. "parameters": [
  10866. {
  10867. "type": "integer",
  10868. "description": "用户ID",
  10869. "name": "userID",
  10870. "in": "query",
  10871. "required": true
  10872. },
  10873. {
  10874. "type": "integer",
  10875. "description": "账户状态 - 4:正常 6:注销(停用)",
  10876. "name": "accountStatus",
  10877. "in": "query",
  10878. "required": true
  10879. }
  10880. ],
  10881. "responses": {
  10882. "200": {
  10883. "description": "OK",
  10884. "schema": {
  10885. "$ref": "#/definitions/app.Response"
  10886. }
  10887. },
  10888. "500": {
  10889. "description": "Internal Server Error",
  10890. "schema": {
  10891. "$ref": "#/definitions/app.Response"
  10892. }
  10893. }
  10894. }
  10895. }
  10896. },
  10897. "/WRTrade/GetAllDeliveryGoods": {
  10898. "get": {
  10899. "security": [
  10900. {
  10901. "ApiKeyAuth": []
  10902. },
  10903. {
  10904. "ApiKeyAuth": []
  10905. }
  10906. ],
  10907. "produces": [
  10908. "application/json",
  10909. "application/json"
  10910. ],
  10911. "tags": [
  10912. "仓单贸易",
  10913. "仓单贸易"
  10914. ],
  10915. "summary": "获取带仓单分类的种类信息",
  10916. "responses": {
  10917. "200": {
  10918. "description": "OK",
  10919. "schema": {
  10920. "$ref": "#/definitions/app.Response"
  10921. }
  10922. },
  10923. "500": {
  10924. "description": "Internal Server Error",
  10925. "schema": {
  10926. "$ref": "#/definitions/app.Response"
  10927. }
  10928. }
  10929. }
  10930. }
  10931. },
  10932. "/WrTrade2/QueryFaProductDetail": {
  10933. "get": {
  10934. "security": [
  10935. {
  10936. "ApiKeyAuth": []
  10937. }
  10938. ],
  10939. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  10940. "produces": [
  10941. "application/json"
  10942. ],
  10943. "tags": [
  10944. "仓单贸易v2"
  10945. ],
  10946. "summary": "查询融资产品列表",
  10947. "parameters": [
  10948. {
  10949. "type": "integer",
  10950. "description": "仓单要素id",
  10951. "name": "wrfactortypeid",
  10952. "in": "query",
  10953. "required": true
  10954. }
  10955. ],
  10956. "responses": {
  10957. "200": {
  10958. "description": "OK",
  10959. "schema": {
  10960. "type": "array",
  10961. "items": {
  10962. "$ref": "#/definitions/models.WrFAProductDetail"
  10963. }
  10964. }
  10965. },
  10966. "500": {
  10967. "description": "Internal Server Error",
  10968. "schema": {
  10969. "$ref": "#/definitions/app.Response"
  10970. }
  10971. }
  10972. }
  10973. }
  10974. },
  10975. "/WrTrade2/QueryFilterItem": {
  10976. "get": {
  10977. "security": [
  10978. {
  10979. "ApiKeyAuth": []
  10980. }
  10981. ],
  10982. "produces": [
  10983. "application/json"
  10984. ],
  10985. "tags": [
  10986. "仓单贸易v2"
  10987. ],
  10988. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  10989. "parameters": [
  10990. {
  10991. "type": "string",
  10992. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  10993. "name": "itype",
  10994. "in": "query",
  10995. "required": true
  10996. }
  10997. ],
  10998. "responses": {
  10999. "200": {
  11000. "description": "OK",
  11001. "schema": {
  11002. "type": "array",
  11003. "items": {
  11004. "$ref": "#/definitions/models.WrFilterItem"
  11005. }
  11006. }
  11007. },
  11008. "500": {
  11009. "description": "Internal Server Error",
  11010. "schema": {
  11011. "$ref": "#/definitions/app.Response"
  11012. }
  11013. }
  11014. }
  11015. }
  11016. },
  11017. "/WrTrade2/QueryFtDeliveryGoods": {
  11018. "get": {
  11019. "security": [
  11020. {
  11021. "ApiKeyAuth": []
  11022. }
  11023. ],
  11024. "produces": [
  11025. "application/json"
  11026. ],
  11027. "tags": [
  11028. "仓单贸易v2"
  11029. ],
  11030. "summary": "查询品种品类筛选框列表",
  11031. "responses": {
  11032. "200": {
  11033. "description": "OK",
  11034. "schema": {
  11035. "type": "array",
  11036. "items": {
  11037. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  11038. }
  11039. }
  11040. },
  11041. "500": {
  11042. "description": "Internal Server Error",
  11043. "schema": {
  11044. "$ref": "#/definitions/app.Response"
  11045. }
  11046. }
  11047. }
  11048. }
  11049. },
  11050. "/WrTrade2/QueryHoldLB": {
  11051. "get": {
  11052. "security": [
  11053. {
  11054. "ApiKeyAuth": []
  11055. }
  11056. ],
  11057. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  11058. "produces": [
  11059. "application/json"
  11060. ],
  11061. "tags": [
  11062. "仓单贸易v2"
  11063. ],
  11064. "summary": "查询仓单持有记录",
  11065. "parameters": [
  11066. {
  11067. "type": "integer",
  11068. "description": "资金账号",
  11069. "name": "accountid",
  11070. "in": "query",
  11071. "required": true
  11072. },
  11073. {
  11074. "type": "integer",
  11075. "description": "仓库id",
  11076. "name": "warehouseid",
  11077. "in": "query"
  11078. },
  11079. {
  11080. "type": "integer",
  11081. "description": "品种id",
  11082. "name": "deliverygoodsid",
  11083. "in": "query"
  11084. },
  11085. {
  11086. "type": "integer",
  11087. "description": "品类id",
  11088. "name": "wrstandardid",
  11089. "in": "query"
  11090. }
  11091. ],
  11092. "responses": {
  11093. "200": {
  11094. "description": "OK",
  11095. "schema": {
  11096. "type": "array",
  11097. "items": {
  11098. "$ref": "#/definitions/models.WrHoldLB"
  11099. }
  11100. }
  11101. },
  11102. "500": {
  11103. "description": "Internal Server Error",
  11104. "schema": {
  11105. "$ref": "#/definitions/app.Response"
  11106. }
  11107. }
  11108. }
  11109. }
  11110. },
  11111. "/WrTrade2/QueryOrderQuote": {
  11112. "get": {
  11113. "security": [
  11114. {
  11115. "ApiKeyAuth": []
  11116. }
  11117. ],
  11118. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  11119. "produces": [
  11120. "application/json"
  11121. ],
  11122. "tags": [
  11123. "仓单贸易v2"
  11124. ],
  11125. "summary": "查询大厅行情列表",
  11126. "parameters": [
  11127. {
  11128. "type": "integer",
  11129. "description": "页码",
  11130. "name": "page",
  11131. "in": "query"
  11132. },
  11133. {
  11134. "type": "integer",
  11135. "description": "每页条数",
  11136. "name": "pagesize",
  11137. "in": "query"
  11138. },
  11139. {
  11140. "type": "integer",
  11141. "description": "仓单贸易市场id",
  11142. "name": "marketid",
  11143. "in": "query"
  11144. },
  11145. {
  11146. "type": "integer",
  11147. "description": "价格方式 - 1:固定价 2-浮动价",
  11148. "name": "wrpricetype",
  11149. "in": "query",
  11150. "required": true
  11151. },
  11152. {
  11153. "type": "integer",
  11154. "description": "0:仓单预售 1:仓单贸易",
  11155. "name": "haswr",
  11156. "in": "query",
  11157. "required": true
  11158. },
  11159. {
  11160. "type": "string",
  11161. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11162. "name": "dgitemname",
  11163. "in": "query"
  11164. },
  11165. {
  11166. "type": "integer",
  11167. "description": "仓库id(筛选条件)",
  11168. "name": "warehouseid",
  11169. "in": "query"
  11170. },
  11171. {
  11172. "type": "integer",
  11173. "description": "品种id",
  11174. "name": "deliverygoodsid",
  11175. "in": "query"
  11176. },
  11177. {
  11178. "type": "integer",
  11179. "description": "品类id",
  11180. "name": "wrstandardid",
  11181. "in": "query"
  11182. },
  11183. {
  11184. "type": "integer",
  11185. "description": "仓单要素id",
  11186. "name": "wrfactortypeid",
  11187. "in": "query"
  11188. },
  11189. {
  11190. "type": "string",
  11191. "description": "交收月(yyyy-mm) 仓单预售填写",
  11192. "name": "deliverymonth",
  11193. "in": "query"
  11194. }
  11195. ],
  11196. "responses": {
  11197. "200": {
  11198. "description": "OK",
  11199. "schema": {
  11200. "type": "array",
  11201. "items": {
  11202. "$ref": "#/definitions/models.WrOrderQuote"
  11203. }
  11204. }
  11205. },
  11206. "500": {
  11207. "description": "Internal Server Error",
  11208. "schema": {
  11209. "$ref": "#/definitions/app.Response"
  11210. }
  11211. }
  11212. }
  11213. }
  11214. },
  11215. "/WrTrade2/QueryOrderQuoteDetail": {
  11216. "get": {
  11217. "security": [
  11218. {
  11219. "ApiKeyAuth": []
  11220. }
  11221. ],
  11222. "produces": [
  11223. "application/json"
  11224. ],
  11225. "tags": [
  11226. "仓单贸易v2"
  11227. ],
  11228. "summary": "查询买卖大厅",
  11229. "parameters": [
  11230. {
  11231. "type": "integer",
  11232. "description": "页码",
  11233. "name": "page",
  11234. "in": "query"
  11235. },
  11236. {
  11237. "type": "integer",
  11238. "description": "每页条数",
  11239. "name": "pagesize",
  11240. "in": "query"
  11241. },
  11242. {
  11243. "type": "integer",
  11244. "description": "仓单贸易市场id",
  11245. "name": "marketid",
  11246. "in": "query"
  11247. },
  11248. {
  11249. "type": "integer",
  11250. "description": "价格方式 - 1:固定价 2-浮动价",
  11251. "name": "wrpricetype",
  11252. "in": "query",
  11253. "required": true
  11254. },
  11255. {
  11256. "type": "integer",
  11257. "description": "0:仓单预售 1:仓单贸易",
  11258. "name": "haswr",
  11259. "in": "query",
  11260. "required": true
  11261. },
  11262. {
  11263. "type": "integer",
  11264. "description": "仓单要素id",
  11265. "name": "wrfactortypeid",
  11266. "in": "query",
  11267. "required": true
  11268. },
  11269. {
  11270. "type": "integer",
  11271. "description": "期货商品id(浮动价方式时填)",
  11272. "name": "goodsid",
  11273. "in": "query"
  11274. },
  11275. {
  11276. "type": "integer",
  11277. "description": "买卖方向 0-买 1-卖",
  11278. "name": "buyorsell",
  11279. "in": "query",
  11280. "required": true
  11281. },
  11282. {
  11283. "type": "string",
  11284. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  11285. "name": "deliverymonth",
  11286. "in": "query"
  11287. }
  11288. ],
  11289. "responses": {
  11290. "200": {
  11291. "description": "OK",
  11292. "schema": {
  11293. "type": "array",
  11294. "items": {
  11295. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11296. }
  11297. }
  11298. },
  11299. "500": {
  11300. "description": "Internal Server Error",
  11301. "schema": {
  11302. "$ref": "#/definitions/app.Response"
  11303. }
  11304. }
  11305. }
  11306. }
  11307. },
  11308. "/WrTrade2/QueryPerformancePlan": {
  11309. "get": {
  11310. "security": [
  11311. {
  11312. "ApiKeyAuth": []
  11313. }
  11314. ],
  11315. "produces": [
  11316. "application/json"
  11317. ],
  11318. "tags": [
  11319. "仓单贸易v2"
  11320. ],
  11321. "summary": "查询履约信息",
  11322. "parameters": [
  11323. {
  11324. "type": "integer",
  11325. "description": "用户id",
  11326. "name": "userid",
  11327. "in": "query",
  11328. "required": true
  11329. },
  11330. {
  11331. "type": "integer",
  11332. "description": "买卖方向 0-买 1-卖",
  11333. "name": "buyorsell",
  11334. "in": "query",
  11335. "required": true
  11336. }
  11337. ],
  11338. "responses": {
  11339. "200": {
  11340. "description": "OK",
  11341. "schema": {
  11342. "type": "array",
  11343. "items": {
  11344. "$ref": "#/definitions/models.WrPerformancePlan"
  11345. }
  11346. }
  11347. },
  11348. "500": {
  11349. "description": "Internal Server Error",
  11350. "schema": {
  11351. "$ref": "#/definitions/app.Response"
  11352. }
  11353. }
  11354. }
  11355. }
  11356. },
  11357. "/WrTrade2/QueryWrBuybackDetail": {
  11358. "get": {
  11359. "security": [
  11360. {
  11361. "ApiKeyAuth": []
  11362. }
  11363. ],
  11364. "produces": [
  11365. "application/json"
  11366. ],
  11367. "tags": [
  11368. "仓单贸易v2"
  11369. ],
  11370. "summary": "查询仓单回购明细",
  11371. "parameters": [
  11372. {
  11373. "type": "integer",
  11374. "description": "融资合同id",
  11375. "name": "scfcontractid",
  11376. "in": "query"
  11377. }
  11378. ],
  11379. "responses": {
  11380. "200": {
  11381. "description": "OK",
  11382. "schema": {
  11383. "type": "array",
  11384. "items": {
  11385. "$ref": "#/definitions/models.WrBuybackDetail"
  11386. }
  11387. }
  11388. },
  11389. "500": {
  11390. "description": "Internal Server Error",
  11391. "schema": {
  11392. "$ref": "#/definitions/app.Response"
  11393. }
  11394. }
  11395. }
  11396. }
  11397. },
  11398. "/WrTrade2/QueryWrFactorTypeInfo": {
  11399. "get": {
  11400. "security": [
  11401. {
  11402. "ApiKeyAuth": []
  11403. }
  11404. ],
  11405. "produces": [
  11406. "application/json"
  11407. ],
  11408. "tags": [
  11409. "仓单贸易v2"
  11410. ],
  11411. "summary": "查询仓单要素详细信息",
  11412. "parameters": [
  11413. {
  11414. "type": "integer",
  11415. "description": "仓单要素id",
  11416. "name": "wrfactortypeid",
  11417. "in": "query",
  11418. "required": true
  11419. }
  11420. ],
  11421. "responses": {
  11422. "200": {
  11423. "description": "OK",
  11424. "schema": {
  11425. "type": "array",
  11426. "items": {
  11427. "$ref": "#/definitions/models.WrFactorTypeInfo"
  11428. }
  11429. }
  11430. },
  11431. "500": {
  11432. "description": "Internal Server Error",
  11433. "schema": {
  11434. "$ref": "#/definitions/app.Response"
  11435. }
  11436. }
  11437. }
  11438. }
  11439. },
  11440. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  11441. "get": {
  11442. "security": [
  11443. {
  11444. "ApiKeyAuth": []
  11445. }
  11446. ],
  11447. "produces": [
  11448. "application/json"
  11449. ],
  11450. "tags": [
  11451. "仓单贸易v2"
  11452. ],
  11453. "summary": "查询仓单要素详细信息列表项",
  11454. "parameters": [
  11455. {
  11456. "type": "integer",
  11457. "description": "仓单要素id",
  11458. "name": "wrfactortypeid",
  11459. "in": "query",
  11460. "required": true
  11461. }
  11462. ],
  11463. "responses": {
  11464. "200": {
  11465. "description": "OK",
  11466. "schema": {
  11467. "type": "array",
  11468. "items": {
  11469. "$ref": "#/definitions/models.WrTypeItem"
  11470. }
  11471. }
  11472. },
  11473. "500": {
  11474. "description": "Internal Server Error",
  11475. "schema": {
  11476. "$ref": "#/definitions/app.Response"
  11477. }
  11478. }
  11479. }
  11480. }
  11481. },
  11482. "/WrTrade2/QueryWrFinanceBuyApply": {
  11483. "get": {
  11484. "security": [
  11485. {
  11486. "ApiKeyAuth": []
  11487. }
  11488. ],
  11489. "description": "页面 融资信息+ / 申请单",
  11490. "produces": [
  11491. "application/json"
  11492. ],
  11493. "tags": [
  11494. "仓单贸易v2"
  11495. ],
  11496. "summary": "查询融资购买申请",
  11497. "parameters": [
  11498. {
  11499. "type": "integer",
  11500. "description": "用户id",
  11501. "name": "userid",
  11502. "in": "query",
  11503. "required": true
  11504. }
  11505. ],
  11506. "responses": {
  11507. "200": {
  11508. "description": "OK",
  11509. "schema": {
  11510. "type": "array",
  11511. "items": {
  11512. "$ref": "#/definitions/models.WrFinanceBuyApply"
  11513. }
  11514. }
  11515. },
  11516. "500": {
  11517. "description": "Internal Server Error",
  11518. "schema": {
  11519. "$ref": "#/definitions/app.Response"
  11520. }
  11521. }
  11522. }
  11523. }
  11524. },
  11525. "/WrTrade2/QueryWrGoodsInfo": {
  11526. "get": {
  11527. "security": [
  11528. {
  11529. "ApiKeyAuth": []
  11530. }
  11531. ],
  11532. "produces": [
  11533. "application/json"
  11534. ],
  11535. "tags": [
  11536. "仓单贸易v2"
  11537. ],
  11538. "summary": "查询仓单商品信息",
  11539. "parameters": [
  11540. {
  11541. "type": "integer",
  11542. "description": "仓单贸易市场id",
  11543. "name": "marketid",
  11544. "in": "query"
  11545. },
  11546. {
  11547. "type": "integer",
  11548. "description": "0:仓单预售 1:仓单贸易",
  11549. "name": "haswr",
  11550. "in": "query",
  11551. "required": true
  11552. },
  11553. {
  11554. "type": "integer",
  11555. "description": "仓单要素id",
  11556. "name": "wrfactortypeid",
  11557. "in": "query",
  11558. "required": true
  11559. }
  11560. ],
  11561. "responses": {
  11562. "200": {
  11563. "description": "OK",
  11564. "schema": {
  11565. "type": "array",
  11566. "items": {
  11567. "$ref": "#/definitions/models.WrGoodsInfo"
  11568. }
  11569. }
  11570. },
  11571. "500": {
  11572. "description": "Internal Server Error",
  11573. "schema": {
  11574. "$ref": "#/definitions/app.Response"
  11575. }
  11576. }
  11577. }
  11578. }
  11579. },
  11580. "/WrTrade2/QueryWrMarketTradeConfig": {
  11581. "get": {
  11582. "security": [
  11583. {
  11584. "ApiKeyAuth": []
  11585. }
  11586. ],
  11587. "produces": [
  11588. "application/json"
  11589. ],
  11590. "tags": [
  11591. "仓单贸易v2"
  11592. ],
  11593. "summary": "查询市场交易参数配置",
  11594. "parameters": [
  11595. {
  11596. "type": "integer",
  11597. "description": "市场id",
  11598. "name": "marketid",
  11599. "in": "query"
  11600. }
  11601. ],
  11602. "responses": {
  11603. "200": {
  11604. "description": "OK",
  11605. "schema": {
  11606. "type": "array",
  11607. "items": {
  11608. "$ref": "#/definitions/models.WrMarketTradeConfig"
  11609. }
  11610. }
  11611. },
  11612. "500": {
  11613. "description": "Internal Server Error",
  11614. "schema": {
  11615. "$ref": "#/definitions/app.Response"
  11616. }
  11617. }
  11618. }
  11619. }
  11620. },
  11621. "/WrTrade2/QueryWrOrderDetail": {
  11622. "get": {
  11623. "security": [
  11624. {
  11625. "ApiKeyAuth": []
  11626. }
  11627. ],
  11628. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  11629. "produces": [
  11630. "application/json"
  11631. ],
  11632. "tags": [
  11633. "仓单贸易v2"
  11634. ],
  11635. "summary": "查询仓单委托单(挂单)",
  11636. "parameters": [
  11637. {
  11638. "type": "integer",
  11639. "description": "页码",
  11640. "name": "page",
  11641. "in": "query"
  11642. },
  11643. {
  11644. "type": "integer",
  11645. "description": "每页条数",
  11646. "name": "pagesize",
  11647. "in": "query"
  11648. },
  11649. {
  11650. "type": "integer",
  11651. "description": "用户id",
  11652. "name": "userid",
  11653. "in": "query",
  11654. "required": true
  11655. },
  11656. {
  11657. "type": "integer",
  11658. "description": "仓单贸易市场id",
  11659. "name": "marketid",
  11660. "in": "query"
  11661. },
  11662. {
  11663. "type": "integer",
  11664. "description": "0:仓单预售 1:仓单贸易",
  11665. "name": "haswr",
  11666. "in": "query",
  11667. "required": true
  11668. }
  11669. ],
  11670. "responses": {
  11671. "200": {
  11672. "description": "OK",
  11673. "schema": {
  11674. "type": "array",
  11675. "items": {
  11676. "$ref": "#/definitions/models.WrOrderDetail"
  11677. }
  11678. }
  11679. },
  11680. "500": {
  11681. "description": "Internal Server Error",
  11682. "schema": {
  11683. "$ref": "#/definitions/app.Response"
  11684. }
  11685. }
  11686. }
  11687. }
  11688. },
  11689. "/WrTrade2/QueryWrOutInApply": {
  11690. "get": {
  11691. "security": [
  11692. {
  11693. "ApiKeyAuth": []
  11694. }
  11695. ],
  11696. "produces": [
  11697. "application/json"
  11698. ],
  11699. "tags": [
  11700. "仓单贸易v2"
  11701. ],
  11702. "summary": "查询提货申请",
  11703. "parameters": [
  11704. {
  11705. "type": "integer",
  11706. "description": "用户id",
  11707. "name": "userid",
  11708. "in": "query",
  11709. "required": true
  11710. }
  11711. ],
  11712. "responses": {
  11713. "200": {
  11714. "description": "OK",
  11715. "schema": {
  11716. "type": "array",
  11717. "items": {
  11718. "$ref": "#/definitions/models.WrOutInApply"
  11719. }
  11720. }
  11721. },
  11722. "500": {
  11723. "description": "Internal Server Error",
  11724. "schema": {
  11725. "$ref": "#/definitions/app.Response"
  11726. }
  11727. }
  11728. }
  11729. }
  11730. },
  11731. "/WrTrade2/QueryWrPerformancePlanStep": {
  11732. "get": {
  11733. "security": [
  11734. {
  11735. "ApiKeyAuth": []
  11736. }
  11737. ],
  11738. "produces": [
  11739. "application/json"
  11740. ],
  11741. "tags": [
  11742. "仓单贸易v2"
  11743. ],
  11744. "summary": "查询履约信息详情",
  11745. "parameters": [
  11746. {
  11747. "type": "integer",
  11748. "description": "履约计划id(performanceplanid)",
  11749. "name": "planid",
  11750. "in": "query",
  11751. "required": true
  11752. },
  11753. {
  11754. "type": "integer",
  11755. "description": "当前步骤id",
  11756. "name": "curstepid",
  11757. "in": "query"
  11758. }
  11759. ],
  11760. "responses": {
  11761. "200": {
  11762. "description": "OK",
  11763. "schema": {
  11764. "type": "array",
  11765. "items": {
  11766. "$ref": "#/definitions/models.WrPerformancePlanStep"
  11767. }
  11768. }
  11769. },
  11770. "500": {
  11771. "description": "Internal Server Error",
  11772. "schema": {
  11773. "$ref": "#/definitions/app.Response"
  11774. }
  11775. }
  11776. }
  11777. }
  11778. },
  11779. "/WrTrade2/QueryWrPosition": {
  11780. "get": {
  11781. "security": [
  11782. {
  11783. "ApiKeyAuth": []
  11784. }
  11785. ],
  11786. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  11787. "produces": [
  11788. "application/json"
  11789. ],
  11790. "tags": [
  11791. "仓单贸易v2"
  11792. ],
  11793. "summary": "查询现货(预售)仓单持仓",
  11794. "parameters": [
  11795. {
  11796. "type": "integer",
  11797. "description": "用户id",
  11798. "name": "userid",
  11799. "in": "query",
  11800. "required": true
  11801. },
  11802. {
  11803. "type": "integer",
  11804. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  11805. "name": "querytype",
  11806. "in": "query",
  11807. "required": true
  11808. },
  11809. {
  11810. "type": "integer",
  11811. "description": "0:仓单预售 1:仓单贸易",
  11812. "name": "haswr",
  11813. "in": "query",
  11814. "required": true
  11815. },
  11816. {
  11817. "type": "string",
  11818. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11819. "name": "dgitemname",
  11820. "in": "query"
  11821. },
  11822. {
  11823. "type": "integer",
  11824. "description": "仓库id(筛选条件)",
  11825. "name": "warehouseid",
  11826. "in": "query"
  11827. },
  11828. {
  11829. "type": "integer",
  11830. "description": "品种id",
  11831. "name": "deliverygoodsid",
  11832. "in": "query"
  11833. },
  11834. {
  11835. "type": "integer",
  11836. "description": "品类id",
  11837. "name": "wrstandardid",
  11838. "in": "query"
  11839. }
  11840. ],
  11841. "responses": {
  11842. "200": {
  11843. "description": "OK",
  11844. "schema": {
  11845. "type": "array",
  11846. "items": {
  11847. "$ref": "#/definitions/models.WrPosition"
  11848. }
  11849. }
  11850. },
  11851. "500": {
  11852. "description": "Internal Server Error",
  11853. "schema": {
  11854. "$ref": "#/definitions/app.Response"
  11855. }
  11856. }
  11857. }
  11858. }
  11859. },
  11860. "/WrTrade2/QueryWrScfContract": {
  11861. "get": {
  11862. "security": [
  11863. {
  11864. "ApiKeyAuth": []
  11865. }
  11866. ],
  11867. "produces": [
  11868. "application/json"
  11869. ],
  11870. "tags": [
  11871. "仓单贸易v2"
  11872. ],
  11873. "summary": "查询仓单贸易融资合同",
  11874. "parameters": [
  11875. {
  11876. "type": "integer",
  11877. "description": "用户id",
  11878. "name": "userid",
  11879. "in": "query",
  11880. "required": true
  11881. },
  11882. {
  11883. "type": "integer",
  11884. "description": "融资合同id",
  11885. "name": "scfcontractid",
  11886. "in": "query"
  11887. }
  11888. ],
  11889. "responses": {
  11890. "200": {
  11891. "description": "OK",
  11892. "schema": {
  11893. "type": "array",
  11894. "items": {
  11895. "$ref": "#/definitions/models.WrScfContract"
  11896. }
  11897. }
  11898. },
  11899. "500": {
  11900. "description": "Internal Server Error",
  11901. "schema": {
  11902. "$ref": "#/definitions/app.Response"
  11903. }
  11904. }
  11905. }
  11906. }
  11907. },
  11908. "/WrTrade2/QueryWrScfContractInterest": {
  11909. "get": {
  11910. "security": [
  11911. {
  11912. "ApiKeyAuth": []
  11913. }
  11914. ],
  11915. "produces": [
  11916. "application/json"
  11917. ],
  11918. "tags": [
  11919. "仓单贸易v2"
  11920. ],
  11921. "summary": "查询融资合同费用明细",
  11922. "parameters": [
  11923. {
  11924. "type": "integer",
  11925. "description": "融资合同id",
  11926. "name": "scfcontractid",
  11927. "in": "query"
  11928. }
  11929. ],
  11930. "responses": {
  11931. "200": {
  11932. "description": "OK",
  11933. "schema": {
  11934. "type": "array",
  11935. "items": {
  11936. "$ref": "#/definitions/models.WrScfContractInterest"
  11937. }
  11938. }
  11939. },
  11940. "500": {
  11941. "description": "Internal Server Error",
  11942. "schema": {
  11943. "$ref": "#/definitions/app.Response"
  11944. }
  11945. }
  11946. }
  11947. }
  11948. },
  11949. "/WrTrade2/QueryWrSpecialMatchOrder": {
  11950. "get": {
  11951. "security": [
  11952. {
  11953. "ApiKeyAuth": []
  11954. }
  11955. ],
  11956. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  11957. "produces": [
  11958. "application/json"
  11959. ],
  11960. "tags": [
  11961. "仓单贸易v2"
  11962. ],
  11963. "summary": "查询指定成交",
  11964. "parameters": [
  11965. {
  11966. "type": "integer",
  11967. "description": "页码",
  11968. "name": "page",
  11969. "in": "query"
  11970. },
  11971. {
  11972. "type": "integer",
  11973. "description": "每页条数",
  11974. "name": "pagesize",
  11975. "in": "query"
  11976. },
  11977. {
  11978. "type": "integer",
  11979. "description": "用户id",
  11980. "name": "userid",
  11981. "in": "query",
  11982. "required": true
  11983. },
  11984. {
  11985. "type": "integer",
  11986. "description": "仓单贸易市场id",
  11987. "name": "marketid",
  11988. "in": "query"
  11989. },
  11990. {
  11991. "type": "integer",
  11992. "description": "0:仓单预售 1:仓单贸易",
  11993. "name": "haswr",
  11994. "in": "query",
  11995. "required": true
  11996. }
  11997. ],
  11998. "responses": {
  11999. "200": {
  12000. "description": "OK",
  12001. "schema": {
  12002. "type": "array",
  12003. "items": {
  12004. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  12005. }
  12006. }
  12007. },
  12008. "500": {
  12009. "description": "Internal Server Error",
  12010. "schema": {
  12011. "$ref": "#/definitions/app.Response"
  12012. }
  12013. }
  12014. }
  12015. }
  12016. },
  12017. "/WrTrade2/QueryWrStandardFactoryItem": {
  12018. "get": {
  12019. "security": [
  12020. {
  12021. "ApiKeyAuth": []
  12022. }
  12023. ],
  12024. "produces": [
  12025. "application/json"
  12026. ],
  12027. "tags": [
  12028. "仓单贸易v2"
  12029. ],
  12030. "summary": "查询品类要素定义项",
  12031. "parameters": [
  12032. {
  12033. "type": "integer",
  12034. "description": "品类id",
  12035. "name": "wrstandardid",
  12036. "in": "query",
  12037. "required": true
  12038. }
  12039. ],
  12040. "responses": {
  12041. "200": {
  12042. "description": "OK",
  12043. "schema": {
  12044. "type": "array",
  12045. "items": {
  12046. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  12047. }
  12048. }
  12049. },
  12050. "500": {
  12051. "description": "Internal Server Error",
  12052. "schema": {
  12053. "$ref": "#/definitions/app.Response"
  12054. }
  12055. }
  12056. }
  12057. }
  12058. },
  12059. "/WrTrade2/QueryWrTradeDetail": {
  12060. "get": {
  12061. "security": [
  12062. {
  12063. "ApiKeyAuth": []
  12064. }
  12065. ],
  12066. "produces": [
  12067. "application/json"
  12068. ],
  12069. "tags": [
  12070. "仓单贸易v2"
  12071. ],
  12072. "summary": "查询仓单成交明细",
  12073. "parameters": [
  12074. {
  12075. "type": "integer",
  12076. "description": "页码",
  12077. "name": "page",
  12078. "in": "query"
  12079. },
  12080. {
  12081. "type": "integer",
  12082. "description": "每页条数",
  12083. "name": "pagesize",
  12084. "in": "query"
  12085. },
  12086. {
  12087. "type": "integer",
  12088. "description": "用户id",
  12089. "name": "userid",
  12090. "in": "query",
  12091. "required": true
  12092. },
  12093. {
  12094. "type": "integer",
  12095. "description": "仓单贸易市场id",
  12096. "name": "marketid",
  12097. "in": "query"
  12098. },
  12099. {
  12100. "type": "integer",
  12101. "description": "0:仓单预售 1:仓单贸易",
  12102. "name": "haswr",
  12103. "in": "query",
  12104. "required": true
  12105. }
  12106. ],
  12107. "responses": {
  12108. "200": {
  12109. "description": "OK",
  12110. "schema": {
  12111. "type": "array",
  12112. "items": {
  12113. "$ref": "#/definitions/models.WrTradeDetail"
  12114. }
  12115. }
  12116. },
  12117. "500": {
  12118. "description": "Internal Server Error",
  12119. "schema": {
  12120. "$ref": "#/definitions/app.Response"
  12121. }
  12122. }
  12123. }
  12124. }
  12125. }
  12126. },
  12127. "definitions": {
  12128. "app.Response": {
  12129. "type": "object",
  12130. "properties": {
  12131. "code": {
  12132. "type": "integer"
  12133. },
  12134. "data": {
  12135. "type": "object"
  12136. },
  12137. "msg": {
  12138. "type": "string"
  12139. },
  12140. "page": {
  12141. "description": "页码",
  12142. "type": "integer"
  12143. },
  12144. "pagesize": {
  12145. "description": "每页条数",
  12146. "type": "integer"
  12147. },
  12148. "total": {
  12149. "description": "总条数",
  12150. "type": "integer"
  12151. }
  12152. }
  12153. },
  12154. "common.ClientMenu": {
  12155. "type": "object",
  12156. "properties": {
  12157. "children": {
  12158. "description": "子菜单列表",
  12159. "type": "array",
  12160. "items": {
  12161. "$ref": "#/definitions/common.ClientMenu"
  12162. }
  12163. },
  12164. "code": {
  12165. "description": "ID",
  12166. "type": "string"
  12167. },
  12168. "isshow": {
  12169. "description": "是否显示",
  12170. "type": "boolean"
  12171. },
  12172. "remark": {
  12173. "description": "备注",
  12174. "type": "string"
  12175. },
  12176. "rulekey": {
  12177. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  12178. "type": "string"
  12179. },
  12180. "sort": {
  12181. "description": "排序",
  12182. "type": "integer"
  12183. },
  12184. "title": {
  12185. "description": "标题",
  12186. "type": "string"
  12187. },
  12188. "type": {
  12189. "description": "类型,1:菜单 2:按钮",
  12190. "type": "integer"
  12191. },
  12192. "url": {
  12193. "description": "URL",
  12194. "type": "string"
  12195. }
  12196. }
  12197. },
  12198. "common.QueryImageConfigsRsp": {
  12199. "type": "object",
  12200. "required": [
  12201. "configid"
  12202. ],
  12203. "properties": {
  12204. "areauserid": {
  12205. "description": "所属机构ID",
  12206. "type": "integer"
  12207. },
  12208. "configid": {
  12209. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  12210. "type": "integer"
  12211. },
  12212. "createdate": {
  12213. "description": "创建时间",
  12214. "type": "string"
  12215. },
  12216. "creatorid": {
  12217. "description": "创建人",
  12218. "type": "integer"
  12219. },
  12220. "imagepath": {
  12221. "description": "图片",
  12222. "type": "string"
  12223. },
  12224. "imagetype": {
  12225. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  12226. "type": "integer"
  12227. },
  12228. "isshow": {
  12229. "description": "是否展示 - 0:不展示 1:展示",
  12230. "type": "integer"
  12231. },
  12232. "marketid": {
  12233. "description": "市场ID",
  12234. "type": "integer"
  12235. },
  12236. "modifierid": {
  12237. "description": "操作人",
  12238. "type": "integer"
  12239. },
  12240. "sort": {
  12241. "description": "排序",
  12242. "type": "integer"
  12243. },
  12244. "title": {
  12245. "description": "标题",
  12246. "type": "string"
  12247. },
  12248. "trademode": {
  12249. "description": "交易模式",
  12250. "type": "integer"
  12251. },
  12252. "updatedate": {
  12253. "description": "修改时间",
  12254. "type": "string"
  12255. },
  12256. "url": {
  12257. "description": "链接(地址或商品ID)",
  12258. "type": "string"
  12259. },
  12260. "urltype": {
  12261. "description": "链接类型 - 1:直接地址 2:商品ID",
  12262. "type": "integer"
  12263. }
  12264. }
  12265. },
  12266. "common.QueryNoticeRsp": {
  12267. "type": "object",
  12268. "required": [
  12269. "autoid"
  12270. ],
  12271. "properties": {
  12272. "auditoruserid": {
  12273. "description": "审核人",
  12274. "type": "integer"
  12275. },
  12276. "auditremark": {
  12277. "description": "审核备注",
  12278. "type": "string"
  12279. },
  12280. "audittime": {
  12281. "description": "审核日期",
  12282. "type": "string"
  12283. },
  12284. "autoid": {
  12285. "description": "自增ID",
  12286. "type": "integer"
  12287. },
  12288. "content": {
  12289. "description": "内容",
  12290. "type": "string"
  12291. },
  12292. "createtime": {
  12293. "description": "创建时间",
  12294. "type": "string"
  12295. },
  12296. "creatorid": {
  12297. "description": "建仓人",
  12298. "type": "integer"
  12299. },
  12300. "endtime": {
  12301. "description": "结束时间",
  12302. "type": "string"
  12303. },
  12304. "istop": {
  12305. "description": "是否置顶 - 0:不置顶 1:置顶",
  12306. "type": "integer"
  12307. },
  12308. "msgiconurl": {
  12309. "description": "消息图标Url",
  12310. "type": "string"
  12311. },
  12312. "msgtype": {
  12313. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  12314. "type": "integer"
  12315. },
  12316. "publisher": {
  12317. "description": "消息发布者",
  12318. "type": "string"
  12319. },
  12320. "readed": {
  12321. "description": "是否已读",
  12322. "type": "boolean"
  12323. },
  12324. "scheduletime": {
  12325. "description": "计划发送时间",
  12326. "type": "string"
  12327. },
  12328. "sendtype": {
  12329. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  12330. "type": "integer"
  12331. },
  12332. "sentstatus": {
  12333. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  12334. "type": "integer"
  12335. },
  12336. "title": {
  12337. "description": "标题",
  12338. "type": "string"
  12339. },
  12340. "userid": {
  12341. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  12342. "type": "integer"
  12343. }
  12344. }
  12345. },
  12346. "common.QueryProvincesAndCitiesRsp": {
  12347. "type": "object",
  12348. "properties": {
  12349. "cities": {
  12350. "description": "市",
  12351. "type": "array",
  12352. "items": {
  12353. "$ref": "#/definitions/models.Division"
  12354. }
  12355. },
  12356. "province": {
  12357. "description": "省",
  12358. "type": "object",
  12359. "$ref": "#/definitions/models.Division"
  12360. }
  12361. }
  12362. },
  12363. "common.QueryTableDefineRsp": {
  12364. "type": "object",
  12365. "required": [
  12366. "tablekey"
  12367. ],
  12368. "properties": {
  12369. "columns": {
  12370. "description": "列头信息数组",
  12371. "type": "array",
  12372. "items": {
  12373. "$ref": "#/definitions/models.Tablecolumnconfig"
  12374. }
  12375. },
  12376. "remark": {
  12377. "description": "Remark",
  12378. "type": "string"
  12379. },
  12380. "tabelmenu": {
  12381. "description": "列表菜单",
  12382. "type": "string"
  12383. },
  12384. "tablekey": {
  12385. "description": "列表Key",
  12386. "type": "string"
  12387. },
  12388. "tablename": {
  12389. "description": "列表名称",
  12390. "type": "string"
  12391. },
  12392. "tabletype": {
  12393. "description": "列表类型 - 1:管理端 2:终端",
  12394. "type": "integer"
  12395. }
  12396. }
  12397. },
  12398. "common.QueryTraderMenuRsp": {
  12399. "type": "object",
  12400. "properties": {
  12401. "OperationMenu": {
  12402. "description": "功能菜单",
  12403. "type": "array",
  12404. "items": {
  12405. "$ref": "#/definitions/models.OperationPrimaryMenu"
  12406. }
  12407. },
  12408. "QuoteMenu": {
  12409. "description": "报价牌分类菜单",
  12410. "type": "array",
  12411. "items": {
  12412. "$ref": "#/definitions/models.QuotePrimaryMenu"
  12413. }
  12414. }
  12415. }
  12416. },
  12417. "cptrade.Cptradepositioncancel": {
  12418. "type": "object",
  12419. "required": [
  12420. "cancelid"
  12421. ],
  12422. "properties": {
  12423. "accountid": {
  12424. "description": "申请人账户ID",
  12425. "type": "integer"
  12426. },
  12427. "applystatus": {
  12428. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  12429. "type": "integer"
  12430. },
  12431. "applytime": {
  12432. "description": "申请时间",
  12433. "type": "string"
  12434. },
  12435. "cancelid": {
  12436. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  12437. "type": "integer"
  12438. },
  12439. "cancelqty": {
  12440. "description": "注销数量",
  12441. "type": "integer"
  12442. },
  12443. "createtime": {
  12444. "description": "创建时间",
  12445. "type": "string"
  12446. },
  12447. "creatorid": {
  12448. "description": "创建人ID",
  12449. "type": "integer"
  12450. },
  12451. "creatorname": {
  12452. "description": "创建人",
  12453. "type": "string"
  12454. },
  12455. "goodscode": {
  12456. "description": "订单商品代码",
  12457. "type": "string"
  12458. },
  12459. "goodsid": {
  12460. "description": "商品ID",
  12461. "type": "integer"
  12462. },
  12463. "goodsname": {
  12464. "description": "订单商品名称",
  12465. "type": "string"
  12466. },
  12467. "goodunit": {
  12468. "description": "报价单位",
  12469. "type": "string"
  12470. },
  12471. "handlestatus": {
  12472. "description": "处理状态",
  12473. "type": "integer"
  12474. },
  12475. "marketid": {
  12476. "description": "市场ID",
  12477. "type": "integer"
  12478. },
  12479. "marketname": {
  12480. "description": "市场名称",
  12481. "type": "string"
  12482. },
  12483. "tradedate": {
  12484. "description": "交易日(yyyyMMdd)",
  12485. "type": "string"
  12486. },
  12487. "userid": {
  12488. "description": "申请人ID",
  12489. "type": "integer"
  12490. }
  12491. }
  12492. },
  12493. "cptrade.Cptradepresaleapply": {
  12494. "type": "object",
  12495. "required": [
  12496. "applyid"
  12497. ],
  12498. "properties": {
  12499. "accountid": {
  12500. "description": "申请人账户ID",
  12501. "type": "integer"
  12502. },
  12503. "applyid": {
  12504. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  12505. "type": "integer"
  12506. },
  12507. "applyremark": {
  12508. "description": "申请备注",
  12509. "type": "string"
  12510. },
  12511. "applystatus": {
  12512. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  12513. "type": "integer"
  12514. },
  12515. "applytime": {
  12516. "description": "申请时间",
  12517. "type": "string"
  12518. },
  12519. "attachmenturl": {
  12520. "description": "附件地址",
  12521. "type": "string"
  12522. },
  12523. "endtime": {
  12524. "description": "预售结束时间",
  12525. "type": "string"
  12526. },
  12527. "goodscode": {
  12528. "description": "商品代码",
  12529. "type": "string"
  12530. },
  12531. "goodsid": {
  12532. "description": "商品ID",
  12533. "type": "integer"
  12534. },
  12535. "goodsname": {
  12536. "description": "商品名称",
  12537. "type": "string"
  12538. },
  12539. "goodunit": {
  12540. "description": "报价单位",
  12541. "type": "string"
  12542. },
  12543. "handlestatus": {
  12544. "description": "处理状态",
  12545. "type": "integer"
  12546. },
  12547. "marketid": {
  12548. "description": "预售市场ID",
  12549. "type": "integer"
  12550. },
  12551. "marketname": {
  12552. "description": "预售市场名称",
  12553. "type": "string"
  12554. },
  12555. "presaleqty": {
  12556. "description": "预售数量",
  12557. "type": "integer"
  12558. },
  12559. "relatedgoodscode": {
  12560. "description": "关联交易合约代码",
  12561. "type": "string"
  12562. },
  12563. "relatedgoodsid": {
  12564. "description": "关联交易合约ID",
  12565. "type": "integer"
  12566. },
  12567. "relatedgoodsname": {
  12568. "description": "关联交易合约名称",
  12569. "type": "string"
  12570. },
  12571. "starttime": {
  12572. "description": "预售开始时间",
  12573. "type": "string"
  12574. },
  12575. "tradedate": {
  12576. "description": "交易日(yyyyMMdd)",
  12577. "type": "string"
  12578. },
  12579. "trademode": {
  12580. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  12581. "type": "integer"
  12582. },
  12583. "userid": {
  12584. "description": "申请人ID",
  12585. "type": "integer"
  12586. }
  12587. }
  12588. },
  12589. "cptrade.Cptradeusergoodsdata": {
  12590. "type": "object",
  12591. "required": [
  12592. "accountid",
  12593. "goodsid"
  12594. ],
  12595. "properties": {
  12596. "EnabledQty": {
  12597. "description": "可用量",
  12598. "type": "integer"
  12599. },
  12600. "GoodsCode": {
  12601. "description": "订单商品代码",
  12602. "type": "string"
  12603. },
  12604. "GoodsName": {
  12605. "description": "订单商品名称",
  12606. "type": "string"
  12607. },
  12608. "WRStandardCode": {
  12609. "description": "仓单标准代码",
  12610. "type": "string"
  12611. },
  12612. "WRStandardName": {
  12613. "description": "仓单标准名称",
  12614. "type": "string"
  12615. },
  12616. "accountid": {
  12617. "description": "账户ID",
  12618. "type": "integer"
  12619. },
  12620. "cancelqty": {
  12621. "description": "注销量",
  12622. "type": "integer"
  12623. },
  12624. "curpresaleqty": {
  12625. "description": "当前预售量",
  12626. "type": "integer"
  12627. },
  12628. "deliveryqty": {
  12629. "description": "交割量",
  12630. "type": "integer"
  12631. },
  12632. "freezeamount": {
  12633. "description": "冻结金额",
  12634. "type": "number"
  12635. },
  12636. "goodsid": {
  12637. "description": "商品ID",
  12638. "type": "integer"
  12639. },
  12640. "goodunit": {
  12641. "description": "报价单位",
  12642. "type": "string"
  12643. },
  12644. "hasspotfreeze": {
  12645. "description": "是否有现货冻结 - 0:否 1:有",
  12646. "type": "integer"
  12647. },
  12648. "inqty": {
  12649. "description": "转入量(总数量)",
  12650. "type": "integer"
  12651. },
  12652. "marketid": {
  12653. "description": "市场ID",
  12654. "type": "integer"
  12655. },
  12656. "presaledamount": {
  12657. "description": "已预售总金额",
  12658. "type": "integer"
  12659. },
  12660. "presaledqty": {
  12661. "description": "已预售量",
  12662. "type": "integer"
  12663. },
  12664. "userid": {
  12665. "description": "用户ID",
  12666. "type": "integer"
  12667. },
  12668. "wrstandardid": {
  12669. "description": "仓单标准ID",
  12670. "type": "integer"
  12671. }
  12672. }
  12673. },
  12674. "cptrade.QueryCPTradeMyBidRsp": {
  12675. "type": "object",
  12676. "required": [
  12677. "accountid",
  12678. "goodsid",
  12679. "marketid",
  12680. "orderid",
  12681. "orderqty",
  12682. "ordertime",
  12683. "tradeprice",
  12684. "tradeqty"
  12685. ],
  12686. "properties": {
  12687. "accountid": {
  12688. "description": "账户ID[报价币种]",
  12689. "type": "integer"
  12690. },
  12691. "goodsid": {
  12692. "description": "商品ID",
  12693. "type": "integer"
  12694. },
  12695. "goodunit": {
  12696. "description": "报价单位",
  12697. "type": "string"
  12698. },
  12699. "marketid": {
  12700. "description": "市场ID",
  12701. "type": "integer"
  12702. },
  12703. "orderid": {
  12704. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12705. "type": "integer"
  12706. },
  12707. "orderprice": {
  12708. "description": "委托价格",
  12709. "type": "number"
  12710. },
  12711. "orderqty": {
  12712. "description": "委托数量",
  12713. "type": "integer"
  12714. },
  12715. "ordertime": {
  12716. "description": "委托时间",
  12717. "type": "string"
  12718. },
  12719. "ordertotalprice": {
  12720. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  12721. "type": "number"
  12722. },
  12723. "ordertotalweight": {
  12724. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  12725. "type": "integer"
  12726. },
  12727. "totaltotalprice": {
  12728. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  12729. "type": "number"
  12730. },
  12731. "tradeprice": {
  12732. "description": "成交价格",
  12733. "type": "number"
  12734. },
  12735. "tradeqty": {
  12736. "description": "成交数量",
  12737. "type": "integer"
  12738. }
  12739. }
  12740. },
  12741. "cptrade.QueryCPTradeOrderDetailRsq": {
  12742. "type": "object",
  12743. "required": [
  12744. "accountid",
  12745. "buildtype",
  12746. "buyorsell",
  12747. "goodsid",
  12748. "marketid",
  12749. "memberuserid",
  12750. "operatetype",
  12751. "orderqty",
  12752. "ordertime",
  12753. "pricemode",
  12754. "strorderid",
  12755. "tradedate",
  12756. "validtype"
  12757. ],
  12758. "properties": {
  12759. "accountid": {
  12760. "description": "账户ID[报价币种]",
  12761. "type": "integer"
  12762. },
  12763. "buildtype": {
  12764. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  12765. "type": "integer"
  12766. },
  12767. "buyorsell": {
  12768. "description": "买卖 - 0:买 1:卖",
  12769. "type": "integer"
  12770. },
  12771. "cancelorderid": {
  12772. "description": "撤单单号(撤单时填写)",
  12773. "type": "integer"
  12774. },
  12775. "cancelqty": {
  12776. "description": "撤单数量",
  12777. "type": "integer"
  12778. },
  12779. "clientordertime": {
  12780. "description": "客户端委托时间",
  12781. "type": "string"
  12782. },
  12783. "clientticket": {
  12784. "description": "客户端流水号",
  12785. "type": "string"
  12786. },
  12787. "clienttype": {
  12788. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  12789. "type": "integer"
  12790. },
  12791. "closeexchagechargevalue": {
  12792. "description": "平仓交易所手续费设置值",
  12793. "type": "number"
  12794. },
  12795. "closefeealgorithm": {
  12796. "description": "平仓手续费收取方式 1:比率 2:固定",
  12797. "type": "integer"
  12798. },
  12799. "closefreezecharge": {
  12800. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  12801. "type": "number"
  12802. },
  12803. "closememberchargevalue": {
  12804. "description": "平仓会员手续费设置值",
  12805. "type": "number"
  12806. },
  12807. "closeqty": {
  12808. "description": "平仓数量(先建后平操作 需要记录)",
  12809. "type": "integer"
  12810. },
  12811. "closetradeqty": {
  12812. "description": "平仓成交数量(先建后平操作,需要记录)",
  12813. "type": "integer"
  12814. },
  12815. "closeunfreezecharge": {
  12816. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  12817. "type": "number"
  12818. },
  12819. "delistingtype": {
  12820. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  12821. "type": "integer"
  12822. },
  12823. "freezecharge": {
  12824. "description": "冻结手续费",
  12825. "type": "number"
  12826. },
  12827. "freezemargin": {
  12828. "description": "冻结保证金(冻结交易金额)",
  12829. "type": "number"
  12830. },
  12831. "gcaccountid": {
  12832. "description": "账户ID[合约币种]",
  12833. "type": "integer"
  12834. },
  12835. "goodsid": {
  12836. "description": "商品ID",
  12837. "type": "integer"
  12838. },
  12839. "isconfirmexercise": {
  12840. "description": "是否确认行权- 0:否 1:是",
  12841. "type": "integer"
  12842. },
  12843. "ispreexercise": {
  12844. "description": "是否预申报- 0:否 1:是",
  12845. "type": "integer"
  12846. },
  12847. "listingselecttype": {
  12848. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12849. "type": "integer"
  12850. },
  12851. "marginalgorithm": {
  12852. "description": "保证金收取方式 1:比率 2:固定",
  12853. "type": "integer"
  12854. },
  12855. "marginvalue": {
  12856. "description": "即市保证金设置值",
  12857. "type": "number"
  12858. },
  12859. "marketid": {
  12860. "description": "市场ID",
  12861. "type": "integer"
  12862. },
  12863. "marketmaxsub": {
  12864. "description": "市价最大偏移范围",
  12865. "type": "number"
  12866. },
  12867. "memberuserid": {
  12868. "description": "所属会员UserID",
  12869. "type": "integer"
  12870. },
  12871. "openexchagechargevalue": {
  12872. "description": "建仓交易所手续费设置值",
  12873. "type": "number"
  12874. },
  12875. "openfeealgorithm": {
  12876. "description": "建仓手续费收取方式 1:比率 2:固定",
  12877. "type": "integer"
  12878. },
  12879. "openfreezecharge": {
  12880. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  12881. "type": "number"
  12882. },
  12883. "openmemberchargevalue": {
  12884. "description": "建仓会员手续费设置值",
  12885. "type": "number"
  12886. },
  12887. "openqty": {
  12888. "description": "开仓数量(先建后平操作,需要记录)",
  12889. "type": "integer"
  12890. },
  12891. "opentradeqty": {
  12892. "description": "开仓成交数量(先建后平操作,需要记录)",
  12893. "type": "integer"
  12894. },
  12895. "openunfreezecharge": {
  12896. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  12897. "type": "number"
  12898. },
  12899. "operatetype": {
  12900. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  12901. "type": "integer"
  12902. },
  12903. "operatorid": {
  12904. "description": "登录账号(LoginID)",
  12905. "type": "integer"
  12906. },
  12907. "optiontype": {
  12908. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12909. "type": "integer"
  12910. },
  12911. "orderprice": {
  12912. "description": "委托价格",
  12913. "type": "number"
  12914. },
  12915. "orderqty": {
  12916. "description": "委托数量",
  12917. "type": "integer"
  12918. },
  12919. "ordersrc": {
  12920. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  12921. "type": "integer"
  12922. },
  12923. "orderstatus": {
  12924. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12925. "type": "integer"
  12926. },
  12927. "ordertime": {
  12928. "description": "委托时间",
  12929. "type": "string"
  12930. },
  12931. "preexerciseprice": {
  12932. "description": "预申报价格",
  12933. "type": "number"
  12934. },
  12935. "premium": {
  12936. "description": "权利金",
  12937. "type": "number"
  12938. },
  12939. "preorderid": {
  12940. "description": "关联预埋单号(止盈止损单时填写)",
  12941. "type": "integer"
  12942. },
  12943. "pricemode": {
  12944. "description": "取价方式 - 1:市价 2: 限价",
  12945. "type": "integer"
  12946. },
  12947. "quoteid": {
  12948. "description": "报价单ID",
  12949. "type": "integer"
  12950. },
  12951. "relatedid": {
  12952. "description": "关联单号(交割单)",
  12953. "type": "integer"
  12954. },
  12955. "retcode": {
  12956. "description": "错误代码",
  12957. "type": "integer"
  12958. },
  12959. "sessionid": {
  12960. "description": "会话ID",
  12961. "type": "integer"
  12962. },
  12963. "strorderid": {
  12964. "description": "委托单号",
  12965. "type": "string"
  12966. },
  12967. "tradedate": {
  12968. "description": "交易日(yyyyMMdd)",
  12969. "type": "string"
  12970. },
  12971. "tradeproperty": {
  12972. "description": "交易属性",
  12973. "type": "integer"
  12974. },
  12975. "tradeqty": {
  12976. "description": "成交数量",
  12977. "type": "integer"
  12978. },
  12979. "unfreezecharge": {
  12980. "description": "解冻手续费",
  12981. "type": "number"
  12982. },
  12983. "unfreezemargin": {
  12984. "description": "解冻保证金",
  12985. "type": "number"
  12986. },
  12987. "updatetime": {
  12988. "description": "更新时间",
  12989. "type": "string"
  12990. },
  12991. "uuid": {
  12992. "description": "发起端唯一id",
  12993. "type": "string"
  12994. },
  12995. "validtime": {
  12996. "description": "有效期限",
  12997. "type": "string"
  12998. },
  12999. "validtype": {
  13000. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13001. "type": "integer"
  13002. },
  13003. "volumetype": {
  13004. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13005. "type": "integer"
  13006. }
  13007. }
  13008. },
  13009. "cptrade.QueryMyCPTradeGoodsRsp": {
  13010. "type": "object",
  13011. "required": [
  13012. "goodscode",
  13013. "goodsid",
  13014. "goodsname",
  13015. "marketid",
  13016. "relatedgoodscode",
  13017. "relatedgoodsname"
  13018. ],
  13019. "properties": {
  13020. "accountid": {
  13021. "description": "卖方账户ID",
  13022. "type": "integer"
  13023. },
  13024. "agreeunit": {
  13025. "description": "合约单位",
  13026. "type": "number"
  13027. },
  13028. "applyid": {
  13029. "description": "关联申请ID",
  13030. "type": "integer"
  13031. },
  13032. "attachmenturl": {
  13033. "description": "附件地址",
  13034. "type": "string"
  13035. },
  13036. "createtime": {
  13037. "description": "创建时间",
  13038. "type": "string"
  13039. },
  13040. "currencyid": {
  13041. "description": "报价货币ID",
  13042. "type": "integer"
  13043. },
  13044. "decimalplace": {
  13045. "description": "报价小数位",
  13046. "type": "integer"
  13047. },
  13048. "endtime": {
  13049. "description": "预售结束时间",
  13050. "type": "string"
  13051. },
  13052. "floorprice": {
  13053. "description": "底价[大宗式竞拍]",
  13054. "type": "number"
  13055. },
  13056. "goodscode": {
  13057. "description": "商品代码(预售)",
  13058. "type": "string"
  13059. },
  13060. "goodsdetail": {
  13061. "description": "详情[大宗]",
  13062. "type": "string"
  13063. },
  13064. "goodsid": {
  13065. "description": "商品ID(自增ID SEQ_GOODS)",
  13066. "type": "integer"
  13067. },
  13068. "goodsname": {
  13069. "description": "商品名称(预售)",
  13070. "type": "string"
  13071. },
  13072. "goodunit": {
  13073. "description": "报价单位",
  13074. "type": "string"
  13075. },
  13076. "goodunitid": {
  13077. "description": "报价单位ID",
  13078. "type": "integer"
  13079. },
  13080. "marketid": {
  13081. "description": "所属市场ID",
  13082. "type": "integer"
  13083. },
  13084. "marketname": {
  13085. "description": "预售市场名称",
  13086. "type": "string"
  13087. },
  13088. "presaledamount": {
  13089. "description": "已预售总金额(预售结束时更新)",
  13090. "type": "number"
  13091. },
  13092. "presaledqty": {
  13093. "description": "已预售量(预售结束时更新)",
  13094. "type": "integer"
  13095. },
  13096. "presalemode": {
  13097. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  13098. "type": "integer"
  13099. },
  13100. "presaleqty": {
  13101. "description": "预售数量",
  13102. "type": "integer"
  13103. },
  13104. "refprice": {
  13105. "description": "参考价格[一口价]",
  13106. "type": "number"
  13107. },
  13108. "relatedgoodscode": {
  13109. "description": "商品代码(订单)",
  13110. "type": "string"
  13111. },
  13112. "relatedgoodsid": {
  13113. "description": "关联交易合约ID",
  13114. "type": "integer"
  13115. },
  13116. "relatedgoodsname": {
  13117. "description": "商品名称(订单)",
  13118. "type": "string"
  13119. },
  13120. "relatedmarketid": {
  13121. "description": "关联交易合约市场ID",
  13122. "type": "integer"
  13123. },
  13124. "sellstatus": {
  13125. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  13126. "type": "integer"
  13127. },
  13128. "startprice": {
  13129. "description": "起拍价[大宗式竞拍]",
  13130. "type": "number"
  13131. },
  13132. "starttime": {
  13133. "description": "预售开始时间",
  13134. "type": "string"
  13135. },
  13136. "tradedate": {
  13137. "description": "交易日(yyyyMMdd)",
  13138. "type": "string"
  13139. },
  13140. "tradeprice": {
  13141. "description": "成交价[大宗]",
  13142. "type": "number"
  13143. },
  13144. "userid": {
  13145. "description": "卖方用户ID",
  13146. "type": "integer"
  13147. }
  13148. }
  13149. },
  13150. "cptrade.QueryPresaleGoodsExRsp": {
  13151. "type": "object",
  13152. "required": [
  13153. "goodsid"
  13154. ],
  13155. "properties": {
  13156. "attachmenturl": {
  13157. "description": "附件地址",
  13158. "type": "string"
  13159. },
  13160. "createtime": {
  13161. "description": "创建时间",
  13162. "type": "string"
  13163. },
  13164. "endtime": {
  13165. "description": "预售结束时间",
  13166. "type": "string"
  13167. },
  13168. "floorprice": {
  13169. "description": "底价[大宗式竞拍]",
  13170. "type": "number"
  13171. },
  13172. "goodsdetail": {
  13173. "description": "详情[大宗]",
  13174. "type": "string"
  13175. },
  13176. "goodsid": {
  13177. "description": "商品ID(预售)",
  13178. "type": "integer"
  13179. },
  13180. "goodunit": {
  13181. "description": "报价单位",
  13182. "type": "string"
  13183. },
  13184. "marketid": {
  13185. "description": "预售市场ID - 根据预售模式选择市场",
  13186. "type": "integer"
  13187. },
  13188. "presaledamount": {
  13189. "description": "已预售总金额(预售结束时更新)",
  13190. "type": "number"
  13191. },
  13192. "presaledqty": {
  13193. "description": "已预售量(预售结束时更新)",
  13194. "type": "integer"
  13195. },
  13196. "presalemode": {
  13197. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  13198. "type": "integer"
  13199. },
  13200. "presaleqty": {
  13201. "description": "预售数量",
  13202. "type": "integer"
  13203. },
  13204. "refprice": {
  13205. "description": "参考价格[一口价]",
  13206. "type": "number"
  13207. },
  13208. "relatedgoodsid": {
  13209. "description": "关联交易合约ID",
  13210. "type": "integer"
  13211. },
  13212. "relatedmarketid": {
  13213. "description": "关联交易合约市场ID",
  13214. "type": "integer"
  13215. },
  13216. "sellstatus": {
  13217. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  13218. "type": "integer"
  13219. },
  13220. "startprice": {
  13221. "description": "起拍价[大宗式竞拍]",
  13222. "type": "number"
  13223. },
  13224. "starttime": {
  13225. "description": "预售开始时间",
  13226. "type": "string"
  13227. },
  13228. "tradedate": {
  13229. "description": "交易日(yyyyMMdd)",
  13230. "type": "string"
  13231. },
  13232. "tradeprice": {
  13233. "description": "成交价[大宗]",
  13234. "type": "number"
  13235. }
  13236. }
  13237. },
  13238. "delivery.QueryDeliveryRelationRsp": {
  13239. "type": "object",
  13240. "required": [
  13241. "begindate",
  13242. "enddate",
  13243. "goodsid",
  13244. "mindeliveryqty",
  13245. "xdeliveryratio"
  13246. ],
  13247. "properties": {
  13248. "begindate": {
  13249. "description": "起始日期(yyyyMMdd)",
  13250. "type": "string"
  13251. },
  13252. "buytemplateid": {
  13253. "description": "买履约计划模板ID",
  13254. "type": "integer"
  13255. },
  13256. "deliverygoodscode": {
  13257. "description": "品种代码",
  13258. "type": "string"
  13259. },
  13260. "deliverygoodsid": {
  13261. "description": "交割商品",
  13262. "type": "integer"
  13263. },
  13264. "deliverygoodsname": {
  13265. "description": "品种名称",
  13266. "type": "string"
  13267. },
  13268. "deliverymode": {
  13269. "description": "交割方式 - 1:点选式 2:申报式",
  13270. "type": "integer"
  13271. },
  13272. "deliverypricerule": {
  13273. "description": "交割价规则- 1:行情价 2:建仓价",
  13274. "type": "integer"
  13275. },
  13276. "deliverytype": {
  13277. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  13278. "type": "integer"
  13279. },
  13280. "enddate": {
  13281. "description": "结束日期(yyyyMMdd)",
  13282. "type": "string"
  13283. },
  13284. "goodscode": {
  13285. "description": "商品代码",
  13286. "type": "string"
  13287. },
  13288. "goodsid": {
  13289. "description": "交易合约ID",
  13290. "type": "integer"
  13291. },
  13292. "goodsname": {
  13293. "description": "商品名称",
  13294. "type": "string"
  13295. },
  13296. "marketid": {
  13297. "description": "市场ID",
  13298. "type": "integer"
  13299. },
  13300. "mindeliveryqty": {
  13301. "description": "最小交割系数(K)",
  13302. "type": "integer"
  13303. },
  13304. "p2deliveryprice": {
  13305. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  13306. "type": "number"
  13307. },
  13308. "p2deliveryratio": {
  13309. "description": "P2合约系数(p)",
  13310. "type": "integer"
  13311. },
  13312. "p2goodsid": {
  13313. "description": "P2合约ID",
  13314. "type": "integer"
  13315. },
  13316. "p2pricemode": {
  13317. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  13318. "type": "integer"
  13319. },
  13320. "pdeliveryprice": {
  13321. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  13322. "type": "number"
  13323. },
  13324. "pdeliveryratio": {
  13325. "description": "P合约系数(n)",
  13326. "type": "integer"
  13327. },
  13328. "pgoodsid": {
  13329. "description": "P合约ID",
  13330. "type": "integer"
  13331. },
  13332. "ppricemode": {
  13333. "description": "P合约价格方式 - 1:商品价 2:固定值",
  13334. "type": "integer"
  13335. },
  13336. "rratio": {
  13337. "description": "兑换系数(R)",
  13338. "type": "integer"
  13339. },
  13340. "rratio1": {
  13341. "description": "兑换系数(交易合约)(R1)",
  13342. "type": "integer"
  13343. },
  13344. "rratio2": {
  13345. "description": "兑换系数(仓单标准)(R2)",
  13346. "type": "integer"
  13347. },
  13348. "selltemplateid": {
  13349. "description": "卖履约计划模板ID",
  13350. "type": "integer"
  13351. },
  13352. "wrstandardid": {
  13353. "description": "仓单标准ID",
  13354. "type": "integer"
  13355. },
  13356. "xdeliveryratio": {
  13357. "description": "交易合约系数(m)",
  13358. "type": "integer"
  13359. }
  13360. }
  13361. },
  13362. "ermcp.ExposureDetailRsp": {
  13363. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  13364. },
  13365. "ermcp.ExposureHedgePosDetailRsp": {
  13366. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  13367. },
  13368. "ermcp.ExposureHedgePositionRsp": {
  13369. "$ref": "#/definitions/models.ErmcpHedgePosition"
  13370. },
  13371. "ermcp.ExposureSpotDetailRsp": {
  13372. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  13373. },
  13374. "ermcp.ExposureSpotRsp": {
  13375. "$ref": "#/definitions/models.AreaSpotModel"
  13376. },
  13377. "ermcp.HisExposureRsp": {
  13378. "$ref": "#/definitions/models.ErmcpHisExposureS"
  13379. },
  13380. "ermcp.PendingAuditCntRsp": {
  13381. "$ref": "#/definitions/models.ErmcpPendingAudit"
  13382. },
  13383. "ermcp.QryAvalidGPRsp": {
  13384. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  13385. },
  13386. "ermcp.QryBusinessDjRsp": {
  13387. "type": "object",
  13388. "properties": {
  13389. "amount": {
  13390. "description": "点价金额=(点价价格+升贴水)*点价数量",
  13391. "type": "number"
  13392. },
  13393. "applyid": {
  13394. "description": "申请人",
  13395. "type": "string"
  13396. },
  13397. "applyname": {
  13398. "description": "申请人名称",
  13399. "type": "string"
  13400. },
  13401. "applystatus": {
  13402. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13403. "type": "integer"
  13404. },
  13405. "applytime": {
  13406. "description": "申请时间",
  13407. "type": "string"
  13408. },
  13409. "attachurl": {
  13410. "description": "附件",
  13411. "type": "string"
  13412. },
  13413. "auditid": {
  13414. "description": "审核人ID",
  13415. "type": "string"
  13416. },
  13417. "auditname": {
  13418. "description": "审核人名称",
  13419. "type": "string"
  13420. },
  13421. "audittime": {
  13422. "description": "审核时间",
  13423. "type": "string"
  13424. },
  13425. "buyusername": {
  13426. "description": "采购方名称",
  13427. "type": "string"
  13428. },
  13429. "contractno": {
  13430. "description": "合同编号",
  13431. "type": "string"
  13432. },
  13433. "contractstatus": {
  13434. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13435. "type": "integer"
  13436. },
  13437. "contracttype": {
  13438. "description": "现货合同类型 - 1:采购 -1:销售",
  13439. "type": "integer"
  13440. },
  13441. "deliverygoodscode": {
  13442. "description": "现货品种代码",
  13443. "type": "string"
  13444. },
  13445. "deliverygoodsid": {
  13446. "description": "现货商品ID",
  13447. "type": "integer"
  13448. },
  13449. "deliverygoodsname": {
  13450. "description": "现货品种名称",
  13451. "type": "string"
  13452. },
  13453. "enumdicname": {
  13454. "description": "单位名称",
  13455. "type": "string"
  13456. },
  13457. "goodscode": {
  13458. "description": "点价合约",
  13459. "type": "string"
  13460. },
  13461. "goodsname": {
  13462. "description": "商品名称",
  13463. "type": "string"
  13464. },
  13465. "operateapplyid": {
  13466. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13467. "type": "string"
  13468. },
  13469. "operateapplytype": {
  13470. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13471. "type": "integer"
  13472. },
  13473. "pricedPrice": {
  13474. "description": "点价价格(非必填)",
  13475. "type": "number"
  13476. },
  13477. "pricedQty": {
  13478. "description": "点价数量(非必填)",
  13479. "type": "number"
  13480. },
  13481. "pricemove": {
  13482. "description": "升贴水",
  13483. "type": "number"
  13484. },
  13485. "pricetype": {
  13486. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13487. "type": "integer"
  13488. },
  13489. "relatedid": {
  13490. "description": "现货合同ID",
  13491. "type": "string"
  13492. },
  13493. "sellusername": {
  13494. "description": "销售方名字",
  13495. "type": "string"
  13496. },
  13497. "userid": {
  13498. "description": "用户ID",
  13499. "type": "integer"
  13500. },
  13501. "wrstandardcode": {
  13502. "description": "品类代码",
  13503. "type": "string"
  13504. },
  13505. "wrstandardid": {
  13506. "description": "品类id",
  13507. "type": "integer"
  13508. },
  13509. "wrstandardname": {
  13510. "description": "品类名称",
  13511. "type": "string"
  13512. }
  13513. }
  13514. },
  13515. "ermcp.QryBussinessFpRsp": {
  13516. "type": "object",
  13517. "properties": {
  13518. "applyid": {
  13519. "description": "申请人",
  13520. "type": "string"
  13521. },
  13522. "applyname": {
  13523. "description": "申请人名称",
  13524. "type": "string"
  13525. },
  13526. "applystatus": {
  13527. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13528. "type": "integer"
  13529. },
  13530. "applytime": {
  13531. "description": "申请时间",
  13532. "type": "string"
  13533. },
  13534. "attachurl": {
  13535. "description": "附件",
  13536. "type": "string"
  13537. },
  13538. "auditid": {
  13539. "description": "审核人ID",
  13540. "type": "string"
  13541. },
  13542. "auditname": {
  13543. "description": "审核人名称",
  13544. "type": "string"
  13545. },
  13546. "audittime": {
  13547. "description": "审核时间",
  13548. "type": "string"
  13549. },
  13550. "buyusername": {
  13551. "description": "采购方名称",
  13552. "type": "string"
  13553. },
  13554. "contractno": {
  13555. "description": "合同编号",
  13556. "type": "string"
  13557. },
  13558. "contractstatus": {
  13559. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13560. "type": "integer"
  13561. },
  13562. "contracttype": {
  13563. "description": "现货合同类型 - 1:采购 -1:销售",
  13564. "type": "integer"
  13565. },
  13566. "deliverygoodscode": {
  13567. "description": "现货品种代码",
  13568. "type": "string"
  13569. },
  13570. "deliverygoodsid": {
  13571. "description": "现货商品ID",
  13572. "type": "integer"
  13573. },
  13574. "deliverygoodsname": {
  13575. "description": "现货品种名称",
  13576. "type": "string"
  13577. },
  13578. "enumdicname": {
  13579. "description": "单位名称",
  13580. "type": "string"
  13581. },
  13582. "goodscode": {
  13583. "description": "点价合约",
  13584. "type": "string"
  13585. },
  13586. "goodsname": {
  13587. "description": "商品名称",
  13588. "type": "string"
  13589. },
  13590. "invoiceAmount": {
  13591. "description": "已开收票金额(销售为开票,采购为收票)",
  13592. "type": "number"
  13593. },
  13594. "operateapplyid": {
  13595. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13596. "type": "string"
  13597. },
  13598. "operateapplytype": {
  13599. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13600. "type": "integer"
  13601. },
  13602. "pricemove": {
  13603. "description": "升贴水",
  13604. "type": "number"
  13605. },
  13606. "pricetype": {
  13607. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13608. "type": "integer"
  13609. },
  13610. "relatedid": {
  13611. "description": "现货合同ID",
  13612. "type": "string"
  13613. },
  13614. "sellusername": {
  13615. "description": "销售方名字",
  13616. "type": "string"
  13617. },
  13618. "userid": {
  13619. "description": "用户ID",
  13620. "type": "integer"
  13621. },
  13622. "wrstandardcode": {
  13623. "description": "品类代码",
  13624. "type": "string"
  13625. },
  13626. "wrstandardid": {
  13627. "description": "品类id",
  13628. "type": "integer"
  13629. },
  13630. "wrstandardname": {
  13631. "description": "品类名称",
  13632. "type": "string"
  13633. }
  13634. }
  13635. },
  13636. "ermcp.QryBussinessJsExRsp": {
  13637. "type": "object",
  13638. "properties": {
  13639. "applyid": {
  13640. "description": "申请人",
  13641. "type": "string"
  13642. },
  13643. "applyname": {
  13644. "description": "申请人名称",
  13645. "type": "string"
  13646. },
  13647. "applystatus": {
  13648. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13649. "type": "integer"
  13650. },
  13651. "applytime": {
  13652. "description": "申请时间",
  13653. "type": "string"
  13654. },
  13655. "attachurl": {
  13656. "description": "附件",
  13657. "type": "string"
  13658. },
  13659. "auditid": {
  13660. "description": "审核人ID",
  13661. "type": "string"
  13662. },
  13663. "auditname": {
  13664. "description": "审核人名称",
  13665. "type": "string"
  13666. },
  13667. "audittime": {
  13668. "description": "审核时间",
  13669. "type": "string"
  13670. },
  13671. "buyusername": {
  13672. "description": "采购方名称",
  13673. "type": "string"
  13674. },
  13675. "contractno": {
  13676. "description": "合同编号",
  13677. "type": "string"
  13678. },
  13679. "contractstatus": {
  13680. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13681. "type": "integer"
  13682. },
  13683. "contracttype": {
  13684. "description": "现货合同类型 - 1:采购 -1:销售",
  13685. "type": "integer"
  13686. },
  13687. "deliverygoodscode": {
  13688. "description": "现货品种代码",
  13689. "type": "string"
  13690. },
  13691. "deliverygoodsid": {
  13692. "description": "现货商品ID",
  13693. "type": "integer"
  13694. },
  13695. "deliverygoodsname": {
  13696. "description": "现货品种名称",
  13697. "type": "string"
  13698. },
  13699. "enumdicname": {
  13700. "description": "单位名称",
  13701. "type": "string"
  13702. },
  13703. "goodscode": {
  13704. "description": "点价合约",
  13705. "type": "string"
  13706. },
  13707. "goodsname": {
  13708. "description": "商品名称",
  13709. "type": "string"
  13710. },
  13711. "operateapplyid": {
  13712. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13713. "type": "string"
  13714. },
  13715. "operateapplytype": {
  13716. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13717. "type": "integer"
  13718. },
  13719. "pricemove": {
  13720. "description": "升贴水",
  13721. "type": "number"
  13722. },
  13723. "pricetype": {
  13724. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13725. "type": "integer"
  13726. },
  13727. "reckontype": {
  13728. "description": "结算类型",
  13729. "type": "string"
  13730. },
  13731. "reckonvalue": {
  13732. "description": "值",
  13733. "type": "number"
  13734. },
  13735. "relatedid": {
  13736. "description": "现货合同ID",
  13737. "type": "string"
  13738. },
  13739. "sellusername": {
  13740. "description": "销售方名字",
  13741. "type": "string"
  13742. },
  13743. "userid": {
  13744. "description": "用户ID",
  13745. "type": "integer"
  13746. },
  13747. "wrstandardcode": {
  13748. "description": "品类代码",
  13749. "type": "string"
  13750. },
  13751. "wrstandardid": {
  13752. "description": "品类id",
  13753. "type": "integer"
  13754. },
  13755. "wrstandardname": {
  13756. "description": "品类名称",
  13757. "type": "string"
  13758. }
  13759. }
  13760. },
  13761. "ermcp.QryBussinessJsRsp": {
  13762. "type": "object",
  13763. "properties": {
  13764. "addmargin": {
  13765. "description": "追加保证金(非必填)",
  13766. "type": "number"
  13767. },
  13768. "applyid": {
  13769. "description": "申请人",
  13770. "type": "string"
  13771. },
  13772. "applyname": {
  13773. "description": "申请人名称",
  13774. "type": "string"
  13775. },
  13776. "applystatus": {
  13777. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13778. "type": "integer"
  13779. },
  13780. "applytime": {
  13781. "description": "申请时间",
  13782. "type": "string"
  13783. },
  13784. "attachurl": {
  13785. "description": "附件",
  13786. "type": "string"
  13787. },
  13788. "auditid": {
  13789. "description": "审核人ID",
  13790. "type": "string"
  13791. },
  13792. "auditname": {
  13793. "description": "审核人名称",
  13794. "type": "string"
  13795. },
  13796. "audittime": {
  13797. "description": "审核时间",
  13798. "type": "string"
  13799. },
  13800. "buyusername": {
  13801. "description": "采购方名称",
  13802. "type": "string"
  13803. },
  13804. "contractno": {
  13805. "description": "合同编号",
  13806. "type": "string"
  13807. },
  13808. "contractstatus": {
  13809. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13810. "type": "integer"
  13811. },
  13812. "contracttype": {
  13813. "description": "现货合同类型 - 1:采购 -1:销售",
  13814. "type": "integer"
  13815. },
  13816. "decmargin": {
  13817. "description": "减少保证金(非必填)",
  13818. "type": "number"
  13819. },
  13820. "deliverygoodscode": {
  13821. "description": "现货品种代码",
  13822. "type": "string"
  13823. },
  13824. "deliverygoodsid": {
  13825. "description": "现货商品ID",
  13826. "type": "integer"
  13827. },
  13828. "deliverygoodsname": {
  13829. "description": "现货品种名称",
  13830. "type": "string"
  13831. },
  13832. "enumdicname": {
  13833. "description": "单位名称",
  13834. "type": "string"
  13835. },
  13836. "goodscode": {
  13837. "description": "点价合约",
  13838. "type": "string"
  13839. },
  13840. "goodsname": {
  13841. "description": "商品名称",
  13842. "type": "string"
  13843. },
  13844. "operateapplyid": {
  13845. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13846. "type": "string"
  13847. },
  13848. "operateapplytype": {
  13849. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13850. "type": "integer"
  13851. },
  13852. "pricemove": {
  13853. "description": "升贴水",
  13854. "type": "number"
  13855. },
  13856. "pricetype": {
  13857. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13858. "type": "integer"
  13859. },
  13860. "reckonadjustamount": {
  13861. "description": "结算调整金额(非必填)",
  13862. "type": "number"
  13863. },
  13864. "reckonosamount": {
  13865. "description": "结算溢短金额(非必填)",
  13866. "type": "number"
  13867. },
  13868. "reckonotheramount": {
  13869. "description": "结算其他费用(非必填)",
  13870. "type": "number"
  13871. },
  13872. "reckonrealqty": {
  13873. "description": "结算实际数量(非必填)",
  13874. "type": "number"
  13875. },
  13876. "relatedid": {
  13877. "description": "现货合同ID",
  13878. "type": "string"
  13879. },
  13880. "sellusername": {
  13881. "description": "销售方名字",
  13882. "type": "string"
  13883. },
  13884. "userid": {
  13885. "description": "用户ID",
  13886. "type": "integer"
  13887. },
  13888. "wrstandardcode": {
  13889. "description": "品类代码",
  13890. "type": "string"
  13891. },
  13892. "wrstandardid": {
  13893. "description": "品类id",
  13894. "type": "integer"
  13895. },
  13896. "wrstandardname": {
  13897. "description": "品类名称",
  13898. "type": "string"
  13899. }
  13900. }
  13901. },
  13902. "ermcp.QryBussinessKxRsp": {
  13903. "type": "object",
  13904. "properties": {
  13905. "applyid": {
  13906. "description": "申请人",
  13907. "type": "string"
  13908. },
  13909. "applyname": {
  13910. "description": "申请人名称",
  13911. "type": "string"
  13912. },
  13913. "applystatus": {
  13914. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13915. "type": "integer"
  13916. },
  13917. "applytime": {
  13918. "description": "申请时间",
  13919. "type": "string"
  13920. },
  13921. "attachurl": {
  13922. "description": "附件",
  13923. "type": "string"
  13924. },
  13925. "auditid": {
  13926. "description": "审核人ID",
  13927. "type": "string"
  13928. },
  13929. "auditname": {
  13930. "description": "审核人名称",
  13931. "type": "string"
  13932. },
  13933. "audittime": {
  13934. "description": "审核时间",
  13935. "type": "string"
  13936. },
  13937. "buyusername": {
  13938. "description": "采购方名称",
  13939. "type": "string"
  13940. },
  13941. "contractno": {
  13942. "description": "合同编号",
  13943. "type": "string"
  13944. },
  13945. "contractstatus": {
  13946. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13947. "type": "integer"
  13948. },
  13949. "contracttype": {
  13950. "description": "现货合同类型 - 1:采购 -1:销售",
  13951. "type": "integer"
  13952. },
  13953. "deductamount": {
  13954. "description": "退款(非必填)",
  13955. "type": "number"
  13956. },
  13957. "deliverygoodscode": {
  13958. "description": "现货品种代码",
  13959. "type": "string"
  13960. },
  13961. "deliverygoodsid": {
  13962. "description": "现货商品ID",
  13963. "type": "integer"
  13964. },
  13965. "deliverygoodsname": {
  13966. "description": "现货品种名称",
  13967. "type": "string"
  13968. },
  13969. "enumdicname": {
  13970. "description": "单位名称",
  13971. "type": "string"
  13972. },
  13973. "goodscode": {
  13974. "description": "点价合约",
  13975. "type": "string"
  13976. },
  13977. "goodsname": {
  13978. "description": "商品名称",
  13979. "type": "string"
  13980. },
  13981. "kxtype": {
  13982. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  13983. "type": "integer"
  13984. },
  13985. "operateapplyid": {
  13986. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13987. "type": "string"
  13988. },
  13989. "operateapplytype": {
  13990. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13991. "type": "integer"
  13992. },
  13993. "payamount": {
  13994. "description": "收付款(非必填)",
  13995. "type": "number"
  13996. },
  13997. "pricemove": {
  13998. "description": "升贴水",
  13999. "type": "number"
  14000. },
  14001. "pricetype": {
  14002. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14003. "type": "integer"
  14004. },
  14005. "relatedid": {
  14006. "description": "现货合同ID",
  14007. "type": "string"
  14008. },
  14009. "sellusername": {
  14010. "description": "销售方名字",
  14011. "type": "string"
  14012. },
  14013. "userid": {
  14014. "description": "用户ID",
  14015. "type": "integer"
  14016. },
  14017. "wrstandardcode": {
  14018. "description": "品类代码",
  14019. "type": "string"
  14020. },
  14021. "wrstandardid": {
  14022. "description": "品类id",
  14023. "type": "integer"
  14024. },
  14025. "wrstandardname": {
  14026. "description": "品类名称",
  14027. "type": "string"
  14028. }
  14029. }
  14030. },
  14031. "ermcp.QryGGCovertCfgRsp": {
  14032. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  14033. },
  14034. "ermcp.QryMGChangeLogRsp": {
  14035. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  14036. },
  14037. "ermcp.QryMiddleGoodsDetailRsp": {
  14038. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  14039. },
  14040. "ermcp.QryMiddleGoodsRsp": {
  14041. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14042. },
  14043. "ermcp.QryOPLogRsp": {
  14044. "$ref": "#/definitions/models.ErmcpOPLogModel"
  14045. },
  14046. "ermcp.QryUserInfoRsp": {
  14047. "$ref": "#/definitions/models.ErmcpUserModel"
  14048. },
  14049. "ermcp.QryWarehouseRsp": {
  14050. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  14051. },
  14052. "ermcp.QueryErmcpTradePositionRsp": {
  14053. "type": "object",
  14054. "properties": {
  14055. "agreeunit": {
  14056. "description": "合约单位",
  14057. "type": "number"
  14058. },
  14059. "buyorsell": {
  14060. "description": "方向 - 0:买 1:卖",
  14061. "type": "integer"
  14062. },
  14063. "curpositionqty": {
  14064. "description": "持仓(总仓数量, 期末头寸)",
  14065. "type": "integer"
  14066. },
  14067. "curtdposition": {
  14068. "description": "今仓数量(期末今日头寸)",
  14069. "type": "integer"
  14070. },
  14071. "curtdpositionenabled": {
  14072. "description": "今仓可用",
  14073. "type": "integer"
  14074. },
  14075. "decimalplace": {
  14076. "description": "报价小数位",
  14077. "type": "integer"
  14078. },
  14079. "enableqty": {
  14080. "description": "可用(总仓可用)",
  14081. "type": "integer"
  14082. },
  14083. "exexchangename": {
  14084. "description": "外部交易所名称",
  14085. "type": "string"
  14086. },
  14087. "goodscode": {
  14088. "description": "商品代码(内部)",
  14089. "type": "string"
  14090. },
  14091. "goodsid": {
  14092. "description": "商品ID(自增ID SEQ_GOODS)",
  14093. "type": "integer"
  14094. },
  14095. "goodsname": {
  14096. "description": "商品名称",
  14097. "type": "string"
  14098. },
  14099. "last": {
  14100. "description": "现价",
  14101. "type": "number"
  14102. },
  14103. "marketid": {
  14104. "description": "所属市场ID",
  14105. "type": "integer"
  14106. },
  14107. "openaverageprice": {
  14108. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  14109. "type": "number"
  14110. },
  14111. "opencost": {
  14112. "description": "开仓成本",
  14113. "type": "number"
  14114. },
  14115. "openpl": {
  14116. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  14117. "type": "number"
  14118. },
  14119. "outgoodscode": {
  14120. "description": "商品代码(外部)",
  14121. "type": "string"
  14122. },
  14123. "positionaverageprice": {
  14124. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  14125. "type": "number"
  14126. },
  14127. "positioncost": {
  14128. "description": "持仓成本",
  14129. "type": "number"
  14130. },
  14131. "positionpl": {
  14132. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  14133. "type": "number"
  14134. },
  14135. "positionplrate": {
  14136. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  14137. "type": "number"
  14138. },
  14139. "usedmargin": {
  14140. "description": "占用保证金",
  14141. "type": "number"
  14142. }
  14143. }
  14144. },
  14145. "ermcp.RealtimeExposurePositionRsp": {
  14146. "$ref": "#/definitions/models.ErmcpExposurePostion"
  14147. },
  14148. "ermcp.RealtimeExposureRsp": {
  14149. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  14150. },
  14151. "erms2.QueryArbitrageStrategyRsp": {
  14152. "type": "object",
  14153. "required": [
  14154. "asapplyid"
  14155. ],
  14156. "properties": {
  14157. "applybasis": {
  14158. "description": "申请基差",
  14159. "type": "number"
  14160. },
  14161. "asapplyid": {
  14162. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  14163. "type": "string"
  14164. },
  14165. "asname": {
  14166. "description": "策略名称",
  14167. "type": "string"
  14168. },
  14169. "asno": {
  14170. "description": "策略编号",
  14171. "type": "string"
  14172. },
  14173. "basischangepl": {
  14174. "description": "基差变动损益[结算更新]",
  14175. "type": "number"
  14176. },
  14177. "biztype": {
  14178. "description": "业务类型 - 1:正向套利 -1:反向套利",
  14179. "type": "integer"
  14180. },
  14181. "closetradedate": {
  14182. "description": "完结交易日(yyyyMMdd)",
  14183. "type": "string"
  14184. },
  14185. "curbasis": {
  14186. "description": "当前基差[结算更新]",
  14187. "type": "number"
  14188. },
  14189. "deliverygoodsid": {
  14190. "description": "现货品种ID",
  14191. "type": "integer"
  14192. },
  14193. "futureavgprice": {
  14194. "description": "期货建仓均价",
  14195. "type": "number"
  14196. },
  14197. "futurecloseamount": {
  14198. "description": "期货平仓金额",
  14199. "type": "number"
  14200. },
  14201. "futurecloseqty": {
  14202. "description": "期货平仓数量",
  14203. "type": "number"
  14204. },
  14205. "futureopenamount": {
  14206. "description": "期货开仓金额",
  14207. "type": "number"
  14208. },
  14209. "futureopenqty": {
  14210. "description": "期货开仓数量",
  14211. "type": "number"
  14212. },
  14213. "futurepl": {
  14214. "description": "期货总盈亏[结算更新]",
  14215. "type": "number"
  14216. },
  14217. "futureqty": {
  14218. "description": "期货持仓数量",
  14219. "type": "number"
  14220. },
  14221. "futurequote": {
  14222. "description": "期货额度",
  14223. "type": "number"
  14224. },
  14225. "goodsgroupid": {
  14226. "description": "期货品种ID",
  14227. "type": "integer"
  14228. },
  14229. "marketid": {
  14230. "description": "市场ID",
  14231. "type": "integer"
  14232. },
  14233. "netexposure": {
  14234. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  14235. "type": "number"
  14236. },
  14237. "netexposurepl": {
  14238. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  14239. "type": "number"
  14240. },
  14241. "netexposurerate": {
  14242. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  14243. "type": "number"
  14244. },
  14245. "openbasis": {
  14246. "description": "建仓基差",
  14247. "type": "number"
  14248. },
  14249. "pricedspotqty": {
  14250. "description": "已定价现货数量",
  14251. "type": "number"
  14252. },
  14253. "pricedspotqtynotax": {
  14254. "description": "已定价现货不含税数量",
  14255. "type": "number"
  14256. },
  14257. "remark": {
  14258. "description": "备注",
  14259. "type": "string"
  14260. },
  14261. "spotavgprice": {
  14262. "description": "现货均价",
  14263. "type": "number"
  14264. },
  14265. "spotbuyamount": {
  14266. "description": "现货采购金额",
  14267. "type": "number"
  14268. },
  14269. "spotbuyqty": {
  14270. "description": "现货采购数量",
  14271. "type": "number"
  14272. },
  14273. "spotpl": {
  14274. "description": "现货总盈亏[结算更新]",
  14275. "type": "number"
  14276. },
  14277. "spotquota": {
  14278. "description": "现货额度",
  14279. "type": "number"
  14280. },
  14281. "spotsellamount": {
  14282. "description": "现货销售金额",
  14283. "type": "number"
  14284. },
  14285. "spotsellqty": {
  14286. "description": "现货销售数量",
  14287. "type": "number"
  14288. },
  14289. "spotusedquota": {
  14290. "description": "现货占用资金",
  14291. "type": "number"
  14292. },
  14293. "strategystatus": {
  14294. "description": "策略状态 - 0:未结束 1:已结束",
  14295. "type": "integer"
  14296. },
  14297. "totalpl": {
  14298. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  14299. "type": "number"
  14300. },
  14301. "tradedate": {
  14302. "description": "交易日(yyyyMMdd)",
  14303. "type": "string"
  14304. },
  14305. "updatetime": {
  14306. "description": "更新时间",
  14307. "type": "string"
  14308. },
  14309. "usedquota": {
  14310. "description": "已占用资金",
  14311. "type": "number"
  14312. },
  14313. "userid": {
  14314. "description": "所属机构",
  14315. "type": "integer"
  14316. }
  14317. }
  14318. },
  14319. "erms2.QueryInnerTradeDetailRsp": {
  14320. "type": "object",
  14321. "required": [
  14322. "asapplyid",
  14323. "buyorsell",
  14324. "goodscode",
  14325. "goodsgroupid",
  14326. "goodsgroupname",
  14327. "goodsname",
  14328. "tradeid"
  14329. ],
  14330. "properties": {
  14331. "accountid": {
  14332. "description": "账号ID",
  14333. "type": "integer"
  14334. },
  14335. "agreeunit": {
  14336. "description": "合约单位",
  14337. "type": "number"
  14338. },
  14339. "asapplyid": {
  14340. "description": "策略申请ID",
  14341. "type": "integer"
  14342. },
  14343. "asname": {
  14344. "description": "策略名称",
  14345. "type": "string"
  14346. },
  14347. "asno": {
  14348. "description": "策略编号",
  14349. "type": "string"
  14350. },
  14351. "buyorsell": {
  14352. "description": "方向 - 0:买 1:卖",
  14353. "type": "integer"
  14354. },
  14355. "channelbuildtype": {
  14356. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  14357. "type": "integer"
  14358. },
  14359. "closetype": {
  14360. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14361. "type": "integer"
  14362. },
  14363. "decimalplace": {
  14364. "description": "报价小数位",
  14365. "type": "integer"
  14366. },
  14367. "detailtype": {
  14368. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  14369. "type": "integer"
  14370. },
  14371. "exexchangecode": {
  14372. "description": "外部交易所代码",
  14373. "type": "string"
  14374. },
  14375. "exexchangename": {
  14376. "description": "外部交易所名称",
  14377. "type": "string"
  14378. },
  14379. "goodscode": {
  14380. "description": "商品代码(合约)",
  14381. "type": "string"
  14382. },
  14383. "goodsgroupid": {
  14384. "description": "商品组ID(品种ID)",
  14385. "type": "integer"
  14386. },
  14387. "goodsgroupname": {
  14388. "description": "商品组名称(品种)",
  14389. "type": "string"
  14390. },
  14391. "goodsid": {
  14392. "description": "商品ID",
  14393. "type": "integer"
  14394. },
  14395. "goodsname": {
  14396. "description": "商品名称(合约)",
  14397. "type": "string"
  14398. },
  14399. "goodunit": {
  14400. "description": "报价单位",
  14401. "type": "string"
  14402. },
  14403. "marketid": {
  14404. "description": "市场ID",
  14405. "type": "integer"
  14406. },
  14407. "orderid": {
  14408. "description": "委托单号",
  14409. "type": "string"
  14410. },
  14411. "outgoodscode": {
  14412. "description": "商品代码(外部)",
  14413. "type": "string"
  14414. },
  14415. "relatedouttradeid": {
  14416. "description": "关联外部成交单ID",
  14417. "type": "string"
  14418. },
  14419. "remark": {
  14420. "description": "备注",
  14421. "type": "string"
  14422. },
  14423. "spotcontractid": {
  14424. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  14425. "type": "integer"
  14426. },
  14427. "spotcontractno": {
  14428. "description": "现货合同编号",
  14429. "type": "string"
  14430. },
  14431. "tradeid": {
  14432. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14433. "type": "string"
  14434. },
  14435. "tradeprice": {
  14436. "description": "成交价格",
  14437. "type": "number"
  14438. },
  14439. "tradeqty": {
  14440. "description": "成交数量",
  14441. "type": "integer"
  14442. },
  14443. "tradetime": {
  14444. "description": "成交时间",
  14445. "type": "string"
  14446. },
  14447. "updatetime": {
  14448. "description": "更新时间",
  14449. "type": "string"
  14450. }
  14451. }
  14452. },
  14453. "erms2.QuerySpotContractRsp": {
  14454. "type": "object",
  14455. "required": [
  14456. "spotcontractid"
  14457. ],
  14458. "properties": {
  14459. "accountid": {
  14460. "description": "资金账户ID",
  14461. "type": "integer"
  14462. },
  14463. "areauserid": {
  14464. "description": "所属机构",
  14465. "type": "integer"
  14466. },
  14467. "closedate": {
  14468. "description": "终止日期",
  14469. "type": "string"
  14470. },
  14471. "closeremark": {
  14472. "description": "结束备注",
  14473. "type": "string"
  14474. },
  14475. "closetradedate": {
  14476. "description": "完结交易日(yyyyMMdd)",
  14477. "type": "string"
  14478. },
  14479. "closetype": {
  14480. "description": "终止类型 - 1:违约 2:提前终止",
  14481. "type": "integer"
  14482. },
  14483. "contractamount": {
  14484. "description": "合同金额",
  14485. "type": "number"
  14486. },
  14487. "contractattachment": {
  14488. "description": "合同附件",
  14489. "type": "string"
  14490. },
  14491. "contractno": {
  14492. "description": "现货合同编号",
  14493. "type": "string"
  14494. },
  14495. "contractqty": {
  14496. "description": "合同数量(数值) (用于计算)",
  14497. "type": "number"
  14498. },
  14499. "contractqtychar": {
  14500. "description": "合同数量\\已订价数量 (用于显示)",
  14501. "type": "string"
  14502. },
  14503. "contractstatus": {
  14504. "description": "合同状态 - 0:未结束 1:已结束",
  14505. "type": "integer"
  14506. },
  14507. "contracttype": {
  14508. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  14509. "type": "integer"
  14510. },
  14511. "customeraccountid": {
  14512. "description": "客户资金账户ID",
  14513. "type": "integer"
  14514. },
  14515. "customeruserid": {
  14516. "description": "客户ID",
  14517. "type": "integer"
  14518. },
  14519. "deliverygoodsdesc": {
  14520. "description": "品种说明",
  14521. "type": "string"
  14522. },
  14523. "deliverygoodsid": {
  14524. "description": "现货品种ID",
  14525. "type": "integer"
  14526. },
  14527. "handlestatus": {
  14528. "description": "处理状态",
  14529. "type": "integer"
  14530. },
  14531. "invoiceatt": {
  14532. "description": "发票附件",
  14533. "type": "string"
  14534. },
  14535. "invoicedatetime": {
  14536. "description": "开收票更新时间",
  14537. "type": "string"
  14538. },
  14539. "invoiceopentime": {
  14540. "description": "开票时间",
  14541. "type": "string"
  14542. },
  14543. "invoiceremark": {
  14544. "description": "发票备注",
  14545. "type": "string"
  14546. },
  14547. "invoicestatus": {
  14548. "description": "开收票状态 - 0:未开票 1:已开票",
  14549. "type": "integer"
  14550. },
  14551. "lastdate": {
  14552. "description": "交货时间",
  14553. "type": "string"
  14554. },
  14555. "marketid": {
  14556. "description": "市场ID",
  14557. "type": "integer"
  14558. },
  14559. "paydatetime": {
  14560. "description": "收付款更新时间",
  14561. "type": "string"
  14562. },
  14563. "payremark": {
  14564. "description": "收付款备注",
  14565. "type": "string"
  14566. },
  14567. "paystatus": {
  14568. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  14569. "type": "integer"
  14570. },
  14571. "positionqty": {
  14572. "description": "头寸数量 - 合同数量去小数部分",
  14573. "type": "integer"
  14574. },
  14575. "producttype": {
  14576. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14577. "type": "integer"
  14578. },
  14579. "relatedqty": {
  14580. "description": "已关联数量",
  14581. "type": "number"
  14582. },
  14583. "relatedstatus": {
  14584. "description": "关联完结状态 - 0:未结束 1:已结束",
  14585. "type": "integer"
  14586. },
  14587. "remark": {
  14588. "description": "备注",
  14589. "type": "string"
  14590. },
  14591. "signdate": {
  14592. "description": "签订日期",
  14593. "type": "string"
  14594. },
  14595. "spotcontractid": {
  14596. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  14597. "type": "string"
  14598. },
  14599. "spotdatetime": {
  14600. "description": "收发货更新时间",
  14601. "type": "string"
  14602. },
  14603. "spotprice": {
  14604. "description": "价格",
  14605. "type": "number"
  14606. },
  14607. "spotremark": {
  14608. "description": "收发货备注",
  14609. "type": "string"
  14610. },
  14611. "spotstatus": {
  14612. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  14613. "type": "integer"
  14614. },
  14615. "tradedate": {
  14616. "description": "交易日(yyyyMMdd)",
  14617. "type": "string"
  14618. },
  14619. "userid": {
  14620. "description": "业务员用户ID",
  14621. "type": "integer"
  14622. },
  14623. "warehouseid": {
  14624. "description": "仓库ID",
  14625. "type": "integer"
  14626. },
  14627. "wrfactortypeid": {
  14628. "description": "仓单要素类型ID",
  14629. "type": "integer"
  14630. },
  14631. "wrstandardid": {
  14632. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  14633. "type": "integer"
  14634. }
  14635. }
  14636. },
  14637. "erms3.AddErms2ASApplyReq": {
  14638. "type": "object",
  14639. "required": [
  14640. "asapplyid"
  14641. ],
  14642. "properties": {
  14643. "applybasis": {
  14644. "description": "申请基差",
  14645. "type": "number"
  14646. },
  14647. "applystatus": {
  14648. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14649. "type": "integer"
  14650. },
  14651. "asapplyid": {
  14652. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  14653. "type": "integer"
  14654. },
  14655. "asname": {
  14656. "description": "策略名称",
  14657. "type": "string"
  14658. },
  14659. "asno": {
  14660. "description": "策略编号",
  14661. "type": "string"
  14662. },
  14663. "auditid": {
  14664. "description": "审核人",
  14665. "type": "integer"
  14666. },
  14667. "auditremark": {
  14668. "description": "审核备注",
  14669. "type": "string"
  14670. },
  14671. "audittime": {
  14672. "description": "审核时间",
  14673. "type": "string"
  14674. },
  14675. "biztype": {
  14676. "description": "业务类型 - 1:正向套利 2:反向套利",
  14677. "type": "integer"
  14678. },
  14679. "createtime": {
  14680. "description": "创建时间",
  14681. "type": "string"
  14682. },
  14683. "creatorid": {
  14684. "description": "创建人",
  14685. "type": "integer"
  14686. },
  14687. "deliverygoodsid": {
  14688. "description": "现货品种ID",
  14689. "type": "integer"
  14690. },
  14691. "futurequote": {
  14692. "description": "期货额度",
  14693. "type": "number"
  14694. },
  14695. "goodsgroupid": {
  14696. "description": "期货品种ID",
  14697. "type": "integer"
  14698. },
  14699. "marketid": {
  14700. "description": "市场ID",
  14701. "type": "integer"
  14702. },
  14703. "remark": {
  14704. "description": "备注",
  14705. "type": "string"
  14706. },
  14707. "spotquota": {
  14708. "description": "现货额度",
  14709. "type": "number"
  14710. },
  14711. "tradedate": {
  14712. "description": "交易日(yyyyMMdd)",
  14713. "type": "string"
  14714. },
  14715. "userid": {
  14716. "description": "所属机构",
  14717. "type": "integer"
  14718. }
  14719. }
  14720. },
  14721. "erms3.AddErms2SpotTradeApplyReq": {
  14722. "type": "object",
  14723. "required": [
  14724. "spottradeid"
  14725. ],
  14726. "properties": {
  14727. "applyjsondetail": {
  14728. "description": "申请明细(JSON)",
  14729. "type": "string"
  14730. },
  14731. "applystatus": {
  14732. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14733. "type": "integer"
  14734. },
  14735. "areauserid": {
  14736. "description": "所属机构",
  14737. "type": "integer"
  14738. },
  14739. "auditid": {
  14740. "description": "审核人",
  14741. "type": "integer"
  14742. },
  14743. "auditremark": {
  14744. "description": "审核备注",
  14745. "type": "string"
  14746. },
  14747. "audittime": {
  14748. "description": "审核时间",
  14749. "type": "string"
  14750. },
  14751. "createtime": {
  14752. "description": "创建时间",
  14753. "type": "string"
  14754. },
  14755. "creatorid": {
  14756. "description": "创建人",
  14757. "type": "integer"
  14758. },
  14759. "deliverygoodsid": {
  14760. "description": "现货品种ID",
  14761. "type": "integer"
  14762. },
  14763. "futureaccountid": {
  14764. "description": "期货资金账户",
  14765. "type": "integer"
  14766. },
  14767. "goodsgroupid": {
  14768. "description": "期货品种",
  14769. "type": "integer"
  14770. },
  14771. "marketid": {
  14772. "description": "市场ID",
  14773. "type": "integer"
  14774. },
  14775. "remark": {
  14776. "description": "备注",
  14777. "type": "string"
  14778. },
  14779. "spotaccountid": {
  14780. "description": "现货资金账户",
  14781. "type": "integer"
  14782. },
  14783. "spottradeid": {
  14784. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  14785. "type": "integer"
  14786. },
  14787. "spottradename": {
  14788. "description": "业务名称",
  14789. "type": "string"
  14790. },
  14791. "spottradeno": {
  14792. "description": "业务编号",
  14793. "type": "string"
  14794. },
  14795. "tradedate": {
  14796. "description": "交易日(yyyyMMdd)",
  14797. "type": "string"
  14798. },
  14799. "wrstandardid": {
  14800. "description": "仓单标准ID",
  14801. "type": "integer"
  14802. }
  14803. }
  14804. },
  14805. "erms3.AddSpotContractApplyReq": {
  14806. "type": "object",
  14807. "required": [
  14808. "accountid",
  14809. "areauserid",
  14810. "contractno",
  14811. "contracttype",
  14812. "customeraccountid",
  14813. "customeruserid",
  14814. "details",
  14815. "orimargin",
  14816. "signdate"
  14817. ],
  14818. "properties": {
  14819. "accountid": {
  14820. "description": "资金账户ID",
  14821. "type": "integer"
  14822. },
  14823. "areauserid": {
  14824. "description": "所属机构",
  14825. "type": "integer"
  14826. },
  14827. "contractattachment": {
  14828. "description": "合同附件",
  14829. "type": "string"
  14830. },
  14831. "contractno": {
  14832. "description": "现货合同编号",
  14833. "type": "string"
  14834. },
  14835. "contracttype": {
  14836. "description": "现货合同类型 - 1:采购 -1:销售",
  14837. "type": "integer"
  14838. },
  14839. "creatorid": {
  14840. "description": "申请人",
  14841. "type": "integer"
  14842. },
  14843. "customeraccountid": {
  14844. "description": "客户资金账户ID",
  14845. "type": "integer"
  14846. },
  14847. "customeruserid": {
  14848. "description": "客户ID",
  14849. "type": "integer"
  14850. },
  14851. "details": {
  14852. "description": "明细",
  14853. "type": "array",
  14854. "items": {
  14855. "$ref": "#/definitions/erms3.SoptContractDetail"
  14856. }
  14857. },
  14858. "orimargin": {
  14859. "description": "初始保证金",
  14860. "type": "number"
  14861. },
  14862. "remark": {
  14863. "description": "备注",
  14864. "type": "string"
  14865. },
  14866. "signdate": {
  14867. "description": "签订日期",
  14868. "type": "string"
  14869. }
  14870. }
  14871. },
  14872. "erms3.AddSpotContractApplyRsp": {
  14873. "type": "object",
  14874. "required": [
  14875. "contractno"
  14876. ],
  14877. "properties": {
  14878. "contractno": {
  14879. "description": "现货合同编号",
  14880. "type": "string"
  14881. },
  14882. "spotcontractid": {
  14883. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  14884. "type": "integer"
  14885. }
  14886. }
  14887. },
  14888. "erms3.AddUserInfoApplyReq": {
  14889. "type": "object",
  14890. "required": [
  14891. "userid"
  14892. ],
  14893. "properties": {
  14894. "accountid": {
  14895. "description": "交易系统帐号Id (加密存储)",
  14896. "type": "integer"
  14897. },
  14898. "areacode": {
  14899. "description": "机构代码",
  14900. "type": "string"
  14901. },
  14902. "areaid": {
  14903. "description": "机构Id",
  14904. "type": "integer"
  14905. },
  14906. "attachment1": {
  14907. "description": "附件1",
  14908. "type": "string"
  14909. },
  14910. "attachment2": {
  14911. "description": "附件2",
  14912. "type": "string"
  14913. },
  14914. "attachment3": {
  14915. "description": "附件3",
  14916. "type": "string"
  14917. },
  14918. "attachment4": {
  14919. "description": "附件4",
  14920. "type": "string"
  14921. },
  14922. "attachment5": {
  14923. "description": "附件5",
  14924. "type": "string"
  14925. },
  14926. "auditedby": {
  14927. "description": "审核人",
  14928. "type": "string"
  14929. },
  14930. "auditime": {
  14931. "description": "审核时间",
  14932. "type": "string"
  14933. },
  14934. "auditsrc": {
  14935. "description": "审核来源 - 1:管理端 2:终端",
  14936. "type": "integer"
  14937. },
  14938. "bankaccount": {
  14939. "description": "银行帐号 (加密存储)",
  14940. "type": "string"
  14941. },
  14942. "bankaccountname": {
  14943. "description": "收款人名称",
  14944. "type": "string"
  14945. },
  14946. "bankcardbackphotourl": {
  14947. "description": "银行卡背面照地址",
  14948. "type": "string"
  14949. },
  14950. "bankcardfrontphotourl": {
  14951. "description": "银行卡正面照地址",
  14952. "type": "string"
  14953. },
  14954. "bankid": {
  14955. "description": "银行编码",
  14956. "type": "string"
  14957. },
  14958. "bankname": {
  14959. "description": "银行名称",
  14960. "type": "string"
  14961. },
  14962. "bankpictureurl": {
  14963. "description": "银行卡正面地址",
  14964. "type": "string"
  14965. },
  14966. "biznature": {
  14967. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14968. "type": "integer"
  14969. },
  14970. "bizscope": {
  14971. "description": "企业经营范围(企业)",
  14972. "type": "string"
  14973. },
  14974. "biztype": {
  14975. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  14976. "type": "integer"
  14977. },
  14978. "brokerid": {
  14979. "description": "经纪人ID(加密存储)",
  14980. "type": "string"
  14981. },
  14982. "cardaddress": {
  14983. "description": "证件地址 (加密存储)",
  14984. "type": "string"
  14985. },
  14986. "cardbackphotourl": {
  14987. "description": "背面证件照地址",
  14988. "type": "string"
  14989. },
  14990. "cardfrontphotourl": {
  14991. "description": "正面证件照地址",
  14992. "type": "string"
  14993. },
  14994. "cardnum": {
  14995. "description": "证件号码 (加密存储)",
  14996. "type": "string"
  14997. },
  14998. "cardtype": {
  14999. "description": "证件类型",
  15000. "type": "integer"
  15001. },
  15002. "cityid": {
  15003. "description": "市",
  15004. "type": "integer"
  15005. },
  15006. "company": {
  15007. "description": "公司(个人)",
  15008. "type": "string"
  15009. },
  15010. "contactcardbackphotourl": {
  15011. "description": "联系人证件背面图片地址",
  15012. "type": "string"
  15013. },
  15014. "contactcardfrontphotourl": {
  15015. "description": "联系人证件正面图片地址",
  15016. "type": "string"
  15017. },
  15018. "contactname": {
  15019. "description": "联系人",
  15020. "type": "string"
  15021. },
  15022. "countryid": {
  15023. "description": "国家",
  15024. "type": "integer"
  15025. },
  15026. "createtime": {
  15027. "description": "开户申请时间",
  15028. "type": "string"
  15029. },
  15030. "cusbankid": {
  15031. "description": "签约类型",
  15032. "type": "string"
  15033. },
  15034. "cusbankname": {
  15035. "description": "签约类型名称",
  15036. "type": "string"
  15037. },
  15038. "customername": {
  15039. "description": "客户名称(企业名称)",
  15040. "type": "string"
  15041. },
  15042. "districtid": {
  15043. "description": "地区",
  15044. "type": "integer"
  15045. },
  15046. "email": {
  15047. "description": "Email地址(加密存储)",
  15048. "type": "string"
  15049. },
  15050. "halfbodyphotourl": {
  15051. "description": "半身照地址",
  15052. "type": "string"
  15053. },
  15054. "headurl": {
  15055. "description": "头像地址",
  15056. "type": "string"
  15057. },
  15058. "ipaddress": {
  15059. "description": "IP地址",
  15060. "type": "string"
  15061. },
  15062. "isvalidate": {
  15063. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  15064. "type": "string"
  15065. },
  15066. "legalcardbackphotourl": {
  15067. "description": "法人身份证背面照地址",
  15068. "type": "string"
  15069. },
  15070. "legalcardfrontphotourl": {
  15071. "description": "法人身份证正面照地址",
  15072. "type": "string"
  15073. },
  15074. "legalpersonname": {
  15075. "description": "法人姓名(企业)",
  15076. "type": "string"
  15077. },
  15078. "logincode": {
  15079. "description": "登录帐号 (加密存储)",
  15080. "type": "string"
  15081. },
  15082. "memberareaid": {
  15083. "description": "所属会员ID",
  15084. "type": "integer"
  15085. },
  15086. "mobile2": {
  15087. "description": "手机号码[明文-尚志]",
  15088. "type": "string"
  15089. },
  15090. "mobilephone": {
  15091. "description": "手机号码 (加密存储)",
  15092. "type": "string"
  15093. },
  15094. "modifiedby": {
  15095. "description": "修改人帐号",
  15096. "type": "integer"
  15097. },
  15098. "modifiedtime": {
  15099. "description": "修改时间",
  15100. "type": "string"
  15101. },
  15102. "nickname": {
  15103. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  15104. "type": "string"
  15105. },
  15106. "openmode": {
  15107. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  15108. "type": "integer"
  15109. },
  15110. "otherurl": {
  15111. "description": "其它图片地址[使用分号分隔]",
  15112. "type": "string"
  15113. },
  15114. "postalcode": {
  15115. "description": "邮政编码",
  15116. "type": "string"
  15117. },
  15118. "provinceid": {
  15119. "description": "省",
  15120. "type": "integer"
  15121. },
  15122. "proxystatementurl": {
  15123. "description": "授权委托书",
  15124. "type": "string"
  15125. },
  15126. "qq": {
  15127. "description": "QQ(加密存储",
  15128. "type": "string"
  15129. },
  15130. "referral": {
  15131. "description": "推荐人编码",
  15132. "type": "string"
  15133. },
  15134. "remark": {
  15135. "description": "备注",
  15136. "type": "string"
  15137. },
  15138. "removebeforestatus": {
  15139. "description": "REMOVEBEFORESTATUS",
  15140. "type": "integer"
  15141. },
  15142. "sex": {
  15143. "description": "性别 - 0:女 1:男",
  15144. "type": "integer"
  15145. },
  15146. "signedstatus": {
  15147. "description": "账户一号签签约状态",
  15148. "type": "integer"
  15149. },
  15150. "signpdfurl": {
  15151. "description": "签约pdf文件",
  15152. "type": "string"
  15153. },
  15154. "subbranch": {
  15155. "description": "开户支行",
  15156. "type": "string"
  15157. },
  15158. "taxpayernum": {
  15159. "description": "纳税人识别号",
  15160. "type": "string"
  15161. },
  15162. "telphone": {
  15163. "description": "联系电话(加密存储)",
  15164. "type": "string"
  15165. },
  15166. "userid": {
  15167. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  15168. "type": "integer"
  15169. },
  15170. "userinfotype": {
  15171. "description": "用户信息类型 - 1:个人 2:企业",
  15172. "type": "integer"
  15173. },
  15174. "username": {
  15175. "description": "用户姓名",
  15176. "type": "string"
  15177. },
  15178. "userstate": {
  15179. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15180. "type": "integer"
  15181. },
  15182. "usertype": {
  15183. "description": "用户类型 - 1:投资者 2:机构",
  15184. "type": "integer"
  15185. },
  15186. "videourl": {
  15187. "description": "视频地址",
  15188. "type": "string"
  15189. },
  15190. "wechat": {
  15191. "description": "微信号 (加密存储)",
  15192. "type": "string"
  15193. }
  15194. }
  15195. },
  15196. "erms3.CustomerInfo": {
  15197. "type": "object",
  15198. "required": [
  15199. "userid"
  15200. ],
  15201. "properties": {
  15202. "accountids": {
  15203. "description": "资金账户ID列表",
  15204. "type": "array",
  15205. "items": {
  15206. "type": "integer"
  15207. }
  15208. },
  15209. "customername": {
  15210. "description": "名称(企业名称)",
  15211. "type": "string"
  15212. },
  15213. "mobile": {
  15214. "description": "手机号码",
  15215. "type": "string"
  15216. },
  15217. "userid": {
  15218. "description": "用户ID",
  15219. "type": "integer"
  15220. }
  15221. }
  15222. },
  15223. "erms3.ModifyUserInfoApplyReq": {
  15224. "type": "object",
  15225. "required": [
  15226. "userid"
  15227. ],
  15228. "properties": {
  15229. "accountid": {
  15230. "description": "交易系统帐号Id (加密存储)",
  15231. "type": "integer"
  15232. },
  15233. "areacode": {
  15234. "description": "机构代码",
  15235. "type": "string"
  15236. },
  15237. "areaid": {
  15238. "description": "机构Id",
  15239. "type": "integer"
  15240. },
  15241. "attachment1": {
  15242. "description": "附件1",
  15243. "type": "string"
  15244. },
  15245. "attachment2": {
  15246. "description": "附件2",
  15247. "type": "string"
  15248. },
  15249. "attachment3": {
  15250. "description": "附件3",
  15251. "type": "string"
  15252. },
  15253. "attachment4": {
  15254. "description": "附件4",
  15255. "type": "string"
  15256. },
  15257. "attachment5": {
  15258. "description": "附件5",
  15259. "type": "string"
  15260. },
  15261. "auditedby": {
  15262. "description": "审核人",
  15263. "type": "string"
  15264. },
  15265. "auditime": {
  15266. "description": "审核时间",
  15267. "type": "string"
  15268. },
  15269. "auditsrc": {
  15270. "description": "审核来源 - 1:管理端 2:终端",
  15271. "type": "integer"
  15272. },
  15273. "bankaccount": {
  15274. "description": "银行帐号 (加密存储)",
  15275. "type": "string"
  15276. },
  15277. "bankaccountname": {
  15278. "description": "收款人名称",
  15279. "type": "string"
  15280. },
  15281. "bankcardbackphotourl": {
  15282. "description": "银行卡背面照地址",
  15283. "type": "string"
  15284. },
  15285. "bankcardfrontphotourl": {
  15286. "description": "银行卡正面照地址",
  15287. "type": "string"
  15288. },
  15289. "bankid": {
  15290. "description": "银行编码",
  15291. "type": "string"
  15292. },
  15293. "bankname": {
  15294. "description": "银行名称",
  15295. "type": "string"
  15296. },
  15297. "bankpictureurl": {
  15298. "description": "银行卡正面地址",
  15299. "type": "string"
  15300. },
  15301. "biznature": {
  15302. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15303. "type": "integer"
  15304. },
  15305. "bizscope": {
  15306. "description": "企业经营范围(企业)",
  15307. "type": "string"
  15308. },
  15309. "biztype": {
  15310. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  15311. "type": "integer"
  15312. },
  15313. "brokerid": {
  15314. "description": "经纪人ID(加密存储)",
  15315. "type": "string"
  15316. },
  15317. "cardaddress": {
  15318. "description": "证件地址 (加密存储)",
  15319. "type": "string"
  15320. },
  15321. "cardbackphotourl": {
  15322. "description": "背面证件照地址",
  15323. "type": "string"
  15324. },
  15325. "cardfrontphotourl": {
  15326. "description": "正面证件照地址",
  15327. "type": "string"
  15328. },
  15329. "cardnum": {
  15330. "description": "证件号码 (加密存储)",
  15331. "type": "string"
  15332. },
  15333. "cardtype": {
  15334. "description": "证件类型",
  15335. "type": "integer"
  15336. },
  15337. "cityid": {
  15338. "description": "市",
  15339. "type": "integer"
  15340. },
  15341. "company": {
  15342. "description": "公司(个人)",
  15343. "type": "string"
  15344. },
  15345. "contactcardbackphotourl": {
  15346. "description": "联系人证件背面图片地址",
  15347. "type": "string"
  15348. },
  15349. "contactcardfrontphotourl": {
  15350. "description": "联系人证件正面图片地址",
  15351. "type": "string"
  15352. },
  15353. "contactname": {
  15354. "description": "联系人",
  15355. "type": "string"
  15356. },
  15357. "countryid": {
  15358. "description": "国家",
  15359. "type": "integer"
  15360. },
  15361. "createtime": {
  15362. "description": "开户申请时间",
  15363. "type": "string"
  15364. },
  15365. "cusbankid": {
  15366. "description": "签约类型",
  15367. "type": "string"
  15368. },
  15369. "cusbankname": {
  15370. "description": "签约类型名称",
  15371. "type": "string"
  15372. },
  15373. "customername": {
  15374. "description": "客户名称(企业名称)",
  15375. "type": "string"
  15376. },
  15377. "districtid": {
  15378. "description": "地区",
  15379. "type": "integer"
  15380. },
  15381. "email": {
  15382. "description": "Email地址(加密存储)",
  15383. "type": "string"
  15384. },
  15385. "halfbodyphotourl": {
  15386. "description": "半身照地址",
  15387. "type": "string"
  15388. },
  15389. "headurl": {
  15390. "description": "头像地址",
  15391. "type": "string"
  15392. },
  15393. "ipaddress": {
  15394. "description": "IP地址",
  15395. "type": "string"
  15396. },
  15397. "isvalidate": {
  15398. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  15399. "type": "string"
  15400. },
  15401. "legalcardbackphotourl": {
  15402. "description": "法人身份证背面照地址",
  15403. "type": "string"
  15404. },
  15405. "legalcardfrontphotourl": {
  15406. "description": "法人身份证正面照地址",
  15407. "type": "string"
  15408. },
  15409. "legalpersonname": {
  15410. "description": "法人姓名(企业)",
  15411. "type": "string"
  15412. },
  15413. "logincode": {
  15414. "description": "登录帐号 (加密存储)",
  15415. "type": "string"
  15416. },
  15417. "memberareaid": {
  15418. "description": "所属会员ID",
  15419. "type": "integer"
  15420. },
  15421. "mobile2": {
  15422. "description": "手机号码[明文-尚志]",
  15423. "type": "string"
  15424. },
  15425. "mobilephone": {
  15426. "description": "手机号码 (加密存储)",
  15427. "type": "string"
  15428. },
  15429. "modifiedby": {
  15430. "description": "修改人帐号",
  15431. "type": "integer"
  15432. },
  15433. "modifiedtime": {
  15434. "description": "修改时间",
  15435. "type": "string"
  15436. },
  15437. "nickname": {
  15438. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  15439. "type": "string"
  15440. },
  15441. "openmode": {
  15442. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  15443. "type": "integer"
  15444. },
  15445. "otherurl": {
  15446. "description": "其它图片地址[使用分号分隔]",
  15447. "type": "string"
  15448. },
  15449. "postalcode": {
  15450. "description": "邮政编码",
  15451. "type": "string"
  15452. },
  15453. "provinceid": {
  15454. "description": "省",
  15455. "type": "integer"
  15456. },
  15457. "proxystatementurl": {
  15458. "description": "授权委托书",
  15459. "type": "string"
  15460. },
  15461. "qq": {
  15462. "description": "QQ(加密存储",
  15463. "type": "string"
  15464. },
  15465. "referral": {
  15466. "description": "推荐人编码",
  15467. "type": "string"
  15468. },
  15469. "remark": {
  15470. "description": "备注",
  15471. "type": "string"
  15472. },
  15473. "removebeforestatus": {
  15474. "description": "REMOVEBEFORESTATUS",
  15475. "type": "integer"
  15476. },
  15477. "sex": {
  15478. "description": "性别 - 0:女 1:男",
  15479. "type": "integer"
  15480. },
  15481. "signedstatus": {
  15482. "description": "账户一号签签约状态",
  15483. "type": "integer"
  15484. },
  15485. "signpdfurl": {
  15486. "description": "签约pdf文件",
  15487. "type": "string"
  15488. },
  15489. "subbranch": {
  15490. "description": "开户支行",
  15491. "type": "string"
  15492. },
  15493. "taxpayernum": {
  15494. "description": "纳税人识别号",
  15495. "type": "string"
  15496. },
  15497. "telphone": {
  15498. "description": "联系电话(加密存储)",
  15499. "type": "string"
  15500. },
  15501. "userid": {
  15502. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  15503. "type": "integer"
  15504. },
  15505. "userinfotype": {
  15506. "description": "用户信息类型 - 1:个人 2:企业",
  15507. "type": "integer"
  15508. },
  15509. "username": {
  15510. "description": "用户姓名",
  15511. "type": "string"
  15512. },
  15513. "userstate": {
  15514. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15515. "type": "integer"
  15516. },
  15517. "usertype": {
  15518. "description": "用户类型 - 1:投资者 2:机构",
  15519. "type": "integer"
  15520. },
  15521. "videourl": {
  15522. "description": "视频地址",
  15523. "type": "string"
  15524. },
  15525. "wechat": {
  15526. "description": "微信号 (加密存储)",
  15527. "type": "string"
  15528. }
  15529. }
  15530. },
  15531. "erms3.QryAuditContractRsp": {
  15532. "type": "object",
  15533. "required": [
  15534. "matchcustomername",
  15535. "spotcontractid"
  15536. ],
  15537. "properties": {
  15538. "accountid": {
  15539. "description": "交易员ID",
  15540. "type": "string"
  15541. },
  15542. "applystatus": {
  15543. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15544. "type": "integer"
  15545. },
  15546. "curdeliveryqty": {
  15547. "description": "未交收量",
  15548. "type": "integer"
  15549. },
  15550. "customername": {
  15551. "description": "采购方ID",
  15552. "type": "string"
  15553. },
  15554. "deliverygoodsid": {
  15555. "description": "品种ID",
  15556. "type": "string"
  15557. },
  15558. "deliveryqty": {
  15559. "description": "交收量",
  15560. "type": "integer"
  15561. },
  15562. "enumdicname": {
  15563. "description": "单位名称",
  15564. "type": "string"
  15565. },
  15566. "matchaccountid": {
  15567. "description": "业务员ID",
  15568. "type": "string"
  15569. },
  15570. "matchcustomername": {
  15571. "description": "销售方ID",
  15572. "type": "string"
  15573. },
  15574. "pricedqty": {
  15575. "description": "定价量",
  15576. "type": "number"
  15577. },
  15578. "signdate": {
  15579. "description": "签订日期",
  15580. "type": "string"
  15581. },
  15582. "spotcontractid": {
  15583. "description": "合同ID",
  15584. "type": "string"
  15585. },
  15586. "totaldqty": {
  15587. "description": "合同量",
  15588. "type": "number"
  15589. },
  15590. "unpricedqty": {
  15591. "description": "未定价量",
  15592. "type": "number"
  15593. },
  15594. "wrstandardname": {
  15595. "description": "商品名称",
  15596. "type": "string"
  15597. }
  15598. }
  15599. },
  15600. "erms3.QryPendingBizRsp": {
  15601. "$ref": "#/definitions/models.PendingAuditBizModel"
  15602. },
  15603. "erms3.QueryBusinessInfoRsp": {
  15604. "type": "object",
  15605. "properties": {
  15606. "businessid": {
  15607. "description": "业务ID.",
  15608. "type": "integer"
  15609. },
  15610. "buyamount": {
  15611. "description": "采购额.",
  15612. "type": "number"
  15613. },
  15614. "buyqty": {
  15615. "description": "采购量.",
  15616. "type": "string"
  15617. },
  15618. "futurepl": {
  15619. "description": "期货盈亏.",
  15620. "type": "number"
  15621. },
  15622. "futureqty": {
  15623. "description": "期货敞口.",
  15624. "type": "string"
  15625. },
  15626. "goodsid": {
  15627. "description": "商品名称/商品代码.",
  15628. "type": "string"
  15629. },
  15630. "hedgingqty": {
  15631. "description": "套保量.",
  15632. "type": "string"
  15633. },
  15634. "sellamount": {
  15635. "description": "销售额.",
  15636. "type": "number"
  15637. },
  15638. "sellqty": {
  15639. "description": "销售量.",
  15640. "type": "string"
  15641. },
  15642. "spotmarketvalue": {
  15643. "description": "现货市值.",
  15644. "type": "number"
  15645. },
  15646. "spotpl": {
  15647. "description": "浮动权益.",
  15648. "type": "number"
  15649. },
  15650. "spotqty": {
  15651. "description": "现货量.",
  15652. "type": "string"
  15653. },
  15654. "statu": {
  15655. "description": "状态,0-未结束 1-已结束.",
  15656. "type": "integer"
  15657. },
  15658. "totalpl": {
  15659. "description": "总盈亏.",
  15660. "type": "number"
  15661. },
  15662. "totalqty": {
  15663. "description": "总敞口.",
  15664. "type": "string"
  15665. },
  15666. "type": {
  15667. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  15668. "type": "integer"
  15669. }
  15670. }
  15671. },
  15672. "erms3.QuerySpotContractAppleFormRsp": {
  15673. "type": "object",
  15674. "properties": {
  15675. "goodses": {
  15676. "description": "合约列表",
  15677. "type": "array",
  15678. "items": {
  15679. "$ref": "#/definitions/models.GoodsIDAndName"
  15680. }
  15681. },
  15682. "oppositeusers": {
  15683. "description": "对方账号列表",
  15684. "type": "array",
  15685. "items": {
  15686. "$ref": "#/definitions/erms3.CustomerInfo"
  15687. }
  15688. },
  15689. "ouruser": {
  15690. "description": "我方账号",
  15691. "type": "object",
  15692. "$ref": "#/definitions/erms3.CustomerInfo"
  15693. },
  15694. "warehouseinfos": {
  15695. "description": "仓库信息列表",
  15696. "type": "array",
  15697. "items": {
  15698. "$ref": "#/definitions/models.Warehouseinfo"
  15699. }
  15700. },
  15701. "wrstandards": {
  15702. "description": "仓单标准列表",
  15703. "type": "array",
  15704. "items": {
  15705. "$ref": "#/definitions/models.WRStandardInfo"
  15706. }
  15707. }
  15708. }
  15709. },
  15710. "erms3.QuerySpotContractInfoRsp": {
  15711. "type": "object",
  15712. "properties": {
  15713. "accountid": {
  15714. "description": "表示交易员ID.",
  15715. "type": "integer"
  15716. },
  15717. "curdeliveryqty": {
  15718. "description": "表示未交收量.",
  15719. "type": "number"
  15720. },
  15721. "customername": {
  15722. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  15723. "type": "string"
  15724. },
  15725. "deliverygoodsid": {
  15726. "description": "表示品种ID.",
  15727. "type": "string"
  15728. },
  15729. "deliveryqty": {
  15730. "description": "表示交收量.",
  15731. "type": "number"
  15732. },
  15733. "matchaccountid": {
  15734. "description": "表示业务员ID.",
  15735. "type": "integer"
  15736. },
  15737. "matchcustomername": {
  15738. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  15739. "type": "string"
  15740. },
  15741. "priceqty": {
  15742. "description": "表示定价量.",
  15743. "type": "number"
  15744. },
  15745. "relatedbizid": {
  15746. "description": "表示业务ID.",
  15747. "type": "string"
  15748. },
  15749. "signdate": {
  15750. "description": "表示签订日期.",
  15751. "type": "string"
  15752. },
  15753. "spotcontractid": {
  15754. "description": "合同ID",
  15755. "type": "string"
  15756. },
  15757. "status": {
  15758. "description": "表示状态,0-履约中 1-已完成.",
  15759. "type": "integer"
  15760. },
  15761. "totalqty": {
  15762. "description": "表示合同量.",
  15763. "type": "number"
  15764. },
  15765. "unpricedqty": {
  15766. "description": "表示未定价量.",
  15767. "type": "number"
  15768. },
  15769. "wrstandardname": {
  15770. "description": "表示商品ID.",
  15771. "type": "string"
  15772. }
  15773. }
  15774. },
  15775. "erms3.QueryUserInfoAppliesRsp": {
  15776. "type": "object",
  15777. "required": [
  15778. "userid"
  15779. ],
  15780. "properties": {
  15781. "biznature": {
  15782. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15783. "type": "integer"
  15784. },
  15785. "contactname": {
  15786. "description": "联系人",
  15787. "type": "string"
  15788. },
  15789. "createtime": {
  15790. "description": "开户申请时间",
  15791. "type": "string"
  15792. },
  15793. "userid": {
  15794. "description": "用户ID(自增ID)",
  15795. "type": "integer"
  15796. },
  15797. "userinfotype": {
  15798. "description": "用户信息类型 - 1:个人 2:企业",
  15799. "type": "integer"
  15800. },
  15801. "username": {
  15802. "description": "用户姓名",
  15803. "type": "string"
  15804. },
  15805. "userstate": {
  15806. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15807. "type": "integer"
  15808. }
  15809. }
  15810. },
  15811. "erms3.QueryUserInfosRsp": {
  15812. "type": "object",
  15813. "required": [
  15814. "userid"
  15815. ],
  15816. "properties": {
  15817. "biznature": {
  15818. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15819. "type": "integer"
  15820. },
  15821. "contactname": {
  15822. "description": "联系人",
  15823. "type": "string"
  15824. },
  15825. "customername": {
  15826. "description": "客户名称(企业名称)",
  15827. "type": "string"
  15828. },
  15829. "userid": {
  15830. "description": "用户ID",
  15831. "type": "integer"
  15832. },
  15833. "userinfotype": {
  15834. "description": "用户信息类型 - 1:个人 2:企业",
  15835. "type": "integer"
  15836. },
  15837. "userstatus": {
  15838. "description": "用户状态 - 1:正常 2:注销",
  15839. "type": "integer"
  15840. }
  15841. }
  15842. },
  15843. "erms3.SoptContractDetail": {
  15844. "type": "object",
  15845. "required": [
  15846. "deliverygoodsid",
  15847. "producttype",
  15848. "unitname",
  15849. "warehouseid",
  15850. "wrstandardid",
  15851. "wrstandardname"
  15852. ],
  15853. "properties": {
  15854. "deliverygoodsdesc": {
  15855. "description": "现货品种说明",
  15856. "type": "string"
  15857. },
  15858. "deliverygoodsid": {
  15859. "description": "现货品种ID",
  15860. "type": "integer"
  15861. },
  15862. "deliverygoodsname": {
  15863. "description": "现货品种名称",
  15864. "type": "string"
  15865. },
  15866. "pointdesc": {
  15867. "description": "点价描述",
  15868. "type": "string"
  15869. },
  15870. "producttype": {
  15871. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  15872. "type": "integer"
  15873. },
  15874. "producttypename": {
  15875. "description": "产品类型名称",
  15876. "type": "string"
  15877. },
  15878. "spotPointOrderVoList": {
  15879. "description": "点价列表",
  15880. "type": "array",
  15881. "items": {
  15882. "$ref": "#/definitions/erms3.SpotPointOrder"
  15883. }
  15884. },
  15885. "spotPriceOrderList": {
  15886. "description": "定价列表",
  15887. "type": "array",
  15888. "items": {
  15889. "$ref": "#/definitions/erms3.SpotPriceOrder"
  15890. }
  15891. },
  15892. "unitname": {
  15893. "description": "单位名称",
  15894. "type": "string"
  15895. },
  15896. "warehouseid": {
  15897. "description": "仓库ID",
  15898. "type": "integer"
  15899. },
  15900. "warehousename": {
  15901. "description": "仓库名称",
  15902. "type": "string"
  15903. },
  15904. "wrstandardid": {
  15905. "description": "交易标的ID",
  15906. "type": "integer"
  15907. },
  15908. "wrstandardname": {
  15909. "description": "交易标的名称",
  15910. "type": "string"
  15911. }
  15912. }
  15913. },
  15914. "erms3.SpotPointOrder": {
  15915. "type": "object",
  15916. "required": [
  15917. "basic",
  15918. "goodsid",
  15919. "qty"
  15920. ],
  15921. "properties": {
  15922. "basic": {
  15923. "description": "基差",
  15924. "type": "number"
  15925. },
  15926. "deliveryenddate": {
  15927. "description": "交收结束日期",
  15928. "type": "string"
  15929. },
  15930. "deliverystartdate": {
  15931. "description": "交收开始日期",
  15932. "type": "string"
  15933. },
  15934. "enddate": {
  15935. "description": "点价结束日期",
  15936. "type": "string"
  15937. },
  15938. "goodsid": {
  15939. "description": "商品ID",
  15940. "type": "integer"
  15941. },
  15942. "goodsname": {
  15943. "description": "商品名称",
  15944. "type": "string"
  15945. },
  15946. "qty": {
  15947. "description": "数量",
  15948. "type": "number"
  15949. },
  15950. "startdate": {
  15951. "description": "点价开始日期",
  15952. "type": "string"
  15953. }
  15954. }
  15955. },
  15956. "erms3.SpotPriceOrder": {
  15957. "type": "object",
  15958. "required": [
  15959. "amount",
  15960. "price",
  15961. "qty"
  15962. ],
  15963. "properties": {
  15964. "amount": {
  15965. "description": "金额",
  15966. "type": "number"
  15967. },
  15968. "deliveryenddate": {
  15969. "description": "交收结束日期",
  15970. "type": "string"
  15971. },
  15972. "deliverystartdate": {
  15973. "description": "交收开始日期",
  15974. "type": "string"
  15975. },
  15976. "price": {
  15977. "description": "价格",
  15978. "type": "number"
  15979. },
  15980. "qty": {
  15981. "description": "数量",
  15982. "type": "number"
  15983. }
  15984. }
  15985. },
  15986. "hsby.GetHsbyMyCountRsp": {
  15987. "type": "object",
  15988. "properties": {
  15989. "myCouponCount": {
  15990. "description": "我的优惠卷数量",
  15991. "type": "integer"
  15992. },
  15993. "myOrderDetailListingCount": {
  15994. "description": "我的订单求购中数量",
  15995. "type": "integer"
  15996. },
  15997. "myOrderDetailPreCount": {
  15998. "description": "我的订单抢购中数量",
  15999. "type": "integer"
  16000. },
  16001. "myPackageUnReceiveCount": {
  16002. "description": "我的包裹待收货数量",
  16003. "type": "integer"
  16004. },
  16005. "myPackageUnSendCount": {
  16006. "description": "我的包裹待发货数量",
  16007. "type": "integer"
  16008. },
  16009. "myPayOrderCount": {
  16010. "description": "我的订单待付款数量",
  16011. "type": "integer"
  16012. }
  16013. }
  16014. },
  16015. "hsby.QueryProvincesAndCitiesRsp": {
  16016. "type": "object",
  16017. "properties": {
  16018. "cities": {
  16019. "description": "市",
  16020. "type": "array",
  16021. "items": {
  16022. "$ref": "#/definitions/models.Division"
  16023. }
  16024. },
  16025. "province": {
  16026. "description": "省",
  16027. "type": "object",
  16028. "$ref": "#/definitions/models.Division"
  16029. }
  16030. }
  16031. },
  16032. "models.AreaSpotModel": {
  16033. "type": "object",
  16034. "properties": {
  16035. "areauserid": {
  16036. "description": "所属机构",
  16037. "type": "integer"
  16038. },
  16039. "decreaseqty": {
  16040. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16041. "type": "number"
  16042. },
  16043. "increaseqty": {
  16044. "description": "增加数量=销售计划数量+采购已定价数量",
  16045. "type": "number"
  16046. },
  16047. "oritoalspotqty": {
  16048. "description": "昨日数量",
  16049. "type": "number"
  16050. },
  16051. "totalspotqty": {
  16052. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16053. "type": "number"
  16054. },
  16055. "updatetime": {
  16056. "description": "更新时间",
  16057. "type": "string"
  16058. },
  16059. "wrstandardcode": {
  16060. "description": "现货品种代码",
  16061. "type": "string"
  16062. },
  16063. "wrstandardid": {
  16064. "description": "现货商品ID",
  16065. "type": "integer"
  16066. },
  16067. "wrstandardname": {
  16068. "description": "现货品种",
  16069. "type": "string"
  16070. }
  16071. }
  16072. },
  16073. "models.Arearole": {
  16074. "type": "object",
  16075. "required": [
  16076. "roletype",
  16077. "userid"
  16078. ],
  16079. "properties": {
  16080. "createtime": {
  16081. "description": "创建时间",
  16082. "type": "string"
  16083. },
  16084. "creatorid": {
  16085. "description": "创建人ID",
  16086. "type": "integer"
  16087. },
  16088. "fromuserid": {
  16089. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  16090. "type": "integer"
  16091. },
  16092. "isreturnscore": {
  16093. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  16094. "type": "integer"
  16095. },
  16096. "modifierid": {
  16097. "description": "修改人ID",
  16098. "type": "integer"
  16099. },
  16100. "modifytime": {
  16101. "description": "修改时间",
  16102. "type": "string"
  16103. },
  16104. "orgtype": {
  16105. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  16106. "type": "integer"
  16107. },
  16108. "outuserid": {
  16109. "description": "外部账户[场外期权做市商]",
  16110. "type": "string"
  16111. },
  16112. "parentuserid": {
  16113. "description": "上级组织机构(组织机构)",
  16114. "type": "integer"
  16115. },
  16116. "roletype": {
  16117. "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:门店",
  16118. "type": "integer"
  16119. },
  16120. "rootuserid": {
  16121. "description": "顶级组织机构用户ID(组织机构)",
  16122. "type": "integer"
  16123. },
  16124. "shoppassword": {
  16125. "description": "商城店铺登陆密码(商城店铺角色使用)",
  16126. "type": "string"
  16127. },
  16128. "sublevelpath": {
  16129. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  16130. "type": "string"
  16131. },
  16132. "suborgtype": {
  16133. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  16134. "type": "integer"
  16135. },
  16136. "tradeaccountid": {
  16137. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  16138. "type": "integer"
  16139. },
  16140. "transurl": {
  16141. "description": "物流地址(物流机构)",
  16142. "type": "string"
  16143. },
  16144. "userid": {
  16145. "description": "机构用户ID其他做市关系,都设置为 1",
  16146. "type": "integer"
  16147. }
  16148. }
  16149. },
  16150. "models.Clientfixedadconfig": {
  16151. "type": "object",
  16152. "required": [
  16153. "adsort",
  16154. "adtype"
  16155. ],
  16156. "properties": {
  16157. "adsort": {
  16158. "description": "排序",
  16159. "type": "integer"
  16160. },
  16161. "adtype": {
  16162. "description": "广告位类型 - 1:新品抢购(HSBY)",
  16163. "type": "integer"
  16164. },
  16165. "areauserid": {
  16166. "description": "所属机构ID",
  16167. "type": "integer"
  16168. },
  16169. "createdate": {
  16170. "description": "创建时间",
  16171. "type": "string"
  16172. },
  16173. "creatorid": {
  16174. "description": "创建人",
  16175. "type": "integer"
  16176. },
  16177. "imagepath": {
  16178. "description": "图片",
  16179. "type": "string"
  16180. },
  16181. "isshow": {
  16182. "description": "是否展示 - 0:不展示 1:展示",
  16183. "type": "integer"
  16184. },
  16185. "modifierid": {
  16186. "description": "操作人",
  16187. "type": "integer"
  16188. },
  16189. "recsize": {
  16190. "description": "推荐尺寸",
  16191. "type": "string"
  16192. },
  16193. "title": {
  16194. "description": "标题",
  16195. "type": "string"
  16196. },
  16197. "updatedate": {
  16198. "description": "更新时间",
  16199. "type": "string"
  16200. },
  16201. "urlcontent": {
  16202. "description": "链接(地址或商品ID)",
  16203. "type": "string"
  16204. },
  16205. "urltype": {
  16206. "description": "链接类型 - 1:直接地址 2:商品ID",
  16207. "type": "integer"
  16208. }
  16209. }
  16210. },
  16211. "models.Division": {
  16212. "type": "object",
  16213. "required": [
  16214. "autoid",
  16215. "divisioncode"
  16216. ],
  16217. "properties": {
  16218. "autoid": {
  16219. "description": "自增ID",
  16220. "type": "integer"
  16221. },
  16222. "divisioncode": {
  16223. "description": "行政代码",
  16224. "type": "string"
  16225. },
  16226. "divisionlevel": {
  16227. "description": "行政级别",
  16228. "type": "string"
  16229. },
  16230. "divisionname": {
  16231. "description": "行政名称",
  16232. "type": "string"
  16233. },
  16234. "modifierid": {
  16235. "description": "修改人",
  16236. "type": "integer"
  16237. },
  16238. "modifytime": {
  16239. "description": "修改时间",
  16240. "type": "string"
  16241. },
  16242. "parentcode": {
  16243. "description": "上级行政代码",
  16244. "type": "string"
  16245. },
  16246. "pathname": {
  16247. "description": "路径名称",
  16248. "type": "string"
  16249. },
  16250. "postcode": {
  16251. "description": "邮政编码",
  16252. "type": "string"
  16253. },
  16254. "separablename": {
  16255. "description": "可拆分的全称",
  16256. "type": "string"
  16257. },
  16258. "shortcode": {
  16259. "description": "地区简码",
  16260. "type": "string"
  16261. }
  16262. }
  16263. },
  16264. "models.Enumdicitem": {
  16265. "type": "object",
  16266. "required": [
  16267. "autoid",
  16268. "enumdiccode",
  16269. "enumdicid",
  16270. "enumitemname"
  16271. ],
  16272. "properties": {
  16273. "autoid": {
  16274. "description": "自增ID",
  16275. "type": "integer"
  16276. },
  16277. "bankmappedvalue": {
  16278. "description": "银行服务对应值",
  16279. "type": "string"
  16280. },
  16281. "enumdiccode": {
  16282. "description": "所属枚举代码",
  16283. "type": "string"
  16284. },
  16285. "enumdicid": {
  16286. "description": "所属枚举ID",
  16287. "type": "integer"
  16288. },
  16289. "enumdicname": {
  16290. "description": "枚举项名称",
  16291. "type": "string"
  16292. },
  16293. "enumitemname": {
  16294. "description": "枚举项值",
  16295. "type": "integer"
  16296. },
  16297. "enumitemstatus": {
  16298. "description": "枚举项状态 - 1.启用 2.不启用",
  16299. "type": "integer"
  16300. },
  16301. "enumitemvalue": {
  16302. "description": "通用值 - [币种通用简写]",
  16303. "type": "string"
  16304. },
  16305. "param1": {
  16306. "description": "参数1[币种:币种小数位]",
  16307. "type": "string"
  16308. },
  16309. "param2": {
  16310. "description": "参数1[币种:币种显示单位]",
  16311. "type": "string"
  16312. },
  16313. "remark": {
  16314. "description": "备注",
  16315. "type": "string"
  16316. }
  16317. }
  16318. },
  16319. "models.Ermcp3AreaSpot": {
  16320. "type": "object",
  16321. "properties": {
  16322. "areauserid": {
  16323. "description": "所属机构",
  16324. "type": "integer"
  16325. },
  16326. "decreaseqty": {
  16327. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16328. "type": "number"
  16329. },
  16330. "deliverygoodscode": {
  16331. "description": "现货品种代码",
  16332. "type": "string"
  16333. },
  16334. "deliverygoodsid": {
  16335. "description": "现货品种id",
  16336. "type": "integer"
  16337. },
  16338. "deliverygoodsname": {
  16339. "description": "现货品种名称",
  16340. "type": "string"
  16341. },
  16342. "enumdicname": {
  16343. "description": "单位名称",
  16344. "type": "string"
  16345. },
  16346. "goodsunitid": {
  16347. "description": "现货品种单位id",
  16348. "type": "integer"
  16349. },
  16350. "increaseqty": {
  16351. "description": "增加数量=销售计划数量+采购已定价数量",
  16352. "type": "number"
  16353. },
  16354. "oritoalspotqty": {
  16355. "description": "昨日数量",
  16356. "type": "number"
  16357. },
  16358. "totalspotqty": {
  16359. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16360. "type": "number"
  16361. },
  16362. "updatetime": {
  16363. "description": "更新时间",
  16364. "type": "string"
  16365. }
  16366. }
  16367. },
  16368. "models.Ermcp3AreaSpotDetail": {
  16369. "type": "object",
  16370. "properties": {
  16371. "contracttype": {
  16372. "description": "合同类型 1-采购 -1-销售",
  16373. "type": "integer"
  16374. },
  16375. "createtime": {
  16376. "description": "创建时间",
  16377. "type": "string"
  16378. },
  16379. "deliverygoodscode": {
  16380. "description": "现货品种代码",
  16381. "type": "string"
  16382. },
  16383. "deliverygoodsid": {
  16384. "description": "现货品种id",
  16385. "type": "integer"
  16386. },
  16387. "deliverygoodsname": {
  16388. "description": "现货品种名称",
  16389. "type": "string"
  16390. },
  16391. "enumdicname": {
  16392. "description": "现货商品单位名称",
  16393. "type": "string"
  16394. },
  16395. "logtype": {
  16396. "description": "记录类型 1-套保 2-现货合同",
  16397. "type": "integer"
  16398. },
  16399. "qty": {
  16400. "description": "数量",
  16401. "type": "number"
  16402. },
  16403. "recordname": {
  16404. "description": "类型名称",
  16405. "type": "string"
  16406. },
  16407. "relatedid": {
  16408. "description": "套保计划ID/现货合同ID",
  16409. "type": "string"
  16410. },
  16411. "relatedno": {
  16412. "description": "编号",
  16413. "type": "string"
  16414. },
  16415. "strtime": {
  16416. "description": "时间",
  16417. "type": "string"
  16418. }
  16419. }
  16420. },
  16421. "models.Ermcp3AreaSpotPLReport": {
  16422. "type": "object",
  16423. "properties": {
  16424. "accountid": {
  16425. "description": "期货账户ID (作废, 默认为0)",
  16426. "type": "integer"
  16427. },
  16428. "accountname": {
  16429. "description": "机构名称",
  16430. "type": "string"
  16431. },
  16432. "actualpl": {
  16433. "description": "现货损益",
  16434. "type": "number"
  16435. },
  16436. "areauserid": {
  16437. "description": "所属机构\\交易用户ID",
  16438. "type": "integer"
  16439. },
  16440. "begindate": {
  16441. "description": "开始交易日",
  16442. "type": "string"
  16443. },
  16444. "biztype": {
  16445. "description": "业务类型 - 1:套保 2:套利",
  16446. "type": "integer"
  16447. },
  16448. "brandname": {
  16449. "description": "品牌名称",
  16450. "type": "string"
  16451. },
  16452. "curamount": {
  16453. "description": "期末额",
  16454. "type": "number"
  16455. },
  16456. "curaverageprice": {
  16457. "description": "期末均价",
  16458. "type": "number"
  16459. },
  16460. "curbuyamount": {
  16461. "description": "期末采购总额",
  16462. "type": "number"
  16463. },
  16464. "curbuyqty": {
  16465. "description": "期末采购总量",
  16466. "type": "number"
  16467. },
  16468. "curmarketvalue": {
  16469. "description": "参考市值(期末市值)",
  16470. "type": "number"
  16471. },
  16472. "curqty": {
  16473. "description": "期末量",
  16474. "type": "number"
  16475. },
  16476. "currencyid": {
  16477. "description": "结算币种ID【原值】",
  16478. "type": "integer"
  16479. },
  16480. "currencyname": {
  16481. "description": "币种名称",
  16482. "type": "string"
  16483. },
  16484. "cursellamount": {
  16485. "description": "期末销售总额",
  16486. "type": "number"
  16487. },
  16488. "cursellqty": {
  16489. "description": "期末销售总量",
  16490. "type": "number"
  16491. },
  16492. "curspotprice": {
  16493. "description": "参考市价(最新价)",
  16494. "type": "number"
  16495. },
  16496. "cycletime": {
  16497. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16498. "type": "string"
  16499. },
  16500. "cycletype": {
  16501. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16502. "type": "integer"
  16503. },
  16504. "deliverygoodscode": {
  16505. "description": "现货商品代码",
  16506. "type": "string"
  16507. },
  16508. "deliverygoodsid": {
  16509. "description": "现货品种ID",
  16510. "type": "integer"
  16511. },
  16512. "deliverygoodsname": {
  16513. "description": "现货商品名称",
  16514. "type": "string"
  16515. },
  16516. "enddate": {
  16517. "description": "结束交易日",
  16518. "type": "string"
  16519. },
  16520. "enumdicname": {
  16521. "description": "现货商品单位名称",
  16522. "type": "string"
  16523. },
  16524. "floatpl": {
  16525. "description": "浮动损益",
  16526. "type": "number"
  16527. },
  16528. "goodsunitid": {
  16529. "description": "现货商品单位id",
  16530. "type": "integer"
  16531. },
  16532. "oriamount": {
  16533. "description": "期初额",
  16534. "type": "number"
  16535. },
  16536. "oriaverageprice": {
  16537. "description": "期初均价",
  16538. "type": "number"
  16539. },
  16540. "oribuyamount": {
  16541. "description": "期初采购总额",
  16542. "type": "number"
  16543. },
  16544. "oribuyqty": {
  16545. "description": "期初采购总量",
  16546. "type": "number"
  16547. },
  16548. "oriqty": {
  16549. "description": "期初量",
  16550. "type": "number"
  16551. },
  16552. "orisellamount": {
  16553. "description": "期初销售总额",
  16554. "type": "number"
  16555. },
  16556. "orisellqty": {
  16557. "description": "期初销售总量",
  16558. "type": "number"
  16559. },
  16560. "reckondate": {
  16561. "description": "日照时期(yyyyMMdd)",
  16562. "type": "string"
  16563. },
  16564. "spotgoodsbrandid": {
  16565. "description": "现货品牌ID",
  16566. "type": "integer"
  16567. },
  16568. "todaybuyamount": {
  16569. "description": "今日采购额(今采购额)",
  16570. "type": "number"
  16571. },
  16572. "todaybuyaverageprice": {
  16573. "description": "今日采购均价",
  16574. "type": "number"
  16575. },
  16576. "todaybuyqty": {
  16577. "description": "今日采购量(今采购量)",
  16578. "type": "number"
  16579. },
  16580. "todayinqty": {
  16581. "description": "今日入库量(今入库量)",
  16582. "type": "number"
  16583. },
  16584. "todayoutqty": {
  16585. "description": "今日出库量(今出库量)",
  16586. "type": "number"
  16587. },
  16588. "todaysellamount": {
  16589. "description": "今日销售额(今销售额)",
  16590. "type": "number"
  16591. },
  16592. "todaysellaverageprice": {
  16593. "description": "今日销售均价",
  16594. "type": "number"
  16595. },
  16596. "todaysellqty": {
  16597. "description": "今日销售量(今销售量)",
  16598. "type": "number"
  16599. },
  16600. "unitid": {
  16601. "description": "品类单位id",
  16602. "type": "integer"
  16603. },
  16604. "unitidname": {
  16605. "description": "品类单位名称",
  16606. "type": "string"
  16607. },
  16608. "updatetime": {
  16609. "description": "更新时间",
  16610. "type": "string"
  16611. },
  16612. "wrfactortypeid": {
  16613. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  16614. "type": "integer"
  16615. },
  16616. "wrstandardcode": {
  16617. "description": "品类代码",
  16618. "type": "string"
  16619. },
  16620. "wrstandardid": {
  16621. "description": "现货品类ID",
  16622. "type": "integer"
  16623. },
  16624. "wrstandardname": {
  16625. "description": "品类名称",
  16626. "type": "string"
  16627. }
  16628. }
  16629. },
  16630. "models.Ermcp3AreaStock": {
  16631. "type": "object",
  16632. "required": [
  16633. "userid"
  16634. ],
  16635. "properties": {
  16636. "brandname": {
  16637. "description": "品牌名称",
  16638. "type": "string"
  16639. },
  16640. "curstock": {
  16641. "description": "期末库存量(今日量)",
  16642. "type": "number"
  16643. },
  16644. "deliverygoodscode": {
  16645. "description": "现货品种代码",
  16646. "type": "string"
  16647. },
  16648. "deliverygoodsid": {
  16649. "description": "现货品种id",
  16650. "type": "integer"
  16651. },
  16652. "deliverygoodsname": {
  16653. "description": "现货品种名称",
  16654. "type": "string"
  16655. },
  16656. "enumdicname": {
  16657. "description": "单位名称",
  16658. "type": "string"
  16659. },
  16660. "goodsunitid": {
  16661. "description": "现货商品单位id",
  16662. "type": "integer"
  16663. },
  16664. "oristock": {
  16665. "description": "期初库存量(昨日量)",
  16666. "type": "number"
  16667. },
  16668. "spotgoodsbrandid": {
  16669. "description": "现货品牌ID",
  16670. "type": "integer"
  16671. },
  16672. "todaybuyinqty": {
  16673. "description": "今日采购入库量",
  16674. "type": "number"
  16675. },
  16676. "todayproduceinqty": {
  16677. "description": "今日生产入库量",
  16678. "type": "number"
  16679. },
  16680. "todayproduceoutqty": {
  16681. "description": "今日生产出库量",
  16682. "type": "number"
  16683. },
  16684. "todayselloutqty": {
  16685. "description": "今日销售出库量",
  16686. "type": "number"
  16687. },
  16688. "unitid": {
  16689. "description": "单位id",
  16690. "type": "integer"
  16691. },
  16692. "updatetime": {
  16693. "description": "更新时间",
  16694. "type": "string"
  16695. },
  16696. "userid": {
  16697. "description": "机构ID",
  16698. "type": "integer"
  16699. },
  16700. "username": {
  16701. "description": "机构名称",
  16702. "type": "string"
  16703. },
  16704. "warehousecode": {
  16705. "description": "仓库代码",
  16706. "type": "string"
  16707. },
  16708. "warehouseinfoid": {
  16709. "description": "仓库ID",
  16710. "type": "string"
  16711. },
  16712. "warehousename": {
  16713. "description": "仓库名称",
  16714. "type": "string"
  16715. },
  16716. "warehousetype": {
  16717. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16718. "type": "integer"
  16719. },
  16720. "wrstandardcode": {
  16721. "description": "品类代码",
  16722. "type": "string"
  16723. },
  16724. "wrstandardid": {
  16725. "description": "品类ID",
  16726. "type": "string"
  16727. },
  16728. "wrstandardname": {
  16729. "description": "品类名称",
  16730. "type": "string"
  16731. }
  16732. }
  16733. },
  16734. "models.Ermcp3AreaStockApply": {
  16735. "type": "object",
  16736. "properties": {
  16737. "applyid": {
  16738. "description": "申请人",
  16739. "type": "integer"
  16740. },
  16741. "applyname": {
  16742. "description": "申请人名称",
  16743. "type": "string"
  16744. },
  16745. "applyremark": {
  16746. "description": "申请备注",
  16747. "type": "string"
  16748. },
  16749. "applysrc": {
  16750. "description": "申请来源 - 1:管理端 2:终端",
  16751. "type": "integer"
  16752. },
  16753. "applystatus": {
  16754. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16755. "type": "integer"
  16756. },
  16757. "applytime": {
  16758. "description": "申请时间",
  16759. "type": "string"
  16760. },
  16761. "auditid": {
  16762. "description": "审核人",
  16763. "type": "integer"
  16764. },
  16765. "auditname": {
  16766. "description": "审核人名称",
  16767. "type": "string"
  16768. },
  16769. "auditremark": {
  16770. "description": "审核备注",
  16771. "type": "string"
  16772. },
  16773. "auditsrc": {
  16774. "description": "审核来源 - 1:管理端 2:终端",
  16775. "type": "integer"
  16776. },
  16777. "audittime": {
  16778. "description": "审核时间",
  16779. "type": "string"
  16780. },
  16781. "audittradedate": {
  16782. "description": "审核交易日(yyyyMMdd)",
  16783. "type": "string"
  16784. },
  16785. "brandname": {
  16786. "description": "品牌名称",
  16787. "type": "string"
  16788. },
  16789. "buynickname": {
  16790. "description": "采购方昵称",
  16791. "type": "string"
  16792. },
  16793. "buyuserid": {
  16794. "description": "采购方userid",
  16795. "type": "integer"
  16796. },
  16797. "buyusername": {
  16798. "description": "采购方名称",
  16799. "type": "string"
  16800. },
  16801. "contractno": {
  16802. "description": "合同编号",
  16803. "type": "string"
  16804. },
  16805. "contractqty": {
  16806. "description": "合同量",
  16807. "type": "number"
  16808. },
  16809. "contracttype": {
  16810. "description": "现货合同类型 - 1:采购 -1:销售",
  16811. "type": "integer"
  16812. },
  16813. "deliverygoodscode": {
  16814. "description": "现货品种代码",
  16815. "type": "string"
  16816. },
  16817. "deliverygoodsid": {
  16818. "description": "现货品种id",
  16819. "type": "integer"
  16820. },
  16821. "deliverygoodsname": {
  16822. "description": "现货品种名称",
  16823. "type": "string"
  16824. },
  16825. "detailjson": {
  16826. "description": "明细数据",
  16827. "type": "string"
  16828. },
  16829. "enumdicname": {
  16830. "description": "现货商品单位名称",
  16831. "type": "string"
  16832. },
  16833. "inoutapplyid": {
  16834. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  16835. "type": "string"
  16836. },
  16837. "inouttype": {
  16838. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  16839. "type": "integer"
  16840. },
  16841. "pricetype": {
  16842. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16843. "type": "integer"
  16844. },
  16845. "qty": {
  16846. "description": "数量",
  16847. "type": "number"
  16848. },
  16849. "sellnickname": {
  16850. "description": "销售方昵称",
  16851. "type": "string"
  16852. },
  16853. "selluserid": {
  16854. "description": "销售方userid",
  16855. "type": "integer"
  16856. },
  16857. "sellusername": {
  16858. "description": "销售方名称",
  16859. "type": "string"
  16860. },
  16861. "spotcontractid": {
  16862. "description": "关联现货合同ID",
  16863. "type": "string"
  16864. },
  16865. "spotgoodsbrandid": {
  16866. "description": "现货品牌ID",
  16867. "type": "integer"
  16868. },
  16869. "unitid": {
  16870. "description": "单位id",
  16871. "type": "integer"
  16872. },
  16873. "userid": {
  16874. "description": "机构ID",
  16875. "type": "integer"
  16876. },
  16877. "warehousecode": {
  16878. "description": "仓库代码",
  16879. "type": "string"
  16880. },
  16881. "warehouseinfoid": {
  16882. "description": "现货仓库ID",
  16883. "type": "string"
  16884. },
  16885. "warehousename": {
  16886. "description": "仓库名称",
  16887. "type": "string"
  16888. },
  16889. "warehousetype": {
  16890. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16891. "type": "integer"
  16892. },
  16893. "wrstandardcode": {
  16894. "description": "品类代码",
  16895. "type": "string"
  16896. },
  16897. "wrstandardid": {
  16898. "description": "品类ID",
  16899. "type": "integer"
  16900. },
  16901. "wrstandardname": {
  16902. "description": "品类名称",
  16903. "type": "string"
  16904. }
  16905. }
  16906. },
  16907. "models.Ermcp3AreaStockApplySum": {
  16908. "type": "object",
  16909. "properties": {
  16910. "brandname": {
  16911. "description": "品牌名称",
  16912. "type": "string"
  16913. },
  16914. "inouttype": {
  16915. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  16916. "type": "integer"
  16917. },
  16918. "spotcontractid": {
  16919. "description": "关联现货合同ID",
  16920. "type": "string"
  16921. },
  16922. "spotgoodsbrandid": {
  16923. "description": "品牌id",
  16924. "type": "integer"
  16925. },
  16926. "totalqty": {
  16927. "description": "总数量",
  16928. "type": "number"
  16929. },
  16930. "wrstandardid": {
  16931. "description": "品类id",
  16932. "type": "integer"
  16933. },
  16934. "wrstandardname": {
  16935. "description": "品类名称",
  16936. "type": "string"
  16937. }
  16938. }
  16939. },
  16940. "models.Ermcp3AreaStockReportEx": {
  16941. "type": "object",
  16942. "properties": {
  16943. "begindate": {
  16944. "description": "开始交易日",
  16945. "type": "string"
  16946. },
  16947. "brandname": {
  16948. "description": "品牌名称",
  16949. "type": "string"
  16950. },
  16951. "curstock": {
  16952. "description": "期末库存量",
  16953. "type": "number"
  16954. },
  16955. "cycletime": {
  16956. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16957. "type": "string"
  16958. },
  16959. "cycletype": {
  16960. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16961. "type": "integer"
  16962. },
  16963. "deliverygoodscode": {
  16964. "description": "现货品种代码",
  16965. "type": "string"
  16966. },
  16967. "deliverygoodsid": {
  16968. "description": "现货品种id",
  16969. "type": "integer"
  16970. },
  16971. "deliverygoodsname": {
  16972. "description": "现货品种名称",
  16973. "type": "string"
  16974. },
  16975. "diffqty": {
  16976. "description": "库存变化量 = 期末 - 期初",
  16977. "type": "number"
  16978. },
  16979. "enddate": {
  16980. "description": "结束交易日",
  16981. "type": "string"
  16982. },
  16983. "enumdicname": {
  16984. "description": "单位名称",
  16985. "type": "string"
  16986. },
  16987. "goodsunitid": {
  16988. "description": "现货单位id",
  16989. "type": "integer"
  16990. },
  16991. "oristock": {
  16992. "description": "期初库存量",
  16993. "type": "number"
  16994. },
  16995. "reckondate": {
  16996. "description": "日照时期(yyyyMMdd)",
  16997. "type": "string"
  16998. },
  16999. "spotgoodsbrandid": {
  17000. "description": "现货品牌ID",
  17001. "type": "integer"
  17002. },
  17003. "todaybuyinqty": {
  17004. "description": "今采购入库量",
  17005. "type": "number"
  17006. },
  17007. "todayproduceinqty": {
  17008. "description": "今内部入库量",
  17009. "type": "number"
  17010. },
  17011. "todayproduceoutqty": {
  17012. "description": "今内部出库量",
  17013. "type": "number"
  17014. },
  17015. "todayselloutqty": {
  17016. "description": "今销售出库量",
  17017. "type": "number"
  17018. },
  17019. "unbuyinqty": {
  17020. "description": "采购未入库量(数据库未找到相关字段?)",
  17021. "type": "number"
  17022. },
  17023. "unitid": {
  17024. "description": "品类单位id",
  17025. "type": "integer"
  17026. },
  17027. "unselloutqty": {
  17028. "description": "销售未出库量(数据库未找到相关字段?)",
  17029. "type": "number"
  17030. },
  17031. "updatetime": {
  17032. "description": "更新时间",
  17033. "type": "string"
  17034. },
  17035. "userid": {
  17036. "description": "机构ID",
  17037. "type": "integer"
  17038. },
  17039. "username": {
  17040. "description": "机构名称",
  17041. "type": "string"
  17042. },
  17043. "warehousecode": {
  17044. "description": "仓库代码",
  17045. "type": "string"
  17046. },
  17047. "warehouseinfoid": {
  17048. "description": "仓库ID",
  17049. "type": "string"
  17050. },
  17051. "warehousename": {
  17052. "description": "仓库名称",
  17053. "type": "string"
  17054. },
  17055. "warehousetype": {
  17056. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17057. "type": "integer"
  17058. },
  17059. "wrstandardcode": {
  17060. "description": "品类代码",
  17061. "type": "string"
  17062. },
  17063. "wrstandardid": {
  17064. "description": "品类ID",
  17065. "type": "integer"
  17066. },
  17067. "wrstandardname": {
  17068. "description": "品类名称",
  17069. "type": "string"
  17070. }
  17071. }
  17072. },
  17073. "models.Ermcp3ArealSumPL": {
  17074. "type": "object",
  17075. "properties": {
  17076. "accountname": {
  17077. "description": "机构名称",
  17078. "type": "string"
  17079. },
  17080. "areauserid": {
  17081. "description": "所属机构\\交易用户ID",
  17082. "type": "integer"
  17083. },
  17084. "begindate": {
  17085. "description": "开始交易日",
  17086. "type": "string"
  17087. },
  17088. "currencyid": {
  17089. "description": "结算币种ID",
  17090. "type": "integer"
  17091. },
  17092. "currencyname": {
  17093. "description": "币种名称",
  17094. "type": "string"
  17095. },
  17096. "cycletime": {
  17097. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17098. "type": "string"
  17099. },
  17100. "cycletype": {
  17101. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17102. "type": "integer"
  17103. },
  17104. "enddate": {
  17105. "description": "结束交易日",
  17106. "type": "string"
  17107. },
  17108. "enumdicname": {
  17109. "description": "单位名称(套保品种)",
  17110. "type": "string"
  17111. },
  17112. "futureactualpl": {
  17113. "description": "期货损益",
  17114. "type": "number"
  17115. },
  17116. "futurefloatpl": {
  17117. "description": "期货浮动损益",
  17118. "type": "number"
  17119. },
  17120. "goodsunitid": {
  17121. "description": "套保品种单位id",
  17122. "type": "integer"
  17123. },
  17124. "middlegoodscode": {
  17125. "description": "套保品种代码",
  17126. "type": "string"
  17127. },
  17128. "middlegoodsid": {
  17129. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17130. "type": "integer"
  17131. },
  17132. "middlegoodsname": {
  17133. "description": "套保品种名称",
  17134. "type": "string"
  17135. },
  17136. "reckondate": {
  17137. "description": "日照时期(yyyyMMdd)",
  17138. "type": "string"
  17139. },
  17140. "spotactualpl": {
  17141. "description": "现货损益",
  17142. "type": "number"
  17143. },
  17144. "spotfloatpl": {
  17145. "description": "现货浮动损益",
  17146. "type": "number"
  17147. },
  17148. "sumactualpl": {
  17149. "description": "实际损益 = (ActualPL + FutureActualPL)",
  17150. "type": "number"
  17151. },
  17152. "sumpl": {
  17153. "description": "汇总损益",
  17154. "type": "number"
  17155. },
  17156. "updatetime": {
  17157. "description": "更新时间",
  17158. "type": "string"
  17159. }
  17160. }
  17161. },
  17162. "models.Ermcp3Brand": {
  17163. "type": "object",
  17164. "properties": {
  17165. "areauserid": {
  17166. "description": "用户id",
  17167. "type": "integer"
  17168. },
  17169. "brandid": {
  17170. "description": "品牌id",
  17171. "type": "integer"
  17172. },
  17173. "brandname": {
  17174. "description": "品牌名称",
  17175. "type": "string"
  17176. },
  17177. "deliverygoodsid": {
  17178. "description": "品种ID",
  17179. "type": "integer"
  17180. }
  17181. }
  17182. },
  17183. "models.Ermcp3Contract": {
  17184. "type": "object",
  17185. "properties": {
  17186. "accountid": {
  17187. "description": "期货账户id",
  17188. "type": "string"
  17189. },
  17190. "amount": {
  17191. "description": "金额 [1:一口价、3:暂定价]",
  17192. "type": "number"
  17193. },
  17194. "attachment": {
  17195. "description": "附件",
  17196. "type": "string"
  17197. },
  17198. "auditremark": {
  17199. "description": "审核意见",
  17200. "type": "string"
  17201. },
  17202. "audittime": {
  17203. "description": "审核时间",
  17204. "type": "string"
  17205. },
  17206. "biztype": {
  17207. "description": "业务类型 1-套保 2-套利",
  17208. "type": "integer"
  17209. },
  17210. "brandname": {
  17211. "description": "品牌名称",
  17212. "type": "string"
  17213. },
  17214. "buynickname": {
  17215. "description": "销售方昵称",
  17216. "type": "string"
  17217. },
  17218. "buyuserid": {
  17219. "description": "采购方ID",
  17220. "type": "integer"
  17221. },
  17222. "buyusername": {
  17223. "description": "采购方名称",
  17224. "type": "string"
  17225. },
  17226. "contracctstatus": {
  17227. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17228. "type": "integer"
  17229. },
  17230. "contractmargin": {
  17231. "description": "合同保证金",
  17232. "type": "number"
  17233. },
  17234. "contractno": {
  17235. "description": "现货合同编号",
  17236. "type": "string"
  17237. },
  17238. "contracttype": {
  17239. "description": "现货合同类型 - 1:采购 -1:销售",
  17240. "type": "integer"
  17241. },
  17242. "convertfactor": {
  17243. "description": "标仓系数(品类)",
  17244. "type": "number"
  17245. },
  17246. "createtime": {
  17247. "description": "创建时间",
  17248. "type": "string"
  17249. },
  17250. "currencyid": {
  17251. "description": "币种id",
  17252. "type": "integer"
  17253. },
  17254. "currencyname": {
  17255. "description": "币种名称",
  17256. "type": "string"
  17257. },
  17258. "deliveryenddate": {
  17259. "description": "交收期(结束)",
  17260. "type": "string"
  17261. },
  17262. "deliverygoodscode": {
  17263. "description": "现货品种代码",
  17264. "type": "string"
  17265. },
  17266. "deliverygoodsid": {
  17267. "description": "现货品种ID",
  17268. "type": "integer"
  17269. },
  17270. "deliverygoodsname": {
  17271. "description": "现货品种名称",
  17272. "type": "string"
  17273. },
  17274. "deliverystartdate": {
  17275. "description": "交收期(开始)",
  17276. "type": "string"
  17277. },
  17278. "enddate": {
  17279. "description": "点价结束日期 [2:点价 3:暂定价]",
  17280. "type": "string"
  17281. },
  17282. "enumdicname": {
  17283. "description": "单位名称",
  17284. "type": "string"
  17285. },
  17286. "goodscode": {
  17287. "description": "点价合约代码",
  17288. "type": "string"
  17289. },
  17290. "goodsid": {
  17291. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  17292. "type": "integer"
  17293. },
  17294. "goodsname": {
  17295. "description": "点价商品名称",
  17296. "type": "string"
  17297. },
  17298. "margin": {
  17299. "description": "当前保证金",
  17300. "type": "number"
  17301. },
  17302. "meruserid": {
  17303. "description": "跟单员id",
  17304. "type": "integer"
  17305. },
  17306. "meruserlogincode": {
  17307. "description": "跟单员登录代码",
  17308. "type": "string"
  17309. },
  17310. "merusername": {
  17311. "description": "跟单员名称",
  17312. "type": "string"
  17313. },
  17314. "price": {
  17315. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  17316. "type": "number"
  17317. },
  17318. "pricemove": {
  17319. "description": "升贴水 [2:点价 3:暂定价]",
  17320. "type": "number"
  17321. },
  17322. "pricetype": {
  17323. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17324. "type": "integer"
  17325. },
  17326. "producttype": {
  17327. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17328. "type": "integer"
  17329. },
  17330. "qty": {
  17331. "description": "数量",
  17332. "type": "number"
  17333. },
  17334. "remark": {
  17335. "description": "备注",
  17336. "type": "string"
  17337. },
  17338. "saleuserid": {
  17339. "description": "业务员id",
  17340. "type": "integer"
  17341. },
  17342. "saleuserlogincode": {
  17343. "description": "业务员登录代码",
  17344. "type": "string"
  17345. },
  17346. "saleusername": {
  17347. "description": "业务员名称",
  17348. "type": "string"
  17349. },
  17350. "sellnickname": {
  17351. "description": "采购方昵称",
  17352. "type": "string"
  17353. },
  17354. "selluserid": {
  17355. "description": "销售方ID",
  17356. "type": "integer"
  17357. },
  17358. "sellusername": {
  17359. "description": "销售方名称",
  17360. "type": "string"
  17361. },
  17362. "spotcontractid": {
  17363. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  17364. "type": "string"
  17365. },
  17366. "spotgoodsbrandid": {
  17367. "description": "现货品牌ID(DGFactoryItem表的ID)",
  17368. "type": "integer"
  17369. },
  17370. "spotgoodsdesc": {
  17371. "description": "商品型号",
  17372. "type": "string"
  17373. },
  17374. "startdate": {
  17375. "description": "点价开始日期 [2:点价 3:暂定价]",
  17376. "type": "string"
  17377. },
  17378. "tradeuserid": {
  17379. "description": "交易员id",
  17380. "type": "integer"
  17381. },
  17382. "tradeuserlogincode": {
  17383. "description": "交易员登录代码",
  17384. "type": "string"
  17385. },
  17386. "tradeusername": {
  17387. "description": "交易员名称",
  17388. "type": "string"
  17389. },
  17390. "unitid": {
  17391. "description": "单位id(取品类上的单位id)",
  17392. "type": "integer"
  17393. },
  17394. "updatetime": {
  17395. "description": "更新时间",
  17396. "type": "string"
  17397. },
  17398. "userid": {
  17399. "description": "所属机构ID",
  17400. "type": "integer"
  17401. },
  17402. "wrstandardcode": {
  17403. "description": "品类代码",
  17404. "type": "string"
  17405. },
  17406. "wrstandardid": {
  17407. "description": "品类ID",
  17408. "type": "integer"
  17409. },
  17410. "wrstandardname": {
  17411. "description": "品类名称",
  17412. "type": "string"
  17413. }
  17414. }
  17415. },
  17416. "models.Ermcp3ExposureContractDetail": {
  17417. "type": "object",
  17418. "properties": {
  17419. "biztype": {
  17420. "description": "业务类型 1-套保 2-套利",
  17421. "type": "integer"
  17422. },
  17423. "brandname": {
  17424. "description": "品牌名称",
  17425. "type": "string"
  17426. },
  17427. "buyuserid": {
  17428. "description": "采购方id",
  17429. "type": "integer"
  17430. },
  17431. "buyusername": {
  17432. "description": "采购方名称",
  17433. "type": "string"
  17434. },
  17435. "contractno": {
  17436. "description": "合同编号",
  17437. "type": "string"
  17438. },
  17439. "contracttype": {
  17440. "description": "现货合同类型 - 1:采购 -1:销售",
  17441. "type": "integer"
  17442. },
  17443. "convertfactor": {
  17444. "description": "标仓系数",
  17445. "type": "number"
  17446. },
  17447. "convertratio": {
  17448. "description": "折算系数(套保品种)",
  17449. "type": "number"
  17450. },
  17451. "curqty": {
  17452. "description": "今定价量",
  17453. "type": "number"
  17454. },
  17455. "deliverygoodscode": {
  17456. "description": "现货商品代码",
  17457. "type": "string"
  17458. },
  17459. "deliverygoodsid": {
  17460. "description": "现货商品id",
  17461. "type": "integer"
  17462. },
  17463. "deliverygoodsname": {
  17464. "description": "现货商品名称",
  17465. "type": "string"
  17466. },
  17467. "diffhedgeqty": {
  17468. "description": "套保变动量",
  17469. "type": "number"
  17470. },
  17471. "diffneedhedgeqty": {
  17472. "description": "应套保变动量",
  17473. "type": "number"
  17474. },
  17475. "diffqty": {
  17476. "description": "套保品种今变动量",
  17477. "type": "number"
  17478. },
  17479. "enumdicname": {
  17480. "description": "单位名称",
  17481. "type": "string"
  17482. },
  17483. "middlegoodscode": {
  17484. "description": "套保品种代码",
  17485. "type": "string"
  17486. },
  17487. "middlegoodsid": {
  17488. "description": "套保品种id",
  17489. "type": "integer"
  17490. },
  17491. "middlegoodsname": {
  17492. "description": "套保品种名称",
  17493. "type": "string"
  17494. },
  17495. "needarbitrageratio": {
  17496. "description": "应套利比例",
  17497. "type": "number"
  17498. },
  17499. "needhedgeratio": {
  17500. "description": "应套保比例",
  17501. "type": "number"
  17502. },
  17503. "pricedqty": {
  17504. "description": "已定价量",
  17505. "type": "number"
  17506. },
  17507. "qty": {
  17508. "description": "合同量",
  17509. "type": "number"
  17510. },
  17511. "selluserid": {
  17512. "description": "销售方id",
  17513. "type": "integer"
  17514. },
  17515. "sellusername": {
  17516. "description": "销售方名称",
  17517. "type": "string"
  17518. },
  17519. "spotcontractid": {
  17520. "description": "合同id",
  17521. "type": "string"
  17522. },
  17523. "todaypricedqty": {
  17524. "description": "今定价量",
  17525. "type": "number"
  17526. },
  17527. "tradedate": {
  17528. "description": "交易日",
  17529. "type": "string"
  17530. },
  17531. "unitid": {
  17532. "description": "品类单位id",
  17533. "type": "integer"
  17534. },
  17535. "userid": {
  17536. "description": "机构id",
  17537. "type": "integer"
  17538. },
  17539. "username": {
  17540. "description": "交易用户",
  17541. "type": "string"
  17542. },
  17543. "wrstandardcode": {
  17544. "description": "品类代码",
  17545. "type": "string"
  17546. },
  17547. "wrstandardid": {
  17548. "description": "品类id",
  17549. "type": "integer"
  17550. },
  17551. "wrstandardname": {
  17552. "description": "品类名称",
  17553. "type": "string"
  17554. }
  17555. }
  17556. },
  17557. "models.Ermcp3ExposureDetail": {
  17558. "type": "object",
  17559. "properties": {
  17560. "areauserid": {
  17561. "description": "机构ID",
  17562. "type": "integer"
  17563. },
  17564. "changeQty": {
  17565. "description": "套保变动量",
  17566. "type": "number"
  17567. },
  17568. "contracttype": {
  17569. "description": "现货合同类型 - 1:采购 -1:销售",
  17570. "type": "integer"
  17571. },
  17572. "convertfactor": {
  17573. "description": "标仓系数",
  17574. "type": "number"
  17575. },
  17576. "convertratio": {
  17577. "description": "套保系数",
  17578. "type": "number"
  17579. },
  17580. "createtime": {
  17581. "description": "时间",
  17582. "type": "string"
  17583. },
  17584. "deliverygoodscode": {
  17585. "description": "现货品种代码",
  17586. "type": "string"
  17587. },
  17588. "deliverygoodsid": {
  17589. "description": "现货品种id",
  17590. "type": "integer"
  17591. },
  17592. "deliverygoodsname": {
  17593. "description": "现货品种名称",
  17594. "type": "string"
  17595. },
  17596. "enumdicname": {
  17597. "description": "现货商品单位名称",
  17598. "type": "string"
  17599. },
  17600. "logtype": {
  17601. "description": "类型 - 1:套保计划 2:现货合同",
  17602. "type": "integer"
  17603. },
  17604. "mgunitid": {
  17605. "description": "套保品种单位id",
  17606. "type": "integer"
  17607. },
  17608. "mgunitidname": {
  17609. "description": "套保品种单位名称",
  17610. "type": "string"
  17611. },
  17612. "middlegoodsId": {
  17613. "description": "套保商品id",
  17614. "type": "integer"
  17615. },
  17616. "middlegoodscode": {
  17617. "description": "套保商品代码",
  17618. "type": "string"
  17619. },
  17620. "middlegoodsname": {
  17621. "description": "套保商品名称",
  17622. "type": "string"
  17623. },
  17624. "qty": {
  17625. "description": "数量",
  17626. "type": "number"
  17627. },
  17628. "relateNo": {
  17629. "description": "现货合同/套保计划编号",
  17630. "type": "string"
  17631. }
  17632. }
  17633. },
  17634. "models.Ermcp3ExposureFutuDetail": {
  17635. "type": "object",
  17636. "properties": {
  17637. "accountid": {
  17638. "description": "交易账户id",
  17639. "type": "integer"
  17640. },
  17641. "accountname": {
  17642. "description": "交易账户",
  17643. "type": "string"
  17644. },
  17645. "begindate": {
  17646. "description": "开始交易日",
  17647. "type": "string"
  17648. },
  17649. "buyorsell": {
  17650. "description": "方向 0-买 1-卖",
  17651. "type": "integer"
  17652. },
  17653. "diffmgqty": {
  17654. "description": "套保品种今变化量",
  17655. "type": "number"
  17656. },
  17657. "diffneedqty": {
  17658. "description": "应套保总量变化量",
  17659. "type": "number"
  17660. },
  17661. "difftradeqty": {
  17662. "description": "交易品种今变化量",
  17663. "type": "number"
  17664. },
  17665. "enddate": {
  17666. "description": "结束交易日",
  17667. "type": "string"
  17668. },
  17669. "enumdicname": {
  17670. "description": "单位名称",
  17671. "type": "string"
  17672. },
  17673. "goodscode": {
  17674. "description": "商品代码",
  17675. "type": "string"
  17676. },
  17677. "goodsid": {
  17678. "description": "商品id",
  17679. "type": "integer"
  17680. },
  17681. "goodsname": {
  17682. "description": "商品名称",
  17683. "type": "string"
  17684. },
  17685. "holdqty": {
  17686. "description": "期末持仓量",
  17687. "type": "number"
  17688. },
  17689. "middlegoodscode": {
  17690. "description": "套保商品代码",
  17691. "type": "string"
  17692. },
  17693. "middlegoodsid": {
  17694. "description": "套保商品id",
  17695. "type": "integer"
  17696. },
  17697. "middlegoodsname": {
  17698. "description": "套保商品名称",
  17699. "type": "string"
  17700. },
  17701. "oriholdqty": {
  17702. "description": "期初持仓量",
  17703. "type": "number"
  17704. },
  17705. "todaycloseqty": {
  17706. "description": "今平仓量",
  17707. "type": "number"
  17708. },
  17709. "todayopenqty": {
  17710. "description": "今开仓量",
  17711. "type": "number"
  17712. },
  17713. "tradedate": {
  17714. "description": "交易日",
  17715. "type": "string"
  17716. }
  17717. }
  17718. },
  17719. "models.Ermcp3ExposureHedgeplanDetail": {
  17720. "type": "object",
  17721. "properties": {
  17722. "biztype": {
  17723. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  17724. "type": "integer"
  17725. },
  17726. "changqty": {
  17727. "description": "应套保总量变化量",
  17728. "type": "number"
  17729. },
  17730. "contracttype": {
  17731. "description": "计划类型 - 1:采购 -1:销售",
  17732. "type": "integer"
  17733. },
  17734. "convertratio": {
  17735. "description": "折算系数(套保品种)",
  17736. "type": "number"
  17737. },
  17738. "deliverygoodscode": {
  17739. "description": "现货商品代码",
  17740. "type": "string"
  17741. },
  17742. "deliverygoodsid": {
  17743. "description": "现货商品id",
  17744. "type": "integer"
  17745. },
  17746. "deliverygoodsname": {
  17747. "description": "现货商吕名称",
  17748. "type": "string"
  17749. },
  17750. "dgunitid": {
  17751. "description": "现货商品单位id",
  17752. "type": "integer"
  17753. },
  17754. "dgunitidname": {
  17755. "description": "单位名称(现货商品)",
  17756. "type": "string"
  17757. },
  17758. "diffqty": {
  17759. "description": "套保品种今变动量",
  17760. "type": "number"
  17761. },
  17762. "enumdicname": {
  17763. "description": "单位名称(品类)",
  17764. "type": "string"
  17765. },
  17766. "hedgeplanid": {
  17767. "description": "套保计划id",
  17768. "type": "string"
  17769. },
  17770. "hedgeplanno": {
  17771. "description": "套保计划名称",
  17772. "type": "string"
  17773. },
  17774. "hedgeplanstatus": {
  17775. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17776. "type": "integer"
  17777. },
  17778. "mgunitidname": {
  17779. "description": "单位名称(套保商品)",
  17780. "type": "string"
  17781. },
  17782. "middlegoodscode": {
  17783. "description": "套保品种代码",
  17784. "type": "string"
  17785. },
  17786. "middlegoodsid": {
  17787. "description": "套保品种id",
  17788. "type": "integer"
  17789. },
  17790. "middlegoodsname": {
  17791. "description": "套保品种名称",
  17792. "type": "string"
  17793. },
  17794. "needarbitrageratio": {
  17795. "description": "应套利比例",
  17796. "type": "number"
  17797. },
  17798. "needhedgeratio": {
  17799. "description": "应套保比例",
  17800. "type": "number"
  17801. },
  17802. "pricedqty": {
  17803. "description": "已定价量",
  17804. "type": "number"
  17805. },
  17806. "qty": {
  17807. "description": "合同量",
  17808. "type": "number"
  17809. },
  17810. "tradedate": {
  17811. "description": "交易日(登记日)",
  17812. "type": "string"
  17813. },
  17814. "unitid": {
  17815. "description": "品类单位id",
  17816. "type": "integer"
  17817. },
  17818. "userid": {
  17819. "description": "机构id",
  17820. "type": "integer"
  17821. },
  17822. "wrstandardcode": {
  17823. "description": "品类代码",
  17824. "type": "string"
  17825. },
  17826. "wrstandardid": {
  17827. "description": "品类id",
  17828. "type": "integer"
  17829. },
  17830. "wrstandardname": {
  17831. "description": "品类名称",
  17832. "type": "string"
  17833. }
  17834. }
  17835. },
  17836. "models.Ermcp3ExposureParamChLog": {
  17837. "type": "object",
  17838. "properties": {
  17839. "accountid": {
  17840. "description": "期货账户ID (作废, 默认为0)",
  17841. "type": "integer"
  17842. },
  17843. "aftervalue": {
  17844. "description": "应套保\\套利量变更后(调整后应套保总量)",
  17845. "type": "number"
  17846. },
  17847. "areauserid": {
  17848. "description": "所属机构\\交易用户ID",
  17849. "type": "integer"
  17850. },
  17851. "beforevalue": {
  17852. "description": "应套保\\套利量变更前(调整前应套保总量)",
  17853. "type": "number"
  17854. },
  17855. "begindate": {
  17856. "description": "开始交易日",
  17857. "type": "string"
  17858. },
  17859. "changelogtype": {
  17860. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  17861. "type": "integer"
  17862. },
  17863. "curvalue": {
  17864. "description": "当前套保\\套利量(套保总量|套利总量)",
  17865. "type": "number"
  17866. },
  17867. "diffvalue": {
  17868. "description": "应套保总量变化量",
  17869. "type": "number"
  17870. },
  17871. "enddate": {
  17872. "description": "结束交易日",
  17873. "type": "string"
  17874. },
  17875. "logdatetime": {
  17876. "description": "流水日期",
  17877. "type": "string"
  17878. },
  17879. "logid": {
  17880. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  17881. "type": "string"
  17882. },
  17883. "middlegoodscode": {
  17884. "description": "套保品种代码",
  17885. "type": "string"
  17886. },
  17887. "middlegoodsid": {
  17888. "description": "套保品种",
  17889. "type": "integer"
  17890. },
  17891. "middlegoodsname": {
  17892. "description": "套保品种名称",
  17893. "type": "string"
  17894. },
  17895. "paramaftervalue": {
  17896. "description": "参数变更后(调整后参数值)",
  17897. "type": "number"
  17898. },
  17899. "parambeforevalue": {
  17900. "description": "参数变更前(调整前参数值)",
  17901. "type": "number"
  17902. },
  17903. "tradedate": {
  17904. "description": "交易日(yyyyMMdd)",
  17905. "type": "string"
  17906. }
  17907. }
  17908. },
  17909. "models.Ermcp3ExpourseReport": {
  17910. "type": "object",
  17911. "properties": {
  17912. "accountid": {
  17913. "description": "期货账户ID (作废, 默认为0)",
  17914. "type": "integer"
  17915. },
  17916. "accountname": {
  17917. "description": "机构名称",
  17918. "type": "string"
  17919. },
  17920. "arbitrageqty": {
  17921. "description": "套利量",
  17922. "type": "number"
  17923. },
  17924. "areauserid": {
  17925. "description": "所属机构\\交易用户ID",
  17926. "type": "integer"
  17927. },
  17928. "begindate": {
  17929. "description": "开始交易日",
  17930. "type": "string"
  17931. },
  17932. "buyfutureqty": {
  17933. "description": "买入期货数量",
  17934. "type": "number"
  17935. },
  17936. "buyplanqty": {
  17937. "description": "采购计划数量",
  17938. "type": "number"
  17939. },
  17940. "buypricedqty": {
  17941. "description": "采购合同已定价数量",
  17942. "type": "number"
  17943. },
  17944. "cycletime": {
  17945. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17946. "type": "string"
  17947. },
  17948. "cycletype": {
  17949. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17950. "type": "integer"
  17951. },
  17952. "diffexposure": {
  17953. "description": "变动量(套保敞口)",
  17954. "type": "number"
  17955. },
  17956. "difffutuqty": {
  17957. "description": "变动量(期货)",
  17958. "type": "number"
  17959. },
  17960. "diffhedgeqty": {
  17961. "description": "变动量(现货应套保总量)",
  17962. "type": "number"
  17963. },
  17964. "diffmgqtya": {
  17965. "description": "套保变动量",
  17966. "type": "number"
  17967. },
  17968. "diffmgqtyb": {
  17969. "description": "套利变动量",
  17970. "type": "number"
  17971. },
  17972. "diffqty": {
  17973. "description": "变动量(总敞口)",
  17974. "type": "number"
  17975. },
  17976. "diffspotqty": {
  17977. "description": "变动量(现货)",
  17978. "type": "number"
  17979. },
  17980. "enddate": {
  17981. "description": "结束交易日",
  17982. "type": "string"
  17983. },
  17984. "enumdicname": {
  17985. "description": "单位名称",
  17986. "type": "string"
  17987. },
  17988. "hedgeqty": {
  17989. "description": "套保量",
  17990. "type": "number"
  17991. },
  17992. "mgneedhedgeratio": {
  17993. "description": "套保比例(套保品的)",
  17994. "type": "number"
  17995. },
  17996. "middlegoodsid": {
  17997. "description": "套保品种ID",
  17998. "type": "integer"
  17999. },
  18000. "middlegoodsname": {
  18001. "description": "套保商品名称",
  18002. "type": "string"
  18003. },
  18004. "middlgoodscode": {
  18005. "description": "套保商品代码",
  18006. "type": "string"
  18007. },
  18008. "needarbitrageqty": {
  18009. "description": "应套利量",
  18010. "type": "number"
  18011. },
  18012. "needarbitrageratio": {
  18013. "description": "套利比例(套保品的)",
  18014. "type": "number"
  18015. },
  18016. "needhedgeexposoure": {
  18017. "description": "应套保敞口(套保敞口)",
  18018. "type": "number"
  18019. },
  18020. "needhedgeqty": {
  18021. "description": "应套保量",
  18022. "type": "number"
  18023. },
  18024. "needhedgeratio": {
  18025. "description": "应套保敞口比例",
  18026. "type": "number"
  18027. },
  18028. "oriarbitrageqty": {
  18029. "description": "期初套利量",
  18030. "type": "number"
  18031. },
  18032. "oribuyfutureqty": {
  18033. "description": "期初买入期货数量",
  18034. "type": "number"
  18035. },
  18036. "oribuyplanqty": {
  18037. "description": "期初采购计划数量",
  18038. "type": "number"
  18039. },
  18040. "oribuypricedqty": {
  18041. "description": "期初采购合同已定价数量",
  18042. "type": "number"
  18043. },
  18044. "orihedgeqty": {
  18045. "description": "期初套保量",
  18046. "type": "number"
  18047. },
  18048. "orineedarbitrageqty": {
  18049. "description": "期初应套利量",
  18050. "type": "number"
  18051. },
  18052. "orineedhedgeexposoure": {
  18053. "description": "期初应套保敞口",
  18054. "type": "number"
  18055. },
  18056. "orineedhedgeqty": {
  18057. "description": "期初应套保量",
  18058. "type": "number"
  18059. },
  18060. "orisellfutureqty": {
  18061. "description": "期初卖出期货数量",
  18062. "type": "number"
  18063. },
  18064. "orisellplanqty": {
  18065. "description": "期初销售计划数量",
  18066. "type": "number"
  18067. },
  18068. "orisellpricedqty": {
  18069. "description": "期初销售合同已定价数量",
  18070. "type": "number"
  18071. },
  18072. "oritotalexposure": {
  18073. "description": "期初实时总敞口",
  18074. "type": "number"
  18075. },
  18076. "oritotalfutureqty": {
  18077. "description": "期初期货头寸总量",
  18078. "type": "number"
  18079. },
  18080. "oritotalneedhedgeqty": {
  18081. "description": "期初应套保总量",
  18082. "type": "number"
  18083. },
  18084. "oritotalspotqty": {
  18085. "description": "期初现货头寸总量",
  18086. "type": "number"
  18087. },
  18088. "reckondate": {
  18089. "description": "日照时期(yyyyMMdd)",
  18090. "type": "string"
  18091. },
  18092. "sellfutureqty": {
  18093. "description": "卖出期货数量",
  18094. "type": "number"
  18095. },
  18096. "sellplanqty": {
  18097. "description": "销售计划数量",
  18098. "type": "number"
  18099. },
  18100. "sellpricedqty": {
  18101. "description": "销售合同已定价数量",
  18102. "type": "number"
  18103. },
  18104. "totalexposure": {
  18105. "description": "实时总敞口(总敞口)",
  18106. "type": "number"
  18107. },
  18108. "totalfutureqty": {
  18109. "description": "期货头寸总量(期货总量)",
  18110. "type": "number"
  18111. },
  18112. "totalhedgeratio": {
  18113. "description": "敞口比例",
  18114. "type": "number"
  18115. },
  18116. "totalneedhedgeqty": {
  18117. "description": "应套保总量(现货应套保总量)",
  18118. "type": "number"
  18119. },
  18120. "totalspotqty": {
  18121. "description": "现货头寸总量",
  18122. "type": "number"
  18123. },
  18124. "unitid": {
  18125. "description": "单位id",
  18126. "type": "integer"
  18127. },
  18128. "updatetime": {
  18129. "description": "更新时间",
  18130. "type": "string"
  18131. }
  18132. }
  18133. },
  18134. "models.Ermcp3FinanceReport": {
  18135. "type": "object",
  18136. "properties": {
  18137. "accountname": {
  18138. "description": "机构名称",
  18139. "type": "string"
  18140. },
  18141. "areauserid": {
  18142. "description": "所属机构\\交易用户ID",
  18143. "type": "integer"
  18144. },
  18145. "begindate": {
  18146. "description": "开始交易日",
  18147. "type": "string"
  18148. },
  18149. "biztype": {
  18150. "description": "业务类型 - 1:套保 2:套利",
  18151. "type": "integer"
  18152. },
  18153. "brandname": {
  18154. "description": "品牌名称",
  18155. "type": "string"
  18156. },
  18157. "buypreinvoicedamount": {
  18158. "description": "采购预收票额(预收票额)",
  18159. "type": "number"
  18160. },
  18161. "buyprepaidamount": {
  18162. "description": "采购预付款额(预付货款额)",
  18163. "type": "number"
  18164. },
  18165. "buytodayinvoiceamount": {
  18166. "description": "采购今收票额(今收票额)",
  18167. "type": "number"
  18168. },
  18169. "buytodayrefundamount": {
  18170. "description": "采购今收退款额(今收退款额)",
  18171. "type": "number"
  18172. },
  18173. "buytodaysettleamount": {
  18174. "description": "采购今付款额(今付货款额)",
  18175. "type": "number"
  18176. },
  18177. "buyuninvoicedamount": {
  18178. "description": "采购应收票额(应收票额)",
  18179. "type": "number"
  18180. },
  18181. "buyunpaidamount": {
  18182. "description": "采购应付款额(应付货款额)",
  18183. "type": "number"
  18184. },
  18185. "currencyid": {
  18186. "description": "结算币种ID",
  18187. "type": "integer"
  18188. },
  18189. "currencyname": {
  18190. "description": "币种名称",
  18191. "type": "string"
  18192. },
  18193. "cycletime": {
  18194. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18195. "type": "string"
  18196. },
  18197. "cycletype": {
  18198. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18199. "type": "integer"
  18200. },
  18201. "deliverygoodscode": {
  18202. "description": "现货品种代码",
  18203. "type": "string"
  18204. },
  18205. "deliverygoodsid": {
  18206. "description": "现货品种ID",
  18207. "type": "integer"
  18208. },
  18209. "deliverygoodsname": {
  18210. "description": "现货品种名称",
  18211. "type": "string"
  18212. },
  18213. "enddate": {
  18214. "description": "结束交易日",
  18215. "type": "string"
  18216. },
  18217. "reckondate": {
  18218. "description": "日照时期(yyyyMMdd)",
  18219. "type": "string"
  18220. },
  18221. "sellpreinvoicedamount": {
  18222. "description": "销售预开票额(预开票额)",
  18223. "type": "number"
  18224. },
  18225. "sellprepaidamount": {
  18226. "description": "销售预收款额(预收货款额)",
  18227. "type": "number"
  18228. },
  18229. "selltodayinvoiceamount": {
  18230. "description": "销售今开票额(今开票额)",
  18231. "type": "number"
  18232. },
  18233. "selltodayrefundamount": {
  18234. "description": "销售今付退款额(今付退款额)",
  18235. "type": "number"
  18236. },
  18237. "selltodaysettleamount": {
  18238. "description": "销售今收款额(今收货款额)",
  18239. "type": "number"
  18240. },
  18241. "selluninvoicedamount": {
  18242. "description": "销售应开票额(应开票额)",
  18243. "type": "number"
  18244. },
  18245. "sellunpaidamount": {
  18246. "description": "销售应收款额(应收货款额)",
  18247. "type": "number"
  18248. },
  18249. "spotgoodsbrandid": {
  18250. "description": "现货品牌ID",
  18251. "type": "integer"
  18252. },
  18253. "todaypaysum": {
  18254. "description": "今付款合计",
  18255. "type": "number"
  18256. },
  18257. "todayreceivesum": {
  18258. "description": "今收款合计",
  18259. "type": "number"
  18260. },
  18261. "updatetime": {
  18262. "description": "更新时间",
  18263. "type": "string"
  18264. },
  18265. "wrfactortypeid": {
  18266. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  18267. "type": "integer"
  18268. },
  18269. "wrstandardcode": {
  18270. "description": "品类代码",
  18271. "type": "string"
  18272. },
  18273. "wrstandardid": {
  18274. "description": "现货商品ID",
  18275. "type": "integer"
  18276. },
  18277. "wrstandardname": {
  18278. "description": "品类名称",
  18279. "type": "string"
  18280. }
  18281. }
  18282. },
  18283. "models.Ermcp3Goods": {
  18284. "type": "object",
  18285. "properties": {
  18286. "agreeunit": {
  18287. "description": "合约单位(合约乘数)",
  18288. "type": "number"
  18289. },
  18290. "enumdicname": {
  18291. "description": "单位名称",
  18292. "type": "string"
  18293. },
  18294. "exexchangecode": {
  18295. "description": "交易所代码",
  18296. "type": "string"
  18297. },
  18298. "goodscode": {
  18299. "description": "期货商品代码",
  18300. "type": "string"
  18301. },
  18302. "goodsid": {
  18303. "description": "期货商品id",
  18304. "type": "integer"
  18305. },
  18306. "goodsname": {
  18307. "description": "期货商品名称",
  18308. "type": "string"
  18309. }
  18310. }
  18311. },
  18312. "models.Ermcp3GoodsGroup": {
  18313. "type": "object",
  18314. "required": [
  18315. "areauserid"
  18316. ],
  18317. "properties": {
  18318. "agreeunit": {
  18319. "description": "合约单位",
  18320. "type": "number"
  18321. },
  18322. "areauserid": {
  18323. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  18324. "type": "integer"
  18325. },
  18326. "canshort": {
  18327. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  18328. "type": "integer"
  18329. },
  18330. "closepricemode": {
  18331. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18332. "type": "integer"
  18333. },
  18334. "createtime": {
  18335. "description": "创建时间",
  18336. "type": "string"
  18337. },
  18338. "creatorid": {
  18339. "description": "创建人",
  18340. "type": "integer"
  18341. },
  18342. "currencyid": {
  18343. "description": "报价货币ID",
  18344. "type": "integer"
  18345. },
  18346. "decimalplace": {
  18347. "description": "报价小数位",
  18348. "type": "integer"
  18349. },
  18350. "enumdicname": {
  18351. "description": "单位名称",
  18352. "type": "string"
  18353. },
  18354. "exchangefullname": {
  18355. "description": "交易所全称",
  18356. "type": "string"
  18357. },
  18358. "excludecfg": {
  18359. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  18360. "type": "integer"
  18361. },
  18362. "exexchangecode": {
  18363. "description": "交易所代码",
  18364. "type": "string"
  18365. },
  18366. "exexchangeid": {
  18367. "description": "外部交易所ID[通道交易]",
  18368. "type": "integer"
  18369. },
  18370. "exexchangename": {
  18371. "description": "交易所名称",
  18372. "type": "string"
  18373. },
  18374. "goodsgroupid": {
  18375. "description": "商品组ID(自增ID)",
  18376. "type": "integer"
  18377. },
  18378. "goodsgroupname": {
  18379. "description": "商品组名称",
  18380. "type": "string"
  18381. },
  18382. "goodsgroupstatus": {
  18383. "description": "商品组状态 - 1:正常 2:注销",
  18384. "type": "integer"
  18385. },
  18386. "goodunitid": {
  18387. "description": "报价单位ID",
  18388. "type": "integer"
  18389. },
  18390. "groupcategroyid": {
  18391. "description": "品种分类ID",
  18392. "type": "integer"
  18393. },
  18394. "innerdealmode": {
  18395. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18396. "type": "integer"
  18397. },
  18398. "marketid": {
  18399. "description": "所属市场ID",
  18400. "type": "integer"
  18401. },
  18402. "modifierid": {
  18403. "description": "修改人",
  18404. "type": "integer"
  18405. },
  18406. "modifytime": {
  18407. "description": "修改时间",
  18408. "type": "string"
  18409. },
  18410. "outerdealmode": {
  18411. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18412. "type": "integer"
  18413. },
  18414. "outergroupcode": {
  18415. "description": "外部商品组代码[通道交易]",
  18416. "type": "string"
  18417. },
  18418. "quoteminunit": {
  18419. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18420. "type": "integer"
  18421. },
  18422. "quotesourcegroupid": {
  18423. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  18424. "type": "integer"
  18425. },
  18426. "syncgoodsqty": {
  18427. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  18428. "type": "integer"
  18429. }
  18430. }
  18431. },
  18432. "models.Ermcp3GoodsGroupEx": {
  18433. "type": "object",
  18434. "properties": {
  18435. "convertratio": {
  18436. "description": "折算系数(品种系数)",
  18437. "type": "number"
  18438. },
  18439. "enumdicname": {
  18440. "description": "单位名称",
  18441. "type": "string"
  18442. },
  18443. "exexchangecode": {
  18444. "description": "交易所代码",
  18445. "type": "string"
  18446. },
  18447. "glist": {
  18448. "description": "合约列表",
  18449. "type": "array",
  18450. "items": {
  18451. "$ref": "#/definitions/models.Ermcp3Goods"
  18452. }
  18453. },
  18454. "goodsgroupid": {
  18455. "description": "商品组id",
  18456. "type": "integer"
  18457. },
  18458. "goodsgroupname": {
  18459. "description": "商品组名称",
  18460. "type": "string"
  18461. },
  18462. "goodsunitid": {
  18463. "description": "单位id",
  18464. "type": "integer"
  18465. },
  18466. "middlegoodsid": {
  18467. "description": "套保商品id",
  18468. "type": "integer"
  18469. }
  18470. }
  18471. },
  18472. "models.Ermcp3HedgePlan": {
  18473. "type": "object",
  18474. "properties": {
  18475. "accountid": {
  18476. "description": "资金账号",
  18477. "type": "integer"
  18478. },
  18479. "areauserid": {
  18480. "description": "用户ID",
  18481. "type": "integer"
  18482. },
  18483. "auditid": {
  18484. "description": "审核id",
  18485. "type": "integer"
  18486. },
  18487. "auditname": {
  18488. "description": "审核人名称",
  18489. "type": "string"
  18490. },
  18491. "auditremark": {
  18492. "description": "审核备注",
  18493. "type": "string"
  18494. },
  18495. "auditsrc": {
  18496. "description": "审核来源 1-管理端 2-终端",
  18497. "type": "integer"
  18498. },
  18499. "audittime": {
  18500. "description": "审核时间",
  18501. "type": "string"
  18502. },
  18503. "contracttype": {
  18504. "description": "计划类型 - 1:采购 -1:销售",
  18505. "type": "integer"
  18506. },
  18507. "convertfactor": {
  18508. "description": "标仓系数",
  18509. "type": "number"
  18510. },
  18511. "createtime": {
  18512. "description": "创建时间",
  18513. "type": "string"
  18514. },
  18515. "currencyid": {
  18516. "description": "币种id",
  18517. "type": "integer"
  18518. },
  18519. "currencyname": {
  18520. "description": "币种名称",
  18521. "type": "string"
  18522. },
  18523. "deliverygoodscode": {
  18524. "description": "现货品种代码",
  18525. "type": "string"
  18526. },
  18527. "deliverygoodsid": {
  18528. "description": "现货品种ID",
  18529. "type": "integer"
  18530. },
  18531. "deliverygoodsname": {
  18532. "description": "现货品种名称",
  18533. "type": "string"
  18534. },
  18535. "enumdicname": {
  18536. "description": "单位名称(现货商品)",
  18537. "type": "string"
  18538. },
  18539. "hedgeplanid": {
  18540. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  18541. "type": "string"
  18542. },
  18543. "hedgeplanno": {
  18544. "description": "套保计划编号(名称)",
  18545. "type": "string"
  18546. },
  18547. "hedgeplanstatus": {
  18548. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18549. "type": "integer"
  18550. },
  18551. "planqty": {
  18552. "description": "计划数量",
  18553. "type": "number"
  18554. },
  18555. "plantime": {
  18556. "description": "计划时间",
  18557. "type": "string"
  18558. },
  18559. "producttype": {
  18560. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18561. "type": "integer"
  18562. },
  18563. "remark": {
  18564. "description": "备注",
  18565. "type": "string"
  18566. },
  18567. "spotgoodsdesc": {
  18568. "description": "商品型号",
  18569. "type": "string"
  18570. },
  18571. "taaccountname": {
  18572. "description": "资金账号名称",
  18573. "type": "string"
  18574. },
  18575. "tradeuserid": {
  18576. "description": "交易用户id",
  18577. "type": "integer"
  18578. },
  18579. "tradeusername": {
  18580. "description": "交易用户名称",
  18581. "type": "string"
  18582. },
  18583. "unitid": {
  18584. "description": "单位id(现货商品)",
  18585. "type": "integer"
  18586. },
  18587. "updatetime": {
  18588. "description": "更新时间",
  18589. "type": "string"
  18590. },
  18591. "wrstandardcode": {
  18592. "description": "品类代码",
  18593. "type": "string"
  18594. },
  18595. "wrstandardid": {
  18596. "description": "品类id",
  18597. "type": "integer"
  18598. },
  18599. "wrstandardname": {
  18600. "description": "品类名称",
  18601. "type": "string"
  18602. },
  18603. "wrunitid": {
  18604. "description": "品类单位id",
  18605. "type": "integer"
  18606. },
  18607. "wrunitidame": {
  18608. "description": "品类单位名称",
  18609. "type": "string"
  18610. }
  18611. }
  18612. },
  18613. "models.Ermcp3MiddleGoodsDetail2": {
  18614. "type": "object",
  18615. "properties": {
  18616. "convertratio": {
  18617. "description": "套保系数(折算系数)",
  18618. "type": "number"
  18619. },
  18620. "gplist": {
  18621. "description": "关联商品组列表",
  18622. "type": "array",
  18623. "items": {
  18624. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  18625. }
  18626. },
  18627. "mg": {
  18628. "description": "套保商品信息",
  18629. "type": "object",
  18630. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18631. }
  18632. }
  18633. },
  18634. "models.Ermcp3MiddleGoodsDetailEx": {
  18635. "type": "object",
  18636. "properties": {
  18637. "dglist": {
  18638. "description": "关联的现货品种列表",
  18639. "type": "array",
  18640. "items": {
  18641. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  18642. }
  18643. },
  18644. "gplist": {
  18645. "description": "关联商品组列表",
  18646. "type": "array",
  18647. "items": {
  18648. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  18649. }
  18650. },
  18651. "mg": {
  18652. "description": "套保商品信息",
  18653. "type": "object",
  18654. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18655. }
  18656. }
  18657. },
  18658. "models.Ermcp3RootUserAccount": {
  18659. "type": "object",
  18660. "properties": {
  18661. "accountname": {
  18662. "description": "账户名称(机构名称)",
  18663. "type": "string"
  18664. },
  18665. "accountstatus": {
  18666. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  18667. "type": "integer"
  18668. },
  18669. "applysrc": {
  18670. "description": "申请来源 - 1:管理端 2:终端",
  18671. "type": "integer"
  18672. },
  18673. "auditremark": {
  18674. "description": "审核备注",
  18675. "type": "string"
  18676. },
  18677. "auditsrc": {
  18678. "description": "审核来源 - 1:管理端 2:终端",
  18679. "type": "integer"
  18680. },
  18681. "audittime": {
  18682. "description": "审核时间",
  18683. "type": "string"
  18684. },
  18685. "audituserid": {
  18686. "description": "审核人",
  18687. "type": "integer"
  18688. },
  18689. "broker": {
  18690. "description": "所属经纪人ID",
  18691. "type": "integer"
  18692. },
  18693. "canceltime": {
  18694. "description": "销户时间",
  18695. "type": "string"
  18696. },
  18697. "canceluserid": {
  18698. "description": "销户人",
  18699. "type": "integer"
  18700. },
  18701. "canrecommend": {
  18702. "description": "是否可推荐 - 0:不可 1;可",
  18703. "type": "integer"
  18704. },
  18705. "createtime": {
  18706. "description": "创建时间",
  18707. "type": "string"
  18708. },
  18709. "creatorid": {
  18710. "description": "创建人",
  18711. "type": "integer"
  18712. },
  18713. "hasauth": {
  18714. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  18715. "type": "integer"
  18716. },
  18717. "isanonymous": {
  18718. "description": "是否匿名下单 - 0:否 1:是",
  18719. "type": "integer"
  18720. },
  18721. "maxinvestornum": {
  18722. "description": "最大用户数(经纪会员下投资者个数)",
  18723. "type": "integer"
  18724. },
  18725. "memberuserid": {
  18726. "description": "所属会员ID",
  18727. "type": "integer"
  18728. },
  18729. "modifierid": {
  18730. "description": "修改人",
  18731. "type": "integer"
  18732. },
  18733. "modifyremark": {
  18734. "description": "变更备注",
  18735. "type": "string"
  18736. },
  18737. "modifystatus": {
  18738. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  18739. "type": "integer"
  18740. },
  18741. "modifytime": {
  18742. "description": "修改时间",
  18743. "type": "string"
  18744. },
  18745. "parenttopuser": {
  18746. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  18747. "type": "string"
  18748. },
  18749. "parentuserid": {
  18750. "description": "所属机构ID",
  18751. "type": "integer"
  18752. },
  18753. "reckonaccountid": {
  18754. "description": "默认结算资金账号ID(机构分润使用) 作废",
  18755. "type": "integer"
  18756. },
  18757. "refercount": {
  18758. "description": "推荐总人数",
  18759. "type": "integer"
  18760. },
  18761. "refereeuserid": {
  18762. "description": "推荐人ID",
  18763. "type": "integer"
  18764. },
  18765. "refernum": {
  18766. "description": "推荐码",
  18767. "type": "string"
  18768. },
  18769. "rootuserid": {
  18770. "description": "根用户ID",
  18771. "type": "integer"
  18772. },
  18773. "subaccountlevel": {
  18774. "description": "子账户层数",
  18775. "type": "integer"
  18776. },
  18777. "subarealevelpath": {
  18778. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  18779. "type": "string"
  18780. },
  18781. "userid": {
  18782. "description": "用户ID",
  18783. "type": "integer"
  18784. },
  18785. "usertype": {
  18786. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  18787. "type": "integer"
  18788. }
  18789. }
  18790. },
  18791. "models.Ermcp3SellBuyContract": {
  18792. "type": "object",
  18793. "properties": {
  18794. "accountid": {
  18795. "description": "期货账户id",
  18796. "type": "string"
  18797. },
  18798. "accountname": {
  18799. "description": "账户名称",
  18800. "type": "string"
  18801. },
  18802. "attachment": {
  18803. "description": "附件",
  18804. "type": "string"
  18805. },
  18806. "audittime": {
  18807. "description": "审核时间",
  18808. "type": "string"
  18809. },
  18810. "biztype": {
  18811. "description": "业务类型 1-套保 2-套利",
  18812. "type": "integer"
  18813. },
  18814. "brandname": {
  18815. "description": "品牌名称",
  18816. "type": "string"
  18817. },
  18818. "contracctstatus": {
  18819. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18820. "type": "integer"
  18821. },
  18822. "contractmargin": {
  18823. "description": "合同保证金",
  18824. "type": "number"
  18825. },
  18826. "contractno": {
  18827. "description": "合同编号",
  18828. "type": "string"
  18829. },
  18830. "contracttype": {
  18831. "description": "合同类型 1-采购, -1-销售",
  18832. "type": "integer"
  18833. },
  18834. "convertfactor": {
  18835. "description": "标仓系数(品类)",
  18836. "type": "number"
  18837. },
  18838. "createtime": {
  18839. "description": "创建时间",
  18840. "type": "string"
  18841. },
  18842. "currencyid": {
  18843. "description": "币种id",
  18844. "type": "integer"
  18845. },
  18846. "currencyname": {
  18847. "description": "币种名称",
  18848. "type": "string"
  18849. },
  18850. "daikaiamount": {
  18851. "description": "应收(开)票额",
  18852. "type": "number"
  18853. },
  18854. "deliveryenddate": {
  18855. "description": "交割结束日",
  18856. "type": "string"
  18857. },
  18858. "deliverygoodscode": {
  18859. "description": "现货品种代码",
  18860. "type": "string"
  18861. },
  18862. "deliverygoodsid": {
  18863. "description": "现货商品ID",
  18864. "type": "integer"
  18865. },
  18866. "deliverygoodsname": {
  18867. "description": "现货品种名称",
  18868. "type": "string"
  18869. },
  18870. "deliverystartdate": {
  18871. "description": "交割开始日",
  18872. "type": "string"
  18873. },
  18874. "enddate": {
  18875. "description": "点价结束日",
  18876. "type": "string"
  18877. },
  18878. "enumdicname": {
  18879. "description": "单位名称",
  18880. "type": "string"
  18881. },
  18882. "goodscode": {
  18883. "description": "点价商品代码",
  18884. "type": "string"
  18885. },
  18886. "goodsid": {
  18887. "description": "点价商品ID",
  18888. "type": "integer"
  18889. },
  18890. "goodsname": {
  18891. "description": "点价商品名称",
  18892. "type": "string"
  18893. },
  18894. "invoiceamount": {
  18895. "description": "已开票额",
  18896. "type": "number"
  18897. },
  18898. "loanamount": {
  18899. "description": "贷款总额=已定价额+调整金额",
  18900. "type": "number"
  18901. },
  18902. "margin": {
  18903. "description": "保证金",
  18904. "type": "number"
  18905. },
  18906. "meruserid": {
  18907. "description": "跟单员id",
  18908. "type": "integer"
  18909. },
  18910. "meruserlogincode": {
  18911. "description": "跟单员登录代码",
  18912. "type": "string"
  18913. },
  18914. "merusername": {
  18915. "description": "跟单员名称",
  18916. "type": "string"
  18917. },
  18918. "nickname": {
  18919. "description": "账户昵称",
  18920. "type": "string"
  18921. },
  18922. "payamount": {
  18923. "description": "已收付额(收款或付款)",
  18924. "type": "number"
  18925. },
  18926. "preinvoiceamount": {
  18927. "description": "预收(开)票额",
  18928. "type": "number"
  18929. },
  18930. "prepayamount": {
  18931. "description": "预收付额",
  18932. "type": "number"
  18933. },
  18934. "price": {
  18935. "description": "价格",
  18936. "type": "number"
  18937. },
  18938. "pricedamount": {
  18939. "description": "已定价额",
  18940. "type": "number"
  18941. },
  18942. "pricedavg": {
  18943. "description": "已点均价",
  18944. "type": "number"
  18945. },
  18946. "pricedqty": {
  18947. "description": "已定价量",
  18948. "type": "number"
  18949. },
  18950. "pricemove": {
  18951. "description": "升贴水",
  18952. "type": "number"
  18953. },
  18954. "pricetype": {
  18955. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18956. "type": "integer"
  18957. },
  18958. "producttype": {
  18959. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18960. "type": "integer"
  18961. },
  18962. "qty": {
  18963. "description": "合同量",
  18964. "type": "number"
  18965. },
  18966. "reckonadjustamount": {
  18967. "description": "调整金额",
  18968. "type": "number"
  18969. },
  18970. "reckonedamount": {
  18971. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  18972. "type": "number"
  18973. },
  18974. "reckonotheramount": {
  18975. "description": "其它费用",
  18976. "type": "number"
  18977. },
  18978. "reckonrealqty": {
  18979. "description": "已确定量",
  18980. "type": "number"
  18981. },
  18982. "remark": {
  18983. "description": "备注",
  18984. "type": "string"
  18985. },
  18986. "saleuserid": {
  18987. "description": "业务员id",
  18988. "type": "integer"
  18989. },
  18990. "saleuserlogincode": {
  18991. "description": "业务员登录代码",
  18992. "type": "string"
  18993. },
  18994. "saleusername": {
  18995. "description": "业务员名称",
  18996. "type": "string"
  18997. },
  18998. "spotcontractid": {
  18999. "description": "合同ID",
  19000. "type": "string"
  19001. },
  19002. "spotgoodsbrandid": {
  19003. "description": "现货品牌ID(DGFactoryItem表的ID)",
  19004. "type": "integer"
  19005. },
  19006. "spotgoodsdesc": {
  19007. "description": "商品型号(商品规格)",
  19008. "type": "string"
  19009. },
  19010. "startdate": {
  19011. "description": "点价开始日",
  19012. "type": "string"
  19013. },
  19014. "totalamount": {
  19015. "description": "合计总额",
  19016. "type": "number"
  19017. },
  19018. "tradeuserid": {
  19019. "description": "交易员id",
  19020. "type": "integer"
  19021. },
  19022. "tradeuserlogincode": {
  19023. "description": "交易员登录代码",
  19024. "type": "string"
  19025. },
  19026. "tradeusername": {
  19027. "description": "交易员名称",
  19028. "type": "string"
  19029. },
  19030. "unpayamount": {
  19031. "description": "应收付款额(应支付或应收款)",
  19032. "type": "number"
  19033. },
  19034. "unpricedqty": {
  19035. "description": "未定价量",
  19036. "type": "number"
  19037. },
  19038. "unsureqty": {
  19039. "description": "未确定量",
  19040. "type": "number"
  19041. },
  19042. "userid": {
  19043. "description": "机构ID",
  19044. "type": "integer"
  19045. },
  19046. "wrstandardcode": {
  19047. "description": "品类代码",
  19048. "type": "string"
  19049. },
  19050. "wrstandardid": {
  19051. "description": "品类ID",
  19052. "type": "integer"
  19053. },
  19054. "wrstandardname": {
  19055. "description": "品类名称",
  19056. "type": "string"
  19057. }
  19058. }
  19059. },
  19060. "models.Ermcp3SpotGoodsPrice": {
  19061. "type": "object",
  19062. "properties": {
  19063. "areauserid": {
  19064. "description": "所属机构id",
  19065. "type": "integer"
  19066. },
  19067. "brandname": {
  19068. "description": "品牌名称",
  19069. "type": "string"
  19070. },
  19071. "currencyid": {
  19072. "description": "报价货币ID",
  19073. "type": "integer"
  19074. },
  19075. "currencyname": {
  19076. "description": "币种名称",
  19077. "type": "string"
  19078. },
  19079. "deliverygoodscode": {
  19080. "description": "现货商品代码",
  19081. "type": "string"
  19082. },
  19083. "deliverygoodsid": {
  19084. "description": "现货商品id",
  19085. "type": "integer"
  19086. },
  19087. "deliverygoodsname": {
  19088. "description": "现货商品名称",
  19089. "type": "string"
  19090. },
  19091. "enumdicname": {
  19092. "description": "现货商品单位名称",
  19093. "type": "string"
  19094. },
  19095. "gbenumdicname": {
  19096. "description": "品类单位名称",
  19097. "type": "string"
  19098. },
  19099. "gmunitid": {
  19100. "description": "品类单位id",
  19101. "type": "integer"
  19102. },
  19103. "isvalid": {
  19104. "description": "是否有效 - 0:无效 1:有效",
  19105. "type": "integer"
  19106. },
  19107. "operateid": {
  19108. "description": "最后操作人",
  19109. "type": "integer"
  19110. },
  19111. "operatesrc": {
  19112. "description": "最后操作来源 - 1:管理端 2:终端",
  19113. "type": "integer"
  19114. },
  19115. "operatetime": {
  19116. "description": "最后操作时间",
  19117. "type": "string"
  19118. },
  19119. "operatorname": {
  19120. "description": "操作人名称",
  19121. "type": "string"
  19122. },
  19123. "spotgoodsbrandid": {
  19124. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  19125. "type": "integer"
  19126. },
  19127. "spotgoodsprice": {
  19128. "description": "现货价格",
  19129. "type": "number"
  19130. },
  19131. "tradedate": {
  19132. "description": "交易日(yyyyMMdd)",
  19133. "type": "string"
  19134. },
  19135. "unitid": {
  19136. "description": "现货商品单位id",
  19137. "type": "integer"
  19138. },
  19139. "wrstandardcode": {
  19140. "description": "品类代码",
  19141. "type": "string"
  19142. },
  19143. "wrstandardid": {
  19144. "description": "现货品类ID(通用则为0)",
  19145. "type": "integer"
  19146. },
  19147. "wrstandardname": {
  19148. "description": "品类名称",
  19149. "type": "string"
  19150. }
  19151. }
  19152. },
  19153. "models.Ermcp3SpotGoodsPriceLog": {
  19154. "type": "object",
  19155. "properties": {
  19156. "areauserid": {
  19157. "description": "所属机构id",
  19158. "type": "integer"
  19159. },
  19160. "brandname": {
  19161. "description": "品牌名称",
  19162. "type": "string"
  19163. },
  19164. "currencyid": {
  19165. "description": "报价货币ID",
  19166. "type": "integer"
  19167. },
  19168. "deliverygoodscode": {
  19169. "description": "现货商品代码",
  19170. "type": "string"
  19171. },
  19172. "deliverygoodsid": {
  19173. "description": "现货商品id",
  19174. "type": "integer"
  19175. },
  19176. "deliverygoodsname": {
  19177. "description": "现货商品名称",
  19178. "type": "string"
  19179. },
  19180. "enumdicname": {
  19181. "description": "现货商品单位名称",
  19182. "type": "string"
  19183. },
  19184. "gbenumdicname": {
  19185. "description": "品类单位名称",
  19186. "type": "string"
  19187. },
  19188. "gmunitid": {
  19189. "description": "品类单位id",
  19190. "type": "integer"
  19191. },
  19192. "logid": {
  19193. "description": "日志id",
  19194. "type": "integer"
  19195. },
  19196. "operateid": {
  19197. "description": "最后操作人",
  19198. "type": "integer"
  19199. },
  19200. "operatesrc": {
  19201. "description": "最后操作来源 - 1:管理端 2:终端",
  19202. "type": "integer"
  19203. },
  19204. "operatetime": {
  19205. "description": "最后操作时间",
  19206. "type": "string"
  19207. },
  19208. "operatorname": {
  19209. "description": "操作人名称",
  19210. "type": "string"
  19211. },
  19212. "spotgoodsbrandid": {
  19213. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  19214. "type": "integer"
  19215. },
  19216. "spotgoodsprice": {
  19217. "description": "现货价格",
  19218. "type": "number"
  19219. },
  19220. "tradedate": {
  19221. "description": "交易日(yyyyMMdd)",
  19222. "type": "string"
  19223. },
  19224. "unitid": {
  19225. "description": "现货商品单位id",
  19226. "type": "integer"
  19227. },
  19228. "wrstandardcode": {
  19229. "description": "品类代码",
  19230. "type": "string"
  19231. },
  19232. "wrstandardid": {
  19233. "description": "现货品类ID(通用则为0)",
  19234. "type": "integer"
  19235. },
  19236. "wrstandardname": {
  19237. "description": "品类名称",
  19238. "type": "string"
  19239. }
  19240. }
  19241. },
  19242. "models.Ermcp3TaFutuReDataReport": {
  19243. "type": "object",
  19244. "properties": {
  19245. "accountid": {
  19246. "description": "交易账户",
  19247. "type": "integer"
  19248. },
  19249. "accountname": {
  19250. "description": "交易账号名称",
  19251. "type": "string"
  19252. },
  19253. "agreeunit": {
  19254. "description": "商品合约单位",
  19255. "type": "number"
  19256. },
  19257. "begindate": {
  19258. "description": "开始交易日",
  19259. "type": "string"
  19260. },
  19261. "buyorsell": {
  19262. "description": "持仓方向",
  19263. "type": "integer"
  19264. },
  19265. "charge": {
  19266. "description": "手续费",
  19267. "type": "number"
  19268. },
  19269. "closeavgprice": {
  19270. "description": "平仓均价",
  19271. "type": "number"
  19272. },
  19273. "closepl": {
  19274. "description": "平仓损益",
  19275. "type": "number"
  19276. },
  19277. "currencyid": {
  19278. "description": "结算币种ID",
  19279. "type": "integer"
  19280. },
  19281. "currencyname": {
  19282. "description": "币种名称",
  19283. "type": "string"
  19284. },
  19285. "cycletime": {
  19286. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19287. "type": "string"
  19288. },
  19289. "cycletype": {
  19290. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19291. "type": "integer"
  19292. },
  19293. "enddate": {
  19294. "description": "结束交易日",
  19295. "type": "string"
  19296. },
  19297. "enumdicname": {
  19298. "description": "单位名称",
  19299. "type": "string"
  19300. },
  19301. "floatpl": {
  19302. "description": "浮动损益",
  19303. "type": "number"
  19304. },
  19305. "goodscode": {
  19306. "description": "交易合约代码",
  19307. "type": "string"
  19308. },
  19309. "goodsgroupid": {
  19310. "description": "交易品种",
  19311. "type": "integer"
  19312. },
  19313. "goodsgroupname": {
  19314. "description": "交易品种名称",
  19315. "type": "string"
  19316. },
  19317. "goodsgroupspotqty": {
  19318. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  19319. "type": "number"
  19320. },
  19321. "goodsid": {
  19322. "description": "交易合约",
  19323. "type": "integer"
  19324. },
  19325. "goodsname": {
  19326. "description": "交易合约名称",
  19327. "type": "string"
  19328. },
  19329. "goodunitid": {
  19330. "description": "交易合约单位id",
  19331. "type": "integer"
  19332. },
  19333. "holdamount": {
  19334. "description": "期末持仓额",
  19335. "type": "number"
  19336. },
  19337. "holdqty": {
  19338. "description": "期末持仓量",
  19339. "type": "number"
  19340. },
  19341. "lastholdamount": {
  19342. "description": "当前持仓额",
  19343. "type": "number"
  19344. },
  19345. "lastprice": {
  19346. "description": "最新价",
  19347. "type": "number"
  19348. },
  19349. "middlegoodsid": {
  19350. "description": "套保品种id",
  19351. "type": "integer"
  19352. },
  19353. "middlegoodsname": {
  19354. "description": "套保商品名称",
  19355. "type": "string"
  19356. },
  19357. "middlegoodsqty": {
  19358. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  19359. "type": "number"
  19360. },
  19361. "middlgoodscode": {
  19362. "description": "套保商品代码",
  19363. "type": "string"
  19364. },
  19365. "openamount": {
  19366. "description": "期末开仓额",
  19367. "type": "number"
  19368. },
  19369. "openavgprice": {
  19370. "description": "开仓均价",
  19371. "type": "number"
  19372. },
  19373. "oriholdamount": {
  19374. "description": "期初持仓额",
  19375. "type": "number"
  19376. },
  19377. "oriholdqty": {
  19378. "description": "期初持仓量",
  19379. "type": "number"
  19380. },
  19381. "oriopenamount": {
  19382. "description": "期初开仓额",
  19383. "type": "number"
  19384. },
  19385. "outergroupcode": {
  19386. "description": "交易品种代码",
  19387. "type": "string"
  19388. },
  19389. "qtydecimalplace": {
  19390. "description": "成交量小数位",
  19391. "type": "integer"
  19392. },
  19393. "reckondate": {
  19394. "description": "日照时期(yyyyMMdd)",
  19395. "type": "string"
  19396. },
  19397. "reckonholdamount": {
  19398. "description": "结算持仓额",
  19399. "type": "number"
  19400. },
  19401. "reckonpl": {
  19402. "description": "结算损益",
  19403. "type": "number"
  19404. },
  19405. "reckonpl2": {
  19406. "description": "结算逐笔盈亏",
  19407. "type": "number"
  19408. },
  19409. "reckonprice": {
  19410. "description": "结算价",
  19411. "type": "number"
  19412. },
  19413. "relateduserid": {
  19414. "description": "账户关联用户ID",
  19415. "type": "integer"
  19416. },
  19417. "todaycloseamount": {
  19418. "description": "今平仓额",
  19419. "type": "number"
  19420. },
  19421. "todaycloseqty": {
  19422. "description": "今平仓量",
  19423. "type": "number"
  19424. },
  19425. "todaygoodsgroupspotqty": {
  19426. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  19427. "type": "number"
  19428. },
  19429. "todaymiddlegoodsqty": {
  19430. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  19431. "type": "number"
  19432. },
  19433. "todayopenamount": {
  19434. "description": "今开仓额",
  19435. "type": "number"
  19436. },
  19437. "todayopenqty": {
  19438. "description": "今开仓量",
  19439. "type": "number"
  19440. },
  19441. "userid": {
  19442. "description": "账户所属用户ID",
  19443. "type": "integer"
  19444. }
  19445. }
  19446. },
  19447. "models.Ermcp3Wrstandard": {
  19448. "type": "object",
  19449. "properties": {
  19450. "areauserid": {
  19451. "description": "所属机构",
  19452. "type": "integer"
  19453. },
  19454. "convertfactor": {
  19455. "description": "标仓系数",
  19456. "type": "number"
  19457. },
  19458. "createtime": {
  19459. "description": "创建时间",
  19460. "type": "string"
  19461. },
  19462. "creatorid": {
  19463. "description": "创建人",
  19464. "type": "integer"
  19465. },
  19466. "deliverygoodsid": {
  19467. "description": "现货品种ID",
  19468. "type": "integer"
  19469. },
  19470. "enumdicname": {
  19471. "description": "品类单位名称",
  19472. "type": "string"
  19473. },
  19474. "isvalid": {
  19475. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  19476. "type": "integer"
  19477. },
  19478. "minivalue": {
  19479. "description": "最小变动值",
  19480. "type": "integer"
  19481. },
  19482. "minivaluedp": {
  19483. "description": "最小变动值小数位",
  19484. "type": "integer"
  19485. },
  19486. "realminivalue": {
  19487. "description": "实际最小变动值",
  19488. "type": "integer"
  19489. },
  19490. "realminivaluedp": {
  19491. "description": "实际最小变动值小数位",
  19492. "type": "integer"
  19493. },
  19494. "remark": {
  19495. "description": "备注",
  19496. "type": "string"
  19497. },
  19498. "unitid": {
  19499. "description": "品类单位ID",
  19500. "type": "integer"
  19501. },
  19502. "updatetime": {
  19503. "description": "更新时间",
  19504. "type": "string"
  19505. },
  19506. "wrstandardcode": {
  19507. "description": "品类代码",
  19508. "type": "string"
  19509. },
  19510. "wrstandardid": {
  19511. "description": "品类ID(SEQ_WRSTANDARD)",
  19512. "type": "integer"
  19513. },
  19514. "wrstandardname": {
  19515. "description": "品类名称",
  19516. "type": "string"
  19517. }
  19518. }
  19519. },
  19520. "models.ErmcpAreaSpotDetailModel": {
  19521. "type": "object",
  19522. "properties": {
  19523. "contracttype": {
  19524. "description": "合同类型 1-采购 -1-销售",
  19525. "type": "integer"
  19526. },
  19527. "createtime": {
  19528. "description": "创建时间",
  19529. "type": "string"
  19530. },
  19531. "enumdicname": {
  19532. "description": "现货商品单位名称",
  19533. "type": "string"
  19534. },
  19535. "logtype": {
  19536. "description": "记录类型 1-套保 2-现货合同",
  19537. "type": "integer"
  19538. },
  19539. "qty": {
  19540. "description": "数量",
  19541. "type": "number"
  19542. },
  19543. "recordname": {
  19544. "description": "类型名称",
  19545. "type": "string"
  19546. },
  19547. "relatedid": {
  19548. "description": "套保计划ID/现货合同ID",
  19549. "type": "string"
  19550. },
  19551. "relatedno": {
  19552. "description": "编号",
  19553. "type": "string"
  19554. },
  19555. "strtime": {
  19556. "description": "时间",
  19557. "type": "string"
  19558. },
  19559. "wrstandardcode": {
  19560. "description": "现货商品代码",
  19561. "type": "string"
  19562. },
  19563. "wrstandardname": {
  19564. "description": "现货商品名称",
  19565. "type": "string"
  19566. }
  19567. }
  19568. },
  19569. "models.ErmcpAvalidGoodsGroupModel": {
  19570. "type": "object",
  19571. "properties": {
  19572. "goodsgroupid": {
  19573. "description": "期货品种id",
  19574. "type": "integer"
  19575. },
  19576. "goodsgroupname": {
  19577. "description": "期货品种名称",
  19578. "type": "string"
  19579. },
  19580. "goodunitid": {
  19581. "description": "品种单位id",
  19582. "type": "integer"
  19583. },
  19584. "goodunitname": {
  19585. "description": "品种单位名称",
  19586. "type": "string"
  19587. },
  19588. "outergroupcode": {
  19589. "description": "期货品种代码",
  19590. "type": "string"
  19591. }
  19592. }
  19593. },
  19594. "models.ErmcpBizGroupEx": {
  19595. "type": "object",
  19596. "properties": {
  19597. "acclist": {
  19598. "description": "账号列表",
  19599. "type": "array",
  19600. "items": {
  19601. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  19602. }
  19603. },
  19604. "bizgroupid": {
  19605. "description": "业务分组id",
  19606. "type": "integer"
  19607. },
  19608. "biztype": {
  19609. "description": "业务类型 1-套保 2-套利",
  19610. "type": "integer"
  19611. },
  19612. "wrlist": {
  19613. "description": "现货商品表",
  19614. "type": "array",
  19615. "items": {
  19616. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  19617. }
  19618. }
  19619. }
  19620. },
  19621. "models.ErmcpBizGroupSpotGoods": {
  19622. "type": "object",
  19623. "properties": {
  19624. "areauserid": {
  19625. "description": "所属机构id",
  19626. "type": "integer"
  19627. },
  19628. "bizgroupid": {
  19629. "description": "分组id",
  19630. "type": "integer"
  19631. },
  19632. "biztype": {
  19633. "description": "业务类型 1-套保 2-套利",
  19634. "type": "integer"
  19635. },
  19636. "deliverygoodscode": {
  19637. "description": "现货商品代码",
  19638. "type": "string"
  19639. },
  19640. "deliverygoodsid": {
  19641. "description": "现货商品id",
  19642. "type": "integer"
  19643. },
  19644. "deliverygoodsname": {
  19645. "description": "现货商品名称",
  19646. "type": "string"
  19647. },
  19648. "unitid": {
  19649. "description": "现货商品单位id",
  19650. "type": "integer"
  19651. }
  19652. }
  19653. },
  19654. "models.ErmcpBizGroupTaAccount": {
  19655. "type": "object",
  19656. "properties": {
  19657. "accountid": {
  19658. "description": "账号id",
  19659. "type": "integer"
  19660. },
  19661. "accountname": {
  19662. "description": "账号名称",
  19663. "type": "string"
  19664. },
  19665. "areauserid": {
  19666. "description": "所属机构id",
  19667. "type": "integer"
  19668. },
  19669. "bizgroupid": {
  19670. "description": "业务分组id",
  19671. "type": "integer"
  19672. },
  19673. "ismain": {
  19674. "description": "是否主账号 1-是 0-否",
  19675. "type": "integer"
  19676. }
  19677. }
  19678. },
  19679. "models.ErmcpDGFactoryItem": {
  19680. "type": "object",
  19681. "properties": {
  19682. "areauserid": {
  19683. "description": "用户id",
  19684. "type": "integer"
  19685. },
  19686. "deliverygoodsid": {
  19687. "description": "现货品种ID",
  19688. "type": "integer"
  19689. },
  19690. "dgfactoryitemid": {
  19691. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  19692. "type": "integer"
  19693. },
  19694. "dgfactoryitemtypeid": {
  19695. "description": "要素项类型",
  19696. "type": "integer"
  19697. },
  19698. "dgfactoryitemvalue": {
  19699. "description": "要素项值(类型为仓库时填写仓库名称)",
  19700. "type": "string"
  19701. },
  19702. "isvalid": {
  19703. "description": "是否有效 - 0:无效 1:有效",
  19704. "type": "integer"
  19705. },
  19706. "orderindex": {
  19707. "description": "顺序",
  19708. "type": "integer"
  19709. },
  19710. "warehouseid": {
  19711. "description": "仓库ID(类型为仓库时填写)",
  19712. "type": "integer"
  19713. }
  19714. }
  19715. },
  19716. "models.ErmcpDeliveryGoods": {
  19717. "type": "object",
  19718. "properties": {
  19719. "agreeunit": {
  19720. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  19721. "type": "integer"
  19722. },
  19723. "areauserid": {
  19724. "description": "所属机构",
  19725. "type": "integer"
  19726. },
  19727. "auditflag": {
  19728. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  19729. "type": "integer"
  19730. },
  19731. "categoryid": {
  19732. "description": "类别ID(SEQ_WRCATEGORY)",
  19733. "type": "integer"
  19734. },
  19735. "deliverygoodscode": {
  19736. "description": "现货品种代码",
  19737. "type": "string"
  19738. },
  19739. "deliverygoodsid": {
  19740. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  19741. "type": "integer"
  19742. },
  19743. "deliverygoodsname": {
  19744. "description": "现货品种名称",
  19745. "type": "string"
  19746. },
  19747. "deliverygoodstype": {
  19748. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  19749. "type": "integer"
  19750. },
  19751. "dgstatus": {
  19752. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  19753. "type": "integer"
  19754. },
  19755. "enumdicname": {
  19756. "description": "现货品种单位名称",
  19757. "type": "string"
  19758. },
  19759. "goodsunitid": {
  19760. "description": "现货品种单位ID",
  19761. "type": "integer"
  19762. },
  19763. "isvalid": {
  19764. "description": "是否有效 - 0:无效 1:有效",
  19765. "type": "integer"
  19766. },
  19767. "qtydecimalplace": {
  19768. "description": "成交量小数位",
  19769. "type": "integer"
  19770. },
  19771. "remark": {
  19772. "description": "备注",
  19773. "type": "string"
  19774. },
  19775. "standardqty": {
  19776. "description": "标准数量(库位数量) [标准品特有]",
  19777. "type": "integer"
  19778. },
  19779. "standardqtyrange": {
  19780. "description": "标准数量偏差范围 [标准品特有]",
  19781. "type": "integer"
  19782. }
  19783. }
  19784. },
  19785. "models.ErmcpDeliveryGoodsDetail2": {
  19786. "type": "object",
  19787. "properties": {
  19788. "convertratio": {
  19789. "description": "套保系数(折算系数)",
  19790. "type": "number"
  19791. },
  19792. "data": {
  19793. "description": "现货商品基本信息(交割品种)",
  19794. "type": "object",
  19795. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  19796. },
  19797. "gblist": {
  19798. "description": "品牌列表",
  19799. "type": "array",
  19800. "items": {
  19801. "$ref": "#/definitions/models.Ermcp3Brand"
  19802. }
  19803. },
  19804. "gmlist": {
  19805. "description": "品类列表(仓单标准)",
  19806. "type": "array",
  19807. "items": {
  19808. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  19809. }
  19810. }
  19811. }
  19812. },
  19813. "models.ErmcpDeliveryGoodsDetailEx": {
  19814. "type": "object",
  19815. "properties": {
  19816. "data": {
  19817. "description": "现货商品基本信息(交割品种)",
  19818. "type": "object",
  19819. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  19820. },
  19821. "gblist": {
  19822. "description": "品牌列表",
  19823. "type": "array",
  19824. "items": {
  19825. "$ref": "#/definitions/models.Ermcp3Brand"
  19826. }
  19827. },
  19828. "gmlist": {
  19829. "description": "品类列表(仓单标准)",
  19830. "type": "array",
  19831. "items": {
  19832. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  19833. }
  19834. },
  19835. "mgList": {
  19836. "description": "套保列表",
  19837. "type": "array",
  19838. "items": {
  19839. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  19840. }
  19841. }
  19842. }
  19843. },
  19844. "models.ErmcpExposureDetailModel": {
  19845. "type": "object",
  19846. "properties": {
  19847. "areauserid": {
  19848. "description": "机构ID",
  19849. "type": "integer"
  19850. },
  19851. "changeQty": {
  19852. "description": "套保变动量",
  19853. "type": "number"
  19854. },
  19855. "contracttype": {
  19856. "description": "现货合同类型 - 1:采购 -1:销售",
  19857. "type": "integer"
  19858. },
  19859. "convertfactor": {
  19860. "description": "标仓系数",
  19861. "type": "number"
  19862. },
  19863. "convertratio": {
  19864. "description": "套保系数",
  19865. "type": "number"
  19866. },
  19867. "createtime": {
  19868. "description": "时间",
  19869. "type": "string"
  19870. },
  19871. "enumdicname": {
  19872. "description": "现货商品单位名称",
  19873. "type": "string"
  19874. },
  19875. "logtype": {
  19876. "description": "类型 - 1:套保计划 2:现货合同",
  19877. "type": "integer"
  19878. },
  19879. "middlegoodsId": {
  19880. "description": "套保商品id",
  19881. "type": "integer"
  19882. },
  19883. "middlegoodscode": {
  19884. "description": "套保商品代码",
  19885. "type": "string"
  19886. },
  19887. "middlegoodsname": {
  19888. "description": "套保商品名称",
  19889. "type": "string"
  19890. },
  19891. "qty": {
  19892. "description": "数量",
  19893. "type": "number"
  19894. },
  19895. "relateNo": {
  19896. "description": "现货合同/套保计划编号",
  19897. "type": "string"
  19898. },
  19899. "wrstandardcode": {
  19900. "description": "现货商品代码",
  19901. "type": "string"
  19902. },
  19903. "wrstandardid": {
  19904. "description": "现货商品ID",
  19905. "type": "integer"
  19906. },
  19907. "wrstandardname": {
  19908. "description": "现货商品名称",
  19909. "type": "string"
  19910. }
  19911. }
  19912. },
  19913. "models.ErmcpExposurePostion": {
  19914. "type": "object",
  19915. "properties": {
  19916. "agreeunit": {
  19917. "description": "合约单位",
  19918. "type": "string"
  19919. },
  19920. "areauserid": {
  19921. "description": "所属机构id",
  19922. "type": "integer"
  19923. },
  19924. "convertratio": {
  19925. "description": "期货品种系数(折算系数)",
  19926. "type": "number"
  19927. },
  19928. "curqty": {
  19929. "description": "当前持仓",
  19930. "type": "integer"
  19931. },
  19932. "diffhedgeqty": {
  19933. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  19934. "type": "number"
  19935. },
  19936. "diffqty": {
  19937. "description": "持仓变动量=当前持仓-昨日持仓",
  19938. "type": "integer"
  19939. },
  19940. "goodscode": {
  19941. "description": "商品代码",
  19942. "type": "string"
  19943. },
  19944. "goodsid": {
  19945. "description": "商品id",
  19946. "type": "integer"
  19947. },
  19948. "goodsname": {
  19949. "description": "商品名称",
  19950. "type": "string"
  19951. },
  19952. "middlegoodsid": {
  19953. "description": "套保商品id",
  19954. "type": "integer"
  19955. },
  19956. "ydqty": {
  19957. "description": "昨日持仓",
  19958. "type": "integer"
  19959. }
  19960. }
  19961. },
  19962. "models.ErmcpFuturesCompany": {
  19963. "type": "object",
  19964. "properties": {
  19965. "brokerid": {
  19966. "description": "经纪公司代码",
  19967. "type": "string"
  19968. },
  19969. "channeladdress": {
  19970. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  19971. "type": "string"
  19972. },
  19973. "channelid": {
  19974. "description": "对冲渠道ID",
  19975. "type": "string"
  19976. },
  19977. "createtime": {
  19978. "description": "创建时间",
  19979. "type": "string"
  19980. },
  19981. "creatorid": {
  19982. "description": "创建人",
  19983. "type": "string"
  19984. },
  19985. "fcid": {
  19986. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  19987. "type": "integer"
  19988. },
  19989. "fcname": {
  19990. "description": "期货公司名称",
  19991. "type": "string"
  19992. },
  19993. "isvalid": {
  19994. "description": "是否有效 - 0:无效 1:有效",
  19995. "type": "integer"
  19996. },
  19997. "mhpaddress": {
  19998. "description": "MHP服务地址(IP:Port)",
  19999. "type": "string"
  20000. },
  20001. "riskrulegroupid": {
  20002. "description": "风控规则组ID",
  20003. "type": "string"
  20004. },
  20005. "tradefeetmpid": {
  20006. "description": "手续费模板ID[TradeConfigTmpType为2]",
  20007. "type": "string"
  20008. },
  20009. "trademargintmpid": {
  20010. "description": "保证金模板ID [TradeConfigTmpType为1]",
  20011. "type": "string"
  20012. },
  20013. "traderatetmpid": {
  20014. "description": "汇率模板ID[TradeConfigTmpType为3]",
  20015. "type": "string"
  20016. },
  20017. "updatetime": {
  20018. "description": "更新时间",
  20019. "type": "string"
  20020. },
  20021. "updatorid": {
  20022. "description": "更新人",
  20023. "type": "string"
  20024. }
  20025. }
  20026. },
  20027. "models.ErmcpGGConvertCfg": {
  20028. "type": "object",
  20029. "properties": {
  20030. "convertratio": {
  20031. "description": "折算系数",
  20032. "type": "number"
  20033. },
  20034. "destgoodsgroupid": {
  20035. "description": "目标品种ID",
  20036. "type": "integer"
  20037. },
  20038. "dstcode": {
  20039. "description": "目录品种代码",
  20040. "type": "string"
  20041. },
  20042. "dstexchangecode": {
  20043. "description": "目标期货交易所",
  20044. "type": "string"
  20045. },
  20046. "dstname": {
  20047. "description": "目标品种名称",
  20048. "type": "string"
  20049. },
  20050. "dstunitid": {
  20051. "description": "目标品种单位ID",
  20052. "type": "integer"
  20053. },
  20054. "dstunitidname": {
  20055. "description": "目标品种单位名称",
  20056. "type": "string"
  20057. },
  20058. "modifytime": {
  20059. "description": "修改时间",
  20060. "type": "string"
  20061. },
  20062. "srccode": {
  20063. "description": "源品种代码",
  20064. "type": "string"
  20065. },
  20066. "srcexchangecode": {
  20067. "description": "源期货交易所",
  20068. "type": "string"
  20069. },
  20070. "srcgoodsgroupid": {
  20071. "description": "源品种ID",
  20072. "type": "integer"
  20073. },
  20074. "srcname": {
  20075. "description": "源品种名称",
  20076. "type": "string"
  20077. },
  20078. "srcunitid": {
  20079. "description": "源品种单位ID",
  20080. "type": "integer"
  20081. },
  20082. "srcunitidname": {
  20083. "description": "源品种单位名称",
  20084. "type": "string"
  20085. }
  20086. }
  20087. },
  20088. "models.ErmcpGoods": {
  20089. "type": "object",
  20090. "required": [
  20091. "goodscode",
  20092. "goodsid",
  20093. "goodsname",
  20094. "marketid"
  20095. ],
  20096. "properties": {
  20097. "agreeunit": {
  20098. "description": "合约单位",
  20099. "type": "number"
  20100. },
  20101. "areauserid": {
  20102. "description": "所属机构",
  20103. "type": "integer"
  20104. },
  20105. "auditaccountid": {
  20106. "description": "审核操作员账号",
  20107. "type": "integer"
  20108. },
  20109. "audittime": {
  20110. "description": "审核时间",
  20111. "type": "string"
  20112. },
  20113. "cancelaccountid": {
  20114. "description": "注销操作员账号",
  20115. "type": "integer"
  20116. },
  20117. "canceltime": {
  20118. "description": "注销时间",
  20119. "type": "string"
  20120. },
  20121. "closepricemode": {
  20122. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20123. "type": "integer"
  20124. },
  20125. "closepriceparam": {
  20126. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  20127. "type": "number"
  20128. },
  20129. "createtime": {
  20130. "description": "创建时间",
  20131. "type": "string"
  20132. },
  20133. "creatorid": {
  20134. "description": "创建人",
  20135. "type": "integer"
  20136. },
  20137. "currencyid": {
  20138. "description": "报价货币ID",
  20139. "type": "integer"
  20140. },
  20141. "cutmode": {
  20142. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  20143. "type": "integer"
  20144. },
  20145. "decimalplace": {
  20146. "description": "报价小数位",
  20147. "type": "integer"
  20148. },
  20149. "delistingdate": {
  20150. "description": "商品退市时间(状态:退市) -- 已作废",
  20151. "type": "string"
  20152. },
  20153. "delistingmode": {
  20154. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  20155. "type": "integer"
  20156. },
  20157. "deliveryflag": {
  20158. "description": "交割标志 - 0:不可交割 1:可交割",
  20159. "type": "integer"
  20160. },
  20161. "enumdicname": {
  20162. "description": "单位名称",
  20163. "type": "string"
  20164. },
  20165. "forceclosemode": {
  20166. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  20167. "type": "integer"
  20168. },
  20169. "forceclosevalue": {
  20170. "description": "定期强平参数 [收益权]",
  20171. "type": "integer"
  20172. },
  20173. "goodscode": {
  20174. "description": "商品代码(内部)",
  20175. "type": "string"
  20176. },
  20177. "goodscurrencyid": {
  20178. "description": "合约货币ID",
  20179. "type": "integer"
  20180. },
  20181. "goodsgroupid": {
  20182. "description": "所属商品组ID",
  20183. "type": "integer"
  20184. },
  20185. "goodsid": {
  20186. "description": "商品ID(自增ID SEQ_GOODS)",
  20187. "type": "integer"
  20188. },
  20189. "goodsname": {
  20190. "description": "商品名称",
  20191. "type": "string"
  20192. },
  20193. "goodsquotetype": {
  20194. "description": "合约报价类型: 1-直接报价 2-间接报价",
  20195. "type": "integer"
  20196. },
  20197. "goodsstatus": {
  20198. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20199. "type": "integer"
  20200. },
  20201. "goodstradetype": {
  20202. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  20203. "type": "integer"
  20204. },
  20205. "goodunitid": {
  20206. "description": "报价单位ID",
  20207. "type": "integer"
  20208. },
  20209. "hasquoter": {
  20210. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  20211. "type": "integer"
  20212. },
  20213. "hqprotecttime": {
  20214. "description": "行情保护时间(秒)",
  20215. "type": "integer"
  20216. },
  20217. "innerdealmode": {
  20218. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20219. "type": "integer"
  20220. },
  20221. "isbuylimited": {
  20222. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20223. "type": "integer"
  20224. },
  20225. "isvisible": {
  20226. "description": "游客是否可见 - 0:不可见 1:可见",
  20227. "type": "integer"
  20228. },
  20229. "lasttradedate": {
  20230. "description": "最后交易日期(状态:待退市)",
  20231. "type": "string"
  20232. },
  20233. "listingdate": {
  20234. "description": "交易开始日期",
  20235. "type": "string"
  20236. },
  20237. "marketid": {
  20238. "description": "所属市场ID",
  20239. "type": "integer"
  20240. },
  20241. "modifierid": {
  20242. "description": "修改人",
  20243. "type": "integer"
  20244. },
  20245. "modifystatus": {
  20246. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  20247. "type": "integer"
  20248. },
  20249. "modifytime": {
  20250. "description": "修改时间",
  20251. "type": "string"
  20252. },
  20253. "outerdealmode": {
  20254. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20255. "type": "integer"
  20256. },
  20257. "outgoodscode": {
  20258. "description": "商品代码(外部)",
  20259. "type": "string"
  20260. },
  20261. "pictureurl": {
  20262. "description": "商品图片",
  20263. "type": "string"
  20264. },
  20265. "qtydecimalplace": {
  20266. "description": "成交量小数位",
  20267. "type": "integer"
  20268. },
  20269. "quotegear": {
  20270. "description": "行情档位(1-10)",
  20271. "type": "integer"
  20272. },
  20273. "quoteminunit": {
  20274. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20275. "type": "integer"
  20276. },
  20277. "quoteshowtype": {
  20278. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  20279. "type": "integer"
  20280. },
  20281. "quoteshowtypeinterval": {
  20282. "description": "行情报价间隔时间(秒)(成交价时为0)",
  20283. "type": "integer"
  20284. },
  20285. "relatedgoodsid": {
  20286. "description": "关联参考商品ID",
  20287. "type": "integer"
  20288. },
  20289. "remark": {
  20290. "description": "备注",
  20291. "type": "string"
  20292. },
  20293. "trademode": {
  20294. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20295. "type": "integer"
  20296. }
  20297. }
  20298. },
  20299. "models.ErmcpGoodsBrand": {
  20300. "type": "object",
  20301. "properties": {
  20302. "areauserid": {
  20303. "description": "所属机构",
  20304. "type": "integer"
  20305. },
  20306. "brandid": {
  20307. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  20308. "type": "integer"
  20309. },
  20310. "brandname": {
  20311. "description": "品牌名称",
  20312. "type": "string"
  20313. },
  20314. "createtime": {
  20315. "description": "创建时间",
  20316. "type": "string"
  20317. },
  20318. "creatorid": {
  20319. "description": "创建人",
  20320. "type": "integer"
  20321. },
  20322. "creatorsrc": {
  20323. "description": "创建人来源 - 1:管理端 2:终端",
  20324. "type": "integer"
  20325. },
  20326. "deliverygoodsid": {
  20327. "description": "现货品种ID",
  20328. "type": "integer"
  20329. },
  20330. "isvalid": {
  20331. "description": "是否有效 - 0:无效 1:有效",
  20332. "type": "integer"
  20333. },
  20334. "updatetime": {
  20335. "description": "更新时间",
  20336. "type": "string"
  20337. },
  20338. "updatorid": {
  20339. "description": "更新人",
  20340. "type": "integer"
  20341. },
  20342. "updatorsrc": {
  20343. "description": "更新人来源 - 1:管理端 2:终端",
  20344. "type": "integer"
  20345. },
  20346. "wrstandardid": {
  20347. "description": "现货商品ID",
  20348. "type": "integer"
  20349. }
  20350. }
  20351. },
  20352. "models.ErmcpGoodsModel": {
  20353. "type": "object",
  20354. "properties": {
  20355. "areauserid": {
  20356. "description": "所属机构",
  20357. "type": "integer"
  20358. },
  20359. "convertfactor": {
  20360. "description": "标仓系数",
  20361. "type": "number"
  20362. },
  20363. "createtime": {
  20364. "description": "创建时间",
  20365. "type": "string"
  20366. },
  20367. "creatorid": {
  20368. "description": "创建人",
  20369. "type": "integer"
  20370. },
  20371. "creatorsrc": {
  20372. "description": "创建人来源 - 1:管理端 2:终端",
  20373. "type": "integer"
  20374. },
  20375. "deliverygoodsid": {
  20376. "description": "现货品种ID",
  20377. "type": "integer"
  20378. },
  20379. "isvalid": {
  20380. "description": "是否有效 - 0:无效 1:有效",
  20381. "type": "integer"
  20382. },
  20383. "modelid": {
  20384. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  20385. "type": "integer"
  20386. },
  20387. "modelname": {
  20388. "description": "型号名称",
  20389. "type": "string"
  20390. },
  20391. "updatetime": {
  20392. "description": "更新时间",
  20393. "type": "string"
  20394. },
  20395. "updatorid": {
  20396. "description": "更新人",
  20397. "type": "integer"
  20398. },
  20399. "updatorsrc": {
  20400. "description": "更新人来源 - 1:管理端 2:终端",
  20401. "type": "integer"
  20402. },
  20403. "wrstandardid": {
  20404. "description": "现货商品ID",
  20405. "type": "integer"
  20406. }
  20407. }
  20408. },
  20409. "models.ErmcpHedgePosition": {
  20410. "type": "object",
  20411. "properties": {
  20412. "accountid": {
  20413. "description": "资金账号[外部母账户]",
  20414. "type": "integer"
  20415. },
  20416. "curbuyposition": {
  20417. "description": "期末买头寸",
  20418. "type": "integer"
  20419. },
  20420. "cursellposition": {
  20421. "description": "期末卖头寸",
  20422. "type": "integer"
  20423. },
  20424. "curtdbuyposition": {
  20425. "description": "期末今日买头寸",
  20426. "type": "integer"
  20427. },
  20428. "curtdsellposition": {
  20429. "description": "期末今日卖头寸",
  20430. "type": "integer"
  20431. },
  20432. "curydbuyposition": {
  20433. "description": "期末上日买头寸",
  20434. "type": "integer"
  20435. },
  20436. "curydsellposition": {
  20437. "description": "期末上日卖头寸",
  20438. "type": "integer"
  20439. },
  20440. "decreaseqty": {
  20441. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  20442. "type": "integer"
  20443. },
  20444. "fretdbuyposition": {
  20445. "description": "冻结今日买头寸",
  20446. "type": "integer"
  20447. },
  20448. "fretdsellposition": {
  20449. "description": "冻结今日卖头寸",
  20450. "type": "integer"
  20451. },
  20452. "freydbuyposition": {
  20453. "description": "冻结上日买头寸",
  20454. "type": "integer"
  20455. },
  20456. "freydsellposition": {
  20457. "description": "冻结上日卖头寸",
  20458. "type": "integer"
  20459. },
  20460. "goodscode": {
  20461. "description": "商品代码",
  20462. "type": "string"
  20463. },
  20464. "goodsid": {
  20465. "description": "商品id",
  20466. "type": "integer"
  20467. },
  20468. "goodsname": {
  20469. "description": "商品名称",
  20470. "type": "string"
  20471. },
  20472. "hedgeaccountcode": {
  20473. "description": "对冲账号",
  20474. "type": "string"
  20475. },
  20476. "hedgegoodsid": {
  20477. "description": "对冲合约ID",
  20478. "type": "integer"
  20479. },
  20480. "increaseqty": {
  20481. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  20482. "type": "integer"
  20483. },
  20484. "marketid": {
  20485. "description": "市场ID",
  20486. "type": "integer"
  20487. },
  20488. "relateduserid": {
  20489. "description": "关联用户id",
  20490. "type": "integer"
  20491. },
  20492. "totalcurqty": {
  20493. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  20494. "type": "integer"
  20495. },
  20496. "totalydqty": {
  20497. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  20498. "type": "integer"
  20499. },
  20500. "tradedate": {
  20501. "description": "交易日(yyyyMMdd)",
  20502. "type": "string"
  20503. },
  20504. "ydbuyposition": {
  20505. "description": "期初买头寸",
  20506. "type": "integer"
  20507. },
  20508. "ydsellposition": {
  20509. "description": "期初卖头寸",
  20510. "type": "integer"
  20511. }
  20512. }
  20513. },
  20514. "models.ErmcpHedgePositionDetail": {
  20515. "type": "object",
  20516. "properties": {
  20517. "buyorsell": {
  20518. "description": "买卖方向 0-买 1-卖",
  20519. "type": "integer"
  20520. },
  20521. "channelbuildtype": {
  20522. "description": "开平方向 1-建仓 2-平仓",
  20523. "type": "integer"
  20524. },
  20525. "goodscode": {
  20526. "description": "商品代码",
  20527. "type": "string"
  20528. },
  20529. "goodsname": {
  20530. "description": "商品名称",
  20531. "type": "string"
  20532. },
  20533. "hedgegoodsid": {
  20534. "description": "商品id",
  20535. "type": "integer"
  20536. },
  20537. "tradeqty": {
  20538. "description": "数量(成交数量)",
  20539. "type": "integer"
  20540. },
  20541. "tradetime": {
  20542. "description": "时间(成交时间)",
  20543. "type": "string"
  20544. }
  20545. }
  20546. },
  20547. "models.ErmcpHisExposure": {
  20548. "type": "object",
  20549. "properties": {
  20550. "needhedgeexposoure": {
  20551. "description": "应套保敞口",
  20552. "type": "number"
  20553. },
  20554. "reckondate": {
  20555. "description": "日照时期(yyyyMMdd)",
  20556. "type": "string"
  20557. },
  20558. "totalexposure": {
  20559. "description": "总敞口",
  20560. "type": "number"
  20561. }
  20562. }
  20563. },
  20564. "models.ErmcpHisExposureS": {
  20565. "type": "object",
  20566. "properties": {
  20567. "data": {
  20568. "description": "历史敞口",
  20569. "type": "array",
  20570. "items": {
  20571. "$ref": "#/definitions/models.ErmcpHisExposure"
  20572. }
  20573. },
  20574. "enumdicname": {
  20575. "description": "单位名称",
  20576. "type": "string"
  20577. },
  20578. "middlegoodscode": {
  20579. "description": "套保品种代码",
  20580. "type": "string"
  20581. },
  20582. "middlegoodsid": {
  20583. "description": "套保品种ID",
  20584. "type": "integer"
  20585. },
  20586. "middlegoodsname": {
  20587. "description": "套保品种名称",
  20588. "type": "string"
  20589. }
  20590. }
  20591. },
  20592. "models.ErmcpLoginTaAccount": {
  20593. "type": "object",
  20594. "properties": {
  20595. "accountid": {
  20596. "description": "账号id",
  20597. "type": "integer"
  20598. },
  20599. "accountname": {
  20600. "description": "账号名称",
  20601. "type": "string"
  20602. }
  20603. }
  20604. },
  20605. "models.ErmcpLoginUser": {
  20606. "type": "object",
  20607. "properties": {
  20608. "acclist": {
  20609. "description": "关联资金账号",
  20610. "type": "array",
  20611. "items": {
  20612. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  20613. }
  20614. },
  20615. "accountname": {
  20616. "description": "用户名称",
  20617. "type": "string"
  20618. },
  20619. "clientroleid": {
  20620. "description": "角色id(usertype=2)",
  20621. "type": "integer"
  20622. },
  20623. "createtime": {
  20624. "description": "创建时间",
  20625. "type": "string"
  20626. },
  20627. "logincode": {
  20628. "description": "登录代码",
  20629. "type": "string"
  20630. },
  20631. "loginid": {
  20632. "description": "登录id(LOGINID)",
  20633. "type": "integer"
  20634. },
  20635. "loginname": {
  20636. "description": "登录名称(loginaccount表中的accountname字段)",
  20637. "type": "string"
  20638. },
  20639. "loginstatus": {
  20640. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  20641. "type": "integer"
  20642. },
  20643. "memberuserid": {
  20644. "description": "所属会员id",
  20645. "type": "integer"
  20646. },
  20647. "mobile": {
  20648. "description": "手机号",
  20649. "type": "string"
  20650. },
  20651. "modifytime": {
  20652. "description": "修改时间",
  20653. "type": "string"
  20654. },
  20655. "password": {
  20656. "description": "密码(不可解密)",
  20657. "type": "string"
  20658. },
  20659. "rolename": {
  20660. "description": "角色名称",
  20661. "type": "string"
  20662. },
  20663. "rolestatus": {
  20664. "description": "角色状态 1-启用 2-停用",
  20665. "type": "integer"
  20666. },
  20667. "roletype": {
  20668. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  20669. "type": "string"
  20670. },
  20671. "userid": {
  20672. "description": "用户id",
  20673. "type": "integer"
  20674. },
  20675. "usertype": {
  20676. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  20677. "type": "integer"
  20678. }
  20679. }
  20680. },
  20681. "models.ErmcpLoginUserEx": {
  20682. "type": "object",
  20683. "properties": {
  20684. "accountstatus": {
  20685. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  20686. "type": "integer"
  20687. },
  20688. "mobile": {
  20689. "description": "手机号",
  20690. "type": "string"
  20691. },
  20692. "querytype": {
  20693. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  20694. "type": "integer"
  20695. },
  20696. "roleid": {
  20697. "description": "角色id(交易账户-\u003e用户id)",
  20698. "type": "integer"
  20699. },
  20700. "rolename": {
  20701. "description": "角色名称(交易账户-\u003e用户名称)",
  20702. "type": "string"
  20703. },
  20704. "userlist": {
  20705. "description": "用户列表",
  20706. "type": "array",
  20707. "items": {
  20708. "$ref": "#/definitions/models.ErmcpLoginUser"
  20709. }
  20710. },
  20711. "usertype": {
  20712. "description": "用户类型 2-机构 7-企业成员(云平台)",
  20713. "type": "integer"
  20714. }
  20715. }
  20716. },
  20717. "models.ErmcpMiddleGoodsChangeLog": {
  20718. "type": "object",
  20719. "properties": {
  20720. "aftervalue": {
  20721. "description": "变更后",
  20722. "type": "number"
  20723. },
  20724. "applyid": {
  20725. "description": "操作人",
  20726. "type": "integer"
  20727. },
  20728. "applyname": {
  20729. "description": "操作人名称",
  20730. "type": "string"
  20731. },
  20732. "applysrc": {
  20733. "description": "操作来源 - 1:管理端 2:终端",
  20734. "type": "integer"
  20735. },
  20736. "beforevalue": {
  20737. "description": "变更前",
  20738. "type": "number"
  20739. },
  20740. "changelogtype": {
  20741. "description": "变更流水类型 - 1:套保比率变更",
  20742. "type": "integer"
  20743. },
  20744. "handlestatus": {
  20745. "description": "处理状态",
  20746. "type": "integer"
  20747. },
  20748. "logdatetime": {
  20749. "description": "流水日期",
  20750. "type": "string"
  20751. },
  20752. "logid": {
  20753. "description": "流水ID",
  20754. "type": "integer"
  20755. },
  20756. "logremark": {
  20757. "description": "流水备注",
  20758. "type": "string"
  20759. },
  20760. "middlegoodsid": {
  20761. "description": "套保品种ID",
  20762. "type": "integer"
  20763. },
  20764. "tradedate": {
  20765. "description": "交易日(yyyyMMdd)",
  20766. "type": "string"
  20767. },
  20768. "updatetime": {
  20769. "description": "更新时间",
  20770. "type": "string"
  20771. }
  20772. }
  20773. },
  20774. "models.ErmcpMiddleGoodsDetail": {
  20775. "type": "object",
  20776. "properties": {
  20777. "cvList": {
  20778. "description": "期货品种折算列表",
  20779. "type": "array",
  20780. "items": {
  20781. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  20782. }
  20783. },
  20784. "mg": {
  20785. "description": "套保品种基本信息",
  20786. "type": "object",
  20787. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  20788. },
  20789. "wrcList": {
  20790. "description": "现货品种列表(现货商品折算配置)",
  20791. "type": "array",
  20792. "items": {
  20793. "$ref": "#/definitions/models.WRSConverTDetail"
  20794. }
  20795. }
  20796. }
  20797. },
  20798. "models.ErmcpMiddleGoodsModel": {
  20799. "type": "object",
  20800. "properties": {
  20801. "areauserid": {
  20802. "description": "机构用户ID",
  20803. "type": "integer"
  20804. },
  20805. "createtime": {
  20806. "description": "修改时间",
  20807. "type": "string"
  20808. },
  20809. "enumdicname": {
  20810. "description": "单位名称",
  20811. "type": "string"
  20812. },
  20813. "evaluateratio": {
  20814. "description": "估价系数",
  20815. "type": "number"
  20816. },
  20817. "goodsgroupid": {
  20818. "description": "关联期货品种ID",
  20819. "type": "integer"
  20820. },
  20821. "goodsunitid": {
  20822. "description": "单位ID",
  20823. "type": "integer"
  20824. },
  20825. "isvalid": {
  20826. "description": "状态 0-无效(停用) 1-有效(正常)",
  20827. "type": "integer"
  20828. },
  20829. "middlegoodscode": {
  20830. "description": "套保品种代码",
  20831. "type": "string"
  20832. },
  20833. "middlegoodsid": {
  20834. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20835. "type": "integer"
  20836. },
  20837. "middlegoodsname": {
  20838. "description": "套保品种名称",
  20839. "type": "string"
  20840. },
  20841. "modifytime": {
  20842. "description": "修改时间",
  20843. "type": "string"
  20844. },
  20845. "needarbitrageratio": {
  20846. "description": "套利比例",
  20847. "type": "number"
  20848. },
  20849. "needhedgeratio": {
  20850. "description": "套保比率",
  20851. "type": "number"
  20852. },
  20853. "qtydecimalplace": {
  20854. "description": "数量小数位",
  20855. "type": "integer"
  20856. },
  20857. "relatedgoodsid": {
  20858. "description": "关联交易商品ID",
  20859. "type": "integer"
  20860. },
  20861. "relatedgoodstype": {
  20862. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  20863. "type": "integer"
  20864. },
  20865. "remark": {
  20866. "description": "备注",
  20867. "type": "string"
  20868. }
  20869. }
  20870. },
  20871. "models.ErmcpMiddlegoodsRelateGoods": {
  20872. "type": "object",
  20873. "properties": {
  20874. "agreeunit": {
  20875. "description": "合约乘数",
  20876. "type": "number"
  20877. },
  20878. "convertratio": {
  20879. "description": "折算系数",
  20880. "type": "number"
  20881. },
  20882. "enumdicname": {
  20883. "description": "单位名称(交易商品)",
  20884. "type": "string"
  20885. },
  20886. "goodscode": {
  20887. "description": "交易商品代码",
  20888. "type": "string"
  20889. },
  20890. "goodsgroupid": {
  20891. "description": "交易品种id",
  20892. "type": "integer"
  20893. },
  20894. "goodsid": {
  20895. "description": "商品Id",
  20896. "type": "integer"
  20897. },
  20898. "goodsname": {
  20899. "description": "交易商品名称",
  20900. "type": "string"
  20901. },
  20902. "goodunitid": {
  20903. "description": "交易商品单位id",
  20904. "type": "integer"
  20905. },
  20906. "middlegoodsid": {
  20907. "description": "套保商品id",
  20908. "type": "integer"
  20909. },
  20910. "middlegoodsname": {
  20911. "description": "套保商品名称",
  20912. "type": "string"
  20913. },
  20914. "middlegoodsswcode": {
  20915. "description": "套保商品代码",
  20916. "type": "string"
  20917. },
  20918. "needarbitrageratio": {
  20919. "description": "应套利比例",
  20920. "type": "number"
  20921. },
  20922. "needhedgeratio": {
  20923. "description": "应套保比例",
  20924. "type": "number"
  20925. }
  20926. }
  20927. },
  20928. "models.ErmcpOPLogModel": {
  20929. "type": "object",
  20930. "properties": {
  20931. "aftervalue": {
  20932. "description": "变更后",
  20933. "type": "number"
  20934. },
  20935. "applyid": {
  20936. "description": "操作人ID",
  20937. "type": "string"
  20938. },
  20939. "applyname": {
  20940. "description": "操作人名称",
  20941. "type": "string"
  20942. },
  20943. "beforevalue": {
  20944. "description": "变更前",
  20945. "type": "number"
  20946. },
  20947. "biztype": {
  20948. "description": "业务类型 - 1:套保计划 2:现货合同",
  20949. "type": "integer"
  20950. },
  20951. "contracttype": {
  20952. "description": "现货合同类型 - 1:采购 -1:销售",
  20953. "type": "integer"
  20954. },
  20955. "logvalue": {
  20956. "description": "数值",
  20957. "type": "number"
  20958. },
  20959. "operatelogtype": {
  20960. "description": "操作流水类型",
  20961. "type": "integer"
  20962. },
  20963. "operatelogtypedesc": {
  20964. "description": "操作流水类型名称",
  20965. "type": "string"
  20966. },
  20967. "relatedid": {
  20968. "description": "现货合同ID\\套保计划",
  20969. "type": "string"
  20970. },
  20971. "updatetime": {
  20972. "description": "更新时间",
  20973. "type": "string"
  20974. }
  20975. }
  20976. },
  20977. "models.ErmcpPendingAudit": {
  20978. "type": "object",
  20979. "properties": {
  20980. "areastockqty": {
  20981. "description": "待审核数量: 库存申请",
  20982. "type": "integer"
  20983. },
  20984. "businessdjqty": {
  20985. "description": "待审核数量: 点价",
  20986. "type": "integer"
  20987. },
  20988. "businessfpqty": {
  20989. "description": "待审核数量: 发票",
  20990. "type": "integer"
  20991. },
  20992. "businessjsqty": {
  20993. "description": "待审核数量: 结算",
  20994. "type": "integer"
  20995. },
  20996. "businesskxqty": {
  20997. "description": "待审核数量: 款项",
  20998. "type": "integer"
  20999. },
  21000. "hedgeplanqty": {
  21001. "description": "待审核数量: 套保计划",
  21002. "type": "integer"
  21003. },
  21004. "spotcontractqty": {
  21005. "description": "待审核数量: 现货合同",
  21006. "type": "integer"
  21007. },
  21008. "userqty": {
  21009. "description": "待审核数量: 用户",
  21010. "type": "integer"
  21011. }
  21012. }
  21013. },
  21014. "models.ErmcpRealExposureModel": {
  21015. "type": "object",
  21016. "properties": {
  21017. "AreaUserID": {
  21018. "description": "所属机构",
  21019. "type": "integer"
  21020. },
  21021. "BuyFutureQty": {
  21022. "description": "买入期货数量",
  21023. "type": "number"
  21024. },
  21025. "BuyPlanQty": {
  21026. "description": "采购计划数量",
  21027. "type": "number"
  21028. },
  21029. "BuyPricedQty": {
  21030. "description": "采购合同已定价数量",
  21031. "type": "number"
  21032. },
  21033. "MiddleGoodsCode": {
  21034. "description": "套保品种代码",
  21035. "type": "string"
  21036. },
  21037. "MiddleGoodsHedgeRatio": {
  21038. "description": "套保比例",
  21039. "type": "number"
  21040. },
  21041. "MiddleGoodsID": {
  21042. "description": "套保品种",
  21043. "type": "integer"
  21044. },
  21045. "MiddleGoodsName": {
  21046. "description": "套保品种名称",
  21047. "type": "string"
  21048. },
  21049. "NeedHedgeExposoure": {
  21050. "description": "应套保敞口(套保敞口)",
  21051. "type": "number"
  21052. },
  21053. "NeedHedgeRatio": {
  21054. "description": "应套保敞口比例",
  21055. "type": "number"
  21056. },
  21057. "OriBuyFutureQty": {
  21058. "description": "期初买入期货数量",
  21059. "type": "number"
  21060. },
  21061. "OriBuyPlanQty": {
  21062. "description": "期初采购计划数量",
  21063. "type": "number"
  21064. },
  21065. "OriBuyPricedQty": {
  21066. "description": "期初采购合同已定价数量",
  21067. "type": "number"
  21068. },
  21069. "OriSellFutureQty": {
  21070. "description": "期初卖出期货数量",
  21071. "type": "number"
  21072. },
  21073. "OriSellPlanQty": {
  21074. "description": "期初销售计划数量",
  21075. "type": "number"
  21076. },
  21077. "OriSellPricedQty": {
  21078. "description": "期初销售合同已定价数量",
  21079. "type": "number"
  21080. },
  21081. "SellFutureQty": {
  21082. "description": "卖出期货数量",
  21083. "type": "number"
  21084. },
  21085. "SellPlanQty": {
  21086. "description": "销售计划数量",
  21087. "type": "number"
  21088. },
  21089. "SellPricedQty": {
  21090. "description": "销售合同已定价数量",
  21091. "type": "number"
  21092. },
  21093. "TotalExposure": {
  21094. "description": "总敞口",
  21095. "type": "number"
  21096. },
  21097. "TotalFutureQty": {
  21098. "description": "期货总量",
  21099. "type": "number"
  21100. },
  21101. "TotalHedgeRatio": {
  21102. "description": "敞口比例",
  21103. "type": "number"
  21104. },
  21105. "TotalNeedHedgeQty": {
  21106. "description": "应套保总量(现货应套保总量)",
  21107. "type": "number"
  21108. },
  21109. "TotalSpotQty": {
  21110. "description": "现货总量",
  21111. "type": "number"
  21112. },
  21113. "arbitrageqty": {
  21114. "description": "套利量",
  21115. "type": "number"
  21116. },
  21117. "diffArbitrageQty": {
  21118. "description": "套利变动量",
  21119. "type": "number"
  21120. },
  21121. "diffExposoureQty": {
  21122. "description": "变动量(套保敞口)",
  21123. "type": "number"
  21124. },
  21125. "diffFutuQty": {
  21126. "description": "变动量(期货总量)",
  21127. "type": "number"
  21128. },
  21129. "diffHedgeQty": {
  21130. "description": "套保变动量",
  21131. "type": "number"
  21132. },
  21133. "diffQty": {
  21134. "description": "变动量(总敞口)",
  21135. "type": "number"
  21136. },
  21137. "diffSpotHedgeQty": {
  21138. "description": "变动量(现货应套保总量)",
  21139. "type": "number"
  21140. },
  21141. "diffSpotQty": {
  21142. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  21143. "type": "number"
  21144. },
  21145. "enumdicname": {
  21146. "description": "单位名称",
  21147. "type": "string"
  21148. },
  21149. "hedgeqty": {
  21150. "description": "套保量",
  21151. "type": "number"
  21152. },
  21153. "needarbitrageqty": {
  21154. "description": "应套利量",
  21155. "type": "number"
  21156. },
  21157. "needarbitrageratio": {
  21158. "description": "套利比例",
  21159. "type": "number"
  21160. },
  21161. "needhedgeqty": {
  21162. "description": "应套保量",
  21163. "type": "number"
  21164. },
  21165. "oriTotalFutuQty": {
  21166. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  21167. "type": "number"
  21168. },
  21169. "oriTotalSpotQty": {
  21170. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  21171. "type": "number"
  21172. },
  21173. "oriarbitrageqty": {
  21174. "description": "期初套利量",
  21175. "type": "number"
  21176. },
  21177. "orihedgeqty": {
  21178. "description": "期初套保量",
  21179. "type": "number"
  21180. },
  21181. "orineedhedgeexposoure": {
  21182. "description": "期初套保敞口",
  21183. "type": "number"
  21184. },
  21185. "oritotalexposure": {
  21186. "description": "期初总敞口",
  21187. "type": "number"
  21188. },
  21189. "oritotalfutureqty": {
  21190. "description": "期初期货总量",
  21191. "type": "number"
  21192. },
  21193. "oritotalneedhedgeqty": {
  21194. "description": "期初现货应套保量",
  21195. "type": "number"
  21196. }
  21197. }
  21198. },
  21199. "models.ErmcpRole": {
  21200. "type": "object",
  21201. "properties": {
  21202. "areauserid": {
  21203. "description": "所属机构",
  21204. "type": "integer"
  21205. },
  21206. "autoid": {
  21207. "description": "角色ID(自增ID)",
  21208. "type": "integer"
  21209. },
  21210. "modifierid": {
  21211. "description": "修改人(创建人)",
  21212. "type": "integer"
  21213. },
  21214. "modifiername": {
  21215. "description": "修改人名称",
  21216. "type": "string"
  21217. },
  21218. "modifytime": {
  21219. "description": "修改时间(创建时间)",
  21220. "type": "string"
  21221. },
  21222. "rolename": {
  21223. "description": "角色名称",
  21224. "type": "string"
  21225. },
  21226. "rolestatus": {
  21227. "description": "角色状态 - 1:启用 2:停用",
  21228. "type": "integer"
  21229. },
  21230. "roletype": {
  21231. "description": "角色类型 - 1- 管理端 2- 交易端",
  21232. "type": "integer"
  21233. }
  21234. }
  21235. },
  21236. "models.ErmcpRoleMenu": {
  21237. "type": "object",
  21238. "properties": {
  21239. "iconame": {
  21240. "description": "菜单图标",
  21241. "type": "string"
  21242. },
  21243. "ishadrole": {
  21244. "description": "是否有权限",
  21245. "type": "boolean"
  21246. },
  21247. "menutype": {
  21248. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  21249. "type": "integer"
  21250. },
  21251. "parentcode": {
  21252. "description": "上级资源代码",
  21253. "type": "string"
  21254. },
  21255. "remark": {
  21256. "description": "菜单备注",
  21257. "type": "string"
  21258. },
  21259. "resourcecode": {
  21260. "description": "菜单代码",
  21261. "type": "string"
  21262. },
  21263. "resourcelevel": {
  21264. "description": "级别",
  21265. "type": "integer"
  21266. },
  21267. "resourcename": {
  21268. "description": "菜单名称",
  21269. "type": "string"
  21270. },
  21271. "roleid": {
  21272. "description": "角色id",
  21273. "type": "integer"
  21274. },
  21275. "sort": {
  21276. "description": "排序",
  21277. "type": "integer"
  21278. },
  21279. "url": {
  21280. "description": "URL",
  21281. "type": "string"
  21282. },
  21283. "userid": {
  21284. "description": "用户id",
  21285. "type": "integer"
  21286. }
  21287. }
  21288. },
  21289. "models.ErmcpRoleMenuEx": {
  21290. "type": "object",
  21291. "properties": {
  21292. "menu": {
  21293. "description": "父级菜单",
  21294. "type": "object",
  21295. "$ref": "#/definitions/models.ErmcpRoleMenu"
  21296. },
  21297. "subMenu": {
  21298. "description": "子级菜单",
  21299. "type": "array",
  21300. "items": {
  21301. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  21302. }
  21303. }
  21304. }
  21305. },
  21306. "models.ErmcpTaAccount": {
  21307. "type": "object",
  21308. "properties": {
  21309. "accountid": {
  21310. "description": "账户id",
  21311. "type": "integer"
  21312. },
  21313. "accountname": {
  21314. "description": "账户名称",
  21315. "type": "string"
  21316. },
  21317. "currencyid": {
  21318. "description": "币种id",
  21319. "type": "integer"
  21320. },
  21321. "hedgeaccountcode": {
  21322. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  21323. "type": "string"
  21324. },
  21325. "ismain": {
  21326. "description": "是否主账户 0-否 1-是",
  21327. "type": "integer"
  21328. },
  21329. "parentaccountid": {
  21330. "description": "父账户id",
  21331. "type": "integer"
  21332. },
  21333. "relateduserid": {
  21334. "description": "关联userid",
  21335. "type": "integer"
  21336. },
  21337. "tradefeetmpid": {
  21338. "description": "手续费模板id",
  21339. "type": "integer"
  21340. },
  21341. "tradefeetmpname": {
  21342. "description": "手续费模板名称",
  21343. "type": "string"
  21344. },
  21345. "trademargintmpid": {
  21346. "description": "保证金模板id",
  21347. "type": "integer"
  21348. },
  21349. "trademargintmpname": {
  21350. "description": "保证金模板名称",
  21351. "type": "string"
  21352. },
  21353. "traderatetmpid": {
  21354. "description": "汇率模板id",
  21355. "type": "integer"
  21356. },
  21357. "traderatetmpname": {
  21358. "description": "汇率模板名称",
  21359. "type": "string"
  21360. },
  21361. "tradestatus": {
  21362. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21363. "type": "integer"
  21364. },
  21365. "userid": {
  21366. "description": "用户id",
  21367. "type": "integer"
  21368. }
  21369. }
  21370. },
  21371. "models.ErmcpTaAccountEx": {
  21372. "type": "object",
  21373. "properties": {
  21374. "mainAcc": {
  21375. "description": "主账号",
  21376. "type": "object",
  21377. "$ref": "#/definitions/models.ErmcpTaAccountM"
  21378. },
  21379. "subacclist": {
  21380. "description": "子账号列表",
  21381. "type": "array",
  21382. "items": {
  21383. "$ref": "#/definitions/models.ErmcpTaAccount"
  21384. }
  21385. }
  21386. }
  21387. },
  21388. "models.ErmcpTaAccountInfo": {
  21389. "type": "object",
  21390. "properties": {
  21391. "accountid": {
  21392. "description": "资金账户ID",
  21393. "type": "integer"
  21394. },
  21395. "accountname": {
  21396. "description": "账户名称",
  21397. "type": "string"
  21398. },
  21399. "balance": {
  21400. "description": "期初余额",
  21401. "type": "number"
  21402. },
  21403. "capitalbalance": {
  21404. "description": "本金余额[外部子账户实际出入金余额]",
  21405. "type": "number"
  21406. },
  21407. "closepl": {
  21408. "description": "今日平仓盈亏",
  21409. "type": "number"
  21410. },
  21411. "creditdecrease": {
  21412. "description": "今日授信减少",
  21413. "type": "number"
  21414. },
  21415. "creditincrease": {
  21416. "description": "今日授信增加",
  21417. "type": "number"
  21418. },
  21419. "curdebt": {
  21420. "description": "期末欠款",
  21421. "type": "number"
  21422. },
  21423. "currencyid": {
  21424. "description": "货币ID",
  21425. "type": "integer"
  21426. },
  21427. "currentbalance": {
  21428. "description": "期末余额",
  21429. "type": "number"
  21430. },
  21431. "freezecharge": {
  21432. "description": "手续费冻结",
  21433. "type": "number"
  21434. },
  21435. "freezemargin": {
  21436. "description": "冻结保证金",
  21437. "type": "number"
  21438. },
  21439. "fromaccountid": {
  21440. "description": "所属上级账户",
  21441. "type": "integer"
  21442. },
  21443. "inamount": {
  21444. "description": "今日入金金额(包括三方入金)",
  21445. "type": "number"
  21446. },
  21447. "ismain": {
  21448. "description": "是否母账号 0:不是母账户 1:是母账户",
  21449. "type": "integer"
  21450. },
  21451. "mortgagecredit": {
  21452. "description": "授信金额",
  21453. "type": "number"
  21454. },
  21455. "oridebt": {
  21456. "description": "期初欠款",
  21457. "type": "number"
  21458. },
  21459. "orifreezecharge": {
  21460. "description": "期初手续费冻结",
  21461. "type": "number"
  21462. },
  21463. "orifreezemargin": {
  21464. "description": "期初冻结保证金",
  21465. "type": "number"
  21466. },
  21467. "orimortgagecredit": {
  21468. "description": "期初授信金额",
  21469. "type": "number"
  21470. },
  21471. "oriothercredit": {
  21472. "description": "期初其它授信金额",
  21473. "type": "number"
  21474. },
  21475. "oriotherfreezemargin": {
  21476. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  21477. "type": "number"
  21478. },
  21479. "orioutamountfreeze": {
  21480. "description": "期初出金冻结",
  21481. "type": "number"
  21482. },
  21483. "oriusedmargin": {
  21484. "description": "期初占用保证金",
  21485. "type": "number"
  21486. },
  21487. "othercredit": {
  21488. "description": "其它授信金额",
  21489. "type": "number"
  21490. },
  21491. "othercreditdecrease": {
  21492. "description": "今日其它授信减少",
  21493. "type": "number"
  21494. },
  21495. "othercreditincrease": {
  21496. "description": "今日其它授信增加",
  21497. "type": "number"
  21498. },
  21499. "otherfreezemargin": {
  21500. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  21501. "type": "number"
  21502. },
  21503. "outamount": {
  21504. "description": "今日出金金额(包括三方出金)",
  21505. "type": "number"
  21506. },
  21507. "outamountfreeze": {
  21508. "description": "出金冻结",
  21509. "type": "number"
  21510. },
  21511. "outthreshold": {
  21512. "description": "出金阈值",
  21513. "type": "number"
  21514. },
  21515. "parentaccountid": {
  21516. "description": "所属根账号",
  21517. "type": "integer"
  21518. },
  21519. "paycharge": {
  21520. "description": "今日手续费支出",
  21521. "type": "number"
  21522. },
  21523. "relateduserid": {
  21524. "description": "关联用户",
  21525. "type": "integer"
  21526. },
  21527. "signstatus": {
  21528. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  21529. "type": "integer"
  21530. },
  21531. "sublevelpath": {
  21532. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  21533. "type": "string"
  21534. },
  21535. "taaccounttype": {
  21536. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  21537. "type": "integer"
  21538. },
  21539. "thirdinamount": {
  21540. "description": "今日三方入金",
  21541. "type": "number"
  21542. },
  21543. "thirdoutamount": {
  21544. "description": "今日三方出金",
  21545. "type": "number"
  21546. },
  21547. "tradestatus": {
  21548. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21549. "type": "integer"
  21550. },
  21551. "transferamount": {
  21552. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  21553. "type": "number"
  21554. },
  21555. "usedmargin": {
  21556. "description": "占用保证金",
  21557. "type": "number"
  21558. },
  21559. "userid": {
  21560. "description": "用户ID",
  21561. "type": "integer"
  21562. }
  21563. }
  21564. },
  21565. "models.ErmcpTaAccountM": {
  21566. "type": "object",
  21567. "properties": {
  21568. "accountid": {
  21569. "description": "账户id",
  21570. "type": "integer"
  21571. },
  21572. "accountname": {
  21573. "description": "账户名称",
  21574. "type": "string"
  21575. },
  21576. "currencyid": {
  21577. "description": "币种id",
  21578. "type": "integer"
  21579. },
  21580. "fcid": {
  21581. "description": "期货公司id",
  21582. "type": "integer"
  21583. },
  21584. "fcname": {
  21585. "description": "期货公司代码",
  21586. "type": "string"
  21587. },
  21588. "hedgeaccountcode": {
  21589. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  21590. "type": "string"
  21591. },
  21592. "ismain": {
  21593. "description": "是否主账户 0-否 1-是",
  21594. "type": "integer"
  21595. },
  21596. "parentaccountid": {
  21597. "description": "父账户id",
  21598. "type": "integer"
  21599. },
  21600. "relateduserid": {
  21601. "description": "关联userid",
  21602. "type": "integer"
  21603. },
  21604. "tradefeetmpid": {
  21605. "description": "手续费模板id",
  21606. "type": "integer"
  21607. },
  21608. "tradefeetmpname": {
  21609. "description": "手续费模板名称",
  21610. "type": "string"
  21611. },
  21612. "trademargintmpid": {
  21613. "description": "保证金模板id",
  21614. "type": "integer"
  21615. },
  21616. "trademargintmpname": {
  21617. "description": "保证金模板名称",
  21618. "type": "string"
  21619. },
  21620. "traderatetmpid": {
  21621. "description": "汇率模板id",
  21622. "type": "integer"
  21623. },
  21624. "traderatetmpname": {
  21625. "description": "汇率模板名称",
  21626. "type": "string"
  21627. },
  21628. "tradestatus": {
  21629. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21630. "type": "integer"
  21631. },
  21632. "userid": {
  21633. "description": "用户id",
  21634. "type": "integer"
  21635. }
  21636. }
  21637. },
  21638. "models.ErmcpTradeConfigTMP": {
  21639. "type": "object",
  21640. "properties": {
  21641. "areauserid": {
  21642. "description": "所属机构",
  21643. "type": "integer"
  21644. },
  21645. "basiccurrencyid": {
  21646. "description": "基本币种ID[汇率] - 目标币种",
  21647. "type": "integer"
  21648. },
  21649. "mainaccountid": {
  21650. "description": "主账户ID",
  21651. "type": "integer"
  21652. },
  21653. "modifierid": {
  21654. "description": "修改人",
  21655. "type": "integer"
  21656. },
  21657. "remark": {
  21658. "description": "备注",
  21659. "type": "string"
  21660. },
  21661. "tradeconfigtmpid": {
  21662. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  21663. "type": "integer"
  21664. },
  21665. "tradeconfigtmpname": {
  21666. "description": "交易配置模板名称",
  21667. "type": "string"
  21668. },
  21669. "tradeconfigtmptype": {
  21670. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  21671. "type": "integer"
  21672. },
  21673. "updatetime": {
  21674. "description": "更新时间",
  21675. "type": "string"
  21676. }
  21677. }
  21678. },
  21679. "models.ErmcpUserModel": {
  21680. "type": "object",
  21681. "properties": {
  21682. "address": {
  21683. "description": "通讯地址",
  21684. "type": "string"
  21685. },
  21686. "attachment1": {
  21687. "description": "附件1",
  21688. "type": "string"
  21689. },
  21690. "audittime": {
  21691. "description": "审核时间",
  21692. "type": "string"
  21693. },
  21694. "cardbackphotourl": {
  21695. "description": "证件反面图片地址",
  21696. "type": "string"
  21697. },
  21698. "cardfrontphotourl": {
  21699. "description": "证件正面图片地址",
  21700. "type": "string"
  21701. },
  21702. "cardnum": {
  21703. "description": "证件号码",
  21704. "type": "string"
  21705. },
  21706. "cardtype": {
  21707. "description": "证件类型",
  21708. "type": "integer"
  21709. },
  21710. "cardtypename": {
  21711. "description": "证件类型名称",
  21712. "type": "string"
  21713. },
  21714. "cityid": {
  21715. "description": "市",
  21716. "type": "integer"
  21717. },
  21718. "contactname": {
  21719. "description": "联系人",
  21720. "type": "string"
  21721. },
  21722. "countryid": {
  21723. "description": "国家",
  21724. "type": "integer"
  21725. },
  21726. "createtime": {
  21727. "description": "创建时间",
  21728. "type": "string"
  21729. },
  21730. "customername": {
  21731. "description": "企业名称",
  21732. "type": "string"
  21733. },
  21734. "districtid": {
  21735. "description": "区域",
  21736. "type": "integer"
  21737. },
  21738. "email": {
  21739. "description": "邮件",
  21740. "type": "string"
  21741. },
  21742. "legalpersonname": {
  21743. "description": "法人姓名(企业)",
  21744. "type": "string"
  21745. },
  21746. "memberuserid": {
  21747. "description": "所属机构ID",
  21748. "type": "integer"
  21749. },
  21750. "mobile": {
  21751. "description": "手机号码",
  21752. "type": "string"
  21753. },
  21754. "modifytime": {
  21755. "description": "修改时间",
  21756. "type": "string"
  21757. },
  21758. "nickname": {
  21759. "description": "昵称",
  21760. "type": "string"
  21761. },
  21762. "provinceid": {
  21763. "description": "省",
  21764. "type": "integer"
  21765. },
  21766. "remark": {
  21767. "description": "备注",
  21768. "type": "string"
  21769. },
  21770. "status": {
  21771. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  21772. "type": "integer"
  21773. },
  21774. "statusdesc": {
  21775. "description": "账户状态中文描述",
  21776. "type": "string"
  21777. },
  21778. "taxpayernum": {
  21779. "description": "纳税人识别号",
  21780. "type": "string"
  21781. },
  21782. "telphone": {
  21783. "description": "联系电话",
  21784. "type": "string"
  21785. },
  21786. "userid": {
  21787. "description": "用户ID",
  21788. "type": "integer"
  21789. },
  21790. "userinfotype": {
  21791. "description": "客户类型",
  21792. "type": "string"
  21793. }
  21794. }
  21795. },
  21796. "models.ErmcpWareHouseInfo": {
  21797. "type": "object",
  21798. "properties": {
  21799. "address": {
  21800. "description": "详细地址",
  21801. "type": "string"
  21802. },
  21803. "areauserid": {
  21804. "description": "所属机构",
  21805. "type": "integer"
  21806. },
  21807. "autoid": {
  21808. "description": "自增ID(仓库ID)",
  21809. "type": "integer"
  21810. },
  21811. "cityid": {
  21812. "description": "市",
  21813. "type": "integer"
  21814. },
  21815. "contactname": {
  21816. "description": "联系人",
  21817. "type": "string"
  21818. },
  21819. "contactnum": {
  21820. "description": "联系电话",
  21821. "type": "string"
  21822. },
  21823. "countryid": {
  21824. "description": "国家",
  21825. "type": "integer"
  21826. },
  21827. "createtime": {
  21828. "description": "创建时间",
  21829. "type": "string"
  21830. },
  21831. "districtid": {
  21832. "description": "区",
  21833. "type": "integer"
  21834. },
  21835. "hasvideo": {
  21836. "description": "是否有视频 - 0:无 1:有",
  21837. "type": "integer"
  21838. },
  21839. "provinceid": {
  21840. "description": "省",
  21841. "type": "integer"
  21842. },
  21843. "remark": {
  21844. "description": "审核备注",
  21845. "type": "string"
  21846. },
  21847. "videourl": {
  21848. "description": "视频地址",
  21849. "type": "string"
  21850. },
  21851. "warehousecode": {
  21852. "description": "仓库代码",
  21853. "type": "string"
  21854. },
  21855. "warehousename": {
  21856. "description": "仓库名称",
  21857. "type": "string"
  21858. },
  21859. "warehousestatus": {
  21860. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  21861. "type": "integer"
  21862. },
  21863. "warehousetype": {
  21864. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  21865. "type": "integer"
  21866. }
  21867. }
  21868. },
  21869. "models.Externalexchange": {
  21870. "type": "object",
  21871. "required": [
  21872. "autoid"
  21873. ],
  21874. "properties": {
  21875. "autoid": {
  21876. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  21877. "type": "integer"
  21878. },
  21879. "exchangefullname": {
  21880. "description": "外部交易所全称",
  21881. "type": "string"
  21882. },
  21883. "exexchangecode": {
  21884. "description": "外部交易所代码",
  21885. "type": "string"
  21886. },
  21887. "exexchangename": {
  21888. "description": "外部交易所名称(简称)",
  21889. "type": "string"
  21890. },
  21891. "ismarketprice": {
  21892. "description": "是否支持市价 - 0:不支持 1:支持",
  21893. "type": "integer"
  21894. },
  21895. "quotegear": {
  21896. "description": "行情档位(1-10)",
  21897. "type": "integer"
  21898. },
  21899. "showbrokerflag": {
  21900. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  21901. "type": "integer"
  21902. },
  21903. "updatetime": {
  21904. "description": "更新时间",
  21905. "type": "string"
  21906. }
  21907. }
  21908. },
  21909. "models.Funcmenulist": {
  21910. "type": "object",
  21911. "required": [
  21912. "resourcecode"
  21913. ],
  21914. "properties": {
  21915. "iconame": {
  21916. "description": "菜单图标",
  21917. "type": "string"
  21918. },
  21919. "menutype": {
  21920. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  21921. "type": "integer"
  21922. },
  21923. "parentcode": {
  21924. "description": "上级资源代码",
  21925. "type": "string"
  21926. },
  21927. "remark": {
  21928. "description": "备注",
  21929. "type": "string"
  21930. },
  21931. "resourcecode": {
  21932. "description": "资源代码",
  21933. "type": "string"
  21934. },
  21935. "resourcelevel": {
  21936. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  21937. "type": "integer"
  21938. },
  21939. "resourcename": {
  21940. "description": "资源名",
  21941. "type": "string"
  21942. },
  21943. "sort": {
  21944. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  21945. "type": "integer"
  21946. },
  21947. "url": {
  21948. "description": "URL",
  21949. "type": "string"
  21950. }
  21951. }
  21952. },
  21953. "models.Goods": {
  21954. "type": "object",
  21955. "required": [
  21956. "goodscode",
  21957. "goodsid",
  21958. "goodsname",
  21959. "marketid"
  21960. ],
  21961. "properties": {
  21962. "agreeunit": {
  21963. "description": "合约单位",
  21964. "type": "number"
  21965. },
  21966. "areauserid": {
  21967. "description": "所属机构",
  21968. "type": "integer"
  21969. },
  21970. "auditaccountid": {
  21971. "description": "审核操作员账号",
  21972. "type": "integer"
  21973. },
  21974. "audittime": {
  21975. "description": "审核时间",
  21976. "type": "string"
  21977. },
  21978. "cancelaccountid": {
  21979. "description": "注销操作员账号",
  21980. "type": "integer"
  21981. },
  21982. "canceltime": {
  21983. "description": "注销时间",
  21984. "type": "string"
  21985. },
  21986. "closepricemode": {
  21987. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21988. "type": "integer"
  21989. },
  21990. "closepriceparam": {
  21991. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  21992. "type": "number"
  21993. },
  21994. "createtime": {
  21995. "description": "创建时间",
  21996. "type": "string"
  21997. },
  21998. "creatorid": {
  21999. "description": "创建人",
  22000. "type": "integer"
  22001. },
  22002. "currencyid": {
  22003. "description": "报价货币ID",
  22004. "type": "integer"
  22005. },
  22006. "cutmode": {
  22007. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  22008. "type": "integer"
  22009. },
  22010. "decimalplace": {
  22011. "description": "报价小数位",
  22012. "type": "integer"
  22013. },
  22014. "delistingdate": {
  22015. "description": "商品退市时间(状态:退市) -- 已作废",
  22016. "type": "string"
  22017. },
  22018. "delistingmode": {
  22019. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  22020. "type": "integer"
  22021. },
  22022. "deliveryflag": {
  22023. "description": "交割标志 - 0:不可交割 1:可交割",
  22024. "type": "integer"
  22025. },
  22026. "forceclosemode": {
  22027. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  22028. "type": "integer"
  22029. },
  22030. "forceclosevalue": {
  22031. "description": "定期强平参数 [收益权]",
  22032. "type": "integer"
  22033. },
  22034. "goodscode": {
  22035. "description": "商品代码(内部)",
  22036. "type": "string"
  22037. },
  22038. "goodscurrencyid": {
  22039. "description": "合约货币ID",
  22040. "type": "integer"
  22041. },
  22042. "goodsgroupid": {
  22043. "description": "所属商品组ID",
  22044. "type": "integer"
  22045. },
  22046. "goodsid": {
  22047. "description": "商品ID(自增ID SEQ_GOODS)",
  22048. "type": "integer"
  22049. },
  22050. "goodsname": {
  22051. "description": "商品名称",
  22052. "type": "string"
  22053. },
  22054. "goodsquotetype": {
  22055. "description": "合约报价类型: 1-直接报价 2-间接报价",
  22056. "type": "integer"
  22057. },
  22058. "goodsstatus": {
  22059. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  22060. "type": "integer"
  22061. },
  22062. "goodstradetype": {
  22063. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  22064. "type": "integer"
  22065. },
  22066. "goodunitid": {
  22067. "description": "报价单位ID",
  22068. "type": "integer"
  22069. },
  22070. "hasquoter": {
  22071. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  22072. "type": "integer"
  22073. },
  22074. "hqprotecttime": {
  22075. "description": "行情保护时间(秒)",
  22076. "type": "integer"
  22077. },
  22078. "innerdealmode": {
  22079. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  22080. "type": "integer"
  22081. },
  22082. "isbuylimited": {
  22083. "description": "是否限制建仓量 - 0:不限制 1:限制",
  22084. "type": "integer"
  22085. },
  22086. "isvisible": {
  22087. "description": "游客是否可见 - 0:不可见 1:可见",
  22088. "type": "integer"
  22089. },
  22090. "lasttradedate": {
  22091. "description": "最后交易日期(状态:待退市)",
  22092. "type": "string"
  22093. },
  22094. "listingdate": {
  22095. "description": "交易开始日期",
  22096. "type": "string"
  22097. },
  22098. "marketid": {
  22099. "description": "所属市场ID",
  22100. "type": "integer"
  22101. },
  22102. "modifierid": {
  22103. "description": "修改人",
  22104. "type": "integer"
  22105. },
  22106. "modifystatus": {
  22107. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  22108. "type": "integer"
  22109. },
  22110. "modifytime": {
  22111. "description": "修改时间",
  22112. "type": "string"
  22113. },
  22114. "outerdealmode": {
  22115. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  22116. "type": "integer"
  22117. },
  22118. "outgoodscode": {
  22119. "description": "商品代码(外部)",
  22120. "type": "string"
  22121. },
  22122. "pictureurl": {
  22123. "description": "商品图片",
  22124. "type": "string"
  22125. },
  22126. "qtydecimalplace": {
  22127. "description": "成交量小数位",
  22128. "type": "integer"
  22129. },
  22130. "quotegear": {
  22131. "description": "行情档位(1-10)",
  22132. "type": "integer"
  22133. },
  22134. "quoteminunit": {
  22135. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22136. "type": "integer"
  22137. },
  22138. "quoteshowtype": {
  22139. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  22140. "type": "integer"
  22141. },
  22142. "quoteshowtypeinterval": {
  22143. "description": "行情报价间隔时间(秒)(成交价时为0)",
  22144. "type": "integer"
  22145. },
  22146. "remark": {
  22147. "description": "备注",
  22148. "type": "string"
  22149. }
  22150. }
  22151. },
  22152. "models.GoodsIDAndName": {
  22153. "type": "object",
  22154. "required": [
  22155. "goodscode",
  22156. "goodsid",
  22157. "goodsname",
  22158. "marketid"
  22159. ],
  22160. "properties": {
  22161. "goodscode": {
  22162. "description": "商品代码(内部)",
  22163. "type": "string"
  22164. },
  22165. "goodsid": {
  22166. "description": "商品ID(自增ID SEQ_GOODS)",
  22167. "type": "integer"
  22168. },
  22169. "goodsname": {
  22170. "description": "商品名称",
  22171. "type": "string"
  22172. },
  22173. "marketid": {
  22174. "description": "所属市场ID",
  22175. "type": "integer"
  22176. }
  22177. }
  22178. },
  22179. "models.Goodsgroup": {
  22180. "type": "object",
  22181. "required": [
  22182. "goodsgroupid",
  22183. "goodsgroupname",
  22184. "goodsgroupstatus",
  22185. "marketid"
  22186. ],
  22187. "properties": {
  22188. "agreeunit": {
  22189. "description": "合约单位",
  22190. "type": "number"
  22191. },
  22192. "canshort": {
  22193. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  22194. "type": "integer"
  22195. },
  22196. "closepricemode": {
  22197. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  22198. "type": "integer"
  22199. },
  22200. "closepriceparam": {
  22201. "description": "强平最新价浮动比例 - 方式为2时使用",
  22202. "type": "number"
  22203. },
  22204. "createtime": {
  22205. "description": "创建时间",
  22206. "type": "string"
  22207. },
  22208. "creatorid": {
  22209. "description": "创建人",
  22210. "type": "integer"
  22211. },
  22212. "currencyid": {
  22213. "description": "报价货币ID",
  22214. "type": "integer"
  22215. },
  22216. "decimalplace": {
  22217. "description": "报价小数位",
  22218. "type": "integer"
  22219. },
  22220. "exercisetype": {
  22221. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  22222. "type": "integer"
  22223. },
  22224. "exexchangeid": {
  22225. "description": "外部交易所ID[通道交易]",
  22226. "type": "integer"
  22227. },
  22228. "goodsgroupid": {
  22229. "description": "商品组ID(自增ID)",
  22230. "type": "integer"
  22231. },
  22232. "goodsgroupname": {
  22233. "description": "商品组名称",
  22234. "type": "string"
  22235. },
  22236. "goodsgroupstatus": {
  22237. "description": "商品组状态 - 1:正常 2:注销",
  22238. "type": "integer"
  22239. },
  22240. "goodunitid": {
  22241. "description": "报价单位ID",
  22242. "type": "integer"
  22243. },
  22244. "innerdealmode": {
  22245. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  22246. "type": "integer"
  22247. },
  22248. "isbuylimited": {
  22249. "description": "是否限制建仓量 - 0:不限制 1:限制",
  22250. "type": "integer"
  22251. },
  22252. "marketid": {
  22253. "description": "所属市场ID",
  22254. "type": "integer"
  22255. },
  22256. "modifierid": {
  22257. "description": "修改人",
  22258. "type": "integer"
  22259. },
  22260. "modifytime": {
  22261. "description": "修改时间",
  22262. "type": "string"
  22263. },
  22264. "outerdealmode": {
  22265. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  22266. "type": "integer"
  22267. },
  22268. "outergroupcode": {
  22269. "description": "外部商品组代码[通道交易]",
  22270. "type": "string"
  22271. },
  22272. "premiumdecimalplace": {
  22273. "description": "权利金小数位[场外期权]",
  22274. "type": "integer"
  22275. },
  22276. "premiumspreadalgorithm": {
  22277. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  22278. "type": "integer"
  22279. },
  22280. "premiumspreadvalue": {
  22281. "description": "权利金点差值[场外期权]",
  22282. "type": "number"
  22283. },
  22284. "qtydecimalplace": {
  22285. "description": "成交量小数位",
  22286. "type": "integer"
  22287. },
  22288. "quotegear": {
  22289. "description": "行情档位(1-10)",
  22290. "type": "integer"
  22291. },
  22292. "quoteminunit": {
  22293. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22294. "type": "integer"
  22295. },
  22296. "quoterid": {
  22297. "description": "报价商ID[场外期权]",
  22298. "type": "integer"
  22299. },
  22300. "quotesourcegroupid": {
  22301. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  22302. "type": "integer"
  22303. },
  22304. "syncgoodsqty": {
  22305. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  22306. "type": "integer"
  22307. }
  22308. }
  22309. },
  22310. "models.Goodssortbypreposition": {
  22311. "type": "object",
  22312. "required": [
  22313. "goodscode",
  22314. "tradedate"
  22315. ],
  22316. "properties": {
  22317. "goodscode": {
  22318. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  22319. "type": "string"
  22320. },
  22321. "goodsgroupcode": {
  22322. "description": "品种代码",
  22323. "type": "string"
  22324. },
  22325. "prepositionqty": {
  22326. "description": "昨持仓量",
  22327. "type": "integer"
  22328. },
  22329. "sortindex": {
  22330. "description": "排序",
  22331. "type": "integer"
  22332. },
  22333. "tradedate": {
  22334. "description": "交易日",
  22335. "type": "string"
  22336. },
  22337. "updatetime": {
  22338. "description": "更新时间",
  22339. "type": "string"
  22340. }
  22341. }
  22342. },
  22343. "models.Hedgeinnerholderdetail": {
  22344. "type": "object",
  22345. "required": [
  22346. "buyorsell",
  22347. "tradeid"
  22348. ],
  22349. "properties": {
  22350. "accountid": {
  22351. "description": "账号ID",
  22352. "type": "integer"
  22353. },
  22354. "buyorsell": {
  22355. "description": "方向 - 0:买 1:卖",
  22356. "type": "integer"
  22357. },
  22358. "freezeqty": {
  22359. "description": "冻结数量 - 按单平使用",
  22360. "type": "integer"
  22361. },
  22362. "goodsid": {
  22363. "description": "商品ID",
  22364. "type": "integer"
  22365. },
  22366. "holderamount": {
  22367. "description": "持仓金额 [商品币种]",
  22368. "type": "number"
  22369. },
  22370. "holderdays": {
  22371. "description": "剩余冻结天数",
  22372. "type": "integer"
  22373. },
  22374. "holderprice": {
  22375. "description": "持仓价格",
  22376. "type": "number"
  22377. },
  22378. "holderqty": {
  22379. "description": "持仓数量",
  22380. "type": "integer"
  22381. },
  22382. "marketid": {
  22383. "description": "市场ID",
  22384. "type": "integer"
  22385. },
  22386. "openprice": {
  22387. "description": "建仓价格",
  22388. "type": "number"
  22389. },
  22390. "openqty": {
  22391. "description": "建仓数量",
  22392. "type": "integer"
  22393. },
  22394. "parentaccountid": {
  22395. "description": "所属母账户",
  22396. "type": "integer"
  22397. },
  22398. "releaseamount": {
  22399. "description": "释放持仓金额[商品币种]",
  22400. "type": "number"
  22401. },
  22402. "tradeamount": {
  22403. "description": "成交金额[账户]",
  22404. "type": "number"
  22405. },
  22406. "tradedate": {
  22407. "description": "交易日(yyyyMMdd)",
  22408. "type": "string"
  22409. },
  22410. "tradeid": {
  22411. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22412. "type": "string"
  22413. },
  22414. "tradetime": {
  22415. "description": "交易时间",
  22416. "type": "string"
  22417. }
  22418. }
  22419. },
  22420. "models.Hedgemarketopenlog": {
  22421. "type": "object",
  22422. "required": [
  22423. "accountid"
  22424. ],
  22425. "properties": {
  22426. "accountid": {
  22427. "description": "资金账号[外部母账户]",
  22428. "type": "integer"
  22429. },
  22430. "fcname": {
  22431. "description": "期货公司名称",
  22432. "type": "string"
  22433. },
  22434. "handlestatus": {
  22435. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  22436. "type": "integer"
  22437. },
  22438. "marketid": {
  22439. "description": "市场ID",
  22440. "type": "integer"
  22441. },
  22442. "status": {
  22443. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  22444. "type": "integer"
  22445. },
  22446. "tradedate": {
  22447. "description": "交易日(yyyyMMdd)",
  22448. "type": "string"
  22449. },
  22450. "updatetime": {
  22451. "description": "更新时间",
  22452. "type": "string"
  22453. }
  22454. }
  22455. },
  22456. "models.HsbyBuyMyPayOrder": {
  22457. "type": "object",
  22458. "required": [
  22459. "goodscode",
  22460. "goodsname",
  22461. "tradeid",
  22462. "trademode"
  22463. ],
  22464. "properties": {
  22465. "agreeunit": {
  22466. "description": "合约单位",
  22467. "type": "number"
  22468. },
  22469. "buyaccountid": {
  22470. "description": "买方账号ID[报价币种]",
  22471. "type": "integer"
  22472. },
  22473. "buyorderid": {
  22474. "description": "买方委托单号",
  22475. "type": "string"
  22476. },
  22477. "createtime": {
  22478. "description": "创建时间",
  22479. "type": "string"
  22480. },
  22481. "currencysign": {
  22482. "description": "货币符号",
  22483. "type": "string"
  22484. },
  22485. "decimalplace": {
  22486. "description": "报价小数位",
  22487. "type": "integer"
  22488. },
  22489. "goodscode": {
  22490. "description": "商品代码(内部)",
  22491. "type": "string"
  22492. },
  22493. "goodsid": {
  22494. "description": "商品ID",
  22495. "type": "integer"
  22496. },
  22497. "goodsname": {
  22498. "description": "商品名称",
  22499. "type": "string"
  22500. },
  22501. "marketid": {
  22502. "description": "市场ID",
  22503. "type": "integer"
  22504. },
  22505. "offamount": {
  22506. "description": "优惠金额",
  22507. "type": "number"
  22508. },
  22509. "originalamount": {
  22510. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  22511. "type": "number"
  22512. },
  22513. "payamount": {
  22514. "description": "支付金额 = TradeAmount + TradeCharge",
  22515. "type": "number"
  22516. },
  22517. "payflag": {
  22518. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  22519. "type": "integer"
  22520. },
  22521. "paylimitedtime": {
  22522. "description": "支付期限",
  22523. "type": "string"
  22524. },
  22525. "paytime": {
  22526. "description": "付款时间",
  22527. "type": "string"
  22528. },
  22529. "picurls1": {
  22530. "description": "预售商品介绍图片[多张用逗号分隔]",
  22531. "type": "string"
  22532. },
  22533. "picurls2": {
  22534. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22535. "type": "string"
  22536. },
  22537. "sellaccountid": {
  22538. "description": "卖方账号ID[报价币种]",
  22539. "type": "integer"
  22540. },
  22541. "sellorderid": {
  22542. "description": "卖方委托单号",
  22543. "type": "string"
  22544. },
  22545. "tradeamount": {
  22546. "description": "成交金额",
  22547. "type": "number"
  22548. },
  22549. "tradecharge": {
  22550. "description": "成交手续费(买方)",
  22551. "type": "number"
  22552. },
  22553. "tradedate": {
  22554. "description": "交易日(yyyyMMdd)",
  22555. "type": "string"
  22556. },
  22557. "tradeid": {
  22558. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22559. "type": "string"
  22560. },
  22561. "trademode": {
  22562. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22563. "type": "integer"
  22564. },
  22565. "tradeprice": {
  22566. "description": "成交价格",
  22567. "type": "number"
  22568. },
  22569. "tradeqty": {
  22570. "description": "成交数量",
  22571. "type": "integer"
  22572. },
  22573. "vendorname1": {
  22574. "description": "预售商品供应商名称",
  22575. "type": "string"
  22576. },
  22577. "vendorname2": {
  22578. "description": "挂牌商品供应商名称",
  22579. "type": "string"
  22580. }
  22581. }
  22582. },
  22583. "models.HsbyBuyMyTradeDetail": {
  22584. "type": "object",
  22585. "required": [
  22586. "accountid",
  22587. "buyorsell",
  22588. "goodscode",
  22589. "goodsid",
  22590. "goodsname",
  22591. "marketid",
  22592. "orderid",
  22593. "qty",
  22594. "time",
  22595. "trademode"
  22596. ],
  22597. "properties": {
  22598. "accountid": {
  22599. "description": "账户ID[报价币种]",
  22600. "type": "integer"
  22601. },
  22602. "agreeunit": {
  22603. "description": "合约单位",
  22604. "type": "number"
  22605. },
  22606. "amount": {
  22607. "description": "金额 = 价格 * 数量 * 合约单位",
  22608. "type": "number"
  22609. },
  22610. "buyorsell": {
  22611. "description": "买卖 - 0:买 1:卖",
  22612. "type": "integer"
  22613. },
  22614. "currencysign": {
  22615. "description": "货币符号",
  22616. "type": "string"
  22617. },
  22618. "decimalplace": {
  22619. "description": "报价小数位",
  22620. "type": "integer"
  22621. },
  22622. "goodscode": {
  22623. "description": "商品代码(内部)",
  22624. "type": "string"
  22625. },
  22626. "goodsid": {
  22627. "description": "商品ID",
  22628. "type": "integer"
  22629. },
  22630. "goodsname": {
  22631. "description": "商品名称",
  22632. "type": "string"
  22633. },
  22634. "marketid": {
  22635. "description": "市场ID",
  22636. "type": "integer"
  22637. },
  22638. "orderamount": {
  22639. "description": "委托金额",
  22640. "type": "number"
  22641. },
  22642. "orderid": {
  22643. "description": "单号(成交单号)",
  22644. "type": "string"
  22645. },
  22646. "picurls1": {
  22647. "description": "预售商品介绍图片[多张用逗号分隔]",
  22648. "type": "string"
  22649. },
  22650. "picurls2": {
  22651. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22652. "type": "string"
  22653. },
  22654. "price": {
  22655. "description": "价格",
  22656. "type": "number"
  22657. },
  22658. "qty": {
  22659. "description": "数量",
  22660. "type": "integer"
  22661. },
  22662. "time": {
  22663. "description": "时间",
  22664. "type": "string"
  22665. },
  22666. "trademode": {
  22667. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22668. "type": "integer"
  22669. },
  22670. "vendorname1": {
  22671. "description": "预售商品供应商名称",
  22672. "type": "string"
  22673. },
  22674. "vendorname2": {
  22675. "description": "挂牌商品供应商名称",
  22676. "type": "string"
  22677. }
  22678. }
  22679. },
  22680. "models.HsbyGoodsOrderDetail": {
  22681. "type": "object",
  22682. "required": [
  22683. "buyorsell",
  22684. "orderid",
  22685. "ordertime"
  22686. ],
  22687. "properties": {
  22688. "buyorsell": {
  22689. "description": "买卖 - 0:买 1:卖",
  22690. "type": "integer"
  22691. },
  22692. "currencysign": {
  22693. "description": "货币符号",
  22694. "type": "string"
  22695. },
  22696. "customername": {
  22697. "description": "客户名称(企业名称),已脱敏",
  22698. "type": "string"
  22699. },
  22700. "enableqty": {
  22701. "description": "可用数量",
  22702. "type": "integer"
  22703. },
  22704. "goodunit": {
  22705. "description": "报价单位",
  22706. "type": "string"
  22707. },
  22708. "orderid": {
  22709. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22710. "type": "string"
  22711. },
  22712. "orderprice": {
  22713. "description": "委托价格",
  22714. "type": "number"
  22715. },
  22716. "ordertime": {
  22717. "description": "委托时间",
  22718. "type": "string"
  22719. }
  22720. }
  22721. },
  22722. "models.HsbyListingGoodsDetail": {
  22723. "type": "object",
  22724. "required": [
  22725. "goodscode",
  22726. "goodsid",
  22727. "goodsname",
  22728. "marketid",
  22729. "trademode"
  22730. ],
  22731. "properties": {
  22732. "agreeunit": {
  22733. "description": "合约单位",
  22734. "type": "number"
  22735. },
  22736. "buymaxqty": {
  22737. "description": "购买上限 [71] - 0为不限",
  22738. "type": "integer"
  22739. },
  22740. "currency": {
  22741. "description": "货币",
  22742. "type": "string"
  22743. },
  22744. "currencysign": {
  22745. "description": "货币符号",
  22746. "type": "string"
  22747. },
  22748. "decimalplace": {
  22749. "description": "报价小数位",
  22750. "type": "integer"
  22751. },
  22752. "desccityid": {
  22753. "description": "目的地(市)ID",
  22754. "type": "integer"
  22755. },
  22756. "descprovinceid": {
  22757. "description": "目的地(省)ID",
  22758. "type": "integer"
  22759. },
  22760. "goodscode": {
  22761. "description": "商品代码(内部)",
  22762. "type": "string"
  22763. },
  22764. "goodsdesc": {
  22765. "description": "商品详情",
  22766. "type": "string"
  22767. },
  22768. "goodsid": {
  22769. "description": "商品ID(自增ID SEQ_GOODS)",
  22770. "type": "integer"
  22771. },
  22772. "goodsname": {
  22773. "description": "商品名称",
  22774. "type": "string"
  22775. },
  22776. "goodsprice": {
  22777. "description": "商品价格",
  22778. "type": "number"
  22779. },
  22780. "hotindex": {
  22781. "description": "景点热度",
  22782. "type": "integer"
  22783. },
  22784. "last": {
  22785. "description": "现价",
  22786. "type": "number"
  22787. },
  22788. "limitdown": {
  22789. "description": "跌停价",
  22790. "type": "number"
  22791. },
  22792. "limitup": {
  22793. "description": "涨停价",
  22794. "type": "number"
  22795. },
  22796. "lotsize": {
  22797. "description": "手数最小变动单位",
  22798. "type": "integer"
  22799. },
  22800. "marketid": {
  22801. "description": "所属市场ID",
  22802. "type": "integer"
  22803. },
  22804. "picurls": {
  22805. "description": "介绍图片[多张用逗号分隔]",
  22806. "type": "string"
  22807. },
  22808. "quoteminunit": {
  22809. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22810. "type": "integer"
  22811. },
  22812. "stepvalue": {
  22813. "description": "价格最小变动单位",
  22814. "type": "number"
  22815. },
  22816. "trademode": {
  22817. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22818. "type": "integer"
  22819. },
  22820. "vendorattr": {
  22821. "description": "供应商附件(多张,逗号分隔)",
  22822. "type": "string"
  22823. },
  22824. "vendorname": {
  22825. "description": "供应商名称",
  22826. "type": "string"
  22827. },
  22828. "vendorphone": {
  22829. "description": "供应商客服电话",
  22830. "type": "string"
  22831. },
  22832. "videourls": {
  22833. "description": "介绍视频[多张用逗号分隔]",
  22834. "type": "string"
  22835. }
  22836. }
  22837. },
  22838. "models.HsbyMarketGoods": {
  22839. "type": "object",
  22840. "required": [
  22841. "accountid",
  22842. "buyorsell",
  22843. "goodscode",
  22844. "goodsid",
  22845. "goodsname",
  22846. "marketid",
  22847. "orderid",
  22848. "trademode"
  22849. ],
  22850. "properties": {
  22851. "accountid": {
  22852. "description": "账户ID[报价币种]",
  22853. "type": "integer"
  22854. },
  22855. "agreeunit": {
  22856. "description": "合约单位",
  22857. "type": "number"
  22858. },
  22859. "buyorsell": {
  22860. "description": "买卖 - 0:买 1:卖",
  22861. "type": "integer"
  22862. },
  22863. "categoryid": {
  22864. "description": "类别ID(WRCATEGORY)",
  22865. "type": "integer"
  22866. },
  22867. "currency": {
  22868. "description": "货币",
  22869. "type": "string"
  22870. },
  22871. "currencysign": {
  22872. "description": "货币符号",
  22873. "type": "string"
  22874. },
  22875. "customername": {
  22876. "description": "卖家名称",
  22877. "type": "string"
  22878. },
  22879. "decimalplace": {
  22880. "description": "报价小数位",
  22881. "type": "integer"
  22882. },
  22883. "goodscode": {
  22884. "description": "商品代码(内部)",
  22885. "type": "string"
  22886. },
  22887. "goodsid": {
  22888. "description": "商品ID",
  22889. "type": "integer"
  22890. },
  22891. "goodsname": {
  22892. "description": "商品名称",
  22893. "type": "string"
  22894. },
  22895. "goodsprice": {
  22896. "description": "商品价格",
  22897. "type": "number"
  22898. },
  22899. "hascoupon": {
  22900. "description": "是否可用优惠卷",
  22901. "type": "boolean"
  22902. },
  22903. "hotindex": {
  22904. "description": "景点热度",
  22905. "type": "integer"
  22906. },
  22907. "marketid": {
  22908. "description": "市场ID",
  22909. "type": "integer"
  22910. },
  22911. "orderid": {
  22912. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22913. "type": "string"
  22914. },
  22915. "orderprice": {
  22916. "description": "委托价格",
  22917. "type": "number"
  22918. },
  22919. "orderstatus": {
  22920. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22921. "type": "integer"
  22922. },
  22923. "picurls": {
  22924. "description": "介绍图片[多张用逗号分隔]",
  22925. "type": "string"
  22926. },
  22927. "quoteminunit": {
  22928. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22929. "type": "integer"
  22930. },
  22931. "sellUserID": {
  22932. "description": "卖方UserID",
  22933. "type": "integer"
  22934. },
  22935. "trademode": {
  22936. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22937. "type": "integer"
  22938. },
  22939. "videourls": {
  22940. "description": "介绍视频[多张用逗号分隔]",
  22941. "type": "string"
  22942. }
  22943. }
  22944. },
  22945. "models.HsbyMarketGoodsDetail": {
  22946. "type": "object",
  22947. "required": [
  22948. "accountid",
  22949. "buyorsell",
  22950. "goodscode",
  22951. "goodsid",
  22952. "goodsname",
  22953. "marketid",
  22954. "orderid",
  22955. "orderqty",
  22956. "trademode"
  22957. ],
  22958. "properties": {
  22959. "accountid": {
  22960. "description": "账户ID[报价币种]",
  22961. "type": "integer"
  22962. },
  22963. "agreeunit": {
  22964. "description": "合约单位",
  22965. "type": "number"
  22966. },
  22967. "buymaxqty": {
  22968. "description": "购买上限 [71] - 0为不限",
  22969. "type": "integer"
  22970. },
  22971. "buyorsell": {
  22972. "description": "买卖 - 0:买 1:卖",
  22973. "type": "integer"
  22974. },
  22975. "cancelqty": {
  22976. "description": "撤单数量",
  22977. "type": "integer"
  22978. },
  22979. "categoryid": {
  22980. "description": "类别ID(WRCATEGORY)",
  22981. "type": "integer"
  22982. },
  22983. "currency": {
  22984. "description": "货币",
  22985. "type": "string"
  22986. },
  22987. "currencysign": {
  22988. "description": "货币符号",
  22989. "type": "string"
  22990. },
  22991. "customername": {
  22992. "description": "卖家名称",
  22993. "type": "string"
  22994. },
  22995. "decimalplace": {
  22996. "description": "报价小数位",
  22997. "type": "integer"
  22998. },
  22999. "goodscode": {
  23000. "description": "商品代码(内部)",
  23001. "type": "string"
  23002. },
  23003. "goodsdesc": {
  23004. "description": "商品详情",
  23005. "type": "string"
  23006. },
  23007. "goodsid": {
  23008. "description": "商品ID",
  23009. "type": "integer"
  23010. },
  23011. "goodsname": {
  23012. "description": "商品名称",
  23013. "type": "string"
  23014. },
  23015. "goodsprice": {
  23016. "description": "商品价格",
  23017. "type": "number"
  23018. },
  23019. "hotindex": {
  23020. "description": "景点热度",
  23021. "type": "integer"
  23022. },
  23023. "lotsize": {
  23024. "description": "手数最小变动单位",
  23025. "type": "integer"
  23026. },
  23027. "marketid": {
  23028. "description": "市场ID",
  23029. "type": "integer"
  23030. },
  23031. "orderid": {
  23032. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23033. "type": "string"
  23034. },
  23035. "orderprice": {
  23036. "description": "委托价格",
  23037. "type": "number"
  23038. },
  23039. "orderqty": {
  23040. "description": "委托数量",
  23041. "type": "integer"
  23042. },
  23043. "orderstatus": {
  23044. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23045. "type": "integer"
  23046. },
  23047. "picurls": {
  23048. "description": "介绍图片[多张用逗号分隔]",
  23049. "type": "string"
  23050. },
  23051. "quoteminunit": {
  23052. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23053. "type": "integer"
  23054. },
  23055. "sellUserID": {
  23056. "description": "卖方UserID",
  23057. "type": "integer"
  23058. },
  23059. "trademode": {
  23060. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23061. "type": "integer"
  23062. },
  23063. "tradeqty": {
  23064. "description": "成交数量",
  23065. "type": "integer"
  23066. },
  23067. "vendorattr": {
  23068. "description": "供应商附件(多张,逗号分隔)",
  23069. "type": "string"
  23070. },
  23071. "vendorname": {
  23072. "description": "供应商名称",
  23073. "type": "string"
  23074. },
  23075. "vendorphone": {
  23076. "description": "供应商客服电话",
  23077. "type": "string"
  23078. },
  23079. "videourls": {
  23080. "description": "介绍视频[多张用逗号分隔]",
  23081. "type": "string"
  23082. }
  23083. }
  23084. },
  23085. "models.HsbyMarketInfo": {
  23086. "type": "object",
  23087. "required": [
  23088. "marketid",
  23089. "marketstatus",
  23090. "trademode"
  23091. ],
  23092. "properties": {
  23093. "marketid": {
  23094. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  23095. "type": "integer"
  23096. },
  23097. "marketname": {
  23098. "description": "市场名称",
  23099. "type": "string"
  23100. },
  23101. "marketstatus": {
  23102. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  23103. "type": "integer"
  23104. },
  23105. "trademode": {
  23106. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23107. "type": "integer"
  23108. }
  23109. }
  23110. },
  23111. "models.HsbyMyGoods": {
  23112. "type": "object",
  23113. "required": [
  23114. "accountid",
  23115. "goodscode",
  23116. "goodsid",
  23117. "goodsname",
  23118. "marketid",
  23119. "trademode"
  23120. ],
  23121. "properties": {
  23122. "accountid": {
  23123. "description": "账号Id",
  23124. "type": "integer"
  23125. },
  23126. "agreeunit": {
  23127. "description": "合约单位",
  23128. "type": "number"
  23129. },
  23130. "buyaverageprice": {
  23131. "description": "持仓均价",
  23132. "type": "number"
  23133. },
  23134. "buycurholderamount": {
  23135. "description": "买当前持仓总金额[商品币种]",
  23136. "type": "number"
  23137. },
  23138. "buycurpositionqty": {
  23139. "description": "买当前持仓总数量",
  23140. "type": "integer"
  23141. },
  23142. "buymaxqty": {
  23143. "description": "购买上限 [71] - 0为不限",
  23144. "type": "integer"
  23145. },
  23146. "currencysign": {
  23147. "description": "货币符号",
  23148. "type": "string"
  23149. },
  23150. "decimalplace": {
  23151. "description": "报价小数位",
  23152. "type": "integer"
  23153. },
  23154. "enableqty": {
  23155. "description": "可用数量",
  23156. "type": "integer"
  23157. },
  23158. "goodscode": {
  23159. "description": "商品代码(内部)",
  23160. "type": "string"
  23161. },
  23162. "goodsid": {
  23163. "description": "商品Id",
  23164. "type": "integer"
  23165. },
  23166. "goodsname": {
  23167. "description": "商品名称",
  23168. "type": "string"
  23169. },
  23170. "goodsprice": {
  23171. "description": "商品价格",
  23172. "type": "number"
  23173. },
  23174. "goodsstatus": {
  23175. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23176. "type": "integer"
  23177. },
  23178. "last": {
  23179. "description": "现价(仅使用于挂牌点选)",
  23180. "type": "number"
  23181. },
  23182. "limitdown": {
  23183. "description": "跌停价(仅使用于挂牌点选)",
  23184. "type": "number"
  23185. },
  23186. "limitup": {
  23187. "description": "涨停价(仅使用于挂牌点选)",
  23188. "type": "number"
  23189. },
  23190. "lotsize": {
  23191. "description": "手数最小变动单位",
  23192. "type": "integer"
  23193. },
  23194. "marketid": {
  23195. "description": "所属市场ID",
  23196. "type": "integer"
  23197. },
  23198. "picurls": {
  23199. "description": "介绍图片[多张用逗号分隔]",
  23200. "type": "string"
  23201. },
  23202. "quoteminunit": {
  23203. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23204. "type": "integer"
  23205. },
  23206. "stepvalue": {
  23207. "description": "价格最小变动单位",
  23208. "type": "number"
  23209. },
  23210. "trademode": {
  23211. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23212. "type": "integer"
  23213. }
  23214. }
  23215. },
  23216. "models.HsbyMyPackage": {
  23217. "type": "object",
  23218. "required": [
  23219. "goodscode",
  23220. "goodsname",
  23221. "takeorderid",
  23222. "trademode"
  23223. ],
  23224. "properties": {
  23225. "accountid": {
  23226. "description": "账户ID",
  23227. "type": "integer"
  23228. },
  23229. "address": {
  23230. "description": "提货人详细地址",
  23231. "type": "string"
  23232. },
  23233. "agreeunit": {
  23234. "description": "合约单位",
  23235. "type": "number"
  23236. },
  23237. "amount": {
  23238. "description": "提货金额",
  23239. "type": "number"
  23240. },
  23241. "auditer": {
  23242. "description": "审核人",
  23243. "type": "integer"
  23244. },
  23245. "audittime": {
  23246. "description": "审核时间",
  23247. "type": "string"
  23248. },
  23249. "averageprice": {
  23250. "description": "均价",
  23251. "type": "number"
  23252. },
  23253. "cardnum": {
  23254. "description": "提货人证件号码",
  23255. "type": "string"
  23256. },
  23257. "cardtypeid": {
  23258. "description": "提货人证件类型",
  23259. "type": "integer"
  23260. },
  23261. "checkremark": {
  23262. "description": "审核备注",
  23263. "type": "string"
  23264. },
  23265. "currencysign": {
  23266. "description": "货币符号",
  23267. "type": "string"
  23268. },
  23269. "decimalplace": {
  23270. "description": "报价小数位",
  23271. "type": "integer"
  23272. },
  23273. "goodscode": {
  23274. "description": "商品代码(内部)",
  23275. "type": "string"
  23276. },
  23277. "goodsid": {
  23278. "description": "商品ID",
  23279. "type": "integer"
  23280. },
  23281. "goodsname": {
  23282. "description": "商品名称",
  23283. "type": "string"
  23284. },
  23285. "handlestatus": {
  23286. "description": "处理状态",
  23287. "type": "integer"
  23288. },
  23289. "marketid": {
  23290. "description": "市场ID",
  23291. "type": "integer"
  23292. },
  23293. "phonenum": {
  23294. "description": "提货人联系方式",
  23295. "type": "string"
  23296. },
  23297. "picurls": {
  23298. "description": "介绍图片[多张用逗号分隔]",
  23299. "type": "string"
  23300. },
  23301. "qty": {
  23302. "description": "提货数量",
  23303. "type": "number"
  23304. },
  23305. "recivername": {
  23306. "description": "提货人姓名",
  23307. "type": "string"
  23308. },
  23309. "reqtime": {
  23310. "description": "更新时间",
  23311. "type": "string"
  23312. },
  23313. "takemode": {
  23314. "description": "提货方式 - 2:自提 3:配送",
  23315. "type": "integer"
  23316. },
  23317. "takeorderid": {
  23318. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  23319. "type": "string"
  23320. },
  23321. "takeorderstatus": {
  23322. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  23323. "type": "integer"
  23324. },
  23325. "takeremark": {
  23326. "description": "提货备注",
  23327. "type": "string"
  23328. },
  23329. "tradedate": {
  23330. "description": "交易日(yyyyMMdd)",
  23331. "type": "string"
  23332. },
  23333. "trademode": {
  23334. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23335. "type": "integer"
  23336. },
  23337. "userid": {
  23338. "description": "用户ID",
  23339. "type": "integer"
  23340. },
  23341. "vendorname": {
  23342. "description": "供应商名称",
  23343. "type": "string"
  23344. }
  23345. }
  23346. },
  23347. "models.HsbyPreGoods": {
  23348. "type": "object",
  23349. "required": [
  23350. "goodscode",
  23351. "goodsid",
  23352. "goodsname",
  23353. "marketid",
  23354. "trademode"
  23355. ],
  23356. "properties": {
  23357. "agreeunit": {
  23358. "description": "合约单位",
  23359. "type": "number"
  23360. },
  23361. "currency": {
  23362. "description": "货币",
  23363. "type": "string"
  23364. },
  23365. "currencysign": {
  23366. "description": "货币符号",
  23367. "type": "string"
  23368. },
  23369. "decimalplace": {
  23370. "description": "报价小数位",
  23371. "type": "integer"
  23372. },
  23373. "desccityid": {
  23374. "description": "目的地(市)",
  23375. "type": "integer"
  23376. },
  23377. "descprovinceid": {
  23378. "description": "目的地(省)",
  23379. "type": "integer"
  23380. },
  23381. "enableqty": {
  23382. "description": "剩余数量",
  23383. "type": "integer"
  23384. },
  23385. "goodscode": {
  23386. "description": "商品代码(内部)",
  23387. "type": "string"
  23388. },
  23389. "goodsid": {
  23390. "description": "商品ID(自增ID SEQ_GOODS)",
  23391. "type": "integer"
  23392. },
  23393. "goodsname": {
  23394. "description": "商品名称",
  23395. "type": "string"
  23396. },
  23397. "goodsstatus": {
  23398. "description": "商品状态- 2:未上市 3:上市",
  23399. "type": "integer"
  23400. },
  23401. "lasttradedate": {
  23402. "description": "最后交易日期(状态:待退市)",
  23403. "type": "string"
  23404. },
  23405. "listingdate": {
  23406. "description": "交易开始日期",
  23407. "type": "string"
  23408. },
  23409. "marketid": {
  23410. "description": "所属市场ID",
  23411. "type": "integer"
  23412. },
  23413. "picurls": {
  23414. "description": "介绍图片[多张用逗号分隔]",
  23415. "type": "string"
  23416. },
  23417. "presaledqty": {
  23418. "description": "已预售量(预售结束时更新)",
  23419. "type": "integer"
  23420. },
  23421. "presaleqty": {
  23422. "description": "预售数量",
  23423. "type": "integer"
  23424. },
  23425. "quoteminunit": {
  23426. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23427. "type": "integer"
  23428. },
  23429. "refprice": {
  23430. "description": "参考价格[一口价]",
  23431. "type": "number"
  23432. },
  23433. "relatedgoodsid": {
  23434. "description": "关联交易合约ID",
  23435. "type": "integer"
  23436. },
  23437. "trademode": {
  23438. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23439. "type": "integer"
  23440. },
  23441. "videourls": {
  23442. "description": "介绍视频[多张用逗号分隔]",
  23443. "type": "string"
  23444. }
  23445. }
  23446. },
  23447. "models.HsbyPreGoodsDetail": {
  23448. "type": "object",
  23449. "required": [
  23450. "goodscode",
  23451. "goodsid",
  23452. "goodsname",
  23453. "marketid",
  23454. "trademode"
  23455. ],
  23456. "properties": {
  23457. "agreeunit": {
  23458. "description": "合约单位",
  23459. "type": "number"
  23460. },
  23461. "buymaxqty": {
  23462. "description": "购买上限 [71] - 0为不限",
  23463. "type": "integer"
  23464. },
  23465. "currency": {
  23466. "description": "货币",
  23467. "type": "string"
  23468. },
  23469. "currencysign": {
  23470. "description": "货币符号",
  23471. "type": "string"
  23472. },
  23473. "customername": {
  23474. "description": "发行单位",
  23475. "type": "string"
  23476. },
  23477. "decimalplace": {
  23478. "description": "报价小数位",
  23479. "type": "integer"
  23480. },
  23481. "desccityid": {
  23482. "description": "目的地(市)ID",
  23483. "type": "integer"
  23484. },
  23485. "descprovinceid": {
  23486. "description": "目的地(省)ID",
  23487. "type": "integer"
  23488. },
  23489. "enableqty": {
  23490. "description": "剩余数量",
  23491. "type": "integer"
  23492. },
  23493. "goodscode": {
  23494. "description": "商品代码(内部)",
  23495. "type": "string"
  23496. },
  23497. "goodsdesc": {
  23498. "description": "商品详情",
  23499. "type": "string"
  23500. },
  23501. "goodsid": {
  23502. "description": "商品ID(自增ID SEQ_GOODS)",
  23503. "type": "integer"
  23504. },
  23505. "goodsname": {
  23506. "description": "商品名称",
  23507. "type": "string"
  23508. },
  23509. "goodsstatus": {
  23510. "description": "商品状态- 2:未上市 3:上市",
  23511. "type": "integer"
  23512. },
  23513. "goodunit": {
  23514. "description": "报价单位",
  23515. "type": "string"
  23516. },
  23517. "lasttradedate": {
  23518. "description": "最后交易日期(状态:待退市)",
  23519. "type": "string"
  23520. },
  23521. "listingdate": {
  23522. "description": "交易开始日期",
  23523. "type": "string"
  23524. },
  23525. "lotsize": {
  23526. "description": "手数最小变动单位",
  23527. "type": "integer"
  23528. },
  23529. "marketid": {
  23530. "description": "所属市场ID",
  23531. "type": "integer"
  23532. },
  23533. "picurls": {
  23534. "description": "介绍图片[多张用逗号分隔]",
  23535. "type": "string"
  23536. },
  23537. "presaledqty": {
  23538. "description": "已预售量(预售结束时更新)",
  23539. "type": "integer"
  23540. },
  23541. "presaleqty": {
  23542. "description": "预售数量",
  23543. "type": "integer"
  23544. },
  23545. "quoteminunit": {
  23546. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23547. "type": "integer"
  23548. },
  23549. "refprice": {
  23550. "description": "参考价格[一口价]",
  23551. "type": "number"
  23552. },
  23553. "relatedgoodsid": {
  23554. "description": "关联交易合约ID",
  23555. "type": "integer"
  23556. },
  23557. "stepvalue": {
  23558. "description": "价格最小变动单位",
  23559. "type": "number"
  23560. },
  23561. "trademode": {
  23562. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23563. "type": "integer"
  23564. },
  23565. "vendorattr": {
  23566. "description": "供应商附件(多张,逗号分隔)",
  23567. "type": "string"
  23568. },
  23569. "vendorname": {
  23570. "description": "供应商名称",
  23571. "type": "string"
  23572. },
  23573. "vendorphone": {
  23574. "description": "供应商客服电话",
  23575. "type": "string"
  23576. },
  23577. "videourls": {
  23578. "description": "介绍视频[多张用逗号分隔]",
  23579. "type": "string"
  23580. }
  23581. }
  23582. },
  23583. "models.HsbySellCollectionOrder": {
  23584. "type": "object",
  23585. "required": [
  23586. "goodscode",
  23587. "goodsname",
  23588. "tradeid",
  23589. "trademode"
  23590. ],
  23591. "properties": {
  23592. "agreeunit": {
  23593. "description": "合约单位",
  23594. "type": "number"
  23595. },
  23596. "buyaccountid": {
  23597. "description": "买方账号ID[报价币种]",
  23598. "type": "integer"
  23599. },
  23600. "buyorderid": {
  23601. "description": "买方委托单号",
  23602. "type": "string"
  23603. },
  23604. "createtime": {
  23605. "description": "创建时间",
  23606. "type": "string"
  23607. },
  23608. "currencysign": {
  23609. "description": "货币符号",
  23610. "type": "string"
  23611. },
  23612. "decimalplace": {
  23613. "description": "报价小数位",
  23614. "type": "integer"
  23615. },
  23616. "goodscode": {
  23617. "description": "商品代码(内部)",
  23618. "type": "string"
  23619. },
  23620. "goodsid": {
  23621. "description": "商品ID",
  23622. "type": "integer"
  23623. },
  23624. "goodsname": {
  23625. "description": "商品名称",
  23626. "type": "string"
  23627. },
  23628. "marketid": {
  23629. "description": "市场ID",
  23630. "type": "integer"
  23631. },
  23632. "offamount": {
  23633. "description": "优惠金额",
  23634. "type": "number"
  23635. },
  23636. "payamount": {
  23637. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  23638. "type": "number"
  23639. },
  23640. "payflag": {
  23641. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23642. "type": "integer"
  23643. },
  23644. "paylimitedtime": {
  23645. "description": "支付期限",
  23646. "type": "string"
  23647. },
  23648. "paytime": {
  23649. "description": "付款时间",
  23650. "type": "string"
  23651. },
  23652. "picurls": {
  23653. "description": "商品介绍图片[多张用逗号分隔]",
  23654. "type": "string"
  23655. },
  23656. "sellaccountid": {
  23657. "description": "卖方账号ID[报价币种]",
  23658. "type": "integer"
  23659. },
  23660. "sellorderid": {
  23661. "description": "卖方委托单号",
  23662. "type": "string"
  23663. },
  23664. "tradeamount": {
  23665. "description": "成交金额",
  23666. "type": "number"
  23667. },
  23668. "tradecharge": {
  23669. "description": "成交手续费(买方)",
  23670. "type": "number"
  23671. },
  23672. "tradedate": {
  23673. "description": "交易日(yyyyMMdd)",
  23674. "type": "string"
  23675. },
  23676. "tradeid": {
  23677. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23678. "type": "string"
  23679. },
  23680. "trademode": {
  23681. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23682. "type": "integer"
  23683. },
  23684. "tradeprice": {
  23685. "description": "成交价格",
  23686. "type": "number"
  23687. },
  23688. "tradeqty": {
  23689. "description": "成交数量",
  23690. "type": "integer"
  23691. }
  23692. }
  23693. },
  23694. "models.HsbySellMyDetail": {
  23695. "type": "object",
  23696. "required": [
  23697. "accountid",
  23698. "buyorsell",
  23699. "goodscode",
  23700. "goodsid",
  23701. "goodsname",
  23702. "marketid",
  23703. "orderid",
  23704. "time",
  23705. "trademode"
  23706. ],
  23707. "properties": {
  23708. "accountid": {
  23709. "description": "账户ID[报价币种]",
  23710. "type": "integer"
  23711. },
  23712. "agreeunit": {
  23713. "description": "合约单位",
  23714. "type": "number"
  23715. },
  23716. "buyorsell": {
  23717. "description": "买卖 - 0:买 1:卖",
  23718. "type": "integer"
  23719. },
  23720. "currencysign": {
  23721. "description": "货币符号",
  23722. "type": "string"
  23723. },
  23724. "decimalplace": {
  23725. "description": "报价小数位",
  23726. "type": "integer"
  23727. },
  23728. "goodscode": {
  23729. "description": "商品代码(内部)",
  23730. "type": "string"
  23731. },
  23732. "goodsid": {
  23733. "description": "商品ID",
  23734. "type": "integer"
  23735. },
  23736. "goodsname": {
  23737. "description": "商品名称",
  23738. "type": "string"
  23739. },
  23740. "marketid": {
  23741. "description": "市场ID",
  23742. "type": "integer"
  23743. },
  23744. "orderid": {
  23745. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  23746. "type": "string"
  23747. },
  23748. "ordertype": {
  23749. "description": "单据类型:0 - 发布中, 1 - 已完成",
  23750. "type": "integer"
  23751. },
  23752. "picurls": {
  23753. "description": "介绍图片[多张用逗号分隔]",
  23754. "type": "string"
  23755. },
  23756. "price": {
  23757. "description": "价格",
  23758. "type": "number"
  23759. },
  23760. "qty": {
  23761. "description": "数量",
  23762. "type": "integer"
  23763. },
  23764. "time": {
  23765. "description": "时间",
  23766. "type": "string"
  23767. },
  23768. "trademode": {
  23769. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23770. "type": "integer"
  23771. },
  23772. "vendorname": {
  23773. "description": "供应商名称",
  23774. "type": "string"
  23775. }
  23776. }
  23777. },
  23778. "models.HsbyTopGoods": {
  23779. "type": "object",
  23780. "required": [
  23781. "goodscode",
  23782. "goodsid",
  23783. "goodsname",
  23784. "marketid",
  23785. "trademode"
  23786. ],
  23787. "properties": {
  23788. "agreeunit": {
  23789. "description": "合约单位",
  23790. "type": "number"
  23791. },
  23792. "currency": {
  23793. "description": "货币",
  23794. "type": "string"
  23795. },
  23796. "currencysign": {
  23797. "description": "货币符号",
  23798. "type": "string"
  23799. },
  23800. "decimalplace": {
  23801. "description": "报价小数位",
  23802. "type": "integer"
  23803. },
  23804. "desccityid": {
  23805. "description": "目的地(市)",
  23806. "type": "integer"
  23807. },
  23808. "descprovinceid": {
  23809. "description": "目的地(省)",
  23810. "type": "integer"
  23811. },
  23812. "goodscode": {
  23813. "description": "商品代码(内部)",
  23814. "type": "string"
  23815. },
  23816. "goodsid": {
  23817. "description": "商品ID(自增ID SEQ_GOODS)",
  23818. "type": "integer"
  23819. },
  23820. "goodsname": {
  23821. "description": "商品名称",
  23822. "type": "string"
  23823. },
  23824. "hotindex": {
  23825. "description": "景点热度",
  23826. "type": "integer"
  23827. },
  23828. "last": {
  23829. "description": "现价",
  23830. "type": "number"
  23831. },
  23832. "marketid": {
  23833. "description": "所属市场ID",
  23834. "type": "integer"
  23835. },
  23836. "picurls": {
  23837. "description": "介绍图片[多张用逗号分隔]",
  23838. "type": "string"
  23839. },
  23840. "quoteminunit": {
  23841. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23842. "type": "integer"
  23843. },
  23844. "trademode": {
  23845. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23846. "type": "integer"
  23847. },
  23848. "videourls": {
  23849. "description": "介绍视频[多张用逗号分隔]",
  23850. "type": "string"
  23851. }
  23852. }
  23853. },
  23854. "models.HybsMyBuyOrderDetail": {
  23855. "type": "object",
  23856. "required": [
  23857. "accountid",
  23858. "buyorsell",
  23859. "goodscode",
  23860. "goodsid",
  23861. "goodsname",
  23862. "marketid",
  23863. "orderid",
  23864. "orderqty",
  23865. "ordertime",
  23866. "trademode"
  23867. ],
  23868. "properties": {
  23869. "accountid": {
  23870. "description": "账户ID[报价币种]",
  23871. "type": "integer"
  23872. },
  23873. "agreeunit": {
  23874. "description": "合约单位",
  23875. "type": "number"
  23876. },
  23877. "buyorsell": {
  23878. "description": "买卖 - 0:买 1:卖",
  23879. "type": "integer"
  23880. },
  23881. "cancelqty": {
  23882. "description": "撤单数量",
  23883. "type": "integer"
  23884. },
  23885. "currencysign": {
  23886. "description": "货币符号",
  23887. "type": "string"
  23888. },
  23889. "decimalplace": {
  23890. "description": "报价小数位",
  23891. "type": "integer"
  23892. },
  23893. "goodscode": {
  23894. "description": "商品代码(内部)",
  23895. "type": "string"
  23896. },
  23897. "goodsid": {
  23898. "description": "商品ID",
  23899. "type": "integer"
  23900. },
  23901. "goodsname": {
  23902. "description": "商品名称",
  23903. "type": "string"
  23904. },
  23905. "listingselecttype": {
  23906. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23907. "type": "integer"
  23908. },
  23909. "marketid": {
  23910. "description": "市场ID",
  23911. "type": "integer"
  23912. },
  23913. "mybuystatus": {
  23914. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  23915. "type": "integer"
  23916. },
  23917. "orderamount": {
  23918. "description": "委托金额",
  23919. "type": "number"
  23920. },
  23921. "orderid": {
  23922. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23923. "type": "string"
  23924. },
  23925. "orderprice": {
  23926. "description": "委托价格",
  23927. "type": "number"
  23928. },
  23929. "orderqty": {
  23930. "description": "委托数量",
  23931. "type": "integer"
  23932. },
  23933. "orderstatus": {
  23934. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23935. "type": "integer"
  23936. },
  23937. "ordertime": {
  23938. "description": "委托时间",
  23939. "type": "string"
  23940. },
  23941. "picurls1": {
  23942. "description": "预售商品介绍图片[多张用逗号分隔]",
  23943. "type": "string"
  23944. },
  23945. "picurls2": {
  23946. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23947. "type": "string"
  23948. },
  23949. "trademode": {
  23950. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23951. "type": "integer"
  23952. },
  23953. "tradeqty": {
  23954. "description": "成交数量",
  23955. "type": "integer"
  23956. },
  23957. "vendorname1": {
  23958. "description": "预售商品供应商名称",
  23959. "type": "string"
  23960. },
  23961. "vendorname2": {
  23962. "description": "挂牌商品供应商名称",
  23963. "type": "string"
  23964. }
  23965. }
  23966. },
  23967. "models.Loginaccount": {
  23968. "type": "object",
  23969. "required": [
  23970. "loginid"
  23971. ],
  23972. "properties": {
  23973. "accountname": {
  23974. "description": "账户名称",
  23975. "type": "string"
  23976. },
  23977. "canoutin": {
  23978. "description": "是否可出入金 - 0:不可 1:可",
  23979. "type": "integer"
  23980. },
  23981. "clientroleid": {
  23982. "description": "终端角色ID",
  23983. "type": "integer"
  23984. },
  23985. "haslogined": {
  23986. "description": "是否已登录 - 0:未登录 1:已登录",
  23987. "type": "integer"
  23988. },
  23989. "hasupdatedpwd": {
  23990. "description": "是否已更改密码 - 0:未修改 1:已修改",
  23991. "type": "integer"
  23992. },
  23993. "lastloginip": {
  23994. "description": "最新登录地址",
  23995. "type": "string"
  23996. },
  23997. "lastloginmode": {
  23998. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23999. "type": "integer"
  24000. },
  24001. "lastloginremark": {
  24002. "description": "最新登录描述",
  24003. "type": "string"
  24004. },
  24005. "lastlogintime": {
  24006. "description": "最新登录时间",
  24007. "type": "string"
  24008. },
  24009. "logincode": {
  24010. "description": "登录代码",
  24011. "type": "string"
  24012. },
  24013. "loginfailnum": {
  24014. "description": "连续登录失败次数(登录成功时清零)",
  24015. "type": "integer"
  24016. },
  24017. "loginid": {
  24018. "description": "登陆账号",
  24019. "type": "integer"
  24020. },
  24021. "loginport": {
  24022. "description": "最新登录端口",
  24023. "type": "integer"
  24024. },
  24025. "loginstatus": {
  24026. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  24027. "type": "integer"
  24028. },
  24029. "loginusertype": {
  24030. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  24031. "type": "integer"
  24032. },
  24033. "mobile": {
  24034. "description": "手机号码(加密存储)",
  24035. "type": "string"
  24036. },
  24037. "modifierid": {
  24038. "description": "修改人",
  24039. "type": "integer"
  24040. },
  24041. "modifysrc": {
  24042. "description": "审核来源 - 1:管理端 2:终端",
  24043. "type": "integer"
  24044. },
  24045. "modifytime": {
  24046. "description": "修改时间",
  24047. "type": "string"
  24048. },
  24049. "password": {
  24050. "description": "登陆密码",
  24051. "type": "string"
  24052. },
  24053. "pwdwrongcount": {
  24054. "description": "密码错误次数",
  24055. "type": "integer"
  24056. },
  24057. "relateduserid": {
  24058. "description": "关联用户ID(机构)",
  24059. "type": "integer"
  24060. },
  24061. "taaccountrighttype": {
  24062. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  24063. "type": "integer"
  24064. },
  24065. "unfreezetime": {
  24066. "description": "账户解冻时间",
  24067. "type": "string"
  24068. },
  24069. "userid": {
  24070. "description": "用户ID",
  24071. "type": "integer"
  24072. }
  24073. }
  24074. },
  24075. "models.MainAccountInfo": {
  24076. "type": "object",
  24077. "properties": {
  24078. "accountid": {
  24079. "description": "账号id",
  24080. "type": "integer"
  24081. },
  24082. "accountname": {
  24083. "description": "账号名称(taaccount表中的名称)",
  24084. "type": "string"
  24085. },
  24086. "appid": {
  24087. "description": "AppID",
  24088. "type": "string"
  24089. },
  24090. "authcode": {
  24091. "description": "授权码",
  24092. "type": "string"
  24093. },
  24094. "brokerid": {
  24095. "description": "经纪商id",
  24096. "type": "string"
  24097. },
  24098. "fcid": {
  24099. "description": "期货公司id",
  24100. "type": "integer"
  24101. },
  24102. "fcname": {
  24103. "description": "期货公司代码",
  24104. "type": "string"
  24105. },
  24106. "hedgeaccountcode": {
  24107. "description": "外部账号代码(主账号登录代码)",
  24108. "type": "string"
  24109. },
  24110. "hedgeaccountpwd": {
  24111. "description": "密码",
  24112. "type": "string"
  24113. },
  24114. "ismain": {
  24115. "description": "是否主账号",
  24116. "type": "integer"
  24117. },
  24118. "relateduserid": {
  24119. "description": "关联用户id",
  24120. "type": "integer"
  24121. },
  24122. "userid": {
  24123. "description": "关联用户id",
  24124. "type": "integer"
  24125. }
  24126. }
  24127. },
  24128. "models.Market": {
  24129. "type": "object",
  24130. "required": [
  24131. "marketid",
  24132. "marketstatus",
  24133. "openmethod",
  24134. "reckonpricealgorithm",
  24135. "trademode",
  24136. "tradeproperty"
  24137. ],
  24138. "properties": {
  24139. "auctionwrtype": {
  24140. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  24141. "type": "integer"
  24142. },
  24143. "canacceptquote": {
  24144. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  24145. "type": "integer"
  24146. },
  24147. "cangoodsexercise": {
  24148. "description": "[期权]是否可现货行权- 0:否 1:是",
  24149. "type": "integer"
  24150. },
  24151. "cangoodsexercisetype": {
  24152. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  24153. "type": "integer"
  24154. },
  24155. "canmanualquotestrike": {
  24156. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  24157. "type": "integer"
  24158. },
  24159. "canmutistage": {
  24160. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  24161. "type": "integer"
  24162. },
  24163. "canpreexercise": {
  24164. "description": "[期权]是否可预申报- 0:否 1:是",
  24165. "type": "integer"
  24166. },
  24167. "clearinterval": {
  24168. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  24169. "type": "integer"
  24170. },
  24171. "contracttmp": {
  24172. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  24173. "type": "string"
  24174. },
  24175. "exchareaid": {
  24176. "description": "所属交易所,可以没有",
  24177. "type": "integer"
  24178. },
  24179. "goodstype": {
  24180. "description": "商品类型 - 1:交易商品 2:仓单商品",
  24181. "type": "integer"
  24182. },
  24183. "hasrebate": {
  24184. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  24185. "type": "integer"
  24186. },
  24187. "hastradecredit": {
  24188. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  24189. "type": "integer"
  24190. },
  24191. "haswr": {
  24192. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  24193. "type": "integer"
  24194. },
  24195. "isdeductmargin": {
  24196. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  24197. "type": "integer"
  24198. },
  24199. "isrecordsource": {
  24200. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  24201. "type": "integer"
  24202. },
  24203. "isreleasemargin": {
  24204. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  24205. "type": "integer"
  24206. },
  24207. "marginformula": {
  24208. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  24209. "type": "integer"
  24210. },
  24211. "marginformula2": {
  24212. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  24213. "type": "integer"
  24214. },
  24215. "marketid": {
  24216. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  24217. "type": "integer"
  24218. },
  24219. "marketname": {
  24220. "description": "市场名称",
  24221. "type": "string"
  24222. },
  24223. "marketserviceid": {
  24224. "description": "市场服务ID",
  24225. "type": "integer"
  24226. },
  24227. "marketstatus": {
  24228. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  24229. "type": "integer"
  24230. },
  24231. "markettype": {
  24232. "description": "市场类型- 1:非交易服务 2:交易服务",
  24233. "type": "integer"
  24234. },
  24235. "matchermode": {
  24236. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  24237. "type": "integer"
  24238. },
  24239. "openmethod": {
  24240. "description": "开盘模式 - 0 自动 1手动",
  24241. "type": "integer"
  24242. },
  24243. "otcuserid": {
  24244. "description": "场外期权做市商[场外期权]",
  24245. "type": "integer"
  24246. },
  24247. "outersynctime": {
  24248. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  24249. "type": "string"
  24250. },
  24251. "pendingflag": {
  24252. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  24253. "type": "integer"
  24254. },
  24255. "pendingtime": {
  24256. "description": "待开市时间[通道交易-对冲](HH:mm)",
  24257. "type": "string"
  24258. },
  24259. "performancetempid": {
  24260. "description": "履约计划模板ID - 作废",
  24261. "type": "integer"
  24262. },
  24263. "premiumquotemode": {
  24264. "description": "权利金报价方式 - 1:自动 2:手动",
  24265. "type": "integer"
  24266. },
  24267. "rebateratio": {
  24268. "description": "返利比率[竞价式]",
  24269. "type": "number"
  24270. },
  24271. "reckonorder": {
  24272. "description": "结算顺序",
  24273. "type": "integer"
  24274. },
  24275. "reckonpricealgorithm": {
  24276. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  24277. "type": "integer"
  24278. },
  24279. "reckonpriceparam": {
  24280. "description": "结算价参数",
  24281. "type": "integer"
  24282. },
  24283. "reckontime": {
  24284. "description": "结算时间[通道交易-对冲](HH:mm)",
  24285. "type": "string"
  24286. },
  24287. "roleprioritytype": {
  24288. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  24289. "type": "integer"
  24290. },
  24291. "selllistingauditflag": {
  24292. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  24293. "type": "integer"
  24294. },
  24295. "trademarkettype": {
  24296. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  24297. "type": "integer"
  24298. },
  24299. "trademode": {
  24300. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24301. "type": "integer"
  24302. },
  24303. "tradeproperty": {
  24304. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  24305. "type": "integer"
  24306. },
  24307. "tradetype": {
  24308. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  24309. "type": "integer"
  24310. }
  24311. }
  24312. },
  24313. "models.Marketrun": {
  24314. "type": "object",
  24315. "required": [
  24316. "marketid",
  24317. "nexttradedate",
  24318. "reckonflag",
  24319. "runstatus",
  24320. "tradedate",
  24321. "tradedate2"
  24322. ],
  24323. "properties": {
  24324. "afternexttradedate": {
  24325. "description": "下下交易日",
  24326. "type": "string"
  24327. },
  24328. "clearquoteflag": {
  24329. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  24330. "type": "integer"
  24331. },
  24332. "lastreckondate": {
  24333. "description": "最新交易日(结算成功)",
  24334. "type": "string"
  24335. },
  24336. "machinedate": {
  24337. "description": "机器时间",
  24338. "type": "string"
  24339. },
  24340. "manualflag": {
  24341. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  24342. "type": "integer"
  24343. },
  24344. "marketid": {
  24345. "description": "市场ID",
  24346. "type": "integer"
  24347. },
  24348. "nexttradedate": {
  24349. "description": "下一交易日",
  24350. "type": "string"
  24351. },
  24352. "pretradedate": {
  24353. "description": "上一交易日",
  24354. "type": "string"
  24355. },
  24356. "reckonflag": {
  24357. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  24358. "type": "integer"
  24359. },
  24360. "runstatus": {
  24361. "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.今日免清算",
  24362. "type": "integer"
  24363. },
  24364. "sectionid": {
  24365. "description": "时间段号[多时段时用]",
  24366. "type": "integer"
  24367. },
  24368. "tradedate": {
  24369. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  24370. "type": "string"
  24371. },
  24372. "tradedate2": {
  24373. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  24374. "type": "string"
  24375. },
  24376. "updatetime": {
  24377. "description": "更新时间",
  24378. "type": "string"
  24379. }
  24380. }
  24381. },
  24382. "models.Messageboard": {
  24383. "type": "object",
  24384. "required": [
  24385. "messageboardid"
  24386. ],
  24387. "properties": {
  24388. "contactnum": {
  24389. "description": "联系电话",
  24390. "type": "string"
  24391. },
  24392. "createtime": {
  24393. "description": "创建时间",
  24394. "type": "string"
  24395. },
  24396. "message": {
  24397. "description": "留言信息",
  24398. "type": "string"
  24399. },
  24400. "messageboardid": {
  24401. "description": "留言簿ID(SEQ_MessageBoard)",
  24402. "type": "integer"
  24403. },
  24404. "userid": {
  24405. "description": "用户ID",
  24406. "type": "integer"
  24407. }
  24408. }
  24409. },
  24410. "models.MyCoupon": {
  24411. "type": "object",
  24412. "required": [
  24413. "accountid",
  24414. "coupontypeid"
  24415. ],
  24416. "properties": {
  24417. "accountid": {
  24418. "description": "资金账户ID",
  24419. "type": "integer"
  24420. },
  24421. "areauserid": {
  24422. "description": "所属机构",
  24423. "type": "integer"
  24424. },
  24425. "conditionvalue": {
  24426. "description": "条件阈值(可为0)",
  24427. "type": "number"
  24428. },
  24429. "couponcategroy": {
  24430. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  24431. "type": "integer"
  24432. },
  24433. "couponname": {
  24434. "description": "优惠券名称",
  24435. "type": "string"
  24436. },
  24437. "coupontypeid": {
  24438. "description": "优惠券类型ID",
  24439. "type": "string"
  24440. },
  24441. "couponvalue": {
  24442. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  24443. "type": "number"
  24444. },
  24445. "curfreezeqty": {
  24446. "description": "期末冻结数量",
  24447. "type": "integer"
  24448. },
  24449. "curqty": {
  24450. "description": "期末数量",
  24451. "type": "integer"
  24452. },
  24453. "isgeneral": {
  24454. "description": "是否通用券 - 0:否 1:是",
  24455. "type": "integer"
  24456. },
  24457. "isunusable": {
  24458. "description": "是否不可用",
  24459. "type": "boolean"
  24460. },
  24461. "limitedflag": {
  24462. "description": "是否指定商品 - 0:不限 1:限制",
  24463. "type": "integer"
  24464. },
  24465. "limitedgoodsids": {
  24466. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  24467. "type": "string"
  24468. },
  24469. "orifreezeqty": {
  24470. "description": "期初冻结数量",
  24471. "type": "integer"
  24472. },
  24473. "oriqty": {
  24474. "description": "期初数量",
  24475. "type": "integer"
  24476. },
  24477. "reasontype": {
  24478. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  24479. "type": "integer"
  24480. },
  24481. "todaydecrease": {
  24482. "description": "今日减少",
  24483. "type": "integer"
  24484. },
  24485. "todayincrease": {
  24486. "description": "今日增加",
  24487. "type": "integer"
  24488. },
  24489. "userid": {
  24490. "description": "用户ID",
  24491. "type": "integer"
  24492. },
  24493. "userscope": {
  24494. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  24495. "type": "string"
  24496. }
  24497. }
  24498. },
  24499. "models.MyCouponHold": {
  24500. "type": "object",
  24501. "required": [
  24502. "couponholdid"
  24503. ],
  24504. "properties": {
  24505. "accountid": {
  24506. "description": "资金账户ID",
  24507. "type": "integer"
  24508. },
  24509. "conditionvalue": {
  24510. "description": "条件阈值(可为0)",
  24511. "type": "number"
  24512. },
  24513. "couponcategroy": {
  24514. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  24515. "type": "integer"
  24516. },
  24517. "couponholdid": {
  24518. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  24519. "type": "string"
  24520. },
  24521. "couponname": {
  24522. "description": "优惠券名称",
  24523. "type": "string"
  24524. },
  24525. "coupontypeid": {
  24526. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  24527. "type": "string"
  24528. },
  24529. "couponvalue": {
  24530. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  24531. "type": "number"
  24532. },
  24533. "createtime": {
  24534. "description": "创建时间",
  24535. "type": "string"
  24536. },
  24537. "enddate": {
  24538. "description": "结束日期",
  24539. "type": "string"
  24540. },
  24541. "giveapplyid": {
  24542. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  24543. "type": "integer"
  24544. },
  24545. "holdstatus": {
  24546. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  24547. "type": "integer"
  24548. },
  24549. "isgeneral": {
  24550. "description": "是否通用券 - 0:否 1:是",
  24551. "type": "integer"
  24552. },
  24553. "limitedflag": {
  24554. "description": "是否指定商品 - 0:不限 1:限制",
  24555. "type": "integer"
  24556. },
  24557. "limitedgoodsids": {
  24558. "description": "指定商品IDs[逗号分隔]",
  24559. "type": "string"
  24560. },
  24561. "qty": {
  24562. "description": "数量(按1平铺)",
  24563. "type": "integer"
  24564. },
  24565. "startdate": {
  24566. "description": "开始日期",
  24567. "type": "string"
  24568. },
  24569. "userid": {
  24570. "description": "用户ID",
  24571. "type": "integer"
  24572. },
  24573. "userscope": {
  24574. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  24575. "type": "string"
  24576. }
  24577. }
  24578. },
  24579. "models.MyUsedCoupon": {
  24580. "type": "object",
  24581. "required": [
  24582. "coupontypeid",
  24583. "orderid"
  24584. ],
  24585. "properties": {
  24586. "accountid": {
  24587. "description": "资金账户ID(买方)",
  24588. "type": "integer"
  24589. },
  24590. "conditionvalue": {
  24591. "description": "条件阈值(可为0)",
  24592. "type": "number"
  24593. },
  24594. "couponcategroy": {
  24595. "description": "种类 - 1:现金券 2:折扣券",
  24596. "type": "integer"
  24597. },
  24598. "couponname": {
  24599. "description": "优惠券名称",
  24600. "type": "string"
  24601. },
  24602. "coupontypeid": {
  24603. "description": "优惠券类型ID(买方)",
  24604. "type": "string"
  24605. },
  24606. "couponvalue": {
  24607. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  24608. "type": "number"
  24609. },
  24610. "createtime": {
  24611. "description": "创建时间",
  24612. "type": "string"
  24613. },
  24614. "goodsid": {
  24615. "description": "商品ID",
  24616. "type": "integer"
  24617. },
  24618. "handlestatus": {
  24619. "description": "处理状态",
  24620. "type": "integer"
  24621. },
  24622. "marketid": {
  24623. "description": "市场ID",
  24624. "type": "integer"
  24625. },
  24626. "offamount": {
  24627. "description": "优惠金额",
  24628. "type": "number"
  24629. },
  24630. "orderid": {
  24631. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24632. "type": "string"
  24633. },
  24634. "sellaccountid": {
  24635. "description": "资金账户ID(卖方)",
  24636. "type": "integer"
  24637. },
  24638. "tradeamount": {
  24639. "description": "成交金额",
  24640. "type": "number"
  24641. },
  24642. "tradeid": {
  24643. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24644. "type": "string"
  24645. },
  24646. "usedqty": {
  24647. "description": "使用数量",
  24648. "type": "integer"
  24649. }
  24650. }
  24651. },
  24652. "models.OperationPrimaryMenu": {
  24653. "type": "object",
  24654. "properties": {
  24655. "Children": {
  24656. "description": "二级功能菜单",
  24657. "type": "array",
  24658. "items": {
  24659. "$ref": "#/definitions/models.OperationSecondaryMenu"
  24660. }
  24661. },
  24662. "Key": {
  24663. "description": "菜单KEY",
  24664. "type": "string"
  24665. },
  24666. "Label": {
  24667. "description": "菜单标题",
  24668. "type": "string"
  24669. }
  24670. }
  24671. },
  24672. "models.OperationSecondaryMenu": {
  24673. "type": "object",
  24674. "properties": {
  24675. "Key": {
  24676. "description": "菜单KEY",
  24677. "type": "string"
  24678. },
  24679. "Label": {
  24680. "description": "菜单标题",
  24681. "type": "string"
  24682. },
  24683. "TabList": {
  24684. "description": "三级功能菜单",
  24685. "type": "array",
  24686. "items": {
  24687. "$ref": "#/definitions/models.OperationTabMenu"
  24688. }
  24689. }
  24690. }
  24691. },
  24692. "models.OperationTabMenu": {
  24693. "type": "object",
  24694. "properties": {
  24695. "Key": {
  24696. "description": "菜单KEY",
  24697. "type": "string"
  24698. },
  24699. "Label": {
  24700. "description": "菜单标题",
  24701. "type": "string"
  24702. }
  24703. }
  24704. },
  24705. "models.PendingAuditBizModel": {
  24706. "type": "object",
  24707. "properties": {
  24708. "accountid": {
  24709. "description": "现货账户",
  24710. "type": "string"
  24711. },
  24712. "areaname": {
  24713. "description": "所属部门",
  24714. "type": "string"
  24715. },
  24716. "bizid": {
  24717. "description": "业务ID",
  24718. "type": "string"
  24719. },
  24720. "bizname": {
  24721. "description": "业务名称",
  24722. "type": "string"
  24723. },
  24724. "status": {
  24725. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  24726. "type": "integer"
  24727. },
  24728. "type": {
  24729. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  24730. "type": "integer"
  24731. }
  24732. }
  24733. },
  24734. "models.QhjAccountOutInApply": {
  24735. "type": "object",
  24736. "properties": {
  24737. "accountcode": {
  24738. "description": "资金账号",
  24739. "type": "string"
  24740. },
  24741. "accountname": {
  24742. "description": "用户名称(名称)",
  24743. "type": "string"
  24744. },
  24745. "accountpwd": {
  24746. "description": "资金密码",
  24747. "type": "string"
  24748. },
  24749. "accountticket": {
  24750. "description": "最新账户服务流水号",
  24751. "type": "string"
  24752. },
  24753. "amount": {
  24754. "description": "金额",
  24755. "type": "number"
  24756. },
  24757. "applyremark": {
  24758. "description": "申请备注",
  24759. "type": "string"
  24760. },
  24761. "applystatus": {
  24762. "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: 复审通过,账户冻结金额检查中;",
  24763. "type": "integer"
  24764. },
  24765. "auditid": {
  24766. "description": "审核人",
  24767. "type": "integer"
  24768. },
  24769. "audittime": {
  24770. "description": "审核时间",
  24771. "type": "string"
  24772. },
  24773. "bank_apply_ticket": {
  24774. "description": "银行申请流水",
  24775. "type": "string"
  24776. },
  24777. "bankaccountname": {
  24778. "description": "银行账户名",
  24779. "type": "string"
  24780. },
  24781. "bankaccountno": {
  24782. "description": "银行卡号",
  24783. "type": "string"
  24784. },
  24785. "bankid": {
  24786. "description": "银行编号",
  24787. "type": "string"
  24788. },
  24789. "bankticket": {
  24790. "description": "银行流水",
  24791. "type": "string"
  24792. },
  24793. "branchbankid": {
  24794. "description": "银行支行号",
  24795. "type": "string"
  24796. },
  24797. "branchbankname": {
  24798. "description": "银行支行名称",
  24799. "type": "string"
  24800. },
  24801. "capamountout": {
  24802. "description": "出金(劣后本金) - 外部子账户",
  24803. "type": "number"
  24804. },
  24805. "certificatephotourl": {
  24806. "description": "凭证地址",
  24807. "type": "string"
  24808. },
  24809. "charge": {
  24810. "description": "手续费",
  24811. "type": "number"
  24812. },
  24813. "checkerrorflag": {
  24814. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  24815. "type": "integer"
  24816. },
  24817. "currency": {
  24818. "description": "币种",
  24819. "type": "string"
  24820. },
  24821. "cusbankid": {
  24822. "description": "托管银行编号",
  24823. "type": "string"
  24824. },
  24825. "exchticket": {
  24826. "description": "银行服务流水号",
  24827. "type": "string"
  24828. },
  24829. "executetype": {
  24830. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  24831. "type": "integer"
  24832. },
  24833. "extendinfo": {
  24834. "description": "扩展信息",
  24835. "type": "string"
  24836. },
  24837. "extoperateid": {
  24838. "description": "交易服务流水号",
  24839. "type": "integer"
  24840. },
  24841. "infamount": {
  24842. "description": "劣后金额(自有)",
  24843. "type": "number"
  24844. },
  24845. "logincode": {
  24846. "description": "登录账号(账号)",
  24847. "type": "string"
  24848. },
  24849. "netaddr": {
  24850. "description": "调转网址",
  24851. "type": "string"
  24852. },
  24853. "priamount": {
  24854. "description": "优先金额(授信)",
  24855. "type": "number"
  24856. },
  24857. "reauditid": {
  24858. "description": "复审人",
  24859. "type": "integer"
  24860. },
  24861. "reauditremark": {
  24862. "description": "复审备注",
  24863. "type": "string"
  24864. },
  24865. "reaudittime": {
  24866. "description": "复审时间",
  24867. "type": "string"
  24868. },
  24869. "relatedorderid": {
  24870. "description": "三方关联ID",
  24871. "type": "string"
  24872. },
  24873. "remark": {
  24874. "description": "备注",
  24875. "type": "string"
  24876. },
  24877. "remark2": {
  24878. "description": "备注(失败原因)",
  24879. "type": "string"
  24880. },
  24881. "soucreamount": {
  24882. "description": "原始出入金金额",
  24883. "type": "number"
  24884. },
  24885. "soucrecurrencyid": {
  24886. "description": "原始出入金币种",
  24887. "type": "integer"
  24888. },
  24889. "tradedate": {
  24890. "description": "交易日(yyyyMMdd)",
  24891. "type": "string"
  24892. },
  24893. "updatetime": {
  24894. "description": "更新时间(申请时间)",
  24895. "type": "string"
  24896. },
  24897. "userid": {
  24898. "description": "用户id",
  24899. "type": "integer"
  24900. },
  24901. "userinfotype": {
  24902. "description": "账户类型 1-个人 2-企业",
  24903. "type": "integer"
  24904. }
  24905. }
  24906. },
  24907. "models.QhjAgreementChangeLog": {
  24908. "type": "object",
  24909. "properties": {
  24910. "agreementcontent": {
  24911. "description": "协议内容",
  24912. "type": "string"
  24913. },
  24914. "agreementfrequency": {
  24915. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  24916. "type": "integer"
  24917. },
  24918. "agreementid": {
  24919. "description": "协议ID",
  24920. "type": "integer"
  24921. },
  24922. "agreementname": {
  24923. "description": "协议名称",
  24924. "type": "string"
  24925. },
  24926. "agreementno": {
  24927. "description": "协议编号",
  24928. "type": "string"
  24929. },
  24930. "agreementtype": {
  24931. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24932. "type": "integer"
  24933. },
  24934. "agreementversion": {
  24935. "description": "协议版本号",
  24936. "type": "integer"
  24937. },
  24938. "logid": {
  24939. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  24940. "type": "integer"
  24941. },
  24942. "reviserid": {
  24943. "description": "修改人",
  24944. "type": "integer"
  24945. },
  24946. "revisersrc": {
  24947. "description": "修改来源 - 1:管理端 2:终端",
  24948. "type": "integer"
  24949. },
  24950. "updatetime": {
  24951. "description": "更新时间",
  24952. "type": "string"
  24953. }
  24954. }
  24955. },
  24956. "models.QhjAgreementConfig": {
  24957. "type": "object",
  24958. "properties": {
  24959. "agreementcontent": {
  24960. "description": "协议内容",
  24961. "type": "string"
  24962. },
  24963. "agreementfrequency": {
  24964. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  24965. "type": "integer"
  24966. },
  24967. "agreementid": {
  24968. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  24969. "type": "integer"
  24970. },
  24971. "agreementname": {
  24972. "description": "协议名称",
  24973. "type": "string"
  24974. },
  24975. "agreementno": {
  24976. "description": "协议编号",
  24977. "type": "string"
  24978. },
  24979. "agreementtype": {
  24980. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24981. "type": "integer"
  24982. },
  24983. "agreementversion": {
  24984. "description": "协议版本号(从1开始每次修改加1)",
  24985. "type": "integer"
  24986. },
  24987. "createtime": {
  24988. "description": "创建时间",
  24989. "type": "string"
  24990. },
  24991. "creatorid": {
  24992. "description": "创建人",
  24993. "type": "integer"
  24994. },
  24995. "creatorsrc": {
  24996. "description": "创建来源 - 1:管理端 2:终端",
  24997. "type": "integer"
  24998. },
  24999. "isvalid": {
  25000. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  25001. "type": "integer"
  25002. },
  25003. "reviserid": {
  25004. "description": "修改人",
  25005. "type": "integer"
  25006. },
  25007. "revisersrc": {
  25008. "description": "修改来源 - 1:管理端 2:终端",
  25009. "type": "integer"
  25010. },
  25011. "updatetime": {
  25012. "description": "更新时间",
  25013. "type": "string"
  25014. }
  25015. }
  25016. },
  25017. "models.QhjAreaFinanceConfig": {
  25018. "type": "object",
  25019. "properties": {
  25020. "additionalratio": {
  25021. "description": "追加款比例",
  25022. "type": "number"
  25023. },
  25024. "advanceratio": {
  25025. "description": "预付款比例",
  25026. "type": "number"
  25027. },
  25028. "alarmratio": {
  25029. "description": "告警比例",
  25030. "type": "number"
  25031. },
  25032. "consumptiondirectreward": {
  25033. "description": "消费直推奖励值",
  25034. "type": "number"
  25035. },
  25036. "consumptionenabled": {
  25037. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  25038. "type": "integer"
  25039. },
  25040. "consumptionindirectreward": {
  25041. "description": "消费间推奖励值",
  25042. "type": "number"
  25043. },
  25044. "consumptionmodel": {
  25045. "description": "消费奖励方式 - 1:比率 2:固定",
  25046. "type": "integer"
  25047. },
  25048. "customerservicenum": {
  25049. "description": "客服电话",
  25050. "type": "string"
  25051. },
  25052. "dayinterestrate": {
  25053. "description": "日利率",
  25054. "type": "number"
  25055. },
  25056. "disableconsumptiontips": {
  25057. "description": "关闭消费奖励提示",
  25058. "type": "string"
  25059. },
  25060. "modifierid": {
  25061. "description": "修改人ID",
  25062. "type": "integer"
  25063. },
  25064. "modifysrc": {
  25065. "description": "审核来源 - 1:管理端 2:终端",
  25066. "type": "integer"
  25067. },
  25068. "modifytime": {
  25069. "description": "修改时间",
  25070. "type": "string"
  25071. },
  25072. "promotionvalue": {
  25073. "description": "推广奖励值(固定)",
  25074. "type": "number"
  25075. },
  25076. "scoreconfigvalue1": {
  25077. "description": "提货积分配置1",
  25078. "type": "integer"
  25079. },
  25080. "scoreconfigvalue2": {
  25081. "description": "提货积分配置2",
  25082. "type": "integer"
  25083. },
  25084. "userid": {
  25085. "description": "机构用户ID其他做市关系,都设置为 1",
  25086. "type": "integer"
  25087. },
  25088. "username": {
  25089. "description": "用户名称",
  25090. "type": "string"
  25091. }
  25092. }
  25093. },
  25094. "models.QhjBankAccountSign": {
  25095. "type": "object",
  25096. "properties": {
  25097. "accountcode": {
  25098. "description": "资金账号",
  25099. "type": "string"
  25100. },
  25101. "accountname": {
  25102. "description": "资金账号对应的账号名(UserName)",
  25103. "type": "string"
  25104. },
  25105. "accountname2": {
  25106. "description": "资金账号对应的账号名(UserName) - 密文",
  25107. "type": "string"
  25108. },
  25109. "accounttype": {
  25110. "description": "账户类型(UserType)",
  25111. "type": "integer"
  25112. },
  25113. "applicationtime": {
  25114. "description": "最后一次更新的时间",
  25115. "type": "string"
  25116. },
  25117. "applyexchticket": {
  25118. "description": "申请流水",
  25119. "type": "string"
  25120. },
  25121. "auditid": {
  25122. "description": "审核人",
  25123. "type": "integer"
  25124. },
  25125. "audittime": {
  25126. "description": "审核时间",
  25127. "type": "string"
  25128. },
  25129. "bankaccountname": {
  25130. "description": "签约银行卡账号名",
  25131. "type": "string"
  25132. },
  25133. "bankaccountname2": {
  25134. "description": "签约银行卡账号名 - 密文",
  25135. "type": "string"
  25136. },
  25137. "bankaccountno": {
  25138. "description": "银行卡号",
  25139. "type": "string"
  25140. },
  25141. "bankaccountno2": {
  25142. "description": "银行卡号 - 密文",
  25143. "type": "string"
  25144. },
  25145. "bankaccounttype": {
  25146. "description": "银行账户类型 - 1-对私; 2-对公",
  25147. "type": "integer"
  25148. },
  25149. "bankcardtype": {
  25150. "description": "银行卡类型",
  25151. "type": "integer"
  25152. },
  25153. "bankchildaccount": {
  25154. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  25155. "type": "string"
  25156. },
  25157. "bankcity": {
  25158. "description": "开户行城市",
  25159. "type": "string"
  25160. },
  25161. "bankid": {
  25162. "description": "签约银行ID",
  25163. "type": "string"
  25164. },
  25165. "bankname": {
  25166. "description": "签约银行名称",
  25167. "type": "string"
  25168. },
  25169. "bankprovince": {
  25170. "description": "开户行省份",
  25171. "type": "string"
  25172. },
  25173. "branchbankid": {
  25174. "description": "签约银行支行号",
  25175. "type": "string"
  25176. },
  25177. "branchbankname": {
  25178. "description": "签约银行支行名称",
  25179. "type": "string"
  25180. },
  25181. "cardno": {
  25182. "description": "证件号码",
  25183. "type": "string"
  25184. },
  25185. "cardno2": {
  25186. "description": "证件号码 - 密文",
  25187. "type": "string"
  25188. },
  25189. "cardtype": {
  25190. "description": "证件类型",
  25191. "type": "string"
  25192. },
  25193. "currency": {
  25194. "description": "币种",
  25195. "type": "string"
  25196. },
  25197. "cusbankid": {
  25198. "description": "托管银行编号",
  25199. "type": "string"
  25200. },
  25201. "direct": {
  25202. "description": "方向(可以判断那方先发起的签约)",
  25203. "type": "integer"
  25204. },
  25205. "exchticket": {
  25206. "description": "最后一次签约成功的流水号",
  25207. "type": "string"
  25208. },
  25209. "extendinfo": {
  25210. "description": "扩展信息(JSON字符串)",
  25211. "type": "string"
  25212. },
  25213. "mobilephone": {
  25214. "description": "手机号",
  25215. "type": "string"
  25216. },
  25217. "mobilephone2": {
  25218. "description": "手机号 - 密文",
  25219. "type": "string"
  25220. },
  25221. "netaddr": {
  25222. "description": "调转网址",
  25223. "type": "string"
  25224. },
  25225. "relateduserid": {
  25226. "description": "关联使用者userid",
  25227. "type": "integer"
  25228. },
  25229. "signstatus": {
  25230. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  25231. "type": "integer"
  25232. },
  25233. "updatetime": {
  25234. "description": "更新时间(签解约更新时间)",
  25235. "type": "string"
  25236. }
  25237. }
  25238. },
  25239. "models.QhjBankInfo": {
  25240. "type": "object",
  25241. "properties": {
  25242. "bankid": {
  25243. "description": "银行ID",
  25244. "type": "string"
  25245. },
  25246. "bankname": {
  25247. "description": "银行名称",
  25248. "type": "string"
  25249. },
  25250. "clearbankno": {
  25251. "description": "清算系统银行编号",
  25252. "type": "string"
  25253. },
  25254. "orderindex": {
  25255. "description": "排序顺序",
  25256. "type": "integer"
  25257. },
  25258. "status": {
  25259. "description": "状态 - 0:正常 1:注销",
  25260. "type": "integer"
  25261. }
  25262. }
  25263. },
  25264. "models.QhjBrokerApply": {
  25265. "type": "object",
  25266. "properties": {
  25267. "applicantid": {
  25268. "description": "申请人",
  25269. "type": "integer"
  25270. },
  25271. "applysrc": {
  25272. "description": "申请来源 - 1:管理端 2:终端",
  25273. "type": "integer"
  25274. },
  25275. "applystatus": {
  25276. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25277. "type": "integer"
  25278. },
  25279. "applytime": {
  25280. "description": "申请时间",
  25281. "type": "string"
  25282. },
  25283. "auditorid": {
  25284. "description": "审核人",
  25285. "type": "integer"
  25286. },
  25287. "auditremark": {
  25288. "description": "审核备注",
  25289. "type": "string"
  25290. },
  25291. "auditsrc": {
  25292. "description": "审核来源 - 1:管理端 2:终端",
  25293. "type": "integer"
  25294. },
  25295. "audittime": {
  25296. "description": "审核时间",
  25297. "type": "string"
  25298. },
  25299. "audittradedate": {
  25300. "description": "审核交易日(yyyyMMdd)",
  25301. "type": "string"
  25302. },
  25303. "brokerapplyid": {
  25304. "description": "申请ID(SEQ_BROKERAPPLY)",
  25305. "type": "integer"
  25306. },
  25307. "cardbackphotourl": {
  25308. "description": "证件背面图片地址",
  25309. "type": "string"
  25310. },
  25311. "cardfrontphotourl": {
  25312. "description": "证件正面图片地址",
  25313. "type": "string"
  25314. },
  25315. "cardnum": {
  25316. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  25317. "type": "string"
  25318. },
  25319. "customername": {
  25320. "description": "姓名",
  25321. "type": "string"
  25322. },
  25323. "logincode": {
  25324. "description": "登录代码",
  25325. "type": "string"
  25326. },
  25327. "mobile": {
  25328. "description": "手机号码",
  25329. "type": "string"
  25330. },
  25331. "parentuserid": {
  25332. "description": "所属机构id",
  25333. "type": "integer"
  25334. },
  25335. "parentusername": {
  25336. "description": "所属机构名称",
  25337. "type": "string"
  25338. },
  25339. "refereeuserid": {
  25340. "description": "推荐人id(经纪人)",
  25341. "type": "integer"
  25342. },
  25343. "refernum": {
  25344. "description": "推荐码",
  25345. "type": "string"
  25346. },
  25347. "remark": {
  25348. "description": "备注",
  25349. "type": "string"
  25350. },
  25351. "subarealevelpath": {
  25352. "description": "层级路径",
  25353. "type": "string"
  25354. },
  25355. "tradedate": {
  25356. "description": "交易日(yyyyMMdd)",
  25357. "type": "string"
  25358. },
  25359. "userid": {
  25360. "description": "申请人用户ID",
  25361. "type": "integer"
  25362. },
  25363. "userinfotype": {
  25364. "description": "用户类型 1-个人 2-企业",
  25365. "type": "integer"
  25366. },
  25367. "username": {
  25368. "description": "用户名称",
  25369. "type": "string"
  25370. }
  25371. }
  25372. },
  25373. "models.QhjBrokerApplyEx": {
  25374. "type": "object",
  25375. "properties": {
  25376. "applylist": {
  25377. "description": "经纪人申请记录(只返回最新一条)",
  25378. "type": "array",
  25379. "items": {
  25380. "$ref": "#/definitions/models.QhjBrokerApply"
  25381. }
  25382. },
  25383. "canrecommend": {
  25384. "description": "是否经纪人 0-不是 1-是",
  25385. "type": "integer"
  25386. },
  25387. "refernum": {
  25388. "description": "推荐码",
  25389. "type": "string"
  25390. },
  25391. "userid": {
  25392. "description": "用户id",
  25393. "type": "integer"
  25394. },
  25395. "userinfotype": {
  25396. "description": "用户类型 1-个人 2-企业",
  25397. "type": "integer"
  25398. }
  25399. }
  25400. },
  25401. "models.QhjBrokerRewardLog": {
  25402. "type": "object",
  25403. "properties": {
  25404. "accountid": {
  25405. "description": "资金账号ID",
  25406. "type": "integer"
  25407. },
  25408. "createtime": {
  25409. "description": "创建时间(时间)",
  25410. "type": "string"
  25411. },
  25412. "handlestatus": {
  25413. "description": "处理状态",
  25414. "type": "integer"
  25415. },
  25416. "logid": {
  25417. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25418. "type": "string"
  25419. },
  25420. "marketid": {
  25421. "description": "市场ID",
  25422. "type": "integer"
  25423. },
  25424. "mmaccountid": {
  25425. "description": "做市商资金账号ID",
  25426. "type": "string"
  25427. },
  25428. "mmuserid": {
  25429. "description": "做市商用户ID",
  25430. "type": "string"
  25431. },
  25432. "rewardamount": {
  25433. "description": "奖励金额",
  25434. "type": "number"
  25435. },
  25436. "rewardmodel": {
  25437. "description": "消费奖励方式 - 1:比率 2:固定",
  25438. "type": "integer"
  25439. },
  25440. "rewardtype": {
  25441. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  25442. "type": "integer"
  25443. },
  25444. "rewardvalue": {
  25445. "description": "配置奖励值",
  25446. "type": "number"
  25447. },
  25448. "srcamount": {
  25449. "description": "成交金额 [消费奖励] (金额)",
  25450. "type": "number"
  25451. },
  25452. "srcgoodsid": {
  25453. "description": "来源商品ID [消费奖励]",
  25454. "type": "string"
  25455. },
  25456. "srctime": {
  25457. "description": "来源时间 (成交时间) [消费奖励]",
  25458. "type": "string"
  25459. },
  25460. "srctradeid": {
  25461. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  25462. "type": "string"
  25463. },
  25464. "srcuserid": {
  25465. "description": "来源用户ID(推广账户)",
  25466. "type": "string"
  25467. },
  25468. "srcusername": {
  25469. "description": "推广账户名称",
  25470. "type": "string"
  25471. },
  25472. "tradedate": {
  25473. "description": "交易日(yyyyMMdd)",
  25474. "type": "string"
  25475. },
  25476. "userid": {
  25477. "description": "经纪人用户ID",
  25478. "type": "integer"
  25479. }
  25480. }
  25481. },
  25482. "models.QhjContract": {
  25483. "type": "object",
  25484. "properties": {
  25485. "contractconfirmtime": {
  25486. "description": "合同确认时间(时间)",
  25487. "type": "string"
  25488. },
  25489. "currisklevel": {
  25490. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  25491. "type": "integer"
  25492. },
  25493. "decimalplace": {
  25494. "description": "商品报价小数位",
  25495. "type": "integer"
  25496. },
  25497. "enumdicname": {
  25498. "description": "单位名称",
  25499. "type": "string"
  25500. },
  25501. "goodscode": {
  25502. "description": "商品代码",
  25503. "type": "string"
  25504. },
  25505. "goodsid": {
  25506. "description": "商品ID [5:融资单]",
  25507. "type": "integer"
  25508. },
  25509. "goodsname": {
  25510. "description": "商品名称",
  25511. "type": "string"
  25512. },
  25513. "goodunitid": {
  25514. "description": "商品单位id",
  25515. "type": "integer"
  25516. },
  25517. "initmargin": {
  25518. "description": "初始保证金(首付款)",
  25519. "type": "number"
  25520. },
  25521. "lenderamount": {
  25522. "description": "贷款金额(总额|订单总额)",
  25523. "type": "number"
  25524. },
  25525. "marginratio": {
  25526. "description": "保证金比率(首付比例)",
  25527. "type": "number"
  25528. },
  25529. "payamount": {
  25530. "description": "已付(已付货款)",
  25531. "type": "number"
  25532. },
  25533. "reckonrecovermargin": {
  25534. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  25535. "type": "number"
  25536. },
  25537. "recoveredmargin": {
  25538. "description": "已追缴保证金",
  25539. "type": "number"
  25540. },
  25541. "remainamount": {
  25542. "description": "合同剩余金额(融资额)",
  25543. "type": "number"
  25544. },
  25545. "scfcontractid": {
  25546. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25547. "type": "string"
  25548. },
  25549. "scfcontractstatus": {
  25550. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  25551. "type": "integer"
  25552. },
  25553. "scfcontracttype": {
  25554. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  25555. "type": "integer"
  25556. },
  25557. "totalinterest": {
  25558. "description": "已计总利息(利息)",
  25559. "type": "number"
  25560. },
  25561. "tradeprice": {
  25562. "description": "成交价格(成本价格)",
  25563. "type": "number"
  25564. },
  25565. "userid": {
  25566. "description": "用户ID",
  25567. "type": "integer"
  25568. },
  25569. "username": {
  25570. "description": "用户名称",
  25571. "type": "string"
  25572. },
  25573. "wrqty": {
  25574. "description": "仓单数量(数量)",
  25575. "type": "number"
  25576. }
  25577. }
  25578. },
  25579. "models.QhjContractLog": {
  25580. "type": "object",
  25581. "properties": {
  25582. "amount": {
  25583. "description": "支付金额",
  25584. "type": "number"
  25585. },
  25586. "amounttype": {
  25587. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  25588. "type": "integer"
  25589. },
  25590. "logid": {
  25591. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25592. "type": "string"
  25593. },
  25594. "remainamount": {
  25595. "description": "剩余货款",
  25596. "type": "number"
  25597. },
  25598. "scfcontractid": {
  25599. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25600. "type": "integer"
  25601. },
  25602. "updatetime": {
  25603. "description": "更新时间",
  25604. "type": "string"
  25605. }
  25606. }
  25607. },
  25608. "models.QhjCusBankSignBankEx": {
  25609. "type": "object",
  25610. "properties": {
  25611. "banklst": {
  25612. "description": "银行列表",
  25613. "type": "array",
  25614. "items": {
  25615. "$ref": "#/definitions/models.QhjBankInfo"
  25616. }
  25617. },
  25618. "canallot": {
  25619. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  25620. "type": "integer"
  25621. },
  25622. "canallotquery": {
  25623. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  25624. "type": "integer"
  25625. },
  25626. "canbindcard": {
  25627. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  25628. "type": "integer"
  25629. },
  25630. "caninamount": {
  25631. "description": "是否可入金 - 0:不可 1:可以",
  25632. "type": "integer"
  25633. },
  25634. "caninamount2": {
  25635. "description": "是否可入金(网银端) - 0:不可 1:可以",
  25636. "type": "integer"
  25637. },
  25638. "canmodifybankcard": {
  25639. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  25640. "type": "integer"
  25641. },
  25642. "canmodifyphone": {
  25643. "description": "是否可修改手机号 - 0:不可 1:可以",
  25644. "type": "integer"
  25645. },
  25646. "canmodifysigninfo": {
  25647. "description": "是否可修改签约信息 - 0:不可 1:可以",
  25648. "type": "integer"
  25649. },
  25650. "canoutamount": {
  25651. "description": "是否可出金 - 0:不可 1:可以",
  25652. "type": "integer"
  25653. },
  25654. "canoutamount2": {
  25655. "description": "是否可出金(网银端) - 0:不可 1:可以",
  25656. "type": "integer"
  25657. },
  25658. "canrelease": {
  25659. "description": "是否可解约 - 0:不可 1:可以",
  25660. "type": "integer"
  25661. },
  25662. "canrelease2": {
  25663. "description": "是否可解约(网银端) - 0:不可 1:可以",
  25664. "type": "integer"
  25665. },
  25666. "cansign": {
  25667. "description": "是否可签约 - 0:不可 1:可以",
  25668. "type": "integer"
  25669. },
  25670. "cansign2": {
  25671. "description": "是否可签约(网银端) - 0:不可 1:可以",
  25672. "type": "integer"
  25673. },
  25674. "currency": {
  25675. "description": "币种",
  25676. "type": "string"
  25677. },
  25678. "cusbankid": {
  25679. "description": "托管银行编号(对应清算中心TRAN_NO)",
  25680. "type": "string"
  25681. },
  25682. "cusbankname": {
  25683. "description": "银行业务名称",
  25684. "type": "string"
  25685. },
  25686. "cusbankshortname": {
  25687. "description": "银行业务简称",
  25688. "type": "string"
  25689. },
  25690. "exchbankid": {
  25691. "description": "交易所开户银行ID",
  25692. "type": "string"
  25693. },
  25694. "exchpaybankaccname": {
  25695. "description": "交易所支出结算账户户名",
  25696. "type": "string"
  25697. },
  25698. "exchpaybankaccno": {
  25699. "description": "交易所支出结算账户",
  25700. "type": "string"
  25701. },
  25702. "isneedcheck": {
  25703. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  25704. "type": "integer"
  25705. },
  25706. "isneedclear": {
  25707. "description": "是否需要清算 - 0:不需要 1:需要",
  25708. "type": "integer"
  25709. },
  25710. "lastcheckstatus": {
  25711. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  25712. "type": "integer"
  25713. },
  25714. "lastchecktime": {
  25715. "description": "最后对账时间",
  25716. "type": "string"
  25717. },
  25718. "lastclearstatus": {
  25719. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  25720. "type": "integer"
  25721. },
  25722. "lastcleartime": {
  25723. "description": "最后清算时间",
  25724. "type": "string"
  25725. },
  25726. "lastsignintime": {
  25727. "description": "最后签到时间",
  25728. "type": "string"
  25729. },
  25730. "lastsignouttime": {
  25731. "description": "最后签退时间",
  25732. "type": "string"
  25733. },
  25734. "riskinfo": {
  25735. "description": "签约风险提示书",
  25736. "type": "string"
  25737. },
  25738. "signstatus": {
  25739. "description": "当前签到/签退状态 - 1:签到 2:签退",
  25740. "type": "integer"
  25741. },
  25742. "tradedate": {
  25743. "description": "交易日(yyyyMMdd)",
  25744. "type": "string"
  25745. },
  25746. "updatetime": {
  25747. "description": "当前签到/签退更新时间",
  25748. "type": "string"
  25749. }
  25750. }
  25751. },
  25752. "models.QhjCustomer": {
  25753. "type": "object",
  25754. "properties": {
  25755. "address": {
  25756. "description": "通讯地址",
  25757. "type": "string"
  25758. },
  25759. "attachment1": {
  25760. "description": "附件1",
  25761. "type": "string"
  25762. },
  25763. "audittime": {
  25764. "description": "审核时间",
  25765. "type": "string"
  25766. },
  25767. "cardbackphotourl": {
  25768. "description": "证件反面图片地址",
  25769. "type": "string"
  25770. },
  25771. "cardfrontphotourl": {
  25772. "description": "证件正面图片地址",
  25773. "type": "string"
  25774. },
  25775. "cardnum": {
  25776. "description": "证件号码",
  25777. "type": "string"
  25778. },
  25779. "cardtype": {
  25780. "description": "证件类型",
  25781. "type": "integer"
  25782. },
  25783. "cardtypename": {
  25784. "description": "证件类型名称",
  25785. "type": "string"
  25786. },
  25787. "cityid": {
  25788. "description": "市",
  25789. "type": "integer"
  25790. },
  25791. "cityname": {
  25792. "description": "城市名称",
  25793. "type": "string"
  25794. },
  25795. "contactname": {
  25796. "description": "联系人",
  25797. "type": "string"
  25798. },
  25799. "countryid": {
  25800. "description": "国家",
  25801. "type": "integer"
  25802. },
  25803. "countryname": {
  25804. "description": "国家名称",
  25805. "type": "string"
  25806. },
  25807. "createtime": {
  25808. "description": "创建时间",
  25809. "type": "string"
  25810. },
  25811. "customername": {
  25812. "description": "客户名称",
  25813. "type": "string"
  25814. },
  25815. "districtid": {
  25816. "description": "区域",
  25817. "type": "integer"
  25818. },
  25819. "districtname": {
  25820. "description": "地区名称",
  25821. "type": "string"
  25822. },
  25823. "email": {
  25824. "description": "邮件",
  25825. "type": "string"
  25826. },
  25827. "legalpersonname": {
  25828. "description": "法人姓名(企业)",
  25829. "type": "string"
  25830. },
  25831. "logincode": {
  25832. "description": "登录账号(代码)",
  25833. "type": "string"
  25834. },
  25835. "memberuserid": {
  25836. "description": "所属机构ID(所属会员)",
  25837. "type": "integer"
  25838. },
  25839. "memberusername": {
  25840. "description": "所属会员名称",
  25841. "type": "string"
  25842. },
  25843. "mobile": {
  25844. "description": "手机号码",
  25845. "type": "string"
  25846. },
  25847. "modifytime": {
  25848. "description": "修改时间",
  25849. "type": "string"
  25850. },
  25851. "nickname": {
  25852. "description": "昵称",
  25853. "type": "string"
  25854. },
  25855. "parentuserid": {
  25856. "description": "上级机构(所属机构)",
  25857. "type": "integer"
  25858. },
  25859. "parentusername": {
  25860. "description": "所属机构名称",
  25861. "type": "string"
  25862. },
  25863. "provinceid": {
  25864. "description": "省",
  25865. "type": "integer"
  25866. },
  25867. "provincename": {
  25868. "description": "省名称",
  25869. "type": "string"
  25870. },
  25871. "proxystatementurl": {
  25872. "description": "授权委托书",
  25873. "type": "string"
  25874. },
  25875. "remark": {
  25876. "description": "备注",
  25877. "type": "string"
  25878. },
  25879. "status": {
  25880. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  25881. "type": "integer"
  25882. },
  25883. "statusdesc": {
  25884. "description": "账户状态中文描述",
  25885. "type": "string"
  25886. },
  25887. "taxpayernum": {
  25888. "description": "纳税人识别号",
  25889. "type": "string"
  25890. },
  25891. "telphone": {
  25892. "description": "联系电话",
  25893. "type": "string"
  25894. },
  25895. "userid": {
  25896. "description": "用户ID",
  25897. "type": "integer"
  25898. },
  25899. "userinfotype": {
  25900. "description": "客户类型 1-个人 2-企业",
  25901. "type": "integer"
  25902. },
  25903. "username": {
  25904. "description": "用户名称",
  25905. "type": "string"
  25906. }
  25907. }
  25908. },
  25909. "models.QhjCustomerSignLog": {
  25910. "type": "object",
  25911. "properties": {
  25912. "agreementcontent": {
  25913. "description": "协议内容",
  25914. "type": "string"
  25915. },
  25916. "agreementid": {
  25917. "description": "协议ID",
  25918. "type": "integer"
  25919. },
  25920. "agreementname": {
  25921. "description": "协议名称",
  25922. "type": "string"
  25923. },
  25924. "agreementno": {
  25925. "description": "协议编号",
  25926. "type": "string"
  25927. },
  25928. "agreementtype": {
  25929. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25930. "type": "integer"
  25931. },
  25932. "agreementversion": {
  25933. "description": "协议版本号",
  25934. "type": "integer"
  25935. },
  25936. "createtime": {
  25937. "description": "创建时间",
  25938. "type": "string"
  25939. },
  25940. "goodscode": {
  25941. "description": "商品代码",
  25942. "type": "string"
  25943. },
  25944. "goodsid": {
  25945. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25946. "type": "integer"
  25947. },
  25948. "goodsname": {
  25949. "description": "商品名称",
  25950. "type": "string"
  25951. },
  25952. "logid": {
  25953. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  25954. "type": "integer"
  25955. },
  25956. "nodetype": {
  25957. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  25958. "type": "integer"
  25959. },
  25960. "signadressurl": {
  25961. "description": "签约文件地址",
  25962. "type": "string"
  25963. },
  25964. "signtimestamp": {
  25965. "description": "签约状态时间戳",
  25966. "type": "string"
  25967. },
  25968. "userid": {
  25969. "description": "客户ID",
  25970. "type": "integer"
  25971. },
  25972. "username": {
  25973. "description": "客户名称",
  25974. "type": "string"
  25975. }
  25976. }
  25977. },
  25978. "models.QhjCustomerSignStatus": {
  25979. "type": "object",
  25980. "properties": {
  25981. "createtime": {
  25982. "description": "创建时间",
  25983. "type": "string"
  25984. },
  25985. "goodscode": {
  25986. "description": "商品代码",
  25987. "type": "string"
  25988. },
  25989. "goodsid": {
  25990. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25991. "type": "integer"
  25992. },
  25993. "goodsname": {
  25994. "description": "商品名称",
  25995. "type": "string"
  25996. },
  25997. "nodetype": {
  25998. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  25999. "type": "integer"
  26000. },
  26001. "signtimestamp": {
  26002. "description": "签约状态时间戳",
  26003. "type": "string"
  26004. },
  26005. "tradedate": {
  26006. "description": "创建交易日(yyyyMMdd)",
  26007. "type": "string"
  26008. },
  26009. "updatetime": {
  26010. "description": "更新时间",
  26011. "type": "string"
  26012. },
  26013. "userid": {
  26014. "description": "客户ID",
  26015. "type": "integer"
  26016. },
  26017. "username": {
  26018. "description": "客户名称",
  26019. "type": "string"
  26020. }
  26021. }
  26022. },
  26023. "models.QhjMgrAccountOutInApply": {
  26024. "type": "object",
  26025. "properties": {
  26026. "accountcode": {
  26027. "description": "资金账号",
  26028. "type": "string"
  26029. },
  26030. "accountname": {
  26031. "description": "用户名称(名称)",
  26032. "type": "string"
  26033. },
  26034. "accountpwd": {
  26035. "description": "资金密码",
  26036. "type": "string"
  26037. },
  26038. "accountticket": {
  26039. "description": "最新账户服务流水号",
  26040. "type": "string"
  26041. },
  26042. "amount": {
  26043. "description": "金额",
  26044. "type": "number"
  26045. },
  26046. "applyremark": {
  26047. "description": "申请备注",
  26048. "type": "string"
  26049. },
  26050. "applystatus": {
  26051. "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: 复审通过,账户冻结金额检查中;",
  26052. "type": "integer"
  26053. },
  26054. "auditid": {
  26055. "description": "审核人",
  26056. "type": "integer"
  26057. },
  26058. "audittime": {
  26059. "description": "审核时间",
  26060. "type": "string"
  26061. },
  26062. "bank_apply_ticket": {
  26063. "description": "银行申请流水",
  26064. "type": "string"
  26065. },
  26066. "bankaccountname": {
  26067. "description": "银行账户名",
  26068. "type": "string"
  26069. },
  26070. "bankaccountno": {
  26071. "description": "银行卡号",
  26072. "type": "string"
  26073. },
  26074. "bankid": {
  26075. "description": "银行编号",
  26076. "type": "string"
  26077. },
  26078. "bankname": {
  26079. "description": "银行名称",
  26080. "type": "string"
  26081. },
  26082. "bankticket": {
  26083. "description": "银行流水",
  26084. "type": "string"
  26085. },
  26086. "branchbankid": {
  26087. "description": "银行支行号",
  26088. "type": "string"
  26089. },
  26090. "branchbankname": {
  26091. "description": "银行支行名称",
  26092. "type": "string"
  26093. },
  26094. "capamountout": {
  26095. "description": "出金(劣后本金) - 外部子账户",
  26096. "type": "number"
  26097. },
  26098. "certificatephotourl": {
  26099. "description": "凭证地址",
  26100. "type": "string"
  26101. },
  26102. "charge": {
  26103. "description": "手续费",
  26104. "type": "number"
  26105. },
  26106. "checkerrorflag": {
  26107. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  26108. "type": "integer"
  26109. },
  26110. "currency": {
  26111. "description": "币种",
  26112. "type": "string"
  26113. },
  26114. "cusbankid": {
  26115. "description": "托管银行编号",
  26116. "type": "string"
  26117. },
  26118. "exchticket": {
  26119. "description": "银行服务流水号",
  26120. "type": "string"
  26121. },
  26122. "executetype": {
  26123. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  26124. "type": "integer"
  26125. },
  26126. "extendinfo": {
  26127. "description": "扩展信息",
  26128. "type": "string"
  26129. },
  26130. "extoperateid": {
  26131. "description": "交易服务流水号",
  26132. "type": "integer"
  26133. },
  26134. "infamount": {
  26135. "description": "劣后金额(自有)",
  26136. "type": "number"
  26137. },
  26138. "logincode": {
  26139. "description": "登录账号(账号)",
  26140. "type": "string"
  26141. },
  26142. "netaddr": {
  26143. "description": "调转网址",
  26144. "type": "string"
  26145. },
  26146. "priamount": {
  26147. "description": "优先金额(授信)",
  26148. "type": "number"
  26149. },
  26150. "reauditid": {
  26151. "description": "复审人",
  26152. "type": "integer"
  26153. },
  26154. "reauditremark": {
  26155. "description": "复审备注",
  26156. "type": "string"
  26157. },
  26158. "reaudittime": {
  26159. "description": "复审时间",
  26160. "type": "string"
  26161. },
  26162. "relatedorderid": {
  26163. "description": "三方关联ID",
  26164. "type": "string"
  26165. },
  26166. "remark": {
  26167. "description": "备注",
  26168. "type": "string"
  26169. },
  26170. "remark2": {
  26171. "description": "备注(失败原因)",
  26172. "type": "string"
  26173. },
  26174. "soucreamount": {
  26175. "description": "原始出入金金额",
  26176. "type": "number"
  26177. },
  26178. "soucrecurrencyid": {
  26179. "description": "原始出入金币种",
  26180. "type": "integer"
  26181. },
  26182. "tradedate": {
  26183. "description": "交易日(yyyyMMdd)",
  26184. "type": "string"
  26185. },
  26186. "updatetime": {
  26187. "description": "更新时间(申请时间)",
  26188. "type": "string"
  26189. },
  26190. "userid": {
  26191. "description": "用户id",
  26192. "type": "integer"
  26193. },
  26194. "userinfotype": {
  26195. "description": "账户类型 1-个人 2-企业",
  26196. "type": "integer"
  26197. }
  26198. }
  26199. },
  26200. "models.QhjMgrBrokerApply": {
  26201. "type": "object",
  26202. "properties": {
  26203. "applicantid": {
  26204. "description": "申请人",
  26205. "type": "integer"
  26206. },
  26207. "applysrc": {
  26208. "description": "申请来源 - 1:管理端 2:终端",
  26209. "type": "integer"
  26210. },
  26211. "applystatus": {
  26212. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  26213. "type": "integer"
  26214. },
  26215. "applytime": {
  26216. "description": "申请时间",
  26217. "type": "string"
  26218. },
  26219. "auditorid": {
  26220. "description": "审核人",
  26221. "type": "integer"
  26222. },
  26223. "auditremark": {
  26224. "description": "审核备注",
  26225. "type": "string"
  26226. },
  26227. "auditsrc": {
  26228. "description": "审核来源 - 1:管理端 2:终端",
  26229. "type": "integer"
  26230. },
  26231. "audittime": {
  26232. "description": "审核时间",
  26233. "type": "string"
  26234. },
  26235. "audittradedate": {
  26236. "description": "审核交易日(yyyyMMdd)",
  26237. "type": "string"
  26238. },
  26239. "brokerapplyid": {
  26240. "description": "申请ID(SEQ_BROKERAPPLY)",
  26241. "type": "integer"
  26242. },
  26243. "cardbackphotourl": {
  26244. "description": "证件背面图片地址",
  26245. "type": "string"
  26246. },
  26247. "cardfrontphotourl": {
  26248. "description": "证件正面图片地址",
  26249. "type": "string"
  26250. },
  26251. "cardnum": {
  26252. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  26253. "type": "string"
  26254. },
  26255. "customername": {
  26256. "description": "姓名",
  26257. "type": "string"
  26258. },
  26259. "filterstatus": {
  26260. "description": "筛选条件",
  26261. "type": "string"
  26262. },
  26263. "logincode": {
  26264. "description": "登录代码",
  26265. "type": "string"
  26266. },
  26267. "mobile": {
  26268. "description": "手机号码",
  26269. "type": "string"
  26270. },
  26271. "parentuserid": {
  26272. "description": "所属机构id",
  26273. "type": "integer"
  26274. },
  26275. "parentusername": {
  26276. "description": "所属机构名称",
  26277. "type": "string"
  26278. },
  26279. "refereeuserid": {
  26280. "description": "推荐人id(经纪人)",
  26281. "type": "integer"
  26282. },
  26283. "refernum": {
  26284. "description": "推荐码",
  26285. "type": "string"
  26286. },
  26287. "remark": {
  26288. "description": "备注",
  26289. "type": "string"
  26290. },
  26291. "subarealevelpath": {
  26292. "description": "层级路径",
  26293. "type": "string"
  26294. },
  26295. "tradedate": {
  26296. "description": "交易日(yyyyMMdd)",
  26297. "type": "string"
  26298. },
  26299. "userid": {
  26300. "description": "申请人用户ID",
  26301. "type": "integer"
  26302. },
  26303. "userinfotype": {
  26304. "description": "用户类型 1-个人 2-企业",
  26305. "type": "integer"
  26306. },
  26307. "username": {
  26308. "description": "用户名称",
  26309. "type": "string"
  26310. }
  26311. }
  26312. },
  26313. "models.QhjMgrBrokerRewardReport": {
  26314. "type": "object",
  26315. "properties": {
  26316. "createtime": {
  26317. "description": "创建时间(注册时间)",
  26318. "type": "string"
  26319. },
  26320. "cycletime": {
  26321. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  26322. "type": "string"
  26323. },
  26324. "cycletype": {
  26325. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26326. "type": "integer"
  26327. },
  26328. "directtotalnum": {
  26329. "description": "直推总人数【期末】",
  26330. "type": "integer"
  26331. },
  26332. "indirecttotalnum": {
  26333. "description": "间推总人数【期末】",
  26334. "type": "integer"
  26335. },
  26336. "mobile": {
  26337. "description": "电话号码",
  26338. "type": "string"
  26339. },
  26340. "refereeuserid": {
  26341. "description": "推荐人id(经纪人id)",
  26342. "type": "integer"
  26343. },
  26344. "refereeusername": {
  26345. "description": "推荐人名称(经纪人) 上级经纪人名称",
  26346. "type": "string"
  26347. },
  26348. "refernum": {
  26349. "description": "推荐码",
  26350. "type": "string"
  26351. },
  26352. "subarealevelpath": {
  26353. "description": "用户层级路径",
  26354. "type": "string"
  26355. },
  26356. "todayrewardamount": {
  26357. "description": "奖励总金额【汇总】",
  26358. "type": "number"
  26359. },
  26360. "updatetime": {
  26361. "description": "更新时间",
  26362. "type": "string"
  26363. },
  26364. "userid": {
  26365. "description": "经纪人用户ID",
  26366. "type": "integer"
  26367. },
  26368. "userinfotype": {
  26369. "description": "用户类型 1-个人 2-企业",
  26370. "type": "integer"
  26371. },
  26372. "username": {
  26373. "description": "用户名称",
  26374. "type": "string"
  26375. }
  26376. }
  26377. },
  26378. "models.QhjMgrContract": {
  26379. "type": "object",
  26380. "properties": {
  26381. "contractconfirmtime": {
  26382. "description": "合同确认时间(时间)",
  26383. "type": "string"
  26384. },
  26385. "currisklevel": {
  26386. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  26387. "type": "integer"
  26388. },
  26389. "decimalplace": {
  26390. "description": "商品报价小数位",
  26391. "type": "integer"
  26392. },
  26393. "enumdicname": {
  26394. "description": "单位名称",
  26395. "type": "string"
  26396. },
  26397. "goodscode": {
  26398. "description": "商品代码",
  26399. "type": "string"
  26400. },
  26401. "goodsid": {
  26402. "description": "商品ID [5:融资单]",
  26403. "type": "integer"
  26404. },
  26405. "goodsname": {
  26406. "description": "商品名称",
  26407. "type": "string"
  26408. },
  26409. "goodunitid": {
  26410. "description": "商品单位id",
  26411. "type": "integer"
  26412. },
  26413. "initmargin": {
  26414. "description": "初始保证金(首付款)",
  26415. "type": "number"
  26416. },
  26417. "lenderamount": {
  26418. "description": "贷款金额(总额|订单总额)",
  26419. "type": "number"
  26420. },
  26421. "logincode": {
  26422. "description": "账号(登录代码)",
  26423. "type": "string"
  26424. },
  26425. "marginratio": {
  26426. "description": "保证金比率(首付比例)",
  26427. "type": "number"
  26428. },
  26429. "mobile": {
  26430. "description": "电话号码(用户资料里的电话)",
  26431. "type": "string"
  26432. },
  26433. "payamount": {
  26434. "description": "已付(已付货款)",
  26435. "type": "number"
  26436. },
  26437. "reckonrecovermargin": {
  26438. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  26439. "type": "number"
  26440. },
  26441. "recoveredmargin": {
  26442. "description": "已追缴保证金",
  26443. "type": "number"
  26444. },
  26445. "remainamount": {
  26446. "description": "合同剩余金额(融资额)",
  26447. "type": "number"
  26448. },
  26449. "scfcontractid": {
  26450. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26451. "type": "string"
  26452. },
  26453. "scfcontractstatus": {
  26454. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  26455. "type": "integer"
  26456. },
  26457. "scfcontracttype": {
  26458. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  26459. "type": "integer"
  26460. },
  26461. "totalinterest": {
  26462. "description": "已计总利息(利息)",
  26463. "type": "number"
  26464. },
  26465. "tradedate": {
  26466. "description": "交易日",
  26467. "type": "string"
  26468. },
  26469. "tradeprice": {
  26470. "description": "成交价格(成本价格)",
  26471. "type": "number"
  26472. },
  26473. "userid": {
  26474. "description": "用户ID",
  26475. "type": "integer"
  26476. },
  26477. "userinfotype": {
  26478. "description": "用户类型 1-个人 2-企业",
  26479. "type": "integer"
  26480. },
  26481. "username": {
  26482. "description": "用户名称",
  26483. "type": "string"
  26484. },
  26485. "wrqty": {
  26486. "description": "仓单数量(数量)",
  26487. "type": "number"
  26488. }
  26489. }
  26490. },
  26491. "models.QhjMgrCustomer": {
  26492. "type": "object",
  26493. "properties": {
  26494. "address": {
  26495. "description": "通讯地址",
  26496. "type": "string"
  26497. },
  26498. "attachment1": {
  26499. "description": "附件1",
  26500. "type": "string"
  26501. },
  26502. "audittime": {
  26503. "description": "审核时间",
  26504. "type": "string"
  26505. },
  26506. "cardbackphotourl": {
  26507. "description": "证件反面图片地址",
  26508. "type": "string"
  26509. },
  26510. "cardfrontphotourl": {
  26511. "description": "证件正面图片地址",
  26512. "type": "string"
  26513. },
  26514. "cardnum": {
  26515. "description": "证件号码",
  26516. "type": "string"
  26517. },
  26518. "cardtype": {
  26519. "description": "证件类型",
  26520. "type": "integer"
  26521. },
  26522. "cardtypename": {
  26523. "description": "证件类型名称",
  26524. "type": "string"
  26525. },
  26526. "cityid": {
  26527. "description": "市",
  26528. "type": "integer"
  26529. },
  26530. "cityname": {
  26531. "description": "城市名称",
  26532. "type": "string"
  26533. },
  26534. "contactname": {
  26535. "description": "联系人",
  26536. "type": "string"
  26537. },
  26538. "countryid": {
  26539. "description": "国家",
  26540. "type": "integer"
  26541. },
  26542. "countryname": {
  26543. "description": "国家名称",
  26544. "type": "string"
  26545. },
  26546. "createtime": {
  26547. "description": "创建时间",
  26548. "type": "string"
  26549. },
  26550. "customername": {
  26551. "description": "客户名称",
  26552. "type": "string"
  26553. },
  26554. "districtid": {
  26555. "description": "区域",
  26556. "type": "integer"
  26557. },
  26558. "districtname": {
  26559. "description": "地区名称",
  26560. "type": "string"
  26561. },
  26562. "email": {
  26563. "description": "邮件",
  26564. "type": "string"
  26565. },
  26566. "legalpersonname": {
  26567. "description": "法人姓名(企业)",
  26568. "type": "string"
  26569. },
  26570. "logincode": {
  26571. "description": "登录账号(代码)",
  26572. "type": "string"
  26573. },
  26574. "memberuserid": {
  26575. "description": "所属机构ID(所属会员)",
  26576. "type": "integer"
  26577. },
  26578. "memberusername": {
  26579. "description": "所属会员名称",
  26580. "type": "string"
  26581. },
  26582. "mobile": {
  26583. "description": "手机号码",
  26584. "type": "string"
  26585. },
  26586. "modifytime": {
  26587. "description": "修改时间",
  26588. "type": "string"
  26589. },
  26590. "nickname": {
  26591. "description": "昵称",
  26592. "type": "string"
  26593. },
  26594. "parentuserid": {
  26595. "description": "上级机构(所属机构)",
  26596. "type": "integer"
  26597. },
  26598. "parentusername": {
  26599. "description": "所属机构名称",
  26600. "type": "string"
  26601. },
  26602. "provinceid": {
  26603. "description": "省",
  26604. "type": "integer"
  26605. },
  26606. "provincename": {
  26607. "description": "省名称",
  26608. "type": "string"
  26609. },
  26610. "proxystatementurl": {
  26611. "description": "授权委托书",
  26612. "type": "string"
  26613. },
  26614. "querytype": {
  26615. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  26616. "type": "integer"
  26617. },
  26618. "remark": {
  26619. "description": "备注",
  26620. "type": "string"
  26621. },
  26622. "status": {
  26623. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26624. "type": "integer"
  26625. },
  26626. "statusdesc": {
  26627. "description": "账户状态中文描述",
  26628. "type": "string"
  26629. },
  26630. "taxpayernum": {
  26631. "description": "纳税人识别号",
  26632. "type": "string"
  26633. },
  26634. "telphone": {
  26635. "description": "联系电话",
  26636. "type": "string"
  26637. },
  26638. "userid": {
  26639. "description": "用户ID",
  26640. "type": "integer"
  26641. },
  26642. "userinfotype": {
  26643. "description": "客户类型 1-个人 2-企业",
  26644. "type": "integer"
  26645. },
  26646. "username": {
  26647. "description": "用户名称",
  26648. "type": "string"
  26649. }
  26650. }
  26651. },
  26652. "models.QhjMgrPickGoods": {
  26653. "type": "object",
  26654. "properties": {
  26655. "enumdicname": {
  26656. "description": "单位名称(提货商品)",
  26657. "type": "string"
  26658. },
  26659. "goodsid": {
  26660. "description": "商品id",
  26661. "type": "integer"
  26662. },
  26663. "imageaddress": {
  26664. "description": "图片",
  26665. "type": "string"
  26666. },
  26667. "modifierid": {
  26668. "description": "修改人",
  26669. "type": "integer"
  26670. },
  26671. "modifiername": {
  26672. "description": "修改人名称",
  26673. "type": "string"
  26674. },
  26675. "modifysrc": {
  26676. "description": "修改来源 - 1:管理端 2:终端",
  26677. "type": "integer"
  26678. },
  26679. "pickupgoodsagreeunit": {
  26680. "description": "合约乘数",
  26681. "type": "number"
  26682. },
  26683. "pickupgoodsdesc": {
  26684. "description": "描述",
  26685. "type": "string"
  26686. },
  26687. "pickupgoodsid": {
  26688. "description": "提货商品ID",
  26689. "type": "string"
  26690. },
  26691. "pickupgoodsname": {
  26692. "description": "提货商品名称",
  26693. "type": "string"
  26694. },
  26695. "pickupgoodsstatus": {
  26696. "description": "状态 - 1:正常 2:停用 3:注销",
  26697. "type": "integer"
  26698. },
  26699. "pickupgoodsunitid": {
  26700. "description": "单位ID",
  26701. "type": "integer"
  26702. },
  26703. "pickupratio": {
  26704. "description": "提货系数",
  26705. "type": "number"
  26706. },
  26707. "preparedays": {
  26708. "description": "备货期(天)",
  26709. "type": "integer"
  26710. },
  26711. "remark": {
  26712. "description": "备注",
  26713. "type": "string"
  26714. },
  26715. "updatetime": {
  26716. "description": "更新时间",
  26717. "type": "string"
  26718. }
  26719. }
  26720. },
  26721. "models.QhjMgrPositionRsp": {
  26722. "type": "object",
  26723. "properties": {
  26724. "accountid": {
  26725. "description": "账号Id",
  26726. "type": "integer"
  26727. },
  26728. "accountname": {
  26729. "description": "用户名称",
  26730. "type": "string"
  26731. },
  26732. "agreeunit": {
  26733. "description": "合约乘数",
  26734. "type": "number"
  26735. },
  26736. "averageprice": {
  26737. "description": "均价",
  26738. "type": "number"
  26739. },
  26740. "avialqty": {
  26741. "description": "可用数量",
  26742. "type": "number"
  26743. },
  26744. "decimalplace": {
  26745. "description": "报价小数位",
  26746. "type": "integer"
  26747. },
  26748. "enumdicname": {
  26749. "description": "单位名称(商品)",
  26750. "type": "string"
  26751. },
  26752. "frozenqty": {
  26753. "description": "冻结数量",
  26754. "type": "number"
  26755. },
  26756. "goodscode": {
  26757. "description": "商品代码(内部)",
  26758. "type": "string"
  26759. },
  26760. "goodsid": {
  26761. "description": "商品Id",
  26762. "type": "integer"
  26763. },
  26764. "goodsname": {
  26765. "description": "商品名称",
  26766. "type": "string"
  26767. },
  26768. "goodunitid": {
  26769. "description": "报价单位ID",
  26770. "type": "integer"
  26771. },
  26772. "holderamount": {
  26773. "description": "金额",
  26774. "type": "number"
  26775. },
  26776. "holderqty": {
  26777. "description": "持有数量",
  26778. "type": "number"
  26779. },
  26780. "holdertype": {
  26781. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  26782. "type": "integer"
  26783. },
  26784. "logincode": {
  26785. "description": "登录代码(账户)",
  26786. "type": "string"
  26787. },
  26788. "marketid": {
  26789. "description": "市场id",
  26790. "type": "integer"
  26791. },
  26792. "qtydecimalplace": {
  26793. "description": "成交量小数位",
  26794. "type": "integer"
  26795. },
  26796. "trademode": {
  26797. "description": "交易模式",
  26798. "type": "integer"
  26799. },
  26800. "userid": {
  26801. "description": "用户id",
  26802. "type": "integer"
  26803. },
  26804. "userinfotype": {
  26805. "description": "账户类型 1-个人 2-企业",
  26806. "type": "integer"
  26807. }
  26808. }
  26809. },
  26810. "models.QhjMgrSubArea": {
  26811. "type": "object",
  26812. "properties": {
  26813. "accountname": {
  26814. "description": "账户名称(机构名称)",
  26815. "type": "string"
  26816. },
  26817. "memberuserid": {
  26818. "description": "所属会员ID",
  26819. "type": "integer"
  26820. },
  26821. "parenttopuser": {
  26822. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  26823. "type": "string"
  26824. },
  26825. "parentuserid": {
  26826. "description": "所属机构ID",
  26827. "type": "integer"
  26828. },
  26829. "rootuserid": {
  26830. "description": "根用户ID",
  26831. "type": "string"
  26832. },
  26833. "subaccountlevel": {
  26834. "description": "子账户层数",
  26835. "type": "integer"
  26836. },
  26837. "subarealevelpath": {
  26838. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  26839. "type": "string"
  26840. },
  26841. "userid": {
  26842. "description": "用户ID",
  26843. "type": "integer"
  26844. },
  26845. "usertype": {
  26846. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26847. "type": "integer"
  26848. }
  26849. }
  26850. },
  26851. "models.QhjMgrTradeDetailRsp": {
  26852. "type": "object",
  26853. "properties": {
  26854. "accountid": {
  26855. "description": "资金账号",
  26856. "type": "integer"
  26857. },
  26858. "accountname": {
  26859. "description": "用户名称",
  26860. "type": "string"
  26861. },
  26862. "agreeunit": {
  26863. "description": "合约乘数",
  26864. "type": "number"
  26865. },
  26866. "buyorsell": {
  26867. "description": "成交类型(方向) 0:买 1:卖",
  26868. "type": "integer"
  26869. },
  26870. "decimalplace": {
  26871. "description": "报价小数位",
  26872. "type": "integer"
  26873. },
  26874. "enumdicname": {
  26875. "description": "单位名称(商品)",
  26876. "type": "string"
  26877. },
  26878. "goodscode": {
  26879. "description": "商品代码(内部)",
  26880. "type": "string"
  26881. },
  26882. "goodsid": {
  26883. "description": "商品id",
  26884. "type": "integer"
  26885. },
  26886. "goodsname": {
  26887. "description": "商品名称",
  26888. "type": "string"
  26889. },
  26890. "goodunitid": {
  26891. "description": "报价单位ID",
  26892. "type": "integer"
  26893. },
  26894. "logincode": {
  26895. "description": "登录代码(账户)",
  26896. "type": "string"
  26897. },
  26898. "marketid": {
  26899. "description": "市场id",
  26900. "type": "integer"
  26901. },
  26902. "orderid": {
  26903. "description": "关联委托单号",
  26904. "type": "string"
  26905. },
  26906. "qtydecimalplace": {
  26907. "description": "成交量小数位",
  26908. "type": "integer"
  26909. },
  26910. "tradeamount": {
  26911. "description": "金额",
  26912. "type": "number"
  26913. },
  26914. "tradedate": {
  26915. "description": "交易日",
  26916. "type": "string"
  26917. },
  26918. "tradeid": {
  26919. "description": "成交单号",
  26920. "type": "string"
  26921. },
  26922. "trademode": {
  26923. "description": "交易模式",
  26924. "type": "integer"
  26925. },
  26926. "tradeprice": {
  26927. "description": "价格",
  26928. "type": "number"
  26929. },
  26930. "tradeqty": {
  26931. "description": "数量",
  26932. "type": "number"
  26933. },
  26934. "tradetime": {
  26935. "description": "成交时间",
  26936. "type": "string"
  26937. },
  26938. "userid": {
  26939. "description": "用户id",
  26940. "type": "integer"
  26941. },
  26942. "userinfotype": {
  26943. "description": "账户类型 1-个人 2-企业",
  26944. "type": "integer"
  26945. }
  26946. }
  26947. },
  26948. "models.QhjMgrTradeOrderDetailRsp": {
  26949. "type": "object",
  26950. "properties": {
  26951. "accountid": {
  26952. "description": "资金账号",
  26953. "type": "integer"
  26954. },
  26955. "accountname": {
  26956. "description": "用户名称",
  26957. "type": "string"
  26958. },
  26959. "agreeunit": {
  26960. "description": "合约乘数",
  26961. "type": "number"
  26962. },
  26963. "amount": {
  26964. "description": "金额",
  26965. "type": "number"
  26966. },
  26967. "decimalplace": {
  26968. "description": "报价小数位",
  26969. "type": "integer"
  26970. },
  26971. "enumdicname": {
  26972. "description": "单位名称(商品)",
  26973. "type": "string"
  26974. },
  26975. "goodscode": {
  26976. "description": "商品代码(内部)",
  26977. "type": "string"
  26978. },
  26979. "goodsid": {
  26980. "description": "商品id",
  26981. "type": "integer"
  26982. },
  26983. "goodsname": {
  26984. "description": "商品名称",
  26985. "type": "string"
  26986. },
  26987. "goodunitid": {
  26988. "description": "报价单位ID",
  26989. "type": "integer"
  26990. },
  26991. "logincode": {
  26992. "description": "登录代码(账户)",
  26993. "type": "string"
  26994. },
  26995. "marketid": {
  26996. "description": "市场id",
  26997. "type": "integer"
  26998. },
  26999. "orderid": {
  27000. "description": "关联委托单号",
  27001. "type": "string"
  27002. },
  27003. "orderprice": {
  27004. "description": "价格",
  27005. "type": "number"
  27006. },
  27007. "orderqty": {
  27008. "description": "数量",
  27009. "type": "number"
  27010. },
  27011. "orderstatus": {
  27012. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27013. "type": "integer"
  27014. },
  27015. "ordertime": {
  27016. "description": "委托时间",
  27017. "type": "string"
  27018. },
  27019. "qtydecimalplace": {
  27020. "description": "成交量小数位",
  27021. "type": "integer"
  27022. },
  27023. "tradedate": {
  27024. "description": "交易日",
  27025. "type": "string"
  27026. },
  27027. "trademode": {
  27028. "description": "交易模式",
  27029. "type": "integer"
  27030. },
  27031. "userid": {
  27032. "description": "用户id",
  27033. "type": "integer"
  27034. },
  27035. "userinfotype": {
  27036. "description": "账户类型 1-个人 2-企业",
  27037. "type": "integer"
  27038. }
  27039. }
  27040. },
  27041. "models.QhjMgrTradePayOrder": {
  27042. "type": "object",
  27043. "properties": {
  27044. "accountname": {
  27045. "description": "用户名称",
  27046. "type": "string"
  27047. },
  27048. "advanceratio": {
  27049. "description": "首付比率",
  27050. "type": "number"
  27051. },
  27052. "agreeunit": {
  27053. "description": "合约乘数",
  27054. "type": "number"
  27055. },
  27056. "buyaccountid": {
  27057. "description": "买方账号ID[报价币种]",
  27058. "type": "integer"
  27059. },
  27060. "buyorderid": {
  27061. "description": "买方委托单号(关联单号)",
  27062. "type": "string"
  27063. },
  27064. "createtime": {
  27065. "description": "创建时间",
  27066. "type": "string"
  27067. },
  27068. "decimalplace": {
  27069. "description": "报价小数位",
  27070. "type": "integer"
  27071. },
  27072. "enumdicname": {
  27073. "description": "单位名称(商品)",
  27074. "type": "string"
  27075. },
  27076. "goodscode": {
  27077. "description": "商品代码(内部)",
  27078. "type": "string"
  27079. },
  27080. "goodsid": {
  27081. "description": "商品ID",
  27082. "type": "integer"
  27083. },
  27084. "goodsname": {
  27085. "description": "商品名称",
  27086. "type": "string"
  27087. },
  27088. "goodunitid": {
  27089. "description": "报价单位ID",
  27090. "type": "integer"
  27091. },
  27092. "logincode": {
  27093. "description": "登录代码(账户)",
  27094. "type": "string"
  27095. },
  27096. "marketid": {
  27097. "description": "市场id",
  27098. "type": "integer"
  27099. },
  27100. "offamount": {
  27101. "description": "优惠金额",
  27102. "type": "number"
  27103. },
  27104. "operatetype": {
  27105. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  27106. "type": "integer"
  27107. },
  27108. "payamount": {
  27109. "description": "支付金额(金额)",
  27110. "type": "number"
  27111. },
  27112. "payflag": {
  27113. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27114. "type": "integer"
  27115. },
  27116. "paylimitedtime": {
  27117. "description": "支付期限",
  27118. "type": "string"
  27119. },
  27120. "paytime": {
  27121. "description": "付款时间",
  27122. "type": "string"
  27123. },
  27124. "qtydecimalplace": {
  27125. "description": "成交量小数位",
  27126. "type": "integer"
  27127. },
  27128. "sellaccountid": {
  27129. "description": "卖方账号ID[报价币种]",
  27130. "type": "integer"
  27131. },
  27132. "sellorderid": {
  27133. "description": "卖方委托单号",
  27134. "type": "string"
  27135. },
  27136. "tradeamount": {
  27137. "description": "成交金额(优惠后金额)",
  27138. "type": "number"
  27139. },
  27140. "tradecharge": {
  27141. "description": "成交手续费(买方)",
  27142. "type": "number"
  27143. },
  27144. "tradedate": {
  27145. "description": "交易日(yyyyMMdd)",
  27146. "type": "string"
  27147. },
  27148. "tradeid": {
  27149. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27150. "type": "string"
  27151. },
  27152. "trademode": {
  27153. "description": "交易模式",
  27154. "type": "integer"
  27155. },
  27156. "tradeprice": {
  27157. "description": "成交价格(价格)",
  27158. "type": "number"
  27159. },
  27160. "tradeqty": {
  27161. "description": "成交数量(数量)",
  27162. "type": "number"
  27163. },
  27164. "tradetime": {
  27165. "description": "成交时间",
  27166. "type": "string"
  27167. },
  27168. "userid": {
  27169. "description": "用户id",
  27170. "type": "integer"
  27171. },
  27172. "userinfotype": {
  27173. "description": "账户类型 1-个人 2-企业",
  27174. "type": "integer"
  27175. }
  27176. }
  27177. },
  27178. "models.QhjMyTeamEx": {
  27179. "type": "object",
  27180. "properties": {
  27181. "accountname": {
  27182. "description": "用户名称",
  27183. "type": "string"
  27184. },
  27185. "accountstatus": {
  27186. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27187. "type": "integer"
  27188. },
  27189. "createtime": {
  27190. "description": "创建时间",
  27191. "type": "string"
  27192. },
  27193. "mobile": {
  27194. "description": "手机号码",
  27195. "type": "string"
  27196. },
  27197. "refereeuserid": {
  27198. "description": "推荐人id",
  27199. "type": "integer"
  27200. },
  27201. "refernum": {
  27202. "description": "推荐码",
  27203. "type": "string"
  27204. },
  27205. "subList": {
  27206. "type": "array",
  27207. "items": {
  27208. "$ref": "#/definitions/models.QhjMyTeamEx"
  27209. }
  27210. },
  27211. "userid": {
  27212. "description": "用户id",
  27213. "type": "integer"
  27214. },
  27215. "userinfotype": {
  27216. "description": "用户类型 1-个人 2-企业",
  27217. "type": "integer"
  27218. }
  27219. }
  27220. },
  27221. "models.QhjNodeAgreementConfig": {
  27222. "type": "object",
  27223. "properties": {
  27224. "agreementcontent": {
  27225. "description": "协议内容",
  27226. "type": "string"
  27227. },
  27228. "agreementid": {
  27229. "description": "协议ID",
  27230. "type": "integer"
  27231. },
  27232. "agreementname": {
  27233. "description": "协议名称",
  27234. "type": "string"
  27235. },
  27236. "agreementno": {
  27237. "description": "协议编号",
  27238. "type": "string"
  27239. },
  27240. "agreementtype": {
  27241. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27242. "type": "integer"
  27243. },
  27244. "agreementversion": {
  27245. "description": "协议版本号",
  27246. "type": "integer"
  27247. },
  27248. "configid": {
  27249. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  27250. "type": "integer"
  27251. },
  27252. "createtime": {
  27253. "description": "创建时间",
  27254. "type": "string"
  27255. },
  27256. "goodsid": {
  27257. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27258. "type": "integer"
  27259. },
  27260. "nodetype": {
  27261. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  27262. "type": "integer"
  27263. }
  27264. }
  27265. },
  27266. "models.QhjParentAreaList": {
  27267. "type": "object",
  27268. "properties": {
  27269. "accountname": {
  27270. "description": "账户名称(机构名称)",
  27271. "type": "string"
  27272. },
  27273. "userid": {
  27274. "description": "用户ID",
  27275. "type": "integer"
  27276. },
  27277. "usertype": {
  27278. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27279. "type": "integer"
  27280. }
  27281. }
  27282. },
  27283. "models.QhjPayOrder": {
  27284. "type": "object",
  27285. "properties": {
  27286. "advanceratio": {
  27287. "description": "首付比率",
  27288. "type": "number"
  27289. },
  27290. "buyaccountid": {
  27291. "description": "买方账号ID[报价币种]",
  27292. "type": "integer"
  27293. },
  27294. "buyorderid": {
  27295. "description": "买方委托单号",
  27296. "type": "string"
  27297. },
  27298. "createtime": {
  27299. "description": "创建时间",
  27300. "type": "string"
  27301. },
  27302. "decimalplace": {
  27303. "description": "商品报价小数位",
  27304. "type": "integer"
  27305. },
  27306. "enumdicname": {
  27307. "description": "单位名称",
  27308. "type": "string"
  27309. },
  27310. "goodscode": {
  27311. "description": "商品代码",
  27312. "type": "string"
  27313. },
  27314. "goodsid": {
  27315. "description": "商品ID",
  27316. "type": "integer"
  27317. },
  27318. "goodsname": {
  27319. "description": "商品名称",
  27320. "type": "string"
  27321. },
  27322. "goodunitid": {
  27323. "description": "商品单位id",
  27324. "type": "integer"
  27325. },
  27326. "marketid": {
  27327. "description": "市场ID",
  27328. "type": "integer"
  27329. },
  27330. "offamount": {
  27331. "description": "优惠金额",
  27332. "type": "number"
  27333. },
  27334. "operatetype": {
  27335. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  27336. "type": "integer"
  27337. },
  27338. "payamount": {
  27339. "description": "支付金额",
  27340. "type": "number"
  27341. },
  27342. "payflag": {
  27343. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27344. "type": "integer"
  27345. },
  27346. "paylimitedtime": {
  27347. "description": "支付期限",
  27348. "type": "string"
  27349. },
  27350. "paytime": {
  27351. "description": "付款时间",
  27352. "type": "string"
  27353. },
  27354. "qtydecimalplace": {
  27355. "description": "成交量小数位",
  27356. "type": "integer"
  27357. },
  27358. "sellaccountid": {
  27359. "description": "卖方账号ID[报价币种]",
  27360. "type": "integer"
  27361. },
  27362. "sellorderid": {
  27363. "description": "卖方委托单号",
  27364. "type": "string"
  27365. },
  27366. "tradeamount": {
  27367. "description": "成交金额(优惠后金额)",
  27368. "type": "number"
  27369. },
  27370. "tradecharge": {
  27371. "description": "成交手续费(买方)",
  27372. "type": "number"
  27373. },
  27374. "tradedate": {
  27375. "description": "交易日(yyyyMMdd)",
  27376. "type": "string"
  27377. },
  27378. "tradeid": {
  27379. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27380. "type": "string"
  27381. },
  27382. "tradeprice": {
  27383. "description": "成交价格",
  27384. "type": "number"
  27385. },
  27386. "tradeqty": {
  27387. "description": "成交数量",
  27388. "type": "number"
  27389. }
  27390. }
  27391. },
  27392. "models.QhjPickArea": {
  27393. "type": "object",
  27394. "properties": {
  27395. "address": {
  27396. "description": "详细地址",
  27397. "type": "string"
  27398. },
  27399. "cityid": {
  27400. "description": "市",
  27401. "type": "integer"
  27402. },
  27403. "cityname": {
  27404. "description": "城市名称",
  27405. "type": "string"
  27406. },
  27407. "countryid": {
  27408. "description": "国家",
  27409. "type": "integer"
  27410. },
  27411. "countryname": {
  27412. "description": "国家名称",
  27413. "type": "string"
  27414. },
  27415. "districtid": {
  27416. "description": "地区",
  27417. "type": "integer"
  27418. },
  27419. "districtname": {
  27420. "description": "地区名称",
  27421. "type": "string"
  27422. },
  27423. "fromuserid": {
  27424. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  27425. "type": "integer"
  27426. },
  27427. "fromusername": {
  27428. "description": "所属机构名称",
  27429. "type": "string"
  27430. },
  27431. "provinceid": {
  27432. "description": "省",
  27433. "type": "integer"
  27434. },
  27435. "provincename": {
  27436. "description": "省名称",
  27437. "type": "string"
  27438. },
  27439. "suborgtype": {
  27440. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  27441. "type": "integer"
  27442. },
  27443. "userid": {
  27444. "description": "机构用户ID 其他做市关系,都设置为 1",
  27445. "type": "integer"
  27446. },
  27447. "username": {
  27448. "description": "机构用户名称(门店门称)",
  27449. "type": "string"
  27450. }
  27451. }
  27452. },
  27453. "models.QhjPickGoods": {
  27454. "type": "object",
  27455. "properties": {
  27456. "enumdicname": {
  27457. "description": "单位名称(提货商品)",
  27458. "type": "string"
  27459. },
  27460. "goodsid": {
  27461. "description": "商品id",
  27462. "type": "integer"
  27463. },
  27464. "imageaddress": {
  27465. "description": "图片",
  27466. "type": "string"
  27467. },
  27468. "modifierid": {
  27469. "description": "修改人",
  27470. "type": "integer"
  27471. },
  27472. "modifiername": {
  27473. "description": "修改人名称",
  27474. "type": "string"
  27475. },
  27476. "modifysrc": {
  27477. "description": "修改来源 - 1:管理端 2:终端",
  27478. "type": "integer"
  27479. },
  27480. "pickupgoodsagreeunit": {
  27481. "description": "合约乘数",
  27482. "type": "number"
  27483. },
  27484. "pickupgoodsdesc": {
  27485. "description": "描述",
  27486. "type": "string"
  27487. },
  27488. "pickupgoodsid": {
  27489. "description": "提货商品ID",
  27490. "type": "string"
  27491. },
  27492. "pickupgoodsname": {
  27493. "description": "提货商品名称",
  27494. "type": "string"
  27495. },
  27496. "pickupgoodsstatus": {
  27497. "description": "状态 - 1:正常 2:停用 3:注销",
  27498. "type": "integer"
  27499. },
  27500. "pickupgoodsunitid": {
  27501. "description": "单位ID",
  27502. "type": "integer"
  27503. },
  27504. "pickupratio": {
  27505. "description": "提货系数",
  27506. "type": "number"
  27507. },
  27508. "preparedays": {
  27509. "description": "备货期(天)",
  27510. "type": "integer"
  27511. },
  27512. "remark": {
  27513. "description": "备注",
  27514. "type": "string"
  27515. },
  27516. "updatetime": {
  27517. "description": "更新时间",
  27518. "type": "string"
  27519. }
  27520. }
  27521. },
  27522. "models.QhjRSTriggerLog": {
  27523. "type": "object",
  27524. "properties": {
  27525. "accountid": {
  27526. "description": "用户资金账户",
  27527. "type": "integer"
  27528. },
  27529. "accountname": {
  27530. "description": "账号名称(ACCOUNTID对应的名称)",
  27531. "type": "string"
  27532. },
  27533. "currencyid": {
  27534. "description": "币种id",
  27535. "type": "integer"
  27536. },
  27537. "currencyname": {
  27538. "description": "币种名称",
  27539. "type": "string"
  27540. },
  27541. "decimalplace": {
  27542. "description": "商品报价小数位",
  27543. "type": "integer"
  27544. },
  27545. "enumdicname": {
  27546. "description": "单位名称",
  27547. "type": "string"
  27548. },
  27549. "goodscode": {
  27550. "description": "定投商品代码",
  27551. "type": "string"
  27552. },
  27553. "goodsid": {
  27554. "description": "定投商品ID",
  27555. "type": "integer"
  27556. },
  27557. "goodsname": {
  27558. "description": "定投商品名称",
  27559. "type": "string"
  27560. },
  27561. "goodunitid": {
  27562. "description": "定投商品单位id",
  27563. "type": "integer"
  27564. },
  27565. "logid": {
  27566. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  27567. "type": "string"
  27568. },
  27569. "logincode": {
  27570. "description": "账号(登录代码)",
  27571. "type": "string"
  27572. },
  27573. "qtydecimalplace": {
  27574. "description": "成交量小数位",
  27575. "type": "integer"
  27576. },
  27577. "regularlycycle": {
  27578. "description": "定投频率 - 1:每周 2:每月",
  27579. "type": "integer"
  27580. },
  27581. "regularlycyclevalue": {
  27582. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  27583. "type": "string"
  27584. },
  27585. "regularlymode": {
  27586. "description": "定投方式 - 1:按数量 2:按金额",
  27587. "type": "integer"
  27588. },
  27589. "regularlymodevalue": {
  27590. "description": "定投方式值 - 数量或金额",
  27591. "type": "number"
  27592. },
  27593. "regularlystrategyid": {
  27594. "description": "定投策略ID",
  27595. "type": "integer"
  27596. },
  27597. "retcode": {
  27598. "description": "错误码",
  27599. "type": "string"
  27600. },
  27601. "tradeid": {
  27602. "description": "成交单ID",
  27603. "type": "string"
  27604. },
  27605. "triggeramount": {
  27606. "description": "触发金额",
  27607. "type": "number"
  27608. },
  27609. "triggerqty": {
  27610. "description": "触发数量",
  27611. "type": "number"
  27612. },
  27613. "triggerstatus": {
  27614. "description": "触发状态 - 1:成功 2:失败",
  27615. "type": "integer"
  27616. },
  27617. "triggertime": {
  27618. "description": "触发时间",
  27619. "type": "string"
  27620. },
  27621. "triggertradedate": {
  27622. "description": "触发交易日",
  27623. "type": "string"
  27624. },
  27625. "userid": {
  27626. "description": "所属用户ID",
  27627. "type": "integer"
  27628. },
  27629. "userinfotype": {
  27630. "description": "用户类型 1-个人 2-企业",
  27631. "type": "integer"
  27632. },
  27633. "username": {
  27634. "description": "用户名称(userid对应的名称)",
  27635. "type": "string"
  27636. }
  27637. }
  27638. },
  27639. "models.QhjRStrategy": {
  27640. "type": "object",
  27641. "properties": {
  27642. "accountid": {
  27643. "description": "用户资金账户",
  27644. "type": "integer"
  27645. },
  27646. "accountname": {
  27647. "description": "账号名称(ACCOUNTID对应的名称)",
  27648. "type": "string"
  27649. },
  27650. "currencyid": {
  27651. "description": "币种id",
  27652. "type": "integer"
  27653. },
  27654. "currencyname": {
  27655. "description": "币种名称",
  27656. "type": "string"
  27657. },
  27658. "decimalplace": {
  27659. "description": "商品报价小数位",
  27660. "type": "integer"
  27661. },
  27662. "enumdicname": {
  27663. "description": "单位名称",
  27664. "type": "string"
  27665. },
  27666. "goodscode": {
  27667. "description": "定投商品代码",
  27668. "type": "string"
  27669. },
  27670. "goodsid": {
  27671. "description": "定投商品ID",
  27672. "type": "integer"
  27673. },
  27674. "goodsname": {
  27675. "description": "定投商品名称",
  27676. "type": "string"
  27677. },
  27678. "goodunitid": {
  27679. "description": "定投商品单位id",
  27680. "type": "integer"
  27681. },
  27682. "lasteffecttradedate": {
  27683. "description": "最新生效交易日",
  27684. "type": "string"
  27685. },
  27686. "laststoptradedate": {
  27687. "description": "最新暂停交易日",
  27688. "type": "string"
  27689. },
  27690. "lasttriggertradedate": {
  27691. "description": "最新触发交易日",
  27692. "type": "string"
  27693. },
  27694. "logincode": {
  27695. "description": "账号(登录代码)",
  27696. "type": "string"
  27697. },
  27698. "nexttriggeramount": {
  27699. "description": "下次触发金额",
  27700. "type": "number"
  27701. },
  27702. "nexttriggerdate": {
  27703. "description": "下次触发日期",
  27704. "type": "string"
  27705. },
  27706. "nexttriggerqty": {
  27707. "description": "下次触发数量 [按小数位放大值]",
  27708. "type": "number"
  27709. },
  27710. "qtydecimalplace": {
  27711. "description": "成交量小数位",
  27712. "type": "integer"
  27713. },
  27714. "regularlycycle": {
  27715. "description": "定投频率 - 1:每周 2:每月",
  27716. "type": "integer"
  27717. },
  27718. "regularlycyclevalue": {
  27719. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  27720. "type": "string"
  27721. },
  27722. "regularlymode": {
  27723. "description": "定投方式 - 1:按数量 2:按金额",
  27724. "type": "integer"
  27725. },
  27726. "regularlymodevalue": {
  27727. "description": "定投方式值 - 数量或金额",
  27728. "type": "number"
  27729. },
  27730. "regularlystrategyid": {
  27731. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  27732. "type": "integer"
  27733. },
  27734. "regularlystrategystatus": {
  27735. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  27736. "type": "integer"
  27737. },
  27738. "remark": {
  27739. "description": "备注",
  27740. "type": "string"
  27741. },
  27742. "triggersuccesstimes": {
  27743. "description": "累计定投成功次数",
  27744. "type": "string"
  27745. },
  27746. "triggertotalamount": {
  27747. "description": "累计定投金额(成功)",
  27748. "type": "number"
  27749. },
  27750. "triggertotalqty": {
  27751. "description": "累计定投数量(成功) [按小数位放大值]",
  27752. "type": "number"
  27753. },
  27754. "triggertotaltimes": {
  27755. "description": "累计定投总次数",
  27756. "type": "string"
  27757. },
  27758. "updatesrc": {
  27759. "description": "更新来源 - 1:管理端 2:终端",
  27760. "type": "integer"
  27761. },
  27762. "updatetime": {
  27763. "description": "更新时间",
  27764. "type": "string"
  27765. },
  27766. "updatorid": {
  27767. "description": "更新人",
  27768. "type": "string"
  27769. },
  27770. "userid": {
  27771. "description": "所属用户ID",
  27772. "type": "integer"
  27773. },
  27774. "userinfotype": {
  27775. "description": "用户类型 1-个人 2-企业",
  27776. "type": "integer"
  27777. },
  27778. "username": {
  27779. "description": "用户名称(userid对应的名称)",
  27780. "type": "string"
  27781. }
  27782. }
  27783. },
  27784. "models.QhjReckonPriceLog": {
  27785. "type": "object",
  27786. "properties": {
  27787. "decimalplace": {
  27788. "description": "商品报价小数位",
  27789. "type": "integer"
  27790. },
  27791. "goodscode": {
  27792. "description": "商品代码",
  27793. "type": "string"
  27794. },
  27795. "goodsid": {
  27796. "description": "商品ID",
  27797. "type": "integer"
  27798. },
  27799. "goodsname": {
  27800. "description": "商品名称",
  27801. "type": "string"
  27802. },
  27803. "lastreckonprice": {
  27804. "description": "上日结算价",
  27805. "type": "number"
  27806. },
  27807. "nextdnlimitprice": {
  27808. "description": "下个交易日跌停价",
  27809. "type": "number"
  27810. },
  27811. "nexttrade": {
  27812. "description": "下个交易日",
  27813. "type": "string"
  27814. },
  27815. "nextuplimitprice": {
  27816. "description": "下个交易日涨停价",
  27817. "type": "number"
  27818. },
  27819. "reckonprice": {
  27820. "description": "今日结算价(定投价)",
  27821. "type": "number"
  27822. },
  27823. "reckontime": {
  27824. "description": "结算时间",
  27825. "type": "string"
  27826. },
  27827. "totalholderqty": {
  27828. "description": "总持仓数",
  27829. "type": "integer"
  27830. },
  27831. "totalstock": {
  27832. "description": "总库存",
  27833. "type": "integer"
  27834. },
  27835. "tradedate": {
  27836. "description": "交易日",
  27837. "type": "string"
  27838. },
  27839. "updowncount": {
  27840. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  27841. "type": "integer"
  27842. },
  27843. "updownflag": {
  27844. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  27845. "type": "integer"
  27846. },
  27847. "updownrate": {
  27848. "description": "今日涨跌幅",
  27849. "type": "number"
  27850. },
  27851. "updownrate_2d": {
  27852. "description": "连续两日涨跌幅",
  27853. "type": "number"
  27854. },
  27855. "updownrate_3d": {
  27856. "description": "连续三日涨跌幅",
  27857. "type": "number"
  27858. }
  27859. }
  27860. },
  27861. "models.QhjScoreLog": {
  27862. "type": "object",
  27863. "properties": {
  27864. "accountid": {
  27865. "description": "账户ID",
  27866. "type": "integer"
  27867. },
  27868. "createtime": {
  27869. "description": "创建时间(时间)",
  27870. "type": "string"
  27871. },
  27872. "goodsid": {
  27873. "description": "商品ID",
  27874. "type": "integer"
  27875. },
  27876. "hasuploaded": {
  27877. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  27878. "type": "integer"
  27879. },
  27880. "logid": {
  27881. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27882. "type": "string"
  27883. },
  27884. "marketid": {
  27885. "description": "市场ID",
  27886. "type": "integer"
  27887. },
  27888. "relatedamount": {
  27889. "description": "关联金额",
  27890. "type": "number"
  27891. },
  27892. "relatedorderid": {
  27893. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  27894. "type": "string"
  27895. },
  27896. "scoreconfigvalue1": {
  27897. "description": "积分配置1",
  27898. "type": "integer"
  27899. },
  27900. "scoreconfigvalue2": {
  27901. "description": "积分配置1",
  27902. "type": "integer"
  27903. },
  27904. "scoretype": {
  27905. "description": "积分类型 - 1:提货积分",
  27906. "type": "integer"
  27907. },
  27908. "scorevalue": {
  27909. "description": "积分",
  27910. "type": "number"
  27911. },
  27912. "tradedate": {
  27913. "description": "交易日(yyyyMMdd)",
  27914. "type": "string"
  27915. },
  27916. "uploadedtime": {
  27917. "description": "同步时间",
  27918. "type": "string"
  27919. },
  27920. "userid": {
  27921. "description": "用户ID",
  27922. "type": "integer"
  27923. }
  27924. }
  27925. },
  27926. "models.QhjSiteColumnDetail": {
  27927. "type": "object",
  27928. "properties": {
  27929. "author": {
  27930. "description": "作者",
  27931. "type": "string"
  27932. },
  27933. "brief": {
  27934. "description": "简介",
  27935. "type": "string"
  27936. },
  27937. "columnid": {
  27938. "description": "所属栏目",
  27939. "type": "integer"
  27940. },
  27941. "context": {
  27942. "description": "内容",
  27943. "type": "string"
  27944. },
  27945. "coverimage": {
  27946. "description": "封面图片",
  27947. "type": "string"
  27948. },
  27949. "creaedate": {
  27950. "description": "创建时间",
  27951. "type": "string"
  27952. },
  27953. "creatorid": {
  27954. "description": "创建人",
  27955. "type": "integer"
  27956. },
  27957. "hits": {
  27958. "description": "点击数",
  27959. "type": "integer"
  27960. },
  27961. "id": {
  27962. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  27963. "type": "integer"
  27964. },
  27965. "isshow": {
  27966. "description": "是否展示 - 0:不展示 1:展示",
  27967. "type": "integer"
  27968. },
  27969. "istop": {
  27970. "description": "是否置顶 - 0:不置 1:置顶",
  27971. "type": "integer"
  27972. },
  27973. "modifierid": {
  27974. "description": "操作人",
  27975. "type": "integer"
  27976. },
  27977. "publishdate": {
  27978. "description": "发布日期",
  27979. "type": "string"
  27980. },
  27981. "status": {
  27982. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  27983. "type": "integer"
  27984. },
  27985. "title": {
  27986. "description": "标题",
  27987. "type": "string"
  27988. },
  27989. "updatedate": {
  27990. "description": "修改时间",
  27991. "type": "string"
  27992. },
  27993. "userid": {
  27994. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  27995. "type": "integer"
  27996. },
  27997. "username": {
  27998. "description": "用户名称",
  27999. "type": "string"
  28000. }
  28001. }
  28002. },
  28003. "models.QhjTeamOrder": {
  28004. "type": "object",
  28005. "properties": {
  28006. "accountid": {
  28007. "description": "账户ID[报价币种]",
  28008. "type": "integer"
  28009. },
  28010. "accountname": {
  28011. "description": "账户名称",
  28012. "type": "string"
  28013. },
  28014. "agreeunit": {
  28015. "description": "合约乘数",
  28016. "type": "number"
  28017. },
  28018. "buyorsell": {
  28019. "description": "方向 - 0:买 1:卖",
  28020. "type": "integer"
  28021. },
  28022. "decimalplace": {
  28023. "description": "报价小数位",
  28024. "type": "integer"
  28025. },
  28026. "enumdicname": {
  28027. "description": "单位名称",
  28028. "type": "string"
  28029. },
  28030. "goodscode": {
  28031. "description": "商品代码(内部)",
  28032. "type": "string"
  28033. },
  28034. "goodsid": {
  28035. "description": "商品ID",
  28036. "type": "integer"
  28037. },
  28038. "goodsname": {
  28039. "description": "商品名称",
  28040. "type": "string"
  28041. },
  28042. "goodunitid": {
  28043. "description": "报价单位ID",
  28044. "type": "integer"
  28045. },
  28046. "marketid": {
  28047. "description": "市场ID",
  28048. "type": "integer"
  28049. },
  28050. "marketname": {
  28051. "description": "市场名称",
  28052. "type": "string"
  28053. },
  28054. "qtydecimalplace": {
  28055. "description": "成交量小数位",
  28056. "type": "integer"
  28057. },
  28058. "refereeuserid": {
  28059. "description": "推荐人ID",
  28060. "type": "integer"
  28061. },
  28062. "tradeamount": {
  28063. "description": "成交金额[账户币种,用于所有权]",
  28064. "type": "number"
  28065. },
  28066. "tradedate": {
  28067. "description": "交易日(yyyyMMdd)",
  28068. "type": "string"
  28069. },
  28070. "trademode": {
  28071. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28072. "type": "integer"
  28073. },
  28074. "tradeprice": {
  28075. "description": "成交价格",
  28076. "type": "number"
  28077. },
  28078. "tradeqty": {
  28079. "description": "成交数量",
  28080. "type": "number"
  28081. },
  28082. "tradetime": {
  28083. "description": "成交时间",
  28084. "type": "string"
  28085. },
  28086. "userid": {
  28087. "description": "用户ID",
  28088. "type": "integer"
  28089. }
  28090. }
  28091. },
  28092. "models.QhjTradeGoodsPickup": {
  28093. "type": "object",
  28094. "properties": {
  28095. "accountid": {
  28096. "description": "账户ID",
  28097. "type": "integer"
  28098. },
  28099. "address": {
  28100. "description": "提货人详细地址",
  28101. "type": "string"
  28102. },
  28103. "amount": {
  28104. "description": "提货金额",
  28105. "type": "number"
  28106. },
  28107. "artradedate": {
  28108. "description": "自动收货交易日(yyyyMMdd)",
  28109. "type": "string"
  28110. },
  28111. "auditer": {
  28112. "description": "审核人",
  28113. "type": "integer"
  28114. },
  28115. "auditsrc": {
  28116. "description": "更新来源 - 1:管理端 2:终端",
  28117. "type": "integer"
  28118. },
  28119. "audittime": {
  28120. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  28121. "type": "string"
  28122. },
  28123. "audittradedate": {
  28124. "description": "审核交易日(yyyyMMdd)",
  28125. "type": "string"
  28126. },
  28127. "cardnum": {
  28128. "description": "提货人证件号码",
  28129. "type": "string"
  28130. },
  28131. "cardtypeid": {
  28132. "description": "提货人证件类型",
  28133. "type": "integer"
  28134. },
  28135. "checkremark": {
  28136. "description": "审核备注",
  28137. "type": "string"
  28138. },
  28139. "cityid": {
  28140. "description": "市",
  28141. "type": "integer"
  28142. },
  28143. "cityname": {
  28144. "description": "城市名称",
  28145. "type": "string"
  28146. },
  28147. "confirmtime": {
  28148. "description": "取货时间 或 收货时间",
  28149. "type": "string"
  28150. },
  28151. "countryid": {
  28152. "description": "国家",
  28153. "type": "integer"
  28154. },
  28155. "countryname": {
  28156. "description": "国家名称",
  28157. "type": "string"
  28158. },
  28159. "decimalplace": {
  28160. "description": "商品报价小数位",
  28161. "type": "integer"
  28162. },
  28163. "districtid": {
  28164. "description": "地区",
  28165. "type": "integer"
  28166. },
  28167. "districtname": {
  28168. "description": "地区名称",
  28169. "type": "string"
  28170. },
  28171. "enumdicname": {
  28172. "description": "单位名称(提货商品)",
  28173. "type": "string"
  28174. },
  28175. "expresscompany": {
  28176. "description": "物流公司",
  28177. "type": "string"
  28178. },
  28179. "expressnum": {
  28180. "description": "物流单号",
  28181. "type": "string"
  28182. },
  28183. "goodsagreeunit": {
  28184. "description": "交易商品乘数",
  28185. "type": "number"
  28186. },
  28187. "goodscode": {
  28188. "description": "商品代码",
  28189. "type": "string"
  28190. },
  28191. "goodsid": {
  28192. "description": "商品ID",
  28193. "type": "integer"
  28194. },
  28195. "goodsname": {
  28196. "description": "商品名称",
  28197. "type": "string"
  28198. },
  28199. "goodsqty": {
  28200. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  28201. "type": "number"
  28202. },
  28203. "handlestatus": {
  28204. "description": "处理状态",
  28205. "type": "integer"
  28206. },
  28207. "logincode": {
  28208. "description": "账号(登录代码, 有可能为空)",
  28209. "type": "string"
  28210. },
  28211. "marketid": {
  28212. "description": "市场ID",
  28213. "type": "integer"
  28214. },
  28215. "phonenum": {
  28216. "description": "提货人联系方式",
  28217. "type": "string"
  28218. },
  28219. "pickupgoodsagreeunit": {
  28220. "description": "提货商品合约乘数",
  28221. "type": "number"
  28222. },
  28223. "pickupgoodsid": {
  28224. "description": "提货商品ID",
  28225. "type": "string"
  28226. },
  28227. "pickupgoodsname": {
  28228. "description": "提货商品名称",
  28229. "type": "string"
  28230. },
  28231. "pickupgoodsqty": {
  28232. "description": "提货商品手数(数量)",
  28233. "type": "number"
  28234. },
  28235. "pickupgoodsunitid": {
  28236. "description": "单位ID(提货商品)",
  28237. "type": "integer"
  28238. },
  28239. "pickupratio": {
  28240. "description": "提货系数",
  28241. "type": "number"
  28242. },
  28243. "preparedays": {
  28244. "description": "备货期(天)-提货单明细表",
  28245. "type": "integer"
  28246. },
  28247. "provinceid": {
  28248. "description": "省",
  28249. "type": "integer"
  28250. },
  28251. "provincename": {
  28252. "description": "省名称",
  28253. "type": "string"
  28254. },
  28255. "qty": {
  28256. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  28257. "type": "number"
  28258. },
  28259. "qtydecimalplace": {
  28260. "description": "商品数量小数位",
  28261. "type": "integer"
  28262. },
  28263. "recivername": {
  28264. "description": "提货人姓名",
  28265. "type": "string"
  28266. },
  28267. "reqtime": {
  28268. "description": "提货申请时间",
  28269. "type": "string"
  28270. },
  28271. "storeuserid": {
  28272. "description": "门店用户ID (千海金)",
  28273. "type": "integer"
  28274. },
  28275. "storeusername": {
  28276. "description": "门店用户名称",
  28277. "type": "string"
  28278. },
  28279. "takemode": {
  28280. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  28281. "type": "integer"
  28282. },
  28283. "takeorderid": {
  28284. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  28285. "type": "string"
  28286. },
  28287. "takeorderstatus": {
  28288. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  28289. "type": "integer"
  28290. },
  28291. "takeremark": {
  28292. "description": "提货备注",
  28293. "type": "string"
  28294. },
  28295. "tradedate": {
  28296. "description": "交易日(yyyyMMdd)",
  28297. "type": "string"
  28298. },
  28299. "updatetime": {
  28300. "description": "更新时间",
  28301. "type": "string"
  28302. },
  28303. "userid": {
  28304. "description": "用户ID",
  28305. "type": "integer"
  28306. },
  28307. "userinfotype": {
  28308. "description": "客户类型 1-个人 2-企业",
  28309. "type": "integer"
  28310. },
  28311. "username": {
  28312. "description": "用户名称",
  28313. "type": "string"
  28314. }
  28315. }
  28316. },
  28317. "models.QhjUserNodeCfgAndStatus": {
  28318. "type": "object",
  28319. "properties": {
  28320. "agreementcontent": {
  28321. "description": "协议内容",
  28322. "type": "string"
  28323. },
  28324. "agreementid": {
  28325. "description": "协议ID",
  28326. "type": "integer"
  28327. },
  28328. "agreementname": {
  28329. "description": "协议名称",
  28330. "type": "string"
  28331. },
  28332. "agreementno": {
  28333. "description": "协议编号",
  28334. "type": "string"
  28335. },
  28336. "agreementtype": {
  28337. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28338. "type": "integer"
  28339. },
  28340. "agreementversion": {
  28341. "description": "协议版本号",
  28342. "type": "integer"
  28343. },
  28344. "configid": {
  28345. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  28346. "type": "integer"
  28347. },
  28348. "createtime": {
  28349. "description": "创建时间",
  28350. "type": "string"
  28351. },
  28352. "goodsid": {
  28353. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28354. "type": "integer"
  28355. },
  28356. "nodetype": {
  28357. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28358. "type": "integer"
  28359. },
  28360. "signtimestamp": {
  28361. "description": "签约状态时间戳(最近一次)",
  28362. "type": "string"
  28363. },
  28364. "tradedate": {
  28365. "description": "签约交易日(yyyyMMdd)",
  28366. "type": "string"
  28367. },
  28368. "userid": {
  28369. "description": "客户ID",
  28370. "type": "integer"
  28371. }
  28372. }
  28373. },
  28374. "models.Qhjgoodsex": {
  28375. "type": "object",
  28376. "properties": {
  28377. "canfinance": {
  28378. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  28379. "type": "integer"
  28380. },
  28381. "canregularlybuy": {
  28382. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  28383. "type": "integer"
  28384. },
  28385. "defaulttradeuserid": {
  28386. "description": "默认交易用户ID",
  28387. "type": "integer"
  28388. },
  28389. "deliverygoodsid": {
  28390. "description": "现货品种ID",
  28391. "type": "integer"
  28392. },
  28393. "goodsid": {
  28394. "description": "商品ID(自增ID SEQ_GOODS)",
  28395. "type": "integer"
  28396. },
  28397. "minamount": {
  28398. "description": "最小购买金额",
  28399. "type": "number"
  28400. },
  28401. "regularlybuyminamount": {
  28402. "description": "定投最小金额",
  28403. "type": "number"
  28404. },
  28405. "regularlybuyminqty": {
  28406. "description": "定投最小数量",
  28407. "type": "number"
  28408. },
  28409. "spotgoodsbrandid": {
  28410. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  28411. "type": "integer"
  28412. },
  28413. "visibilityforenterprise": {
  28414. "description": "企业客户是否可见 - 0:不可见 1:可见",
  28415. "type": "integer"
  28416. },
  28417. "visibilityforpersonal": {
  28418. "description": "个人客户是否可见 - 0:不可见 1:可见",
  28419. "type": "integer"
  28420. },
  28421. "wrstandardid": {
  28422. "description": "现货商品ID",
  28423. "type": "integer"
  28424. }
  28425. }
  28426. },
  28427. "models.QueryErrorInfosRsp": {
  28428. "type": "object",
  28429. "required": [
  28430. "errorid"
  28431. ],
  28432. "properties": {
  28433. "description": {
  28434. "description": "异常描述",
  28435. "type": "string"
  28436. },
  28437. "errorcode": {
  28438. "description": "异常代码",
  28439. "type": "string"
  28440. },
  28441. "errorid": {
  28442. "description": "异常ID",
  28443. "type": "integer"
  28444. },
  28445. "modulecode": {
  28446. "description": "所属模块",
  28447. "type": "string"
  28448. },
  28449. "operatecode": {
  28450. "description": "所属操作",
  28451. "type": "string"
  28452. },
  28453. "rownumber": {
  28454. "description": "行号",
  28455. "type": "string"
  28456. }
  28457. }
  28458. },
  28459. "models.QueryHedgeOrderDetailRsp": {
  28460. "type": "object",
  28461. "properties": {
  28462. "accountid": {
  28463. "description": "账户ID",
  28464. "type": "integer"
  28465. },
  28466. "buyorsell": {
  28467. "description": "买卖 - 0:买 1:卖",
  28468. "type": "integer"
  28469. },
  28470. "cancellogincode": {
  28471. "description": "撤单人",
  28472. "type": "string"
  28473. },
  28474. "channelbuildtype": {
  28475. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  28476. "type": "integer"
  28477. },
  28478. "channelinnerorderstatus": {
  28479. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  28480. "type": "integer"
  28481. },
  28482. "channeloperatetype": {
  28483. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  28484. "type": "integer"
  28485. },
  28486. "closetype": {
  28487. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28488. "type": "integer"
  28489. },
  28490. "curexchangerate": {
  28491. "description": "当前汇率",
  28492. "type": "number"
  28493. },
  28494. "exchangefullname": {
  28495. "description": "外部交易所全称",
  28496. "type": "string"
  28497. },
  28498. "goodscode": {
  28499. "description": "商品代码(内部)",
  28500. "type": "string"
  28501. },
  28502. "goodsid": {
  28503. "description": "商品ID",
  28504. "type": "integer"
  28505. },
  28506. "goodsname": {
  28507. "description": "商品名称",
  28508. "type": "string"
  28509. },
  28510. "marketid": {
  28511. "description": "市场ID",
  28512. "type": "integer"
  28513. },
  28514. "openfreezemargin": {
  28515. "description": "冻结保证金(冻结交易金额)",
  28516. "type": "number"
  28517. },
  28518. "orderid": {
  28519. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28520. "type": "string"
  28521. },
  28522. "orderlogincode": {
  28523. "description": "委托人",
  28524. "type": "string"
  28525. },
  28526. "orderprice": {
  28527. "description": "委托价格(账户)",
  28528. "type": "number"
  28529. },
  28530. "orderqty": {
  28531. "description": "委托数量",
  28532. "type": "integer"
  28533. },
  28534. "ordertime": {
  28535. "description": "委托时间",
  28536. "type": "string"
  28537. },
  28538. "pricemode": {
  28539. "description": "取价方式 - 1:市价 2: 限价",
  28540. "type": "integer"
  28541. },
  28542. "tradedate": {
  28543. "description": "交易日(yyyyMMdd)",
  28544. "type": "string"
  28545. },
  28546. "tradeqty": {
  28547. "description": "成交数量",
  28548. "type": "integer"
  28549. }
  28550. }
  28551. },
  28552. "models.QueryHedgeTradeDetailRsp": {
  28553. "type": "object",
  28554. "properties": {
  28555. "accountid": {
  28556. "description": "账号ID",
  28557. "type": "integer"
  28558. },
  28559. "buyorsell": {
  28560. "description": "方向 - 0:买 1:卖",
  28561. "type": "integer"
  28562. },
  28563. "channelbuildtype": {
  28564. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  28565. "type": "integer"
  28566. },
  28567. "closecharge": {
  28568. "description": "平仓手续费(账户)",
  28569. "type": "number"
  28570. },
  28571. "closecharge2": {
  28572. "description": "平仓手续费(商品)",
  28573. "type": "number"
  28574. },
  28575. "closepl": {
  28576. "description": "平仓盈亏(账户)",
  28577. "type": "number"
  28578. },
  28579. "closepl2": {
  28580. "description": "平仓盈亏(商品)",
  28581. "type": "number"
  28582. },
  28583. "closepl3": {
  28584. "description": "平仓盈亏(账户)(逐笔)",
  28585. "type": "number"
  28586. },
  28587. "closepl4": {
  28588. "description": "平仓盈亏(商品)(逐笔)",
  28589. "type": "number"
  28590. },
  28591. "closetype": {
  28592. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28593. "type": "integer"
  28594. },
  28595. "curexchangerate": {
  28596. "description": "当前汇率",
  28597. "type": "number"
  28598. },
  28599. "exchangefullname": {
  28600. "description": "外部交易所全称",
  28601. "type": "string"
  28602. },
  28603. "goodscode": {
  28604. "description": "商品代码(内部)",
  28605. "type": "string"
  28606. },
  28607. "goodsid": {
  28608. "description": "商品ID",
  28609. "type": "integer"
  28610. },
  28611. "goodsname": {
  28612. "description": "商品名称",
  28613. "type": "string"
  28614. },
  28615. "marketid": {
  28616. "description": "市场ID",
  28617. "type": "integer"
  28618. },
  28619. "opencharge": {
  28620. "description": "建仓手续费(账户)",
  28621. "type": "number"
  28622. },
  28623. "opencharge2": {
  28624. "description": "建仓手续费(商品)",
  28625. "type": "number"
  28626. },
  28627. "orderid": {
  28628. "description": "委托单号",
  28629. "type": "string"
  28630. },
  28631. "orderlogincode": {
  28632. "description": "委托人",
  28633. "type": "string"
  28634. },
  28635. "tradeamount": {
  28636. "description": "成交金额(账户)",
  28637. "type": "number"
  28638. },
  28639. "tradedate": {
  28640. "description": "交易日(yyyyMMdd)",
  28641. "type": "string"
  28642. },
  28643. "tradeid": {
  28644. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28645. "type": "string"
  28646. },
  28647. "tradeprice": {
  28648. "description": "成交价格",
  28649. "type": "number"
  28650. },
  28651. "tradeqty": {
  28652. "description": "成交数量",
  28653. "type": "integer"
  28654. },
  28655. "tradetime": {
  28656. "description": "成交时间",
  28657. "type": "string"
  28658. },
  28659. "tradetype": {
  28660. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  28661. "type": "integer"
  28662. }
  28663. }
  28664. },
  28665. "models.QuotePrimaryMenu": {
  28666. "type": "object",
  28667. "properties": {
  28668. "Index": {
  28669. "description": "序号",
  28670. "type": "integer"
  28671. },
  28672. "Key": {
  28673. "description": "键名",
  28674. "type": "string"
  28675. },
  28676. "Name": {
  28677. "description": "菜单名称",
  28678. "type": "string"
  28679. },
  28680. "SubMenus": {
  28681. "description": "子菜单",
  28682. "type": "array",
  28683. "items": {
  28684. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  28685. }
  28686. },
  28687. "SubTitleType": {
  28688. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  28689. "type": "integer"
  28690. },
  28691. "TradeModes": {
  28692. "description": "包含市场交易类型",
  28693. "type": "string"
  28694. }
  28695. }
  28696. },
  28697. "models.QuoteSecondaryMenu": {
  28698. "type": "object",
  28699. "properties": {
  28700. "ExExchangeCode": {
  28701. "description": "外部交易所代码",
  28702. "type": "string"
  28703. },
  28704. "ExExchangeID": {
  28705. "description": "外部交易所ID",
  28706. "type": "integer"
  28707. },
  28708. "GoodsGroupIDs": {
  28709. "description": "商品组ID列表",
  28710. "type": "array",
  28711. "items": {
  28712. "type": "integer"
  28713. }
  28714. },
  28715. "Index": {
  28716. "description": "序号",
  28717. "type": "integer"
  28718. },
  28719. "MarketID": {
  28720. "description": "市场ID",
  28721. "type": "integer"
  28722. },
  28723. "MenuTitle": {
  28724. "description": "菜单标题(市场名称或外部交易所名称)",
  28725. "type": "string"
  28726. },
  28727. "TradeMode": {
  28728. "description": "交易模式",
  28729. "type": "integer"
  28730. }
  28731. }
  28732. },
  28733. "models.RoleMenu": {
  28734. "type": "object",
  28735. "properties": {
  28736. "hasright": {
  28737. "description": "是否有权限 0-没有权限 1-有权限",
  28738. "type": "integer"
  28739. },
  28740. "iconame": {
  28741. "description": "菜单图标",
  28742. "type": "string"
  28743. },
  28744. "menutype": {
  28745. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  28746. "type": "integer"
  28747. },
  28748. "parentcode": {
  28749. "description": "上级资源代码",
  28750. "type": "string"
  28751. },
  28752. "remark": {
  28753. "description": "菜单备注",
  28754. "type": "string"
  28755. },
  28756. "resourcecode": {
  28757. "description": "菜单代码",
  28758. "type": "string"
  28759. },
  28760. "resourcelevel": {
  28761. "description": "级别",
  28762. "type": "integer"
  28763. },
  28764. "resourcename": {
  28765. "description": "菜单名称",
  28766. "type": "string"
  28767. },
  28768. "roleid": {
  28769. "description": "角色id",
  28770. "type": "integer"
  28771. },
  28772. "sort": {
  28773. "description": "排序",
  28774. "type": "integer"
  28775. },
  28776. "subMenu": {
  28777. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  28778. "type": "array",
  28779. "items": {
  28780. "$ref": "#/definitions/models.RoleMenu"
  28781. }
  28782. },
  28783. "url": {
  28784. "description": "URL",
  28785. "type": "string"
  28786. },
  28787. "userid": {
  28788. "description": "用户id",
  28789. "type": "integer"
  28790. }
  28791. }
  28792. },
  28793. "models.SearchGoods": {
  28794. "type": "object",
  28795. "required": [
  28796. "goodscode",
  28797. "goodsid",
  28798. "goodsname",
  28799. "marketid",
  28800. "trademode"
  28801. ],
  28802. "properties": {
  28803. "goodscode": {
  28804. "description": "商品代码(内部)",
  28805. "type": "string"
  28806. },
  28807. "goodsid": {
  28808. "description": "商品ID(自增ID SEQ_GOODS)",
  28809. "type": "integer"
  28810. },
  28811. "goodsname": {
  28812. "description": "商品名称",
  28813. "type": "string"
  28814. },
  28815. "marketid": {
  28816. "description": "所属市场ID",
  28817. "type": "integer"
  28818. },
  28819. "marketname": {
  28820. "description": "市场名称",
  28821. "type": "string"
  28822. },
  28823. "trademode": {
  28824. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28825. "type": "integer"
  28826. }
  28827. }
  28828. },
  28829. "models.Systemparam": {
  28830. "type": "object",
  28831. "required": [
  28832. "paramcode"
  28833. ],
  28834. "properties": {
  28835. "loginid": {
  28836. "description": "更新用户账号,登录账号",
  28837. "type": "string"
  28838. },
  28839. "modifyflag": {
  28840. "description": "修改标志0 不允许修改 1 允许修改",
  28841. "type": "integer"
  28842. },
  28843. "paramcode": {
  28844. "description": "参数代码",
  28845. "type": "string"
  28846. },
  28847. "paramname": {
  28848. "description": "参数名",
  28849. "type": "string"
  28850. },
  28851. "paramtype": {
  28852. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  28853. "type": "integer"
  28854. },
  28855. "paramvalue": {
  28856. "description": "参数值",
  28857. "type": "string"
  28858. },
  28859. "paramvalue2": {
  28860. "description": "参数值(CLOB)",
  28861. "type": "string"
  28862. },
  28863. "regexpress": {
  28864. "description": "正则表达式",
  28865. "type": "string"
  28866. },
  28867. "remark": {
  28868. "description": "备注",
  28869. "type": "string"
  28870. },
  28871. "serverip": {
  28872. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  28873. "type": "string"
  28874. },
  28875. "showflag": {
  28876. "description": "是否显示0 不显示 1 显示",
  28877. "type": "integer"
  28878. },
  28879. "updatetime": {
  28880. "description": "更新时间",
  28881. "type": "string"
  28882. },
  28883. "userid": {
  28884. "description": "更新用户ID",
  28885. "type": "integer"
  28886. }
  28887. }
  28888. },
  28889. "models.Szdz3convertconfig": {
  28890. "type": "object",
  28891. "required": [
  28892. "converttype",
  28893. "innergoodsid",
  28894. "outergoodscode"
  28895. ],
  28896. "properties": {
  28897. "canin": {
  28898. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  28899. "type": "integer"
  28900. },
  28901. "canout": {
  28902. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  28903. "type": "integer"
  28904. },
  28905. "converttype": {
  28906. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  28907. "type": "integer"
  28908. },
  28909. "createtime": {
  28910. "description": "创建时间",
  28911. "type": "string"
  28912. },
  28913. "creatorid": {
  28914. "description": "创建人",
  28915. "type": "integer"
  28916. },
  28917. "daymaxvalue": {
  28918. "description": "当日最大转入限制",
  28919. "type": "number"
  28920. },
  28921. "freezedays": {
  28922. "description": "冻结天数 [5:花生米转交易]",
  28923. "type": "integer"
  28924. },
  28925. "innergoodsid": {
  28926. "description": "内部商品ID[交易]",
  28927. "type": "integer"
  28928. },
  28929. "inratio": {
  28930. "description": "目标值",
  28931. "type": "integer"
  28932. },
  28933. "modifierid": {
  28934. "description": "修改人",
  28935. "type": "integer"
  28936. },
  28937. "modifytime": {
  28938. "description": "修改时间",
  28939. "type": "string"
  28940. },
  28941. "outergoodscode": {
  28942. "description": "外部商品代码[JD\\PD]",
  28943. "type": "string"
  28944. },
  28945. "outratio": {
  28946. "description": "源值",
  28947. "type": "integer"
  28948. },
  28949. "pddecimalplace": {
  28950. "description": "PD小数位",
  28951. "type": "integer"
  28952. },
  28953. "timemaxvalue": {
  28954. "description": "单次最大转入限制",
  28955. "type": "number"
  28956. },
  28957. "timeminvalue": {
  28958. "description": "单次最小转入限制",
  28959. "type": "number"
  28960. }
  28961. }
  28962. },
  28963. "models.Szdz3searchwhitelist": {
  28964. "type": "object",
  28965. "required": [
  28966. "userid"
  28967. ],
  28968. "properties": {
  28969. "createtime": {
  28970. "description": "创建时间",
  28971. "type": "string"
  28972. },
  28973. "creatorid": {
  28974. "description": "创建人",
  28975. "type": "integer"
  28976. },
  28977. "modifierid": {
  28978. "description": "修改人",
  28979. "type": "integer"
  28980. },
  28981. "modifytime": {
  28982. "description": "修改时间",
  28983. "type": "string"
  28984. },
  28985. "userid": {
  28986. "description": "用户ID",
  28987. "type": "integer"
  28988. }
  28989. }
  28990. },
  28991. "models.Taaccount": {
  28992. "type": "object",
  28993. "required": [
  28994. "accountid",
  28995. "userid"
  28996. ],
  28997. "properties": {
  28998. "accountflag": {
  28999. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  29000. "type": "integer"
  29001. },
  29002. "accountid": {
  29003. "description": "资金账户ID",
  29004. "type": "integer"
  29005. },
  29006. "accountname": {
  29007. "description": "账户名称",
  29008. "type": "string"
  29009. },
  29010. "balance": {
  29011. "description": "期初余额",
  29012. "type": "number"
  29013. },
  29014. "capitalbalance": {
  29015. "description": "本金余额[外部子账户实际出入金余额]",
  29016. "type": "number"
  29017. },
  29018. "changeflag": {
  29019. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  29020. "type": "integer"
  29021. },
  29022. "changetime": {
  29023. "description": "账户状态变更时间",
  29024. "type": "string"
  29025. },
  29026. "closepl": {
  29027. "description": "今日平仓盈亏",
  29028. "type": "number"
  29029. },
  29030. "creditdecrease": {
  29031. "description": "今日授信减少",
  29032. "type": "number"
  29033. },
  29034. "creditincrease": {
  29035. "description": "今日授信增加",
  29036. "type": "number"
  29037. },
  29038. "curamount": {
  29039. "description": "总市值(从持仓中统计)",
  29040. "type": "number"
  29041. },
  29042. "currencyid": {
  29043. "description": "货币ID",
  29044. "type": "integer"
  29045. },
  29046. "currentbalance": {
  29047. "description": "期末余额",
  29048. "type": "number"
  29049. },
  29050. "freezecharge": {
  29051. "description": "手续费冻结",
  29052. "type": "number"
  29053. },
  29054. "freezemargin": {
  29055. "description": "冻结保证金",
  29056. "type": "number"
  29057. },
  29058. "fromaccountid": {
  29059. "description": "所属上级账户",
  29060. "type": "integer"
  29061. },
  29062. "inamount": {
  29063. "description": "今日入金金额(包括三方入金)",
  29064. "type": "number"
  29065. },
  29066. "ismain": {
  29067. "description": "是否母账号 0:不是母账户 1:是母账户",
  29068. "type": "integer"
  29069. },
  29070. "ismarketaccount": {
  29071. "description": "是否机构接单账号 0:不是 1:是",
  29072. "type": "integer"
  29073. },
  29074. "isreckonaccount": {
  29075. "description": "是否机构分润账号 0:不是 1:是",
  29076. "type": "integer"
  29077. },
  29078. "mortgagecredit": {
  29079. "description": "授信金额",
  29080. "type": "number"
  29081. },
  29082. "orifreezecharge": {
  29083. "description": "期初手续费冻结",
  29084. "type": "number"
  29085. },
  29086. "orifreezemargin": {
  29087. "description": "期初冻结保证金",
  29088. "type": "number"
  29089. },
  29090. "orimortgagecredit": {
  29091. "description": "期初授信金额",
  29092. "type": "number"
  29093. },
  29094. "oriothercredit": {
  29095. "description": "期初其它授信金额",
  29096. "type": "number"
  29097. },
  29098. "oriotherfreezemargin": {
  29099. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  29100. "type": "number"
  29101. },
  29102. "orioutamountfreeze": {
  29103. "description": "期初出金冻结",
  29104. "type": "number"
  29105. },
  29106. "oriusedmargin": {
  29107. "description": "期初占用保证金",
  29108. "type": "number"
  29109. },
  29110. "othercredit": {
  29111. "description": "其它授信金额",
  29112. "type": "number"
  29113. },
  29114. "othercreditdecrease": {
  29115. "description": "今日其它授信减少",
  29116. "type": "number"
  29117. },
  29118. "othercreditincrease": {
  29119. "description": "今日其它授信增加",
  29120. "type": "number"
  29121. },
  29122. "otherfreezemargin": {
  29123. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  29124. "type": "number"
  29125. },
  29126. "otherincome": {
  29127. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  29128. "type": "number"
  29129. },
  29130. "otherpay": {
  29131. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  29132. "type": "number"
  29133. },
  29134. "outamount": {
  29135. "description": "今日出金金额(包括三方出金)",
  29136. "type": "number"
  29137. },
  29138. "outamountfreeze": {
  29139. "description": "出金冻结",
  29140. "type": "number"
  29141. },
  29142. "outthreshold": {
  29143. "description": "出金阈值",
  29144. "type": "number"
  29145. },
  29146. "parentaccountid": {
  29147. "description": "所属根账号",
  29148. "type": "integer"
  29149. },
  29150. "paycharge": {
  29151. "description": "今日手续费支出",
  29152. "type": "number"
  29153. },
  29154. "relatedaccountstatus": {
  29155. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  29156. "type": "integer"
  29157. },
  29158. "relateduserid": {
  29159. "description": "关联用户",
  29160. "type": "integer"
  29161. },
  29162. "remainamount": {
  29163. "description": "融资额(从融资合同中统计)",
  29164. "type": "number"
  29165. },
  29166. "serivcegroup": {
  29167. "description": "服务分组",
  29168. "type": "integer"
  29169. },
  29170. "signstatus": {
  29171. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  29172. "type": "integer"
  29173. },
  29174. "sublevelpath": {
  29175. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  29176. "type": "string"
  29177. },
  29178. "taaccounttype": {
  29179. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  29180. "type": "integer"
  29181. },
  29182. "thirdinamount": {
  29183. "description": "今日三方入金",
  29184. "type": "number"
  29185. },
  29186. "thirdoutamount": {
  29187. "description": "今日三方出金",
  29188. "type": "number"
  29189. },
  29190. "tradestatus": {
  29191. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29192. "type": "integer"
  29193. },
  29194. "tradestatuschangetime": {
  29195. "description": "激活时间",
  29196. "type": "string"
  29197. },
  29198. "transferamount": {
  29199. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  29200. "type": "number"
  29201. },
  29202. "usedmargin": {
  29203. "description": "占用保证金",
  29204. "type": "number"
  29205. },
  29206. "userid": {
  29207. "description": "用户ID",
  29208. "type": "integer"
  29209. }
  29210. }
  29211. },
  29212. "models.Tablecolumnconfig": {
  29213. "type": "object",
  29214. "required": [
  29215. "autoid"
  29216. ],
  29217. "properties": {
  29218. "aligntype": {
  29219. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  29220. "type": "integer"
  29221. },
  29222. "autoid": {
  29223. "description": "AutoID",
  29224. "type": "integer"
  29225. },
  29226. "columnfield": {
  29227. "description": "列字段",
  29228. "type": "string"
  29229. },
  29230. "columntitle": {
  29231. "description": "列Title",
  29232. "type": "string"
  29233. },
  29234. "columnwidth": {
  29235. "description": "列宽",
  29236. "type": "string"
  29237. },
  29238. "formatterstring": {
  29239. "description": "格式化字符",
  29240. "type": "string"
  29241. },
  29242. "formattertype": {
  29243. "description": "格式化类型",
  29244. "type": "string"
  29245. },
  29246. "groupname": {
  29247. "description": "表头分组名称",
  29248. "type": "string"
  29249. },
  29250. "isshow": {
  29251. "description": "是否显示 - 0:不显示 1:显示",
  29252. "type": "integer"
  29253. },
  29254. "needsummary": {
  29255. "description": "是否需要汇总 - 0:不需要 1:需要",
  29256. "type": "integer"
  29257. },
  29258. "orderindex": {
  29259. "description": "顺序",
  29260. "type": "integer"
  29261. },
  29262. "remark": {
  29263. "description": "备注",
  29264. "type": "string"
  29265. },
  29266. "summarytype": {
  29267. "description": "汇总类型 - 1:加总 2:最后一个",
  29268. "type": "integer"
  29269. },
  29270. "tablekey": {
  29271. "description": "列表Key",
  29272. "type": "string"
  29273. }
  29274. }
  29275. },
  29276. "models.UserCollectConfig": {
  29277. "type": "object",
  29278. "properties": {
  29279. "accountstatus": {
  29280. "description": "账户状态 - 1:正常 2:停用 3:注销",
  29281. "type": "integer"
  29282. },
  29283. "collectaccountname": {
  29284. "description": "收款人账户名称",
  29285. "type": "string"
  29286. },
  29287. "collectaccountno": {
  29288. "description": "收款人账户",
  29289. "type": "string"
  29290. },
  29291. "collectbankname": {
  29292. "description": "收款人开户行",
  29293. "type": "string"
  29294. },
  29295. "collectbranchbankname": {
  29296. "description": "收款人开户支行",
  29297. "type": "string"
  29298. },
  29299. "collectconfigid": {
  29300. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  29301. "type": "string"
  29302. },
  29303. "remark": {
  29304. "description": "备注",
  29305. "type": "string"
  29306. },
  29307. "userid": {
  29308. "description": "收款人用户ID",
  29309. "type": "integer"
  29310. }
  29311. }
  29312. },
  29313. "models.UserReceiveInfo": {
  29314. "type": "object",
  29315. "properties": {
  29316. "address": {
  29317. "description": "提货人详细地址",
  29318. "type": "string"
  29319. },
  29320. "autoid": {
  29321. "description": "AutoID",
  29322. "type": "integer"
  29323. },
  29324. "cardnum": {
  29325. "description": "证件号码(加密存储)",
  29326. "type": "string"
  29327. },
  29328. "cardtypeid": {
  29329. "description": "证件类型",
  29330. "type": "integer"
  29331. },
  29332. "cityid": {
  29333. "description": "市",
  29334. "type": "integer"
  29335. },
  29336. "cityname": {
  29337. "description": "城市名称",
  29338. "type": "string"
  29339. },
  29340. "countryid": {
  29341. "description": "国家",
  29342. "type": "integer"
  29343. },
  29344. "countryname": {
  29345. "description": "国家名称",
  29346. "type": "string"
  29347. },
  29348. "districtid": {
  29349. "description": "地区",
  29350. "type": "integer"
  29351. },
  29352. "districtname": {
  29353. "description": "地区名称",
  29354. "type": "string"
  29355. },
  29356. "hasencrypt": {
  29357. "description": "数据是否已加密 - 0:未加密 1:已加密",
  29358. "type": "integer"
  29359. },
  29360. "isdefault": {
  29361. "description": "是否默认地址 - 0:否 1:是",
  29362. "type": "integer"
  29363. },
  29364. "phonenum": {
  29365. "description": "提货人联系方式(加密存储)",
  29366. "type": "string"
  29367. },
  29368. "provinceid": {
  29369. "description": "省",
  29370. "type": "integer"
  29371. },
  29372. "provincename": {
  29373. "description": "省名称",
  29374. "type": "string"
  29375. },
  29376. "receivername": {
  29377. "description": "提货人姓名",
  29378. "type": "string"
  29379. },
  29380. "takeremark": {
  29381. "description": "提货备注",
  29382. "type": "string"
  29383. },
  29384. "userid": {
  29385. "description": "用户ID",
  29386. "type": "integer"
  29387. }
  29388. }
  29389. },
  29390. "models.Useraccount": {
  29391. "type": "object",
  29392. "required": [
  29393. "userid"
  29394. ],
  29395. "properties": {
  29396. "accountname": {
  29397. "description": "账户名称(机构名称)",
  29398. "type": "string"
  29399. },
  29400. "accountstatus": {
  29401. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29402. "type": "integer"
  29403. },
  29404. "applysrc": {
  29405. "description": "申请来源 - 1:管理端 2:终端",
  29406. "type": "integer"
  29407. },
  29408. "auditremark": {
  29409. "description": "审核备注",
  29410. "type": "string"
  29411. },
  29412. "auditsrc": {
  29413. "description": "审核来源 - 1:管理端 2:终端",
  29414. "type": "integer"
  29415. },
  29416. "audittime": {
  29417. "description": "审核时间",
  29418. "type": "string"
  29419. },
  29420. "audituserid": {
  29421. "description": "审核人",
  29422. "type": "integer"
  29423. },
  29424. "broker": {
  29425. "description": "所属经纪人ID",
  29426. "type": "integer"
  29427. },
  29428. "canceltime": {
  29429. "description": "销户时间",
  29430. "type": "string"
  29431. },
  29432. "canceluserid": {
  29433. "description": "销户人",
  29434. "type": "integer"
  29435. },
  29436. "canrecommend": {
  29437. "description": "是否可推荐 - 0:不可 1;可",
  29438. "type": "integer"
  29439. },
  29440. "createtime": {
  29441. "description": "创建时间",
  29442. "type": "string"
  29443. },
  29444. "creatorid": {
  29445. "description": "创建人",
  29446. "type": "integer"
  29447. },
  29448. "hasauth": {
  29449. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  29450. "type": "integer"
  29451. },
  29452. "isanonymous": {
  29453. "description": "是否匿名下单 - 0:否 1:是",
  29454. "type": "integer"
  29455. },
  29456. "maxinvestornum": {
  29457. "description": "最大用户数(经纪会员下投资者个数)",
  29458. "type": "integer"
  29459. },
  29460. "memberuserid": {
  29461. "description": "所属会员ID",
  29462. "type": "integer"
  29463. },
  29464. "modifierid": {
  29465. "description": "修改人",
  29466. "type": "integer"
  29467. },
  29468. "modifyremark": {
  29469. "description": "变更备注",
  29470. "type": "string"
  29471. },
  29472. "modifystatus": {
  29473. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  29474. "type": "integer"
  29475. },
  29476. "modifytime": {
  29477. "description": "修改时间",
  29478. "type": "string"
  29479. },
  29480. "parenttopuser": {
  29481. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29482. "type": "string"
  29483. },
  29484. "parentuserid": {
  29485. "description": "所属机构ID",
  29486. "type": "integer"
  29487. },
  29488. "reckonaccountid": {
  29489. "description": "默认结算资金账号ID(机构分润使用) 作废",
  29490. "type": "integer"
  29491. },
  29492. "refercount": {
  29493. "description": "推荐总人数",
  29494. "type": "integer"
  29495. },
  29496. "refereeuserid": {
  29497. "description": "推荐人ID",
  29498. "type": "integer"
  29499. },
  29500. "refernum": {
  29501. "description": "推荐码",
  29502. "type": "string"
  29503. },
  29504. "rootuserid": {
  29505. "description": "根用户ID",
  29506. "type": "integer"
  29507. },
  29508. "subaccountlevel": {
  29509. "description": "子账户层数",
  29510. "type": "integer"
  29511. },
  29512. "subarealevelpath": {
  29513. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29514. "type": "string"
  29515. },
  29516. "userid": {
  29517. "description": "用户ID",
  29518. "type": "integer"
  29519. },
  29520. "usertype": {
  29521. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29522. "type": "integer"
  29523. }
  29524. }
  29525. },
  29526. "models.Userfavoritegoods": {
  29527. "type": "object",
  29528. "required": [
  29529. "goodsid"
  29530. ],
  29531. "properties": {
  29532. "goodsid": {
  29533. "description": "商品ID",
  29534. "type": "integer"
  29535. }
  29536. }
  29537. },
  29538. "models.Userinfo": {
  29539. "type": "object",
  29540. "required": [
  29541. "userid"
  29542. ],
  29543. "properties": {
  29544. "address": {
  29545. "description": "地址",
  29546. "type": "string"
  29547. },
  29548. "attachment1": {
  29549. "description": "附件1",
  29550. "type": "string"
  29551. },
  29552. "attachment2": {
  29553. "description": "附件2",
  29554. "type": "string"
  29555. },
  29556. "bankaccount": {
  29557. "description": "银行帐号 (加密存储)",
  29558. "type": "string"
  29559. },
  29560. "bankaccountname": {
  29561. "description": "收款人名称",
  29562. "type": "string"
  29563. },
  29564. "bankcardfrontphotourl": {
  29565. "description": "银行卡正面照地址",
  29566. "type": "string"
  29567. },
  29568. "bankid": {
  29569. "description": "银行编码",
  29570. "type": "string"
  29571. },
  29572. "bankname": {
  29573. "description": "银行名称",
  29574. "type": "string"
  29575. },
  29576. "biznature": {
  29577. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  29578. "type": "integer"
  29579. },
  29580. "bizscope": {
  29581. "description": "企业经营范围(企业)",
  29582. "type": "string"
  29583. },
  29584. "cardbackphotourl": {
  29585. "description": "证件背面图片地址",
  29586. "type": "string"
  29587. },
  29588. "cardfrontphotourl": {
  29589. "description": "证件正面图片地址",
  29590. "type": "string"
  29591. },
  29592. "cardnum": {
  29593. "description": "证件号码(加密存储)",
  29594. "type": "string"
  29595. },
  29596. "cardtypeid": {
  29597. "description": "证件类型ID",
  29598. "type": "integer"
  29599. },
  29600. "cityid": {
  29601. "description": "市",
  29602. "type": "integer"
  29603. },
  29604. "company": {
  29605. "description": "公司(个人)",
  29606. "type": "string"
  29607. },
  29608. "contactname": {
  29609. "description": "联系人",
  29610. "type": "string"
  29611. },
  29612. "countryid": {
  29613. "description": "国家",
  29614. "type": "integer"
  29615. },
  29616. "createtime": {
  29617. "description": "创建时间",
  29618. "type": "string"
  29619. },
  29620. "creatorid": {
  29621. "description": "创建人",
  29622. "type": "integer"
  29623. },
  29624. "customername": {
  29625. "description": "客户名称(企业名称)",
  29626. "type": "string"
  29627. },
  29628. "districtid": {
  29629. "description": "地区",
  29630. "type": "integer"
  29631. },
  29632. "email": {
  29633. "description": "邮件(加密存储)",
  29634. "type": "string"
  29635. },
  29636. "fax": {
  29637. "description": "传真(加密存储)",
  29638. "type": "string"
  29639. },
  29640. "halfbodyphotourl": {
  29641. "description": "半身照地址",
  29642. "type": "string"
  29643. },
  29644. "hasencrypt": {
  29645. "description": "数据是否已加密 - 0:未加密 1:已加密",
  29646. "type": "integer"
  29647. },
  29648. "headurl": {
  29649. "description": "头像地址",
  29650. "type": "string"
  29651. },
  29652. "legalcardbackphotourl": {
  29653. "description": "法人身份证背面照地址",
  29654. "type": "string"
  29655. },
  29656. "legalcardfrontphotourl": {
  29657. "description": "法人身份证正面照地址",
  29658. "type": "string"
  29659. },
  29660. "legalpersonname": {
  29661. "description": "法人姓名(企业)",
  29662. "type": "string"
  29663. },
  29664. "mobile": {
  29665. "description": "手机号码(加密存储)",
  29666. "type": "string"
  29667. },
  29668. "mobile2": {
  29669. "description": "手机号码[明文-尚志]",
  29670. "type": "string"
  29671. },
  29672. "modifierid": {
  29673. "description": "修改人",
  29674. "type": "integer"
  29675. },
  29676. "modifiertime": {
  29677. "description": "修改时间",
  29678. "type": "string"
  29679. },
  29680. "needinvoice": {
  29681. "description": "是否需要发票 - 0:不需要 1:需要",
  29682. "type": "integer"
  29683. },
  29684. "nickname": {
  29685. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  29686. "type": "string"
  29687. },
  29688. "openmode": {
  29689. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  29690. "type": "integer"
  29691. },
  29692. "otherurl": {
  29693. "description": "其它图片地址[使用分号分隔]",
  29694. "type": "string"
  29695. },
  29696. "postalcode": {
  29697. "description": "邮政编码",
  29698. "type": "string"
  29699. },
  29700. "provinceid": {
  29701. "description": "省",
  29702. "type": "integer"
  29703. },
  29704. "qq": {
  29705. "description": "QQ(加密存储",
  29706. "type": "string"
  29707. },
  29708. "remark": {
  29709. "description": "备注",
  29710. "type": "string"
  29711. },
  29712. "sex": {
  29713. "description": "用户性别 0: 女 1: 男",
  29714. "type": "integer"
  29715. },
  29716. "signpdfurl": {
  29717. "description": "签约pdf文件",
  29718. "type": "string"
  29719. },
  29720. "telphone": {
  29721. "description": "联系电话(加密存储)",
  29722. "type": "string"
  29723. },
  29724. "userid": {
  29725. "description": "用户ID",
  29726. "type": "integer"
  29727. },
  29728. "userinfotype": {
  29729. "description": "用户信息类型 - 1:个人 2:企业",
  29730. "type": "integer"
  29731. },
  29732. "userstatus": {
  29733. "description": "用户状态 - 1:正常 2:注销",
  29734. "type": "integer"
  29735. },
  29736. "usertype": {
  29737. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  29738. "type": "integer"
  29739. },
  29740. "wechat": {
  29741. "description": "微信(加密存储)",
  29742. "type": "string"
  29743. },
  29744. "wskhinfo": {
  29745. "description": "开户申请信息(JSON)",
  29746. "type": "string"
  29747. }
  29748. }
  29749. },
  29750. "models.WRSConverTDetail": {
  29751. "type": "object",
  29752. "properties": {
  29753. "convertratio": {
  29754. "description": "套保系数",
  29755. "type": "number"
  29756. },
  29757. "deliverygoodscode": {
  29758. "description": "现货商品代码",
  29759. "type": "string"
  29760. },
  29761. "deliverygoodsid": {
  29762. "description": "现货品种ID",
  29763. "type": "integer"
  29764. },
  29765. "deliverygoodsname": {
  29766. "description": "现货商品名称",
  29767. "type": "string"
  29768. },
  29769. "enumdicname": {
  29770. "description": "单位名称",
  29771. "type": "string"
  29772. },
  29773. "goodsunitid": {
  29774. "description": "套保品种单位id",
  29775. "type": "integer"
  29776. },
  29777. "middlegoodscode": {
  29778. "description": "套保品种代码",
  29779. "type": "string"
  29780. },
  29781. "middlegoodsid": {
  29782. "description": "套保品种ID",
  29783. "type": "integer"
  29784. },
  29785. "middlegoodsname": {
  29786. "description": "套保品种名称",
  29787. "type": "string"
  29788. },
  29789. "modifytime": {
  29790. "description": "修改时间",
  29791. "type": "string"
  29792. },
  29793. "wrstandardid": {
  29794. "description": "品类ID",
  29795. "type": "integer"
  29796. }
  29797. }
  29798. },
  29799. "models.WRStandardInfo": {
  29800. "type": "object",
  29801. "required": [
  29802. "wrstandardid"
  29803. ],
  29804. "properties": {
  29805. "areauserid": {
  29806. "description": "所属机构",
  29807. "type": "integer"
  29808. },
  29809. "convertfactor": {
  29810. "description": "标仓系数",
  29811. "type": "number"
  29812. },
  29813. "createtime": {
  29814. "description": "创建时间",
  29815. "type": "string"
  29816. },
  29817. "creatorid": {
  29818. "description": "创建人",
  29819. "type": "integer"
  29820. },
  29821. "deliverygoodsid": {
  29822. "description": "品种ID",
  29823. "type": "integer"
  29824. },
  29825. "deliverygoodsname": {
  29826. "description": "交割商品名称",
  29827. "type": "string"
  29828. },
  29829. "factoryitemjson": {
  29830. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  29831. "type": "string"
  29832. },
  29833. "isvalid": {
  29834. "description": "是否有效 - 0:无效 1:有效",
  29835. "type": "integer"
  29836. },
  29837. "minivalue": {
  29838. "description": "最小变动值",
  29839. "type": "integer"
  29840. },
  29841. "minivaluedp": {
  29842. "description": "最小变动值小数位",
  29843. "type": "integer"
  29844. },
  29845. "realminivalue": {
  29846. "description": "实际最小变动值",
  29847. "type": "integer"
  29848. },
  29849. "realminivaluedp": {
  29850. "description": "实际最小变动值小数位",
  29851. "type": "integer"
  29852. },
  29853. "remark": {
  29854. "description": "备注",
  29855. "type": "string"
  29856. },
  29857. "unitid": {
  29858. "description": "单位ID",
  29859. "type": "integer"
  29860. },
  29861. "unitname": {
  29862. "description": "单位",
  29863. "type": "string"
  29864. },
  29865. "updatetime": {
  29866. "description": "更新时间",
  29867. "type": "string"
  29868. },
  29869. "updatorid": {
  29870. "description": "更新人",
  29871. "type": "integer"
  29872. },
  29873. "wrsstatus": {
  29874. "description": "状态 - 作废 - 0:未激活 1:正常",
  29875. "type": "integer"
  29876. },
  29877. "wrstandardcode": {
  29878. "description": "现货品类代码",
  29879. "type": "string"
  29880. },
  29881. "wrstandardid": {
  29882. "description": "现货品类ID(SEQ_WRSTANDARD)",
  29883. "type": "integer"
  29884. },
  29885. "wrstandardname": {
  29886. "description": "现货品类名称",
  29887. "type": "string"
  29888. }
  29889. }
  29890. },
  29891. "models.Warehouseinfo": {
  29892. "type": "object",
  29893. "required": [
  29894. "autoid",
  29895. "warehousecode"
  29896. ],
  29897. "properties": {
  29898. "address": {
  29899. "description": "详细地址",
  29900. "type": "string"
  29901. },
  29902. "areauserid": {
  29903. "description": "所属机构",
  29904. "type": "integer"
  29905. },
  29906. "autoid": {
  29907. "description": "自增ID",
  29908. "type": "integer"
  29909. },
  29910. "cityid": {
  29911. "description": "市",
  29912. "type": "integer"
  29913. },
  29914. "contactname": {
  29915. "description": "联系人",
  29916. "type": "string"
  29917. },
  29918. "contactnum": {
  29919. "description": "联系电话",
  29920. "type": "string"
  29921. },
  29922. "countryid": {
  29923. "description": "国家",
  29924. "type": "integer"
  29925. },
  29926. "createtime": {
  29927. "description": "创建时间",
  29928. "type": "string"
  29929. },
  29930. "districtid": {
  29931. "description": "区",
  29932. "type": "integer"
  29933. },
  29934. "hasvideo": {
  29935. "description": "是否有视频 - 0:无 1:有",
  29936. "type": "integer"
  29937. },
  29938. "provinceid": {
  29939. "description": "省",
  29940. "type": "integer"
  29941. },
  29942. "remark": {
  29943. "description": "审核备注",
  29944. "type": "string"
  29945. },
  29946. "videourl": {
  29947. "description": "视频地址",
  29948. "type": "string"
  29949. },
  29950. "warehousecode": {
  29951. "description": "仓库代码",
  29952. "type": "string"
  29953. },
  29954. "warehousename": {
  29955. "description": "仓库名称",
  29956. "type": "string"
  29957. },
  29958. "warehousestatus": {
  29959. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  29960. "type": "integer"
  29961. },
  29962. "warehousetype": {
  29963. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  29964. "type": "integer"
  29965. }
  29966. }
  29967. },
  29968. "models.WrBuybackDetail": {
  29969. "type": "object",
  29970. "properties": {
  29971. "buybackamount": {
  29972. "description": "回购金额",
  29973. "type": "number"
  29974. },
  29975. "buybackqty": {
  29976. "description": "回购数量",
  29977. "type": "number"
  29978. },
  29979. "buybackreleasemargin": {
  29980. "description": "回购释放保证金",
  29981. "type": "number"
  29982. },
  29983. "buybacktime": {
  29984. "description": "回购时间",
  29985. "type": "string"
  29986. },
  29987. "errordesc": {
  29988. "description": "错误描述",
  29989. "type": "string"
  29990. },
  29991. "handlestatus": {
  29992. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  29993. "type": "integer"
  29994. },
  29995. "relatedwrid": {
  29996. "description": "关联仓单ID",
  29997. "type": "integer"
  29998. },
  29999. "scfcontractid": {
  30000. "description": "SCF合同ID",
  30001. "type": "string"
  30002. },
  30003. "scfwrbuybackid": {
  30004. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  30005. "type": "integer"
  30006. },
  30007. "tradedate": {
  30008. "description": "交易日(yyyyMMdd)",
  30009. "type": "string"
  30010. }
  30011. }
  30012. },
  30013. "models.WrFAProductDetail": {
  30014. "type": "object",
  30015. "properties": {
  30016. "accountid": {
  30017. "description": "资金账号",
  30018. "type": "integer"
  30019. },
  30020. "areauserid": {
  30021. "description": "金融机构ID",
  30022. "type": "integer"
  30023. },
  30024. "financingdays": {
  30025. "description": "天数(天)",
  30026. "type": "integer"
  30027. },
  30028. "interestminlen": {
  30029. "description": "最小起息天数",
  30030. "type": "integer"
  30031. },
  30032. "interestrate": {
  30033. "description": "利率",
  30034. "type": "number"
  30035. },
  30036. "interestratemode": {
  30037. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  30038. "type": "integer"
  30039. },
  30040. "interestsettlemode": {
  30041. "description": "结息方式 - 1:按日结息 3:按月结息",
  30042. "type": "integer"
  30043. },
  30044. "interestsettlevalue": {
  30045. "description": "结息方式值",
  30046. "type": "integer"
  30047. },
  30048. "isautoloan": {
  30049. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  30050. "type": "integer"
  30051. },
  30052. "loantag": {
  30053. "description": "放款标识: \"放款快\" 或者为空",
  30054. "type": "string"
  30055. },
  30056. "marginratio": {
  30057. "description": "保证金比率质押率 - [仓单质押]",
  30058. "type": "number"
  30059. },
  30060. "productdetailid": {
  30061. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  30062. "type": "integer"
  30063. },
  30064. "productid": {
  30065. "description": "金融产品ID",
  30066. "type": "integer"
  30067. },
  30068. "productname": {
  30069. "description": "产品名称",
  30070. "type": "string"
  30071. },
  30072. "updatetime": {
  30073. "description": "更新时间",
  30074. "type": "string"
  30075. },
  30076. "username": {
  30077. "description": "融出方",
  30078. "type": "string"
  30079. }
  30080. }
  30081. },
  30082. "models.WrFactorTypeInfo": {
  30083. "type": "object",
  30084. "properties": {
  30085. "deliverygoodscode": {
  30086. "description": "品种代码",
  30087. "type": "string"
  30088. },
  30089. "deliverygoodsname": {
  30090. "description": "品种名称",
  30091. "type": "string"
  30092. },
  30093. "dgfactoryitemid": {
  30094. "description": "选择项id",
  30095. "type": "integer"
  30096. },
  30097. "dgfactoryitemtypeid": {
  30098. "description": "要素选择项ID (1-仓库 2-品牌)",
  30099. "type": "integer"
  30100. },
  30101. "dgfactoryitemvalue": {
  30102. "description": "要素项值",
  30103. "type": "string"
  30104. },
  30105. "itemtypename": {
  30106. "description": "要素项名称",
  30107. "type": "string"
  30108. },
  30109. "optioncompare": {
  30110. "description": "选择比较串",
  30111. "type": "string"
  30112. },
  30113. "warehouseid": {
  30114. "description": "仓库id",
  30115. "type": "integer"
  30116. },
  30117. "wrfactortypeid": {
  30118. "description": "仓单要素ID",
  30119. "type": "string"
  30120. },
  30121. "wrfactortypename": {
  30122. "description": "要素名称",
  30123. "type": "string"
  30124. },
  30125. "wrfactortypename2": {
  30126. "description": "要素名称(不含仓库)",
  30127. "type": "string"
  30128. },
  30129. "wrstandardcode": {
  30130. "description": "品类代码",
  30131. "type": "string"
  30132. },
  30133. "wrstandardid": {
  30134. "description": "品类id",
  30135. "type": "integer"
  30136. },
  30137. "wrstandardname": {
  30138. "description": "品类名称",
  30139. "type": "string"
  30140. }
  30141. }
  30142. },
  30143. "models.WrFilterItem": {
  30144. "type": "object",
  30145. "properties": {
  30146. "itemcode": {
  30147. "description": "代码",
  30148. "type": "string"
  30149. },
  30150. "itemid": {
  30151. "description": "项id",
  30152. "type": "integer"
  30153. },
  30154. "itemname": {
  30155. "description": "名称",
  30156. "type": "string"
  30157. },
  30158. "itemtype": {
  30159. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  30160. "type": "integer"
  30161. }
  30162. }
  30163. },
  30164. "models.WrFinanceBuyApply": {
  30165. "type": "object",
  30166. "properties": {
  30167. "applydate": {
  30168. "description": "申请时间",
  30169. "type": "string"
  30170. },
  30171. "applystatus": {
  30172. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  30173. "type": "integer"
  30174. },
  30175. "applyuserid": {
  30176. "description": "申请人",
  30177. "type": "integer"
  30178. },
  30179. "auditdate": {
  30180. "description": "审核时间",
  30181. "type": "string"
  30182. },
  30183. "auditremark": {
  30184. "description": "审核备注",
  30185. "type": "string"
  30186. },
  30187. "audituserid": {
  30188. "description": "审核人",
  30189. "type": "integer"
  30190. },
  30191. "buyaccountid": {
  30192. "description": "买方资金账号",
  30193. "type": "integer"
  30194. },
  30195. "buyorsell": {
  30196. "description": "买卖 - 0:买 1:卖",
  30197. "type": "integer"
  30198. },
  30199. "buyuserid": {
  30200. "description": "买方用户ID",
  30201. "type": "integer"
  30202. },
  30203. "buyusername": {
  30204. "description": "买方名称",
  30205. "type": "string"
  30206. },
  30207. "buywrtradeorderid": {
  30208. "description": "融资方买委托单ID",
  30209. "type": "string"
  30210. },
  30211. "deliverygoodscode": {
  30212. "description": "品种代码",
  30213. "type": "string"
  30214. },
  30215. "deliverygoodsid": {
  30216. "description": "品种ID",
  30217. "type": "integer"
  30218. },
  30219. "deliverygoodsname": {
  30220. "description": "品种名称",
  30221. "type": "string"
  30222. },
  30223. "deliverymonth": {
  30224. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  30225. "type": "string"
  30226. },
  30227. "enumdicname": {
  30228. "description": "单位名称",
  30229. "type": "string"
  30230. },
  30231. "financeaccountid": {
  30232. "description": "融资方资金帐户ID",
  30233. "type": "integer"
  30234. },
  30235. "financeapplyid": {
  30236. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30237. "type": "string"
  30238. },
  30239. "financeareauserid": {
  30240. "description": "融资方用户ID",
  30241. "type": "string"
  30242. },
  30243. "financename": {
  30244. "description": "融出方名称",
  30245. "type": "string"
  30246. },
  30247. "financetype": {
  30248. "description": "融资类型 1-融资回购",
  30249. "type": "integer"
  30250. },
  30251. "financingdays": {
  30252. "description": "天数(天)",
  30253. "type": "integer"
  30254. },
  30255. "freezebuymargin": {
  30256. "description": "冻结融资保证金(买方)",
  30257. "type": "number"
  30258. },
  30259. "handleremark": {
  30260. "description": "处理备注",
  30261. "type": "string"
  30262. },
  30263. "handlestatus": {
  30264. "description": "处理状态",
  30265. "type": "integer"
  30266. },
  30267. "interestminlen": {
  30268. "description": "最小起息天数",
  30269. "type": "integer"
  30270. },
  30271. "interestrate": {
  30272. "description": "利率",
  30273. "type": "number"
  30274. },
  30275. "interestratemode": {
  30276. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  30277. "type": "integer"
  30278. },
  30279. "interestsettlemode": {
  30280. "description": "结息方式 - 1:按日结息 3:按月结息",
  30281. "type": "integer"
  30282. },
  30283. "interestsettlevalue": {
  30284. "description": "结息方式值",
  30285. "type": "integer"
  30286. },
  30287. "isautoloan": {
  30288. "description": "是否自动放款 - 0:手动 1:自动",
  30289. "type": "integer"
  30290. },
  30291. "marginratio": {
  30292. "description": "保证金比率质押率 - [仓单质押]",
  30293. "type": "number"
  30294. },
  30295. "marketid": {
  30296. "description": "市场ID",
  30297. "type": "integer"
  30298. },
  30299. "minivalue": {
  30300. "description": "现货商品最小变动值",
  30301. "type": "integer"
  30302. },
  30303. "optioncompare": {
  30304. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30305. "type": "string"
  30306. },
  30307. "orderqty": {
  30308. "description": "委托数量(商品数量)",
  30309. "type": "number"
  30310. },
  30311. "productdetailid": {
  30312. "description": "产品组合ID",
  30313. "type": "integer"
  30314. },
  30315. "productid": {
  30316. "description": "金融产品ID",
  30317. "type": "integer"
  30318. },
  30319. "productname": {
  30320. "description": "产品名称",
  30321. "type": "string"
  30322. },
  30323. "remark": {
  30324. "description": "备注",
  30325. "type": "string"
  30326. },
  30327. "scfcontractid": {
  30328. "description": "仓单回购合同ID",
  30329. "type": "string"
  30330. },
  30331. "sellaccountid": {
  30332. "description": "卖方资金账号",
  30333. "type": "integer"
  30334. },
  30335. "selluserid": {
  30336. "description": "卖方用户ID",
  30337. "type": "integer"
  30338. },
  30339. "sellwrtradeorderid": {
  30340. "description": "卖方委托单ID",
  30341. "type": "string"
  30342. },
  30343. "tradeamount": {
  30344. "description": "成交金额(借款金额)",
  30345. "type": "number"
  30346. },
  30347. "tradedate": {
  30348. "description": "交易日(yyyyMMdd)",
  30349. "type": "string"
  30350. },
  30351. "tradeprice": {
  30352. "description": "成交价格",
  30353. "type": "number"
  30354. },
  30355. "warehouseid": {
  30356. "description": "仓库ID",
  30357. "type": "integer"
  30358. },
  30359. "warehousename": {
  30360. "description": "仓库名称",
  30361. "type": "string"
  30362. },
  30363. "wrfactortypeid": {
  30364. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30365. "type": "string"
  30366. },
  30367. "wrfactortypename": {
  30368. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30369. "type": "string"
  30370. },
  30371. "wrpricetype": {
  30372. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  30373. "type": "integer"
  30374. },
  30375. "wrstandardcode": {
  30376. "description": "现货商品代码",
  30377. "type": "string"
  30378. },
  30379. "wrstandardid": {
  30380. "description": "现货商品ID",
  30381. "type": "integer"
  30382. },
  30383. "wrstandardname": {
  30384. "description": "商品名称",
  30385. "type": "string"
  30386. },
  30387. "wrtypename": {
  30388. "description": "商品",
  30389. "type": "string"
  30390. }
  30391. }
  30392. },
  30393. "models.WrFtDeliveryGoods": {
  30394. "type": "object",
  30395. "properties": {
  30396. "deliverygoodscode": {
  30397. "description": "品种代码",
  30398. "type": "string"
  30399. },
  30400. "deliverygoodsid": {
  30401. "description": "品种ID",
  30402. "type": "integer"
  30403. },
  30404. "deliverygoodsname": {
  30405. "description": "品种名称",
  30406. "type": "string"
  30407. },
  30408. "wdlst": {
  30409. "description": "商品列表",
  30410. "type": "array",
  30411. "items": {
  30412. "$ref": "#/definitions/models.WrFtWrstandard"
  30413. }
  30414. }
  30415. }
  30416. },
  30417. "models.WrFtWrstandard": {
  30418. "type": "object",
  30419. "properties": {
  30420. "enumdicname": {
  30421. "description": "单位名称",
  30422. "type": "string"
  30423. },
  30424. "minivalue": {
  30425. "description": "最小变动值",
  30426. "type": "integer"
  30427. },
  30428. "wrstandardcode": {
  30429. "description": "现货商品代码",
  30430. "type": "string"
  30431. },
  30432. "wrstandardid": {
  30433. "description": "现货商品ID",
  30434. "type": "integer"
  30435. },
  30436. "wrstandardname": {
  30437. "description": "商品名称",
  30438. "type": "string"
  30439. }
  30440. }
  30441. },
  30442. "models.WrGoodsInfo": {
  30443. "type": "object",
  30444. "properties": {
  30445. "haswr": {
  30446. "description": "0:仓单预售 1:仓单贸易",
  30447. "type": "integer"
  30448. },
  30449. "lstitem": {
  30450. "description": "商品信息项",
  30451. "type": "array",
  30452. "items": {
  30453. "$ref": "#/definitions/models.WrTypeItem"
  30454. }
  30455. },
  30456. "lststep": {
  30457. "description": "履约规则",
  30458. "type": "array",
  30459. "items": {
  30460. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  30461. }
  30462. },
  30463. "marketid": {
  30464. "description": "市场id",
  30465. "type": "integer"
  30466. }
  30467. }
  30468. },
  30469. "models.WrGoodsPerformanceStep": {
  30470. "type": "object",
  30471. "properties": {
  30472. "autoid": {
  30473. "description": "AutoID",
  30474. "type": "integer"
  30475. },
  30476. "isauto": {
  30477. "description": "是否自动 - 0:不自动 1:自动",
  30478. "type": "integer"
  30479. },
  30480. "remark": {
  30481. "description": "备注",
  30482. "type": "string"
  30483. },
  30484. "stepdate": {
  30485. "description": "天数信息(T+N)",
  30486. "type": "string"
  30487. },
  30488. "stepdays": {
  30489. "description": "距离上一步天数",
  30490. "type": "integer"
  30491. },
  30492. "stepindex": {
  30493. "description": "步骤序号",
  30494. "type": "integer"
  30495. },
  30496. "stepinfo": {
  30497. "description": "步骤信息(步骤名称+步骤值)",
  30498. "type": "string"
  30499. },
  30500. "steptypeid": {
  30501. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  30502. "type": "integer"
  30503. },
  30504. "steptypename": {
  30505. "description": "步骤名称",
  30506. "type": "string"
  30507. },
  30508. "stepvalue": {
  30509. "description": "步骤值",
  30510. "type": "number"
  30511. },
  30512. "templateid": {
  30513. "description": "履约计划模板ID",
  30514. "type": "integer"
  30515. }
  30516. }
  30517. },
  30518. "models.WrHoldLB": {
  30519. "type": "object",
  30520. "properties": {
  30521. "accountid": {
  30522. "description": "持有人帐户ID",
  30523. "type": "integer"
  30524. },
  30525. "createtime": {
  30526. "description": "创建时间(过户时间)",
  30527. "type": "string"
  30528. },
  30529. "deliverygoodscode": {
  30530. "description": "品种代码",
  30531. "type": "string"
  30532. },
  30533. "deliverygoodsid": {
  30534. "description": "品种ID",
  30535. "type": "integer"
  30536. },
  30537. "deliverygoodsname": {
  30538. "description": "品种名称",
  30539. "type": "string"
  30540. },
  30541. "enableqty": {
  30542. "description": "可用数量",
  30543. "type": "number"
  30544. },
  30545. "enumdicname": {
  30546. "description": "单位名称",
  30547. "type": "string"
  30548. },
  30549. "freezerqty": {
  30550. "description": "冻结数量",
  30551. "type": "number"
  30552. },
  30553. "ladingbillid": {
  30554. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  30555. "type": "string"
  30556. },
  30557. "minivalue": {
  30558. "description": "现货商品最小变动值",
  30559. "type": "integer"
  30560. },
  30561. "optioncompare": {
  30562. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30563. "type": "string"
  30564. },
  30565. "parentsubnum": {
  30566. "description": "拆分父子单号",
  30567. "type": "integer"
  30568. },
  30569. "pledgeqty": {
  30570. "description": "质押数量",
  30571. "type": "number"
  30572. },
  30573. "qty": {
  30574. "description": "数量",
  30575. "type": "number"
  30576. },
  30577. "subnum": {
  30578. "description": "提单子单号",
  30579. "type": "integer"
  30580. },
  30581. "tradedate": {
  30582. "description": "交易日(yyyyMMdd)",
  30583. "type": "string"
  30584. },
  30585. "userid": {
  30586. "description": "持有人ID",
  30587. "type": "integer"
  30588. },
  30589. "warehouseid": {
  30590. "description": "仓库ID",
  30591. "type": "integer"
  30592. },
  30593. "warehousename": {
  30594. "description": "仓库名称",
  30595. "type": "string"
  30596. },
  30597. "wrfactortypeid": {
  30598. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30599. "type": "string"
  30600. },
  30601. "wrfactortypename": {
  30602. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30603. "type": "string"
  30604. },
  30605. "wrholdeno": {
  30606. "description": "仓单编号",
  30607. "type": "string"
  30608. },
  30609. "wrid": {
  30610. "description": "仓单变更ID",
  30611. "type": "string"
  30612. },
  30613. "wrstandardcode": {
  30614. "description": "现货商品代码",
  30615. "type": "string"
  30616. },
  30617. "wrstandardid": {
  30618. "description": "现货商品ID",
  30619. "type": "integer"
  30620. },
  30621. "wrstandardname": {
  30622. "description": "商品名称",
  30623. "type": "string"
  30624. },
  30625. "wrtypename": {
  30626. "description": "商品",
  30627. "type": "string"
  30628. }
  30629. }
  30630. },
  30631. "models.WrMarketTradeConfig": {
  30632. "type": "object",
  30633. "properties": {
  30634. "basisdownratio": {
  30635. "description": "浮动价基差下限比例(仓单贸易)",
  30636. "type": "number"
  30637. },
  30638. "basisupratio": {
  30639. "description": "浮动价基差上限比例(仓单贸易)",
  30640. "type": "number"
  30641. },
  30642. "buychargealgorithm": {
  30643. "description": "买方手续费收取方式 1:比率 2:固定",
  30644. "type": "integer"
  30645. },
  30646. "buychargealgorithm2": {
  30647. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  30648. "type": "integer"
  30649. },
  30650. "buychargealgorithmvalue": {
  30651. "description": "买方手续费设置值(交易所部分)",
  30652. "type": "number"
  30653. },
  30654. "buychargealgorithmvalue2": {
  30655. "description": "买方手续费设置值(会员部分)",
  30656. "type": "number"
  30657. },
  30658. "buychargealgorithmvalue3": {
  30659. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  30660. "type": "number"
  30661. },
  30662. "buychargealgorithmvalue4": {
  30663. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  30664. "type": "number"
  30665. },
  30666. "buyfirstmarginalgorithm": {
  30667. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  30668. "type": "integer"
  30669. },
  30670. "buyfirstmarginvalue": {
  30671. "description": "买方出价保证金设置值 - [竞拍]",
  30672. "type": "number"
  30673. },
  30674. "buymarginalgorithm": {
  30675. "description": "买方保证金方式 - 1:比率 2:固定",
  30676. "type": "integer"
  30677. },
  30678. "buymarginvalue": {
  30679. "description": "买方保证金设置值",
  30680. "type": "number"
  30681. },
  30682. "buyreleaseratio": {
  30683. "description": "买方释放比率[2:分步履约]",
  30684. "type": "number"
  30685. },
  30686. "executemode": {
  30687. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  30688. "type": "integer"
  30689. },
  30690. "executeside": {
  30691. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  30692. "type": "integer"
  30693. },
  30694. "failedchargealgorithm": {
  30695. "description": "流拍手续费收取方式 1:比率 2:固定",
  30696. "type": "integer"
  30697. },
  30698. "failedchargevalue": {
  30699. "description": "流拍手续费设置值",
  30700. "type": "number"
  30701. },
  30702. "failedchargevalue2": {
  30703. "description": "流拍卖方手续费设置值",
  30704. "type": "number"
  30705. },
  30706. "holddays": {
  30707. "description": "合同期限[2:分步履约]",
  30708. "type": "integer"
  30709. },
  30710. "marketid": {
  30711. "description": "市场ID-仓单贸易、竞拍、预售",
  30712. "type": "integer"
  30713. },
  30714. "minqty": {
  30715. "description": "最小执行量[2:分步履约]",
  30716. "type": "number"
  30717. },
  30718. "modifierid": {
  30719. "description": "修改人",
  30720. "type": "integer"
  30721. },
  30722. "performancetempid": {
  30723. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  30724. "type": "integer"
  30725. },
  30726. "performancetempid2": {
  30727. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  30728. "type": "integer"
  30729. },
  30730. "performanceway": {
  30731. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  30732. "type": "integer"
  30733. },
  30734. "sellchargealgorithm": {
  30735. "description": "卖方手续费收取方式 1:比率 2:固定",
  30736. "type": "integer"
  30737. },
  30738. "sellchargealgorithm2": {
  30739. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  30740. "type": "integer"
  30741. },
  30742. "sellchargealgorithmvalue": {
  30743. "description": "卖方手续费设置值(交易所部分)",
  30744. "type": "number"
  30745. },
  30746. "sellchargealgorithmvalue2": {
  30747. "description": "卖方手续费设置值(会员部分)",
  30748. "type": "number"
  30749. },
  30750. "sellchargealgorithmvalue3": {
  30751. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  30752. "type": "number"
  30753. },
  30754. "sellchargealgorithmvalue4": {
  30755. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  30756. "type": "number"
  30757. },
  30758. "sellmarginalgorithm": {
  30759. "description": "卖方保证金方式 - 1:比率 2:固定",
  30760. "type": "integer"
  30761. },
  30762. "sellmarginvalue": {
  30763. "description": "卖方保证金设置值",
  30764. "type": "number"
  30765. },
  30766. "sellmarginvalue2": {
  30767. "description": "卖方保证金设置值(无仓单)",
  30768. "type": "number"
  30769. },
  30770. "sellreleaseratio": {
  30771. "description": "卖方释放比率[2:分步履约]",
  30772. "type": "number"
  30773. },
  30774. "updatetime": {
  30775. "description": "更新时间",
  30776. "type": "string"
  30777. }
  30778. }
  30779. },
  30780. "models.WrOrderDetail": {
  30781. "type": "object",
  30782. "properties": {
  30783. "buyorsell": {
  30784. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  30785. "type": "integer"
  30786. },
  30787. "cancelqty": {
  30788. "description": "撤销数量",
  30789. "type": "number"
  30790. },
  30791. "deliverygoodscode": {
  30792. "description": "品种代码",
  30793. "type": "string"
  30794. },
  30795. "deliverygoodsid": {
  30796. "description": "品种ID",
  30797. "type": "integer"
  30798. },
  30799. "deliverygoodsname": {
  30800. "description": "品种名称",
  30801. "type": "string"
  30802. },
  30803. "deliverymonth": {
  30804. "description": "交收月",
  30805. "type": "string"
  30806. },
  30807. "enumdicname": {
  30808. "description": "单位名称",
  30809. "type": "string"
  30810. },
  30811. "fixedprice": {
  30812. "description": "固定价格 - [挂牌]",
  30813. "type": "number"
  30814. },
  30815. "futupricemove": {
  30816. "description": "期货升贴水",
  30817. "type": "number"
  30818. },
  30819. "futushow": {
  30820. "description": "期货合约/升贴水",
  30821. "type": "string"
  30822. },
  30823. "goodscode": {
  30824. "description": "期货合约",
  30825. "type": "string"
  30826. },
  30827. "goodsid": {
  30828. "description": "期货商品id",
  30829. "type": "integer"
  30830. },
  30831. "goodsname": {
  30832. "description": "商品名称",
  30833. "type": "string"
  30834. },
  30835. "haswr": {
  30836. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  30837. "type": "integer"
  30838. },
  30839. "marketid": {
  30840. "description": "市场ID",
  30841. "type": "integer"
  30842. },
  30843. "minivalue": {
  30844. "description": "现货商品最小变动值",
  30845. "type": "integer"
  30846. },
  30847. "optioncompare": {
  30848. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30849. "type": "string"
  30850. },
  30851. "orderqty": {
  30852. "description": "委托数量",
  30853. "type": "number"
  30854. },
  30855. "ordertime": {
  30856. "description": "委托时间(挂牌时间)",
  30857. "type": "string"
  30858. },
  30859. "pricemove": {
  30860. "description": "升贴水(浮动价时填写) - [挂牌]",
  30861. "type": "number"
  30862. },
  30863. "tradedate": {
  30864. "description": "交易日(yyyyMMdd)",
  30865. "type": "string"
  30866. },
  30867. "tradeprice": {
  30868. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  30869. "type": "number"
  30870. },
  30871. "tradeqty": {
  30872. "description": "成交数量",
  30873. "type": "number"
  30874. },
  30875. "userid": {
  30876. "description": "用户ID",
  30877. "type": "integer"
  30878. },
  30879. "warehouseid": {
  30880. "description": "仓库ID",
  30881. "type": "integer"
  30882. },
  30883. "warehousename": {
  30884. "description": "仓库名称",
  30885. "type": "string"
  30886. },
  30887. "wrfactortypeid": {
  30888. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30889. "type": "string"
  30890. },
  30891. "wrfactortypename": {
  30892. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30893. "type": "string"
  30894. },
  30895. "wrpricetype": {
  30896. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  30897. "type": "integer"
  30898. },
  30899. "wrstandardcode": {
  30900. "description": "现货商品代码",
  30901. "type": "string"
  30902. },
  30903. "wrstandardid": {
  30904. "description": "现货商品ID",
  30905. "type": "integer"
  30906. },
  30907. "wrstandardname": {
  30908. "description": "商品名称",
  30909. "type": "string"
  30910. },
  30911. "wrtradeorderid": {
  30912. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30913. "type": "string"
  30914. },
  30915. "wrtradeorderstatus": {
  30916. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  30917. "type": "integer"
  30918. },
  30919. "wrtradetype": {
  30920. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  30921. "type": "integer"
  30922. },
  30923. "wrtypename": {
  30924. "description": "商品",
  30925. "type": "string"
  30926. }
  30927. }
  30928. },
  30929. "models.WrOrderQuote": {
  30930. "type": "object",
  30931. "properties": {
  30932. "buyprice": {
  30933. "description": "买价",
  30934. "type": "number"
  30935. },
  30936. "buypricemove": {
  30937. "description": "买升贴水(基差)",
  30938. "type": "number"
  30939. },
  30940. "buyqty": {
  30941. "description": "买量",
  30942. "type": "number"
  30943. },
  30944. "deliverygoodscode": {
  30945. "description": "品种代码",
  30946. "type": "string"
  30947. },
  30948. "deliverygoodsid": {
  30949. "description": "品种id",
  30950. "type": "integer"
  30951. },
  30952. "deliverygoodsname": {
  30953. "description": "品种名称",
  30954. "type": "string"
  30955. },
  30956. "deliverymonth": {
  30957. "description": "交收月",
  30958. "type": "string"
  30959. },
  30960. "enumdicname": {
  30961. "description": "单位名称",
  30962. "type": "string"
  30963. },
  30964. "goodscode": {
  30965. "description": "商品合约(浮动价列表才有)",
  30966. "type": "string"
  30967. },
  30968. "goodsid": {
  30969. "description": "商品id(浮动价列表才有)",
  30970. "type": "integer"
  30971. },
  30972. "minivalue": {
  30973. "description": "现货商品最小变动值",
  30974. "type": "integer"
  30975. },
  30976. "sellprice": {
  30977. "description": "卖价",
  30978. "type": "number"
  30979. },
  30980. "sellpricemove": {
  30981. "description": "卖升贴水(基差)",
  30982. "type": "number"
  30983. },
  30984. "sellqty": {
  30985. "description": "卖量",
  30986. "type": "number"
  30987. },
  30988. "warehousecode": {
  30989. "description": "仓库代码",
  30990. "type": "string"
  30991. },
  30992. "warehouseid": {
  30993. "description": "仓库id",
  30994. "type": "integer"
  30995. },
  30996. "warehousename": {
  30997. "description": "仓库名称",
  30998. "type": "string"
  30999. },
  31000. "wrfactortypeid": {
  31001. "description": "仓单要素id",
  31002. "type": "string"
  31003. },
  31004. "wrfactortypename": {
  31005. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31006. "type": "string"
  31007. },
  31008. "wrgoodsname": {
  31009. "description": "商品(商品名称+仓库要素名称 拼接)",
  31010. "type": "string"
  31011. },
  31012. "wrstandardcode": {
  31013. "description": "商品代码",
  31014. "type": "string"
  31015. },
  31016. "wrstandardid": {
  31017. "description": "商品id",
  31018. "type": "integer"
  31019. },
  31020. "wrstandardname": {
  31021. "description": "商品名称",
  31022. "type": "string"
  31023. }
  31024. }
  31025. },
  31026. "models.WrOrderQuoteDetail": {
  31027. "type": "object",
  31028. "properties": {
  31029. "buyorsell": {
  31030. "description": "买卖 - 0:买 1:卖",
  31031. "type": "integer"
  31032. },
  31033. "delistminqty": {
  31034. "description": "起摘数量",
  31035. "type": "number"
  31036. },
  31037. "deliverymonth": {
  31038. "description": "交收月",
  31039. "type": "string"
  31040. },
  31041. "enumdicname": {
  31042. "description": "单位名称",
  31043. "type": "string"
  31044. },
  31045. "fixedprice": {
  31046. "description": "买(卖)价",
  31047. "type": "number"
  31048. },
  31049. "minivalue": {
  31050. "description": "现货商品最小变动值",
  31051. "type": "integer"
  31052. },
  31053. "orderqty": {
  31054. "description": "买(卖)量(=委托量-成交量)",
  31055. "type": "number"
  31056. },
  31057. "ordertime": {
  31058. "description": "委托时间",
  31059. "type": "string"
  31060. },
  31061. "pricemove": {
  31062. "description": "买(卖)升贴水- 基差",
  31063. "type": "number"
  31064. },
  31065. "userid": {
  31066. "description": "购买方(销售方)用户ID",
  31067. "type": "integer"
  31068. },
  31069. "username": {
  31070. "description": "购买方(销售方)",
  31071. "type": "string"
  31072. },
  31073. "wrtradeorderid": {
  31074. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31075. "type": "string"
  31076. }
  31077. }
  31078. },
  31079. "models.WrOutInApply": {
  31080. "type": "object",
  31081. "properties": {
  31082. "applyid": {
  31083. "description": "申请单id",
  31084. "type": "string"
  31085. },
  31086. "applystatus": {
  31087. "description": "申请状态 - 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  31088. "type": "integer"
  31089. },
  31090. "applytime": {
  31091. "description": "申请时间",
  31092. "type": "string"
  31093. },
  31094. "applytype": {
  31095. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  31096. "type": "integer"
  31097. },
  31098. "deliverygoodscode": {
  31099. "description": "品种代码",
  31100. "type": "string"
  31101. },
  31102. "deliverygoodsid": {
  31103. "description": "品种ID",
  31104. "type": "integer"
  31105. },
  31106. "deliverygoodsname": {
  31107. "description": "品种名称",
  31108. "type": "string"
  31109. },
  31110. "enumdicname": {
  31111. "description": "单位名称",
  31112. "type": "string"
  31113. },
  31114. "expresscompany": {
  31115. "description": "物流公司",
  31116. "type": "string"
  31117. },
  31118. "expressnum": {
  31119. "description": "物流单号",
  31120. "type": "string"
  31121. },
  31122. "minivalue": {
  31123. "description": "现货商品最小变动值",
  31124. "type": "integer"
  31125. },
  31126. "optioncompare": {
  31127. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31128. "type": "string"
  31129. },
  31130. "qty": {
  31131. "description": "数量",
  31132. "type": "integer"
  31133. },
  31134. "userid": {
  31135. "description": "用户id",
  31136. "type": "integer"
  31137. },
  31138. "warehouseid": {
  31139. "description": "仓库ID",
  31140. "type": "integer"
  31141. },
  31142. "warehousename": {
  31143. "description": "仓库名称",
  31144. "type": "string"
  31145. },
  31146. "wrfactortypeid": {
  31147. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31148. "type": "string"
  31149. },
  31150. "wrfactortypename": {
  31151. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31152. "type": "string"
  31153. },
  31154. "wrstandardcode": {
  31155. "description": "现货商品代码",
  31156. "type": "string"
  31157. },
  31158. "wrstandardid": {
  31159. "description": "现货商品ID",
  31160. "type": "integer"
  31161. },
  31162. "wrstandardname": {
  31163. "description": "商品名称",
  31164. "type": "string"
  31165. },
  31166. "wrtypename": {
  31167. "description": "商品",
  31168. "type": "string"
  31169. }
  31170. }
  31171. },
  31172. "models.WrPerformancePlan": {
  31173. "type": "object",
  31174. "required": [
  31175. "userid"
  31176. ],
  31177. "properties": {
  31178. "amount": {
  31179. "description": "履约金额(总金额)",
  31180. "type": "number"
  31181. },
  31182. "buyaccountid": {
  31183. "description": "买方账号",
  31184. "type": "integer"
  31185. },
  31186. "buyerfreezeamount": {
  31187. "description": "履约冻结(买履约)",
  31188. "type": "number"
  31189. },
  31190. "buyerfreezeamountremain": {
  31191. "description": "履约冻结剩余(买履约)",
  31192. "type": "number"
  31193. },
  31194. "buyorsell": {
  31195. "description": "买卖方向 0-买 1-卖",
  31196. "type": "integer"
  31197. },
  31198. "buypaidamount": {
  31199. "description": "买方已冻/已扣金额 (已付金额)",
  31200. "type": "number"
  31201. },
  31202. "buyusername": {
  31203. "description": "买方名字",
  31204. "type": "string"
  31205. },
  31206. "contractid": {
  31207. "description": "合同ID",
  31208. "type": "integer"
  31209. },
  31210. "createtime": {
  31211. "description": "创建时间",
  31212. "type": "string"
  31213. },
  31214. "creatorid": {
  31215. "description": "创建人",
  31216. "type": "integer"
  31217. },
  31218. "curstepdeadline": {
  31219. "description": "当前步骤到期时间",
  31220. "type": "string"
  31221. },
  31222. "curstepid": {
  31223. "description": "当前步骤ID",
  31224. "type": "string"
  31225. },
  31226. "curstepname": {
  31227. "description": "当前步骤名称",
  31228. "type": "string"
  31229. },
  31230. "deliverygoodscode": {
  31231. "description": "品种代码",
  31232. "type": "string"
  31233. },
  31234. "deliverygoodsid": {
  31235. "description": "品种ID",
  31236. "type": "integer"
  31237. },
  31238. "deliverygoodsname": {
  31239. "description": "品种名称",
  31240. "type": "string"
  31241. },
  31242. "enumdicname": {
  31243. "description": "单位名称",
  31244. "type": "string"
  31245. },
  31246. "expressfee": {
  31247. "description": "运费",
  31248. "type": "number"
  31249. },
  31250. "expressfeeconfirmed": {
  31251. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  31252. "type": "integer"
  31253. },
  31254. "hasovershort": {
  31255. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  31256. "type": "integer"
  31257. },
  31258. "haswr": {
  31259. "description": "类型 0-仓单预售 1-仓单贸易",
  31260. "type": "integer"
  31261. },
  31262. "marketid": {
  31263. "description": "市场ID",
  31264. "type": "integer"
  31265. },
  31266. "middleaccountid": {
  31267. "description": "中间商资金账号ID",
  31268. "type": "integer"
  31269. },
  31270. "middleuserid": {
  31271. "description": "中间商用户ID",
  31272. "type": "integer"
  31273. },
  31274. "minivalue": {
  31275. "description": "现货商品最小变动值",
  31276. "type": "integer"
  31277. },
  31278. "optioncompare": {
  31279. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31280. "type": "string"
  31281. },
  31282. "overshortamount": {
  31283. "description": "溢短金额",
  31284. "type": "number"
  31285. },
  31286. "overshortqty": {
  31287. "description": "溢短数量",
  31288. "type": "number"
  31289. },
  31290. "paymenttype": {
  31291. "description": "付款方式 - 1:冻结 2:扣款",
  31292. "type": "integer"
  31293. },
  31294. "performanceplanid": {
  31295. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  31296. "type": "string"
  31297. },
  31298. "performancestatus": {
  31299. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  31300. "type": "integer"
  31301. },
  31302. "performancetype": {
  31303. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  31304. "type": "integer"
  31305. },
  31306. "qty": {
  31307. "description": "履约数量",
  31308. "type": "number"
  31309. },
  31310. "relatedorderid": {
  31311. "description": "关联单号(履约类型的关联单号)",
  31312. "type": "string"
  31313. },
  31314. "remark": {
  31315. "description": "备注",
  31316. "type": "string"
  31317. },
  31318. "sellaccountid": {
  31319. "description": "卖方账号",
  31320. "type": "integer"
  31321. },
  31322. "sellerfreezeamount": {
  31323. "description": "履约冻结(卖履约)",
  31324. "type": "number"
  31325. },
  31326. "sellerfreezeamountremain": {
  31327. "description": "履约冻结剩余(卖履约)",
  31328. "type": "number"
  31329. },
  31330. "sellreceivedamount": {
  31331. "description": "卖方已收金额",
  31332. "type": "number"
  31333. },
  31334. "sellusername": {
  31335. "description": "卖方名字",
  31336. "type": "string"
  31337. },
  31338. "shipremark": {
  31339. "description": "发货备注[物流单号]",
  31340. "type": "string"
  31341. },
  31342. "starttime": {
  31343. "description": "开始时间",
  31344. "type": "string"
  31345. },
  31346. "steptypeid": {
  31347. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  31348. "type": "integer"
  31349. },
  31350. "unpaidamount": {
  31351. "description": "剩余款(待支付金额)",
  31352. "type": "number"
  31353. },
  31354. "userid": {
  31355. "description": "用户id",
  31356. "type": "integer"
  31357. },
  31358. "warehouseid": {
  31359. "description": "仓库ID",
  31360. "type": "integer"
  31361. },
  31362. "warehousename": {
  31363. "description": "仓库名称",
  31364. "type": "string"
  31365. },
  31366. "wrfactortypeid": {
  31367. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31368. "type": "string"
  31369. },
  31370. "wrfactortypename": {
  31371. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31372. "type": "string"
  31373. },
  31374. "wrstandardcode": {
  31375. "description": "现货商品代码",
  31376. "type": "string"
  31377. },
  31378. "wrstandardid": {
  31379. "description": "现货商品ID",
  31380. "type": "integer"
  31381. },
  31382. "wrstandardname": {
  31383. "description": "商品名称",
  31384. "type": "string"
  31385. },
  31386. "wrtransferuserid": {
  31387. "description": "仓单受让用户",
  31388. "type": "integer"
  31389. },
  31390. "wrtypename": {
  31391. "description": "商品",
  31392. "type": "string"
  31393. }
  31394. }
  31395. },
  31396. "models.WrPerformancePlanStep": {
  31397. "type": "object",
  31398. "properties": {
  31399. "delaydays": {
  31400. "description": "延期申请天数",
  31401. "type": "integer"
  31402. },
  31403. "deliverygoodscode": {
  31404. "description": "品种代码",
  31405. "type": "string"
  31406. },
  31407. "deliverygoodsid": {
  31408. "description": "品种ID",
  31409. "type": "integer"
  31410. },
  31411. "deliverygoodsname": {
  31412. "description": "品种名称",
  31413. "type": "string"
  31414. },
  31415. "endtime": {
  31416. "description": "结束日期",
  31417. "type": "string"
  31418. },
  31419. "enumdicname": {
  31420. "description": "单位名称",
  31421. "type": "string"
  31422. },
  31423. "executeside": {
  31424. "description": "步骤执行方 - 1:买方 2:卖方",
  31425. "type": "integer"
  31426. },
  31427. "handlestatus": {
  31428. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  31429. "type": "integer"
  31430. },
  31431. "isauto": {
  31432. "description": "是否自动 - 0:不自动 1:自动",
  31433. "type": "integer"
  31434. },
  31435. "islastreceivestep": {
  31436. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  31437. "type": "integer"
  31438. },
  31439. "minivalue": {
  31440. "description": "现货商品最小变动值",
  31441. "type": "integer"
  31442. },
  31443. "optioncompare": {
  31444. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31445. "type": "string"
  31446. },
  31447. "overdays": {
  31448. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  31449. "type": "integer"
  31450. },
  31451. "performancestepid": {
  31452. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  31453. "type": "string"
  31454. },
  31455. "planid": {
  31456. "description": "所属履约计划ID",
  31457. "type": "string"
  31458. },
  31459. "realamount": {
  31460. "description": "实际完成金额",
  31461. "type": "number"
  31462. },
  31463. "relatedorderid": {
  31464. "description": "关联单号",
  31465. "type": "string"
  31466. },
  31467. "remaindays": {
  31468. "description": "剩余天数",
  31469. "type": "integer"
  31470. },
  31471. "remark": {
  31472. "description": "错误备注",
  31473. "type": "string"
  31474. },
  31475. "starttime": {
  31476. "description": "开始日期",
  31477. "type": "string"
  31478. },
  31479. "stepamount": {
  31480. "description": "步骤金额",
  31481. "type": "number"
  31482. },
  31483. "stepdays": {
  31484. "description": "距离上一步天数(分钟)",
  31485. "type": "integer"
  31486. },
  31487. "stepindex": {
  31488. "description": "步骤序号",
  31489. "type": "integer"
  31490. },
  31491. "steplanchtype": {
  31492. "description": "步骤启动类型 - 1:系统自动 2:手动",
  31493. "type": "integer"
  31494. },
  31495. "stepremark": {
  31496. "description": "步骤备注",
  31497. "type": "string"
  31498. },
  31499. "stepstatus": {
  31500. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  31501. "type": "integer"
  31502. },
  31503. "steptypeid": {
  31504. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  31505. "type": "integer"
  31506. },
  31507. "steptypename": {
  31508. "description": "步骤名称",
  31509. "type": "string"
  31510. },
  31511. "stepvalue": {
  31512. "description": "步骤值",
  31513. "type": "number"
  31514. },
  31515. "warehouseid": {
  31516. "description": "仓库ID",
  31517. "type": "integer"
  31518. },
  31519. "warehousename": {
  31520. "description": "仓库名称",
  31521. "type": "string"
  31522. },
  31523. "wrfactortypeid": {
  31524. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31525. "type": "string"
  31526. },
  31527. "wrfactortypename": {
  31528. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31529. "type": "string"
  31530. },
  31531. "wrstandardcode": {
  31532. "description": "现货商品代码",
  31533. "type": "string"
  31534. },
  31535. "wrstandardid": {
  31536. "description": "现货商品ID",
  31537. "type": "integer"
  31538. },
  31539. "wrstandardname": {
  31540. "description": "商品名称",
  31541. "type": "string"
  31542. },
  31543. "wrtypename": {
  31544. "description": "商品",
  31545. "type": "string"
  31546. }
  31547. }
  31548. },
  31549. "models.WrPosition": {
  31550. "type": "object",
  31551. "properties": {
  31552. "accountid": {
  31553. "description": "帐户ID",
  31554. "type": "integer"
  31555. },
  31556. "buyexcuteqty": {
  31557. "description": "采购履约中数量",
  31558. "type": "number"
  31559. },
  31560. "creditcurqty": {
  31561. "description": "授信当前数量(预售仓单:预售当前量)",
  31562. "type": "number"
  31563. },
  31564. "creditenableqty": {
  31565. "description": "授信可用数量(预售仓单: 可用数量)",
  31566. "type": "number"
  31567. },
  31568. "creditfreezeqty": {
  31569. "description": "授信冻结数量(预售仓单: 当前数量)",
  31570. "type": "number"
  31571. },
  31572. "credittotalqty": {
  31573. "description": "授信总数量(预售仓单:预售总量)",
  31574. "type": "number"
  31575. },
  31576. "credittradeqty": {
  31577. "description": "授信成交数量(预售仓单:成交总量)",
  31578. "type": "number"
  31579. },
  31580. "deliverygoodscode": {
  31581. "description": "品种代码",
  31582. "type": "string"
  31583. },
  31584. "deliverygoodsid": {
  31585. "description": "品种ID",
  31586. "type": "integer"
  31587. },
  31588. "deliverygoodsname": {
  31589. "description": "品种名称",
  31590. "type": "string"
  31591. },
  31592. "enalbeqty": {
  31593. "description": "可用数量",
  31594. "type": "number"
  31595. },
  31596. "enumdicname": {
  31597. "description": "单位名称",
  31598. "type": "string"
  31599. },
  31600. "freezeqty": {
  31601. "description": "总冻结数量",
  31602. "type": "number"
  31603. },
  31604. "haswr": {
  31605. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  31606. "type": "integer"
  31607. },
  31608. "minivalue": {
  31609. "description": "现货商品最小变动值",
  31610. "type": "integer"
  31611. },
  31612. "modifytime": {
  31613. "description": "修改时间(过户时间)",
  31614. "type": "string"
  31615. },
  31616. "optioncompare": {
  31617. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31618. "type": "string"
  31619. },
  31620. "pledgeqty": {
  31621. "description": "质押数量",
  31622. "type": "number"
  31623. },
  31624. "querytype": {
  31625. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  31626. "type": "integer"
  31627. },
  31628. "sellexcuteqty": {
  31629. "description": "销售履约中数量",
  31630. "type": "number"
  31631. },
  31632. "totalqty": {
  31633. "description": "总数量(库存数量)",
  31634. "type": "number"
  31635. },
  31636. "warehouseid": {
  31637. "description": "仓库ID",
  31638. "type": "integer"
  31639. },
  31640. "warehousename": {
  31641. "description": "仓库名称",
  31642. "type": "string"
  31643. },
  31644. "wrfactortypeid": {
  31645. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31646. "type": "string"
  31647. },
  31648. "wrfactortypename": {
  31649. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31650. "type": "string"
  31651. },
  31652. "wrpositionid": {
  31653. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  31654. "type": "string"
  31655. },
  31656. "wrpositionno": {
  31657. "description": "仓单编号",
  31658. "type": "string"
  31659. },
  31660. "wrstandardcode": {
  31661. "description": "现货商品代码",
  31662. "type": "string"
  31663. },
  31664. "wrstandardid": {
  31665. "description": "现货商品ID",
  31666. "type": "integer"
  31667. },
  31668. "wrstandardname": {
  31669. "description": "商品名称",
  31670. "type": "string"
  31671. },
  31672. "wrtypename": {
  31673. "description": "商品",
  31674. "type": "string"
  31675. },
  31676. "wruserid": {
  31677. "description": "持有人ID",
  31678. "type": "integer"
  31679. }
  31680. }
  31681. },
  31682. "models.WrScfContract": {
  31683. "type": "object",
  31684. "properties": {
  31685. "borroweruserid": {
  31686. "description": "借款用户ID",
  31687. "type": "integer"
  31688. },
  31689. "buybackwrpositionqty": {
  31690. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  31691. "type": "number"
  31692. },
  31693. "closeinterest": {
  31694. "description": "已结利息 -\u003e 已结费用",
  31695. "type": "number"
  31696. },
  31697. "currisklevel": {
  31698. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  31699. "type": "integer"
  31700. },
  31701. "deadline": {
  31702. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  31703. "type": "string"
  31704. },
  31705. "deliverygoodscode": {
  31706. "description": "品种代码",
  31707. "type": "string"
  31708. },
  31709. "deliverygoodsid": {
  31710. "description": "品种ID",
  31711. "type": "integer"
  31712. },
  31713. "deliverygoodsname": {
  31714. "description": "品种名称",
  31715. "type": "string"
  31716. },
  31717. "enumdicname": {
  31718. "description": "单位名称",
  31719. "type": "string"
  31720. },
  31721. "financingdays": {
  31722. "description": "天数(天)",
  31723. "type": "integer"
  31724. },
  31725. "initmargin": {
  31726. "description": "保证金 - [仓单回购]",
  31727. "type": "number"
  31728. },
  31729. "interestamount": {
  31730. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  31731. "type": "number"
  31732. },
  31733. "interestdebt": {
  31734. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  31735. "type": "number"
  31736. },
  31737. "interestminlen": {
  31738. "description": "最小起息天数",
  31739. "type": "integer"
  31740. },
  31741. "interestrate": {
  31742. "description": "利率",
  31743. "type": "number"
  31744. },
  31745. "interestratemode": {
  31746. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  31747. "type": "integer"
  31748. },
  31749. "interestsettlemode": {
  31750. "description": "结息方式 - 1:按日结息 3:按月结息",
  31751. "type": "integer"
  31752. },
  31753. "interestsettlevalue": {
  31754. "description": "结息方式值",
  31755. "type": "integer"
  31756. },
  31757. "isautoloan": {
  31758. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  31759. "type": "integer"
  31760. },
  31761. "lastcloseinterestday": {
  31762. "description": "最近结息日(yyyyMMdd)",
  31763. "type": "string"
  31764. },
  31765. "lenderamount": {
  31766. "description": "贷款金额 -\u003e 借款金额",
  31767. "type": "number"
  31768. },
  31769. "lenderuserid": {
  31770. "description": "贷款方用户ID -\u003e 融出方用户ID",
  31771. "type": "integer"
  31772. },
  31773. "lenderusername": {
  31774. "description": "融出方",
  31775. "type": "string"
  31776. },
  31777. "marginratio": {
  31778. "description": "保证金比率质押率 - [仓单质押]",
  31779. "type": "number"
  31780. },
  31781. "marketid": {
  31782. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  31783. "type": "integer"
  31784. },
  31785. "minivalue": {
  31786. "description": "现货商品最小变动值",
  31787. "type": "integer"
  31788. },
  31789. "optioncompare": {
  31790. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31791. "type": "string"
  31792. },
  31793. "pricemove": {
  31794. "description": "估值升贴水值",
  31795. "type": "number"
  31796. },
  31797. "productdetailid": {
  31798. "description": "产品组合ID",
  31799. "type": "integer"
  31800. },
  31801. "productid": {
  31802. "description": "金融产品ID",
  31803. "type": "integer"
  31804. },
  31805. "productname": {
  31806. "description": "产品名称",
  31807. "type": "string"
  31808. },
  31809. "remainamount": {
  31810. "description": "合同剩余金额 -\u003e 剩余金额",
  31811. "type": "number"
  31812. },
  31813. "remainwrpositionqty": {
  31814. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  31815. "type": "number"
  31816. },
  31817. "remark": {
  31818. "description": "备注",
  31819. "type": "string"
  31820. },
  31821. "scfcontractid": {
  31822. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  31823. "type": "string"
  31824. },
  31825. "scfcontractstatus": {
  31826. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  31827. "type": "integer"
  31828. },
  31829. "scfcontracttype": {
  31830. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  31831. "type": "integer"
  31832. },
  31833. "startinterestday": {
  31834. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  31835. "type": "string"
  31836. },
  31837. "totalinterest": {
  31838. "description": "已计利息 -\u003e 已计费用",
  31839. "type": "number"
  31840. },
  31841. "unpaidinterest": {
  31842. "description": "未结费用",
  31843. "type": "number"
  31844. },
  31845. "updatetime": {
  31846. "description": "更新时间",
  31847. "type": "string"
  31848. },
  31849. "warehouseid": {
  31850. "description": "仓库ID",
  31851. "type": "integer"
  31852. },
  31853. "warehousename": {
  31854. "description": "仓库名称",
  31855. "type": "string"
  31856. },
  31857. "wrfactortypeid": {
  31858. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31859. "type": "string"
  31860. },
  31861. "wrfactortypename": {
  31862. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31863. "type": "string"
  31864. },
  31865. "wrqty": {
  31866. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  31867. "type": "number"
  31868. },
  31869. "wrstandardcode": {
  31870. "description": "现货商品代码",
  31871. "type": "string"
  31872. },
  31873. "wrstandardid": {
  31874. "description": "现货商品ID",
  31875. "type": "integer"
  31876. },
  31877. "wrstandardname": {
  31878. "description": "商品名称",
  31879. "type": "string"
  31880. },
  31881. "wrtypename": {
  31882. "description": "商品",
  31883. "type": "string"
  31884. }
  31885. }
  31886. },
  31887. "models.WrScfContractInterest": {
  31888. "type": "object",
  31889. "properties": {
  31890. "closeinterest": {
  31891. "description": "已结利息",
  31892. "type": "number"
  31893. },
  31894. "closeintereststatus": {
  31895. "description": "结息状态 - 1:未结 2:已结",
  31896. "type": "integer"
  31897. },
  31898. "closetime": {
  31899. "description": "结息时间",
  31900. "type": "string"
  31901. },
  31902. "closetradedate": {
  31903. "description": "结息交易日",
  31904. "type": "string"
  31905. },
  31906. "creatorid": {
  31907. "description": "操作人ID",
  31908. "type": "integer"
  31909. },
  31910. "dayrate": {
  31911. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  31912. "type": "number"
  31913. },
  31914. "interest": {
  31915. "description": "利息",
  31916. "type": "number"
  31917. },
  31918. "interestamount": {
  31919. "description": "计息金额",
  31920. "type": "number"
  31921. },
  31922. "interestday": {
  31923. "description": "计息日(yyyyMMdd)",
  31924. "type": "string"
  31925. },
  31926. "scfcontractid": {
  31927. "description": "SCF合同ID",
  31928. "type": "string"
  31929. },
  31930. "scfcontractinterestid": {
  31931. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  31932. "type": "integer"
  31933. },
  31934. "updatetime": {
  31935. "description": "更新时间",
  31936. "type": "string"
  31937. }
  31938. }
  31939. },
  31940. "models.WrSpecialMatchOrder": {
  31941. "type": "object",
  31942. "properties": {
  31943. "amount": {
  31944. "description": "金额 = 数量 * 价格",
  31945. "type": "number"
  31946. },
  31947. "buyorsell": {
  31948. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  31949. "type": "integer"
  31950. },
  31951. "cancelqty": {
  31952. "description": "撤销数量",
  31953. "type": "number"
  31954. },
  31955. "deliverygoodscode": {
  31956. "description": "品种代码",
  31957. "type": "string"
  31958. },
  31959. "deliverygoodsid": {
  31960. "description": "品种ID",
  31961. "type": "integer"
  31962. },
  31963. "deliverygoodsname": {
  31964. "description": "品种名称",
  31965. "type": "string"
  31966. },
  31967. "enumdicname": {
  31968. "description": "单位名称",
  31969. "type": "string"
  31970. },
  31971. "fixedprice": {
  31972. "description": "固定价格(价格)",
  31973. "type": "number"
  31974. },
  31975. "haswr": {
  31976. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  31977. "type": "integer"
  31978. },
  31979. "marketid": {
  31980. "description": "市场ID",
  31981. "type": "integer"
  31982. },
  31983. "matchuserid": {
  31984. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  31985. "type": "integer"
  31986. },
  31987. "matchusername": {
  31988. "description": "指定方",
  31989. "type": "string"
  31990. },
  31991. "minivalue": {
  31992. "description": "现货商品最小变动值",
  31993. "type": "integer"
  31994. },
  31995. "optioncompare": {
  31996. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31997. "type": "string"
  31998. },
  31999. "orderqty": {
  32000. "description": "委托数量",
  32001. "type": "number"
  32002. },
  32003. "ordertime": {
  32004. "description": "委托时间",
  32005. "type": "string"
  32006. },
  32007. "pricemove": {
  32008. "description": "升贴水(浮动价时填写) - [挂牌]",
  32009. "type": "number"
  32010. },
  32011. "tradedate": {
  32012. "description": "交易日(yyyyMMdd)",
  32013. "type": "string"
  32014. },
  32015. "tradeprice": {
  32016. "description": "成交价格",
  32017. "type": "number"
  32018. },
  32019. "tradeqty": {
  32020. "description": "成交数量",
  32021. "type": "number"
  32022. },
  32023. "userid": {
  32024. "description": "用户ID",
  32025. "type": "integer"
  32026. },
  32027. "username": {
  32028. "description": "发起方",
  32029. "type": "string"
  32030. },
  32031. "warehouseid": {
  32032. "description": "仓库ID",
  32033. "type": "integer"
  32034. },
  32035. "warehousename": {
  32036. "description": "仓库名称",
  32037. "type": "string"
  32038. },
  32039. "wrfactortypeid": {
  32040. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32041. "type": "string"
  32042. },
  32043. "wrfactortypename": {
  32044. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32045. "type": "string"
  32046. },
  32047. "wrpricetype": {
  32048. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  32049. "type": "integer"
  32050. },
  32051. "wrstandardcode": {
  32052. "description": "现货商品代码",
  32053. "type": "string"
  32054. },
  32055. "wrstandardid": {
  32056. "description": "现货商品ID",
  32057. "type": "integer"
  32058. },
  32059. "wrstandardname": {
  32060. "description": "商品名称",
  32061. "type": "string"
  32062. },
  32063. "wrtradeorderid": {
  32064. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32065. "type": "string"
  32066. },
  32067. "wrtradeorderstatus": {
  32068. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  32069. "type": "integer"
  32070. },
  32071. "wrtradetype": {
  32072. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  32073. "type": "integer"
  32074. },
  32075. "wrtypename": {
  32076. "description": "商品",
  32077. "type": "string"
  32078. }
  32079. }
  32080. },
  32081. "models.WrStandardFactoryItem": {
  32082. "type": "object",
  32083. "properties": {
  32084. "dgfactoryitemid": {
  32085. "description": "选择项id",
  32086. "type": "integer"
  32087. },
  32088. "dgfactoryitemvalue": {
  32089. "description": "要素项值",
  32090. "type": "string"
  32091. },
  32092. "warehouseid": {
  32093. "description": "仓库id",
  32094. "type": "integer"
  32095. }
  32096. }
  32097. },
  32098. "models.WrStandardFactoryItemEx": {
  32099. "type": "object",
  32100. "properties": {
  32101. "dgfactoryitemtypeid": {
  32102. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  32103. "type": "integer"
  32104. },
  32105. "itemlst": {
  32106. "description": "要素项列表",
  32107. "type": "array",
  32108. "items": {
  32109. "$ref": "#/definitions/models.WrStandardFactoryItem"
  32110. }
  32111. },
  32112. "itemtypename": {
  32113. "description": "要素项类型名称",
  32114. "type": "string"
  32115. },
  32116. "wrstandardid": {
  32117. "description": "品类",
  32118. "type": "integer"
  32119. }
  32120. }
  32121. },
  32122. "models.WrTradeDetail": {
  32123. "type": "object",
  32124. "properties": {
  32125. "accountid": {
  32126. "description": "资金账号",
  32127. "type": "integer"
  32128. },
  32129. "buyorsell": {
  32130. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  32131. "type": "integer"
  32132. },
  32133. "deliverygoodscode": {
  32134. "description": "品种代码",
  32135. "type": "string"
  32136. },
  32137. "deliverygoodsid": {
  32138. "description": "品种ID",
  32139. "type": "integer"
  32140. },
  32141. "deliverygoodsname": {
  32142. "description": "品种名称",
  32143. "type": "string"
  32144. },
  32145. "deliverymonth": {
  32146. "description": "交收月",
  32147. "type": "string"
  32148. },
  32149. "enumdicname": {
  32150. "description": "单位名称",
  32151. "type": "string"
  32152. },
  32153. "haswr": {
  32154. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  32155. "type": "integer"
  32156. },
  32157. "marketid": {
  32158. "description": "市场ID",
  32159. "type": "integer"
  32160. },
  32161. "matchaccountid": {
  32162. "description": "对手账号",
  32163. "type": "integer"
  32164. },
  32165. "matchusername": {
  32166. "description": "对手方",
  32167. "type": "string"
  32168. },
  32169. "minivalue": {
  32170. "description": "现货商品最小变动值",
  32171. "type": "integer"
  32172. },
  32173. "optioncompare": {
  32174. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32175. "type": "string"
  32176. },
  32177. "tradedate": {
  32178. "description": "交易日(yyyyMMdd)",
  32179. "type": "string"
  32180. },
  32181. "tradeprice": {
  32182. "description": "成交价格",
  32183. "type": "number"
  32184. },
  32185. "tradeqty": {
  32186. "description": "成交数量",
  32187. "type": "number"
  32188. },
  32189. "tradetime": {
  32190. "description": "成交时间",
  32191. "type": "string"
  32192. },
  32193. "userid": {
  32194. "description": "用户ID",
  32195. "type": "integer"
  32196. },
  32197. "warehouseid": {
  32198. "description": "仓库ID",
  32199. "type": "integer"
  32200. },
  32201. "warehousename": {
  32202. "description": "仓库名称",
  32203. "type": "string"
  32204. },
  32205. "wrfactortypeid": {
  32206. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32207. "type": "string"
  32208. },
  32209. "wrfactortypename": {
  32210. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32211. "type": "string"
  32212. },
  32213. "wrstandardcode": {
  32214. "description": "现货商品代码",
  32215. "type": "string"
  32216. },
  32217. "wrstandardid": {
  32218. "description": "现货商品ID",
  32219. "type": "integer"
  32220. },
  32221. "wrstandardname": {
  32222. "description": "商品名称",
  32223. "type": "string"
  32224. },
  32225. "wrtradedetailid": {
  32226. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  32227. "type": "string"
  32228. },
  32229. "wrtradetype": {
  32230. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  32231. "type": "integer"
  32232. },
  32233. "wrtypename": {
  32234. "description": "商品",
  32235. "type": "string"
  32236. }
  32237. }
  32238. },
  32239. "models.WrTypeItem": {
  32240. "type": "object",
  32241. "properties": {
  32242. "name": {
  32243. "description": "名称",
  32244. "type": "string"
  32245. },
  32246. "value": {
  32247. "description": "值",
  32248. "type": "string"
  32249. }
  32250. }
  32251. },
  32252. "order.QueryHisTradeDetailRsp": {
  32253. "type": "object",
  32254. "required": [
  32255. "accountid",
  32256. "buyorsell",
  32257. "goodsid",
  32258. "histradedate",
  32259. "marketid",
  32260. "memberuserid",
  32261. "orderid",
  32262. "tradeamount",
  32263. "tradedate",
  32264. "tradeid",
  32265. "tradeprice",
  32266. "tradeqty",
  32267. "tradetime"
  32268. ],
  32269. "properties": {
  32270. "accountid": {
  32271. "description": "账户ID[报价币种]",
  32272. "type": "integer"
  32273. },
  32274. "advanceratio": {
  32275. "description": "首付比率",
  32276. "type": "number"
  32277. },
  32278. "buildtype": {
  32279. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  32280. "type": "integer"
  32281. },
  32282. "buyorsell": {
  32283. "description": "方向 - 0:买 1:卖",
  32284. "type": "integer"
  32285. },
  32286. "charge": {
  32287. "description": "手续费",
  32288. "type": "number"
  32289. },
  32290. "closecharge": {
  32291. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  32292. "type": "number"
  32293. },
  32294. "closeexchagechargevalue": {
  32295. "description": "平仓交易所手续费设置值",
  32296. "type": "number"
  32297. },
  32298. "closefeealgorithm": {
  32299. "description": "平仓手续费收取方式 1:比率 2:固定",
  32300. "type": "integer"
  32301. },
  32302. "closememberchargevalue": {
  32303. "description": "平仓会员手续费设置值",
  32304. "type": "number"
  32305. },
  32306. "closepl": {
  32307. "description": "平仓盈亏",
  32308. "type": "number"
  32309. },
  32310. "closepl2": {
  32311. "description": "平仓盈亏[逐笔]",
  32312. "type": "number"
  32313. },
  32314. "closeqty": {
  32315. "description": "平仓数量(先建后平操作 需要记录)",
  32316. "type": "number"
  32317. },
  32318. "creditamount": {
  32319. "description": "授信金额",
  32320. "type": "number"
  32321. },
  32322. "decimalplace": {
  32323. "description": "商品报价小数位",
  32324. "type": "integer"
  32325. },
  32326. "enumdicname": {
  32327. "description": "单位名称",
  32328. "type": "string"
  32329. },
  32330. "gcaccountid": {
  32331. "description": "账户ID[合约币种]",
  32332. "type": "integer"
  32333. },
  32334. "goodscode": {
  32335. "description": "商品代码",
  32336. "type": "string"
  32337. },
  32338. "goodsid": {
  32339. "description": "商品ID",
  32340. "type": "integer"
  32341. },
  32342. "goodsname": {
  32343. "description": "商品名称",
  32344. "type": "string"
  32345. },
  32346. "goodunitid": {
  32347. "description": "商品单位id",
  32348. "type": "integer"
  32349. },
  32350. "histradedate": {
  32351. "description": "历史交易日",
  32352. "type": "string"
  32353. },
  32354. "intclosepl": {
  32355. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  32356. "type": "integer"
  32357. },
  32358. "isconfirmexercise": {
  32359. "description": "是否确认行权- 0:否 1:是",
  32360. "type": "integer"
  32361. },
  32362. "ismain": {
  32363. "description": "是否主单 - 0:不是 1:是",
  32364. "type": "integer"
  32365. },
  32366. "ispreexercise": {
  32367. "description": "是否预申报- 0:否 1:是",
  32368. "type": "integer"
  32369. },
  32370. "isreckoned": {
  32371. "description": "是否结算 - 0:未结算 1:已结算",
  32372. "type": "integer"
  32373. },
  32374. "isvaliddata": {
  32375. "description": "是否有效 - 0:无效 1:有效",
  32376. "type": "integer"
  32377. },
  32378. "listingselecttype": {
  32379. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  32380. "type": "integer"
  32381. },
  32382. "marketid": {
  32383. "description": "市场ID",
  32384. "type": "integer"
  32385. },
  32386. "marketname": {
  32387. "description": "市场名称",
  32388. "type": "string"
  32389. },
  32390. "matchaccountid": {
  32391. "description": "对手账号id",
  32392. "type": "integer"
  32393. },
  32394. "memberuserid": {
  32395. "description": "会员id 个人投资者 需要填写",
  32396. "type": "integer"
  32397. },
  32398. "opencharge": {
  32399. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  32400. "type": "number"
  32401. },
  32402. "openexchagechargevalue": {
  32403. "description": "建仓交易所手续费设置值",
  32404. "type": "number"
  32405. },
  32406. "openfeealgorithm": {
  32407. "description": "建仓手续费收取方式 1:比率 2:固定",
  32408. "type": "integer"
  32409. },
  32410. "openmemberchargevalue": {
  32411. "description": "建仓会员手续费设置值",
  32412. "type": "number"
  32413. },
  32414. "openqty": {
  32415. "description": "开仓数量(先建后平操作 需要记录)",
  32416. "type": "number"
  32417. },
  32418. "optiontype": {
  32419. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  32420. "type": "integer"
  32421. },
  32422. "orderid": {
  32423. "description": "委托单号",
  32424. "type": "string"
  32425. },
  32426. "payamount": {
  32427. "description": "支付金额(付款金额)",
  32428. "type": "number"
  32429. },
  32430. "performanceplanid": {
  32431. "description": "履约计划ID[期权]",
  32432. "type": "integer"
  32433. },
  32434. "performancestatus": {
  32435. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  32436. "type": "integer"
  32437. },
  32438. "preexerciseprice": {
  32439. "description": "预申报价格",
  32440. "type": "number"
  32441. },
  32442. "premium": {
  32443. "description": "权利金 - [持仓单的权利金]",
  32444. "type": "number"
  32445. },
  32446. "qtydecimalplace": {
  32447. "description": "商品报价小数位",
  32448. "type": "integer"
  32449. },
  32450. "recvamount": {
  32451. "description": "到账金额 = 成交金额 - 手续费",
  32452. "type": "number"
  32453. },
  32454. "relatedouttradeid": {
  32455. "description": "关联外部成交单ID",
  32456. "type": "integer"
  32457. },
  32458. "status": {
  32459. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  32460. "type": "integer"
  32461. },
  32462. "totalamount": {
  32463. "description": "订单总额 = 成交金额 + 手续费",
  32464. "type": "number"
  32465. },
  32466. "tradeamount": {
  32467. "description": "成交金额[账户币种,用于所有权]",
  32468. "type": "number"
  32469. },
  32470. "tradedate": {
  32471. "description": "交易日(yyyyMMdd)",
  32472. "type": "string"
  32473. },
  32474. "tradeid": {
  32475. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32476. "type": "string"
  32477. },
  32478. "trademode": {
  32479. "description": "交易模式",
  32480. "type": "integer"
  32481. },
  32482. "tradeprice": {
  32483. "description": "成交价格",
  32484. "type": "number"
  32485. },
  32486. "tradeproperty": {
  32487. "description": "交易属性",
  32488. "type": "integer"
  32489. },
  32490. "tradeqty": {
  32491. "description": "成交数量",
  32492. "type": "number"
  32493. },
  32494. "tradetime": {
  32495. "description": "成交时间",
  32496. "type": "string"
  32497. },
  32498. "tradetype": {
  32499. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  32500. "type": "integer"
  32501. }
  32502. }
  32503. },
  32504. "order.QueryHisTradeOrderDetailRsp": {
  32505. "type": "object",
  32506. "required": [
  32507. "accountid",
  32508. "buildtype",
  32509. "buyorsell",
  32510. "goodsid",
  32511. "histradedate",
  32512. "marketid",
  32513. "memberuserid",
  32514. "operatetype",
  32515. "orderid",
  32516. "orderqty",
  32517. "ordertime",
  32518. "pricemode",
  32519. "tradedate",
  32520. "validtype"
  32521. ],
  32522. "properties": {
  32523. "accountid": {
  32524. "description": "账户ID[报价币种]",
  32525. "type": "integer"
  32526. },
  32527. "buildtype": {
  32528. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  32529. "type": "integer"
  32530. },
  32531. "buyorsell": {
  32532. "description": "买卖 - 0:买 1:卖",
  32533. "type": "integer"
  32534. },
  32535. "cancelorderid": {
  32536. "description": "撤单单号(撤单时填写)",
  32537. "type": "string"
  32538. },
  32539. "cancelqty": {
  32540. "description": "撤单数量",
  32541. "type": "number"
  32542. },
  32543. "clientordertime": {
  32544. "description": "客户端委托时间",
  32545. "type": "string"
  32546. },
  32547. "clientticket": {
  32548. "description": "客户端流水号",
  32549. "type": "string"
  32550. },
  32551. "clienttype": {
  32552. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  32553. "type": "integer"
  32554. },
  32555. "closeexchagechargevalue": {
  32556. "description": "平仓交易所手续费设置值",
  32557. "type": "number"
  32558. },
  32559. "closefeealgorithm": {
  32560. "description": "平仓手续费收取方式 1:比率 2:固定",
  32561. "type": "integer"
  32562. },
  32563. "closefreezecharge": {
  32564. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  32565. "type": "number"
  32566. },
  32567. "closememberchargevalue": {
  32568. "description": "平仓会员手续费设置值",
  32569. "type": "number"
  32570. },
  32571. "closeqty": {
  32572. "description": "平仓数量(先建后平操作 需要记录)",
  32573. "type": "number"
  32574. },
  32575. "closetradeqty": {
  32576. "description": "平仓成交数量(先建后平操作,需要记录)",
  32577. "type": "number"
  32578. },
  32579. "closeunfreezecharge": {
  32580. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  32581. "type": "number"
  32582. },
  32583. "decimalplace": {
  32584. "description": "商品报价小数位",
  32585. "type": "integer"
  32586. },
  32587. "delistingtype": {
  32588. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  32589. "type": "integer"
  32590. },
  32591. "enumdicname": {
  32592. "description": "单位名称",
  32593. "type": "string"
  32594. },
  32595. "freezecharge": {
  32596. "description": "冻结手续费",
  32597. "type": "number"
  32598. },
  32599. "freezemargin": {
  32600. "description": "冻结保证金(冻结交易金额)",
  32601. "type": "number"
  32602. },
  32603. "gcaccountid": {
  32604. "description": "账户ID[合约币种]",
  32605. "type": "integer"
  32606. },
  32607. "goodscode": {
  32608. "description": "商品代码",
  32609. "type": "string"
  32610. },
  32611. "goodsid": {
  32612. "description": "商品ID",
  32613. "type": "integer"
  32614. },
  32615. "goodsname": {
  32616. "description": "商品名称",
  32617. "type": "string"
  32618. },
  32619. "goodunitid": {
  32620. "description": "商品单位id",
  32621. "type": "integer"
  32622. },
  32623. "histradedate": {
  32624. "description": "历史交易日",
  32625. "type": "string"
  32626. },
  32627. "isconfirmexercise": {
  32628. "description": "是否确认行权- 0:否 1:是",
  32629. "type": "integer"
  32630. },
  32631. "ispreexercise": {
  32632. "description": "是否预申报- 0:否 1:是",
  32633. "type": "integer"
  32634. },
  32635. "isvaliddata": {
  32636. "description": "是否有效 - 0:无效 1:有效",
  32637. "type": "integer"
  32638. },
  32639. "listingselecttype": {
  32640. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  32641. "type": "integer"
  32642. },
  32643. "marginalgorithm": {
  32644. "description": "保证金收取方式 1:比率 2:固定",
  32645. "type": "integer"
  32646. },
  32647. "marginvalue": {
  32648. "description": "即市保证金设置值",
  32649. "type": "number"
  32650. },
  32651. "marketid": {
  32652. "description": "市场ID",
  32653. "type": "integer"
  32654. },
  32655. "marketmaxsub": {
  32656. "description": "市价最大偏移范围",
  32657. "type": "number"
  32658. },
  32659. "marketname": {
  32660. "description": "市场名称",
  32661. "type": "string"
  32662. },
  32663. "memberuserid": {
  32664. "description": "所属会员UserID",
  32665. "type": "integer"
  32666. },
  32667. "openexchagechargevalue": {
  32668. "description": "建仓交易所手续费设置值",
  32669. "type": "number"
  32670. },
  32671. "openfeealgorithm": {
  32672. "description": "建仓手续费收取方式 1:比率 2:固定",
  32673. "type": "integer"
  32674. },
  32675. "openfreezecharge": {
  32676. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  32677. "type": "number"
  32678. },
  32679. "openmemberchargevalue": {
  32680. "description": "建仓会员手续费设置值",
  32681. "type": "number"
  32682. },
  32683. "openqty": {
  32684. "description": "开仓数量(先建后平操作,需要记录)",
  32685. "type": "number"
  32686. },
  32687. "opentradeqty": {
  32688. "description": "开仓成交数量(先建后平操作,需要记录)",
  32689. "type": "number"
  32690. },
  32691. "openunfreezecharge": {
  32692. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  32693. "type": "number"
  32694. },
  32695. "operatetype": {
  32696. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  32697. "type": "integer"
  32698. },
  32699. "operatorid": {
  32700. "description": "登录账号(LoginID)",
  32701. "type": "integer"
  32702. },
  32703. "optiontype": {
  32704. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  32705. "type": "integer"
  32706. },
  32707. "orderid": {
  32708. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32709. "type": "string"
  32710. },
  32711. "orderprice": {
  32712. "description": "委托价格",
  32713. "type": "number"
  32714. },
  32715. "orderqty": {
  32716. "description": "委托数量",
  32717. "type": "number"
  32718. },
  32719. "ordersrc": {
  32720. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  32721. "type": "integer"
  32722. },
  32723. "orderstatus": {
  32724. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  32725. "type": "integer"
  32726. },
  32727. "ordertime": {
  32728. "description": "委托时间",
  32729. "type": "string"
  32730. },
  32731. "preexerciseprice": {
  32732. "description": "预申报价格",
  32733. "type": "number"
  32734. },
  32735. "premium": {
  32736. "description": "权利金",
  32737. "type": "number"
  32738. },
  32739. "preorderid": {
  32740. "description": "关联预埋单号(止盈止损单时填写)",
  32741. "type": "string"
  32742. },
  32743. "pricemode": {
  32744. "description": "取价方式 - 1:市价 2: 限价",
  32745. "type": "integer"
  32746. },
  32747. "qtydecimalplace": {
  32748. "description": "成交量小数位",
  32749. "type": "integer"
  32750. },
  32751. "quoteid": {
  32752. "description": "报价单ID",
  32753. "type": "integer"
  32754. },
  32755. "relatedid": {
  32756. "description": "关联单号(交割单)",
  32757. "type": "string"
  32758. },
  32759. "retcode": {
  32760. "description": "错误代码",
  32761. "type": "integer"
  32762. },
  32763. "sessionid": {
  32764. "description": "会话ID",
  32765. "type": "integer"
  32766. },
  32767. "tradedate": {
  32768. "description": "交易日(yyyyMMdd)",
  32769. "type": "string"
  32770. },
  32771. "trademode": {
  32772. "description": "交易模式",
  32773. "type": "integer"
  32774. },
  32775. "tradeproperty": {
  32776. "description": "交易属性",
  32777. "type": "integer"
  32778. },
  32779. "tradeqty": {
  32780. "description": "成交数量",
  32781. "type": "number"
  32782. },
  32783. "unfreezecharge": {
  32784. "description": "解冻手续费",
  32785. "type": "number"
  32786. },
  32787. "unfreezemargin": {
  32788. "description": "解冻保证金",
  32789. "type": "number"
  32790. },
  32791. "updatetime": {
  32792. "description": "更新时间",
  32793. "type": "string"
  32794. },
  32795. "uuid": {
  32796. "description": "发起端唯一id",
  32797. "type": "string"
  32798. },
  32799. "validtime": {
  32800. "description": "有效期限",
  32801. "type": "string"
  32802. },
  32803. "validtype": {
  32804. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  32805. "type": "integer"
  32806. },
  32807. "volumetype": {
  32808. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  32809. "type": "integer"
  32810. }
  32811. }
  32812. },
  32813. "order.QueryTradeDetailRsp": {
  32814. "type": "object",
  32815. "required": [
  32816. "accountid",
  32817. "buyorsell",
  32818. "goodsid",
  32819. "marketid",
  32820. "memberuserid",
  32821. "orderid",
  32822. "tradeamount",
  32823. "tradedate",
  32824. "tradeid",
  32825. "tradeprice",
  32826. "tradeqty",
  32827. "tradetime"
  32828. ],
  32829. "properties": {
  32830. "accountid": {
  32831. "description": "账户ID[报价币种]",
  32832. "type": "integer"
  32833. },
  32834. "advanceratio": {
  32835. "description": "首付比率",
  32836. "type": "number"
  32837. },
  32838. "buildtype": {
  32839. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  32840. "type": "integer"
  32841. },
  32842. "buyorsell": {
  32843. "description": "方向 - 0:买 1:卖",
  32844. "type": "integer"
  32845. },
  32846. "charge": {
  32847. "description": "手续费",
  32848. "type": "number"
  32849. },
  32850. "closecharge": {
  32851. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  32852. "type": "number"
  32853. },
  32854. "closeexchagechargevalue": {
  32855. "description": "平仓交易所手续费设置值",
  32856. "type": "number"
  32857. },
  32858. "closefeealgorithm": {
  32859. "description": "平仓手续费收取方式 1:比率 2:固定",
  32860. "type": "integer"
  32861. },
  32862. "closememberchargevalue": {
  32863. "description": "平仓会员手续费设置值",
  32864. "type": "number"
  32865. },
  32866. "closepl": {
  32867. "description": "平仓盈亏",
  32868. "type": "number"
  32869. },
  32870. "closepl2": {
  32871. "description": "平仓盈亏[逐笔]",
  32872. "type": "number"
  32873. },
  32874. "closeqty": {
  32875. "description": "平仓数量(先建后平操作 需要记录)",
  32876. "type": "number"
  32877. },
  32878. "creditamount": {
  32879. "description": "授信金额",
  32880. "type": "number"
  32881. },
  32882. "decimalplace": {
  32883. "description": "商品报价小数位",
  32884. "type": "integer"
  32885. },
  32886. "enumdicname": {
  32887. "description": "单位名称",
  32888. "type": "string"
  32889. },
  32890. "gcaccountid": {
  32891. "description": "账户ID[合约币种]",
  32892. "type": "integer"
  32893. },
  32894. "goodscode": {
  32895. "description": "商品代码",
  32896. "type": "string"
  32897. },
  32898. "goodsid": {
  32899. "description": "商品ID",
  32900. "type": "integer"
  32901. },
  32902. "goodsname": {
  32903. "description": "商品名称",
  32904. "type": "string"
  32905. },
  32906. "goodunitid": {
  32907. "description": "商品单位id",
  32908. "type": "integer"
  32909. },
  32910. "intclosepl": {
  32911. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  32912. "type": "integer"
  32913. },
  32914. "isconfirmexercise": {
  32915. "description": "是否确认行权- 0:否 1:是",
  32916. "type": "integer"
  32917. },
  32918. "ismain": {
  32919. "description": "是否主单 - 0:不是 1:是",
  32920. "type": "integer"
  32921. },
  32922. "ispreexercise": {
  32923. "description": "是否预申报- 0:否 1:是",
  32924. "type": "integer"
  32925. },
  32926. "isreckoned": {
  32927. "description": "是否结算 - 0:未结算 1:已结算",
  32928. "type": "integer"
  32929. },
  32930. "listingselecttype": {
  32931. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  32932. "type": "integer"
  32933. },
  32934. "marketid": {
  32935. "description": "市场ID",
  32936. "type": "integer"
  32937. },
  32938. "marketname": {
  32939. "description": "市场名称",
  32940. "type": "string"
  32941. },
  32942. "matchaccountid": {
  32943. "description": "对手账号id",
  32944. "type": "integer"
  32945. },
  32946. "memberuserid": {
  32947. "description": "会员id 个人投资者 需要填写",
  32948. "type": "integer"
  32949. },
  32950. "opencharge": {
  32951. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  32952. "type": "number"
  32953. },
  32954. "openexchagechargevalue": {
  32955. "description": "建仓交易所手续费设置值",
  32956. "type": "number"
  32957. },
  32958. "openfeealgorithm": {
  32959. "description": "建仓手续费收取方式 1:比率 2:固定",
  32960. "type": "integer"
  32961. },
  32962. "openmemberchargevalue": {
  32963. "description": "建仓会员手续费设置值",
  32964. "type": "number"
  32965. },
  32966. "openqty": {
  32967. "description": "开仓数量(先建后平操作 需要记录)",
  32968. "type": "number"
  32969. },
  32970. "optiontype": {
  32971. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  32972. "type": "integer"
  32973. },
  32974. "orderid": {
  32975. "description": "委托单号",
  32976. "type": "string"
  32977. },
  32978. "payamount": {
  32979. "description": "支付金额(付款金额)",
  32980. "type": "number"
  32981. },
  32982. "performanceplanid": {
  32983. "description": "履约计划ID[期权]",
  32984. "type": "integer"
  32985. },
  32986. "performancestatus": {
  32987. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  32988. "type": "integer"
  32989. },
  32990. "preexerciseprice": {
  32991. "description": "预申报价格",
  32992. "type": "number"
  32993. },
  32994. "premium": {
  32995. "description": "权利金 - [持仓单的权利金]",
  32996. "type": "number"
  32997. },
  32998. "qtydecimalplace": {
  32999. "description": "商品报价小数位",
  33000. "type": "integer"
  33001. },
  33002. "recvamount": {
  33003. "description": "到账金额 = 成交金额 - 手续费",
  33004. "type": "number"
  33005. },
  33006. "relatedouttradeid": {
  33007. "description": "关联外部成交单ID",
  33008. "type": "integer"
  33009. },
  33010. "status": {
  33011. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  33012. "type": "integer"
  33013. },
  33014. "totalamount": {
  33015. "description": "订单总额 = 成交金额 + 手续费",
  33016. "type": "number"
  33017. },
  33018. "tradeamount": {
  33019. "description": "成交金额[账户币种,用于所有权]",
  33020. "type": "number"
  33021. },
  33022. "tradedate": {
  33023. "description": "交易日(yyyyMMdd)",
  33024. "type": "string"
  33025. },
  33026. "tradeid": {
  33027. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33028. "type": "string"
  33029. },
  33030. "trademode": {
  33031. "description": "交易模式",
  33032. "type": "integer"
  33033. },
  33034. "tradeprice": {
  33035. "description": "成交价格",
  33036. "type": "number"
  33037. },
  33038. "tradeproperty": {
  33039. "description": "交易属性",
  33040. "type": "integer"
  33041. },
  33042. "tradeqty": {
  33043. "description": "成交数量",
  33044. "type": "number"
  33045. },
  33046. "tradetime": {
  33047. "description": "成交时间",
  33048. "type": "string"
  33049. },
  33050. "tradetype": {
  33051. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  33052. "type": "integer"
  33053. }
  33054. }
  33055. },
  33056. "order.QueryTradeOrderDetailRsp": {
  33057. "type": "object",
  33058. "required": [
  33059. "accountid",
  33060. "buildtype",
  33061. "buyorsell",
  33062. "goodsid",
  33063. "marketid",
  33064. "operatetype",
  33065. "orderqty",
  33066. "ordertime",
  33067. "pricemode",
  33068. "tradedate",
  33069. "validtype"
  33070. ],
  33071. "properties": {
  33072. "accountid": {
  33073. "description": "账户ID[报价币种]",
  33074. "type": "integer"
  33075. },
  33076. "buildtype": {
  33077. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  33078. "type": "integer"
  33079. },
  33080. "buyorsell": {
  33081. "description": "买卖 - 0:买 1:卖",
  33082. "type": "integer"
  33083. },
  33084. "cancelorderid": {
  33085. "description": "撤单单号(撤单时填写)",
  33086. "type": "string"
  33087. },
  33088. "cancelqty": {
  33089. "description": "撤单数量",
  33090. "type": "number"
  33091. },
  33092. "clienttype": {
  33093. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  33094. "type": "integer"
  33095. },
  33096. "closefreezecharge": {
  33097. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  33098. "type": "number"
  33099. },
  33100. "closeqty": {
  33101. "description": "平仓数量(先建后平操作 需要记录)",
  33102. "type": "number"
  33103. },
  33104. "closetradeqty": {
  33105. "description": "平仓成交数量(先建后平操作,需要记录)",
  33106. "type": "number"
  33107. },
  33108. "closeunfreezecharge": {
  33109. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  33110. "type": "number"
  33111. },
  33112. "decimalplace": {
  33113. "description": "商品报价小数位",
  33114. "type": "integer"
  33115. },
  33116. "delistingtype": {
  33117. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  33118. "type": "integer"
  33119. },
  33120. "enableqty": {
  33121. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  33122. "type": "number"
  33123. },
  33124. "enumdicname": {
  33125. "description": "单位名称",
  33126. "type": "string"
  33127. },
  33128. "freezecharge": {
  33129. "description": "冻结手续费",
  33130. "type": "number"
  33131. },
  33132. "freezemargin": {
  33133. "description": "冻结保证金(冻结交易金额)",
  33134. "type": "number"
  33135. },
  33136. "goodscode": {
  33137. "description": "商品代码",
  33138. "type": "string"
  33139. },
  33140. "goodsid": {
  33141. "description": "商品ID",
  33142. "type": "integer"
  33143. },
  33144. "goodsname": {
  33145. "description": "商品名称",
  33146. "type": "string"
  33147. },
  33148. "goodunitid": {
  33149. "description": "商品单位id",
  33150. "type": "integer"
  33151. },
  33152. "listingselecttype": {
  33153. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  33154. "type": "integer"
  33155. },
  33156. "marketid": {
  33157. "description": "市场ID",
  33158. "type": "integer"
  33159. },
  33160. "marketname": {
  33161. "description": "市场名称",
  33162. "type": "string"
  33163. },
  33164. "openfreezecharge": {
  33165. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  33166. "type": "number"
  33167. },
  33168. "openqty": {
  33169. "description": "开仓数量(先建后平操作,需要记录)",
  33170. "type": "number"
  33171. },
  33172. "opentradeqty": {
  33173. "description": "开仓成交数量(先建后平操作,需要记录)",
  33174. "type": "number"
  33175. },
  33176. "openunfreezecharge": {
  33177. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  33178. "type": "number"
  33179. },
  33180. "operatetype": {
  33181. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  33182. "type": "integer"
  33183. },
  33184. "operatorid": {
  33185. "description": "登录账号(LoginID)",
  33186. "type": "integer"
  33187. },
  33188. "orderid": {
  33189. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33190. "type": "string"
  33191. },
  33192. "orderprice": {
  33193. "description": "委托价格",
  33194. "type": "number"
  33195. },
  33196. "orderqty": {
  33197. "description": "委托数量",
  33198. "type": "number"
  33199. },
  33200. "ordersrc": {
  33201. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  33202. "type": "integer"
  33203. },
  33204. "orderstatus": {
  33205. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  33206. "type": "integer"
  33207. },
  33208. "ordertime": {
  33209. "description": "委托时间",
  33210. "type": "string"
  33211. },
  33212. "preorderid": {
  33213. "description": "关联预埋单号(止盈止损单时填写)",
  33214. "type": "string"
  33215. },
  33216. "pricemode": {
  33217. "description": "取价方式 - 1:市价 2: 限价",
  33218. "type": "integer"
  33219. },
  33220. "qtydecimalplace": {
  33221. "description": "商品报价小数位",
  33222. "type": "integer"
  33223. },
  33224. "relatedid": {
  33225. "description": "关联单号(交割单)",
  33226. "type": "string"
  33227. },
  33228. "tradedate": {
  33229. "description": "交易日(yyyyMMdd)",
  33230. "type": "string"
  33231. },
  33232. "trademode": {
  33233. "description": "交易模式",
  33234. "type": "integer"
  33235. },
  33236. "tradeqty": {
  33237. "description": "成交数量",
  33238. "type": "number"
  33239. },
  33240. "unfreezecharge": {
  33241. "description": "解冻手续费",
  33242. "type": "number"
  33243. },
  33244. "unfreezemargin": {
  33245. "description": "解冻保证金",
  33246. "type": "number"
  33247. },
  33248. "validtime": {
  33249. "description": "有效期限",
  33250. "type": "string"
  33251. },
  33252. "validtype": {
  33253. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  33254. "type": "integer"
  33255. },
  33256. "volumetype": {
  33257. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  33258. "type": "integer"
  33259. }
  33260. }
  33261. },
  33262. "order.QueryTradePositionRsp": {
  33263. "type": "object",
  33264. "required": [
  33265. "goodsid"
  33266. ],
  33267. "properties": {
  33268. "accountid": {
  33269. "description": "资金账户",
  33270. "type": "integer"
  33271. },
  33272. "agreeunit": {
  33273. "description": "合约单位",
  33274. "type": "number"
  33275. },
  33276. "averageprice": {
  33277. "description": "持仓均价",
  33278. "type": "number"
  33279. },
  33280. "buyorsell": {
  33281. "description": "方向 - 0:买 1:卖",
  33282. "type": "integer"
  33283. },
  33284. "closetotalqty": {
  33285. "description": "平仓总数量",
  33286. "type": "number"
  33287. },
  33288. "curholderamount": {
  33289. "description": "当前持仓总金额[商品币种]",
  33290. "type": "number"
  33291. },
  33292. "curpositionqty": {
  33293. "description": "当前持仓总数量",
  33294. "type": "number"
  33295. },
  33296. "currencyid": {
  33297. "description": "报价货币ID",
  33298. "type": "integer"
  33299. },
  33300. "curtdposition": {
  33301. "description": "期末今日头寸",
  33302. "type": "number"
  33303. },
  33304. "decimalplace": {
  33305. "description": "报价小数位",
  33306. "type": "integer"
  33307. },
  33308. "enableqty": {
  33309. "description": "可用量",
  33310. "type": "number"
  33311. },
  33312. "fretdposition": {
  33313. "description": "冻结今日头寸",
  33314. "type": "number"
  33315. },
  33316. "frozenqty": {
  33317. "description": "持仓冻结数量",
  33318. "type": "number"
  33319. },
  33320. "goodscode": {
  33321. "description": "商品代码",
  33322. "type": "string"
  33323. },
  33324. "goodsid": {
  33325. "description": "商品Id",
  33326. "type": "integer"
  33327. },
  33328. "goodsname": {
  33329. "description": "商品名称",
  33330. "type": "string"
  33331. },
  33332. "goodunit": {
  33333. "description": "报价单位",
  33334. "type": "string"
  33335. },
  33336. "goodunitid": {
  33337. "description": "报价单位ID",
  33338. "type": "integer"
  33339. },
  33340. "holderamount": {
  33341. "description": "期初持仓总金额[商品币种]",
  33342. "type": "number"
  33343. },
  33344. "lastprice": {
  33345. "description": "最新价",
  33346. "type": "number"
  33347. },
  33348. "marketamount": {
  33349. "description": "市值",
  33350. "type": "number"
  33351. },
  33352. "marketid": {
  33353. "description": "所属市场ID",
  33354. "type": "integer"
  33355. },
  33356. "openreqqty": {
  33357. "description": "开仓申请数量(用于比较最大持仓数量)",
  33358. "type": "number"
  33359. },
  33360. "opentotalqty": {
  33361. "description": "开仓总数量",
  33362. "type": "number"
  33363. },
  33364. "otherfrozenqty": {
  33365. "description": "持仓其他冻结数量(交割冻结)",
  33366. "type": "number"
  33367. },
  33368. "positionpl": {
  33369. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  33370. "type": "number"
  33371. },
  33372. "positionplrate": {
  33373. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  33374. "type": "number"
  33375. },
  33376. "positionqty": {
  33377. "description": "期初持仓数量",
  33378. "type": "number"
  33379. },
  33380. "qtydecimalplace": {
  33381. "description": "成交量小数位",
  33382. "type": "integer"
  33383. },
  33384. "tnqty": {
  33385. "description": "T+N冻结总量",
  33386. "type": "number"
  33387. },
  33388. "tnusedqty": {
  33389. "description": "T+N使用量(可以使用T+N的冻结数量)",
  33390. "type": "number"
  33391. },
  33392. "trademode": {
  33393. "description": "交易模式",
  33394. "type": "integer"
  33395. },
  33396. "usedmargin": {
  33397. "description": "占用保证金[商品币种]",
  33398. "type": "number"
  33399. }
  33400. }
  33401. },
  33402. "quote.HistoryData": {
  33403. "type": "object",
  33404. "properties": {
  33405. "c": {
  33406. "description": "收盘价",
  33407. "type": "number"
  33408. },
  33409. "f": {
  33410. "description": "是否补充数据",
  33411. "type": "boolean"
  33412. },
  33413. "h": {
  33414. "description": "最高价",
  33415. "type": "number"
  33416. },
  33417. "hv": {
  33418. "description": "持仓量",
  33419. "type": "integer"
  33420. },
  33421. "l": {
  33422. "description": "最低价",
  33423. "type": "number"
  33424. },
  33425. "o": {
  33426. "description": "开盘价",
  33427. "type": "number"
  33428. },
  33429. "s": {
  33430. "description": "结算价,日线周期(包括)以上才有",
  33431. "type": "number"
  33432. },
  33433. "ts": {
  33434. "description": "时间",
  33435. "type": "string"
  33436. },
  33437. "tt": {
  33438. "description": "总金额",
  33439. "type": "number"
  33440. },
  33441. "tv": {
  33442. "description": "总量",
  33443. "type": "integer"
  33444. }
  33445. }
  33446. },
  33447. "quote.HistoryTikData": {
  33448. "type": "object",
  33449. "properties": {
  33450. "AV": {
  33451. "description": "卖量",
  33452. "type": "integer"
  33453. },
  33454. "Ask": {
  33455. "description": "卖价",
  33456. "type": "number"
  33457. },
  33458. "BV": {
  33459. "description": "买量",
  33460. "type": "integer"
  33461. },
  33462. "Bid": {
  33463. "description": "买价",
  33464. "type": "number"
  33465. },
  33466. "HI": {
  33467. "description": "单笔持仓",
  33468. "type": "integer"
  33469. },
  33470. "HV": {
  33471. "description": "持仓量",
  33472. "type": "integer"
  33473. },
  33474. "PE": {
  33475. "description": "现价",
  33476. "type": "number"
  33477. },
  33478. "TDR": {
  33479. "description": "交易方向,0:买 1:卖",
  33480. "type": "integer"
  33481. },
  33482. "TK": {
  33483. "description": "交易类型",
  33484. "type": "integer"
  33485. },
  33486. "TS": {
  33487. "description": "行情时间文本",
  33488. "type": "string"
  33489. },
  33490. "TT": {
  33491. "description": "现金额",
  33492. "type": "number"
  33493. },
  33494. "Vol": {
  33495. "description": "现量",
  33496. "type": "integer"
  33497. }
  33498. }
  33499. },
  33500. "quote.QueryQuoteDayRsp": {
  33501. "type": "object",
  33502. "properties": {
  33503. "ask": {
  33504. "description": "卖1",
  33505. "type": "number"
  33506. },
  33507. "ask10": {
  33508. "description": "卖10",
  33509. "type": "number"
  33510. },
  33511. "ask2": {
  33512. "description": "卖2",
  33513. "type": "number"
  33514. },
  33515. "ask3": {
  33516. "description": "卖3",
  33517. "type": "number"
  33518. },
  33519. "ask4": {
  33520. "description": "卖4",
  33521. "type": "number"
  33522. },
  33523. "ask5": {
  33524. "description": "卖5",
  33525. "type": "number"
  33526. },
  33527. "ask6": {
  33528. "description": "卖6",
  33529. "type": "number"
  33530. },
  33531. "ask7": {
  33532. "description": "卖7",
  33533. "type": "number"
  33534. },
  33535. "ask8": {
  33536. "description": "卖8",
  33537. "type": "number"
  33538. },
  33539. "ask9": {
  33540. "description": "卖9",
  33541. "type": "number"
  33542. },
  33543. "askorderid": {
  33544. "description": "卖单号1",
  33545. "type": "integer"
  33546. },
  33547. "askorderid2": {
  33548. "description": "卖单号2",
  33549. "type": "integer"
  33550. },
  33551. "askorderid3": {
  33552. "description": "卖单号3",
  33553. "type": "integer"
  33554. },
  33555. "askorderid4": {
  33556. "description": "卖单号4",
  33557. "type": "integer"
  33558. },
  33559. "askorderid5": {
  33560. "description": "卖单号5",
  33561. "type": "integer"
  33562. },
  33563. "askordervolume": {
  33564. "description": "卖单量1",
  33565. "type": "integer"
  33566. },
  33567. "askordervolume10": {
  33568. "description": "卖单量10",
  33569. "type": "integer"
  33570. },
  33571. "askordervolume2": {
  33572. "description": "卖单量2",
  33573. "type": "integer"
  33574. },
  33575. "askordervolume3": {
  33576. "description": "卖单量3",
  33577. "type": "integer"
  33578. },
  33579. "askordervolume4": {
  33580. "description": "卖单量4",
  33581. "type": "integer"
  33582. },
  33583. "askordervolume5": {
  33584. "description": "卖单量5",
  33585. "type": "integer"
  33586. },
  33587. "askordervolume6": {
  33588. "description": "卖单量6",
  33589. "type": "integer"
  33590. },
  33591. "askordervolume7": {
  33592. "description": "卖单量7",
  33593. "type": "integer"
  33594. },
  33595. "askordervolume8": {
  33596. "description": "卖单量8",
  33597. "type": "integer"
  33598. },
  33599. "askordervolume9": {
  33600. "description": "卖单量9",
  33601. "type": "integer"
  33602. },
  33603. "askqueueinfo": {
  33604. "description": "大利市卖港股用",
  33605. "type": "string"
  33606. },
  33607. "askvolume": {
  33608. "description": "卖量1",
  33609. "type": "integer"
  33610. },
  33611. "askvolume10": {
  33612. "description": "卖量10",
  33613. "type": "integer"
  33614. },
  33615. "askvolume2": {
  33616. "description": "卖量2",
  33617. "type": "integer"
  33618. },
  33619. "askvolume3": {
  33620. "description": "卖量3",
  33621. "type": "integer"
  33622. },
  33623. "askvolume4": {
  33624. "description": "卖量4",
  33625. "type": "integer"
  33626. },
  33627. "askvolume5": {
  33628. "description": "卖量5",
  33629. "type": "integer"
  33630. },
  33631. "askvolume6": {
  33632. "description": "卖量6",
  33633. "type": "integer"
  33634. },
  33635. "askvolume7": {
  33636. "description": "卖量7",
  33637. "type": "integer"
  33638. },
  33639. "askvolume8": {
  33640. "description": "卖量8",
  33641. "type": "integer"
  33642. },
  33643. "askvolume9": {
  33644. "description": "卖量9",
  33645. "type": "integer"
  33646. },
  33647. "averageprice": {
  33648. "description": "均价",
  33649. "type": "number"
  33650. },
  33651. "bid": {
  33652. "description": "买1",
  33653. "type": "number"
  33654. },
  33655. "bid10": {
  33656. "description": "买10",
  33657. "type": "number"
  33658. },
  33659. "bid2": {
  33660. "description": "买2",
  33661. "type": "number"
  33662. },
  33663. "bid3": {
  33664. "description": "买3",
  33665. "type": "number"
  33666. },
  33667. "bid4": {
  33668. "description": "买4",
  33669. "type": "number"
  33670. },
  33671. "bid5": {
  33672. "description": "买5",
  33673. "type": "number"
  33674. },
  33675. "bid6": {
  33676. "description": "买6",
  33677. "type": "number"
  33678. },
  33679. "bid7": {
  33680. "description": "买7",
  33681. "type": "number"
  33682. },
  33683. "bid8": {
  33684. "description": "买8",
  33685. "type": "number"
  33686. },
  33687. "bid9": {
  33688. "description": "买9",
  33689. "type": "number"
  33690. },
  33691. "bidorderid": {
  33692. "description": "买单号1",
  33693. "type": "integer"
  33694. },
  33695. "bidorderid2": {
  33696. "description": "买单号2",
  33697. "type": "integer"
  33698. },
  33699. "bidorderid3": {
  33700. "description": "买单号3",
  33701. "type": "integer"
  33702. },
  33703. "bidorderid4": {
  33704. "description": "买单号4",
  33705. "type": "integer"
  33706. },
  33707. "bidorderid5": {
  33708. "description": "买单号5",
  33709. "type": "integer"
  33710. },
  33711. "bidordervolume": {
  33712. "description": "买单量1",
  33713. "type": "integer"
  33714. },
  33715. "bidordervolume10": {
  33716. "description": "买单量10",
  33717. "type": "integer"
  33718. },
  33719. "bidordervolume2": {
  33720. "description": "买单量2",
  33721. "type": "integer"
  33722. },
  33723. "bidordervolume3": {
  33724. "description": "买单量3",
  33725. "type": "integer"
  33726. },
  33727. "bidordervolume4": {
  33728. "description": "买单量4",
  33729. "type": "integer"
  33730. },
  33731. "bidordervolume5": {
  33732. "description": "买单量5",
  33733. "type": "integer"
  33734. },
  33735. "bidordervolume6": {
  33736. "description": "买单量6",
  33737. "type": "integer"
  33738. },
  33739. "bidordervolume7": {
  33740. "description": "买单量7",
  33741. "type": "integer"
  33742. },
  33743. "bidordervolume8": {
  33744. "description": "买单量8",
  33745. "type": "integer"
  33746. },
  33747. "bidordervolume9": {
  33748. "description": "买单量9",
  33749. "type": "integer"
  33750. },
  33751. "bidqueueinfo": {
  33752. "description": "大利市买港股用",
  33753. "type": "string"
  33754. },
  33755. "bidvolume": {
  33756. "description": "买量1",
  33757. "type": "integer"
  33758. },
  33759. "bidvolume10": {
  33760. "description": "买量10",
  33761. "type": "integer"
  33762. },
  33763. "bidvolume2": {
  33764. "description": "买量2",
  33765. "type": "integer"
  33766. },
  33767. "bidvolume3": {
  33768. "description": "买量3",
  33769. "type": "integer"
  33770. },
  33771. "bidvolume4": {
  33772. "description": "买量4",
  33773. "type": "integer"
  33774. },
  33775. "bidvolume5": {
  33776. "description": "买量5",
  33777. "type": "integer"
  33778. },
  33779. "bidvolume6": {
  33780. "description": "买量6",
  33781. "type": "integer"
  33782. },
  33783. "bidvolume7": {
  33784. "description": "买量7",
  33785. "type": "integer"
  33786. },
  33787. "bidvolume8": {
  33788. "description": "买量8",
  33789. "type": "integer"
  33790. },
  33791. "bidvolume9": {
  33792. "description": "买量9",
  33793. "type": "integer"
  33794. },
  33795. "calloptionpremiums": {
  33796. "description": "认购期权1",
  33797. "type": "integer"
  33798. },
  33799. "calloptionpremiums2": {
  33800. "description": "认购期权2",
  33801. "type": "integer"
  33802. },
  33803. "calloptionpremiums3": {
  33804. "description": "认购期权3",
  33805. "type": "integer"
  33806. },
  33807. "calloptionpremiums4": {
  33808. "description": "认购期权4",
  33809. "type": "integer"
  33810. },
  33811. "calloptionpremiums5": {
  33812. "description": "认购期权5",
  33813. "type": "integer"
  33814. },
  33815. "cleartime": {
  33816. "description": "清盘时间",
  33817. "type": "integer"
  33818. },
  33819. "exchangecode": {
  33820. "description": "交易所代码",
  33821. "type": "integer"
  33822. },
  33823. "exchangedate": {
  33824. "description": "交易日",
  33825. "type": "integer"
  33826. },
  33827. "goodscode": {
  33828. "description": "商品代码",
  33829. "type": "string"
  33830. },
  33831. "grepmarketprice": {
  33832. "description": "暗盘价 港股专用",
  33833. "type": "number"
  33834. },
  33835. "highest": {
  33836. "description": "最高价",
  33837. "type": "number"
  33838. },
  33839. "holdincrement": {
  33840. "description": "单笔持仓",
  33841. "type": "integer"
  33842. },
  33843. "holdvolume": {
  33844. "description": "持仓",
  33845. "type": "integer"
  33846. },
  33847. "iep": {
  33848. "description": "平衡价 港股专用",
  33849. "type": "number"
  33850. },
  33851. "iev": {
  33852. "description": "平衡量 港股专用",
  33853. "type": "number"
  33854. },
  33855. "inventory": {
  33856. "description": "库存",
  33857. "type": "integer"
  33858. },
  33859. "iscleared": {
  33860. "description": "是否清盘标志",
  33861. "type": "integer"
  33862. },
  33863. "issettled": {
  33864. "description": "是否结算标志",
  33865. "type": "integer"
  33866. },
  33867. "last": {
  33868. "description": "最新价",
  33869. "type": "number"
  33870. },
  33871. "lastlot": {
  33872. "description": "最新成交手数",
  33873. "type": "integer"
  33874. },
  33875. "lasttime": {
  33876. "description": "行情时间(只有现价变化行情时间才变化)",
  33877. "type": "string"
  33878. },
  33879. "lastturnover": {
  33880. "description": "最新成交金额",
  33881. "type": "number"
  33882. },
  33883. "lastvolume": {
  33884. "description": "最新成交量",
  33885. "type": "integer"
  33886. },
  33887. "limitdown": {
  33888. "description": "跌停价",
  33889. "type": "number"
  33890. },
  33891. "limitup": {
  33892. "description": "涨停价",
  33893. "type": "number"
  33894. },
  33895. "lowest": {
  33896. "description": "最低价",
  33897. "type": "number"
  33898. },
  33899. "nontotalholdervolume": {
  33900. "description": "非交易持仓量",
  33901. "type": "integer"
  33902. },
  33903. "nontotallot": {
  33904. "description": "非交易总手数",
  33905. "type": "integer"
  33906. },
  33907. "nontotalturnover": {
  33908. "description": "非交易总金额",
  33909. "type": "integer"
  33910. },
  33911. "nontotalvolume": {
  33912. "description": "非交易总量",
  33913. "type": "integer"
  33914. },
  33915. "opened": {
  33916. "description": "开盘价",
  33917. "type": "number"
  33918. },
  33919. "opentime": {
  33920. "description": "开盘时间",
  33921. "type": "string"
  33922. },
  33923. "orderid": {
  33924. "description": "序号",
  33925. "type": "integer"
  33926. },
  33927. "preclose": {
  33928. "description": "昨收",
  33929. "type": "number"
  33930. },
  33931. "preholdvolume": {
  33932. "description": "昨持仓",
  33933. "type": "integer"
  33934. },
  33935. "presettle": {
  33936. "description": "昨结价",
  33937. "type": "number"
  33938. },
  33939. "publictradetype": {
  33940. "description": "公共交易标志类型 港股专用",
  33941. "type": "string"
  33942. },
  33943. "putoptionpremiums": {
  33944. "description": "认沽期权1",
  33945. "type": "integer"
  33946. },
  33947. "putoptionpremiums2": {
  33948. "description": "认沽期权2",
  33949. "type": "integer"
  33950. },
  33951. "putoptionpremiums3": {
  33952. "description": "认沽期权3",
  33953. "type": "integer"
  33954. },
  33955. "putoptionpremiums4": {
  33956. "description": "认沽期权4",
  33957. "type": "integer"
  33958. },
  33959. "putoptionpremiums5": {
  33960. "description": "认沽期权5",
  33961. "type": "integer"
  33962. },
  33963. "settle": {
  33964. "description": "结算价",
  33965. "type": "number"
  33966. },
  33967. "strikeprice": {
  33968. "description": "发行价",
  33969. "type": "number"
  33970. },
  33971. "totalaskvolume": {
  33972. "description": "内盘",
  33973. "type": "integer"
  33974. },
  33975. "totalbidvolume": {
  33976. "description": "外盘",
  33977. "type": "integer"
  33978. },
  33979. "totallot": {
  33980. "description": "总手数",
  33981. "type": "integer"
  33982. },
  33983. "totalturnover": {
  33984. "description": "总金额",
  33985. "type": "number"
  33986. },
  33987. "totalvolume": {
  33988. "description": "总量",
  33989. "type": "integer"
  33990. },
  33991. "utclasttime": {
  33992. "description": "utc的行情时间",
  33993. "type": "string"
  33994. }
  33995. }
  33996. },
  33997. "quote.QueryTSDataRsp": {
  33998. "type": "object",
  33999. "properties": {
  34000. "Count": {
  34001. "description": "交易日应有数据个数",
  34002. "type": "integer"
  34003. },
  34004. "decimalPlace": {
  34005. "description": "小数位",
  34006. "type": "integer"
  34007. },
  34008. "endTime": {
  34009. "description": "结束时间",
  34010. "type": "string"
  34011. },
  34012. "goodsCode": {
  34013. "description": "商品代码",
  34014. "type": "string"
  34015. },
  34016. "historyDatas": {
  34017. "description": "历史数据",
  34018. "type": "array",
  34019. "items": {
  34020. "$ref": "#/definitions/quote.HistoryData"
  34021. }
  34022. },
  34023. "outGoodsCode": {
  34024. "description": "外部商品代码",
  34025. "type": "string"
  34026. },
  34027. "preSettle": {
  34028. "description": "昨结价",
  34029. "type": "number"
  34030. },
  34031. "runSteps": {
  34032. "description": "交易日开休市计划",
  34033. "type": "array",
  34034. "items": {
  34035. "$ref": "#/definitions/quote.TSDataRunStep"
  34036. }
  34037. },
  34038. "startTime": {
  34039. "description": "开始时间",
  34040. "type": "string"
  34041. },
  34042. "tradeDate": {
  34043. "description": "交易日",
  34044. "type": "string"
  34045. }
  34046. }
  34047. },
  34048. "quote.TSDataRunStep": {
  34049. "type": "object",
  34050. "properties": {
  34051. "end": {
  34052. "description": "真实结束时间",
  34053. "type": "string"
  34054. },
  34055. "endflag": {
  34056. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  34057. "type": "integer"
  34058. },
  34059. "endtime": {
  34060. "description": "结束时间(HH:mm)",
  34061. "type": "string"
  34062. },
  34063. "endweekday": {
  34064. "description": "结束周几",
  34065. "type": "integer"
  34066. },
  34067. "groupid": {
  34068. "description": "分组ID",
  34069. "type": "integer"
  34070. },
  34071. "runstep": {
  34072. "description": "运行阶段 - 2:连续交易",
  34073. "type": "integer"
  34074. },
  34075. "sectionid": {
  34076. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  34077. "type": "integer"
  34078. },
  34079. "start": {
  34080. "description": "真实开始时间",
  34081. "type": "string"
  34082. },
  34083. "startflag": {
  34084. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  34085. "type": "integer"
  34086. },
  34087. "starttime": {
  34088. "description": "起始时间(HH:mm)",
  34089. "type": "string"
  34090. },
  34091. "startweekday": {
  34092. "description": "起始周几",
  34093. "type": "integer"
  34094. },
  34095. "tradeweekday": {
  34096. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  34097. "type": "integer"
  34098. }
  34099. }
  34100. },
  34101. "szdz.QueryConvertLogRsp": {
  34102. "type": "object",
  34103. "required": [
  34104. "logid"
  34105. ],
  34106. "properties": {
  34107. "accountid": {
  34108. "description": "资金账户ID",
  34109. "type": "integer"
  34110. },
  34111. "clientticket": {
  34112. "description": "客户端流水号",
  34113. "type": "string"
  34114. },
  34115. "converttype": {
  34116. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  34117. "type": "integer"
  34118. },
  34119. "createtime": {
  34120. "description": "记账时间",
  34121. "type": "string"
  34122. },
  34123. "daymaxvalue": {
  34124. "description": "配置当日最大转入限制",
  34125. "type": "number"
  34126. },
  34127. "daymaxvalue2": {
  34128. "description": "配置当日最大转入限制(转入)",
  34129. "type": "number"
  34130. },
  34131. "goodscode": {
  34132. "description": "商品代码",
  34133. "type": "string"
  34134. },
  34135. "goodsname": {
  34136. "description": "商品名称",
  34137. "type": "string"
  34138. },
  34139. "handlestatus": {
  34140. "description": "处理状态",
  34141. "type": "integer"
  34142. },
  34143. "innergoodsid": {
  34144. "description": "内部商品ID",
  34145. "type": "integer"
  34146. },
  34147. "inratio": {
  34148. "description": "配置转入比值",
  34149. "type": "integer"
  34150. },
  34151. "invalue": {
  34152. "description": "目标值",
  34153. "type": "number"
  34154. },
  34155. "logid": {
  34156. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34157. "type": "integer"
  34158. },
  34159. "mobile": {
  34160. "description": "手机号码(加密存储)",
  34161. "type": "string"
  34162. },
  34163. "outergoodscode": {
  34164. "description": "外部商品代码[JD\\PD]",
  34165. "type": "string"
  34166. },
  34167. "outratio": {
  34168. "description": "配置转出比值",
  34169. "type": "integer"
  34170. },
  34171. "outvalue": {
  34172. "description": "源值",
  34173. "type": "number"
  34174. },
  34175. "pddecimalplace": {
  34176. "description": "PD小数位",
  34177. "type": "integer"
  34178. },
  34179. "qty": {
  34180. "description": "数量",
  34181. "type": "string"
  34182. },
  34183. "remark": {
  34184. "description": "备注",
  34185. "type": "string"
  34186. },
  34187. "sessionid": {
  34188. "description": "会话ID",
  34189. "type": "integer"
  34190. },
  34191. "timemaxvalue": {
  34192. "description": "配置单次最大转入限制",
  34193. "type": "number"
  34194. },
  34195. "timemaxvalue2": {
  34196. "description": "配置单次最大转入限制(转入)",
  34197. "type": "number"
  34198. },
  34199. "timeminvalue": {
  34200. "description": "配置单次最小数量限制",
  34201. "type": "number"
  34202. },
  34203. "timeminvalue2": {
  34204. "description": "配置单次最小数量限制(转入)",
  34205. "type": "number"
  34206. },
  34207. "tradedate": {
  34208. "description": "交易日(yyyyMMdd)",
  34209. "type": "string"
  34210. },
  34211. "userid": {
  34212. "description": "用户ID",
  34213. "type": "integer"
  34214. }
  34215. }
  34216. },
  34217. "szdz.QueryGoodsPickupRsp": {
  34218. "type": "object",
  34219. "required": [
  34220. "takeorderid"
  34221. ],
  34222. "properties": {
  34223. "accountid": {
  34224. "description": "账户ID",
  34225. "type": "integer"
  34226. },
  34227. "address": {
  34228. "description": "提货人详细地址",
  34229. "type": "string"
  34230. },
  34231. "auditer": {
  34232. "description": "审核人",
  34233. "type": "integer"
  34234. },
  34235. "audittime": {
  34236. "description": "审核时间",
  34237. "type": "string"
  34238. },
  34239. "cardnum": {
  34240. "description": "提货人证件号码",
  34241. "type": "string"
  34242. },
  34243. "cardtypeid": {
  34244. "description": "提货人证件类型",
  34245. "type": "integer"
  34246. },
  34247. "checkremark": {
  34248. "description": "审核备注",
  34249. "type": "string"
  34250. },
  34251. "goodscode": {
  34252. "description": "商品代码",
  34253. "type": "string"
  34254. },
  34255. "goodsid": {
  34256. "description": "商品ID",
  34257. "type": "integer"
  34258. },
  34259. "goodsname": {
  34260. "description": "商品名称",
  34261. "type": "string"
  34262. },
  34263. "handlestatus": {
  34264. "description": "处理状态",
  34265. "type": "integer"
  34266. },
  34267. "marketid": {
  34268. "description": "市场ID",
  34269. "type": "integer"
  34270. },
  34271. "phonenum": {
  34272. "description": "提货人联系方式",
  34273. "type": "string"
  34274. },
  34275. "qty": {
  34276. "description": "提货数量",
  34277. "type": "number"
  34278. },
  34279. "recivername": {
  34280. "description": "提货人姓名",
  34281. "type": "string"
  34282. },
  34283. "reqtime": {
  34284. "description": "更新时间",
  34285. "type": "string"
  34286. },
  34287. "takemode": {
  34288. "description": "提货方式 - 2:自提 3:配送",
  34289. "type": "integer"
  34290. },
  34291. "takeorderid": {
  34292. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  34293. "type": "string"
  34294. },
  34295. "takeorderstatus": {
  34296. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  34297. "type": "integer"
  34298. },
  34299. "takeremark": {
  34300. "description": "提货备注",
  34301. "type": "string"
  34302. },
  34303. "tradedate": {
  34304. "description": "交易日(yyyyMMdd)",
  34305. "type": "string"
  34306. },
  34307. "userid": {
  34308. "description": "用户ID",
  34309. "type": "integer"
  34310. }
  34311. }
  34312. },
  34313. "szdz.QueryRecieptOrderRsp": {
  34314. "type": "object",
  34315. "required": [
  34316. "ordertime"
  34317. ],
  34318. "properties": {
  34319. "accountName": {
  34320. "description": "所属账号名称(已脱敏)",
  34321. "type": "string"
  34322. },
  34323. "accountid": {
  34324. "description": "资金账号",
  34325. "type": "integer"
  34326. },
  34327. "buyorsell": {
  34328. "description": "方向 - 0:买 1:卖",
  34329. "type": "integer"
  34330. },
  34331. "enableqty": {
  34332. "description": "可摘数量",
  34333. "type": "integer"
  34334. },
  34335. "goodscode": {
  34336. "description": "商品代码",
  34337. "type": "string"
  34338. },
  34339. "goodsid": {
  34340. "description": "商品ID",
  34341. "type": "integer"
  34342. },
  34343. "goodsname": {
  34344. "description": "商品名称",
  34345. "type": "string"
  34346. },
  34347. "orderid": {
  34348. "description": "委托单号",
  34349. "type": "string"
  34350. },
  34351. "orderprice": {
  34352. "description": "委托价格",
  34353. "type": "number"
  34354. },
  34355. "ordertime": {
  34356. "description": "委托时间",
  34357. "type": "string"
  34358. },
  34359. "tradedate": {
  34360. "description": "交易日(yyyyMMdd)",
  34361. "type": "string"
  34362. }
  34363. }
  34364. },
  34365. "szdz.QuerySZDZTradePositionRsp": {
  34366. "type": "object",
  34367. "properties": {
  34368. "accountid": {
  34369. "description": "账号Id",
  34370. "type": "integer"
  34371. },
  34372. "agreeunit": {
  34373. "description": "合约单位",
  34374. "type": "number"
  34375. },
  34376. "averageprice": {
  34377. "description": "持仓均价",
  34378. "type": "number"
  34379. },
  34380. "buyorsell": {
  34381. "description": "方向 - 0:买 1:卖",
  34382. "type": "integer"
  34383. },
  34384. "closetotalqty": {
  34385. "description": "平仓总数量",
  34386. "type": "integer"
  34387. },
  34388. "curholderamount": {
  34389. "description": "当前持仓总金额",
  34390. "type": "number"
  34391. },
  34392. "curpositionqty": {
  34393. "description": "当前持仓总数量",
  34394. "type": "integer"
  34395. },
  34396. "currencyid": {
  34397. "description": "报价货币ID",
  34398. "type": "integer"
  34399. },
  34400. "curtdposition": {
  34401. "description": "期末今日头寸",
  34402. "type": "integer"
  34403. },
  34404. "decimalplace": {
  34405. "description": "报价小数位",
  34406. "type": "integer"
  34407. },
  34408. "enableqty": {
  34409. "description": "可用量",
  34410. "type": "integer"
  34411. },
  34412. "fretdposition": {
  34413. "description": "冻结今日头寸",
  34414. "type": "integer"
  34415. },
  34416. "frozenqty": {
  34417. "description": "持仓冻结数量",
  34418. "type": "integer"
  34419. },
  34420. "goodscode": {
  34421. "description": "商品代码(内部)",
  34422. "type": "string"
  34423. },
  34424. "goodsid": {
  34425. "description": "商品Id",
  34426. "type": "integer"
  34427. },
  34428. "goodsname": {
  34429. "description": "商品名称",
  34430. "type": "string"
  34431. },
  34432. "goodunit": {
  34433. "description": "报价单位",
  34434. "type": "string"
  34435. },
  34436. "goodunitid": {
  34437. "description": "报价单位ID",
  34438. "type": "integer"
  34439. },
  34440. "holderamount": {
  34441. "description": "期初持仓总金额",
  34442. "type": "number"
  34443. },
  34444. "marketid": {
  34445. "description": "市场ID",
  34446. "type": "integer"
  34447. },
  34448. "openreqqty": {
  34449. "description": "开仓申请数量",
  34450. "type": "integer"
  34451. },
  34452. "opentotalqty": {
  34453. "description": "开仓总数量",
  34454. "type": "integer"
  34455. },
  34456. "otherfrozenqty": {
  34457. "description": "持仓其他冻结数量(交割冻结)",
  34458. "type": "integer"
  34459. },
  34460. "positionqty": {
  34461. "description": "期初持仓数量",
  34462. "type": "integer"
  34463. },
  34464. "szdz3freezqty": {
  34465. "description": "尚志大宗转换冻结总数量",
  34466. "type": "integer"
  34467. },
  34468. "tnqty": {
  34469. "description": "T+N冻结总量",
  34470. "type": "integer"
  34471. },
  34472. "tnusedqty": {
  34473. "description": "T+N使用量",
  34474. "type": "integer"
  34475. },
  34476. "trademode": {
  34477. "description": "交易模式",
  34478. "type": "integer"
  34479. },
  34480. "usedmargin": {
  34481. "description": "占用保证金",
  34482. "type": "number"
  34483. }
  34484. }
  34485. },
  34486. "taaccount.QueryAmountLogRsp": {
  34487. "type": "object",
  34488. "required": [
  34489. "accountid",
  34490. "amount",
  34491. "amountadjusttype",
  34492. "autoid",
  34493. "balance",
  34494. "createtime",
  34495. "currentbalance",
  34496. "operatetype"
  34497. ],
  34498. "properties": {
  34499. "OPERATETYPENAME": {
  34500. "description": "资金操作类型名称",
  34501. "type": "string"
  34502. },
  34503. "accountid": {
  34504. "description": "资金账户ID",
  34505. "type": "integer"
  34506. },
  34507. "agoodscode": {
  34508. "description": "竞拍商品代码",
  34509. "type": "string"
  34510. },
  34511. "agoodsname": {
  34512. "description": "竞拍商品名称",
  34513. "type": "string"
  34514. },
  34515. "amount": {
  34516. "description": "资金金额",
  34517. "type": "number"
  34518. },
  34519. "amountadjusttype": {
  34520. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  34521. "type": "integer"
  34522. },
  34523. "autoid": {
  34524. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  34525. "type": "integer"
  34526. },
  34527. "balance": {
  34528. "description": "期初余额",
  34529. "type": "number"
  34530. },
  34531. "businesscode": {
  34532. "description": "业务编号",
  34533. "type": "integer"
  34534. },
  34535. "createtime": {
  34536. "description": "发生时间",
  34537. "type": "string"
  34538. },
  34539. "currencyid": {
  34540. "description": "币种ID",
  34541. "type": "integer"
  34542. },
  34543. "currentbalance": {
  34544. "description": "期末余额(变动后金额)",
  34545. "type": "number"
  34546. },
  34547. "dgoodscode": {
  34548. "description": "交割商品代码",
  34549. "type": "string"
  34550. },
  34551. "dgoodsname": {
  34552. "description": "交割商品名称",
  34553. "type": "string"
  34554. },
  34555. "goodscode": {
  34556. "description": "商品代码",
  34557. "type": "string"
  34558. },
  34559. "goodsid": {
  34560. "description": "商品ID",
  34561. "type": "integer"
  34562. },
  34563. "goodsname": {
  34564. "description": "商品名称",
  34565. "type": "string"
  34566. },
  34567. "marketid": {
  34568. "description": "市场ID",
  34569. "type": "integer"
  34570. },
  34571. "marketname": {
  34572. "description": "市场名称",
  34573. "type": "string"
  34574. },
  34575. "moneyticket": {
  34576. "description": "资金流水号:银行端流水号",
  34577. "type": "integer"
  34578. },
  34579. "operatetype": {
  34580. "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:营销收款",
  34581. "type": "integer"
  34582. },
  34583. "relationorderid": {
  34584. "description": "关联单号",
  34585. "type": "string"
  34586. },
  34587. "remark": {
  34588. "description": "备注",
  34589. "type": "string"
  34590. },
  34591. "trademode": {
  34592. "description": "交易模式",
  34593. "type": "integer"
  34594. }
  34595. }
  34596. },
  34597. "taaccount.QueryHisAmountLogRsp": {
  34598. "type": "object",
  34599. "required": [
  34600. "accountid",
  34601. "amount",
  34602. "amountadjusttype",
  34603. "autoid",
  34604. "balance",
  34605. "createtime",
  34606. "currentbalance",
  34607. "histradedate",
  34608. "operatetype"
  34609. ],
  34610. "properties": {
  34611. "OPERATETYPENAME": {
  34612. "description": "资金操作类型名称",
  34613. "type": "string"
  34614. },
  34615. "accountid": {
  34616. "description": "资金账户ID",
  34617. "type": "integer"
  34618. },
  34619. "agoodscode": {
  34620. "description": "竞拍商品代码",
  34621. "type": "string"
  34622. },
  34623. "agoodsname": {
  34624. "description": "竞拍商品名称",
  34625. "type": "string"
  34626. },
  34627. "amount": {
  34628. "description": "资金金额",
  34629. "type": "number"
  34630. },
  34631. "amountadjusttype": {
  34632. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  34633. "type": "integer"
  34634. },
  34635. "autoid": {
  34636. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  34637. "type": "integer"
  34638. },
  34639. "balance": {
  34640. "description": "期初余额",
  34641. "type": "number"
  34642. },
  34643. "businesscode": {
  34644. "description": "业务编号",
  34645. "type": "integer"
  34646. },
  34647. "createtime": {
  34648. "description": "发生时间",
  34649. "type": "string"
  34650. },
  34651. "currencyid": {
  34652. "description": "币种ID",
  34653. "type": "integer"
  34654. },
  34655. "currentbalance": {
  34656. "description": "期末余额(变动后金额)",
  34657. "type": "number"
  34658. },
  34659. "dgoodscode": {
  34660. "description": "交割商品代码",
  34661. "type": "string"
  34662. },
  34663. "dgoodsname": {
  34664. "description": "交割商品名称",
  34665. "type": "string"
  34666. },
  34667. "goodscode": {
  34668. "description": "商品代码",
  34669. "type": "string"
  34670. },
  34671. "goodsid": {
  34672. "description": "商品ID",
  34673. "type": "integer"
  34674. },
  34675. "goodsname": {
  34676. "description": "商品名称",
  34677. "type": "string"
  34678. },
  34679. "histradedate": {
  34680. "description": "历史交易日",
  34681. "type": "string"
  34682. },
  34683. "isvaliddata": {
  34684. "description": "是否有效 - 0:无效 1:有效",
  34685. "type": "integer"
  34686. },
  34687. "marketid": {
  34688. "description": "市场ID",
  34689. "type": "integer"
  34690. },
  34691. "marketname": {
  34692. "description": "市场名称",
  34693. "type": "string"
  34694. },
  34695. "moneyticket": {
  34696. "description": "资金流水号:银行端流水号",
  34697. "type": "integer"
  34698. },
  34699. "operatetype": {
  34700. "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:营销收款",
  34701. "type": "integer"
  34702. },
  34703. "relationorderid": {
  34704. "description": "关联单号",
  34705. "type": "string"
  34706. },
  34707. "remark": {
  34708. "description": "备注",
  34709. "type": "string"
  34710. },
  34711. "trademode": {
  34712. "description": "交易模式",
  34713. "type": "integer"
  34714. }
  34715. }
  34716. },
  34717. "trade.QueryRecieptOrderRsp": {
  34718. "type": "object",
  34719. "required": [
  34720. "ordertime"
  34721. ],
  34722. "properties": {
  34723. "accountName": {
  34724. "description": "所属账号名称(已脱敏)",
  34725. "type": "string"
  34726. },
  34727. "accountid": {
  34728. "description": "资金账号",
  34729. "type": "integer"
  34730. },
  34731. "buyorsell": {
  34732. "description": "方向 - 0:买 1:卖",
  34733. "type": "integer"
  34734. },
  34735. "enableqty": {
  34736. "description": "可摘数量",
  34737. "type": "integer"
  34738. },
  34739. "goodscode": {
  34740. "description": "商品代码",
  34741. "type": "string"
  34742. },
  34743. "goodsid": {
  34744. "description": "商品ID",
  34745. "type": "integer"
  34746. },
  34747. "goodsname": {
  34748. "description": "商品名称",
  34749. "type": "string"
  34750. },
  34751. "orderid": {
  34752. "description": "委托单号",
  34753. "type": "string"
  34754. },
  34755. "orderprice": {
  34756. "description": "委托价格",
  34757. "type": "number"
  34758. },
  34759. "ordertime": {
  34760. "description": "委托时间",
  34761. "type": "string"
  34762. },
  34763. "tradedate": {
  34764. "description": "交易日(yyyyMMdd)",
  34765. "type": "string"
  34766. }
  34767. }
  34768. },
  34769. "user.LoginQueryRsp": {
  34770. "type": "object",
  34771. "properties": {
  34772. "areaRoles": {
  34773. "description": "所属角色信息",
  34774. "type": "array",
  34775. "items": {
  34776. "$ref": "#/definitions/models.Arearole"
  34777. }
  34778. },
  34779. "externalExchanges": {
  34780. "description": "外部交易所",
  34781. "type": "array",
  34782. "items": {
  34783. "$ref": "#/definitions/models.Externalexchange"
  34784. }
  34785. },
  34786. "goodsgroups": {
  34787. "description": "商品组",
  34788. "type": "array",
  34789. "items": {
  34790. "$ref": "#/definitions/models.Goodsgroup"
  34791. }
  34792. },
  34793. "loginAccount": {
  34794. "description": "登录账号",
  34795. "type": "object",
  34796. "$ref": "#/definitions/models.Loginaccount"
  34797. },
  34798. "markets": {
  34799. "description": "市场",
  34800. "type": "array",
  34801. "items": {
  34802. "$ref": "#/definitions/models.Market"
  34803. }
  34804. },
  34805. "systemParams": {
  34806. "description": "系统参数",
  34807. "type": "array",
  34808. "items": {
  34809. "$ref": "#/definitions/models.Systemparam"
  34810. }
  34811. },
  34812. "userAccount": {
  34813. "description": "用户账号",
  34814. "type": "object",
  34815. "$ref": "#/definitions/models.Useraccount"
  34816. },
  34817. "userInfo": {
  34818. "description": "用户信息",
  34819. "type": "object",
  34820. "$ref": "#/definitions/models.Userinfo"
  34821. },
  34822. "username": {
  34823. "description": "用户姓名",
  34824. "type": "string"
  34825. }
  34826. }
  34827. }
  34828. },
  34829. "securityDefinitions": {
  34830. "ApiKeyAuth": {
  34831. "type": "apiKey",
  34832. "name": "Authorization",
  34833. "in": "header"
  34834. }
  34835. }
  34836. }`
  34837. type swaggerInfo struct {
  34838. Version string
  34839. Host string
  34840. BasePath string
  34841. Schemes []string
  34842. Title string
  34843. Description string
  34844. }
  34845. // SwaggerInfo holds exported Swagger Info so clients can modify it
  34846. var SwaggerInfo = swaggerInfo{
  34847. Version: "1.0",
  34848. Host: "",
  34849. BasePath: "/api",
  34850. Schemes: []string{},
  34851. Title: "MTP2.0 查询服务 API",
  34852. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  34853. }
  34854. type s struct{}
  34855. func (s *s) ReadDoc() string {
  34856. sInfo := SwaggerInfo
  34857. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  34858. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  34859. "marshal": func(v interface{}) string {
  34860. a, _ := json.Marshal(v)
  34861. return string(a)
  34862. },
  34863. }).Parse(doc)
  34864. if err != nil {
  34865. return doc
  34866. }
  34867. var tpl bytes.Buffer
  34868. if err := t.Execute(&tpl, sInfo); err != nil {
  34869. return doc
  34870. }
  34871. return tpl.String()
  34872. }
  34873. func init() {
  34874. swag.Register(swag.Name, &s{})
  34875. }